From 5b26fd864fd406ea573b18a148ff25c75dbad6df Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Mon, 13 Oct 2025 10:39:08 -0400 Subject: [PATCH 01/22] New csproj --- src/Smithbox/Smithbox.Linux.csproj | 68 ++++++++++++++++++++++++++++++ src/Smithbox/Smithbox.Mac.csproj | 68 ++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 src/Smithbox/Smithbox.Linux.csproj create mode 100644 src/Smithbox/Smithbox.Mac.csproj diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj new file mode 100644 index 000000000..5b43c8d56 --- /dev/null +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -0,0 +1,68 @@ + + + + Exe + net9.0 + Katalash, Vawser + 2.0.8 + icon.ico + 2.0.6 + 2.0.8 + app.manifest + 12 + false + true + Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release + + + + DEBUG + true + + + + RELEASE + true + embedded + false + + + + WinExe + x64 + win-x64 + + + + x64 + linux-x64 + + + + arm64;x64 + osx-arm64;osx-x64 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj new file mode 100644 index 000000000..5b43c8d56 --- /dev/null +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -0,0 +1,68 @@ + + + + Exe + net9.0 + Katalash, Vawser + 2.0.8 + icon.ico + 2.0.6 + 2.0.8 + app.manifest + 12 + false + true + Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release + + + + DEBUG + true + + + + RELEASE + true + embedded + false + + + + WinExe + x64 + win-x64 + + + + x64 + linux-x64 + + + + arm64;x64 + osx-arm64;osx-x64 + + + + + + + + + + + + + + + + + + + + + + + + + From c6ffac1b30d5ef5a42c5a87bf469eaf95895d1ed Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Mon, 13 Oct 2025 11:11:46 -0400 Subject: [PATCH 02/22] Remove configurations --- .github/workflows/dotnet-desktop.yml | 6 +- Smithbox.sln | 832 ++---------------- src/Andre/Andre.Core/Andre.Core.csproj | 6 +- src/Andre/Andre.Formats/Andre.Formats.csproj | 20 +- src/Andre/Andre.IO/Andre.IO.csproj | 21 - .../SoapstoneLib/Andre.SoapstoneLib.csproj | 7 +- .../SoulsFormats/Andre.SoulsFormats.csproj | 21 +- .../ColBakeTest/Havok.ColBakeTest.csproj | 8 - .../Havok.HKLib.Reflection.csproj | 8 - .../Havok.HKLib.Serialization.csproj | 8 - src/Havok/HKLib/Havok.HKLib.csproj | 8 - .../Havok.HKX.ClassGeneration.csproj | 8 - .../Havok.HKX2.Serialization.csproj | 8 - src/Havok/HKX2/Havok.HKX2.csproj | 6 +- src/Smithbox.Data/Smithbox.Data.csproj | 8 - src/Smithbox.Program/Smithbox.Program.csproj | 24 +- src/Smithbox.Tests/Smithbox.Tests.csproj | 8 - src/Smithbox/Smithbox.Linux.csproj | 26 +- src/Smithbox/Smithbox.Mac.csproj | 26 +- src/Smithbox/Smithbox.csproj | 28 +- .../Veldrid.MetalBindings.csproj | 8 - .../Veldrid.RenderDoc.csproj | 7 +- src/Veldrid/Veldrid.SDL2/Veldrid.SDL2.csproj | 7 +- .../Veldrid.SPIRV.VariantCompiler.csproj | 8 - .../Veldrid.SPIRV/Veldrid.SPIRV.csproj | 7 +- .../Veldrid.StartupUtilities.csproj | 7 +- .../Veldrid.Utilities.csproj | 7 +- src/Veldrid/Veldrid/Veldrid.csproj | 21 - 28 files changed, 112 insertions(+), 1047 deletions(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index d7de7c494..19aa3b336 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -16,13 +16,13 @@ jobs: dotnet-version: '8.0.x' # SDK Version to use; - name: Restore - run: dotnet restore /p:Configuration=Release-win + run: dotnet restore - name: Build - run: dotnet build --configuration Release-win --no-restore + run: dotnet build --configuration Release --no-restore - name: Publish - run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release-win -o deploy + run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/Smithbox.sln b/Smithbox.sln index c400fce4c..7b051f387 100644 --- a/Smithbox.sln +++ b/Smithbox.sln @@ -60,954 +60,274 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Tests", "src\Smith EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Veldrid.MetalBindings", "src\Veldrid\Veldrid.MetalBindings\Veldrid.MetalBindings.csproj", "{77EB2AA9-02E6-4356-9A86-956A946CBBBF}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Linux", "src\Smithbox\Smithbox.Linux.csproj", "{2112107B-0BA9-4367-BA40-3DC687C5F456}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Mac", "src\Smithbox\Smithbox.Mac.csproj", "{48004B40-5161-4DA3-81E7-0C1755A5558F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 - Debug-linux|Any CPU = Debug-linux|Any CPU - Debug-linux|x64 = Debug-linux|x64 - Debug-osx|Any CPU = Debug-osx|Any CPU - Debug-osx|x64 = Debug-osx|x64 - Debug-win|Any CPU = Debug-win|Any CPU - Debug-win|x64 = Debug-win|x64 Release|Any CPU = Release|Any CPU Release|x64 = Release|x64 - Release-linux|Any CPU = Release-linux|Any CPU - Release-linux|x64 = Release-linux|x64 - Release-osx|Any CPU = Release-osx|Any CPU - Release-osx|x64 = Release-osx|x64 - Release-win|Any CPU = Release-win|Any CPU - Release-win|x64 = Release-win|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.Build.0 = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.Build.0 = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|x64.Build.0 = Release-win|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.ActiveCfg = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.Build.0 = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.Build.0 = Release|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.ActiveCfg = Release|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.Build.0 = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|Any CPU.Build.0 = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|x64.ActiveCfg = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|x64.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|x64.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|x64.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|x64.Build.0 = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|Any CPU.ActiveCfg = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|Any CPU.Build.0 = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|x64.ActiveCfg = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|x64.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|x64.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|x64.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|x64.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|x64.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|Any CPU.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|x64.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|x64.Build.0 = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|x64.ActiveCfg = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|x64.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|x64.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|x64.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|x64.Build.0 = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|Any CPU.Build.0 = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|x64.ActiveCfg = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|x64.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|x64.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|x64.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|x64.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|x64.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|Any CPU.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|x64.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|x64.Build.0 = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|Any CPU.Build.0 = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|x64.ActiveCfg = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|x64.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|x64.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|x64.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|x64.Build.0 = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|Any CPU.ActiveCfg = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|Any CPU.Build.0 = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|x64.ActiveCfg = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|x64.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|x64.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|x64.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|x64.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|x64.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|Any CPU.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|x64.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|x64.Build.0 = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|Any CPU.Build.0 = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|x64.ActiveCfg = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|x64.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|x64.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|x64.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|x64.Build.0 = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|Any CPU.ActiveCfg = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|Any CPU.Build.0 = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|x64.ActiveCfg = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|x64.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|x64.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|x64.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|x64.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|x64.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|Any CPU.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|x64.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|x64.Build.0 = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|Any CPU.Build.0 = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|x64.ActiveCfg = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|x64.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|x64.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|x64.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|x64.Build.0 = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|Any CPU.ActiveCfg = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|Any CPU.Build.0 = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|x64.ActiveCfg = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|x64.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|x64.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|x64.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|x64.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|x64.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|Any CPU.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|x64.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|x64.Build.0 = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|Any CPU.Build.0 = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|x64.ActiveCfg = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|x64.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|x64.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|x64.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|x64.Build.0 = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|Any CPU.ActiveCfg = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|Any CPU.Build.0 = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|x64.ActiveCfg = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|x64.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|x64.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|x64.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|x64.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|x64.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|Any CPU.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|x64.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|x64.Build.0 = Release|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.Build.0 = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.Build.0 = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|x64.Build.0 = Release-win|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.ActiveCfg = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.Build.0 = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.Build.0 = Release|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.ActiveCfg = Release|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.Build.0 = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|x64.ActiveCfg = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|x64.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|x64.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|x64.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|x64.Build.0 = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|Any CPU.Build.0 = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|x64.ActiveCfg = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|x64.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|x64.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|x64.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|x64.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|x64.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|Any CPU.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|x64.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|x64.Build.0 = Release|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.Build.0 = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.Build.0 = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|x64.Build.0 = Release-win|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|Any CPU.Build.0 = Debug|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|x64.ActiveCfg = Debug|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|x64.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-linux|x64.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-osx|x64.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug-win|x64.Build.0 = Debug|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|Any CPU.ActiveCfg = Release|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|Any CPU.Build.0 = Release|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|x64.ActiveCfg = Release|Any CPU {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|x64.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-linux|x64.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-linux|x64.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-osx|x64.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-osx|x64.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-win|Any CPU.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-win|x64.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release-win|x64.Build.0 = Release|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|Any CPU.Build.0 = Debug|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|x64.ActiveCfg = Debug|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|x64.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-linux|x64.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-osx|x64.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug-win|x64.Build.0 = Debug|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|Any CPU.ActiveCfg = Release|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|Any CPU.Build.0 = Release|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|x64.ActiveCfg = Release|Any CPU {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|x64.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-linux|x64.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-linux|x64.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-osx|x64.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-osx|x64.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-win|Any CPU.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-win|x64.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release-win|x64.Build.0 = Release|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|Any CPU.Build.0 = Debug|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|x64.ActiveCfg = Debug|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|x64.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-linux|x64.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-osx|x64.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug-win|x64.Build.0 = Debug|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|Any CPU.ActiveCfg = Release|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|Any CPU.Build.0 = Release|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|x64.ActiveCfg = Release|Any CPU {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|x64.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-linux|x64.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-linux|x64.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-osx|x64.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-osx|x64.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-win|Any CPU.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-win|x64.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release-win|x64.Build.0 = Release|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|Any CPU.Build.0 = Debug|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|x64.ActiveCfg = Debug|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|x64.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-linux|x64.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-osx|x64.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug-win|x64.Build.0 = Debug|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|Any CPU.ActiveCfg = Release|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|Any CPU.Build.0 = Release|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|x64.ActiveCfg = Release|Any CPU {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|x64.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-linux|x64.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-linux|x64.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-osx|x64.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-osx|x64.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-win|Any CPU.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-win|x64.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release-win|x64.Build.0 = Release|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|Any CPU.Build.0 = Debug|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|x64.ActiveCfg = Debug|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|x64.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-linux|x64.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-osx|x64.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug-win|x64.Build.0 = Debug|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|Any CPU.ActiveCfg = Release|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|Any CPU.Build.0 = Release|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|x64.ActiveCfg = Release|Any CPU {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|x64.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-linux|x64.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-linux|x64.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-osx|x64.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-osx|x64.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-win|Any CPU.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-win|x64.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release-win|x64.Build.0 = Release|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|x64.Build.0 = Release-win|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.ActiveCfg = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.Build.0 = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.Build.0 = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.ActiveCfg = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.Build.0 = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.ActiveCfg = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.Build.0 = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.Build.0 = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.ActiveCfg = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.Build.0 = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.ActiveCfg = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.Build.0 = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.Build.0 = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.ActiveCfg = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.Build.0 = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|Any CPU.Build.0 = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|x64.ActiveCfg = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|x64.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|x64.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|x64.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|x64.Build.0 = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|Any CPU.ActiveCfg = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|Any CPU.Build.0 = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|x64.ActiveCfg = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|x64.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|x64.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|x64.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|x64.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|x64.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|Any CPU.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|x64.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|x64.Build.0 = Release|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.Build.0 = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.Build.0 = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|x64.Build.0 = Release-win|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.Build.0 = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.ActiveCfg = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.Build.0 = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.ActiveCfg = Release|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.Build.0 = Release|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.ActiveCfg = Release|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.Build.0 = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|Any CPU.Build.0 = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|x64.ActiveCfg = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|x64.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|x64.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|x64.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|x64.Build.0 = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|Any CPU.ActiveCfg = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|Any CPU.Build.0 = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|x64.ActiveCfg = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|x64.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|x64.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|x64.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|x64.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|x64.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|Any CPU.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|x64.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|x64.Build.0 = Release|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|Any CPU.Build.0 = Debug|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|x64.ActiveCfg = Debug|x64 {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|x64.Build.0 = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|x64.ActiveCfg = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|x64.Build.0 = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|x64.ActiveCfg = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|x64.Build.0 = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|x64.ActiveCfg = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|x64.Build.0 = Debug|x64 {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|Any CPU.ActiveCfg = Release|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|Any CPU.Build.0 = Release|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|x64.ActiveCfg = Release|x64 {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|x64.Build.0 = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|x64.ActiveCfg = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|x64.Build.0 = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|x64.ActiveCfg = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|x64.Build.0 = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|Any CPU.Build.0 = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|x64.ActiveCfg = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|x64.Build.0 = Release|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|Any CPU.Build.0 = Debug|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|x64.ActiveCfg = Debug|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|x64.Build.0 = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|x64.ActiveCfg = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|x64.Build.0 = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|x64.ActiveCfg = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|x64.Build.0 = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|x64.ActiveCfg = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|x64.Build.0 = Debug|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|Any CPU.ActiveCfg = Release|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|Any CPU.Build.0 = Release|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|x64.ActiveCfg = Release|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|x64.Build.0 = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|x64.ActiveCfg = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|x64.Build.0 = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|x64.ActiveCfg = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|x64.Build.0 = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|Any CPU.Build.0 = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|x64.ActiveCfg = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|x64.Build.0 = Release|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|Any CPU.Build.0 = Debug|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|x64.ActiveCfg = Debug|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|x64.Build.0 = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|x64.ActiveCfg = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|x64.Build.0 = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|x64.ActiveCfg = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|x64.Build.0 = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|x64.ActiveCfg = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|x64.Build.0 = Debug|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|Any CPU.ActiveCfg = Release|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|Any CPU.Build.0 = Release|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|x64.ActiveCfg = Release|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|x64.Build.0 = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|x64.ActiveCfg = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|x64.Build.0 = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|x64.ActiveCfg = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|x64.Build.0 = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|Any CPU.Build.0 = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|x64.ActiveCfg = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|x64.Build.0 = Release|x64 {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|Any CPU.Build.0 = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|x64.ActiveCfg = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|x64.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|x64.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|x64.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|x64.Build.0 = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|Any CPU.ActiveCfg = Release|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|Any CPU.Build.0 = Release|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|x64.ActiveCfg = Release|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|x64.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|x64.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|x64.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|x64.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|x64.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|Any CPU.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|x64.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|x64.Build.0 = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|Any CPU.Build.0 = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|x64.ActiveCfg = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|x64.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|x64.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|x64.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|x64.Build.0 = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|Any CPU.ActiveCfg = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|Any CPU.Build.0 = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|x64.ActiveCfg = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|x64.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|x64.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|x64.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|x64.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|x64.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|Any CPU.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|x64.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|x64.Build.0 = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|Any CPU.Build.0 = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|x64.ActiveCfg = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|x64.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|x64.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|x64.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|x64.Build.0 = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|Any CPU.ActiveCfg = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|Any CPU.Build.0 = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|x64.ActiveCfg = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|x64.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|x64.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|x64.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|x64.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|x64.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|Any CPU.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|x64.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|x64.Build.0 = Release|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.Build.0 = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.Build.0 = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|x64.Build.0 = Release-win|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.ActiveCfg = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.Build.0 = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.Build.0 = Release|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.ActiveCfg = Release|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.Build.0 = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|Any CPU.Build.0 = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|x64.ActiveCfg = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|x64.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|x64.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|x64.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|x64.Build.0 = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|Any CPU.ActiveCfg = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|Any CPU.Build.0 = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|x64.ActiveCfg = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|x64.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|x64.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|x64.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|x64.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|x64.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|Any CPU.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|x64.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|x64.Build.0 = Release|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug|Any CPU.Build.0 = Debug|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug|x64.ActiveCfg = Debug|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug|x64.Build.0 = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-linux|x64.Build.0 = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-osx|x64.Build.0 = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Debug-win|x64.Build.0 = Debug|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release|Any CPU.ActiveCfg = Release|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release|Any CPU.Build.0 = Release|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release|x64.ActiveCfg = Release|Any CPU {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release|x64.Build.0 = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-linux|x64.ActiveCfg = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-linux|x64.Build.0 = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-osx|x64.ActiveCfg = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-osx|x64.Build.0 = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-win|Any CPU.Build.0 = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-win|x64.ActiveCfg = Release|Any CPU - {C438DB12-F15F-4D20-8A69-BBF09A663AD4}.Release-win|x64.Build.0 = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|Any CPU.Build.0 = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|x64.ActiveCfg = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|x64.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|x64.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|x64.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|x64.Build.0 = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|Any CPU.ActiveCfg = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|Any CPU.Build.0 = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|x64.ActiveCfg = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|x64.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|x64.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|x64.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|x64.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|x64.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|Any CPU.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|x64.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|x64.Build.0 = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|x64.ActiveCfg = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|x64.Build.0 = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|Any CPU.Build.0 = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|x64.ActiveCfg = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|x64.Build.0 = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.ActiveCfg = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.Build.0 = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|Any CPU.Build.0 = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.ActiveCfg = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Andre/Andre.Core/Andre.Core.csproj b/src/Andre/Andre.Core/Andre.Core.csproj index 27a3dc03b..dd1dd95c5 100644 --- a/src/Andre/Andre.Core/Andre.Core.csproj +++ b/src/Andre/Andre.Core/Andre.Core.csproj @@ -7,13 +7,11 @@ 12 - - DEBUG + true - - RELEASE + true embedded diff --git a/src/Andre/Andre.Formats/Andre.Formats.csproj b/src/Andre/Andre.Formats/Andre.Formats.csproj index 5118f0237..2d090047c 100644 --- a/src/Andre/Andre.Formats/Andre.Formats.csproj +++ b/src/Andre/Andre.Formats/Andre.Formats.csproj @@ -6,30 +6,12 @@ enable 12 true - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - DEBUG - - - - RELEASE + embedded - - $(DefineConstants);WINDOWS - - - - $(DefineConstants);LINUX - - - - $(DefineConstants);OSX - - diff --git a/src/Andre/Andre.IO/Andre.IO.csproj b/src/Andre/Andre.IO/Andre.IO.csproj index 1c7267aa6..537506066 100644 --- a/src/Andre/Andre.IO/Andre.IO.csproj +++ b/src/Andre/Andre.IO/Andre.IO.csproj @@ -5,27 +5,6 @@ enable enable 12 - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - - - DEBUG - - - - RELEASE - - - - $(DefineConstants);WINDOWS - - - - $(DefineConstants);LINUX - - - - $(DefineConstants);OSX diff --git a/src/Andre/SoapstoneLib/SoapstoneLib/Andre.SoapstoneLib.csproj b/src/Andre/SoapstoneLib/SoapstoneLib/Andre.SoapstoneLib.csproj index 244256d4a..c12a8c48b 100644 --- a/src/Andre/SoapstoneLib/SoapstoneLib/Andre.SoapstoneLib.csproj +++ b/src/Andre/SoapstoneLib/SoapstoneLib/Andre.SoapstoneLib.csproj @@ -5,12 +5,7 @@ 12 - - DEBUG - - - - RELEASE + embedded diff --git a/src/Andre/SoulsFormats/SoulsFormats/Andre.SoulsFormats.csproj b/src/Andre/SoulsFormats/SoulsFormats/Andre.SoulsFormats.csproj index 81fee6c7a..2bd635c47 100644 --- a/src/Andre/SoulsFormats/SoulsFormats/Andre.SoulsFormats.csproj +++ b/src/Andre/SoulsFormats/SoulsFormats/Andre.SoulsFormats.csproj @@ -8,31 +8,12 @@ true net9.0 12 - Debug;Release;Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx - - - DEBUG - - - - RELEASE + embedded - - $(DefineConstants);WINDOWS - - - - $(DefineConstants);LINUX - - - - $(DefineConstants);OSX - - diff --git a/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj b/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj index 809fb1553..64942b010 100644 --- a/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj +++ b/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj @@ -26,12 +26,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj b/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj index 9137c0785..33965d3e9 100644 --- a/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj +++ b/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj @@ -21,12 +21,4 @@ - - - DEBUG - - - - RELEASE - diff --git a/src/Havok/HKLib.Serialization/Havok.HKLib.Serialization.csproj b/src/Havok/HKLib.Serialization/Havok.HKLib.Serialization.csproj index eac754de0..90c0d6dfb 100644 --- a/src/Havok/HKLib.Serialization/Havok.HKLib.Serialization.csproj +++ b/src/Havok/HKLib.Serialization/Havok.HKLib.Serialization.csproj @@ -17,12 +17,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Havok/HKLib/Havok.HKLib.csproj b/src/Havok/HKLib/Havok.HKLib.csproj index 0c6ed6dfb..d6c1b137c 100644 --- a/src/Havok/HKLib/Havok.HKLib.csproj +++ b/src/Havok/HKLib/Havok.HKLib.csproj @@ -27,12 +27,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj b/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj index dcee73c25..7911fb5c4 100644 --- a/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj +++ b/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj @@ -16,12 +16,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj b/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj index 5b3a6d47e..4a264ca0f 100644 --- a/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj +++ b/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj @@ -14,12 +14,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Havok/HKX2/Havok.HKX2.csproj b/src/Havok/HKX2/Havok.HKX2.csproj index 62754bf7e..53d523bac 100644 --- a/src/Havok/HKX2/Havok.HKX2.csproj +++ b/src/Havok/HKX2/Havok.HKX2.csproj @@ -5,13 +5,11 @@ 12 - - DEBUG + true - - RELEASE + true embedded diff --git a/src/Smithbox.Data/Smithbox.Data.csproj b/src/Smithbox.Data/Smithbox.Data.csproj index 9d86cdddc..eed3c0495 100644 --- a/src/Smithbox.Data/Smithbox.Data.csproj +++ b/src/Smithbox.Data/Smithbox.Data.csproj @@ -35,12 +35,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Smithbox.Program/Smithbox.Program.csproj b/src/Smithbox.Program/Smithbox.Program.csproj index 78d3fb366..d6f0cf465 100644 --- a/src/Smithbox.Program/Smithbox.Program.csproj +++ b/src/Smithbox.Program/Smithbox.Program.csproj @@ -4,37 +4,21 @@ net9.0 12 - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - - DEBUG + + true 1701;1702;0169 - - - RELEASE + + true embedded false 1701;1702;0169 - - $(DefineConstants);WINDOWS - x64 - - - - $(DefineConstants);LINUX - x64 - - - $(DefineConstants);OSX - arm64;x64 - diff --git a/src/Smithbox.Tests/Smithbox.Tests.csproj b/src/Smithbox.Tests/Smithbox.Tests.csproj index 983ad06eb..69e63bb94 100644 --- a/src/Smithbox.Tests/Smithbox.Tests.csproj +++ b/src/Smithbox.Tests/Smithbox.Tests.csproj @@ -22,12 +22,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index 5b43c8d56..7c6df6910 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -12,35 +12,19 @@ 12 false true - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - - - DEBUG - true + linux-x64 - - RELEASE + true + x64 embedded false - - WinExe - x64 - win-x64 - - - + + true x64 - linux-x64 - - - - arm64;x64 - osx-arm64;osx-x64 diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 5b43c8d56..6aaf7922a 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -12,36 +12,22 @@ 12 false true - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - - - DEBUG - true + osx-arm64;osx-x64 - - RELEASE + true + AnyCPU embedded false - - WinExe - x64 - win-x64 + + true + AnyCPU - - x64 - linux-x64 - - - arm64;x64 - osx-arm64;osx-x64 - diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index 5b43c8d56..28a618b2c 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -1,8 +1,8 @@ - Exe net9.0 + WinExe Katalash, Vawser 2.0.8 icon.ico @@ -12,35 +12,19 @@ 12 false true - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - - - DEBUG - true + win-x64 - - RELEASE + true + x64 embedded false - - WinExe - x64 - win-x64 - - - + + true x64 - linux-x64 - - - - arm64;x64 - osx-arm64;osx-x64 diff --git a/src/Veldrid/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj b/src/Veldrid/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj index 7238f53dc..f2f6678db 100644 --- a/src/Veldrid/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj +++ b/src/Veldrid/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj @@ -9,12 +9,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Veldrid/Veldrid.RenderDoc/Veldrid.RenderDoc.csproj b/src/Veldrid/Veldrid.RenderDoc/Veldrid.RenderDoc.csproj index e2909d0cb..f2db40311 100644 --- a/src/Veldrid/Veldrid.RenderDoc/Veldrid.RenderDoc.csproj +++ b/src/Veldrid/Veldrid.RenderDoc/Veldrid.RenderDoc.csproj @@ -11,12 +11,7 @@ Debug Profile 3D Graphics Direct3D DirectX Vulkan OpenGL Core Standard Game - - DEBUG - - - - RELEASE + embedded diff --git a/src/Veldrid/Veldrid.SDL2/Veldrid.SDL2.csproj b/src/Veldrid/Veldrid.SDL2/Veldrid.SDL2.csproj index b7be384e2..056e94f2c 100644 --- a/src/Veldrid/Veldrid.SDL2/Veldrid.SDL2.csproj +++ b/src/Veldrid/Veldrid.SDL2/Veldrid.SDL2.csproj @@ -20,12 +20,7 @@ Core Standard Game SDL2 Window Input - - DEBUG - - - - RELEASE + embedded diff --git a/src/Veldrid/Veldrid.SPIRV.VariantCompiler/Veldrid.SPIRV.VariantCompiler.csproj b/src/Veldrid/Veldrid.SPIRV.VariantCompiler/Veldrid.SPIRV.VariantCompiler.csproj index 3cc1dbd27..265abaeed 100644 --- a/src/Veldrid/Veldrid.SPIRV.VariantCompiler/Veldrid.SPIRV.VariantCompiler.csproj +++ b/src/Veldrid/Veldrid.SPIRV.VariantCompiler/Veldrid.SPIRV.VariantCompiler.csproj @@ -24,12 +24,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Veldrid/Veldrid.SPIRV/Veldrid.SPIRV.csproj b/src/Veldrid/Veldrid.SPIRV/Veldrid.SPIRV.csproj index af3da946a..5d31bf672 100644 --- a/src/Veldrid/Veldrid.SPIRV/Veldrid.SPIRV.csproj +++ b/src/Veldrid/Veldrid.SPIRV/Veldrid.SPIRV.csproj @@ -56,12 +56,7 @@ 3D Graphics Direct3D DirectX Vulkan OpenGL Metal Core Standard Game - - DEBUG - - - - RELEASE + embedded diff --git a/src/Veldrid/Veldrid.StartupUtilities/Veldrid.StartupUtilities.csproj b/src/Veldrid/Veldrid.StartupUtilities/Veldrid.StartupUtilities.csproj index 8f06f318e..040bc491b 100644 --- a/src/Veldrid/Veldrid.StartupUtilities/Veldrid.StartupUtilities.csproj +++ b/src/Veldrid/Veldrid.StartupUtilities/Veldrid.StartupUtilities.csproj @@ -25,12 +25,7 @@ Core Standard Game SDL2 Window Input - - $(DefineConstants);DEBUG - - - - $(DefineConstants);RELEASE + embedded diff --git a/src/Veldrid/Veldrid.Utilities/Veldrid.Utilities.csproj b/src/Veldrid/Veldrid.Utilities/Veldrid.Utilities.csproj index 28507a0c1..78367fe3c 100644 --- a/src/Veldrid/Veldrid.Utilities/Veldrid.Utilities.csproj +++ b/src/Veldrid/Veldrid.Utilities/Veldrid.Utilities.csproj @@ -20,12 +20,7 @@ Core Standard Game Graphics - - DEBUG - - - - RELEASE + embedded diff --git a/src/Veldrid/Veldrid/Veldrid.csproj b/src/Veldrid/Veldrid/Veldrid.csproj index ba8a6727b..3bce617e0 100644 --- a/src/Veldrid/Veldrid/Veldrid.csproj +++ b/src/Veldrid/Veldrid/Veldrid.csproj @@ -10,29 +10,8 @@ $(DefineConstants);EXCLUDE_METAL_BACKEND $(DefineConstants);EXCLUDE_OPENGL_BACKEND 12 - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release - - $(DefineConstants);DEBUG - - - - $(DefineConstants);RELEASE - - - - $(DefineConstants);WINDOWS - - - - $(DefineConstants);LINUX - - - - $(DefineConstants);OSX - - From 9743f48edb13589154609ab145701d939d932935 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Mon, 13 Oct 2025 12:23:54 -0400 Subject: [PATCH 03/22] Switch to AssimpNetter arm64 support --- .../ModelEditor/Utils/ModelColladaExporter.cs | 13 +++++++------ src/Smithbox.Program/Smithbox.Program.csproj | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Smithbox.Program/Editors/ModelEditor/Utils/ModelColladaExporter.cs b/src/Smithbox.Program/Editors/ModelEditor/Utils/ModelColladaExporter.cs index 8cb657c3a..cb1baf606 100644 --- a/src/Smithbox.Program/Editors/ModelEditor/Utils/ModelColladaExporter.cs +++ b/src/Smithbox.Program/Editors/ModelEditor/Utils/ModelColladaExporter.cs @@ -7,6 +7,7 @@ using System.IO; using System.Text; using System.Threading.Tasks; +using System.Numerics; namespace StudioCore.Editors.ModelEditor.Utils; @@ -56,22 +57,22 @@ public static bool AssimpExport(IFlver flver, string outPath, string exportType) // Add vertices foreach (FLVER.Vertex vertex in mesh.Vertices) { - newMesh.Vertices.Add(new Vector3D(vertex.Position.X, vertex.Position.Y, vertex.Position.Z)); - newMesh.Normals.Add(new Vector3D(vertex.Normal.X, vertex.Normal.Y, vertex.Normal.Z)); + newMesh.Vertices.Add(new Vector3(vertex.Position.X, vertex.Position.Y, vertex.Position.Z)); + newMesh.Normals.Add(new Vector3(vertex.Normal.X, vertex.Normal.Y, vertex.Normal.Z)); if (newMesh.Tangents.Count > 0) - newMesh.Tangents.Add(new Vector3D(vertex.Tangents[0].X, vertex.Tangents[0].Y, vertex.Tangents[0].Z)); + newMesh.Tangents.Add(new Vector3(vertex.Tangents[0].X, vertex.Tangents[0].Y, vertex.Tangents[0].Z)); // Add UVs for (int j = 0; j < 4; ++j) { if (vertex.UVs.Count > j) { - newMesh.TextureCoordinateChannels[j].Add(new Vector3D(vertex.UVs[j].X, vertex.UVs[j].Y, 0f)); + newMesh.TextureCoordinateChannels[j].Add(new Vector3(vertex.UVs[j].X, vertex.UVs[j].Y, 0f)); } else { - newMesh.TextureCoordinateChannels[j].Add(new Vector3D(1, 1, 1)); + newMesh.TextureCoordinateChannels[j].Add(new Vector3(1, 1, 1)); } } @@ -85,7 +86,7 @@ public static bool AssimpExport(IFlver flver, string outPath, string exportType) for (int j = 0; j < vertex.Colors.Count; j++) { var color = vertex.Colors[j]; - newMesh.VertexColorChannels[j].Add(new Color4D(color.R, color.G, color.B, color.A)); + newMesh.VertexColorChannels[j].Add(new Vector4(color.R, color.G, color.B, color.A)); } } diff --git a/src/Smithbox.Program/Smithbox.Program.csproj b/src/Smithbox.Program/Smithbox.Program.csproj index d6f0cf465..88778f3d7 100644 --- a/src/Smithbox.Program/Smithbox.Program.csproj +++ b/src/Smithbox.Program/Smithbox.Program.csproj @@ -21,7 +21,7 @@ - + From 1e6aeaca3edc50a4e4bc4ecb3b7c22959a90c521 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Mon, 13 Oct 2025 12:27:32 -0400 Subject: [PATCH 04/22] Include Hexa.NET.ImGui as NuGet For AOT support --- Smithbox.sln | 50 - src/Hexa.NET.ImGui/AssemblyInfo.cs | 6 - .../Generated/Constants/Constants.000.cs | 27 - .../Generated/Delegates/Delegates.000.cs | 803 - .../Generated/Enums/ImDrawFlags.cs | 92 - .../Generated/Enums/ImDrawListFlags.cs | 47 - .../Generated/Enums/ImFontAtlasFlags.cs | 42 - .../Generated/Enums/ImGuiActivateFlags.cs | 52 - .../Generated/Enums/ImGuiAxis.cs | 37 - .../Generated/Enums/ImGuiBackendFlags.cs | 62 - .../Generated/Enums/ImGuiButtonFlags.cs | 52 - .../Enums/ImGuiButtonFlagsPrivate.cs | 107 - .../Generated/Enums/ImGuiChildFlags.cs | 72 - .../Generated/Enums/ImGuiCol.cs | 317 - .../Generated/Enums/ImGuiColorEditFlags.cs | 177 - .../Generated/Enums/ImGuiComboFlags.cs | 72 - .../Generated/Enums/ImGuiComboFlagsPrivate.cs | 27 - .../Generated/Enums/ImGuiCond.cs | 47 - .../Generated/Enums/ImGuiConfigFlags.cs | 82 - .../Generated/Enums/ImGuiContextHookType.cs | 62 - .../Generated/Enums/ImGuiDataAuthority.cs | 37 - .../Generated/Enums/ImGuiDataType.cs | 87 - .../Generated/Enums/ImGuiDataTypePrivate.cs | 32 - .../Generated/Enums/ImGuiDebugLogFlags.cs | 102 - .../Generated/Enums/ImGuiDir.cs | 52 - .../Generated/Enums/ImGuiDockNodeFlags.cs | 62 - .../Enums/ImGuiDockNodeFlagsPrivate.cs | 110 - .../Generated/Enums/ImGuiDockNodeState.cs | 42 - .../Generated/Enums/ImGuiDragDropFlags.cs | 87 - .../Generated/Enums/ImGuiFocusRequestFlags.cs | 37 - .../Generated/Enums/ImGuiFocusedFlags.cs | 57 - .../Enums/ImGuiFreeTypeBuilderFlags.cs | 72 - .../Generated/Enums/ImGuiHoveredFlags.cs | 127 - .../Enums/ImGuiHoveredFlagsPrivate.cs | 37 - .../Generated/Enums/ImGuiInputEventType.cs | 67 - .../Generated/Enums/ImGuiInputFlags.cs | 77 - .../Generated/Enums/ImGuiInputFlagsPrivate.cs | 142 - .../Generated/Enums/ImGuiInputSource.cs | 47 - .../Generated/Enums/ImGuiInputTextFlags.cs | 147 - .../Enums/ImGuiInputTextFlagsPrivate.cs | 37 - .../Generated/Enums/ImGuiItemFlags.cs | 57 - .../Generated/Enums/ImGuiItemFlagsPrivate.cs | 77 - .../Generated/Enums/ImGuiItemStatusFlags.cs | 82 - .../Generated/Enums/ImGuiKey.cs | 846 - .../Generated/Enums/ImGuiLayoutType.cs | 32 - .../Generated/Enums/ImGuiLocKey.cs | 92 - .../Generated/Enums/ImGuiLogFlags.cs | 52 - .../Generated/Enums/ImGuiMouseButton.cs | 42 - .../Generated/Enums/ImGuiMouseCursor.cs | 87 - .../Generated/Enums/ImGuiMouseSource.cs | 42 - .../Generated/Enums/ImGuiMultiSelectFlags.cs | 107 - .../Generated/Enums/ImGuiNavLayer.cs | 37 - .../Generated/Enums/ImGuiNavMoveFlags.cs | 112 - .../Enums/ImGuiNavRenderCursorFlags.cs | 42 - .../Generated/Enums/ImGuiNextItemDataFlags.cs | 52 - .../Enums/ImGuiNextWindowDataFlags.cs | 97 - .../Generated/Enums/ImGuiOldColumnFlags.cs | 52 - .../Generated/Enums/ImGuiPlotType.cs | 32 - .../Generated/Enums/ImGuiPopupFlags.cs | 82 - .../Enums/ImGuiPopupPositionPolicy.cs | 37 - .../Generated/Enums/ImGuiScrollFlags.cs | 72 - .../Generated/Enums/ImGuiSelectableFlags.cs | 57 - .../Enums/ImGuiSelectableFlagsPrivate.cs | 62 - .../Enums/ImGuiSelectionRequestType.cs | 37 - .../Generated/Enums/ImGuiSeparatorFlags.cs | 42 - .../Generated/Enums/ImGuiSliderFlags.cs | 72 - .../Enums/ImGuiSliderFlagsPrivate.cs | 32 - .../Generated/Enums/ImGuiSortDirection.cs | 37 - .../Generated/Enums/ImGuiStyleVar.cs | 202 - .../Generated/Enums/ImGuiTabBarFlags.cs | 82 - .../Enums/ImGuiTabBarFlagsPrivate.cs | 37 - .../Generated/Enums/ImGuiTabItemFlags.cs | 72 - .../Enums/ImGuiTabItemFlagsPrivate.cs | 47 - .../Generated/Enums/ImGuiTableBgTarget.cs | 42 - .../Generated/Enums/ImGuiTableColumnFlags.cs | 162 - .../Generated/Enums/ImGuiTableFlags.cs | 207 - .../Generated/Enums/ImGuiTableRowFlags.cs | 32 - .../Generated/Enums/ImGuiTextFlags.cs | 32 - .../Generated/Enums/ImGuiTooltipFlags.cs | 32 - .../Generated/Enums/ImGuiTreeNodeFlags.cs | 117 - .../Enums/ImGuiTreeNodeFlagsPrivate.cs | 37 - .../Generated/Enums/ImGuiTypingSelectFlags.cs | 37 - .../Generated/Enums/ImGuiViewportFlags.cs | 97 - .../Enums/ImGuiWindowDockStyleCol.cs | 67 - .../Generated/Enums/ImGuiWindowFlags.cs | 172 - .../Enums/ImGuiWindowRefreshFlags.cs | 42 - src/Hexa.NET.ImGui/Generated/FunctionTable.cs | 1487 -- .../Generated/Functions/Functions.000.cs | 5023 ----- .../Generated/Functions/Functions.001.cs | 5021 ----- .../Generated/Functions/Functions.002.cs | 5031 ----- .../Generated/Functions/Functions.003.cs | 5049 ------ .../Generated/Functions/Functions.004.cs | 5029 ----- .../Generated/Functions/Functions.005.cs | 5029 ----- .../Generated/Functions/Functions.006.cs | 5040 ----- .../Generated/Functions/Functions.007.cs | 5023 ----- .../Generated/Functions/Functions.008.cs | 5034 ----- .../Generated/Functions/Functions.009.cs | 5035 ----- .../Generated/Functions/Functions.010.cs | 5037 ----- .../Generated/Functions/Functions.011.cs | 5037 ----- .../Generated/Functions/Functions.012.cs | 5049 ------ .../Generated/Functions/Functions.013.cs | 5025 ----- .../Generated/Functions/Functions.014.cs | 5037 ----- .../Generated/Functions/Functions.015.cs | 5031 ----- .../Generated/Functions/Functions.016.cs | 5025 ----- .../Generated/Functions/Functions.017.cs | 5079 ------ .../Generated/Functions/Functions.018.cs | 5025 ----- .../Generated/Functions/Functions.019.cs | 5082 ------ .../Generated/Functions/Functions.020.cs | 5046 ------ .../Generated/Functions/Functions.021.cs | 5040 ----- .../Generated/Functions/Functions.022.cs | 5067 ------ .../Generated/Functions/Functions.023.cs | 5052 ------ .../Generated/Functions/Functions.024.cs | 5043 ------ .../Generated/Functions/Functions.025.cs | 5026 ----- .../Generated/Functions/Functions.026.cs | 5025 ----- .../Generated/Functions/Functions.027.cs | 5037 ----- .../Generated/Functions/Functions.028.cs | 5044 ------ .../Generated/Functions/Functions.029.cs | 5055 ------ .../Generated/Functions/Functions.030.cs | 5026 ----- .../Generated/Functions/Functions.031.cs | 5037 ----- .../Generated/Functions/Functions.032.cs | 5026 ----- .../Generated/Functions/Functions.033.cs | 5031 ----- .../Generated/Functions/Functions.034.cs | 5031 ----- .../Generated/Functions/Functions.035.cs | 5035 ----- .../Generated/Functions/Functions.036.cs | 5028 ----- .../Generated/Functions/Functions.037.cs | 5043 ------ .../Generated/Functions/Functions.038.cs | 5034 ----- .../Generated/Functions/Functions.039.cs | 5034 ----- .../Generated/Functions/Functions.040.cs | 5043 ------ .../Generated/Functions/Functions.041.cs | 5043 ------ .../Generated/Functions/Functions.042.cs | 5049 ------ .../Generated/Functions/Functions.043.cs | 5067 ------ .../Generated/Functions/Functions.044.cs | 5031 ----- .../Generated/Functions/Functions.045.cs | 5025 ----- .../Generated/Functions/Functions.046.cs | 5031 ----- .../Generated/Functions/Functions.047.cs | 5037 ----- .../Generated/Functions/Functions.048.cs | 5061 ------ .../Generated/Functions/Functions.049.cs | 5043 ------ .../Generated/Functions/Functions.050.cs | 5031 ----- .../Generated/Functions/Functions.051.cs | 5061 ------ .../Generated/Functions/Functions.052.cs | 5028 ----- .../Generated/Functions/Functions.053.cs | 5025 ----- .../Generated/Functions/Functions.054.cs | 5031 ----- .../Generated/Functions/Functions.055.cs | 5028 ----- .../Generated/Functions/Functions.056.cs | 5043 ------ .../Generated/Functions/Functions.057.cs | 5037 ----- .../Generated/Functions/Functions.058.cs | 5055 ------ .../Generated/Functions/Functions.059.cs | 5050 ------ .../Generated/Functions/Functions.060.cs | 5050 ------ .../Generated/Functions/Functions.061.cs | 5056 ------ .../Generated/Functions/Functions.062.cs | 5028 ----- .../Generated/Functions/Functions.063.cs | 5032 ----- .../Generated/Functions/Functions.064.cs | 5030 ----- .../Generated/Functions/Functions.065.cs | 5036 ----- .../Generated/Functions/Functions.066.cs | 5047 ------ .../Generated/Functions/Functions.067.cs | 5027 ----- .../Generated/Functions/Functions.068.cs | 5033 ----- .../Generated/Functions/Functions.069.cs | 5028 ----- .../Generated/Functions/Functions.070.cs | 5052 ------ .../Generated/Functions/Functions.071.cs | 5021 ----- .../Generated/Functions/Functions.072.cs | 5034 ----- .../Generated/Functions/Functions.073.cs | 5025 ----- .../Generated/Functions/Functions.074.cs | 5029 ----- .../Generated/Functions/Functions.075.cs | 5037 ----- .../Generated/Functions/Functions.076.cs | 5036 ----- .../Generated/Functions/Functions.077.cs | 5027 ----- .../Generated/Functions/Functions.078.cs | 5022 ----- .../Generated/Functions/Functions.079.cs | 5051 ------ .../Generated/Functions/Functions.080.cs | 5021 ----- .../Generated/Functions/Functions.081.cs | 5023 ----- .../Generated/Functions/Functions.082.cs | 5048 ------ .../Generated/Functions/Functions.083.cs | 5025 ----- .../Generated/Functions/Functions.084.cs | 5023 ----- .../Generated/Functions/Functions.085.cs | 5027 ----- .../Generated/Functions/Functions.086.cs | 5038 ----- .../Generated/Functions/Functions.087.cs | 5042 ------ .../Generated/Functions/Functions.088.cs | 5028 ----- .../Generated/Functions/Functions.089.cs | 5027 ----- .../Generated/Functions/Functions.090.cs | 5051 ------ .../Generated/Functions/Functions.091.cs | 5029 ----- .../Generated/Functions/Functions.092.cs | 5030 ----- .../Generated/Functions/Functions.093.cs | 5025 ----- .../Generated/Functions/Functions.094.cs | 5036 ----- .../Generated/Functions/Functions.095.cs | 5046 ------ .../Generated/Functions/Functions.096.cs | 5031 ----- .../Generated/Functions/Functions.097.cs | 5048 ------ .../Generated/Functions/Functions.098.cs | 1394 -- .../Generated/Handles/ImBitArrayPtr.cs | 44 - .../Generated/Handles/ImFileHandle.cs | 44 - ...yNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs | 68 - .../Generated/Structs/ImBitVector.cs | 90 - .../ImChunkStreamImGuiTableSettings.cs | 42 - .../ImChunkStreamImGuiWindowSettings.cs | 42 - .../Generated/Structs/ImColor.cs | 195 - .../Generated/Structs/ImDrawChannel.cs | 99 - .../Generated/Structs/ImDrawCmd.cs | 212 - .../Generated/Structs/ImDrawCmdHeader.cs | 54 - .../Generated/Structs/ImDrawData.cs | 291 - .../Generated/Structs/ImDrawDataBuilder.cs | 130 - .../Generated/Structs/ImDrawList.cs | 15126 ---------------- .../Generated/Structs/ImDrawListSharedData.cs | 613 - .../Generated/Structs/ImDrawListSplitter.cs | 299 - .../Generated/Structs/ImDrawVert.cs | 109 - .../Generated/Structs/ImFont.cs | 8568 --------- .../Generated/Structs/ImFontAtlas.cs | 5953 ------ .../Structs/ImFontAtlasCustomRect.cs | 209 - .../Generated/Structs/ImFontBuilderIO.cs | 90 - .../Generated/Structs/ImFontConfig.cs | 455 - .../Generated/Structs/ImFontGlyph.cs | 200 - .../Structs/ImFontGlyphRangesBuilder.cs | 1181 -- .../Generated/Structs/ImGuiBoxSelectState.cs | 229 - .../Generated/Structs/ImGuiColorMod.cs | 99 - .../Structs/ImGuiComboPreviewData.cs | 139 - .../Generated/Structs/ImGuiContext.cs | 4580 ----- .../Generated/Structs/ImGuiContextHook.cs | 128 - .../Generated/Structs/ImGuiDataTypeInfo.cs | 119 - .../Generated/Structs/ImGuiDataTypeStorage.cs | 77 - .../Structs/ImGuiDeactivatedItemData.cs | 60 - .../Generated/Structs/ImGuiDebugAllocEntry.cs | 54 - .../Generated/Structs/ImGuiDebugAllocInfo.cs | 172 - .../Generated/Structs/ImGuiDockContext.cs | 119 - .../Generated/Structs/ImGuiDockNode.cs | 570 - .../Structs/ImGuiDockNodeSettings.cs | 72 - .../Generated/Structs/ImGuiDockRequest.cs | 72 - .../Structs/ImGuiErrorRecoveryState.cs | 189 - .../Generated/Structs/ImGuiFocusScopeData.cs | 99 - .../Generated/Structs/ImGuiGroupData.cs | 209 - .../Generated/Structs/ImGuiIDStackTool.cs | 149 - .../Generated/Structs/ImGuiIO.cs | 2630 --- .../Generated/Structs/ImGuiInputEvent.cs | 195 - .../Structs/ImGuiInputEventAppFocused.cs | 42 - .../Generated/Structs/ImGuiInputEventKey.cs | 54 - .../Structs/ImGuiInputEventMouseButton.cs | 54 - .../Structs/ImGuiInputEventMousePos.cs | 55 - .../Structs/ImGuiInputEventMouseViewport.cs | 42 - .../Structs/ImGuiInputEventMouseWheel.cs | 54 - .../Generated/Structs/ImGuiInputEventText.cs | 42 - .../Structs/ImGuiInputTextCallbackData.cs | 1180 -- .../Structs/ImGuiInputTextDeactivateData.cs | 29 - .../Structs/ImGuiInputTextDeactivatedState.cs | 99 - .../Generated/Structs/ImGuiInputTextState.cs | 260 - .../Generated/Structs/ImGuiKeyData.cs | 120 - .../Generated/Structs/ImGuiKeyOwnerData.cs | 120 - .../Generated/Structs/ImGuiKeyRoutingData.cs | 139 - .../Generated/Structs/ImGuiKeyRoutingTable.cs | 595 - .../Generated/Structs/ImGuiLastItemData.cs | 159 - .../Generated/Structs/ImGuiListClipper.cs | 332 - .../Generated/Structs/ImGuiListClipperData.cs | 129 - .../Structs/ImGuiListClipperRange.cs | 129 - .../Generated/Structs/ImGuiLocEntry.cs | 99 - .../Generated/Structs/ImGuiMenuColumns.cs | 196 - .../Generated/Structs/ImGuiMetricsConfig.cs | 114 - .../Generated/Structs/ImGuiMultiSelectIO.cs | 143 - .../Structs/ImGuiMultiSelectState.cs | 159 - .../Structs/ImGuiMultiSelectTempData.cs | 239 - .../Generated/Structs/ImGuiNavItemData.cs | 169 - .../Generated/Structs/ImGuiNextItemData.cs | 189 - .../Generated/Structs/ImGuiNextWindowData.cs | 308 - .../Generated/Structs/ImGuiOldColumnData.cs | 119 - .../Generated/Structs/ImGuiOldColumns.cs | 249 - .../Generated/Structs/ImGuiOnceUponAFrame.cs | 109 - .../Generated/Structs/ImGuiPayload.cs | 501 - .../Generated/Structs/ImGuiPlatformIO.cs | 448 - .../Generated/Structs/ImGuiPlatformImeData.cs | 128 - .../Generated/Structs/ImGuiPlatformMonitor.cs | 159 - .../Generated/Structs/ImGuiPopupData.cs | 159 - .../Generated/Structs/ImGuiPtrOrIndex.cs | 99 - .../Structs/ImGuiSelectionBasicStorage.cs | 389 - .../Structs/ImGuiSelectionExternalStorage.cs | 163 - .../Structs/ImGuiSelectionRequest.cs | 129 - .../Generated/Structs/ImGuiSettingsHandler.cs | 169 - .../Generated/Structs/ImGuiShrinkWidthItem.cs | 109 - .../Structs/ImGuiSizeCallbackData.cs | 61 - .../Generated/Structs/ImGuiStackLevelInfo.cs | 322 - .../Generated/Structs/ImGuiStorage.cs | 544 - .../Generated/Structs/ImGuiStoragePair.cs | 156 - .../Generated/Structs/ImGuiStyle.cs | 949 - .../Generated/Structs/ImGuiStyleMod.cs | 159 - .../Generated/Structs/ImGuiStyleVarInfo.cs | 109 - .../Generated/Structs/ImGuiTabBar.cs | 419 - .../Generated/Structs/ImGuiTabItem.cs | 209 - .../Generated/Structs/ImGuiTable.cs | 1345 -- .../Generated/Structs/ImGuiTableCellData.cs | 100 - .../Generated/Structs/ImGuiTableColumn.cs | 502 - .../Structs/ImGuiTableColumnSettings.cs | 159 - .../Structs/ImGuiTableColumnSortSpecs.cs | 138 - .../Structs/ImGuiTableColumnsSettings.cs | 29 - .../Generated/Structs/ImGuiTableHeaderData.cs | 121 - .../Structs/ImGuiTableInstanceData.cs | 140 - .../Generated/Structs/ImGuiTableSettings.cs | 139 - .../Generated/Structs/ImGuiTableSortSpecs.cs | 131 - .../Generated/Structs/ImGuiTableTempData.cs | 223 - .../Generated/Structs/ImGuiTextBuffer.cs | 1460 -- .../Generated/Structs/ImGuiTextFilter.cs | 2199 --- .../Generated/Structs/ImGuiTextIndex.cs | 100 - .../Generated/Structs/ImGuiTextRange.cs | 183 - .../Structs/ImGuiTreeNodeStackData.cs | 122 - .../Structs/ImGuiTypingSelectRequest.cs | 139 - .../Structs/ImGuiTypingSelectState.cs | 354 - .../Generated/Structs/ImGuiViewport.cs | 317 - .../Generated/Structs/ImGuiViewportP.cs | 421 - .../Generated/Structs/ImGuiWindow.cs | 1591 -- .../Generated/Structs/ImGuiWindowClass.cs | 194 - .../Generated/Structs/ImGuiWindowDockStyle.cs | 77 - .../Generated/Structs/ImGuiWindowSettings.cs | 201 - .../Generated/Structs/ImGuiWindowStackData.cs | 129 - .../Generated/Structs/ImGuiWindowTempData.cs | 284 - .../Structs/ImPoolImGuiMultiSelectState.cs | 60 - .../Generated/Structs/ImPoolImGuiTabBar.cs | 60 - .../Generated/Structs/ImPoolImGuiTable.cs | 60 - .../Generated/Structs/ImRect.cs | 100 - .../Structs/ImSpanImGuiTableCellData.cs | 48 - .../Structs/ImSpanImGuiTableColumn.cs | 48 - .../Structs/ImSpanImGuiTableColumnIdx.cs | 48 - .../Generated/Structs/ImVec1.cs | 89 - .../Generated/Structs/ImVec2Ih.cs | 99 - .../Generated/Structs/STBTexteditState.cs | 29 - src/Hexa.NET.ImGui/Hexa.NET.ImGui.csproj | 113 - src/Hexa.NET.ImGui/ImGui.cs | 34 - src/Hexa.NET.ImGui/ImGuiP.cs | 16 - src/Hexa.NET.ImGui/ImTextureID.cs | 47 - src/Hexa.NET.ImGui/ImVector.cs | 187 - .../Internals/Functions/Functions.000.cs | 5035 ----- .../Internals/Functions/Functions.001.cs | 5029 ----- .../Internals/Functions/Functions.002.cs | 5043 ------ .../Internals/Functions/Functions.003.cs | 5034 ----- .../Internals/Functions/Functions.004.cs | 5043 ------ .../Internals/Functions/Functions.005.cs | 5026 ----- .../Internals/Functions/Functions.006.cs | 5027 ----- .../Internals/Functions/Functions.007.cs | 5021 ----- .../Internals/Functions/Functions.008.cs | 5021 ----- .../Internals/Functions/Functions.009.cs | 5028 ----- .../Internals/Functions/Functions.010.cs | 5025 ----- .../Internals/Functions/Functions.011.cs | 5024 ----- .../Internals/Functions/Functions.012.cs | 5051 ------ .../Internals/Functions/Functions.013.cs | 5039 ----- .../Internals/Functions/Functions.014.cs | 5025 ----- .../Internals/Functions/Functions.015.cs | 5036 ----- .../Internals/Functions/Functions.016.cs | 5025 ----- .../Internals/Functions/Functions.017.cs | 5050 ------ .../Internals/Functions/Functions.018.cs | 5047 ------ .../Internals/Functions/Functions.019.cs | 1281 -- src/Hexa.NET.ImGui/LICENSE.txt | 21 - .../Manual/Functions/Functions.000.cs | 5018 ----- .../Manual/Functions/Functions.001.cs | 5029 ----- .../Manual/Functions/Functions.002.cs | 5030 ----- .../Manual/Functions/Functions.003.cs | 5031 ----- .../Manual/Functions/Functions.004.cs | 5023 ----- .../Manual/Functions/Functions.005.cs | 5028 ----- .../Manual/Functions/Functions.006.cs | 5044 ------ .../Manual/Functions/Functions.007.cs | 5047 ------ .../Manual/Functions/Functions.008.cs | 5032 ----- .../Manual/Functions/Functions.009.cs | 5067 ------ .../Manual/Functions/Functions.010.cs | 610 - src/Hexa.NET.ImGui/README.md | 1 - src/Hexa.NET.ImGui/STBTexteditStatePtr.cs | 45 - .../Utilities/ImGuiFontBuilder.cs | 479 - .../buildTransitive/Hexa.NET.ImGui.targets | 6 - .../Generated/Constants/Constants.000.cs | 23 - .../Generated/Delegates/Delegates.000.cs | 129 - .../Generated/Enums/CanvasSizeMode.cs | 34 - .../Generated/Enums/FlowDirection.cs | 22 - .../Generated/Enums/PinKind.cs | 25 - .../Generated/Enums/SaveReasonFlags.cs | 31 - .../Generated/Enums/StyleColor.cs | 43 - .../Generated/Enums/StyleVar.cs | 48 - .../Generated/Extensions/Extensions.000.cs | 229 - .../Generated/FunctionTable.cs | 142 - .../Generated/Functions/Functions.000.cs | 2407 --- .../Generated/Handles/LinkId.cs | 41 - .../Generated/Handles/NodeId.cs | 44 - .../Generated/Handles/PinId.cs | 41 - .../Generated/Structs/Config.cs | 146 - .../Generated/Structs/EditorContext.cs | 72 - .../Generated/Structs/Style.cs | 193 - src/Hexa.NET.ImGuiNodeEditor/Globals.cs | 1 - .../Hexa.NET.ImGuiNodeEditor.csproj | 28 - .../ImGuiNodeEditor.cs | 30 - src/Hexa.NET.ImGuizmo/AssemblyInfo.cs | 6 - .../Generated/Constants/Constants.000.cs | 20 - .../Generated/Delegates/Delegates.000.cs | 20 - .../Generated/Enums/ImGuizmoColor.cs | 103 - .../Generated/Enums/ImGuizmoMode.cs | 33 - .../Generated/Enums/ImGuizmoOperation.cs | 118 - .../Generated/FunctionTable.cs | 74 - .../Generated/Functions/Functions.000.cs | 5036 ----- .../Generated/Functions/Functions.001.cs | 2220 --- .../Generated/Structs/Style.cs | 274 - .../Hexa.NET.ImGuizmo.csproj | 100 - src/Hexa.NET.ImGuizmo/ImGuizmo.cs | 30 - src/Hexa.NET.ImGuizmo/LICENSE.txt | 21 - src/Hexa.NET.ImGuizmo/README.md | 1 - src/Hexa.NET.ImNodes/AssemblyInfo.cs | 6 - .../Generated/Constants/Constants.000.cs | 20 - .../Generated/Delegates/Delegates.000.cs | 36 - .../Generated/Enums/ImNodesAttributeFlags.cs | 38 - .../Generated/Enums/ImNodesCol.cs | 173 - .../Generated/Enums/ImNodesMiniMapLocation.cs | 43 - .../Generated/Enums/ImNodesPinShape.cs | 53 - .../Generated/Enums/ImNodesStyleFlags.cs | 48 - .../Generated/Enums/ImNodesStyleVar.cs | 103 - .../Generated/FunctionTable.cs | 124 - .../Generated/Functions/Functions.000.cs | 4274 ----- ...odesMiniMapNodeHoveringCallbackUserData.cs | 45 - .../Structs/EmulateThreeButtonMouse.cs | 109 - .../Generated/Structs/ImNodesContext.cs | 73 - .../Generated/Structs/ImNodesEditorContext.cs | 73 - .../Generated/Structs/ImNodesIO.cs | 149 - .../Generated/Structs/ImNodesStyle.cs | 390 - .../Structs/LinkDetachWithModifierClick.cs | 109 - .../Structs/MultipleSelectModifier.cs | 109 - src/Hexa.NET.ImNodes/Hexa.NET.ImNodes.csproj | 100 - src/Hexa.NET.ImNodes/ImNodes.cs | 30 - src/Hexa.NET.ImNodes/LICENSE.txt | 21 - src/Hexa.NET.ImNodes/README.md | 1 - src/Hexa.NET.ImPlot/AssemblyInfo.cs | 6 - .../Generated/Constants/Constants.000.cs | 20 - .../Generated/Delegates/Delegates.000.cs | 180 - src/Hexa.NET.ImPlot/Generated/Enums/ImAxis.cs | 58 - .../Generated/Enums/ImPlotAxisFlags.cs | 123 - .../Generated/Enums/ImPlotBarGroupsFlags.cs | 38 - .../Generated/Enums/ImPlotBarsFlags.cs | 33 - .../Generated/Enums/ImPlotBin.cs | 43 - .../Generated/Enums/ImPlotCol.cs | 133 - .../Generated/Enums/ImPlotColormap.cs | 103 - .../Enums/ImPlotColormapScaleFlags.cs | 43 - .../Generated/Enums/ImPlotCond.cs | 38 - .../Generated/Enums/ImPlotDateFmt.cs | 53 - .../Generated/Enums/ImPlotDigitalFlags.cs | 28 - .../Generated/Enums/ImPlotDragToolFlags.cs | 48 - .../Generated/Enums/ImPlotDummyFlags.cs | 28 - .../Generated/Enums/ImPlotErrorBarsFlags.cs | 33 - .../Generated/Enums/ImPlotFlags.cs | 78 - .../Generated/Enums/ImPlotHeatmapFlags.cs | 33 - .../Generated/Enums/ImPlotHistogramFlags.cs | 53 - .../Generated/Enums/ImPlotImageFlags.cs | 28 - .../Generated/Enums/ImPlotInfLinesFlags.cs | 33 - .../Generated/Enums/ImPlotItemFlags.cs | 38 - .../Generated/Enums/ImPlotLegendFlags.cs | 63 - .../Generated/Enums/ImPlotLineFlags.cs | 53 - .../Generated/Enums/ImPlotLocation.cs | 68 - .../Generated/Enums/ImPlotMarker.cs | 83 - .../Generated/Enums/ImPlotMouseTextFlags.cs | 43 - .../Generated/Enums/ImPlotPieChartFlags.cs | 43 - .../Generated/Enums/ImPlotScale.cs | 43 - .../Generated/Enums/ImPlotScatterFlags.cs | 33 - .../Generated/Enums/ImPlotShadedFlags.cs | 28 - .../Generated/Enums/ImPlotStairsFlags.cs | 38 - .../Generated/Enums/ImPlotStemsFlags.cs | 33 - .../Generated/Enums/ImPlotStyleVar.cs | 163 - .../Generated/Enums/ImPlotSubplotFlags.cs | 83 - .../Generated/Enums/ImPlotTextFlags.cs | 33 - .../Generated/Enums/ImPlotTimeFmt.cs | 73 - .../Generated/Enums/ImPlotTimeUnit.cs | 68 - .../Generated/FunctionTable.cs | 748 - .../Generated/Functions/Functions.000.cs | 5019 ----- .../Generated/Functions/Functions.001.cs | 5022 ----- .../Generated/Functions/Functions.002.cs | 5022 ----- .../Generated/Functions/Functions.003.cs | 5033 ----- .../Generated/Functions/Functions.004.cs | 5022 ----- .../Generated/Functions/Functions.005.cs | 5031 ----- .../Generated/Functions/Functions.006.cs | 5037 ----- .../Generated/Functions/Functions.007.cs | 5045 ------ .../Generated/Functions/Functions.008.cs | 5027 ----- .../Generated/Functions/Functions.009.cs | 5022 ----- .../Generated/Functions/Functions.010.cs | 5030 ----- .../Generated/Functions/Functions.011.cs | 5029 ----- .../Generated/Functions/Functions.012.cs | 5022 ----- .../Generated/Functions/Functions.013.cs | 5023 ----- .../Generated/Functions/Functions.014.cs | 5045 ------ .../Generated/Functions/Functions.015.cs | 5051 ------ .../Generated/Functions/Functions.016.cs | 5029 ----- .../Generated/Functions/Functions.017.cs | 5028 ----- .../Generated/Functions/Functions.018.cs | 5049 ------ .../Generated/Functions/Functions.019.cs | 5029 ----- .../Generated/Functions/Functions.020.cs | 5022 ----- .../Generated/Functions/Functions.021.cs | 5022 ----- .../Generated/Functions/Functions.022.cs | 5032 ----- .../Generated/Functions/Functions.023.cs | 5025 ----- .../Generated/Functions/Functions.024.cs | 5045 ------ .../Generated/Functions/Functions.025.cs | 5044 ------ .../Generated/Functions/Functions.026.cs | 5029 ----- .../Generated/Functions/Functions.027.cs | 5031 ----- .../Generated/Functions/Functions.028.cs | 5027 ----- .../Generated/Functions/Functions.029.cs | 5027 ----- .../Generated/Functions/Functions.030.cs | 5024 ----- .../Generated/Functions/Functions.031.cs | 5031 ----- .../Generated/Functions/Functions.032.cs | 5024 ----- .../Generated/Functions/Functions.033.cs | 5040 ----- .../Generated/Functions/Functions.034.cs | 5055 ------ .../Generated/Functions/Functions.035.cs | 5032 ----- .../Generated/Functions/Functions.036.cs | 5023 ----- .../Generated/Functions/Functions.037.cs | 5031 ----- .../Generated/Functions/Functions.038.cs | 5039 ----- .../Generated/Functions/Functions.039.cs | 5036 ----- .../Generated/Functions/Functions.040.cs | 5049 ------ .../Generated/Functions/Functions.041.cs | 5046 ------ .../Generated/Functions/Functions.042.cs | 5022 ----- .../Generated/Functions/Functions.043.cs | 5033 ----- .../Generated/Functions/Functions.044.cs | 5022 ----- .../Generated/Functions/Functions.045.cs | 5047 ------ .../Generated/Functions/Functions.046.cs | 5024 ----- .../Generated/Functions/Functions.047.cs | 5026 ----- .../Generated/Functions/Functions.048.cs | 5048 ------ .../Generated/Functions/Functions.049.cs | 5032 ----- .../Generated/Functions/Functions.050.cs | 5034 ----- .../Generated/Functions/Functions.051.cs | 5030 ----- .../Generated/Functions/Functions.052.cs | 5048 ------ .../Generated/Functions/Functions.053.cs | 5048 ------ .../Generated/Functions/Functions.054.cs | 5039 ----- .../Generated/Functions/Functions.055.cs | 5035 ----- .../Generated/Functions/Functions.056.cs | 5035 ----- .../Generated/Functions/Functions.057.cs | 5042 ------ .../Generated/Functions/Functions.058.cs | 5035 ----- .../Generated/Functions/Functions.059.cs | 5022 ----- .../Generated/Functions/Functions.060.cs | 5049 ------ .../Generated/Functions/Functions.061.cs | 5036 ----- .../Generated/Functions/Functions.062.cs | 5036 ----- .../Generated/Functions/Functions.063.cs | 5038 ----- .../Generated/Functions/Functions.064.cs | 5023 ----- .../Generated/Functions/Functions.065.cs | 5023 ----- .../Generated/Functions/Functions.066.cs | 5034 ----- .../Generated/Functions/Functions.067.cs | 5031 ----- .../Generated/Functions/Functions.068.cs | 5026 ----- .../Generated/Functions/Functions.069.cs | 5026 ----- .../Generated/Functions/Functions.070.cs | 5025 ----- .../Generated/Functions/Functions.071.cs | 5031 ----- .../Generated/Functions/Functions.072.cs | 5031 ----- .../Generated/Functions/Functions.073.cs | 5026 ----- .../Generated/Functions/Functions.074.cs | 5029 ----- .../Generated/Functions/Functions.075.cs | 5024 ----- .../Generated/Functions/Functions.076.cs | 5024 ----- .../Generated/Functions/Functions.077.cs | 5051 ------ .../Generated/Functions/Functions.078.cs | 5046 ------ .../Generated/Functions/Functions.079.cs | 5037 ----- .../Generated/Functions/Functions.080.cs | 5027 ----- .../Generated/Functions/Functions.081.cs | 5022 ----- .../Generated/Functions/Functions.082.cs | 5040 ----- .../Generated/Functions/Functions.083.cs | 5056 ------ .../Generated/Functions/Functions.084.cs | 5042 ------ .../Generated/Functions/Functions.085.cs | 5027 ----- .../Generated/Functions/Functions.086.cs | 5033 ----- .../Generated/Functions/Functions.087.cs | 5022 ----- .../Generated/Functions/Functions.088.cs | 5032 ----- .../Generated/Functions/Functions.089.cs | 5024 ----- .../Generated/Functions/Functions.090.cs | 5023 ----- .../Generated/Functions/Functions.091.cs | 5044 ------ .../Generated/Functions/Functions.092.cs | 5024 ----- .../Generated/Functions/Functions.093.cs | 5039 ----- .../Generated/Functions/Functions.094.cs | 5026 ----- .../Generated/Functions/Functions.095.cs | 5026 ----- .../Generated/Functions/Functions.096.cs | 5029 ----- .../Generated/Functions/Functions.097.cs | 5024 ----- .../Generated/Functions/Functions.098.cs | 5042 ------ .../Generated/Functions/Functions.099.cs | 5027 ----- .../Generated/Functions/Functions.100.cs | 5046 ------ .../Generated/Functions/Functions.101.cs | 5028 ----- .../Generated/Functions/Functions.102.cs | 5035 ----- .../Generated/Functions/Functions.103.cs | 5024 ----- .../Generated/Functions/Functions.104.cs | 5038 ----- .../Generated/Functions/Functions.105.cs | 5022 ----- .../Generated/Functions/Functions.106.cs | 5025 ----- .../Generated/Functions/Functions.107.cs | 5024 ----- .../Generated/Functions/Functions.108.cs | 5023 ----- .../Generated/Functions/Functions.109.cs | 5026 ----- .../Generated/Functions/Functions.110.cs | 5049 ------ .../Generated/Functions/Functions.111.cs | 5031 ----- .../Generated/Functions/Functions.112.cs | 5054 ------ .../Generated/Functions/Functions.113.cs | 5024 ----- .../Generated/Functions/Functions.114.cs | 5053 ------ .../Generated/Functions/Functions.115.cs | 5030 ----- .../Generated/Functions/Functions.116.cs | 5036 ----- .../Generated/Functions/Functions.117.cs | 5023 ----- .../Generated/Functions/Functions.118.cs | 5034 ----- .../Generated/Functions/Functions.119.cs | 5031 ----- .../Generated/Functions/Functions.120.cs | 5037 ----- .../Generated/Functions/Functions.121.cs | 5024 ----- .../Generated/Functions/Functions.122.cs | 5036 ----- .../Generated/Functions/Functions.123.cs | 5022 ----- .../Generated/Functions/Functions.124.cs | 5036 ----- .../Generated/Functions/Functions.125.cs | 5043 ------ .../Generated/Functions/Functions.126.cs | 5029 ----- .../Generated/Functions/Functions.127.cs | 5022 ----- .../Generated/Functions/Functions.128.cs | 5033 ----- .../Generated/Functions/Functions.129.cs | 5032 ----- .../Generated/Functions/Functions.130.cs | 5033 ----- .../Generated/Functions/Functions.131.cs | 5028 ----- .../Generated/Functions/Functions.132.cs | 5041 ----- .../Generated/Functions/Functions.133.cs | 5026 ----- .../Generated/Functions/Functions.134.cs | 5030 ----- .../Generated/Functions/Functions.135.cs | 5025 ----- .../Generated/Functions/Functions.136.cs | 5022 ----- .../Generated/Functions/Functions.137.cs | 5023 ----- .../Generated/Functions/Functions.138.cs | 5023 ----- .../Generated/Functions/Functions.139.cs | 4908 ----- .../Generated/Structs/FormatterTimeData.cs | 60 - .../Generated/Structs/ImPlotAlignmentData.cs | 702 - .../Generated/Structs/ImPlotAnnotation.cs | 159 - .../Structs/ImPlotAnnotationCollection.cs | 450 - .../Generated/Structs/ImPlotAxis.cs | 1489 -- .../Generated/Structs/ImPlotAxisColor.cs | 30 - .../Generated/Structs/ImPlotColormapData.cs | 914 - .../Generated/Structs/ImPlotContext.cs | 380 - .../Generated/Structs/ImPlotDateTimeSpec.cs | 139 - .../Generated/Structs/ImPlotInputMap.cs | 219 - .../Generated/Structs/ImPlotItem.cs | 169 - .../Generated/Structs/ImPlotItemGroup.cs | 650 - .../Generated/Structs/ImPlotLegend.cs | 238 - .../Generated/Structs/ImPlotNextItemData.cs | 351 - .../Generated/Structs/ImPlotNextPlotData.cs | 385 - .../Generated/Structs/ImPlotPlot.cs | 1119 -- .../Generated/Structs/ImPlotPoint.cs | 119 - .../Generated/Structs/ImPlotPointError.cs | 139 - .../Generated/Structs/ImPlotRange.cs | 182 - .../Generated/Structs/ImPlotRect.cs | 161 - .../Generated/Structs/ImPlotStyle.cs | 545 - .../Generated/Structs/ImPlotSubplot.cs | 331 - .../Generated/Structs/ImPlotTag.cs | 130 - .../Generated/Structs/ImPlotTagCollection.cs | 450 - .../Generated/Structs/ImPlotTick.cs | 179 - .../Generated/Structs/ImPlotTicker.cs | 472 - .../Generated/Structs/ImPlotTime.cs | 178 - .../Structs/ImPoolImPlotAlignmentData.cs | 61 - .../Generated/Structs/ImPoolImPlotItem.cs | 61 - .../Generated/Structs/ImPoolImPlotPlot.cs | 61 - .../Generated/Structs/ImPoolImPlotSubplot.cs | 61 - src/Hexa.NET.ImPlot/Hexa.NET.ImPlot.csproj | 100 - src/Hexa.NET.ImPlot/ImPlot.cs | 30 - src/Hexa.NET.ImPlot/LICENSE.txt | 21 - src/Hexa.NET.ImPlot/README.md | 1 - src/Hexa.NET.ImPlot/Tm.cs | 109 - src/Smithbox.Program/Smithbox.Program.csproj | 9 +- src/Smithbox/Smithbox.Linux.csproj | 9 +- src/Smithbox/Smithbox.Mac.csproj | 9 +- src/Smithbox/Smithbox.csproj | 9 +- 634 files changed, 16 insertions(+), 1455736 deletions(-) delete mode 100644 src/Hexa.NET.ImGui/AssemblyInfo.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Constants/Constants.000.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Delegates/Delegates.000.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImDrawFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImDrawListFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImFontAtlasFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiActivateFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiAxis.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiBackendFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiChildFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiCol.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiColorEditFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiCond.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiConfigFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiContextHookType.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataAuthority.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataType.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDir.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiDragDropFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusRequestFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusedFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiFreeTypeBuilderFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputEventType.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputSource.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiKey.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiLayoutType.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiLocKey.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiLogFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseButton.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseCursor.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseSource.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiMultiSelectFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavLayer.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavRenderCursorFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiPlotType.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiScrollFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectionRequestType.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiSortDirection.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiStyleVar.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableBgTarget.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableRowFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTextFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTooltipFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiTypingSelectFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiViewportFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowRefreshFlags.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/FunctionTable.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.001.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.002.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.003.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.004.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.005.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.006.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.007.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.008.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.009.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.010.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.011.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.012.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.013.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.014.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.015.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.016.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.017.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.018.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.019.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.020.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.021.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.022.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.023.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.024.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.025.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.026.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.027.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.028.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.029.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.030.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.031.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.032.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.033.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.034.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.035.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.036.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.037.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.038.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.039.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.040.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.041.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.042.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.043.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.044.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.045.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.046.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.047.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.048.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.049.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.050.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.051.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.052.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.053.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.054.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.055.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.056.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.057.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.058.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.059.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.060.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.061.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.062.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.063.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.064.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.065.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.066.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.067.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.068.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.069.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.070.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.071.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.072.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.073.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.074.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.075.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.076.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.077.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.078.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.079.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.080.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.081.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.082.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.083.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.084.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.085.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.086.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.087.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.088.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.089.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.090.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.091.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.092.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.093.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.094.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.095.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.096.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.097.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Functions/Functions.098.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Handles/ImBitArrayPtr.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Handles/ImFileHandle.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImBitVector.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImColor.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawChannel.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmd.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmdHeader.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawDataBuilder.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawList.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSharedData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSplitter.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImDrawVert.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFont.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlas.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFontBuilderIO.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFontConfig.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyph.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiBoxSelectState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiColorMod.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiComboPreviewData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiContext.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiContextHook.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeStorage.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDeactivatedItemData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocEntry.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocInfo.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockContext.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNode.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockRequest.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiErrorRecoveryState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiFocusScopeData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiGroupData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiIDStackTool.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiIO.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEvent.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventKey.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventText.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivateData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivatedState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyOwnerData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingTable.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiLastItemData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipper.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperRange.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiLocEntry.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiMenuColumns.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiMetricsConfig.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectIO.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectTempData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiNavItemData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextItemData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextWindowData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumnData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumns.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiPayload.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformIO.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformImeData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiPopupData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionBasicStorage.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionExternalStorage.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionRequest.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiSettingsHandler.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiStorage.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiStoragePair.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyle.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleMod.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleVarInfo.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabBar.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabItem.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTable.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableCellData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumn.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableHeaderData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableInstanceData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableTempData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextBuffer.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextFilter.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextIndex.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextRange.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTreeNodeStackData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectRequest.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewport.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewportP.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindow.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowClass.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowSettings.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowStackData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowTempData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiMultiSelectState.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTable.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImRect.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImVec1.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/ImVec2Ih.cs delete mode 100644 src/Hexa.NET.ImGui/Generated/Structs/STBTexteditState.cs delete mode 100644 src/Hexa.NET.ImGui/Hexa.NET.ImGui.csproj delete mode 100644 src/Hexa.NET.ImGui/ImGui.cs delete mode 100644 src/Hexa.NET.ImGui/ImGuiP.cs delete mode 100644 src/Hexa.NET.ImGui/ImTextureID.cs delete mode 100644 src/Hexa.NET.ImGui/ImVector.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.001.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.002.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.003.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.004.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.005.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.006.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.007.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.008.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.009.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.010.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.011.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.012.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.013.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.014.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.015.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.016.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.017.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.018.cs delete mode 100644 src/Hexa.NET.ImGui/Internals/Functions/Functions.019.cs delete mode 100644 src/Hexa.NET.ImGui/LICENSE.txt delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.001.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.002.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.003.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.004.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.005.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.006.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.007.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.008.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.009.cs delete mode 100644 src/Hexa.NET.ImGui/Manual/Functions/Functions.010.cs delete mode 100644 src/Hexa.NET.ImGui/README.md delete mode 100644 src/Hexa.NET.ImGui/STBTexteditStatePtr.cs delete mode 100644 src/Hexa.NET.ImGui/Utilities/ImGuiFontBuilder.cs delete mode 100644 src/Hexa.NET.ImGui/buildTransitive/Hexa.NET.ImGui.targets delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Constants/Constants.000.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Delegates/Delegates.000.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/CanvasSizeMode.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/FlowDirection.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/PinKind.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/SaveReasonFlags.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleColor.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleVar.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Extensions/Extensions.000.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/FunctionTable.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/LinkId.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/NodeId.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/PinId.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Config.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/EditorContext.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Style.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Globals.cs delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/Hexa.NET.ImGuiNodeEditor.csproj delete mode 100644 src/Hexa.NET.ImGuiNodeEditor/ImGuiNodeEditor.cs delete mode 100644 src/Hexa.NET.ImGuizmo/AssemblyInfo.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Constants/Constants.000.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Delegates/Delegates.000.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoColor.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoMode.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/FunctionTable.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.001.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Generated/Structs/Style.cs delete mode 100644 src/Hexa.NET.ImGuizmo/Hexa.NET.ImGuizmo.csproj delete mode 100644 src/Hexa.NET.ImGuizmo/ImGuizmo.cs delete mode 100644 src/Hexa.NET.ImGuizmo/LICENSE.txt delete mode 100644 src/Hexa.NET.ImGuizmo/README.md delete mode 100644 src/Hexa.NET.ImNodes/AssemblyInfo.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Constants/Constants.000.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Delegates/Delegates.000.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Enums/ImNodesAttributeFlags.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Enums/ImNodesCol.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Enums/ImNodesMiniMapLocation.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Enums/ImNodesPinShape.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleFlags.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleVar.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/FunctionTable.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Handles/ImNodesMiniMapNodeHoveringCallbackUserData.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/EmulateThreeButtonMouse.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/ImNodesContext.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/ImNodesEditorContext.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/ImNodesIO.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/ImNodesStyle.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/LinkDetachWithModifierClick.cs delete mode 100644 src/Hexa.NET.ImNodes/Generated/Structs/MultipleSelectModifier.cs delete mode 100644 src/Hexa.NET.ImNodes/Hexa.NET.ImNodes.csproj delete mode 100644 src/Hexa.NET.ImNodes/ImNodes.cs delete mode 100644 src/Hexa.NET.ImNodes/LICENSE.txt delete mode 100644 src/Hexa.NET.ImNodes/README.md delete mode 100644 src/Hexa.NET.ImPlot/AssemblyInfo.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Constants/Constants.000.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Delegates/Delegates.000.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImAxis.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotAxisFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarsFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBin.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCol.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormap.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCond.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDateFmt.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDummyFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotImageFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotItemFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLegendFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLineFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLocation.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMarker.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScale.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScatterFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotShadedFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStairsFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStemsFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStyleVar.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTextFlags.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeFmt.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeUnit.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/FunctionTable.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.000.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.001.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.002.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.003.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.004.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.005.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.006.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.007.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.008.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.009.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.010.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.011.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.012.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.013.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.014.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.015.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.016.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.017.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.018.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.019.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.020.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.021.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.022.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.023.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.024.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.025.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.026.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.027.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.028.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.029.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.030.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.031.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.032.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.033.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.034.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.035.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.036.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.037.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.038.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.039.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.040.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.041.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.042.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.043.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.044.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.045.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.046.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.047.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.048.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.049.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.050.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.051.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.052.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.053.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.054.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.055.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.056.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.057.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.058.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.059.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.060.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.061.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.062.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.063.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.064.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.065.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.066.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.067.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.068.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.069.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.070.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.071.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.072.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.073.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.074.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.075.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.076.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.077.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.078.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.079.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.080.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.081.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.082.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.083.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.084.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.085.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.086.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.087.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.088.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.089.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.090.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.091.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.092.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.093.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.094.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.095.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.096.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.097.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.098.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.099.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.100.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.101.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.102.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.103.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.104.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.105.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.106.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.107.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.108.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.109.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.110.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.111.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.112.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.113.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.114.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.115.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.116.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.117.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.118.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.119.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.120.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.121.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.122.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.123.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.124.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.125.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.126.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.127.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.128.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.129.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.130.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.131.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.132.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.133.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.134.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.135.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.136.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.137.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.138.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Functions/Functions.139.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/FormatterTimeData.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAlignmentData.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotation.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxis.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxisColor.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotColormapData.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotContext.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotInputMap.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItem.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItemGroup.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotLegend.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextItemData.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextPlotData.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPlot.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPoint.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPointError.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRange.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRect.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotStyle.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotSubplot.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTag.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTagCollection.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTick.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTicker.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTime.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotItem.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs delete mode 100644 src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs delete mode 100644 src/Hexa.NET.ImPlot/Hexa.NET.ImPlot.csproj delete mode 100644 src/Hexa.NET.ImPlot/ImPlot.cs delete mode 100644 src/Hexa.NET.ImPlot/LICENSE.txt delete mode 100644 src/Hexa.NET.ImPlot/README.md delete mode 100644 src/Hexa.NET.ImPlot/Tm.cs diff --git a/Smithbox.sln b/Smithbox.sln index 7b051f387..20b5bfd2b 100644 --- a/Smithbox.sln +++ b/Smithbox.sln @@ -22,16 +22,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Andre.Core", "src\Andre\And EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Andre.IO", "src\Andre\Andre.IO\Andre.IO.csproj", "{9E5E426C-567D-45F3-9198-5280A4569B80}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hexa.NET.ImGui", "src\Hexa.NET.ImGui\Hexa.NET.ImGui.csproj", "{B5625AF3-B34C-3343-ADDE-9B4783D23D09}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hexa.NET.ImGuiNodeEditor", "src\Hexa.NET.ImGuiNodeEditor\Hexa.NET.ImGuiNodeEditor.csproj", "{BCD8EB08-B040-8644-4243-58D903734ED9}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hexa.NET.ImGuizmo", "src\Hexa.NET.ImGuizmo\Hexa.NET.ImGuizmo.csproj", "{B51DB43A-ACBD-C5DA-0954-86188303D94D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hexa.NET.ImNodes", "src\Hexa.NET.ImNodes\Hexa.NET.ImNodes.csproj", "{A14E7ED4-C857-61ED-1E57-2212FEB76BA1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hexa.NET.ImPlot", "src\Hexa.NET.ImPlot\Hexa.NET.ImPlot.csproj", "{8B232724-E0F2-1312-7B72-8D429CC41587}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Program", "src\Smithbox.Program\Smithbox.Program.csproj", "{FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Data", "src\Smithbox.Data\Smithbox.Data.csproj", "{4687FDA1-67FC-3A6D-3D82-C3C95BE30040}" @@ -144,46 +134,6 @@ Global {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|Any CPU.Build.0 = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|x64.ActiveCfg = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|x64.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|x64.ActiveCfg = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Debug|x64.Build.0 = Debug|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|Any CPU.Build.0 = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|x64.ActiveCfg = Release|Any CPU - {B5625AF3-B34C-3343-ADDE-9B4783D23D09}.Release|x64.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|x64.ActiveCfg = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Debug|x64.Build.0 = Debug|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|Any CPU.Build.0 = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|x64.ActiveCfg = Release|Any CPU - {BCD8EB08-B040-8644-4243-58D903734ED9}.Release|x64.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|x64.ActiveCfg = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Debug|x64.Build.0 = Debug|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|Any CPU.Build.0 = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|x64.ActiveCfg = Release|Any CPU - {B51DB43A-ACBD-C5DA-0954-86188303D94D}.Release|x64.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|x64.ActiveCfg = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Debug|x64.Build.0 = Debug|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|Any CPU.Build.0 = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|x64.ActiveCfg = Release|Any CPU - {A14E7ED4-C857-61ED-1E57-2212FEB76BA1}.Release|x64.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|x64.ActiveCfg = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Debug|x64.Build.0 = Debug|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|Any CPU.Build.0 = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|x64.ActiveCfg = Release|Any CPU - {8B232724-E0F2-1312-7B72-8D429CC41587}.Release|x64.Build.0 = Release|Any CPU {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.Build.0 = Debug|Any CPU {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.ActiveCfg = Debug|Any CPU diff --git a/src/Hexa.NET.ImGui/AssemblyInfo.cs b/src/Hexa.NET.ImGui/AssemblyInfo.cs deleted file mode 100644 index 0fbfeb747..000000000 --- a/src/Hexa.NET.ImGui/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -#if NET7_0_OR_GREATER - -using System.Runtime.CompilerServices; - -[assembly: DisableRuntimeMarshalling] -#endif \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/Generated/Constants/Constants.000.cs b/src/Hexa.NET.ImGui/Generated/Constants/Constants.000.cs deleted file mode 100644 index 25370b3e1..000000000 --- a/src/Hexa.NET.ImGui/Generated/Constants/Constants.000.cs +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - public const int IMGUI_USE_WCHAR32 = 1; - - public const int IMGUI_ENABLE_FREETYPE = 1; - - public const int IM_UNICODE_CODEPOINT_MAX = 0x10FFFF; - - public const int IMGUI_HAS_DOCK = 1; - - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Delegates/Delegates.000.cs b/src/Hexa.NET.ImGui/Generated/Delegates/Delegates.000.cs deleted file mode 100644 index 54fd2c187..000000000 --- a/src/Hexa.NET.ImGui/Generated/Delegates/Delegates.000.cs +++ /dev/null @@ -1,803 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void UserCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] ImDrawList* parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] ImDrawCmd* cmd); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void UserCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] nint parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] nint cmd); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte FontBuilderBuild([NativeName(NativeNameType.Param, "atlas")] [NativeName(NativeNameType.Type, "ImFontAtlas*")] ImFontAtlas* atlas); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte FontBuilderBuild([NativeName(NativeNameType.Param, "atlas")] [NativeName(NativeNameType.Type, "ImFontAtlas*")] nint atlas); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void DockNodeWindowMenuHandler([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "node")] [NativeName(NativeNameType.Type, "ImGuiDockNode*")] ImGuiDockNode* node, [NativeName(NativeNameType.Param, "tab_bar")] [NativeName(NativeNameType.Type, "ImGuiTabBar*")] ImGuiTabBar* tabBar); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void DockNodeWindowMenuHandler([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "node")] [NativeName(NativeNameType.Type, "ImGuiDockNode*")] nint node, [NativeName(NativeNameType.Param, "tab_bar")] [NativeName(NativeNameType.Type, "ImGuiTabBar*")] nint tabBar); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ErrorCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData, [NativeName(NativeNameType.Param, "msg")] [NativeName(NativeNameType.Type, "const char*")] byte* msg); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ErrorCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData, [NativeName(NativeNameType.Param, "msg")] [NativeName(NativeNameType.Type, "const char*")] nint msg); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte* PlatformGetClipboardTextFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate nint PlatformGetClipboardTextFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetClipboardTextFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "text")] [NativeName(NativeNameType.Type, "const char*")] byte* text); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetClipboardTextFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "text")] [NativeName(NativeNameType.Type, "const char*")] nint text); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte PlatformOpenInShellFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "path")] [NativeName(NativeNameType.Type, "const char*")] byte* path); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte PlatformOpenInShellFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "path")] [NativeName(NativeNameType.Type, "const char*")] nint path); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetImeDataFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "viewport")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* viewport, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiPlatformImeData*")] ImGuiPlatformImeData* data); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetImeDataFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "viewport")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint viewport, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiPlatformImeData*")] nint data); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformShowWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformShowWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowPos([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "pos")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 pos); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowPos([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "pos")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 pos); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate Vector2* PlatformGetWindowPos(Vector2* pos, ImGuiViewport* viewport); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate Vector2* PlatformGetWindowPos(Vector2* pos, ImGuiViewport* viewport); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate Vector2* PlatformGetWindowSize(Vector2* size, ImGuiViewport* viewport); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate Vector2* PlatformGetWindowSize(Vector2* size, ImGuiViewport* viewport); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte PlatformGetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte PlatformGetWindowFocus([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte PlatformGetWindowMinimized([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte PlatformGetWindowMinimized([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowTitle([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "str")] [NativeName(NativeNameType.Type, "const char*")] byte* str); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowTitle([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "str")] [NativeName(NativeNameType.Type, "const char*")] nint str); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowAlpha([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "alpha")] [NativeName(NativeNameType.Type, "float")] float alpha); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSetWindowAlpha([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "alpha")] [NativeName(NativeNameType.Type, "float")] float alpha); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformUpdateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformUpdateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate float PlatformGetWindowDpiScale([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate float PlatformGetWindowDpiScale([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformOnChangedViewport([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void PlatformOnChangedViewport([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate Vector4 PlatformGetWindowWorkAreaInsets([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate Vector4 PlatformGetWindowWorkAreaInsets([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int PlatformCreateVkSurface([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "vk_inst")] [NativeName(NativeNameType.Type, "ImU64")] ulong vkInst, [NativeName(NativeNameType.Param, "vk_allocators")] [NativeName(NativeNameType.Type, "const void*")] void* vkAllocators, [NativeName(NativeNameType.Param, "out_vk_surface")] [NativeName(NativeNameType.Type, "ImU64*")] ulong* outVkSurface); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int PlatformCreateVkSurface([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "vk_inst")] [NativeName(NativeNameType.Type, "ImU64")] ulong vkInst, [NativeName(NativeNameType.Param, "vk_allocators")] [NativeName(NativeNameType.Type, "const void*")] nint vkAllocators, [NativeName(NativeNameType.Param, "out_vk_surface")] [NativeName(NativeNameType.Type, "ImU64*")] nint outVkSurface); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererCreateWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererDestroyWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererSetWindowSize([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "ImVec2")] Vector2 size); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererRenderWindow([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] ImGuiViewport* vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] void* renderArg); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void RendererSwapBuffers([NativeName(NativeNameType.Param, "vp")] [NativeName(NativeNameType.Type, "ImGuiViewport*")] nint vp, [NativeName(NativeNameType.Param, "render_arg")] [NativeName(NativeNameType.Type, "void*")] nint renderArg); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void SizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] ImGuiSizeCallbackData* data); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void SizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] nint data); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ClearAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ClearAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ReadInitFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ReadInitFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* ReadOpenFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler, [NativeName(NativeNameType.Param, "name")] [NativeName(NativeNameType.Type, "const char*")] byte* name); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate nint ReadOpenFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler, [NativeName(NativeNameType.Param, "name")] [NativeName(NativeNameType.Type, "const char*")] nint name); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ReadLineFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler, [NativeName(NativeNameType.Param, "entry")] [NativeName(NativeNameType.Type, "void*")] void* entry, [NativeName(NativeNameType.Param, "line")] [NativeName(NativeNameType.Type, "const char*")] byte* line); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ReadLineFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler, [NativeName(NativeNameType.Param, "entry")] [NativeName(NativeNameType.Type, "void*")] nint entry, [NativeName(NativeNameType.Param, "line")] [NativeName(NativeNameType.Type, "const char*")] nint line); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ApplyAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ApplyAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void WriteAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] ImGuiSettingsHandler* handler, [NativeName(NativeNameType.Param, "out_buf")] [NativeName(NativeNameType.Type, "ImGuiTextBuffer*")] ImGuiTextBuffer* outBuf); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void WriteAllFn([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "handler")] [NativeName(NativeNameType.Type, "ImGuiSettingsHandler*")] nint handler, [NativeName(NativeNameType.Param, "out_buf")] [NativeName(NativeNameType.Type, "ImGuiTextBuffer*")] nint outBuf); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void Callback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] ImGuiContextHook* hook); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void Callback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] nint hook); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate uint AdapterIndexToStorageId([NativeName(NativeNameType.Param, "self")] [NativeName(NativeNameType.Type, "ImGuiSelectionBasicStorage*")] ImGuiSelectionBasicStorage* self, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate uint AdapterIndexToStorageId([NativeName(NativeNameType.Param, "self")] [NativeName(NativeNameType.Type, "ImGuiSelectionBasicStorage*")] nint self, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void AdapterSetItemSelected([NativeName(NativeNameType.Param, "self")] [NativeName(NativeNameType.Type, "ImGuiSelectionExternalStorage*")] ImGuiSelectionExternalStorage* self, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "selected")] [NativeName(NativeNameType.Type, "bool")] byte selected); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void AdapterSetItemSelected([NativeName(NativeNameType.Param, "self")] [NativeName(NativeNameType.Type, "ImGuiSelectionExternalStorage*")] nint self, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "selected")] [NativeName(NativeNameType.Type, "bool")] byte selected); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImDrawCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] ImDrawList* parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] ImDrawCmd* cmd); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImDrawCallback([NativeName(NativeNameType.Param, "parent_list")] [NativeName(NativeNameType.Type, "const ImDrawList*")] nint parentList, [NativeName(NativeNameType.Param, "cmd")] [NativeName(NativeNameType.Type, "const ImDrawCmd*")] nint cmd); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiSizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] ImGuiSizeCallbackData* data); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiSizeCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiSizeCallbackData*")] nint data); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiContextHookCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] ImGuiContextHook* hook); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiContextHookCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "hook")] [NativeName(NativeNameType.Type, "ImGuiContextHook*")] nint hook); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiErrorCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] ImGuiContext* ctx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData, [NativeName(NativeNameType.Param, "msg")] [NativeName(NativeNameType.Type, "const char*")] byte* msg); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiErrorCallback([NativeName(NativeNameType.Param, "ctx")] [NativeName(NativeNameType.Type, "ImGuiContext*")] nint ctx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData, [NativeName(NativeNameType.Param, "msg")] [NativeName(NativeNameType.Type, "const char*")] nint msg); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int ImGuiInputTextCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiInputTextCallbackData*")] ImGuiInputTextCallbackData* data); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int ImGuiInputTextCallback([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "ImGuiInputTextCallbackData*")] nint data); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate nint ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiMemFreeFunc([NativeName(NativeNameType.Param, "ptr")] [NativeName(NativeNameType.Type, "void*")] void* ptr, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImGuiMemFreeFunc([NativeName(NativeNameType.Param, "ptr")] [NativeName(NativeNameType.Type, "void*")] nint ptr, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImDrawFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImDrawFlags.cs deleted file mode 100644 index 2fa884f06..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImDrawFlags.cs +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImDrawFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
- ///
- Closed = unchecked(1), - - /// - /// AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01.
- ///
- RoundCornersTopLeft = unchecked(16), - - /// - /// AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02.
- ///
- RoundCornersTopRight = unchecked(32), - - /// - /// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04.
- ///
- RoundCornersBottomLeft = unchecked(64), - - /// - /// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08.
- ///
- RoundCornersBottomRight = unchecked(128), - - /// - /// AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!
- ///
- RoundCornersNone = unchecked(256), - - /// - /// To be documented. - /// - RoundCornersTop = unchecked(48), - - /// - /// To be documented. - /// - RoundCornersBottom = unchecked(192), - - /// - /// To be documented. - /// - RoundCornersLeft = unchecked(80), - - /// - /// To be documented. - /// - RoundCornersRight = unchecked(160), - - /// - /// To be documented. - /// - RoundCornersAll = unchecked(240), - - /// - /// Default to ALL corners if none of the _RoundCornersXX flags are specified.
- ///
- RoundCornersDefault = RoundCornersAll, - - /// - /// To be documented. - /// - RoundCornersMask = unchecked(496), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImDrawListFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImDrawListFlags.cs deleted file mode 100644 index e1f08e9f8..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImDrawListFlags.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImDrawListFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Enable anti-aliased linesborders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles)
- ///
- AntiAliasedLines = unchecked(1), - - /// - /// Enable anti-aliased linesborders using textures when possible. Require backend to render with bilinear filtering (NOT pointnearest filtering).
- ///
- AntiAliasedLinesUseTex = unchecked(2), - - /// - /// Enable anti-aliased edge around filled shapes (rounded rectangles, circles).
- ///
- AntiAliasedFill = unchecked(4), - - /// - /// Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
- ///
- AllowVtxOffset = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImFontAtlasFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImFontAtlasFlags.cs deleted file mode 100644 index eead26b6e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImFontAtlasFlags.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImFontAtlasFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Don't round the height to next power of two
- ///
- NoPowerOfTwoHeight = unchecked(1), - - /// - /// Don't build software mouse cursors into the atlas (save a little texture memory)
- ///
- NoMouseCursors = unchecked(2), - - /// - /// Don't build thick line textures into the atlas (save a little texture memory, allow support for pointnearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPUGPU).
- ///
- NoBakedLines = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiActivateFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiActivateFlags.cs deleted file mode 100644 index e491e7f57..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiActivateFlags.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiActivateFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Favor activation that requires keyboard text input (e.g. for SliderDrag). Default for Enter key.
- ///
- PreferInput = unchecked(1), - - /// - /// Favor activation for tweaking with arrows or gamepad (e.g. for SliderDrag). Default for Space key and if keyboard is not used.
- ///
- PreferTweak = unchecked(2), - - /// - /// Request widget to preserve state if it can (e.g. InputText will try to preserve cursorselection)
- ///
- TryToPreserveState = unchecked(4), - - /// - /// Activation requested by a tabbing request
- ///
- FromTabbing = unchecked(8), - - /// - /// Activation requested by an item shortcut via SetNextItemShortcut() function.
- ///
- FromShortcut = unchecked(16), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiAxis.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiAxis.cs deleted file mode 100644 index 49f3b76f3..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiAxis.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiAxis : int - { - /// - /// To be documented. - /// - None = unchecked(-1), - - /// - /// To be documented. - /// - X = unchecked(0), - - /// - /// To be documented. - /// - Y = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiBackendFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiBackendFlags.cs deleted file mode 100644 index 7a8fbc1bd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiBackendFlags.cs +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiBackendFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Backend Platform supports gamepad and currently has one connected.
- ///
- HasGamepad = unchecked(1), - - /// - /// Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape.
- ///
- HasMouseCursors = unchecked(2), - - /// - /// Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set).
- ///
- HasSetMousePos = unchecked(4), - - /// - /// Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.
- ///
- RendererHasVtxOffset = unchecked(8), - - /// - /// Backend Platform supports multiple viewports.
- ///
- PlatformHasViewports = unchecked(1024), - - /// - /// Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under.
- ///
- HasMouseHoveredViewport = unchecked(2048), - - /// - /// Backend Renderer supports multiple viewports.
- ///
- RendererHasViewports = unchecked(4096), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlags.cs deleted file mode 100644 index 6da2bc8d4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlags.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiButtonFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// React on left mouse button (default)
- ///
- MouseButtonLeft = unchecked(1), - - /// - /// React on right mouse button
- ///
- MouseButtonRight = unchecked(2), - - /// - /// React on center mouse button
- ///
- MouseButtonMiddle = unchecked(4), - - /// - /// [Internal]
- ///
- MouseButtonMask = unchecked(7), - - /// - /// InvisibleButton(): do not disable navigationtabbing. Otherwise disabled by default.
- ///
- EnableNav = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs deleted file mode 100644 index bb0c5f3af..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs +++ /dev/null @@ -1,107 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiButtonFlagsPrivate : int - { - /// - /// return true on click (mouse down event)
- ///
- PressedOnClick = unchecked(16), - - /// - /// [Default] return true on click + release on same item <-- this is what the majority of Button are using
- ///
- PressedOnClickRelease = unchecked(32), - - /// - /// return true on click + release even if the release event is not done while hovering the item
- ///
- PressedOnClickReleaseAnywhere = unchecked(64), - - /// - /// return true on release (default requires click+release)
- ///
- PressedOnRelease = unchecked(128), - - /// - /// return true on double-click (default requires click+release)
- ///
- PressedOnDoubleClick = unchecked(256), - - /// - /// return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)
- ///
- PressedOnDragDropHold = unchecked(512), - - /// - /// allow interactions even if a child window is overlapping
- ///
- FlattenChildren = unchecked(2048), - - /// - /// require previous frame HoveredId to either match id or be null before being usable.
- ///
- AllowOverlap = unchecked(4096), - - /// - /// vertically align button to match text baseline - ButtonEx() only FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine
- ///
- AlignTextBaseLine = unchecked(32768), - - /// - /// disable mouse interaction if a key modifier is held
- ///
- NoKeyModsAllowed = unchecked(65536), - - /// - /// don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
- ///
- NoHoldingActiveId = unchecked(131072), - - /// - /// don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags)
- ///
- NoNavFocus = unchecked(262144), - - /// - /// don't report as hovered when nav focus is on this item
- ///
- NoHoveredOnFocus = unchecked(524288), - - /// - /// don't set keyinput owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!)
- ///
- NoSetKeyOwner = unchecked(1048576), - - /// - /// don't test keyinput owner when polling the key (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!)
- ///
- NoTestKeyOwner = unchecked(2097152), - - /// - /// To be documented. - /// - PressedOnMask = unchecked(1008), - - /// - /// To be documented. - /// - PressedOnDefault = PressedOnClickRelease, - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiChildFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiChildFlags.cs deleted file mode 100644 index 07863fdaf..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiChildFlags.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiChildFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason)
- ///
- Borders = unchecked(1), - - /// - /// Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child windows because it makes more sense)
- ///
- AlwaysUseWindowPadding = unchecked(2), - - /// - /// Allow resize from right border (layout direction). Enable .ini saving (unless ImGuiWindowFlags_NoSavedSettings passed to window flags)
- ///
- ResizeX = unchecked(4), - - /// - /// Allow resize from bottom border (layout direction). "
- ///
- ResizeY = unchecked(8), - - /// - /// Enable auto-resizing width. Read "IMPORTANT: Size measurement" details above.
- ///
- AutoResizeX = unchecked(16), - - /// - /// Enable auto-resizing height. Read "IMPORTANT: Size measurement" details above.
- ///
- AutoResizeY = unchecked(32), - - /// - /// Combined with AutoResizeXAutoResizeY. Always measure size even when child is hidden, always return true, always disable clipping optimization! NOT RECOMMENDED.
- ///
- AlwaysAutoResize = unchecked(64), - - /// - /// Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding.
- ///
- FrameStyle = unchecked(128), - - /// - /// [BETA] Share focus scope, allow keyboardgamepad navigation to cross over parent border to this child or between sibling child windows.
- ///
- NavFlattened = unchecked(256), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiCol.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiCol.cs deleted file mode 100644 index 6bc4f3cf0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiCol.cs +++ /dev/null @@ -1,317 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiCol : int - { - /// - /// To be documented. - /// - Text = unchecked(0), - - /// - /// To be documented. - /// - TextDisabled = unchecked(1), - - /// - /// Background of normal windows
- ///
- WindowBg = unchecked(2), - - /// - /// Background of child windows
- ///
- ChildBg = unchecked(3), - - /// - /// Background of popups, menus, tooltips windows
- ///
- PopupBg = unchecked(4), - - /// - /// To be documented. - /// - Border = unchecked(5), - - /// - /// To be documented. - /// - BorderShadow = unchecked(6), - - /// - /// Background of checkbox, radio button, plot, slider, text input
- ///
- FrameBg = unchecked(7), - - /// - /// To be documented. - /// - FrameBgHovered = unchecked(8), - - /// - /// To be documented. - /// - FrameBgActive = unchecked(9), - - /// - /// Title bar
- ///
- TitleBg = unchecked(10), - - /// - /// Title bar when focused
- ///
- TitleBgActive = unchecked(11), - - /// - /// Title bar when collapsed
- ///
- TitleBgCollapsed = unchecked(12), - - /// - /// To be documented. - /// - MenuBarBg = unchecked(13), - - /// - /// To be documented. - /// - ScrollbarBg = unchecked(14), - - /// - /// To be documented. - /// - ScrollbarGrab = unchecked(15), - - /// - /// To be documented. - /// - ScrollbarGrabHovered = unchecked(16), - - /// - /// To be documented. - /// - ScrollbarGrabActive = unchecked(17), - - /// - /// Checkbox tick and RadioButton circle
- ///
- CheckMark = unchecked(18), - - /// - /// To be documented. - /// - SliderGrab = unchecked(19), - - /// - /// To be documented. - /// - SliderGrabActive = unchecked(20), - - /// - /// To be documented. - /// - Button = unchecked(21), - - /// - /// To be documented. - /// - ButtonHovered = unchecked(22), - - /// - /// To be documented. - /// - ButtonActive = unchecked(23), - - /// - /// Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem
- ///
- Header = unchecked(24), - - /// - /// To be documented. - /// - HeaderHovered = unchecked(25), - - /// - /// To be documented. - /// - HeaderActive = unchecked(26), - - /// - /// To be documented. - /// - Separator = unchecked(27), - - /// - /// To be documented. - /// - SeparatorHovered = unchecked(28), - - /// - /// To be documented. - /// - SeparatorActive = unchecked(29), - - /// - /// Resize grip in lower-right and lower-left corners of windows.
- ///
- ResizeGrip = unchecked(30), - - /// - /// To be documented. - /// - ResizeGripHovered = unchecked(31), - - /// - /// To be documented. - /// - ResizeGripActive = unchecked(32), - - /// - /// Tab background, when hovered
- ///
- TabHovered = unchecked(33), - - /// - /// Tab background, when tab-bar is focused & tab is unselected
- ///
- Tab = unchecked(34), - - /// - /// Tab background, when tab-bar is focused & tab is selected
- ///
- TabSelected = unchecked(35), - - /// - /// Tab horizontal overline, when tab-bar is focused & tab is selected
- ///
- TabSelectedOverline = unchecked(36), - - /// - /// Tab background, when tab-bar is unfocused & tab is unselected
- ///
- TabDimmed = unchecked(37), - - /// - /// Tab background, when tab-bar is unfocused & tab is selected
- ///
- TabDimmedSelected = unchecked(38), - - /// - /// ..horizontal overline, when tab-bar is unfocused & tab is selected
- ///
- TabDimmedSelectedOverline = unchecked(39), - - /// - /// Preview overlay color when about to docking something
- ///
- DockingPreview = unchecked(40), - - /// - /// Background color for empty node (e.g. CentralNode with no window docked into it)
- ///
- DockingEmptyBg = unchecked(41), - - /// - /// To be documented. - /// - PlotLines = unchecked(42), - - /// - /// To be documented. - /// - PlotLinesHovered = unchecked(43), - - /// - /// To be documented. - /// - PlotHistogram = unchecked(44), - - /// - /// To be documented. - /// - PlotHistogramHovered = unchecked(45), - - /// - /// Table header background
- ///
- TableHeaderBg = unchecked(46), - - /// - /// Table outer and header borders (prefer using Alpha=1.0 here)
- ///
- TableBorderStrong = unchecked(47), - - /// - /// Table inner borders (prefer using Alpha=1.0 here)
- ///
- TableBorderLight = unchecked(48), - - /// - /// Table row background (even rows)
- ///
- TableRowBg = unchecked(49), - - /// - /// Table row background (odd rows)
- ///
- TableRowBgAlt = unchecked(50), - - /// - /// Hyperlink color
- ///
- TextLink = unchecked(51), - - /// - /// To be documented. - /// - TextSelectedBg = unchecked(52), - - /// - /// Rectangle highlighting a drop target
- ///
- DragDropTarget = unchecked(53), - - /// - /// Color of keyboardgamepad navigation cursorrectangle, when visible
- ///
- NavCursor = unchecked(54), - - /// - /// Highlight window when using CTRL+TAB
- ///
- NavWindowingHighlight = unchecked(55), - - /// - /// Darkencolorize entire screen behind the CTRL+TAB window list, when active
- ///
- NavWindowingDimBg = unchecked(56), - - /// - /// Darkencolorize entire screen behind a modal window, when one is active
- ///
- ModalWindowDimBg = unchecked(57), - - /// - /// To be documented. - /// - Count = unchecked(58), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiColorEditFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiColorEditFlags.cs deleted file mode 100644 index 09179d8d8..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiColorEditFlags.cs +++ /dev/null @@ -1,177 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiColorEditFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).
- ///
- NoAlpha = unchecked(2), - - /// - /// ColorEdit: disable picker when clicking on color square.
- ///
- NoPicker = unchecked(4), - - /// - /// ColorEdit: disable toggling options menu when right-clicking on inputssmall preview.
- ///
- NoOptions = unchecked(8), - - /// - /// ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)
- ///
- NoSmallPreview = unchecked(16), - - /// - /// ColorEdit, ColorPicker: disable inputs sliderstext widgets (e.g. to show only the small preview color square).
- ///
- NoInputs = unchecked(32), - - /// - /// ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.
- ///
- NoTooltip = unchecked(64), - - /// - /// ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).
- ///
- NoLabel = unchecked(128), - - /// - /// ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead.
- ///
- NoSidePreview = unchecked(256), - - /// - /// ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.
- ///
- NoDragDrop = unchecked(512), - - /// - /// ColorButton: disable border (which is enforced by default)
- ///
- NoBorder = unchecked(1024), - - /// - /// ColorEdit, ColorPicker, ColorButton: disable alpha in the preview,. Contrary to _NoAlpha it may still be edited when calling ColorEdit4()ColorPicker4(). For ColorButton() this does the same as _NoAlpha.
- ///
- AlphaOpaque = unchecked(2048), - - /// - /// ColorEdit, ColorPicker, ColorButton: disable rendering a checkerboard background behind transparent color.
- ///
- AlphaNoBg = unchecked(4096), - - /// - /// ColorEdit, ColorPicker, ColorButton: display half opaque half transparent preview.
- ///
- AlphaPreviewHalf = unchecked(8192), - - /// - /// ColorEdit, ColorPicker: show vertical alpha bargradient in picker.
- ///
- AlphaBar = unchecked(65536), - - /// - /// (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).
- ///
- Hdr = unchecked(524288), - - /// - /// [Display] ColorEdit: override _display_ type among RGBHSVHex. ColorPicker: select any combination using one or more of RGBHSVHex.
- ///
- DisplayRgb = unchecked(1048576), - - /// - /// [Display] "
- ///
- DisplayHsv = unchecked(2097152), - - /// - /// [Display] "
- ///
- DisplayHex = unchecked(4194304), - - /// - /// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.
- ///
- Uint8 = unchecked(8388608), - - /// - /// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.
- ///
- Float = unchecked(16777216), - - /// - /// [Picker] ColorPicker: bar for Hue, rectangle for SatValue.
- ///
- PickerHueBar = unchecked(33554432), - - /// - /// [Picker] ColorPicker: wheel for Hue, triangle for SatValue.
- ///
- PickerHueWheel = unchecked(67108864), - - /// - /// [Input] ColorEdit, ColorPicker: input and output data in RGB format.
- ///
- InputRgb = unchecked(134217728), - - /// - /// [Input] ColorEdit, ColorPicker: input and output data in HSV format.
- ///
- InputHsv = unchecked(268435456), - - /// - /// To be documented. - /// - DefaultOptions = unchecked(177209344), - - /// - /// To be documented. - /// - AlphaMask = unchecked(14338), - - /// - /// To be documented. - /// - DisplayMask = unchecked(7340032), - - /// - /// To be documented. - /// - DataTypeMask = unchecked(25165824), - - /// - /// To be documented. - /// - PickerMask = unchecked(100663296), - - /// - /// To be documented. - /// - InputMask = unchecked(402653184), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlags.cs deleted file mode 100644 index 9828fc0dd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlags.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiComboFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Align the popup toward the left by default
- ///
- PopupAlignLeft = unchecked(1), - - /// - /// Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
- ///
- HeightSmall = unchecked(2), - - /// - /// Max ~8 items visible (default)
- ///
- HeightRegular = unchecked(4), - - /// - /// Max ~20 items visible
- ///
- HeightLarge = unchecked(8), - - /// - /// As many fitting items as possible
- ///
- HeightLargest = unchecked(16), - - /// - /// Display on the preview box without the square arrow button
- ///
- NoArrowButton = unchecked(32), - - /// - /// Display only a square arrow button
- ///
- NoPreview = unchecked(64), - - /// - /// Width dynamically calculated from preview contents
- ///
- WidthFitPreview = unchecked(128), - - /// - /// To be documented. - /// - HeightMask = unchecked(30), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs deleted file mode 100644 index 7b05d110d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs +++ /dev/null @@ -1,27 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiComboFlagsPrivate : int - { - /// - /// enable BeginComboPreview()
- ///
- CustomPreview = unchecked(1048576), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiCond.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiCond.cs deleted file mode 100644 index 4e4cb8526..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiCond.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiCond : int - { - /// - /// No condition (always set the variable), same as _Always
- ///
- None = unchecked(0), - - /// - /// No condition (always set the variable), same as _None
- ///
- Always = unchecked(1), - - /// - /// Set the variable once per runtime session (only the first call will succeed)
- ///
- Once = unchecked(2), - - /// - /// Set the variable if the objectwindow has no persistently saved data (no entry in .ini file)
- ///
- FirstUseEver = unchecked(4), - - /// - /// Set the variable if the objectwindow is appearing after being hiddeninactive (or the first time)
- ///
- Appearing = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiConfigFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiConfigFlags.cs deleted file mode 100644 index 32cda3ddd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiConfigFlags.cs +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiConfigFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + spaceenter to activate.
- ///
- NavEnableKeyboard = unchecked(1), - - /// - /// Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad.
- ///
- NavEnableGamepad = unchecked(2), - - /// - /// Instruct dear imgui to disable mouse inputs and interactions.
- ///
- NoMouse = unchecked(16), - - /// - /// Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead.
- ///
- NoMouseCursorChange = unchecked(32), - - /// - /// Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states.
- ///
- NoKeyboard = unchecked(64), - - /// - /// Docking enable flags.
- ///
- DockingEnable = unchecked(128), - - /// - /// Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)
- ///
- ViewportsEnable = unchecked(1024), - - /// - /// [BETA: Don't use] FIXME-DPI: Reposition and resize imgui windows when the DpiScale of a viewport changed (mostly useful for the main viewport hosting other window). Note that resizing the main window itself is up to your application.
- ///
- DpiEnableScaleViewports = unchecked(16384), - - /// - /// [BETA: Don't use] FIXME-DPI: Request bitmap-scaled fonts to match DpiScale. This is a very low-quality workaround. The correct way to handle DPI is _currently_ to replace the atlas andor fonts in the Platform_OnChangedViewport callback, but this is all early work in progress.
- ///
- DpiEnableScaleFonts = unchecked(32768), - - /// - /// Application is SRGB-aware.
- ///
- IsSrgb = unchecked(1048576), - - /// - /// Application is using a touch screen instead of a mouse.
- ///
- IsTouchScreen = unchecked(2097152), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiContextHookType.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiContextHookType.cs deleted file mode 100644 index 6a1b07c14..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiContextHookType.cs +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiContextHookType : int - { - /// - /// To be documented. - /// - NewFramePre = unchecked(0), - - /// - /// To be documented. - /// - NewFramePost = unchecked(1), - - /// - /// To be documented. - /// - EndFramePre = unchecked(2), - - /// - /// To be documented. - /// - EndFramePost = unchecked(3), - - /// - /// To be documented. - /// - RenderPre = unchecked(4), - - /// - /// To be documented. - /// - RenderPost = unchecked(5), - - /// - /// To be documented. - /// - Shutdown = unchecked(6), - - /// - /// To be documented. - /// - PendingRemoval = unchecked(7), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataAuthority.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataAuthority.cs deleted file mode 100644 index f06a7412b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataAuthority.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDataAuthority : int - { - /// - /// To be documented. - /// - Auto = unchecked(0), - - /// - /// To be documented. - /// - DockNode = unchecked(1), - - /// - /// To be documented. - /// - Window = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataType.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataType.cs deleted file mode 100644 index d493583f9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataType.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDataType : int - { - /// - /// signed char char (with sensible compilers)
- ///
- S8 = unchecked(0), - - /// - /// unsigned char
- ///
- U8 = unchecked(1), - - /// - /// short
- ///
- S16 = unchecked(2), - - /// - /// unsigned short
- ///
- U16 = unchecked(3), - - /// - /// int
- ///
- S32 = unchecked(4), - - /// - /// unsigned int
- ///
- U32 = unchecked(5), - - /// - /// long long __int64
- ///
- S64 = unchecked(6), - - /// - /// unsigned long long unsigned __int64
- ///
- U64 = unchecked(7), - - /// - /// float
- ///
- Float = unchecked(8), - - /// - /// double
- ///
- Double = unchecked(9), - - /// - /// bool (provided for user convenience, not supported by scalar widgets)
- ///
- Bool = unchecked(10), - - /// - /// char* (provided for user convenience, not supported by scalar widgets)
- ///
- String = unchecked(11), - - /// - /// To be documented. - /// - Count = unchecked(12), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs deleted file mode 100644 index 2cd7ae332..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDataTypePrivate.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDataTypePrivate : int - { - /// - /// To be documented. - /// - Pointer = unchecked((int)ImGuiDataType.Count), - - /// - /// To be documented. - /// - Id = unchecked(13), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs deleted file mode 100644 index 5c8279802..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs +++ /dev/null @@ -1,102 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDebugLogFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Error submitted by IM_ASSERT_USER_ERROR()
- ///
- EventError = unchecked(1), - - /// - /// To be documented. - /// - EventActiveId = unchecked(2), - - /// - /// To be documented. - /// - EventFocus = unchecked(4), - - /// - /// To be documented. - /// - EventPopup = unchecked(8), - - /// - /// To be documented. - /// - EventNav = unchecked(16), - - /// - /// To be documented. - /// - EventClipper = unchecked(32), - - /// - /// To be documented. - /// - EventSelection = unchecked(64), - - /// - /// To be documented. - /// - EventIo = unchecked(128), - - /// - /// To be documented. - /// - EventFont = unchecked(256), - - /// - /// To be documented. - /// - EventInputRouting = unchecked(512), - - /// - /// To be documented. - /// - EventDocking = unchecked(1024), - - /// - /// To be documented. - /// - EventViewport = unchecked(2048), - - /// - /// To be documented. - /// - EventMask = unchecked(4095), - - /// - /// Also send output to TTY
- ///
- OutputToTty = unchecked(1048576), - - /// - /// Also send output to Test Engine
- ///
- OutputToTestEngine = unchecked(2097152), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDir.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDir.cs deleted file mode 100644 index 2350d163c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDir.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDir : int - { - /// - /// To be documented. - /// - None = unchecked(-1), - - /// - /// To be documented. - /// - Left = unchecked(0), - - /// - /// To be documented. - /// - Right = unchecked(1), - - /// - /// To be documented. - /// - Up = unchecked(2), - - /// - /// To be documented. - /// - Down = unchecked(3), - - /// - /// To be documented. - /// - Count = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs deleted file mode 100644 index d04b73440..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDockNodeFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked.
- ///
- KeepAliveOnly = unchecked(1), - - /// - /// Disable docking over the Central Node, which will be always kept empty.
- ///
- NoDockingOverCentralNode = unchecked(4), - - /// - /// Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details.
- ///
- PassthruCentralNode = unchecked(8), - - /// - /// Disable other windowsnodes from splitting this node.
- ///
- NoDockingSplit = unchecked(16), - - /// - /// Saved Disable resizing node using the splitterseparators. Useful with programmatically setup dockspaces.
- ///
- NoResize = unchecked(32), - - /// - /// Tab bar will automatically hide when there is a single window in the dock node.
- ///
- AutoHideTabBar = unchecked(64), - - /// - /// Disable undocking this node.
- ///
- NoUndocking = unchecked(128), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs deleted file mode 100644 index 53b4a834a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs +++ /dev/null @@ -1,110 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDockNodeFlagsPrivate : int - { - /// - /// Saved A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window.
- ///
- Space = unchecked(1024), - - /// - /// Saved The central node has 2 main properties: stay visible when empty, only use "remaining" spaces from its neighbor.
- ///
- CentralNode = unchecked(2048), - - /// - /// Saved Tab bar is completely unavailable. No triangle in the corner to enable it back.
- ///
- NoTabBar = unchecked(4096), - - /// - /// Saved Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance may be destroyed as this is only used for single-window tab bar)
- ///
- HiddenTabBar = unchecked(8192), - - /// - /// Saved Disable windowdocking menu (that one that appears instead of the collapse button)
- ///
- NoWindowMenuButton = unchecked(16384), - - /// - /// Saved Disable close button
- ///
- NoCloseButton = unchecked(32768), - - /// - /// - NoResizeX = unchecked(65536), - - /// - /// - NoResizeY = unchecked(131072), - - /// - /// Any docked window will be automatically be focus-route chained (window->ParentWindowForFocusRoute set to this) so Shortcut() in this window can run when any docked window is focused.
- ///
- DockedWindowsInFocusRoute = unchecked(262144), - - /// - /// Disable this node from splitting other windowsnodes.
- ///
- NoDockingSplitOther = unchecked(524288), - - /// - /// Disable other windowsnodes from being docked over this node.
- ///
- NoDockingOverMe = unchecked(1048576), - - /// - /// Disable this node from being docked over another window or non-empty node.
- ///
- NoDockingOverOther = unchecked(2097152), - - /// - /// Disable this node from being docked over an empty node (e.g. DockSpace with no other windows)
- ///
- NoDockingOverEmpty = unchecked(4194304), - - /// - /// To be documented. - /// - NoDocking = unchecked(7864336), - - /// - /// To be documented. - /// - SharedFlagsInheritMask = unchecked(-1), - - /// - /// To be documented. - /// - NoResizeFlagsMask = unchecked(196640), - - /// - /// To be documented. - /// - LocalFlagsTransferMask = unchecked(260208), - - /// - /// To be documented. - /// - SavedFlagsMask = unchecked(261152), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeState.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeState.cs deleted file mode 100644 index fc7eda05e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDockNodeState.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDockNodeState : int - { - /// - /// To be documented. - /// - Unknown = unchecked(0), - - /// - /// To be documented. - /// - HostWindowHiddenBecauseSingleWindow = unchecked(1), - - /// - /// To be documented. - /// - HostWindowHiddenBecauseWindowsAreResizing = unchecked(2), - - /// - /// To be documented. - /// - HostWindowVisible = unchecked(3), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDragDropFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDragDropFlags.cs deleted file mode 100644 index 3da8dea1a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiDragDropFlags.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiDragDropFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior.
- ///
- SourceNoPreviewTooltip = unchecked(1), - - /// - /// By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item.
- ///
- SourceNoDisableHover = unchecked(2), - - /// - /// Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.
- ///
- SourceNoHoldToOpenOthers = unchecked(4), - - /// - /// Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit.
- ///
- SourceAllowNullId = unchecked(8), - - /// - /// External source (from outside of dear imgui), won't attempt to read current itemwindow info. Will always return true. Only one Extern source can be active simultaneously.
- ///
- SourceExtern = unchecked(16), - - /// - /// Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)
- ///
- PayloadAutoExpire = unchecked(32), - - /// - /// Hint to specify that the payload may not be copied outside current dear imgui context.
- ///
- PayloadNoCrossContext = unchecked(64), - - /// - /// Hint to specify that the payload may not be copied outside current process.
- ///
- PayloadNoCrossProcess = unchecked(128), - - /// - /// AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered.
- ///
- AcceptBeforeDelivery = unchecked(1024), - - /// - /// Do not draw the default highlight rectangle when hovering over target.
- ///
- AcceptNoDrawDefaultRect = unchecked(2048), - - /// - /// Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
- ///
- AcceptNoPreviewTooltip = unchecked(4096), - - /// - /// For peeking ahead and inspecting the payload before delivery.
- ///
- AcceptPeekOnly = unchecked(3072), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusRequestFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusRequestFlags.cs deleted file mode 100644 index 141223584..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusRequestFlags.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiFocusRequestFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Find last focused child (if any) and focus it instead.
- ///
- RestoreFocusedChild = unchecked(1), - - /// - /// Do not set focus if the window is below a modal.
- ///
- UnlessBelowModal = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusedFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusedFlags.cs deleted file mode 100644 index 584afc64d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFocusedFlags.cs +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiFocusedFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Return true if any children of the window is focused
- ///
- ChildWindows = unchecked(1), - - /// - /// Test from root window (top most parent of the current hierarchy)
- ///
- RootWindow = unchecked(2), - - /// - /// Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!
- ///
- AnyWindow = unchecked(4), - - /// - /// Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
- ///
- NoPopupHierarchy = unchecked(8), - - /// - /// Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
- ///
- DockHierarchy = unchecked(16), - - /// - /// To be documented. - /// - RootAndChildWindows = unchecked(3), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFreeTypeBuilderFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFreeTypeBuilderFlags.cs deleted file mode 100644 index c14b9f5b9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiFreeTypeBuilderFlags.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiFreeTypeBuilderFlags : int - { - /// - /// Disable hinting. This generally generates 'blurrier' bitmap glyphs when the glyph are rendered in any of the anti-aliased modes.
- ///
- NoHinting = unchecked(1), - - /// - /// Disable auto-hinter.
- ///
- NoAutoHint = unchecked(2), - - /// - /// Indicates that the auto-hinter is preferred over the font's native hinter.
- ///
- ForceAutoHint = unchecked(4), - - /// - /// A lighter hinting algorithm for gray-level modes. Many generated glyphs are fuzzier but better resemble their original shape. This is achieved by snapping glyphs to the pixel grid only vertically (Y-axis), as is done by Microsoft's ClearType and Adobe's proprietary font renderer. This preserves inter-glyph spacing in horizontal text.
- ///
- LightHinting = unchecked(8), - - /// - /// Strong hinting algorithm that should only be used for monochrome output.
- ///
- MonoHinting = unchecked(16), - - /// - /// Styling: Should we artificially embolden the font?
- ///
- Bold = unchecked(32), - - /// - /// Styling: Should we slant the font, emulating italic style?
- ///
- Oblique = unchecked(64), - - /// - /// Disable anti-aliasing. Combine this with MonoHinting for best results!
- ///
- Monochrome = unchecked(128), - - /// - /// Enable FreeType color-layered glyphs
- ///
- LoadColor = unchecked(256), - - /// - /// Enable FreeType bitmap glyphs
- ///
- Bitmap = unchecked(512), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlags.cs deleted file mode 100644 index bf1637373..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlags.cs +++ /dev/null @@ -1,127 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiHoveredFlags : int - { - /// - /// Return true if directly over the itemwindow, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
- ///
- None = unchecked(0), - - /// - /// IsWindowHovered() only: Return true if any children of the window is hovered
- ///
- ChildWindows = unchecked(1), - - /// - /// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
- ///
- RootWindow = unchecked(2), - - /// - /// IsWindowHovered() only: Return true if any window is hovered
- ///
- AnyWindow = unchecked(4), - - /// - /// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
- ///
- NoPopupHierarchy = unchecked(8), - - /// - /// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
- ///
- DockHierarchy = unchecked(16), - - /// - /// Return true even if a popup window is normally blocking access to this itemwindow
- ///
- AllowWhenBlockedByPopup = unchecked(32), - - /// - /// Return true even if an active item is blocking access to this itemwindow. Useful for Drag and Drop patterns.
- ///
- AllowWhenBlockedByActiveItem = unchecked(128), - - /// - /// IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item.
- ///
- AllowWhenOverlappedByItem = unchecked(256), - - /// - /// IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window.
- ///
- AllowWhenOverlappedByWindow = unchecked(512), - - /// - /// IsItemHovered() only: Return true even if the item is disabled
- ///
- AllowWhenDisabled = unchecked(1024), - - /// - /// IsItemHovered() only: Disable using keyboardgamepad navigation state when active, always query mouse
- ///
- NoNavOverride = unchecked(2048), - - /// - /// To be documented. - /// - AllowWhenOverlapped = unchecked(768), - - /// - /// To be documented. - /// - RectOnly = unchecked(928), - - /// - /// To be documented. - /// - RootAndChildWindows = unchecked(3), - - /// - /// Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence.
- ///
- ForTooltip = unchecked(4096), - - /// - /// Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) _at least one time_. After this, can move on same itemwindow. Using the stationary test tends to reduces the need for a long delay.
- ///
- Stationary = unchecked(8192), - - /// - /// IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this.
- ///
- DelayNone = unchecked(16384), - - /// - /// IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).
- ///
- DelayShort = unchecked(32768), - - /// - /// IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).
- ///
- DelayNormal = unchecked(65536), - - /// - /// IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays)
- ///
- NoSharedDelay = unchecked(131072), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlagsPrivate.cs deleted file mode 100644 index 9c9da3d01..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiHoveredFlagsPrivate.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiHoveredFlagsPrivate : int - { - /// - /// To be documented. - /// - DelayMask = unchecked(245760), - - /// - /// To be documented. - /// - AllowedMaskForIsWindowHovered = unchecked(12479), - - /// - /// To be documented. - /// - AllowedMaskForIsItemHovered = unchecked(262048), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputEventType.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputEventType.cs deleted file mode 100644 index 7f487507e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputEventType.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiInputEventType : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - MousePos = unchecked(1), - - /// - /// To be documented. - /// - MouseWheel = unchecked(2), - - /// - /// To be documented. - /// - MouseButton = unchecked(3), - - /// - /// To be documented. - /// - MouseViewport = unchecked(4), - - /// - /// To be documented. - /// - Key = unchecked(5), - - /// - /// To be documented. - /// - Text = unchecked(6), - - /// - /// To be documented. - /// - Focus = unchecked(7), - - /// - /// To be documented. - /// - Count = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlags.cs deleted file mode 100644 index 3a2bf1ba4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlags.cs +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiInputFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1.
- ///
- Repeat = unchecked(1), - - /// - /// Route to active item only.
- ///
- RouteActive = unchecked(1024), - - /// - /// Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes inputs over deep-most focused window.
- ///
- RouteFocused = unchecked(2048), - - /// - /// Global route (unless a focused window or active item registered the route).
- ///
- RouteGlobal = unchecked(4096), - - /// - /// Do not register route, poll keys directly.
- ///
- RouteAlways = unchecked(8192), - - /// - /// Option: global route: higher priority than focused route (unless active item in focused route).
- ///
- RouteOverFocused = unchecked(16384), - - /// - /// Option: global route: higher priority than active item. Unlikely you need to use that: will interfere with every active items, e.g. CTRL+A registered by InputText will be overridden by this. May not be fully honored as userinternal code is likely to always assume they can access keys when active.
- ///
- RouteOverActive = unchecked(32768), - - /// - /// Option: global route: will not be applied if underlying backgroundvoid is focused (== no Dear ImGui windows are focused). Useful for overlay applications.
- ///
- RouteUnlessBgFocused = unchecked(65536), - - /// - /// Option: route evaluated from the point of view of root window rather than current window.
- ///
- RouteFromRootWindow = unchecked(131072), - - /// - /// Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-inopt-out)
- ///
- Tooltip = unchecked(262144), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlagsPrivate.cs deleted file mode 100644 index 665747f87..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputFlagsPrivate.cs +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiInputFlagsPrivate : int - { - /// - /// Repeat rate: Regular (default)
- ///
- RepeatRateDefault = unchecked(2), - - /// - /// Repeat rate: Fast
- ///
- RepeatRateNavMove = unchecked(4), - - /// - /// Repeat rate: Faster
- ///
- RepeatRateNavTweak = unchecked(8), - - /// - /// Stop repeating when released (default for all functions except Shortcut). This only exists to allow overriding Shortcut() default behavior.
- ///
- RepeatUntilRelease = unchecked(16), - - /// - /// Stop repeating when released OR if keyboard mods are changed (default for Shortcut)
- ///
- RepeatUntilKeyModsChange = unchecked(32), - - /// - /// Stop repeating when released OR if keyboard mods are leaving the None state. Allows going from Mod+Key to Key by releasing Mod.
- ///
- RepeatUntilKeyModsChangeFromNone = unchecked(64), - - /// - /// Stop repeating when released OR if any other keyboard key is pressed during the repeat
- ///
- RepeatUntilOtherKeyPress = unchecked(128), - - /// - /// Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any0 will NOT accepted for polling). Cleared at end of frame.
- ///
- LockThisFrame = unchecked(1048576), - - /// - /// Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any0 will NOT accepted for polling). Cleared when the key is released or at end of each frame if key is released.
- ///
- LockUntilRelease = unchecked(2097152), - - /// - /// Only set if item is hovered (default to both)
- ///
- CondHovered = unchecked(4194304), - - /// - /// Only set if item is active (default to both)
- ///
- CondActive = unchecked(8388608), - - /// - /// To be documented. - /// - CondDefault = unchecked(12582912), - - /// - /// To be documented. - /// - RepeatRateMask = unchecked(14), - - /// - /// To be documented. - /// - RepeatUntilMask = unchecked(240), - - /// - /// To be documented. - /// - RepeatMask = unchecked(255), - - /// - /// To be documented. - /// - CondMask = unchecked(12582912), - - /// - /// To be documented. - /// - RouteTypeMask = unchecked(15360), - - /// - /// To be documented. - /// - RouteOptionsMask = unchecked(245760), - - /// - /// To be documented. - /// - SupportedByIsKeyPressed = RepeatMask, - - /// - /// To be documented. - /// - SupportedByIsMouseClicked = unchecked((int)ImGuiInputFlags.Repeat), - - /// - /// To be documented. - /// - SupportedByShortcut = unchecked(261375), - - /// - /// To be documented. - /// - SupportedBySetNextItemShortcut = unchecked(523519), - - /// - /// To be documented. - /// - SupportedBySetKeyOwner = unchecked(3145728), - - /// - /// To be documented. - /// - SupportedBySetItemKeyOwner = unchecked(15728640), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputSource.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputSource.cs deleted file mode 100644 index a44a2ba2f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputSource.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiInputSource : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
- ///
- Mouse = unchecked(1), - - /// - /// To be documented. - /// - Keyboard = unchecked(2), - - /// - /// To be documented. - /// - Gamepad = unchecked(3), - - /// - /// To be documented. - /// - Count = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlags.cs deleted file mode 100644 index 496e1519b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlags.cs +++ /dev/null @@ -1,147 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiInputTextFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Allow 0123456789.+-*
- ///
- CharsDecimal = unchecked(1), - - /// - /// Allow 0123456789ABCDEFabcdef
- ///
- CharsHexadecimal = unchecked(2), - - /// - /// Allow 0123456789.+-*eE (Scientific notation input)
- ///
- CharsScientific = unchecked(4), - - /// - /// Turn a..z into A..Z
- ///
- CharsUppercase = unchecked(8), - - /// - /// Filter out spaces, tabs
- ///
- CharsNoBlank = unchecked(16), - - /// - /// Pressing TAB input a '\t' character into the text field
- ///
- AllowTabInput = unchecked(32), - - /// - /// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead!
- ///
- EnterReturnsTrue = unchecked(64), - - /// - /// Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape to revert)
- ///
- EscapeClearsAll = unchecked(128), - - /// - /// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter).
- ///
- CtrlEnterForNewLine = unchecked(256), - - /// - /// Read-only mode
- ///
- ReadOnly = unchecked(512), - - /// - /// Password mode, display all characters as '*', disable copy
- ///
- Password = unchecked(1024), - - /// - /// Overwrite mode
- ///
- AlwaysOverwrite = unchecked(2048), - - /// - /// Select entire text when first taking mouse focus
- ///
- AutoSelectAll = unchecked(4096), - - /// - /// InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value.
- ///
- ParseEmptyRefVal = unchecked(8192), - - /// - /// InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used with ImGuiInputTextFlags_ParseEmptyRefVal.
- ///
- DisplayEmptyRefVal = unchecked(16384), - - /// - /// Disable following the cursor horizontally
- ///
- NoHorizontalScroll = unchecked(32768), - - /// - /// Disable undoredo. Note that input text owns the text data while active, if you want to provide your own undoredo stack you need e.g. to call ClearActiveID().
- ///
- NoUndoRedo = unchecked(65536), - - /// - /// When text doesn't fit, elide left side to ensure right side stays visible. Useful for pathfilenames. Single-line only!
- ///
- ElideLeft = unchecked(131072), - - /// - /// Callback on pressing TAB (for completion handling)
- ///
- CallbackCompletion = unchecked(262144), - - /// - /// Callback on pressing UpDown arrows (for history handling)
- ///
- CallbackHistory = unchecked(524288), - - /// - /// Callback on each iteration. User code may query cursor position, modify text buffer.
- ///
- CallbackAlways = unchecked(1048576), - - /// - /// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.
- ///
- CallbackCharFilter = unchecked(2097152), - - /// - /// Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misccppimgui_stdlib.h for an example of using this)
- ///
- CallbackResize = unchecked(4194304), - - /// - /// Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
- ///
- CallbackEdit = unchecked(8388608), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs deleted file mode 100644 index 09b283bfa..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiInputTextFlagsPrivate : int - { - /// - /// For internal use by InputTextMultiline()
- ///
- Multiline = unchecked(67108864), - - /// - /// For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.
- ///
- MergedItem = unchecked(134217728), - - /// - /// For internal use by InputScalar() and TempInputScalar()
- ///
- LocalizeDecimalPoint = unchecked(268435456), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlags.cs deleted file mode 100644 index 5cfb27b0d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlags.cs +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiItemFlags : int - { - /// - /// (Default)
- ///
- None = unchecked(0), - - /// - /// false Disable keyboard tabbing. This is a "lighter" version of ImGuiItemFlags_NoNav.
- ///
- NoTabStop = unchecked(1), - - /// - /// false Disable any form of focusing (keyboardgamepad directional navigation and SetKeyboardFocusHere() calls).
- ///
- NoNav = unchecked(2), - - /// - /// false Disable item being a candidate for default focus (e.g. used by title bar items).
- ///
- NoNavDefaultFocus = unchecked(4), - - /// - /// false Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held.
- ///
- ButtonRepeat = unchecked(8), - - /// - /// true MenuItem()Selectable() automatically close their parent popup window.
- ///
- AutoClosePopups = unchecked(16), - - /// - /// false Allow submitting an item with the same identifier as an item already submitted this frame without triggering a warning tooltip if io.ConfigDebugHighlightIdConflicts is set.
- ///
- AllowDuplicateId = unchecked(32), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlagsPrivate.cs deleted file mode 100644 index 51dcff933..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemFlagsPrivate.cs +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiItemFlagsPrivate : int - { - /// - /// false Disable interactions (DOES NOT affect visuals. DO NOT mix direct use of this with BeginDisabled(). See BeginDisabled()EndDisabled() for full disable feature, and github #211).
- ///
- Disabled = unchecked(1024), - - /// - /// false [ALPHA] Allow hovering interactions but underlying value is not changed.
- ///
- ReadOnly = unchecked(2048), - - /// - /// false [BETA] Represent a mixedindeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets)
- ///
- MixedValue = unchecked(4096), - - /// - /// false Disable hoverable check in ItemHoverable()
- ///
- NoWindowHoverableCheck = unchecked(8192), - - /// - /// false Allow being overlapped by another widget. Not-hovered to Hovered transition deferred by a frame.
- ///
- AllowOverlap = unchecked(16384), - - /// - /// false Nav keyboardgamepad mode doesn't disable hover highlight (behave as if NavHighlightItemUnderNav==false).
- ///
- NoNavDisableMouseHover = unchecked(32768), - - /// - /// false Skip calling MarkItemEdited()
- ///
- NoMarkEdited = unchecked(65536), - - /// - /// false [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few items before it becomes a generic feature.
- ///
- Inputable = unchecked(1048576), - - /// - /// false Set by SetNextItemSelectionUserData()
- ///
- HasSelectionUserData = unchecked(2097152), - - /// - /// false Set by SetNextItemSelectionUserData()
- ///
- IsMultiSelect = unchecked(4194304), - - /// - /// Please don't change, use PushItemFlag() instead.
- ///
- Default = unchecked((int)ImGuiItemFlags.AutoClosePopups), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs deleted file mode 100644 index 4cc556f38..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiItemStatusFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test)
- ///
- HoveredRect = unchecked(1), - - /// - /// g.LastItemData.DisplayRect is valid
- ///
- HasDisplayRect = unchecked(2), - - /// - /// Value exposed by item was edited in the current frame (should match the bool return value of most widgets)
- ///
- Edited = unchecked(4), - - /// - /// Set when Selectable(), TreeNode() reports toggling a selection. We can't report "Selected", only state changes, in order to easily handle clipping with less issues.
- ///
- ToggledSelection = unchecked(8), - - /// - /// Set when TreeNode() reports toggling their open state.
- ///
- ToggledOpen = unchecked(16), - - /// - /// Set if the widgetgroup is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.
- ///
- HasDeactivated = unchecked(32), - - /// - /// Only valid if ImGuiItemStatusFlags_HasDeactivated is set.
- ///
- Deactivated = unchecked(64), - - /// - /// Override the HoveredWindow test to allow cross-window hover testing.
- ///
- HoveredWindow = unchecked(128), - - /// - /// [WIP] Set when item is overlapping the current clipping rectangle (Used internally. Please don't use yet: APIsystem will change as we refactor Itemadd()).
- ///
- Visible = unchecked(256), - - /// - /// g.LastItemData.ClipRect is valid.
- ///
- HasClipRect = unchecked(512), - - /// - /// g.LastItemData.Shortcut valid. Set by SetNextItemShortcut() -> ItemAdd().
- ///
- HasShortcut = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiKey.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiKey.cs deleted file mode 100644 index 2cd13223c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiKey.cs +++ /dev/null @@ -1,846 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiKey : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// First valid key value (other than 0)
- ///
- NamedKeyBegin = unchecked(512), - - /// - /// == ImGuiKey_NamedKey_BEGIN
- ///
- Tab = unchecked(512), - - /// - /// To be documented. - /// - LeftArrow = unchecked(513), - - /// - /// To be documented. - /// - RightArrow = unchecked(514), - - /// - /// To be documented. - /// - UpArrow = unchecked(515), - - /// - /// To be documented. - /// - DownArrow = unchecked(516), - - /// - /// To be documented. - /// - PageUp = unchecked(517), - - /// - /// To be documented. - /// - PageDown = unchecked(518), - - /// - /// To be documented. - /// - Home = unchecked(519), - - /// - /// To be documented. - /// - End = unchecked(520), - - /// - /// To be documented. - /// - Insert = unchecked(521), - - /// - /// To be documented. - /// - Delete = unchecked(522), - - /// - /// To be documented. - /// - Backspace = unchecked(523), - - /// - /// To be documented. - /// - Space = unchecked(524), - - /// - /// To be documented. - /// - Enter = unchecked(525), - - /// - /// To be documented. - /// - Escape = unchecked(526), - - /// - /// To be documented. - /// - LeftCtrl = unchecked(527), - - /// - /// To be documented. - /// - LeftShift = unchecked(528), - - /// - /// To be documented. - /// - LeftAlt = unchecked(529), - - /// - /// To be documented. - /// - LeftSuper = unchecked(530), - - /// - /// To be documented. - /// - RightCtrl = unchecked(531), - - /// - /// To be documented. - /// - RightShift = unchecked(532), - - /// - /// To be documented. - /// - RightAlt = unchecked(533), - - /// - /// To be documented. - /// - RightSuper = unchecked(534), - - /// - /// To be documented. - /// - Menu = unchecked(535), - - /// - /// To be documented. - /// - Key0 = unchecked(536), - - /// - /// To be documented. - /// - Key1 = unchecked(537), - - /// - /// To be documented. - /// - Key2 = unchecked(538), - - /// - /// To be documented. - /// - Key3 = unchecked(539), - - /// - /// To be documented. - /// - Key4 = unchecked(540), - - /// - /// To be documented. - /// - Key5 = unchecked(541), - - /// - /// To be documented. - /// - Key6 = unchecked(542), - - /// - /// To be documented. - /// - Key7 = unchecked(543), - - /// - /// To be documented. - /// - Key8 = unchecked(544), - - /// - /// To be documented. - /// - Key9 = unchecked(545), - - /// - /// To be documented. - /// - A = unchecked(546), - - /// - /// To be documented. - /// - B = unchecked(547), - - /// - /// To be documented. - /// - C = unchecked(548), - - /// - /// To be documented. - /// - D = unchecked(549), - - /// - /// To be documented. - /// - E = unchecked(550), - - /// - /// To be documented. - /// - F = unchecked(551), - - /// - /// To be documented. - /// - G = unchecked(552), - - /// - /// To be documented. - /// - H = unchecked(553), - - /// - /// To be documented. - /// - I = unchecked(554), - - /// - /// To be documented. - /// - J = unchecked(555), - - /// - /// To be documented. - /// - K = unchecked(556), - - /// - /// To be documented. - /// - L = unchecked(557), - - /// - /// To be documented. - /// - M = unchecked(558), - - /// - /// To be documented. - /// - N = unchecked(559), - - /// - /// To be documented. - /// - O = unchecked(560), - - /// - /// To be documented. - /// - P = unchecked(561), - - /// - /// To be documented. - /// - Q = unchecked(562), - - /// - /// To be documented. - /// - R = unchecked(563), - - /// - /// To be documented. - /// - S = unchecked(564), - - /// - /// To be documented. - /// - T = unchecked(565), - - /// - /// To be documented. - /// - U = unchecked(566), - - /// - /// To be documented. - /// - V = unchecked(567), - - /// - /// To be documented. - /// - W = unchecked(568), - - /// - /// To be documented. - /// - X = unchecked(569), - - /// - /// To be documented. - /// - Y = unchecked(570), - - /// - /// To be documented. - /// - Z = unchecked(571), - - /// - /// To be documented. - /// - F1 = unchecked(572), - - /// - /// To be documented. - /// - F2 = unchecked(573), - - /// - /// To be documented. - /// - F3 = unchecked(574), - - /// - /// To be documented. - /// - F4 = unchecked(575), - - /// - /// To be documented. - /// - F5 = unchecked(576), - - /// - /// To be documented. - /// - F6 = unchecked(577), - - /// - /// To be documented. - /// - F7 = unchecked(578), - - /// - /// To be documented. - /// - F8 = unchecked(579), - - /// - /// To be documented. - /// - F9 = unchecked(580), - - /// - /// To be documented. - /// - F10 = unchecked(581), - - /// - /// To be documented. - /// - F11 = unchecked(582), - - /// - /// To be documented. - /// - F12 = unchecked(583), - - /// - /// To be documented. - /// - F13 = unchecked(584), - - /// - /// To be documented. - /// - F14 = unchecked(585), - - /// - /// To be documented. - /// - F15 = unchecked(586), - - /// - /// To be documented. - /// - F16 = unchecked(587), - - /// - /// To be documented. - /// - F17 = unchecked(588), - - /// - /// To be documented. - /// - F18 = unchecked(589), - - /// - /// To be documented. - /// - F19 = unchecked(590), - - /// - /// To be documented. - /// - F20 = unchecked(591), - - /// - /// To be documented. - /// - F21 = unchecked(592), - - /// - /// To be documented. - /// - F22 = unchecked(593), - - /// - /// To be documented. - /// - F23 = unchecked(594), - - /// - /// To be documented. - /// - F24 = unchecked(595), - - /// - /// '
- ///
- Apostrophe = unchecked(596), - - /// - /// ,
- ///
- Comma = unchecked(597), - - /// - /// -
- ///
- Minus = unchecked(598), - - /// - /// .
- ///
- Period = unchecked(599), - - /// - /// - Slash = unchecked(600), - - /// - /// ;
- ///
- Semicolon = unchecked(601), - - /// - /// =
- ///
- Equal = unchecked(602), - - /// - /// [
- ///
- LeftBracket = unchecked(603), - - /// - /// \ (this text inhibit multiline comment caused by backslash)
- ///
- Backslash = unchecked(604), - - /// - /// ]
- ///
- RightBracket = unchecked(605), - - /// - /// `
- ///
- GraveAccent = unchecked(606), - - /// - /// To be documented. - /// - CapsLock = unchecked(607), - - /// - /// To be documented. - /// - ScrollLock = unchecked(608), - - /// - /// To be documented. - /// - NumLock = unchecked(609), - - /// - /// To be documented. - /// - PrintScreen = unchecked(610), - - /// - /// To be documented. - /// - Pause = unchecked(611), - - /// - /// To be documented. - /// - Keypad0 = unchecked(612), - - /// - /// To be documented. - /// - Keypad1 = unchecked(613), - - /// - /// To be documented. - /// - Keypad2 = unchecked(614), - - /// - /// To be documented. - /// - Keypad3 = unchecked(615), - - /// - /// To be documented. - /// - Keypad4 = unchecked(616), - - /// - /// To be documented. - /// - Keypad5 = unchecked(617), - - /// - /// To be documented. - /// - Keypad6 = unchecked(618), - - /// - /// To be documented. - /// - Keypad7 = unchecked(619), - - /// - /// To be documented. - /// - Keypad8 = unchecked(620), - - /// - /// To be documented. - /// - Keypad9 = unchecked(621), - - /// - /// To be documented. - /// - KeypadDecimal = unchecked(622), - - /// - /// To be documented. - /// - KeypadDivide = unchecked(623), - - /// - /// To be documented. - /// - KeypadMultiply = unchecked(624), - - /// - /// To be documented. - /// - KeypadSubtract = unchecked(625), - - /// - /// To be documented. - /// - KeypadAdd = unchecked(626), - - /// - /// To be documented. - /// - KeypadEnter = unchecked(627), - - /// - /// To be documented. - /// - KeypadEqual = unchecked(628), - - /// - /// Available on some keyboardmouses. Often referred as "Browser Back"
- ///
- AppBack = unchecked(629), - - /// - /// To be documented. - /// - AppForward = unchecked(630), - - /// - /// Non-US backslash.
- ///
- Oem102 = unchecked(631), - - /// - /// Menu (Xbox) + (Switch) StartOptions (PS)
- ///
- GamepadStart = unchecked(632), - - /// - /// View (Xbox) - (Switch) Share (PS)
- ///
- GamepadBack = unchecked(633), - - /// - /// X (Xbox) Y (Switch) Square (PS) Tap: Toggle Menu. Hold: Windowing mode (FocusMoveResize windows)
- ///
- GamepadFaceLeft = unchecked(634), - - /// - /// B (Xbox) A (Switch) Circle (PS) Cancel Close Exit
- ///
- GamepadFaceRight = unchecked(635), - - /// - /// Y (Xbox) X (Switch) Triangle (PS) Text Input On-screen Keyboard
- ///
- GamepadFaceUp = unchecked(636), - - /// - /// A (Xbox) B (Switch) Cross (PS) Activate Open Toggle Tweak
- ///
- GamepadFaceDown = unchecked(637), - - /// - /// D-pad Left Move Tweak Resize Window (in Windowing mode)
- ///
- GamepadDpadLeft = unchecked(638), - - /// - /// D-pad Right Move Tweak Resize Window (in Windowing mode)
- ///
- GamepadDpadRight = unchecked(639), - - /// - /// D-pad Up Move Tweak Resize Window (in Windowing mode)
- ///
- GamepadDpadUp = unchecked(640), - - /// - /// D-pad Down Move Tweak Resize Window (in Windowing mode)
- ///
- GamepadDpadDown = unchecked(641), - - /// - /// L Bumper (Xbox) L (Switch) L1 (PS) Tweak Slower Focus Previous (in Windowing mode)
- ///
- GamepadL1 = unchecked(642), - - /// - /// R Bumper (Xbox) R (Switch) R1 (PS) Tweak Faster Focus Next (in Windowing mode)
- ///
- GamepadR1 = unchecked(643), - - /// - /// L Trig. (Xbox) ZL (Switch) L2 (PS) [Analog]
- ///
- GamepadL2 = unchecked(644), - - /// - /// R Trig. (Xbox) ZR (Switch) R2 (PS) [Analog]
- ///
- GamepadR2 = unchecked(645), - - /// - /// L Stick (Xbox) L3 (Switch) L3 (PS)
- ///
- GamepadL3 = unchecked(646), - - /// - /// R Stick (Xbox) R3 (Switch) R3 (PS)
- ///
- GamepadR3 = unchecked(647), - - /// - /// [Analog] Move Window (in Windowing mode)
- ///
- GamepadLStickLeft = unchecked(648), - - /// - /// [Analog] Move Window (in Windowing mode)
- ///
- GamepadLStickRight = unchecked(649), - - /// - /// [Analog] Move Window (in Windowing mode)
- ///
- GamepadLStickUp = unchecked(650), - - /// - /// [Analog] Move Window (in Windowing mode)
- ///
- GamepadLStickDown = unchecked(651), - - /// - /// [Analog]
- ///
- GamepadRStickLeft = unchecked(652), - - /// - /// [Analog]
- ///
- GamepadRStickRight = unchecked(653), - - /// - /// [Analog]
- ///
- GamepadRStickUp = unchecked(654), - - /// - /// [Analog]
- ///
- GamepadRStickDown = unchecked(655), - - /// - /// To be documented. - /// - MouseLeft = unchecked(656), - - /// - /// To be documented. - /// - MouseRight = unchecked(657), - - /// - /// To be documented. - /// - MouseMiddle = unchecked(658), - - /// - /// To be documented. - /// - MouseX1 = unchecked(659), - - /// - /// To be documented. - /// - MouseX2 = unchecked(660), - - /// - /// To be documented. - /// - MouseWheelX = unchecked(661), - - /// - /// To be documented. - /// - MouseWheelY = unchecked(662), - - /// - /// To be documented. - /// - ReservedForModCtrl = unchecked(663), - - /// - /// To be documented. - /// - ReservedForModShift = unchecked(664), - - /// - /// To be documented. - /// - ReservedForModAlt = unchecked(665), - - /// - /// To be documented. - /// - ReservedForModSuper = unchecked(666), - - /// - /// To be documented. - /// - NamedKeyEnd = unchecked(667), - - /// - /// To be documented. - /// - ModNone = unchecked(0), - - /// - /// Ctrl (non-macOS), Cmd (macOS)
- ///
- ModCtrl = unchecked(4096), - - /// - /// Shift
- ///
- ModShift = unchecked(8192), - - /// - /// OptionMenu
- ///
- ModAlt = unchecked(16384), - - /// - /// WindowsSuper (non-macOS), Ctrl (macOS)
- ///
- ModSuper = unchecked(32768), - - /// - /// 4-bits
- ///
- ModMask = unchecked(61440), - - /// - /// To be documented. - /// - NamedKeyCount = unchecked(155), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLayoutType.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLayoutType.cs deleted file mode 100644 index e4e67f024..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLayoutType.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiLayoutType : int - { - /// - /// To be documented. - /// - Horizontal = unchecked(0), - - /// - /// To be documented. - /// - Vertical = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLocKey.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLocKey.cs deleted file mode 100644 index 29228ac1e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLocKey.cs +++ /dev/null @@ -1,92 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiLocKey : int - { - /// - /// To be documented. - /// - Version = unchecked(0), - - /// - /// To be documented. - /// - TableSizeOne = unchecked(1), - - /// - /// To be documented. - /// - TableSizeAllFit = unchecked(2), - - /// - /// To be documented. - /// - TableSizeAllDefault = unchecked(3), - - /// - /// To be documented. - /// - TableResetOrder = unchecked(4), - - /// - /// To be documented. - /// - WindowingMainMenuBar = unchecked(5), - - /// - /// To be documented. - /// - WindowingPopup = unchecked(6), - - /// - /// To be documented. - /// - WindowingUntitled = unchecked(7), - - /// - /// To be documented. - /// - OpenLinkS = unchecked(8), - - /// - /// To be documented. - /// - CopyLink = unchecked(9), - - /// - /// To be documented. - /// - DockingHideTabBar = unchecked(10), - - /// - /// To be documented. - /// - DockingHoldShiftToDock = unchecked(11), - - /// - /// To be documented. - /// - DockingDragToUndockOrMoveNode = unchecked(12), - - /// - /// To be documented. - /// - Count = unchecked(13), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLogFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLogFlags.cs deleted file mode 100644 index 34ee4d74c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiLogFlags.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiLogFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - OutputTty = unchecked(1), - - /// - /// To be documented. - /// - OutputFile = unchecked(2), - - /// - /// To be documented. - /// - OutputBuffer = unchecked(4), - - /// - /// To be documented. - /// - OutputClipboard = unchecked(8), - - /// - /// To be documented. - /// - OutputMask = unchecked(15), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseButton.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseButton.cs deleted file mode 100644 index b9ab5c21d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseButton.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiMouseButton : int - { - /// - /// To be documented. - /// - Left = unchecked(0), - - /// - /// To be documented. - /// - Right = unchecked(1), - - /// - /// To be documented. - /// - Middle = unchecked(2), - - /// - /// To be documented. - /// - Count = unchecked(5), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseCursor.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseCursor.cs deleted file mode 100644 index a85c96111..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseCursor.cs +++ /dev/null @@ -1,87 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiMouseCursor : int - { - /// - /// To be documented. - /// - None = unchecked(-1), - - /// - /// To be documented. - /// - Arrow = unchecked(0), - - /// - /// When hovering over InputText, etc.
- ///
- TextInput = unchecked(1), - - /// - /// (Unused by Dear ImGui functions)
- ///
- ResizeAll = unchecked(2), - - /// - /// When hovering over a horizontal border
- ///
- ResizeNs = unchecked(3), - - /// - /// When hovering over a vertical border or a column
- ///
- ResizeEw = unchecked(4), - - /// - /// When hovering over the bottom-left corner of a window
- ///
- ResizeNesw = unchecked(5), - - /// - /// When hovering over the bottom-right corner of a window
- ///
- ResizeNwse = unchecked(6), - - /// - /// (Unused by Dear ImGui functions. Use for e.g. hyperlinks)
- ///
- Hand = unchecked(7), - - /// - /// When waiting for something to processload.
- ///
- Wait = unchecked(8), - - /// - /// When waiting for something to processload, but application is still interactive.
- ///
- Progress = unchecked(9), - - /// - /// When hovering something with disallowed interaction. Usually a crossed circle.
- ///
- NotAllowed = unchecked(10), - - /// - /// To be documented. - /// - Count = unchecked(11), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseSource.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseSource.cs deleted file mode 100644 index f3eb54556..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMouseSource.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiMouseSource : int - { - /// - /// Input is coming from an actual mouse.
- ///
- Mouse = unchecked(0), - - /// - /// Input is coming from a touch screen (no hovering prior to initial press, less precise initial press aiming, dual-axis wheeling possible).
- ///
- TouchScreen = unchecked(1), - - /// - /// Input is coming from a pressuremagnetic pen (often used in conjunction with high-sampling rates).
- ///
- Pen = unchecked(2), - - /// - /// To be documented. - /// - Count = unchecked(3), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMultiSelectFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMultiSelectFlags.cs deleted file mode 100644 index f1760cc03..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiMultiSelectFlags.cs +++ /dev/null @@ -1,107 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiMultiSelectFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Disable selecting more than one item. This is available to allow single-selection code to share same codelogic if desired. It essentially disables the main purpose of BeginMultiSelect() tho!
- ///
- SingleSelect = unchecked(1), - - /// - /// Disable CTRL+A shortcut to select all.
- ///
- NoSelectAll = unchecked(2), - - /// - /// Disable Shift+selection mousekeyboard support (useful for unordered 2D selection). With BoxSelect is also ensure contiguous SetRange requests are not combined into one. This allows not handling interpolation in SetRange requests.
- ///
- NoRangeSelect = unchecked(4), - - /// - /// Disable selecting items when navigating (useful for e.g. supporting range-select in a list of checkboxes).
- ///
- NoAutoSelect = unchecked(8), - - /// - /// Disable clearing selection when navigating or selecting another one (generally used with ImGuiMultiSelectFlags_NoAutoSelect. useful for e.g. supporting range-select in a list of checkboxes).
- ///
- NoAutoClear = unchecked(16), - - /// - /// Disable clearing selection when clickingselecting an already selected item.
- ///
- NoAutoClearOnReselect = unchecked(32), - - /// - /// Enable box-selection with same width and same x pos items (e.g. full row Selectable()). Box-selection works better with little bit of spacing between items hit-box in order to be able to aim at empty space.
- ///
- BoxSelect1D = unchecked(64), - - /// - /// Enable box-selection with varying width or varying x pos items support (e.g. different width labels, or 2D layoutgrid). This is slower: alters clipping logic so that e.g. horizontal movements will update selection of normally clipped items.
- ///
- BoxSelect2D = unchecked(128), - - /// - /// Disable scrolling when box-selecting near edges of scope.
- ///
- BoxSelectNoScroll = unchecked(256), - - /// - /// Clear selection when pressing Escape while scope is focused.
- ///
- ClearOnEscape = unchecked(512), - - /// - /// Clear selection when clicking on empty location within scope.
- ///
- ClearOnClickVoid = unchecked(1024), - - /// - /// Scope for _BoxSelect and _ClearOnClickVoid is whole window (Default). Use if BeginMultiSelect() covers a whole window or used a single time in same window.
- ///
- ScopeWindow = unchecked(2048), - - /// - /// Scope for _BoxSelect and _ClearOnClickVoid is rectangle encompassing BeginMultiSelect()EndMultiSelect(). Use if BeginMultiSelect() is called multiple times in same window.
- ///
- ScopeRect = unchecked(4096), - - /// - /// Apply selection on mouse down when clicking on unselected item. (Default)
- ///
- OnClick = unchecked(8192), - - /// - /// Apply selection on mouse release when clicking an unselected item. Allow dragging an unselected item without altering selection.
- ///
- OnClickRelease = unchecked(16384), - - /// - /// [Temporary] Enable navigation wrapping on X axis. Provided as a convenience because we don't have a design for the general Nav API for this yet. When the more general feature be public we may obsolete this flag in favor of new one.
- ///
- NavWrapX = unchecked(65536), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavLayer.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavLayer.cs deleted file mode 100644 index ac7f8298f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavLayer.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiNavLayer : int - { - /// - /// Main scrolling layer
- ///
- Main = unchecked(0), - - /// - /// Menu layer (access with Alt)
- ///
- Menu = unchecked(1), - - /// - /// To be documented. - /// - Count = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs deleted file mode 100644 index 815298df9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs +++ /dev/null @@ -1,112 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiNavMoveFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// On failed request, restart from opposite side
- ///
- LoopX = unchecked(1), - - /// - /// To be documented. - /// - LoopY = unchecked(2), - - /// - /// On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left)
- ///
- WrapX = unchecked(4), - - /// - /// This is not super useful but provided for completeness
- ///
- WrapY = unchecked(8), - - /// - /// To be documented. - /// - WrapMask = unchecked(15), - - /// - /// Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place)
- ///
- AllowCurrentNavId = unchecked(16), - - /// - /// Store alternate result in NavMoveResultLocalVisible that only comprise elements that are already fully visible (used by PageUpPageDown)
- ///
- AlsoScoreVisibleSet = unchecked(32), - - /// - /// Force scrolling to minmax (used by HomeEnd) FIXME-NAV: Aim to remove or reword, probably unnecessary
- ///
- ScrollToEdgeY = unchecked(64), - - /// - /// To be documented. - /// - Forwarded = unchecked(128), - - /// - /// Dummy scoring for debug purpose, don't apply result
- ///
- DebugNoResult = unchecked(256), - - /// - /// Requests from focus API can landfocusactivate items even if they are marked with _NoTabStop (see NavProcessItemForTabbingRequest() for details)
- ///
- FocusApi = unchecked(512), - - /// - /// == Focus + Activate if item is Inputable + DontChangeNavHighlight
- ///
- IsTabbing = unchecked(1024), - - /// - /// Identify a PageDownPageUp request.
- ///
- IsPageMove = unchecked(2048), - - /// - /// Activateselect target item.
- ///
- Activate = unchecked(4096), - - /// - /// Don't trigger selection by not setting g.NavJustMovedTo
- ///
- NoSelect = unchecked(8192), - - /// - /// Do not alter the nav cursor visible state
- ///
- NoSetNavCursorVisible = unchecked(16384), - - /// - /// (Experimental) Do not clear active id when applying move result
- ///
- NoClearActiveId = unchecked(32768), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavRenderCursorFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavRenderCursorFlags.cs deleted file mode 100644 index 8d0ffc28a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNavRenderCursorFlags.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiNavRenderCursorFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Compact highlight, no paddingdistance from focused item
- ///
- Compact = unchecked(2), - - /// - /// Draw rectangular highlight if (g.NavId == id) even when g.NavCursorVisible == false, aka even when using the mouse.
- ///
- AlwaysDraw = unchecked(4), - - /// - /// To be documented. - /// - NoRounding = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs deleted file mode 100644 index 1525d24cd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextItemDataFlags.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiNextItemDataFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - HasWidth = unchecked(1), - - /// - /// To be documented. - /// - HasOpen = unchecked(2), - - /// - /// To be documented. - /// - HasShortcut = unchecked(4), - - /// - /// To be documented. - /// - HasRefVal = unchecked(8), - - /// - /// To be documented. - /// - HasStorageId = unchecked(16), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs deleted file mode 100644 index c3a4cc322..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiNextWindowDataFlags.cs +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiNextWindowDataFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - HasPos = unchecked(1), - - /// - /// To be documented. - /// - HasSize = unchecked(2), - - /// - /// To be documented. - /// - HasContentSize = unchecked(4), - - /// - /// To be documented. - /// - HasCollapsed = unchecked(8), - - /// - /// To be documented. - /// - HasSizeConstraint = unchecked(16), - - /// - /// To be documented. - /// - HasFocus = unchecked(32), - - /// - /// To be documented. - /// - HasBgAlpha = unchecked(64), - - /// - /// To be documented. - /// - HasScroll = unchecked(128), - - /// - /// To be documented. - /// - HasWindowFlags = unchecked(256), - - /// - /// To be documented. - /// - HasChildFlags = unchecked(512), - - /// - /// To be documented. - /// - HasRefreshPolicy = unchecked(1024), - - /// - /// To be documented. - /// - HasViewport = unchecked(2048), - - /// - /// To be documented. - /// - HasDock = unchecked(4096), - - /// - /// To be documented. - /// - HasWindowClass = unchecked(8192), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs deleted file mode 100644 index e3bd9e658..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs +++ /dev/null @@ -1,52 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiOldColumnFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Disable column dividers
- ///
- NoBorder = unchecked(1), - - /// - /// Disable resizing columns when clicking on the dividers
- ///
- NoResize = unchecked(2), - - /// - /// Disable column width preservation when adjusting columns
- ///
- NoPreserveWidths = unchecked(4), - - /// - /// Disable forcing columns to fit within window
- ///
- NoForceWithinWindow = unchecked(8), - - /// - /// Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.
- ///
- GrowParentContentsSize = unchecked(16), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPlotType.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPlotType.cs deleted file mode 100644 index ce9d130ec..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPlotType.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiPlotType : int - { - /// - /// To be documented. - /// - Lines = unchecked(0), - - /// - /// To be documented. - /// - Histogram = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupFlags.cs deleted file mode 100644 index 92c7372f0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupFlags.cs +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiPopupFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)
- ///
- MouseButtonLeft = unchecked(0), - - /// - /// For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)
- ///
- MouseButtonRight = unchecked(1), - - /// - /// For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)
- ///
- MouseButtonMiddle = unchecked(2), - - /// - /// To be documented. - /// - MouseButtonMask = unchecked(31), - - /// - /// To be documented. - /// - MouseButtonDefault = unchecked(1), - - /// - /// For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't reinitialize navigation)
- ///
- NoReopen = unchecked(32), - - /// - /// For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack
- ///
- NoOpenOverExistingPopup = unchecked(128), - - /// - /// For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space
- ///
- NoOpenOverItems = unchecked(256), - - /// - /// For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.
- ///
- AnyPopupId = unchecked(1024), - - /// - /// For IsPopupOpen(): searchtest at any level of the popup stack (default test in the current level)
- ///
- AnyPopupLevel = unchecked(2048), - - /// - /// To be documented. - /// - AnyPopup = unchecked(3072), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs deleted file mode 100644 index 220aa8970..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiPopupPositionPolicy.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiPopupPositionPolicy : int - { - /// - /// To be documented. - /// - Default = unchecked(0), - - /// - /// To be documented. - /// - ComboBox = unchecked(1), - - /// - /// To be documented. - /// - Tooltip = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiScrollFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiScrollFlags.cs deleted file mode 100644 index f14488ad2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiScrollFlags.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiScrollFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis]
- ///
- KeepVisibleEdgeX = unchecked(1), - - /// - /// If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible]
- ///
- KeepVisibleEdgeY = unchecked(2), - - /// - /// If item is not visible: scroll to make the item centered on X axis [rarely used]
- ///
- KeepVisibleCenterX = unchecked(4), - - /// - /// If item is not visible: scroll to make the item centered on Y axis
- ///
- KeepVisibleCenterY = unchecked(8), - - /// - /// Always center the result item on X axis [rarely used]
- ///
- AlwaysCenterX = unchecked(16), - - /// - /// Always center the result item on Y axis [default for Y axis for appearing window)
- ///
- AlwaysCenterY = unchecked(32), - - /// - /// Disable forwarding scrolling to parent window if required to keep itemrect visible (only scroll window the function was applied to).
- ///
- NoScrollParent = unchecked(64), - - /// - /// To be documented. - /// - MaskX = unchecked(21), - - /// - /// To be documented. - /// - MaskY = unchecked(42), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlags.cs deleted file mode 100644 index fdfea887a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlags.cs +++ /dev/null @@ -1,57 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSelectableFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Clicking this doesn't close parent popup window (overrides ImGuiItemFlags_AutoClosePopups)
- ///
- NoAutoClosePopups = unchecked(1), - - /// - /// Frame will span all columns of its container table (text will still fit in current column)
- ///
- SpanAllColumns = unchecked(2), - - /// - /// Generate press events on double clicks too
- ///
- AllowDoubleClick = unchecked(4), - - /// - /// Cannot be selected, display grayed out text
- ///
- Disabled = unchecked(8), - - /// - /// (WIP) Hit testing to allow subsequent widgets to overlap this one
- ///
- AllowOverlap = unchecked(16), - - /// - /// Make the item be displayed as if it is hovered
- ///
- Highlight = unchecked(32), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs deleted file mode 100644 index ce66b84ca..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs +++ /dev/null @@ -1,62 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSelectableFlagsPrivate : int - { - /// - /// To be documented. - /// - NoHoldingActiveId = unchecked(1048576), - - /// - /// (WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.
- ///
- SelectOnNav = unchecked(2097152), - - /// - /// Override button behavior to react on Click (default is Click+Release)
- ///
- SelectOnClick = unchecked(4194304), - - /// - /// Override button behavior to react on Release (default is Click+Release)
- ///
- SelectOnRelease = unchecked(8388608), - - /// - /// Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)
- ///
- SpanAvailWidth = unchecked(16777216), - - /// - /// Set NavFocus ID on mouse hover (used by MenuItem)
- ///
- SetNavIdOnHover = unchecked(33554432), - - /// - /// Disable padding each side with ItemSpacing * 0.5f
- ///
- NoPadWithHalfSpacing = unchecked(67108864), - - /// - /// Don't set keyinput owner on the initial click (note: mouse buttons are keys! often, the key in question will be ImGuiKey_MouseLeft!)
- ///
- NoSetKeyOwner = unchecked(134217728), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectionRequestType.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectionRequestType.cs deleted file mode 100644 index ec9524224..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSelectionRequestType.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSelectionRequestType : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Request app to clear selection (if Selected==false) or select all items (if Selected==true). We cannot set RangeFirstItemRangeLastItem as its contents is entirely up to user (not necessarily an index)
- ///
- SetAll = unchecked(1), - - /// - /// Request app to selectunselect [RangeFirstItem..RangeLastItem] items (inclusive) based on value of Selected. Only EndMultiSelect() request this, app code can read after BeginMultiSelect() and it will always be false.
- ///
- SetRange = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs deleted file mode 100644 index 6824b588f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSeparatorFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
- ///
- Horizontal = unchecked(1), - - /// - /// To be documented. - /// - Vertical = unchecked(2), - - /// - /// Make separator cover all columns of a legacy Columns() set.
- ///
- SpanAllColumns = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlags.cs deleted file mode 100644 index 82716b6c0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlags.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSliderFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.
- ///
- Logarithmic = unchecked(32), - - /// - /// Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits).
- ///
- NoRoundToFormat = unchecked(64), - - /// - /// Disable CTRL+Click or Enter key allowing to input text directly into the widget.
- ///
- NoInput = unchecked(128), - - /// - /// Enable wrapping around from max to min and from min to max. Only supported by DragXXX() functions for now.
- ///
- WrapAround = unchecked(256), - - /// - /// Clamp value to minmax bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds.
- ///
- ClampOnInput = unchecked(512), - - /// - /// Clamp even if min==max==0.0f. Otherwise due to legacy reason DragXXX functions don't clamp with those values. When your clamping limits are dynamic you almost always want to use it.
- ///
- ClampZeroRange = unchecked(1024), - - /// - /// Disable keyboard modifiers altering tweak speed. Useful if you want to alter tweak speed yourself based on your own logic.
- ///
- NoSpeedTweaks = unchecked(2048), - - /// - /// To be documented. - /// - AlwaysClamp = unchecked(1536), - - /// - /// [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed.
- ///
- InvalidMask = unchecked(1879048207), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs deleted file mode 100644 index f2a3cd0fc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSliderFlagsPrivate : int - { - /// - /// Should this slider be orientated vertically?
- ///
- Vertical = unchecked(1048576), - - /// - /// Consider using g.NextItemData.ItemFlags |= ImGuiItemFlags_ReadOnly instead.
- ///
- ReadOnly = unchecked(2097152), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSortDirection.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSortDirection.cs deleted file mode 100644 index 90f97d0e5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiSortDirection.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiSortDirection : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Ascending = 0->9, A->Z etc.
- ///
- Ascending = unchecked(1), - - /// - /// Descending = 9->0, Z->A etc.
- ///
- Descending = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiStyleVar.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiStyleVar.cs deleted file mode 100644 index 572a53afc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiStyleVar.cs +++ /dev/null @@ -1,202 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiStyleVar : int - { - /// - /// float Alpha
- ///
- Alpha = unchecked(0), - - /// - /// float DisabledAlpha
- ///
- DisabledAlpha = unchecked(1), - - /// - /// ImVec2 WindowPadding
- ///
- WindowPadding = unchecked(2), - - /// - /// float WindowRounding
- ///
- WindowRounding = unchecked(3), - - /// - /// float WindowBorderSize
- ///
- WindowBorderSize = unchecked(4), - - /// - /// ImVec2 WindowMinSize
- ///
- WindowMinSize = unchecked(5), - - /// - /// ImVec2 WindowTitleAlign
- ///
- WindowTitleAlign = unchecked(6), - - /// - /// float ChildRounding
- ///
- ChildRounding = unchecked(7), - - /// - /// float ChildBorderSize
- ///
- ChildBorderSize = unchecked(8), - - /// - /// float PopupRounding
- ///
- PopupRounding = unchecked(9), - - /// - /// float PopupBorderSize
- ///
- PopupBorderSize = unchecked(10), - - /// - /// ImVec2 FramePadding
- ///
- FramePadding = unchecked(11), - - /// - /// float FrameRounding
- ///
- FrameRounding = unchecked(12), - - /// - /// float FrameBorderSize
- ///
- FrameBorderSize = unchecked(13), - - /// - /// ImVec2 ItemSpacing
- ///
- ItemSpacing = unchecked(14), - - /// - /// ImVec2 ItemInnerSpacing
- ///
- ItemInnerSpacing = unchecked(15), - - /// - /// float IndentSpacing
- ///
- IndentSpacing = unchecked(16), - - /// - /// ImVec2 CellPadding
- ///
- CellPadding = unchecked(17), - - /// - /// float ScrollbarSize
- ///
- ScrollbarSize = unchecked(18), - - /// - /// float ScrollbarRounding
- ///
- ScrollbarRounding = unchecked(19), - - /// - /// float GrabMinSize
- ///
- GrabMinSize = unchecked(20), - - /// - /// float GrabRounding
- ///
- GrabRounding = unchecked(21), - - /// - /// float ImageBorderSize
- ///
- ImageBorderSize = unchecked(22), - - /// - /// float TabRounding
- ///
- TabRounding = unchecked(23), - - /// - /// float TabBorderSize
- ///
- TabBorderSize = unchecked(24), - - /// - /// float TabBarBorderSize
- ///
- TabBarBorderSize = unchecked(25), - - /// - /// float TabBarOverlineSize
- ///
- TabBarOverlineSize = unchecked(26), - - /// - /// float TableAngledHeadersAngle
- ///
- TableAngledHeadersAngle = unchecked(27), - - /// - /// ImVec2 TableAngledHeadersTextAlign
- ///
- TableAngledHeadersTextAlign = unchecked(28), - - /// - /// ImVec2 ButtonTextAlign
- ///
- ButtonTextAlign = unchecked(29), - - /// - /// ImVec2 SelectableTextAlign
- ///
- SelectableTextAlign = unchecked(30), - - /// - /// float SeparatorTextBorderSize
- ///
- SeparatorTextBorderSize = unchecked(31), - - /// - /// ImVec2 SeparatorTextAlign
- ///
- SeparatorTextAlign = unchecked(32), - - /// - /// ImVec2 SeparatorTextPadding
- ///
- SeparatorTextPadding = unchecked(33), - - /// - /// float DockingSeparatorSize
- ///
- DockingSeparatorSize = unchecked(34), - - /// - /// To be documented. - /// - Count = unchecked(35), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlags.cs deleted file mode 100644 index 8f83e7d1d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlags.cs +++ /dev/null @@ -1,82 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTabBarFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Allow manually dragging tabs to re-order them + New tabs are appended at the end of list
- ///
- Reorderable = unchecked(1), - - /// - /// Automatically select new tabs when they appear
- ///
- AutoSelectNewTabs = unchecked(2), - - /// - /// Disable buttons to open the tab list popup
- ///
- ListPopupButton = unchecked(4), - - /// - /// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.
- ///
- NoCloseWithMiddleMouseButton = unchecked(8), - - /// - /// Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)
- ///
- NoTabListScrollingButtons = unchecked(16), - - /// - /// Disable tooltips when hovering a tab
- ///
- NoTooltip = unchecked(32), - - /// - /// Draw selected overline markers over selected tab
- ///
- DrawSelectedOverline = unchecked(64), - - /// - /// Resize tabs when they don't fit
- ///
- FittingPolicyResizeDown = unchecked(128), - - /// - /// Add scroll buttons when tabs don't fit
- ///
- FittingPolicyScroll = unchecked(256), - - /// - /// To be documented. - /// - FittingPolicyMask = unchecked(384), - - /// - /// To be documented. - /// - FittingPolicyDefault = FittingPolicyResizeDown, - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs deleted file mode 100644 index 0408744e6..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTabBarFlagsPrivate : int - { - /// - /// Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around]
- ///
- DockNode = unchecked(1048576), - - /// - /// To be documented. - /// - IsFocused = unchecked(2097152), - - /// - /// FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs
- ///
- SaveSettings = unchecked(4194304), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlags.cs deleted file mode 100644 index e2b4b7900..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlags.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTabItemFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure.
- ///
- UnsavedDocument = unchecked(1), - - /// - /// Trigger flag to programmatically make the tab selected when calling BeginTabItem()
- ///
- SetSelected = unchecked(2), - - /// - /// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.
- ///
- NoCloseWithMiddleMouseButton = unchecked(4), - - /// - /// Don't call PushID()PopID() on BeginTabItem()EndTabItem()
- ///
- NoPushId = unchecked(8), - - /// - /// Disable tooltip for the given tab
- ///
- NoTooltip = unchecked(16), - - /// - /// Disable reordering this tab or having another tab cross over this tab
- ///
- NoReorder = unchecked(32), - - /// - /// Enforce the tab position to the left of the tab bar (after the tab list popup button)
- ///
- Leading = unchecked(64), - - /// - /// Enforce the tab position to the right of the tab bar (before the scrolling buttons)
- ///
- Trailing = unchecked(128), - - /// - /// Tab is selected when trying to close + closure is not immediately assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.
- ///
- NoAssumedClosure = unchecked(256), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs deleted file mode 100644 index cfcc03016..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTabItemFlagsPrivate : int - { - /// - /// To be documented. - /// - SectionMask = unchecked(192), - - /// - /// Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)
- ///
- NoCloseButton = unchecked(1048576), - - /// - /// Used by TabItemButton, change the tab item behavior to mimic a button
- ///
- Button = unchecked(2097152), - - /// - /// To reserve space e.g. with ImGuiTabItemFlags_Leading
- ///
- Invisible = unchecked(4194304), - - /// - /// [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window.
- ///
- Unsorted = unchecked(8388608), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableBgTarget.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableBgTarget.cs deleted file mode 100644 index d1759cd82..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableBgTarget.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTableBgTarget : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used)
- ///
- RowBg0 = unchecked(1), - - /// - /// Set row background color 1 (generally used for selection marking)
- ///
- RowBg1 = unchecked(2), - - /// - /// Set cell background color (top-most color)
- ///
- CellBg = unchecked(3), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs deleted file mode 100644 index f629c9263..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs +++ /dev/null @@ -1,162 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTableColumnFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Overridingmaster disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)
- ///
- Disabled = unchecked(1), - - /// - /// Default as a hiddendisabled column.
- ///
- DefaultHide = unchecked(2), - - /// - /// Default as a sorting column.
- ///
- DefaultSort = unchecked(4), - - /// - /// Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).
- ///
- WidthStretch = unchecked(8), - - /// - /// Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).
- ///
- WidthFixed = unchecked(16), - - /// - /// Disable manual resizing.
- ///
- NoResize = unchecked(32), - - /// - /// Disable manual reordering this column, this will also prevent other columns from crossing over this column.
- ///
- NoReorder = unchecked(64), - - /// - /// Disable ability to hidedisable this column.
- ///
- NoHide = unchecked(128), - - /// - /// Disable clipping for this column (all NoClip columns will render in a same draw command).
- ///
- NoClip = unchecked(256), - - /// - /// Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).
- ///
- NoSort = unchecked(512), - - /// - /// Disable ability to sort in the ascending direction.
- ///
- NoSortAscending = unchecked(1024), - - /// - /// Disable ability to sort in the descending direction.
- ///
- NoSortDescending = unchecked(2048), - - /// - /// TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call.
- ///
- NoHeaderLabel = unchecked(4096), - - /// - /// Disable header text width contribution to automatic column width.
- ///
- NoHeaderWidth = unchecked(8192), - - /// - /// Make the initial sort direction Ascending when first sorting on this column (default).
- ///
- PreferSortAscending = unchecked(16384), - - /// - /// Make the initial sort direction Descending when first sorting on this column.
- ///
- PreferSortDescending = unchecked(32768), - - /// - /// Use current Indent value when entering cell (default for column 0).
- ///
- IndentEnable = unchecked(65536), - - /// - /// Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored.
- ///
- IndentDisable = unchecked(131072), - - /// - /// TableHeadersRow() will submit an angled header row for this column. Note this will add an extra row.
- ///
- AngledHeader = unchecked(262144), - - /// - /// Status: is enabled == not hidden by userapi (referred to as "Hide" in _DefaultHide and _NoHide) flags.
- ///
- IsEnabled = unchecked(16777216), - - /// - /// Status: is visible == is enabled AND not clipped by scrolling.
- ///
- IsVisible = unchecked(33554432), - - /// - /// Status: is currently part of the sort specs
- ///
- IsSorted = unchecked(67108864), - - /// - /// Status: is hovered by mouse
- ///
- IsHovered = unchecked(134217728), - - /// - /// To be documented. - /// - WidthMask = unchecked(24), - - /// - /// To be documented. - /// - IndentMask = unchecked(196608), - - /// - /// To be documented. - /// - StatusMask = unchecked(251658240), - - /// - /// [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)
- ///
- NoDirectResize = unchecked(1073741824), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableFlags.cs deleted file mode 100644 index 9099621ed..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableFlags.cs +++ /dev/null @@ -1,207 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTableFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Enable resizing columns.
- ///
- Resizable = unchecked(1), - - /// - /// Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)
- ///
- Reorderable = unchecked(2), - - /// - /// Enable hidingdisabling columns in context menu.
- ///
- Hideable = unchecked(4), - - /// - /// Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate.
- ///
- Sortable = unchecked(8), - - /// - /// Disable persisting columns order, width and sort settings in the .ini file.
- ///
- NoSavedSettings = unchecked(16), - - /// - /// Right-click on columns bodycontents will display table context menu. By default it is available in TableHeadersRow().
- ///
- ContextMenuInBody = unchecked(32), - - /// - /// Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually)
- ///
- RowBg = unchecked(64), - - /// - /// Draw horizontal borders between rows.
- ///
- BordersInnerH = unchecked(128), - - /// - /// Draw horizontal borders at the top and bottom.
- ///
- BordersOuterH = unchecked(256), - - /// - /// Draw vertical borders between columns.
- ///
- BordersInnerV = unchecked(512), - - /// - /// Draw vertical borders on the left and right sides.
- ///
- BordersOuterV = unchecked(1024), - - /// - /// Draw horizontal borders.
- ///
- BordersH = unchecked(384), - - /// - /// Draw vertical borders.
- ///
- BordersV = unchecked(1536), - - /// - /// Draw inner borders.
- ///
- BordersInner = unchecked(640), - - /// - /// Draw outer borders.
- ///
- BordersOuter = unchecked(1280), - - /// - /// Draw all borders.
- ///
- Borders = unchecked(1920), - - /// - /// [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style
- ///
- NoBordersInBody = unchecked(2048), - - /// - /// [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style
- ///
- NoBordersInBodyUntilResize = unchecked(4096), - - /// - /// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width.
- ///
- SizingFixedFit = unchecked(8192), - - /// - /// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible.
- ///
- SizingFixedSame = unchecked(16384), - - /// - /// Columns default to _WidthStretch with default weights proportional to each columns contents widths.
- ///
- SizingStretchProp = unchecked(24576), - - /// - /// Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn().
- ///
- SizingStretchSame = unchecked(32768), - - /// - /// Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollXScrollY are disabled and Stretch columns are not used.
- ///
- NoHostExtendX = unchecked(65536), - - /// - /// Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollXScrollY are disabled. Data below the limit will be clipped and not visible.
- ///
- NoHostExtendY = unchecked(131072), - - /// - /// Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable.
- ///
- NoKeepColumnsVisible = unchecked(262144), - - /// - /// Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth.
- ///
- PreciseWidths = unchecked(524288), - - /// - /// Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze().
- ///
- NoClip = unchecked(1048576), - - /// - /// Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers.
- ///
- PadOuterX = unchecked(2097152), - - /// - /// Default if BordersOuterV is off. Disable outermost padding.
- ///
- NoPadOuterX = unchecked(4194304), - - /// - /// Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off).
- ///
- NoPadInnerX = unchecked(8388608), - - /// - /// Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX.
- ///
- ScrollX = unchecked(16777216), - - /// - /// Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size.
- ///
- ScrollY = unchecked(33554432), - - /// - /// Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1).
- ///
- SortMulti = unchecked(67108864), - - /// - /// Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0).
- ///
- SortTristate = unchecked(134217728), - - /// - /// Highlight column headers when hovered (may evolve into a fuller highlight)
- ///
- HighlightHoveredColumn = unchecked(268435456), - - /// - /// To be documented. - /// - SizingMask = unchecked(57344), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableRowFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableRowFlags.cs deleted file mode 100644 index 10e3308c9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTableRowFlags.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTableRowFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Identify header row (set default background color + width of its contents accounted differently for auto column width)
- ///
- Headers = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTextFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTextFlags.cs deleted file mode 100644 index 33725e7f2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTextFlags.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTextFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoWidthForLargeClippedText = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTooltipFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTooltipFlags.cs deleted file mode 100644 index a01322138..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTooltipFlags.cs +++ /dev/null @@ -1,32 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTooltipFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Clearignore previously submitted tooltip (defaults to append)
- ///
- OverridePrevious = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs deleted file mode 100644 index e3e2c2a10..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs +++ /dev/null @@ -1,117 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTreeNodeFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Draw as selected
- ///
- Selected = unchecked(1), - - /// - /// Draw frame with background (e.g. for CollapsingHeader)
- ///
- Framed = unchecked(2), - - /// - /// Hit testing to allow subsequent widgets to overlap this one
- ///
- AllowOverlap = unchecked(4), - - /// - /// Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack
- ///
- NoTreePushOnOpen = unchecked(8), - - /// - /// Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)
- ///
- NoAutoOpenOnLog = unchecked(16), - - /// - /// Default node to be open
- ///
- DefaultOpen = unchecked(32), - - /// - /// Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
- ///
- OpenOnDoubleClick = unchecked(64), - - /// - /// Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
- ///
- OpenOnArrow = unchecked(128), - - /// - /// No collapsing, no arrow (use as a convenience for leaf nodes).
- ///
- Leaf = unchecked(256), - - /// - /// Display a bullet instead of arrow. IMPORTANT: node can still be marked openclose if you don't set the _Leaf flag!
- ///
- Bullet = unchecked(512), - - /// - /// Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node.
- ///
- FramePadding = unchecked(1024), - - /// - /// Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode.
- ///
- SpanAvailWidth = unchecked(2048), - - /// - /// Extend hit box to the left-most and right-most edges (cover the indent area).
- ///
- SpanFullWidth = unchecked(4096), - - /// - /// Narrow hit box + narrow hovering highlight, will only cover the label text.
- ///
- SpanLabelWidth = unchecked(8192), - - /// - /// Frame will span all columns of its container table (label will still fit in current column)
- ///
- SpanAllColumns = unchecked(16384), - - /// - /// Label will span all columns of its container table
- ///
- LabelSpanAllColumns = unchecked(32768), - - /// - /// (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
- ///
- NavLeftJumpsBackHere = unchecked(131072), - - /// - /// To be documented. - /// - CollapsingHeader = unchecked(26), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs deleted file mode 100644 index 20d870e68..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTreeNodeFlagsPrivate : int - { - /// - /// FIXME-WIP: Hard-coded for CollapsingHeader()
- ///
- ClipLabelForTrailingButton = unchecked(268435456), - - /// - /// FIXME-WIP: Turn Down arrow into an Up arrow, for reversed trees (#6517)
- ///
- UpsideDownArrow = unchecked(536870912), - - /// - /// To be documented. - /// - OpenOnMask = unchecked(192), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTypingSelectFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTypingSelectFlags.cs deleted file mode 100644 index 8e5dd7bb9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiTypingSelectFlags.cs +++ /dev/null @@ -1,37 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiTypingSelectFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Backspace to delete character inputs. If using: ensure GetTypingSelectRequest() is not called more than once per frame (filter by e.g. focus state)
- ///
- AllowBackspace = unchecked(1), - - /// - /// Allow "single char" search mode which is activated when pressing the same character multiple times.
- ///
- AllowSingleCharMode = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiViewportFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiViewportFlags.cs deleted file mode 100644 index 211e1bd78..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiViewportFlags.cs +++ /dev/null @@ -1,97 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiViewportFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Represent a Platform Window
- ///
- IsPlatformWindow = unchecked(1), - - /// - /// Represent a Platform Monitor (unused yet)
- ///
- IsPlatformMonitor = unchecked(2), - - /// - /// Platform Window: Is createdmanaged by the user application? (rather than our backend)
- ///
- OwnedByApp = unchecked(4), - - /// - /// Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popupstooltips)
- ///
- NoDecoration = unchecked(8), - - /// - /// Platform Window: Disable platform task bar icon (generally set on popupstooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set)
- ///
- NoTaskBarIcon = unchecked(16), - - /// - /// Platform Window: Don't take focus when created.
- ///
- NoFocusOnAppearing = unchecked(32), - - /// - /// Platform Window: Don't take focus when clicked on.
- ///
- NoFocusOnClick = unchecked(64), - - /// - /// Platform Window: Make mouse pass through so we can drag this window while peaking behind it.
- ///
- NoInputs = unchecked(128), - - /// - /// Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely).
- ///
- NoRendererClear = unchecked(256), - - /// - /// Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!).
- ///
- NoAutoMerge = unchecked(512), - - /// - /// Platform Window: Display on top (for tooltips only).
- ///
- TopMost = unchecked(1024), - - /// - /// Viewport can host multiple imgui windows (secondary viewports are associated to a single window). FIXME: In practice there's still probably code making the assumption that this is always and only on the MainViewport. Will fix once we add support for "no main viewport".
- ///
- CanHostOtherWindows = unchecked(2048), - - /// - /// Platform Window: Window is minimized, can skip render. When minimized we tend to avoid using the viewport possize for clipping window or testing if they are contained in the viewport.
- ///
- IsMinimized = unchecked(4096), - - /// - /// Platform Window: Window is focused (last call to Platform_GetWindowFocus() returned true)
- ///
- IsFocused = unchecked(8192), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs deleted file mode 100644 index cb1ca20ec..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowDockStyleCol.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiWindowDockStyleCol : int - { - /// - /// To be documented. - /// - Text = unchecked(0), - - /// - /// To be documented. - /// - TabHovered = unchecked(1), - - /// - /// To be documented. - /// - TabFocused = unchecked(2), - - /// - /// To be documented. - /// - TabSelected = unchecked(3), - - /// - /// To be documented. - /// - TabSelectedOverline = unchecked(4), - - /// - /// To be documented. - /// - TabDimmed = unchecked(5), - - /// - /// To be documented. - /// - TabDimmedSelected = unchecked(6), - - /// - /// To be documented. - /// - TabDimmedSelectedOverline = unchecked(7), - - /// - /// To be documented. - /// - Count = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowFlags.cs deleted file mode 100644 index a974513e6..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowFlags.cs +++ /dev/null @@ -1,172 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiWindowFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// Disable title-bar
- ///
- NoTitleBar = unchecked(1), - - /// - /// Disable user resizing with the lower-right grip
- ///
- NoResize = unchecked(2), - - /// - /// Disable user moving the window
- ///
- NoMove = unchecked(4), - - /// - /// Disable scrollbars (window can still scroll with mouse or programmatically)
- ///
- NoScrollbar = unchecked(8), - - /// - /// Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.
- ///
- NoScrollWithMouse = unchecked(16), - - /// - /// Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node).
- ///
- NoCollapse = unchecked(32), - - /// - /// Resize every window to its content every frame
- ///
- AlwaysAutoResize = unchecked(64), - - /// - /// Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f).
- ///
- NoBackground = unchecked(128), - - /// - /// Never loadsave settings in .ini file
- ///
- NoSavedSettings = unchecked(256), - - /// - /// Disable catching mouse, hovering test with pass through.
- ///
- NoMouseInputs = unchecked(512), - - /// - /// Has a menu-bar
- ///
- MenuBar = unchecked(1024), - - /// - /// Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section.
- ///
- HorizontalScrollbar = unchecked(2048), - - /// - /// Disable taking focus when transitioning from hidden to visible state
- ///
- NoFocusOnAppearing = unchecked(4096), - - /// - /// Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)
- ///
- NoBringToFrontOnFocus = unchecked(8192), - - /// - /// Always show vertical scrollbar (even if ContentSize.y < Size.y)
- ///
- AlwaysVerticalScrollbar = unchecked(16384), - - /// - /// Always show horizontal scrollbar (even if ContentSize.x < Size.x)
- ///
- AlwaysHorizontalScrollbar = unchecked(32768), - - /// - /// No keyboardgamepad navigation within the window
- ///
- NoNavInputs = unchecked(65536), - - /// - /// No focusing toward this window with keyboardgamepad navigation (e.g. skipped by CTRL+TAB)
- ///
- NoNavFocus = unchecked(131072), - - /// - /// Display a dot next to the title. When used in a tabdocking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.
- ///
- UnsavedDocument = unchecked(262144), - - /// - /// Disable docking of this window
- ///
- NoDocking = unchecked(524288), - - /// - /// To be documented. - /// - NoNav = unchecked(196608), - - /// - /// To be documented. - /// - NoDecoration = unchecked(43), - - /// - /// To be documented. - /// - NoInputs = unchecked(197120), - - /// - /// Don't use! For internal use by Begin()NewFrame()
- ///
- DockNodeHost = unchecked(8388608), - - /// - /// Don't use! For internal use by BeginChild()
- ///
- ChildWindow = unchecked(16777216), - - /// - /// Don't use! For internal use by BeginTooltip()
- ///
- Tooltip = unchecked(33554432), - - /// - /// Don't use! For internal use by BeginPopup()
- ///
- Popup = unchecked(67108864), - - /// - /// Don't use! For internal use by BeginPopupModal()
- ///
- Modal = unchecked(134217728), - - /// - /// Don't use! For internal use by BeginMenu()
- ///
- ChildMenu = unchecked(268435456), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowRefreshFlags.cs b/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowRefreshFlags.cs deleted file mode 100644 index eef4cdd54..000000000 --- a/src/Hexa.NET.ImGui/Generated/Enums/ImGuiWindowRefreshFlags.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuiWindowRefreshFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// [EXPERIMENTAL] Try to keep existing contents, USER MUST NOT HONOR BEGIN() RETURNING FALSE AND NOT APPEND.
- ///
- TryToAvoidRefresh = unchecked(1), - - /// - /// [EXPERIMENTAL] Always refresh on hover
- ///
- OnHover = unchecked(2), - - /// - /// [EXPERIMENTAL] Always refresh on focus
- ///
- OnFocus = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImGui/Generated/FunctionTable.cs b/src/Hexa.NET.ImGui/Generated/FunctionTable.cs deleted file mode 100644 index e92198a21..000000000 --- a/src/Hexa.NET.ImGui/Generated/FunctionTable.cs +++ /dev/null @@ -1,1487 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - internal static FunctionTable funcTable; - - /// - /// Initializes the function table, automatically called. Do not call manually, only after . - /// - public static void InitApi(INativeContext context) - { - funcTable = new FunctionTable(context, 1452); - funcTable.Load(0, "ImVec2_ImVec2_Nil"); - funcTable.Load(1, "ImVec2_destroy"); - funcTable.Load(2, "ImVec2_ImVec2_Float"); - funcTable.Load(3, "ImVec4_ImVec4_Nil"); - funcTable.Load(4, "ImVec4_destroy"); - funcTable.Load(5, "ImVec4_ImVec4_Float"); - funcTable.Load(6, "igCreateContext"); - funcTable.Load(7, "igDestroyContext"); - funcTable.Load(8, "igGetCurrentContext"); - funcTable.Load(9, "igSetCurrentContext"); - funcTable.Load(10, "igGetIO_Nil"); - funcTable.Load(11, "igGetPlatformIO_Nil"); - funcTable.Load(12, "igGetStyle"); - funcTable.Load(13, "igNewFrame"); - funcTable.Load(14, "igEndFrame"); - funcTable.Load(15, "igRender"); - funcTable.Load(16, "igGetDrawData"); - funcTable.Load(17, "igShowDemoWindow"); - funcTable.Load(18, "igShowMetricsWindow"); - funcTable.Load(19, "igShowDebugLogWindow"); - funcTable.Load(20, "igShowIDStackToolWindow"); - funcTable.Load(21, "igShowAboutWindow"); - funcTable.Load(22, "igShowStyleEditor"); - funcTable.Load(23, "igShowStyleSelector"); - funcTable.Load(24, "igShowFontSelector"); - funcTable.Load(25, "igShowUserGuide"); - funcTable.Load(26, "igGetVersion"); - funcTable.Load(27, "igStyleColorsDark"); - funcTable.Load(28, "igStyleColorsLight"); - funcTable.Load(29, "igStyleColorsClassic"); - funcTable.Load(30, "igBegin"); - funcTable.Load(31, "igEnd"); - funcTable.Load(32, "igBeginChild_Str"); - funcTable.Load(33, "igBeginChild_ID"); - funcTable.Load(34, "igEndChild"); - funcTable.Load(35, "igIsWindowAppearing"); - funcTable.Load(36, "igIsWindowCollapsed"); - funcTable.Load(37, "igIsWindowFocused"); - funcTable.Load(38, "igIsWindowHovered"); - funcTable.Load(39, "igGetWindowDrawList"); - funcTable.Load(40, "igGetWindowDpiScale"); - funcTable.Load(41, "igGetWindowPos"); - funcTable.Load(42, "igGetWindowSize"); - funcTable.Load(43, "igGetWindowWidth"); - funcTable.Load(44, "igGetWindowHeight"); - funcTable.Load(45, "igGetWindowViewport"); - funcTable.Load(46, "igSetNextWindowPos"); - funcTable.Load(47, "igSetNextWindowSize"); - funcTable.Load(48, "igSetNextWindowSizeConstraints"); - funcTable.Load(49, "igSetNextWindowContentSize"); - funcTable.Load(50, "igSetNextWindowCollapsed"); - funcTable.Load(51, "igSetNextWindowFocus"); - funcTable.Load(52, "igSetNextWindowScroll"); - funcTable.Load(53, "igSetNextWindowBgAlpha"); - funcTable.Load(54, "igSetNextWindowViewport"); - funcTable.Load(55, "igSetWindowPos_Vec2"); - funcTable.Load(56, "igSetWindowSize_Vec2"); - funcTable.Load(57, "igSetWindowCollapsed_Bool"); - funcTable.Load(58, "igSetWindowFocus_Nil"); - funcTable.Load(59, "igSetWindowFontScale"); - funcTable.Load(60, "igSetWindowPos_Str"); - funcTable.Load(61, "igSetWindowSize_Str"); - funcTable.Load(62, "igSetWindowCollapsed_Str"); - funcTable.Load(63, "igSetWindowFocus_Str"); - funcTable.Load(64, "igGetScrollX"); - funcTable.Load(65, "igGetScrollY"); - funcTable.Load(66, "igSetScrollX_Float"); - funcTable.Load(67, "igSetScrollY_Float"); - funcTable.Load(68, "igGetScrollMaxX"); - funcTable.Load(69, "igGetScrollMaxY"); - funcTable.Load(70, "igSetScrollHereX"); - funcTable.Load(71, "igSetScrollHereY"); - funcTable.Load(72, "igSetScrollFromPosX_Float"); - funcTable.Load(73, "igSetScrollFromPosY_Float"); - funcTable.Load(74, "igPushFont"); - funcTable.Load(75, "igPopFont"); - funcTable.Load(76, "igPushStyleColor_U32"); - funcTable.Load(77, "igPushStyleColor_Vec4"); - funcTable.Load(78, "igPopStyleColor"); - funcTable.Load(79, "igPushStyleVar_Float"); - funcTable.Load(80, "igPushStyleVar_Vec2"); - funcTable.Load(81, "igPushStyleVarX"); - funcTable.Load(82, "igPushStyleVarY"); - funcTable.Load(83, "igPopStyleVar"); - funcTable.Load(84, "igPushItemFlag"); - funcTable.Load(85, "igPopItemFlag"); - funcTable.Load(86, "igPushItemWidth"); - funcTable.Load(87, "igPopItemWidth"); - funcTable.Load(88, "igSetNextItemWidth"); - funcTable.Load(89, "igCalcItemWidth"); - funcTable.Load(90, "igPushTextWrapPos"); - funcTable.Load(91, "igPopTextWrapPos"); - funcTable.Load(92, "igGetFont"); - funcTable.Load(93, "igGetFontSize"); - funcTable.Load(94, "igGetFontTexUvWhitePixel"); - funcTable.Load(95, "igGetColorU32_Col"); - funcTable.Load(96, "igGetColorU32_Vec4"); - funcTable.Load(97, "igGetColorU32_U32"); - funcTable.Load(98, "igGetStyleColorVec4"); - funcTable.Load(99, "igGetCursorScreenPos"); - funcTable.Load(100, "igSetCursorScreenPos"); - funcTable.Load(101, "igGetContentRegionAvail"); - funcTable.Load(102, "igGetCursorPos"); - funcTable.Load(103, "igGetCursorPosX"); - funcTable.Load(104, "igGetCursorPosY"); - funcTable.Load(105, "igSetCursorPos"); - funcTable.Load(106, "igSetCursorPosX"); - funcTable.Load(107, "igSetCursorPosY"); - funcTable.Load(108, "igGetCursorStartPos"); - funcTable.Load(109, "igSeparator"); - funcTable.Load(110, "igSameLine"); - funcTable.Load(111, "igNewLine"); - funcTable.Load(112, "igSpacing"); - funcTable.Load(113, "igDummy"); - funcTable.Load(114, "igIndent"); - funcTable.Load(115, "igUnindent"); - funcTable.Load(116, "igBeginGroup"); - funcTable.Load(117, "igEndGroup"); - funcTable.Load(118, "igAlignTextToFramePadding"); - funcTable.Load(119, "igGetTextLineHeight"); - funcTable.Load(120, "igGetTextLineHeightWithSpacing"); - funcTable.Load(121, "igGetFrameHeight"); - funcTable.Load(122, "igGetFrameHeightWithSpacing"); - funcTable.Load(123, "igPushID_Str"); - funcTable.Load(124, "igPushID_StrStr"); - funcTable.Load(125, "igPushID_Ptr"); - funcTable.Load(126, "igPushID_Int"); - funcTable.Load(127, "igPopID"); - funcTable.Load(128, "igGetID_Str"); - funcTable.Load(129, "igGetID_StrStr"); - funcTable.Load(130, "igGetID_Ptr"); - funcTable.Load(131, "igGetID_Int"); - funcTable.Load(132, "igTextUnformatted"); - funcTable.Load(133, "igText"); - funcTable.Load(134, "igTextV"); - funcTable.Load(135, "igTextColored"); - funcTable.Load(136, "igTextColoredV"); - funcTable.Load(137, "igTextDisabled"); - funcTable.Load(138, "igTextDisabledV"); - funcTable.Load(139, "igTextWrapped"); - funcTable.Load(140, "igTextWrappedV"); - funcTable.Load(141, "igLabelText"); - funcTable.Load(142, "igLabelTextV"); - funcTable.Load(143, "igBulletText"); - funcTable.Load(144, "igBulletTextV"); - funcTable.Load(145, "igSeparatorText"); - funcTable.Load(146, "igButton"); - funcTable.Load(147, "igSmallButton"); - funcTable.Load(148, "igInvisibleButton"); - funcTable.Load(149, "igArrowButton"); - funcTable.Load(150, "igCheckbox"); - funcTable.Load(151, "igCheckboxFlags_IntPtr"); - funcTable.Load(152, "igCheckboxFlags_UintPtr"); - funcTable.Load(153, "igRadioButton_Bool"); - funcTable.Load(154, "igRadioButton_IntPtr"); - funcTable.Load(155, "igProgressBar"); - funcTable.Load(156, "igBullet"); - funcTable.Load(157, "igTextLink"); - funcTable.Load(158, "igTextLinkOpenURL"); - funcTable.Load(159, "igImage"); - funcTable.Load(160, "igImageWithBg"); - funcTable.Load(161, "igImageButton"); - funcTable.Load(162, "igBeginCombo"); - funcTable.Load(163, "igEndCombo"); - funcTable.Load(164, "igCombo_Str_arr"); - funcTable.Load(165, "igCombo_Str"); - funcTable.Load(166, "igCombo_FnStrPtr"); - funcTable.Load(167, "igDragFloat"); - funcTable.Load(168, "igDragFloat2"); - funcTable.Load(169, "igDragFloat3"); - funcTable.Load(170, "igDragFloat4"); - funcTable.Load(171, "igDragFloatRange2"); - funcTable.Load(172, "igDragInt"); - funcTable.Load(173, "igDragInt2"); - funcTable.Load(174, "igDragInt3"); - funcTable.Load(175, "igDragInt4"); - funcTable.Load(176, "igDragIntRange2"); - funcTable.Load(177, "igDragScalar"); - funcTable.Load(178, "igDragScalarN"); - funcTable.Load(179, "igSliderFloat"); - funcTable.Load(180, "igSliderFloat2"); - funcTable.Load(181, "igSliderFloat3"); - funcTable.Load(182, "igSliderFloat4"); - funcTable.Load(183, "igSliderAngle"); - funcTable.Load(184, "igSliderInt"); - funcTable.Load(185, "igSliderInt2"); - funcTable.Load(186, "igSliderInt3"); - funcTable.Load(187, "igSliderInt4"); - funcTable.Load(188, "igSliderScalar"); - funcTable.Load(189, "igSliderScalarN"); - funcTable.Load(190, "igVSliderFloat"); - funcTable.Load(191, "igVSliderInt"); - funcTable.Load(192, "igVSliderScalar"); - funcTable.Load(193, "igInputFloat"); - funcTable.Load(194, "igInputFloat2"); - funcTable.Load(195, "igInputFloat3"); - funcTable.Load(196, "igInputFloat4"); - funcTable.Load(197, "igInputInt"); - funcTable.Load(198, "igInputInt2"); - funcTable.Load(199, "igInputInt3"); - funcTable.Load(200, "igInputInt4"); - funcTable.Load(201, "igInputDouble"); - funcTable.Load(202, "igInputScalar"); - funcTable.Load(203, "igInputScalarN"); - funcTable.Load(204, "igColorEdit3"); - funcTable.Load(205, "igColorEdit4"); - funcTable.Load(206, "igColorPicker3"); - funcTable.Load(207, "igColorPicker4"); - funcTable.Load(208, "igColorButton"); - funcTable.Load(209, "igSetColorEditOptions"); - funcTable.Load(210, "igTreeNode_Str"); - funcTable.Load(211, "igTreeNode_StrStr"); - funcTable.Load(212, "igTreeNode_Ptr"); - funcTable.Load(213, "igTreeNodeV_Str"); - funcTable.Load(214, "igTreeNodeV_Ptr"); - funcTable.Load(215, "igTreeNodeEx_Str"); - funcTable.Load(216, "igTreeNodeEx_StrStr"); - funcTable.Load(217, "igTreeNodeEx_Ptr"); - funcTable.Load(218, "igTreeNodeExV_Str"); - funcTable.Load(219, "igTreeNodeExV_Ptr"); - funcTable.Load(220, "igTreePush_Str"); - funcTable.Load(221, "igTreePush_Ptr"); - funcTable.Load(222, "igTreePop"); - funcTable.Load(223, "igGetTreeNodeToLabelSpacing"); - funcTable.Load(224, "igCollapsingHeader_TreeNodeFlags"); - funcTable.Load(225, "igCollapsingHeader_BoolPtr"); - funcTable.Load(226, "igSetNextItemOpen"); - funcTable.Load(227, "igSetNextItemStorageID"); - funcTable.Load(228, "igSelectable_Bool"); - funcTable.Load(229, "igSelectable_BoolPtr"); - funcTable.Load(230, "igBeginMultiSelect"); - funcTable.Load(231, "igEndMultiSelect"); - funcTable.Load(232, "igSetNextItemSelectionUserData"); - funcTable.Load(233, "igIsItemToggledSelection"); - funcTable.Load(234, "igBeginListBox"); - funcTable.Load(235, "igEndListBox"); - funcTable.Load(236, "igListBox_Str_arr"); - funcTable.Load(237, "igListBox_FnStrPtr"); - funcTable.Load(238, "igPlotLines_FloatPtr"); - funcTable.Load(239, "igPlotLines_FnFloatPtr"); - funcTable.Load(240, "igPlotHistogram_FloatPtr"); - funcTable.Load(241, "igPlotHistogram_FnFloatPtr"); - funcTable.Load(242, "igValue_Bool"); - funcTable.Load(243, "igValue_Int"); - funcTable.Load(244, "igValue_Uint"); - funcTable.Load(245, "igValue_Float"); - funcTable.Load(246, "igBeginMenuBar"); - funcTable.Load(247, "igEndMenuBar"); - funcTable.Load(248, "igBeginMainMenuBar"); - funcTable.Load(249, "igEndMainMenuBar"); - funcTable.Load(250, "igBeginMenu"); - funcTable.Load(251, "igEndMenu"); - funcTable.Load(252, "igMenuItem_Bool"); - funcTable.Load(253, "igMenuItem_BoolPtr"); - funcTable.Load(254, "igBeginTooltip"); - funcTable.Load(255, "igEndTooltip"); - funcTable.Load(256, "igSetTooltip"); - funcTable.Load(257, "igSetTooltipV"); - funcTable.Load(258, "igBeginItemTooltip"); - funcTable.Load(259, "igSetItemTooltip"); - funcTable.Load(260, "igSetItemTooltipV"); - funcTable.Load(261, "igBeginPopup"); - funcTable.Load(262, "igBeginPopupModal"); - funcTable.Load(263, "igEndPopup"); - funcTable.Load(264, "igOpenPopup_Str"); - funcTable.Load(265, "igOpenPopup_ID"); - funcTable.Load(266, "igOpenPopupOnItemClick"); - funcTable.Load(267, "igCloseCurrentPopup"); - funcTable.Load(268, "igBeginPopupContextItem"); - funcTable.Load(269, "igBeginPopupContextWindow"); - funcTable.Load(270, "igBeginPopupContextVoid"); - funcTable.Load(271, "igIsPopupOpen_Str"); - funcTable.Load(272, "igBeginTable"); - funcTable.Load(273, "igEndTable"); - funcTable.Load(274, "igTableNextRow"); - funcTable.Load(275, "igTableNextColumn"); - funcTable.Load(276, "igTableSetColumnIndex"); - funcTable.Load(277, "igTableSetupColumn"); - funcTable.Load(278, "igTableSetupScrollFreeze"); - funcTable.Load(279, "igTableHeader"); - funcTable.Load(280, "igTableHeadersRow"); - funcTable.Load(281, "igTableAngledHeadersRow"); - funcTable.Load(282, "igTableGetSortSpecs"); - funcTable.Load(283, "igTableGetColumnCount"); - funcTable.Load(284, "igTableGetColumnIndex"); - funcTable.Load(285, "igTableGetRowIndex"); - funcTable.Load(286, "igTableGetColumnName_Int"); - funcTable.Load(287, "igTableGetColumnFlags"); - funcTable.Load(288, "igTableSetColumnEnabled"); - funcTable.Load(289, "igTableGetHoveredColumn"); - funcTable.Load(290, "igTableSetBgColor"); - funcTable.Load(291, "igColumns"); - funcTable.Load(292, "igNextColumn"); - funcTable.Load(293, "igGetColumnIndex"); - funcTable.Load(294, "igGetColumnWidth"); - funcTable.Load(295, "igSetColumnWidth"); - funcTable.Load(296, "igGetColumnOffset"); - funcTable.Load(297, "igSetColumnOffset"); - funcTable.Load(298, "igGetColumnsCount"); - funcTable.Load(299, "igBeginTabBar"); - funcTable.Load(300, "igEndTabBar"); - funcTable.Load(301, "igBeginTabItem"); - funcTable.Load(302, "igEndTabItem"); - funcTable.Load(303, "igTabItemButton"); - funcTable.Load(304, "igSetTabItemClosed"); - funcTable.Load(305, "igDockSpace"); - funcTable.Load(306, "igDockSpaceOverViewport"); - funcTable.Load(307, "igSetNextWindowDockID"); - funcTable.Load(308, "igSetNextWindowClass"); - funcTable.Load(309, "igGetWindowDockID"); - funcTable.Load(310, "igIsWindowDocked"); - funcTable.Load(311, "igLogToTTY"); - funcTable.Load(312, "igLogToFile"); - funcTable.Load(313, "igLogToClipboard"); - funcTable.Load(314, "igLogFinish"); - funcTable.Load(315, "igLogButtons"); - funcTable.Load(316, "igLogTextV"); - funcTable.Load(317, "igBeginDragDropSource"); - funcTable.Load(318, "igSetDragDropPayload"); - funcTable.Load(319, "igEndDragDropSource"); - funcTable.Load(320, "igBeginDragDropTarget"); - funcTable.Load(321, "igAcceptDragDropPayload"); - funcTable.Load(322, "igEndDragDropTarget"); - funcTable.Load(323, "igGetDragDropPayload"); - funcTable.Load(324, "igBeginDisabled"); - funcTable.Load(325, "igEndDisabled"); - funcTable.Load(326, "igPushClipRect"); - funcTable.Load(327, "igPopClipRect"); - funcTable.Load(328, "igSetItemDefaultFocus"); - funcTable.Load(329, "igSetKeyboardFocusHere"); - funcTable.Load(330, "igSetNavCursorVisible"); - funcTable.Load(331, "igSetNextItemAllowOverlap"); - funcTable.Load(332, "igIsItemHovered"); - funcTable.Load(333, "igIsItemActive"); - funcTable.Load(334, "igIsItemFocused"); - funcTable.Load(335, "igIsItemClicked"); - funcTable.Load(336, "igIsItemVisible"); - funcTable.Load(337, "igIsItemEdited"); - funcTable.Load(338, "igIsItemActivated"); - funcTable.Load(339, "igIsItemDeactivated"); - funcTable.Load(340, "igIsItemDeactivatedAfterEdit"); - funcTable.Load(341, "igIsItemToggledOpen"); - funcTable.Load(342, "igIsAnyItemHovered"); - funcTable.Load(343, "igIsAnyItemActive"); - funcTable.Load(344, "igIsAnyItemFocused"); - funcTable.Load(345, "igGetItemID"); - funcTable.Load(346, "igGetItemRectMin"); - funcTable.Load(347, "igGetItemRectMax"); - funcTable.Load(348, "igGetItemRectSize"); - funcTable.Load(349, "igGetMainViewport"); - funcTable.Load(350, "igGetBackgroundDrawList"); - funcTable.Load(351, "igGetForegroundDrawList_ViewportPtr"); - funcTable.Load(352, "igIsRectVisible_Nil"); - funcTable.Load(353, "igIsRectVisible_Vec2"); - funcTable.Load(354, "igGetTime"); - funcTable.Load(355, "igGetFrameCount"); - funcTable.Load(356, "igGetDrawListSharedData"); - funcTable.Load(357, "igGetStyleColorName"); - funcTable.Load(358, "igSetStateStorage"); - funcTable.Load(359, "igGetStateStorage"); - funcTable.Load(360, "igCalcTextSize"); - funcTable.Load(361, "igColorConvertU32ToFloat4"); - funcTable.Load(362, "igColorConvertFloat4ToU32"); - funcTable.Load(363, "igColorConvertRGBtoHSV"); - funcTable.Load(364, "igColorConvertHSVtoRGB"); - funcTable.Load(365, "igIsKeyDown_Nil"); - funcTable.Load(366, "igIsKeyPressed_Bool"); - funcTable.Load(367, "igIsKeyReleased_Nil"); - funcTable.Load(368, "igIsKeyChordPressed_Nil"); - funcTable.Load(369, "igGetKeyPressedAmount"); - funcTable.Load(370, "igGetKeyName"); - funcTable.Load(371, "igSetNextFrameWantCaptureKeyboard"); - funcTable.Load(372, "igShortcut_Nil"); - funcTable.Load(373, "igSetNextItemShortcut"); - funcTable.Load(374, "igSetItemKeyOwner_Nil"); - funcTable.Load(375, "igIsMouseDown_Nil"); - funcTable.Load(376, "igIsMouseClicked_Bool"); - funcTable.Load(377, "igIsMouseReleased_Nil"); - funcTable.Load(378, "igIsMouseDoubleClicked_Nil"); - funcTable.Load(379, "igIsMouseReleasedWithDelay"); - funcTable.Load(380, "igGetMouseClickedCount"); - funcTable.Load(381, "igIsMouseHoveringRect"); - funcTable.Load(382, "igIsMousePosValid"); - funcTable.Load(383, "igIsAnyMouseDown"); - funcTable.Load(384, "igGetMousePos"); - funcTable.Load(385, "igGetMousePosOnOpeningCurrentPopup"); - funcTable.Load(386, "igIsMouseDragging"); - funcTable.Load(387, "igGetMouseDragDelta"); - funcTable.Load(388, "igResetMouseDragDelta"); - funcTable.Load(389, "igGetMouseCursor"); - funcTable.Load(390, "igSetMouseCursor"); - funcTable.Load(391, "igSetNextFrameWantCaptureMouse"); - funcTable.Load(392, "igGetClipboardText"); - funcTable.Load(393, "igSetClipboardText"); - funcTable.Load(394, "igLoadIniSettingsFromDisk"); - funcTable.Load(395, "igLoadIniSettingsFromMemory"); - funcTable.Load(396, "igSaveIniSettingsToDisk"); - funcTable.Load(397, "igSaveIniSettingsToMemory"); - funcTable.Load(398, "igDebugTextEncoding"); - funcTable.Load(399, "igDebugFlashStyleColor"); - funcTable.Load(400, "igDebugStartItemPicker"); - funcTable.Load(401, "igDebugCheckVersionAndDataLayout"); - funcTable.Load(402, "igDebugLog"); - funcTable.Load(403, "igDebugLogV"); - funcTable.Load(404, "igSetAllocatorFunctions"); - funcTable.Load(405, "igGetAllocatorFunctions"); - funcTable.Load(406, "igMemAlloc"); - funcTable.Load(407, "igMemFree"); - funcTable.Load(408, "igUpdatePlatformWindows"); - funcTable.Load(409, "igRenderPlatformWindowsDefault"); - funcTable.Load(410, "igDestroyPlatformWindows"); - funcTable.Load(411, "igFindViewportByID"); - funcTable.Load(412, "igFindViewportByPlatformHandle"); - funcTable.Load(413, "ImGuiTableSortSpecs_ImGuiTableSortSpecs"); - funcTable.Load(414, "ImGuiTableSortSpecs_destroy"); - funcTable.Load(415, "ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs"); - funcTable.Load(416, "ImGuiTableColumnSortSpecs_destroy"); - funcTable.Load(417, "ImGuiStyle_ImGuiStyle"); - funcTable.Load(418, "ImGuiStyle_destroy"); - funcTable.Load(419, "ImGuiStyle_ScaleAllSizes"); - funcTable.Load(420, "ImGuiIO_AddKeyEvent"); - funcTable.Load(421, "ImGuiIO_AddKeyAnalogEvent"); - funcTable.Load(422, "ImGuiIO_AddMousePosEvent"); - funcTable.Load(423, "ImGuiIO_AddMouseButtonEvent"); - funcTable.Load(424, "ImGuiIO_AddMouseWheelEvent"); - funcTable.Load(425, "ImGuiIO_AddMouseSourceEvent"); - funcTable.Load(426, "ImGuiIO_AddMouseViewportEvent"); - funcTable.Load(427, "ImGuiIO_AddFocusEvent"); - funcTable.Load(428, "ImGuiIO_AddInputCharacter"); - funcTable.Load(429, "ImGuiIO_AddInputCharacterUTF16"); - funcTable.Load(430, "ImGuiIO_AddInputCharactersUTF8"); - funcTable.Load(431, "ImGuiIO_SetKeyEventNativeData"); - funcTable.Load(432, "ImGuiIO_SetAppAcceptingEvents"); - funcTable.Load(433, "ImGuiIO_ClearEventsQueue"); - funcTable.Load(434, "ImGuiIO_ClearInputKeys"); - funcTable.Load(435, "ImGuiIO_ClearInputMouse"); - funcTable.Load(436, "ImGuiIO_ImGuiIO"); - funcTable.Load(437, "ImGuiIO_destroy"); - funcTable.Load(438, "ImGuiInputTextCallbackData_ImGuiInputTextCallbackData"); - funcTable.Load(439, "ImGuiInputTextCallbackData_destroy"); - funcTable.Load(440, "ImGuiInputTextCallbackData_DeleteChars"); - funcTable.Load(441, "ImGuiInputTextCallbackData_InsertChars"); - funcTable.Load(442, "ImGuiInputTextCallbackData_SelectAll"); - funcTable.Load(443, "ImGuiInputTextCallbackData_ClearSelection"); - funcTable.Load(444, "ImGuiInputTextCallbackData_HasSelection"); - funcTable.Load(445, "ImGuiWindowClass_ImGuiWindowClass"); - funcTable.Load(446, "ImGuiWindowClass_destroy"); - funcTable.Load(447, "ImGuiPayload_ImGuiPayload"); - funcTable.Load(448, "ImGuiPayload_destroy"); - funcTable.Load(449, "ImGuiPayload_Clear"); - funcTable.Load(450, "ImGuiPayload_IsDataType"); - funcTable.Load(451, "ImGuiPayload_IsPreview"); - funcTable.Load(452, "ImGuiPayload_IsDelivery"); - funcTable.Load(453, "ImGuiOnceUponAFrame_ImGuiOnceUponAFrame"); - funcTable.Load(454, "ImGuiOnceUponAFrame_destroy"); - funcTable.Load(455, "ImGuiTextFilter_ImGuiTextFilter"); - funcTable.Load(456, "ImGuiTextFilter_destroy"); - funcTable.Load(457, "ImGuiTextFilter_Draw"); - funcTable.Load(458, "ImGuiTextFilter_PassFilter"); - funcTable.Load(459, "ImGuiTextFilter_Build"); - funcTable.Load(460, "ImGuiTextFilter_Clear"); - funcTable.Load(461, "ImGuiTextFilter_IsActive"); - funcTable.Load(462, "ImGuiTextRange_ImGuiTextRange_Nil"); - funcTable.Load(463, "ImGuiTextRange_destroy"); - funcTable.Load(464, "ImGuiTextRange_ImGuiTextRange_Str"); - funcTable.Load(465, "ImGuiTextRange_empty"); - funcTable.Load(466, "ImGuiTextRange_split"); - funcTable.Load(467, "ImGuiTextBuffer_ImGuiTextBuffer"); - funcTable.Load(468, "ImGuiTextBuffer_destroy"); - funcTable.Load(469, "ImGuiTextBuffer_begin"); - funcTable.Load(470, "ImGuiTextBuffer_end"); - funcTable.Load(471, "ImGuiTextBuffer_size"); - funcTable.Load(472, "ImGuiTextBuffer_empty"); - funcTable.Load(473, "ImGuiTextBuffer_clear"); - funcTable.Load(474, "ImGuiTextBuffer_resize"); - funcTable.Load(475, "ImGuiTextBuffer_reserve"); - funcTable.Load(476, "ImGuiTextBuffer_c_str"); - funcTable.Load(477, "ImGuiTextBuffer_append"); - funcTable.Load(478, "ImGuiTextBuffer_appendfv"); - funcTable.Load(479, "ImGuiStoragePair_ImGuiStoragePair_Int"); - funcTable.Load(480, "ImGuiStoragePair_destroy"); - funcTable.Load(481, "ImGuiStoragePair_ImGuiStoragePair_Float"); - funcTable.Load(482, "ImGuiStoragePair_ImGuiStoragePair_Ptr"); - funcTable.Load(483, "ImGuiStorage_Clear"); - funcTable.Load(484, "ImGuiStorage_GetInt"); - funcTable.Load(485, "ImGuiStorage_SetInt"); - funcTable.Load(486, "ImGuiStorage_GetBool"); - funcTable.Load(487, "ImGuiStorage_SetBool"); - funcTable.Load(488, "ImGuiStorage_GetFloat"); - funcTable.Load(489, "ImGuiStorage_SetFloat"); - funcTable.Load(490, "ImGuiStorage_GetVoidPtr"); - funcTable.Load(491, "ImGuiStorage_SetVoidPtr"); - funcTable.Load(492, "ImGuiStorage_GetIntRef"); - funcTable.Load(493, "ImGuiStorage_GetBoolRef"); - funcTable.Load(494, "ImGuiStorage_GetFloatRef"); - funcTable.Load(495, "ImGuiStorage_GetVoidPtrRef"); - funcTable.Load(496, "ImGuiStorage_BuildSortByKey"); - funcTable.Load(497, "ImGuiStorage_SetAllInt"); - funcTable.Load(498, "ImGuiListClipper_ImGuiListClipper"); - funcTable.Load(499, "ImGuiListClipper_destroy"); - funcTable.Load(500, "ImGuiListClipper_Begin"); - funcTable.Load(501, "ImGuiListClipper_End"); - funcTable.Load(502, "ImGuiListClipper_Step"); - funcTable.Load(503, "ImGuiListClipper_IncludeItemByIndex"); - funcTable.Load(504, "ImGuiListClipper_IncludeItemsByIndex"); - funcTable.Load(505, "ImGuiListClipper_SeekCursorForItem"); - funcTable.Load(506, "ImColor_ImColor_Nil"); - funcTable.Load(507, "ImColor_destroy"); - funcTable.Load(508, "ImColor_ImColor_Float"); - funcTable.Load(509, "ImColor_ImColor_Vec4"); - funcTable.Load(510, "ImColor_ImColor_Int"); - funcTable.Load(511, "ImColor_ImColor_U32"); - funcTable.Load(512, "ImColor_SetHSV"); - funcTable.Load(513, "ImColor_HSV"); - funcTable.Load(514, "ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage"); - funcTable.Load(515, "ImGuiSelectionBasicStorage_destroy"); - funcTable.Load(516, "ImGuiSelectionBasicStorage_ApplyRequests"); - funcTable.Load(517, "ImGuiSelectionBasicStorage_Contains"); - funcTable.Load(518, "ImGuiSelectionBasicStorage_Clear"); - funcTable.Load(519, "ImGuiSelectionBasicStorage_Swap"); - funcTable.Load(520, "ImGuiSelectionBasicStorage_SetItemSelected"); - funcTable.Load(521, "ImGuiSelectionBasicStorage_GetNextSelectedItem"); - funcTable.Load(522, "ImGuiSelectionBasicStorage_GetStorageIdFromIndex"); - funcTable.Load(523, "ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage"); - funcTable.Load(524, "ImGuiSelectionExternalStorage_destroy"); - funcTable.Load(525, "ImGuiSelectionExternalStorage_ApplyRequests"); - funcTable.Load(526, "ImDrawCmd_ImDrawCmd"); - funcTable.Load(527, "ImDrawCmd_destroy"); - funcTable.Load(528, "ImDrawCmd_GetTexID"); - funcTable.Load(529, "ImDrawListSplitter_ImDrawListSplitter"); - funcTable.Load(530, "ImDrawListSplitter_destroy"); - funcTable.Load(531, "ImDrawListSplitter_Clear"); - funcTable.Load(532, "ImDrawListSplitter_ClearFreeMemory"); - funcTable.Load(533, "ImDrawListSplitter_Split"); - funcTable.Load(534, "ImDrawListSplitter_Merge"); - funcTable.Load(535, "ImDrawListSplitter_SetCurrentChannel"); - funcTable.Load(536, "ImDrawList_ImDrawList"); - funcTable.Load(537, "ImDrawList_destroy"); - funcTable.Load(538, "ImDrawList_PushClipRect"); - funcTable.Load(539, "ImDrawList_PushClipRectFullScreen"); - funcTable.Load(540, "ImDrawList_PopClipRect"); - funcTable.Load(541, "ImDrawList_PushTextureID"); - funcTable.Load(542, "ImDrawList_PopTextureID"); - funcTable.Load(543, "ImDrawList_GetClipRectMin"); - funcTable.Load(544, "ImDrawList_GetClipRectMax"); - funcTable.Load(545, "ImDrawList_AddLine"); - funcTable.Load(546, "ImDrawList_AddRect"); - funcTable.Load(547, "ImDrawList_AddRectFilled"); - funcTable.Load(548, "ImDrawList_AddRectFilledMultiColor"); - funcTable.Load(549, "ImDrawList_AddQuad"); - funcTable.Load(550, "ImDrawList_AddQuadFilled"); - funcTable.Load(551, "ImDrawList_AddTriangle"); - funcTable.Load(552, "ImDrawList_AddTriangleFilled"); - funcTable.Load(553, "ImDrawList_AddCircle"); - funcTable.Load(554, "ImDrawList_AddCircleFilled"); - funcTable.Load(555, "ImDrawList_AddNgon"); - funcTable.Load(556, "ImDrawList_AddNgonFilled"); - funcTable.Load(557, "ImDrawList_AddEllipse"); - funcTable.Load(558, "ImDrawList_AddEllipseFilled"); - funcTable.Load(559, "ImDrawList_AddText_Vec2"); - funcTable.Load(560, "ImDrawList_AddText_FontPtr"); - funcTable.Load(561, "ImDrawList_AddBezierCubic"); - funcTable.Load(562, "ImDrawList_AddBezierQuadratic"); - funcTable.Load(563, "ImDrawList_AddPolyline"); - funcTable.Load(564, "ImDrawList_AddConvexPolyFilled"); - funcTable.Load(565, "ImDrawList_AddConcavePolyFilled"); - funcTable.Load(566, "ImDrawList_AddImage"); - funcTable.Load(567, "ImDrawList_AddImageQuad"); - funcTable.Load(568, "ImDrawList_AddImageRounded"); - funcTable.Load(569, "ImDrawList_PathClear"); - funcTable.Load(570, "ImDrawList_PathLineTo"); - funcTable.Load(571, "ImDrawList_PathLineToMergeDuplicate"); - funcTable.Load(572, "ImDrawList_PathFillConvex"); - funcTable.Load(573, "ImDrawList_PathFillConcave"); - funcTable.Load(574, "ImDrawList_PathStroke"); - funcTable.Load(575, "ImDrawList_PathArcTo"); - funcTable.Load(576, "ImDrawList_PathArcToFast"); - funcTable.Load(577, "ImDrawList_PathEllipticalArcTo"); - funcTable.Load(578, "ImDrawList_PathBezierCubicCurveTo"); - funcTable.Load(579, "ImDrawList_PathBezierQuadraticCurveTo"); - funcTable.Load(580, "ImDrawList_PathRect"); - funcTable.Load(581, "ImDrawList_AddCallback"); - funcTable.Load(582, "ImDrawList_AddDrawCmd"); - funcTable.Load(583, "ImDrawList_CloneOutput"); - funcTable.Load(584, "ImDrawList_ChannelsSplit"); - funcTable.Load(585, "ImDrawList_ChannelsMerge"); - funcTable.Load(586, "ImDrawList_ChannelsSetCurrent"); - funcTable.Load(587, "ImDrawList_PrimReserve"); - funcTable.Load(588, "ImDrawList_PrimUnreserve"); - funcTable.Load(589, "ImDrawList_PrimRect"); - funcTable.Load(590, "ImDrawList_PrimRectUV"); - funcTable.Load(591, "ImDrawList_PrimQuadUV"); - funcTable.Load(592, "ImDrawList_PrimWriteVtx"); - funcTable.Load(593, "ImDrawList_PrimWriteIdx"); - funcTable.Load(594, "ImDrawList_PrimVtx"); - funcTable.Load(595, "ImDrawList__ResetForNewFrame"); - funcTable.Load(596, "ImDrawList__ClearFreeMemory"); - funcTable.Load(597, "ImDrawList__PopUnusedDrawCmd"); - funcTable.Load(598, "ImDrawList__TryMergeDrawCmds"); - funcTable.Load(599, "ImDrawList__OnChangedClipRect"); - funcTable.Load(600, "ImDrawList__OnChangedTextureID"); - funcTable.Load(601, "ImDrawList__OnChangedVtxOffset"); - funcTable.Load(602, "ImDrawList__SetTextureID"); - funcTable.Load(603, "ImDrawList__CalcCircleAutoSegmentCount"); - funcTable.Load(604, "ImDrawList__PathArcToFastEx"); - funcTable.Load(605, "ImDrawList__PathArcToN"); - funcTable.Load(606, "ImDrawData_ImDrawData"); - funcTable.Load(607, "ImDrawData_destroy"); - funcTable.Load(608, "ImDrawData_Clear"); - funcTable.Load(609, "ImDrawData_AddDrawList"); - funcTable.Load(610, "ImDrawData_DeIndexAllBuffers"); - funcTable.Load(611, "ImDrawData_ScaleClipRects"); - funcTable.Load(612, "ImFontConfig_ImFontConfig"); - funcTable.Load(613, "ImFontConfig_destroy"); - funcTable.Load(614, "ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder"); - funcTable.Load(615, "ImFontGlyphRangesBuilder_destroy"); - funcTable.Load(616, "ImFontGlyphRangesBuilder_Clear"); - funcTable.Load(617, "ImFontGlyphRangesBuilder_GetBit"); - funcTable.Load(618, "ImFontGlyphRangesBuilder_SetBit"); - funcTable.Load(619, "ImFontGlyphRangesBuilder_AddChar"); - funcTable.Load(620, "ImFontGlyphRangesBuilder_AddText"); - funcTable.Load(621, "ImFontGlyphRangesBuilder_AddRanges"); - funcTable.Load(622, "ImFontGlyphRangesBuilder_BuildRanges"); - funcTable.Load(623, "ImFontAtlasCustomRect_ImFontAtlasCustomRect"); - funcTable.Load(624, "ImFontAtlasCustomRect_destroy"); - funcTable.Load(625, "ImFontAtlasCustomRect_IsPacked"); - funcTable.Load(626, "ImFontAtlas_ImFontAtlas"); - funcTable.Load(627, "ImFontAtlas_destroy"); - funcTable.Load(628, "ImFontAtlas_AddFont"); - funcTable.Load(629, "ImFontAtlas_AddFontDefault"); - funcTable.Load(630, "ImFontAtlas_AddFontFromFileTTF"); - funcTable.Load(631, "ImFontAtlas_AddFontFromMemoryTTF"); - funcTable.Load(632, "ImFontAtlas_AddFontFromMemoryCompressedTTF"); - funcTable.Load(633, "ImFontAtlas_AddFontFromMemoryCompressedBase85TTF"); - funcTable.Load(634, "ImFontAtlas_ClearInputData"); - funcTable.Load(635, "ImFontAtlas_ClearFonts"); - funcTable.Load(636, "ImFontAtlas_ClearTexData"); - funcTable.Load(637, "ImFontAtlas_Clear"); - funcTable.Load(638, "ImFontAtlas_Build"); - funcTable.Load(639, "ImFontAtlas_GetTexDataAsAlpha8"); - funcTable.Load(640, "ImFontAtlas_GetTexDataAsRGBA32"); - funcTable.Load(641, "ImFontAtlas_IsBuilt"); - funcTable.Load(642, "ImFontAtlas_SetTexID"); - funcTable.Load(643, "ImFontAtlas_GetGlyphRangesDefault"); - funcTable.Load(644, "ImFontAtlas_GetGlyphRangesGreek"); - funcTable.Load(645, "ImFontAtlas_GetGlyphRangesKorean"); - funcTable.Load(646, "ImFontAtlas_GetGlyphRangesJapanese"); - funcTable.Load(647, "ImFontAtlas_GetGlyphRangesChineseFull"); - funcTable.Load(648, "ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon"); - funcTable.Load(649, "ImFontAtlas_GetGlyphRangesCyrillic"); - funcTable.Load(650, "ImFontAtlas_GetGlyphRangesThai"); - funcTable.Load(651, "ImFontAtlas_GetGlyphRangesVietnamese"); - funcTable.Load(652, "ImFontAtlas_AddCustomRectRegular"); - funcTable.Load(653, "ImFontAtlas_AddCustomRectFontGlyph"); - funcTable.Load(654, "ImFontAtlas_GetCustomRectByIndex"); - funcTable.Load(655, "ImFontAtlas_CalcCustomRectUV"); - funcTable.Load(656, "ImFont_ImFont"); - funcTable.Load(657, "ImFont_destroy"); - funcTable.Load(658, "ImFont_FindGlyph"); - funcTable.Load(659, "ImFont_FindGlyphNoFallback"); - funcTable.Load(660, "ImFont_GetCharAdvance"); - funcTable.Load(661, "ImFont_IsLoaded"); - funcTable.Load(662, "ImFont_GetDebugName"); - funcTable.Load(663, "ImFont_CalcTextSizeA"); - funcTable.Load(664, "ImFont_CalcWordWrapPositionA"); - funcTable.Load(665, "ImFont_RenderChar"); - funcTable.Load(666, "ImFont_RenderText"); - funcTable.Load(667, "ImFont_BuildLookupTable"); - funcTable.Load(668, "ImFont_ClearOutputData"); - funcTable.Load(669, "ImFont_GrowIndex"); - funcTable.Load(670, "ImFont_AddGlyph"); - funcTable.Load(671, "ImFont_AddRemapChar"); - funcTable.Load(672, "ImFont_IsGlyphRangeUnused"); - funcTable.Load(673, "ImGuiViewport_ImGuiViewport"); - funcTable.Load(674, "ImGuiViewport_destroy"); - funcTable.Load(675, "ImGuiViewport_GetCenter"); - funcTable.Load(676, "ImGuiViewport_GetWorkCenter"); - funcTable.Load(677, "ImGuiPlatformIO_ImGuiPlatformIO"); - funcTable.Load(678, "ImGuiPlatformIO_destroy"); - funcTable.Load(679, "ImGuiPlatformMonitor_ImGuiPlatformMonitor"); - funcTable.Load(680, "ImGuiPlatformMonitor_destroy"); - funcTable.Load(681, "ImGuiPlatformImeData_ImGuiPlatformImeData"); - funcTable.Load(682, "ImGuiPlatformImeData_destroy"); - funcTable.Load(683, "ImGuiFreeType_GetBuilderForFreeType"); - funcTable.Load(684, "ImGuiFreeType_SetAllocatorFunctions"); - funcTable.Load(685, "igLogText"); - funcTable.Load(686, "ImGuiTextBuffer_appendf"); - funcTable.Load(687, "igGET_FLT_MAX"); - funcTable.Load(688, "igGET_FLT_MIN"); - funcTable.Load(689, "ImVector_ImWchar_create"); - funcTable.Load(690, "ImVector_ImWchar_destroy"); - funcTable.Load(691, "ImVector_ImWchar_Init"); - funcTable.Load(692, "ImVector_ImWchar_UnInit"); - funcTable.Load(693, "ImGuiPlatformIO_Set_Platform_GetWindowPos"); - funcTable.Load(694, "ImGuiPlatformIO_Set_Platform_GetWindowSize"); - funcTable.Load(695, "igImHashData"); - funcTable.Load(696, "igImHashStr"); - funcTable.Load(697, "igImQsort"); - funcTable.Load(698, "igImAlphaBlendColors"); - funcTable.Load(699, "igImIsPowerOfTwo_Int"); - funcTable.Load(700, "igImIsPowerOfTwo_U64"); - funcTable.Load(701, "igImUpperPowerOfTwo"); - funcTable.Load(702, "igImCountSetBits"); - funcTable.Load(703, "igImStricmp"); - funcTable.Load(704, "igImStrnicmp"); - funcTable.Load(705, "igImStrncpy"); - funcTable.Load(706, "igImStrdup"); - funcTable.Load(707, "igImStrdupcpy"); - funcTable.Load(708, "igImStrchrRange"); - funcTable.Load(709, "igImStreolRange"); - funcTable.Load(710, "igImStristr"); - funcTable.Load(711, "igImStrTrimBlanks"); - funcTable.Load(712, "igImStrSkipBlank"); - funcTable.Load(713, "igImStrlenW"); - funcTable.Load(714, "igImStrbol"); - funcTable.Load(715, "igImToUpper"); - funcTable.Load(716, "igImCharIsBlankA"); - funcTable.Load(717, "igImCharIsBlankW"); - funcTable.Load(718, "igImCharIsXdigitA"); - funcTable.Load(719, "igImFormatStringToTempBuffer"); - funcTable.Load(720, "igImFormatStringToTempBufferV"); - funcTable.Load(721, "igImParseFormatFindStart"); - funcTable.Load(722, "igImParseFormatFindEnd"); - funcTable.Load(723, "igImParseFormatSanitizeForPrinting"); - funcTable.Load(724, "igImParseFormatSanitizeForScanning"); - funcTable.Load(725, "igImParseFormatPrecision"); - funcTable.Load(726, "igImTextCharToUtf8"); - funcTable.Load(727, "igImTextCharFromUtf8"); - funcTable.Load(728, "igImTextCountCharsFromUtf8"); - funcTable.Load(729, "igImTextCountUtf8BytesFromChar"); - funcTable.Load(730, "igImTextCountUtf8BytesFromStr"); - funcTable.Load(731, "igImTextFindPreviousUtf8Codepoint"); - funcTable.Load(732, "igImTextCountLines"); - funcTable.Load(733, "igImFileOpen"); - funcTable.Load(734, "igImFileClose"); - funcTable.Load(735, "igImFileGetSize"); - funcTable.Load(736, "igImFileRead"); - funcTable.Load(737, "igImFileWrite"); - funcTable.Load(738, "igImFileLoadToMemory"); - funcTable.Load(739, "igImPow_Float"); - funcTable.Load(740, "igImPow_double"); - funcTable.Load(741, "igImLog_Float"); - funcTable.Load(742, "igImLog_double"); - funcTable.Load(743, "igImAbs_Int"); - funcTable.Load(744, "igImAbs_Float"); - funcTable.Load(745, "igImAbs_double"); - funcTable.Load(746, "igImSign_Float"); - funcTable.Load(747, "igImSign_double"); - funcTable.Load(748, "igImRsqrt_Float"); - funcTable.Load(749, "igImRsqrt_double"); - funcTable.Load(750, "igImMin"); - funcTable.Load(751, "igImMax"); - funcTable.Load(752, "igImClamp"); - funcTable.Load(753, "igImLerp_Vec2Float"); - funcTable.Load(754, "igImLerp_Vec2Vec2"); - funcTable.Load(755, "igImLerp_Vec4"); - funcTable.Load(756, "igImSaturate"); - funcTable.Load(757, "igImLengthSqr_Vec2"); - funcTable.Load(758, "igImLengthSqr_Vec4"); - funcTable.Load(759, "igImInvLength"); - funcTable.Load(760, "igImTrunc_Float"); - funcTable.Load(761, "igImTrunc_Vec2"); - funcTable.Load(762, "igImFloor_Float"); - funcTable.Load(763, "igImFloor_Vec2"); - funcTable.Load(764, "igImModPositive"); - funcTable.Load(765, "igImDot"); - funcTable.Load(766, "igImRotate"); - funcTable.Load(767, "igImLinearSweep"); - funcTable.Load(768, "igImLinearRemapClamp"); - funcTable.Load(769, "igImMul"); - funcTable.Load(770, "igImIsFloatAboveGuaranteedIntegerPrecision"); - funcTable.Load(771, "igImExponentialMovingAverage"); - funcTable.Load(772, "igImBezierCubicCalc"); - funcTable.Load(773, "igImBezierCubicClosestPoint"); - funcTable.Load(774, "igImBezierCubicClosestPointCasteljau"); - funcTable.Load(775, "igImBezierQuadraticCalc"); - funcTable.Load(776, "igImLineClosestPoint"); - funcTable.Load(777, "igImTriangleContainsPoint"); - funcTable.Load(778, "igImTriangleClosestPoint"); - funcTable.Load(779, "igImTriangleBarycentricCoords"); - funcTable.Load(780, "igImTriangleArea"); - funcTable.Load(781, "igImTriangleIsClockwise"); - funcTable.Load(782, "ImVec1_ImVec1_Nil"); - funcTable.Load(783, "ImVec1_destroy"); - funcTable.Load(784, "ImVec1_ImVec1_Float"); - funcTable.Load(785, "ImVec2ih_ImVec2ih_Nil"); - funcTable.Load(786, "ImVec2ih_destroy"); - funcTable.Load(787, "ImVec2ih_ImVec2ih_short"); - funcTable.Load(788, "ImVec2ih_ImVec2ih_Vec2"); - funcTable.Load(789, "ImRect_ImRect_Nil"); - funcTable.Load(790, "ImRect_destroy"); - funcTable.Load(791, "ImRect_ImRect_Vec2"); - funcTable.Load(792, "ImRect_ImRect_Vec4"); - funcTable.Load(793, "ImRect_ImRect_Float"); - funcTable.Load(794, "ImRect_GetCenter"); - funcTable.Load(795, "ImRect_GetSize"); - funcTable.Load(796, "ImRect_GetWidth"); - funcTable.Load(797, "ImRect_GetHeight"); - funcTable.Load(798, "ImRect_GetArea"); - funcTable.Load(799, "ImRect_GetTL"); - funcTable.Load(800, "ImRect_GetTR"); - funcTable.Load(801, "ImRect_GetBL"); - funcTable.Load(802, "ImRect_GetBR"); - funcTable.Load(803, "ImRect_Contains_Vec2"); - funcTable.Load(804, "ImRect_Contains_Rect"); - funcTable.Load(805, "ImRect_ContainsWithPad"); - funcTable.Load(806, "ImRect_Overlaps"); - funcTable.Load(807, "ImRect_Add_Vec2"); - funcTable.Load(808, "ImRect_Add_Rect"); - funcTable.Load(809, "ImRect_Expand_Float"); - funcTable.Load(810, "ImRect_Expand_Vec2"); - funcTable.Load(811, "ImRect_Translate"); - funcTable.Load(812, "ImRect_TranslateX"); - funcTable.Load(813, "ImRect_TranslateY"); - funcTable.Load(814, "ImRect_ClipWith"); - funcTable.Load(815, "ImRect_ClipWithFull"); - funcTable.Load(816, "ImRect_Floor"); - funcTable.Load(817, "ImRect_IsInverted"); - funcTable.Load(818, "ImRect_ToVec4"); - funcTable.Load(819, "igImBitArrayGetStorageSizeInBytes"); - funcTable.Load(820, "igImBitArrayClearAllBits"); - funcTable.Load(821, "igImBitArrayTestBit"); - funcTable.Load(822, "igImBitArrayClearBit"); - funcTable.Load(823, "igImBitArraySetBit"); - funcTable.Load(824, "igImBitArraySetBitRange"); - funcTable.Load(825, "ImBitVector_Create"); - funcTable.Load(826, "ImBitVector_Clear"); - funcTable.Load(827, "ImBitVector_TestBit"); - funcTable.Load(828, "ImBitVector_SetBit"); - funcTable.Load(829, "ImBitVector_ClearBit"); - funcTable.Load(830, "ImGuiTextIndex_clear"); - funcTable.Load(831, "ImGuiTextIndex_size"); - funcTable.Load(832, "ImGuiTextIndex_get_line_begin"); - funcTable.Load(833, "ImGuiTextIndex_get_line_end"); - funcTable.Load(834, "ImGuiTextIndex_append"); - funcTable.Load(835, "igImLowerBound"); - funcTable.Load(836, "ImDrawListSharedData_ImDrawListSharedData"); - funcTable.Load(837, "ImDrawListSharedData_destroy"); - funcTable.Load(838, "ImDrawListSharedData_SetCircleTessellationMaxError"); - funcTable.Load(839, "ImDrawDataBuilder_ImDrawDataBuilder"); - funcTable.Load(840, "ImDrawDataBuilder_destroy"); - funcTable.Load(841, "ImGuiStyleVarInfo_GetVarPtr"); - funcTable.Load(842, "ImGuiStyleMod_ImGuiStyleMod_Int"); - funcTable.Load(843, "ImGuiStyleMod_destroy"); - funcTable.Load(844, "ImGuiStyleMod_ImGuiStyleMod_Float"); - funcTable.Load(845, "ImGuiStyleMod_ImGuiStyleMod_Vec2"); - funcTable.Load(846, "ImGuiComboPreviewData_ImGuiComboPreviewData"); - funcTable.Load(847, "ImGuiComboPreviewData_destroy"); - funcTable.Load(848, "ImGuiMenuColumns_ImGuiMenuColumns"); - funcTable.Load(849, "ImGuiMenuColumns_destroy"); - funcTable.Load(850, "ImGuiMenuColumns_Update"); - funcTable.Load(851, "ImGuiMenuColumns_DeclColumns"); - funcTable.Load(852, "ImGuiMenuColumns_CalcNextTotalWidth"); - funcTable.Load(853, "ImGuiInputTextDeactivatedState_ImGuiInputTextDeactivatedState"); - funcTable.Load(854, "ImGuiInputTextDeactivatedState_destroy"); - funcTable.Load(855, "ImGuiInputTextDeactivatedState_ClearFreeMemory"); - funcTable.Load(856, "ImGuiInputTextState_ImGuiInputTextState"); - funcTable.Load(857, "ImGuiInputTextState_destroy"); - funcTable.Load(858, "ImGuiInputTextState_ClearText"); - funcTable.Load(859, "ImGuiInputTextState_ClearFreeMemory"); - funcTable.Load(860, "ImGuiInputTextState_OnKeyPressed"); - funcTable.Load(861, "ImGuiInputTextState_OnCharPressed"); - funcTable.Load(862, "ImGuiInputTextState_CursorAnimReset"); - funcTable.Load(863, "ImGuiInputTextState_CursorClamp"); - funcTable.Load(864, "ImGuiInputTextState_HasSelection"); - funcTable.Load(865, "ImGuiInputTextState_ClearSelection"); - funcTable.Load(866, "ImGuiInputTextState_GetCursorPos"); - funcTable.Load(867, "ImGuiInputTextState_GetSelectionStart"); - funcTable.Load(868, "ImGuiInputTextState_GetSelectionEnd"); - funcTable.Load(869, "ImGuiInputTextState_SelectAll"); - funcTable.Load(870, "ImGuiInputTextState_ReloadUserBufAndSelectAll"); - funcTable.Load(871, "ImGuiInputTextState_ReloadUserBufAndKeepSelection"); - funcTable.Load(872, "ImGuiInputTextState_ReloadUserBufAndMoveToEnd"); - funcTable.Load(873, "ImGuiNextWindowData_ImGuiNextWindowData"); - funcTable.Load(874, "ImGuiNextWindowData_destroy"); - funcTable.Load(875, "ImGuiNextWindowData_ClearFlags"); - funcTable.Load(876, "ImGuiNextItemData_ImGuiNextItemData"); - funcTable.Load(877, "ImGuiNextItemData_destroy"); - funcTable.Load(878, "ImGuiNextItemData_ClearFlags"); - funcTable.Load(879, "ImGuiLastItemData_ImGuiLastItemData"); - funcTable.Load(880, "ImGuiLastItemData_destroy"); - funcTable.Load(881, "ImGuiErrorRecoveryState_ImGuiErrorRecoveryState"); - funcTable.Load(882, "ImGuiErrorRecoveryState_destroy"); - funcTable.Load(883, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr"); - funcTable.Load(884, "ImGuiPtrOrIndex_destroy"); - funcTable.Load(885, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int"); - funcTable.Load(886, "ImGuiPopupData_ImGuiPopupData"); - funcTable.Load(887, "ImGuiPopupData_destroy"); - funcTable.Load(888, "ImGuiInputEvent_ImGuiInputEvent"); - funcTable.Load(889, "ImGuiInputEvent_destroy"); - funcTable.Load(890, "ImGuiKeyRoutingData_ImGuiKeyRoutingData"); - funcTable.Load(891, "ImGuiKeyRoutingData_destroy"); - funcTable.Load(892, "ImGuiKeyRoutingTable_ImGuiKeyRoutingTable"); - funcTable.Load(893, "ImGuiKeyRoutingTable_destroy"); - funcTable.Load(894, "ImGuiKeyRoutingTable_Clear"); - funcTable.Load(895, "ImGuiKeyOwnerData_ImGuiKeyOwnerData"); - funcTable.Load(896, "ImGuiKeyOwnerData_destroy"); - funcTable.Load(897, "ImGuiListClipperRange_FromIndices"); - funcTable.Load(898, "ImGuiListClipperRange_FromPositions"); - funcTable.Load(899, "ImGuiListClipperData_ImGuiListClipperData"); - funcTable.Load(900, "ImGuiListClipperData_destroy"); - funcTable.Load(901, "ImGuiListClipperData_Reset"); - funcTable.Load(902, "ImGuiNavItemData_ImGuiNavItemData"); - funcTable.Load(903, "ImGuiNavItemData_destroy"); - funcTable.Load(904, "ImGuiNavItemData_Clear"); - funcTable.Load(905, "ImGuiTypingSelectState_ImGuiTypingSelectState"); - funcTable.Load(906, "ImGuiTypingSelectState_destroy"); - funcTable.Load(907, "ImGuiTypingSelectState_Clear"); - funcTable.Load(908, "ImGuiOldColumnData_ImGuiOldColumnData"); - funcTable.Load(909, "ImGuiOldColumnData_destroy"); - funcTable.Load(910, "ImGuiOldColumns_ImGuiOldColumns"); - funcTable.Load(911, "ImGuiOldColumns_destroy"); - funcTable.Load(912, "ImGuiBoxSelectState_ImGuiBoxSelectState"); - funcTable.Load(913, "ImGuiBoxSelectState_destroy"); - funcTable.Load(914, "ImGuiMultiSelectTempData_ImGuiMultiSelectTempData"); - funcTable.Load(915, "ImGuiMultiSelectTempData_destroy"); - funcTable.Load(916, "ImGuiMultiSelectTempData_Clear"); - funcTable.Load(917, "ImGuiMultiSelectTempData_ClearIO"); - funcTable.Load(918, "ImGuiMultiSelectState_ImGuiMultiSelectState"); - funcTable.Load(919, "ImGuiMultiSelectState_destroy"); - funcTable.Load(920, "ImGuiDockNode_ImGuiDockNode"); - funcTable.Load(921, "ImGuiDockNode_destroy"); - funcTable.Load(922, "ImGuiDockNode_IsRootNode"); - funcTable.Load(923, "ImGuiDockNode_IsDockSpace"); - funcTable.Load(924, "ImGuiDockNode_IsFloatingNode"); - funcTable.Load(925, "ImGuiDockNode_IsCentralNode"); - funcTable.Load(926, "ImGuiDockNode_IsHiddenTabBar"); - funcTable.Load(927, "ImGuiDockNode_IsNoTabBar"); - funcTable.Load(928, "ImGuiDockNode_IsSplitNode"); - funcTable.Load(929, "ImGuiDockNode_IsLeafNode"); - funcTable.Load(930, "ImGuiDockNode_IsEmpty"); - funcTable.Load(931, "ImGuiDockNode_Rect"); - funcTable.Load(932, "ImGuiDockNode_SetLocalFlags"); - funcTable.Load(933, "ImGuiDockNode_UpdateMergedFlags"); - funcTable.Load(934, "ImGuiDockContext_ImGuiDockContext"); - funcTable.Load(935, "ImGuiDockContext_destroy"); - funcTable.Load(936, "ImGuiViewportP_ImGuiViewportP"); - funcTable.Load(937, "ImGuiViewportP_destroy"); - funcTable.Load(938, "ImGuiViewportP_ClearRequestFlags"); - funcTable.Load(939, "ImGuiViewportP_CalcWorkRectPos"); - funcTable.Load(940, "ImGuiViewportP_CalcWorkRectSize"); - funcTable.Load(941, "ImGuiViewportP_UpdateWorkRect"); - funcTable.Load(942, "ImGuiViewportP_GetMainRect"); - funcTable.Load(943, "ImGuiViewportP_GetWorkRect"); - funcTable.Load(944, "ImGuiViewportP_GetBuildWorkRect"); - funcTable.Load(945, "ImGuiWindowSettings_ImGuiWindowSettings"); - funcTable.Load(946, "ImGuiWindowSettings_destroy"); - funcTable.Load(947, "ImGuiWindowSettings_GetName"); - funcTable.Load(948, "ImGuiSettingsHandler_ImGuiSettingsHandler"); - funcTable.Load(949, "ImGuiSettingsHandler_destroy"); - funcTable.Load(950, "ImGuiDebugAllocInfo_ImGuiDebugAllocInfo"); - funcTable.Load(951, "ImGuiDebugAllocInfo_destroy"); - funcTable.Load(952, "ImGuiStackLevelInfo_ImGuiStackLevelInfo"); - funcTable.Load(953, "ImGuiStackLevelInfo_destroy"); - funcTable.Load(954, "ImGuiIDStackTool_ImGuiIDStackTool"); - funcTable.Load(955, "ImGuiIDStackTool_destroy"); - funcTable.Load(956, "ImGuiContextHook_ImGuiContextHook"); - funcTable.Load(957, "ImGuiContextHook_destroy"); - funcTable.Load(958, "ImGuiContext_ImGuiContext"); - funcTable.Load(959, "ImGuiContext_destroy"); - funcTable.Load(960, "ImGuiWindow_ImGuiWindow"); - funcTable.Load(961, "ImGuiWindow_destroy"); - funcTable.Load(962, "ImGuiWindow_GetID_Str"); - funcTable.Load(963, "ImGuiWindow_GetID_Ptr"); - funcTable.Load(964, "ImGuiWindow_GetID_Int"); - funcTable.Load(965, "ImGuiWindow_GetIDFromPos"); - funcTable.Load(966, "ImGuiWindow_GetIDFromRectangle"); - funcTable.Load(967, "ImGuiWindow_Rect"); - funcTable.Load(968, "ImGuiWindow_CalcFontSize"); - funcTable.Load(969, "ImGuiWindow_TitleBarRect"); - funcTable.Load(970, "ImGuiWindow_MenuBarRect"); - funcTable.Load(971, "ImGuiTabItem_ImGuiTabItem"); - funcTable.Load(972, "ImGuiTabItem_destroy"); - funcTable.Load(973, "ImGuiTabBar_ImGuiTabBar"); - funcTable.Load(974, "ImGuiTabBar_destroy"); - funcTable.Load(975, "ImGuiTableColumn_ImGuiTableColumn"); - funcTable.Load(976, "ImGuiTableColumn_destroy"); - funcTable.Load(977, "ImGuiTableInstanceData_ImGuiTableInstanceData"); - funcTable.Load(978, "ImGuiTableInstanceData_destroy"); - funcTable.Load(979, "ImGuiTable_ImGuiTable"); - funcTable.Load(980, "ImGuiTable_destroy"); - funcTable.Load(981, "ImGuiTableTempData_ImGuiTableTempData"); - funcTable.Load(982, "ImGuiTableTempData_destroy"); - funcTable.Load(983, "ImGuiTableColumnSettings_ImGuiTableColumnSettings"); - funcTable.Load(984, "ImGuiTableColumnSettings_destroy"); - funcTable.Load(985, "ImGuiTableSettings_ImGuiTableSettings"); - funcTable.Load(986, "ImGuiTableSettings_destroy"); - funcTable.Load(987, "ImGuiTableSettings_GetColumnSettings"); - funcTable.Load(988, "igGetIO_ContextPtr"); - funcTable.Load(989, "igGetPlatformIO_ContextPtr"); - funcTable.Load(990, "igGetCurrentWindowRead"); - funcTable.Load(991, "igGetCurrentWindow"); - funcTable.Load(992, "igFindWindowByID"); - funcTable.Load(993, "igFindWindowByName"); - funcTable.Load(994, "igUpdateWindowParentAndRootLinks"); - funcTable.Load(995, "igUpdateWindowSkipRefresh"); - funcTable.Load(996, "igCalcWindowNextAutoFitSize"); - funcTable.Load(997, "igIsWindowChildOf"); - funcTable.Load(998, "igIsWindowWithinBeginStackOf"); - funcTable.Load(999, "igIsWindowAbove"); - funcTable.Load(1000, "igIsWindowNavFocusable"); - funcTable.Load(1001, "igSetWindowPos_WindowPtr"); - funcTable.Load(1002, "igSetWindowSize_WindowPtr"); - funcTable.Load(1003, "igSetWindowCollapsed_WindowPtr"); - funcTable.Load(1004, "igSetWindowHitTestHole"); - funcTable.Load(1005, "igSetWindowHiddenAndSkipItemsForCurrentFrame"); - funcTable.Load(1006, "igSetWindowParentWindowForFocusRoute"); - funcTable.Load(1007, "igWindowRectAbsToRel"); - funcTable.Load(1008, "igWindowRectRelToAbs"); - funcTable.Load(1009, "igWindowPosAbsToRel"); - funcTable.Load(1010, "igWindowPosRelToAbs"); - funcTable.Load(1011, "igFocusWindow"); - funcTable.Load(1012, "igFocusTopMostWindowUnderOne"); - funcTable.Load(1013, "igBringWindowToFocusFront"); - funcTable.Load(1014, "igBringWindowToDisplayFront"); - funcTable.Load(1015, "igBringWindowToDisplayBack"); - funcTable.Load(1016, "igBringWindowToDisplayBehind"); - funcTable.Load(1017, "igFindWindowDisplayIndex"); - funcTable.Load(1018, "igFindBottomMostVisibleWindowWithinBeginStack"); - funcTable.Load(1019, "igSetNextWindowRefreshPolicy"); - funcTable.Load(1020, "igSetCurrentFont"); - funcTable.Load(1021, "igGetDefaultFont"); - funcTable.Load(1022, "igPushPasswordFont"); - funcTable.Load(1023, "igGetForegroundDrawList_WindowPtr"); - funcTable.Load(1024, "igAddDrawListToDrawDataEx"); - funcTable.Load(1025, "igInitialize"); - funcTable.Load(1026, "igShutdown"); - funcTable.Load(1027, "igUpdateInputEvents"); - funcTable.Load(1028, "igUpdateHoveredWindowAndCaptureFlags"); - funcTable.Load(1029, "igFindHoveredWindowEx"); - funcTable.Load(1030, "igStartMouseMovingWindow"); - funcTable.Load(1031, "igStartMouseMovingWindowOrNode"); - funcTable.Load(1032, "igUpdateMouseMovingWindowNewFrame"); - funcTable.Load(1033, "igUpdateMouseMovingWindowEndFrame"); - funcTable.Load(1034, "igAddContextHook"); - funcTable.Load(1035, "igRemoveContextHook"); - funcTable.Load(1036, "igCallContextHooks"); - funcTable.Load(1037, "igTranslateWindowsInViewport"); - funcTable.Load(1038, "igScaleWindowsInViewport"); - funcTable.Load(1039, "igDestroyPlatformWindow"); - funcTable.Load(1040, "igSetWindowViewport"); - funcTable.Load(1041, "igSetCurrentViewport"); - funcTable.Load(1042, "igGetViewportPlatformMonitor"); - funcTable.Load(1043, "igFindHoveredViewportFromPlatformWindowStack"); - funcTable.Load(1044, "igMarkIniSettingsDirty_Nil"); - funcTable.Load(1045, "igMarkIniSettingsDirty_WindowPtr"); - funcTable.Load(1046, "igClearIniSettings"); - funcTable.Load(1047, "igAddSettingsHandler"); - funcTable.Load(1048, "igRemoveSettingsHandler"); - funcTable.Load(1049, "igFindSettingsHandler"); - funcTable.Load(1050, "igCreateNewWindowSettings"); - funcTable.Load(1051, "igFindWindowSettingsByID"); - funcTable.Load(1052, "igFindWindowSettingsByWindow"); - funcTable.Load(1053, "igClearWindowSettings"); - funcTable.Load(1054, "igLocalizeRegisterEntries"); - funcTable.Load(1055, "igLocalizeGetMsg"); - funcTable.Load(1056, "igSetScrollX_WindowPtr"); - funcTable.Load(1057, "igSetScrollY_WindowPtr"); - funcTable.Load(1058, "igSetScrollFromPosX_WindowPtr"); - funcTable.Load(1059, "igSetScrollFromPosY_WindowPtr"); - funcTable.Load(1060, "igScrollToItem"); - funcTable.Load(1061, "igScrollToRect"); - funcTable.Load(1062, "igScrollToRectEx"); - funcTable.Load(1063, "igScrollToBringRectIntoView"); - funcTable.Load(1064, "igGetItemStatusFlags"); - funcTable.Load(1065, "igGetItemFlags"); - funcTable.Load(1066, "igGetActiveID"); - funcTable.Load(1067, "igGetFocusID"); - funcTable.Load(1068, "igSetActiveID"); - funcTable.Load(1069, "igSetFocusID"); - funcTable.Load(1070, "igClearActiveID"); - funcTable.Load(1071, "igGetHoveredID"); - funcTable.Load(1072, "igSetHoveredID"); - funcTable.Load(1073, "igKeepAliveID"); - funcTable.Load(1074, "igMarkItemEdited"); - funcTable.Load(1075, "igPushOverrideID"); - funcTable.Load(1076, "igGetIDWithSeed_Str"); - funcTable.Load(1077, "igGetIDWithSeed_Int"); - funcTable.Load(1078, "igItemSize_Vec2"); - funcTable.Load(1079, "igItemSize_Rect"); - funcTable.Load(1080, "igItemAdd"); - funcTable.Load(1081, "igItemHoverable"); - funcTable.Load(1082, "igIsWindowContentHoverable"); - funcTable.Load(1083, "igIsClippedEx"); - funcTable.Load(1084, "igSetLastItemData"); - funcTable.Load(1085, "igCalcItemSize"); - funcTable.Load(1086, "igCalcWrapWidthForPos"); - funcTable.Load(1087, "igPushMultiItemsWidths"); - funcTable.Load(1088, "igShrinkWidths"); - funcTable.Load(1089, "igGetStyleVarInfo"); - funcTable.Load(1090, "igBeginDisabledOverrideReenable"); - funcTable.Load(1091, "igEndDisabledOverrideReenable"); - funcTable.Load(1092, "igLogBegin"); - funcTable.Load(1093, "igLogToBuffer"); - funcTable.Load(1094, "igLogRenderedText"); - funcTable.Load(1095, "igLogSetNextTextDecoration"); - funcTable.Load(1096, "igBeginChildEx"); - funcTable.Load(1097, "igBeginPopupEx"); - funcTable.Load(1098, "igBeginPopupMenuEx"); - funcTable.Load(1099, "igOpenPopupEx"); - funcTable.Load(1100, "igClosePopupToLevel"); - funcTable.Load(1101, "igClosePopupsOverWindow"); - funcTable.Load(1102, "igClosePopupsExceptModals"); - funcTable.Load(1103, "igIsPopupOpen_ID"); - funcTable.Load(1104, "igGetPopupAllowedExtentRect"); - funcTable.Load(1105, "igGetTopMostPopupModal"); - funcTable.Load(1106, "igGetTopMostAndVisiblePopupModal"); - funcTable.Load(1107, "igFindBlockingModal"); - funcTable.Load(1108, "igFindBestWindowPosForPopup"); - funcTable.Load(1109, "igFindBestWindowPosForPopupEx"); - funcTable.Load(1110, "igBeginTooltipEx"); - funcTable.Load(1111, "igBeginTooltipHidden"); - funcTable.Load(1112, "igBeginViewportSideBar"); - funcTable.Load(1113, "igBeginMenuEx"); - funcTable.Load(1114, "igMenuItemEx"); - funcTable.Load(1115, "igBeginComboPopup"); - funcTable.Load(1116, "igBeginComboPreview"); - funcTable.Load(1117, "igEndComboPreview"); - funcTable.Load(1118, "igNavInitWindow"); - funcTable.Load(1119, "igNavInitRequestApplyResult"); - funcTable.Load(1120, "igNavMoveRequestButNoResultYet"); - funcTable.Load(1121, "igNavMoveRequestSubmit"); - funcTable.Load(1122, "igNavMoveRequestForward"); - funcTable.Load(1123, "igNavMoveRequestResolveWithLastItem"); - funcTable.Load(1124, "igNavMoveRequestResolveWithPastTreeNode"); - funcTable.Load(1125, "igNavMoveRequestCancel"); - funcTable.Load(1126, "igNavMoveRequestApplyResult"); - funcTable.Load(1127, "igNavMoveRequestTryWrapping"); - funcTable.Load(1128, "igNavHighlightActivated"); - funcTable.Load(1129, "igNavClearPreferredPosForAxis"); - funcTable.Load(1130, "igSetNavCursorVisibleAfterMove"); - funcTable.Load(1131, "igNavUpdateCurrentWindowIsScrollPushableX"); - funcTable.Load(1132, "igSetNavWindow"); - funcTable.Load(1133, "igSetNavID"); - funcTable.Load(1134, "igSetNavFocusScope"); - funcTable.Load(1135, "igFocusItem"); - funcTable.Load(1136, "igActivateItemByID"); - funcTable.Load(1137, "igIsNamedKey"); - funcTable.Load(1138, "igIsNamedKeyOrMod"); - funcTable.Load(1139, "igIsLegacyKey"); - funcTable.Load(1140, "igIsKeyboardKey"); - funcTable.Load(1141, "igIsGamepadKey"); - funcTable.Load(1142, "igIsMouseKey"); - funcTable.Load(1143, "igIsAliasKey"); - funcTable.Load(1144, "igIsLRModKey"); - funcTable.Load(1145, "igFixupKeyChord"); - funcTable.Load(1146, "igConvertSingleModFlagToKey"); - funcTable.Load(1147, "igGetKeyData_ContextPtr"); - funcTable.Load(1148, "igGetKeyData_Key"); - funcTable.Load(1149, "igMouseButtonToKey"); - funcTable.Load(1150, "igIsMouseDragPastThreshold"); - funcTable.Load(1151, "igGetKeyMagnitude2d"); - funcTable.Load(1152, "igGetNavTweakPressedAmount"); - funcTable.Load(1153, "igCalcTypematicRepeatAmount"); - funcTable.Load(1154, "igGetTypematicRepeatRate"); - funcTable.Load(1155, "igTeleportMousePos"); - funcTable.Load(1156, "igSetActiveIdUsingAllKeyboardKeys"); - funcTable.Load(1157, "igIsActiveIdUsingNavDir"); - funcTable.Load(1158, "igGetKeyOwner"); - funcTable.Load(1159, "igSetKeyOwner"); - funcTable.Load(1160, "igSetKeyOwnersForKeyChord"); - funcTable.Load(1161, "igSetItemKeyOwner_InputFlags"); - funcTable.Load(1162, "igTestKeyOwner"); - funcTable.Load(1163, "igGetKeyOwnerData"); - funcTable.Load(1164, "igIsKeyDown_ID"); - funcTable.Load(1165, "igIsKeyPressed_InputFlags"); - funcTable.Load(1166, "igIsKeyReleased_ID"); - funcTable.Load(1167, "igIsKeyChordPressed_InputFlags"); - funcTable.Load(1168, "igIsMouseDown_ID"); - funcTable.Load(1169, "igIsMouseClicked_InputFlags"); - funcTable.Load(1170, "igIsMouseReleased_ID"); - funcTable.Load(1171, "igIsMouseDoubleClicked_ID"); - funcTable.Load(1172, "igShortcut_ID"); - funcTable.Load(1173, "igSetShortcutRouting"); - funcTable.Load(1174, "igTestShortcutRouting"); - funcTable.Load(1175, "igGetShortcutRoutingData"); - funcTable.Load(1176, "igDockContextInitialize"); - funcTable.Load(1177, "igDockContextShutdown"); - funcTable.Load(1178, "igDockContextClearNodes"); - funcTable.Load(1179, "igDockContextRebuildNodes"); - funcTable.Load(1180, "igDockContextNewFrameUpdateUndocking"); - funcTable.Load(1181, "igDockContextNewFrameUpdateDocking"); - funcTable.Load(1182, "igDockContextEndFrame"); - funcTable.Load(1183, "igDockContextGenNodeID"); - funcTable.Load(1184, "igDockContextQueueDock"); - funcTable.Load(1185, "igDockContextQueueUndockWindow"); - funcTable.Load(1186, "igDockContextQueueUndockNode"); - funcTable.Load(1187, "igDockContextProcessUndockWindow"); - funcTable.Load(1188, "igDockContextProcessUndockNode"); - funcTable.Load(1189, "igDockContextCalcDropPosForDocking"); - funcTable.Load(1190, "igDockContextFindNodeByID"); - funcTable.Load(1191, "igDockNodeWindowMenuHandler_Default"); - funcTable.Load(1192, "igDockNodeBeginAmendTabBar"); - funcTable.Load(1193, "igDockNodeEndAmendTabBar"); - funcTable.Load(1194, "igDockNodeGetRootNode"); - funcTable.Load(1195, "igDockNodeIsInHierarchyOf"); - funcTable.Load(1196, "igDockNodeGetDepth"); - funcTable.Load(1197, "igDockNodeGetWindowMenuButtonId"); - funcTable.Load(1198, "igGetWindowDockNode"); - funcTable.Load(1199, "igGetWindowAlwaysWantOwnTabBar"); - funcTable.Load(1200, "igBeginDocked"); - funcTable.Load(1201, "igBeginDockableDragDropSource"); - funcTable.Load(1202, "igBeginDockableDragDropTarget"); - funcTable.Load(1203, "igSetWindowDock"); - funcTable.Load(1204, "igDockBuilderDockWindow"); - funcTable.Load(1205, "igDockBuilderGetNode"); - funcTable.Load(1206, "igDockBuilderGetCentralNode"); - funcTable.Load(1207, "igDockBuilderAddNode"); - funcTable.Load(1208, "igDockBuilderRemoveNode"); - funcTable.Load(1209, "igDockBuilderRemoveNodeDockedWindows"); - funcTable.Load(1210, "igDockBuilderRemoveNodeChildNodes"); - funcTable.Load(1211, "igDockBuilderSetNodePos"); - funcTable.Load(1212, "igDockBuilderSetNodeSize"); - funcTable.Load(1213, "igDockBuilderSplitNode"); - funcTable.Load(1214, "igDockBuilderCopyDockSpace"); - funcTable.Load(1215, "igDockBuilderCopyNode"); - funcTable.Load(1216, "igDockBuilderCopyWindowSettings"); - funcTable.Load(1217, "igDockBuilderFinish"); - funcTable.Load(1218, "igPushFocusScope"); - funcTable.Load(1219, "igPopFocusScope"); - funcTable.Load(1220, "igGetCurrentFocusScope"); - funcTable.Load(1221, "igIsDragDropActive"); - funcTable.Load(1222, "igBeginDragDropTargetCustom"); - funcTable.Load(1223, "igClearDragDrop"); - funcTable.Load(1224, "igIsDragDropPayloadBeingAccepted"); - funcTable.Load(1225, "igRenderDragDropTargetRect"); - funcTable.Load(1226, "igGetTypingSelectRequest"); - funcTable.Load(1227, "igTypingSelectFindMatch"); - funcTable.Load(1228, "igTypingSelectFindNextSingleCharMatch"); - funcTable.Load(1229, "igTypingSelectFindBestLeadingMatch"); - funcTable.Load(1230, "igBeginBoxSelect"); - funcTable.Load(1231, "igEndBoxSelect"); - funcTable.Load(1232, "igMultiSelectItemHeader"); - funcTable.Load(1233, "igMultiSelectItemFooter"); - funcTable.Load(1234, "igMultiSelectAddSetAll"); - funcTable.Load(1235, "igMultiSelectAddSetRange"); - funcTable.Load(1236, "igGetBoxSelectState"); - funcTable.Load(1237, "igGetMultiSelectState"); - funcTable.Load(1238, "igSetWindowClipRectBeforeSetChannel"); - funcTable.Load(1239, "igBeginColumns"); - funcTable.Load(1240, "igEndColumns"); - funcTable.Load(1241, "igPushColumnClipRect"); - funcTable.Load(1242, "igPushColumnsBackground"); - funcTable.Load(1243, "igPopColumnsBackground"); - funcTable.Load(1244, "igGetColumnsID"); - funcTable.Load(1245, "igFindOrCreateColumns"); - funcTable.Load(1246, "igGetColumnOffsetFromNorm"); - funcTable.Load(1247, "igGetColumnNormFromOffset"); - funcTable.Load(1248, "igTableOpenContextMenu"); - funcTable.Load(1249, "igTableSetColumnWidth"); - funcTable.Load(1250, "igTableSetColumnSortDirection"); - funcTable.Load(1251, "igTableGetHoveredRow"); - funcTable.Load(1252, "igTableGetHeaderRowHeight"); - funcTable.Load(1253, "igTableGetHeaderAngledMaxLabelWidth"); - funcTable.Load(1254, "igTablePushBackgroundChannel"); - funcTable.Load(1255, "igTablePopBackgroundChannel"); - funcTable.Load(1256, "igTableAngledHeadersRowEx"); - funcTable.Load(1257, "igGetCurrentTable"); - funcTable.Load(1258, "igTableFindByID"); - funcTable.Load(1259, "igBeginTableEx"); - funcTable.Load(1260, "igTableBeginInitMemory"); - funcTable.Load(1261, "igTableBeginApplyRequests"); - funcTable.Load(1262, "igTableSetupDrawChannels"); - funcTable.Load(1263, "igTableUpdateLayout"); - funcTable.Load(1264, "igTableUpdateBorders"); - funcTable.Load(1265, "igTableUpdateColumnsWeightFromWidth"); - funcTable.Load(1266, "igTableDrawBorders"); - funcTable.Load(1267, "igTableDrawDefaultContextMenu"); - funcTable.Load(1268, "igTableBeginContextMenuPopup"); - funcTable.Load(1269, "igTableMergeDrawChannels"); - funcTable.Load(1270, "igTableGetInstanceData"); - funcTable.Load(1271, "igTableGetInstanceID"); - funcTable.Load(1272, "igTableSortSpecsSanitize"); - funcTable.Load(1273, "igTableSortSpecsBuild"); - funcTable.Load(1274, "igTableGetColumnNextSortDirection"); - funcTable.Load(1275, "igTableFixColumnSortDirection"); - funcTable.Load(1276, "igTableGetColumnWidthAuto"); - funcTable.Load(1277, "igTableBeginRow"); - funcTable.Load(1278, "igTableEndRow"); - funcTable.Load(1279, "igTableBeginCell"); - funcTable.Load(1280, "igTableEndCell"); - funcTable.Load(1281, "igTableGetCellBgRect"); - funcTable.Load(1282, "igTableGetColumnName_TablePtr"); - funcTable.Load(1283, "igTableGetColumnResizeID"); - funcTable.Load(1284, "igTableCalcMaxColumnWidth"); - funcTable.Load(1285, "igTableSetColumnWidthAutoSingle"); - funcTable.Load(1286, "igTableSetColumnWidthAutoAll"); - funcTable.Load(1287, "igTableRemove"); - funcTable.Load(1288, "igTableGcCompactTransientBuffers_TablePtr"); - funcTable.Load(1289, "igTableGcCompactTransientBuffers_TableTempDataPtr"); - funcTable.Load(1290, "igTableGcCompactSettings"); - funcTable.Load(1291, "igTableLoadSettings"); - funcTable.Load(1292, "igTableSaveSettings"); - funcTable.Load(1293, "igTableResetSettings"); - funcTable.Load(1294, "igTableGetBoundSettings"); - funcTable.Load(1295, "igTableSettingsAddSettingsHandler"); - funcTable.Load(1296, "igTableSettingsCreate"); - funcTable.Load(1297, "igTableSettingsFindByID"); - funcTable.Load(1298, "igGetCurrentTabBar"); - funcTable.Load(1299, "igBeginTabBarEx"); - funcTable.Load(1300, "igTabBarFindTabByID"); - funcTable.Load(1301, "igTabBarFindTabByOrder"); - funcTable.Load(1302, "igTabBarFindMostRecentlySelectedTabForActiveWindow"); - funcTable.Load(1303, "igTabBarGetCurrentTab"); - funcTable.Load(1304, "igTabBarGetTabOrder"); - funcTable.Load(1305, "igTabBarGetTabName"); - funcTable.Load(1306, "igTabBarAddTab"); - funcTable.Load(1307, "igTabBarRemoveTab"); - funcTable.Load(1308, "igTabBarCloseTab"); - funcTable.Load(1309, "igTabBarQueueFocus_TabItemPtr"); - funcTable.Load(1310, "igTabBarQueueFocus_Str"); - funcTable.Load(1311, "igTabBarQueueReorder"); - funcTable.Load(1312, "igTabBarQueueReorderFromMousePos"); - funcTable.Load(1313, "igTabBarProcessReorder"); - funcTable.Load(1314, "igTabItemEx"); - funcTable.Load(1315, "igTabItemSpacing"); - funcTable.Load(1316, "igTabItemCalcSize_Str"); - funcTable.Load(1317, "igTabItemCalcSize_WindowPtr"); - funcTable.Load(1318, "igTabItemBackground"); - funcTable.Load(1319, "igTabItemLabelAndCloseButton"); - funcTable.Load(1320, "igRenderText"); - funcTable.Load(1321, "igRenderTextWrapped"); - funcTable.Load(1322, "igRenderTextClipped"); - funcTable.Load(1323, "igRenderTextClippedEx"); - funcTable.Load(1324, "igRenderTextEllipsis"); - funcTable.Load(1325, "igRenderFrame"); - funcTable.Load(1326, "igRenderFrameBorder"); - funcTable.Load(1327, "igRenderColorRectWithAlphaCheckerboard"); - funcTable.Load(1328, "igRenderNavCursor"); - funcTable.Load(1329, "igFindRenderedTextEnd"); - funcTable.Load(1330, "igRenderMouseCursor"); - funcTable.Load(1331, "igRenderArrow"); - funcTable.Load(1332, "igRenderBullet"); - funcTable.Load(1333, "igRenderCheckMark"); - funcTable.Load(1334, "igRenderArrowPointingAt"); - funcTable.Load(1335, "igRenderArrowDockMenu"); - funcTable.Load(1336, "igRenderRectFilledRangeH"); - funcTable.Load(1337, "igRenderRectFilledWithHole"); - funcTable.Load(1338, "igCalcRoundingFlagsForRectInRect"); - funcTable.Load(1339, "igTextEx"); - funcTable.Load(1340, "igButtonEx"); - funcTable.Load(1341, "igArrowButtonEx"); - funcTable.Load(1342, "igImageButtonEx"); - funcTable.Load(1343, "igSeparatorEx"); - funcTable.Load(1344, "igSeparatorTextEx"); - funcTable.Load(1345, "igCheckboxFlags_S64Ptr"); - funcTable.Load(1346, "igCheckboxFlags_U64Ptr"); - funcTable.Load(1347, "igCloseButton"); - funcTable.Load(1348, "igCollapseButton"); - funcTable.Load(1349, "igScrollbar"); - funcTable.Load(1350, "igScrollbarEx"); - funcTable.Load(1351, "igGetWindowScrollbarRect"); - funcTable.Load(1352, "igGetWindowScrollbarID"); - funcTable.Load(1353, "igGetWindowResizeCornerID"); - funcTable.Load(1354, "igGetWindowResizeBorderID"); - funcTable.Load(1355, "igButtonBehavior"); - funcTable.Load(1356, "igDragBehavior"); - funcTable.Load(1357, "igSliderBehavior"); - funcTable.Load(1358, "igSplitterBehavior"); - funcTable.Load(1359, "igTreeNodeBehavior"); - funcTable.Load(1360, "igTreePushOverrideID"); - funcTable.Load(1361, "igTreeNodeGetOpen"); - funcTable.Load(1362, "igTreeNodeSetOpen"); - funcTable.Load(1363, "igTreeNodeUpdateNextOpen"); - funcTable.Load(1364, "igDataTypeGetInfo"); - funcTable.Load(1365, "igDataTypeApplyOp"); - funcTable.Load(1366, "igDataTypeApplyFromText"); - funcTable.Load(1367, "igDataTypeCompare"); - funcTable.Load(1368, "igDataTypeClamp"); - funcTable.Load(1369, "igDataTypeIsZero"); - funcTable.Load(1370, "igInputTextDeactivateHook"); - funcTable.Load(1371, "igTempInputScalar"); - funcTable.Load(1372, "igTempInputIsActive"); - funcTable.Load(1373, "igGetInputTextState"); - funcTable.Load(1374, "igSetNextItemRefVal"); - funcTable.Load(1375, "igIsItemActiveAsInputText"); - funcTable.Load(1376, "igColorTooltip"); - funcTable.Load(1377, "igColorEditOptionsPopup"); - funcTable.Load(1378, "igColorPickerOptionsPopup"); - funcTable.Load(1379, "igPlotEx"); - funcTable.Load(1380, "igShadeVertsLinearColorGradientKeepAlpha"); - funcTable.Load(1381, "igShadeVertsLinearUV"); - funcTable.Load(1382, "igShadeVertsTransformPos"); - funcTable.Load(1383, "igGcCompactTransientMiscBuffers"); - funcTable.Load(1384, "igGcCompactTransientWindowBuffers"); - funcTable.Load(1385, "igGcAwakeTransientWindowBuffers"); - funcTable.Load(1386, "igErrorLog"); - funcTable.Load(1387, "igErrorRecoveryStoreState"); - funcTable.Load(1388, "igErrorRecoveryTryToRecoverState"); - funcTable.Load(1389, "igErrorRecoveryTryToRecoverWindowState"); - funcTable.Load(1390, "igErrorCheckUsingSetCursorPosToExtendParentBoundaries"); - funcTable.Load(1391, "igErrorCheckEndFrameFinalizeErrorTooltip"); - funcTable.Load(1392, "igBeginErrorTooltip"); - funcTable.Load(1393, "igEndErrorTooltip"); - funcTable.Load(1394, "igDebugAllocHook"); - funcTable.Load(1395, "igDebugDrawCursorPos"); - funcTable.Load(1396, "igDebugDrawLineExtents"); - funcTable.Load(1397, "igDebugDrawItemRect"); - funcTable.Load(1398, "igDebugTextUnformattedWithLocateItem"); - funcTable.Load(1399, "igDebugLocateItem"); - funcTable.Load(1400, "igDebugLocateItemOnHover"); - funcTable.Load(1401, "igDebugLocateItemResolveWithLastItem"); - funcTable.Load(1402, "igDebugBreakClearData"); - funcTable.Load(1403, "igDebugBreakButton"); - funcTable.Load(1404, "igDebugBreakButtonTooltip"); - funcTable.Load(1405, "igShowFontAtlas"); - funcTable.Load(1406, "igDebugHookIdInfo"); - funcTable.Load(1407, "igDebugNodeColumns"); - funcTable.Load(1408, "igDebugNodeDockNode"); - funcTable.Load(1409, "igDebugNodeDrawList"); - funcTable.Load(1410, "igDebugNodeDrawCmdShowMeshAndBoundingBox"); - funcTable.Load(1411, "igDebugNodeFont"); - funcTable.Load(1412, "igDebugNodeFontGlyph"); - funcTable.Load(1413, "igDebugNodeStorage"); - funcTable.Load(1414, "igDebugNodeTabBar"); - funcTable.Load(1415, "igDebugNodeTable"); - funcTable.Load(1416, "igDebugNodeTableSettings"); - funcTable.Load(1417, "igDebugNodeInputTextState"); - funcTable.Load(1418, "igDebugNodeTypingSelectState"); - funcTable.Load(1419, "igDebugNodeMultiSelectState"); - funcTable.Load(1420, "igDebugNodeWindow"); - funcTable.Load(1421, "igDebugNodeWindowSettings"); - funcTable.Load(1422, "igDebugNodeWindowsList"); - funcTable.Load(1423, "igDebugNodeWindowsListByBeginStackParent"); - funcTable.Load(1424, "igDebugNodeViewport"); - funcTable.Load(1425, "igDebugNodePlatformMonitor"); - funcTable.Load(1426, "igDebugRenderKeyboardPreview"); - funcTable.Load(1427, "igDebugRenderViewportThumbnail"); - funcTable.Load(1428, "igImFontAtlasGetBuilderForStbTruetype"); - funcTable.Load(1429, "igImFontAtlasUpdateSourcesPointers"); - funcTable.Load(1430, "igImFontAtlasBuildInit"); - funcTable.Load(1431, "igImFontAtlasBuildSetupFont"); - funcTable.Load(1432, "igImFontAtlasBuildPackCustomRects"); - funcTable.Load(1433, "igImFontAtlasBuildFinish"); - funcTable.Load(1434, "igImFontAtlasBuildRender8bppRectFromString"); - funcTable.Load(1435, "igImFontAtlasBuildRender32bppRectFromString"); - funcTable.Load(1436, "igImFontAtlasBuildMultiplyCalcLookupTable"); - funcTable.Load(1437, "igImFontAtlasBuildMultiplyRectAlpha8"); - funcTable.Load(1438, "igImFontAtlasBuildGetOversampleFactors"); - funcTable.Load(1439, "igImFontAtlasGetMouseCursorTexData"); - funcTable.Load(1440, "igInputText"); - funcTable.Load(1441, "igInputTextMultiline"); - funcTable.Load(1442, "igInputTextWithHint"); - funcTable.Load(1443, "igImFormatString"); - funcTable.Load(1444, "igImFormatStringV"); - funcTable.Load(1445, "igImParseFormatTrimDecorations"); - funcTable.Load(1446, "igImTextStrToUtf8"); - funcTable.Load(1447, "igImTextStrFromUtf8"); - funcTable.Load(1448, "igGetKeyChordName"); - funcTable.Load(1449, "igDataTypeFormatString"); - funcTable.Load(1450, "igInputTextEx"); - funcTable.Load(1451, "igTempInputText"); - } - - public static void FreeApi() - { - funcTable.Free(); - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.000.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.000.cs deleted file mode 100644 index d1920cc6e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.000.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2* ImVec2Native() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[0])(); - #else - return (Vector2*)((delegate* unmanaged[Cdecl])funcTable[0])(); - #endif - } - - /// - /// To be documented. - /// - public static Vector2* ImVec2() - { - Vector2* ret = ImVec2Native(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(Vector2* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[1])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(Vector2* self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref Vector2 self) - { - fixed (Vector2* pself = &self) - { - DestroyNative((Vector2*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2* ImVec2Native(float x, float y) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[2])(x, y); - #else - return (Vector2*)((delegate* unmanaged[Cdecl])funcTable[2])(x, y); - #endif - } - - /// - /// To be documented. - /// - public static Vector2* ImVec2(float x, float y) - { - Vector2* ret = ImVec2Native(x, y); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector4* ImVec4Native() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[3])(); - #else - return (Vector4*)((delegate* unmanaged[Cdecl])funcTable[3])(); - #endif - } - - /// - /// To be documented. - /// - public static Vector4* ImVec4() - { - Vector4* ret = ImVec4Native(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(Vector4* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[4])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[4])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(Vector4* self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref Vector4 self) - { - fixed (Vector4* pself = &self) - { - DestroyNative((Vector4*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector4* ImVec4Native(float x, float y, float z, float w) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[5])(x, y, z, w); - #else - return (Vector4*)((delegate* unmanaged[Cdecl])funcTable[5])(x, y, z, w); - #endif - } - - /// - /// To be documented. - /// - public static Vector4* ImVec4(float x, float y, float z, float w) - { - Vector4* ret = ImVec4Native(x, y, z, w); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiContext* CreateContextNative(ImFontAtlas* sharedFontAtlas) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[6])(sharedFontAtlas); - #else - return (ImGuiContext*)((delegate* unmanaged[Cdecl])funcTable[6])((nint)sharedFontAtlas); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiContextPtr CreateContext(ImFontAtlasPtr sharedFontAtlas) - { - ImGuiContextPtr ret = CreateContextNative(sharedFontAtlas); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiContextPtr CreateContext() - { - ImGuiContextPtr ret = CreateContextNative((ImFontAtlas*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiContextPtr CreateContext(ref ImFontAtlas sharedFontAtlas) - { - fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas) - { - ImGuiContextPtr ret = CreateContextNative((ImFontAtlas*)psharedFontAtlas); - return ret; - } - } - - /// - /// NULL = destroy current context
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyContextNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[7])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[7])((nint)ctx); - #endif - } - - /// - /// NULL = destroy current context
- ///
- public static void DestroyContext(ImGuiContextPtr ctx) - { - DestroyContextNative(ctx); - } - - /// - /// NULL = destroy current context
- ///
- public static void DestroyContext() - { - DestroyContextNative((ImGuiContext*)(default)); - } - - /// - /// NULL = destroy current context
- ///
- public static void DestroyContext(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DestroyContextNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiContext* GetCurrentContextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[8])(); - #else - return (ImGuiContext*)((delegate* unmanaged[Cdecl])funcTable[8])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiContextPtr GetCurrentContext() - { - ImGuiContextPtr ret = GetCurrentContextNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentContextNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[9])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[9])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void SetCurrentContext(ImGuiContextPtr ctx) - { - SetCurrentContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void SetCurrentContext(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - SetCurrentContextNative((ImGuiContext*)pctx); - } - } - - /// - /// access the ImGuiIO structure (mousekeyboardgamepad inputs, time, various configuration optionsflags)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiIO* GetIONative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[10])(); - #else - return (ImGuiIO*)((delegate* unmanaged[Cdecl])funcTable[10])(); - #endif - } - - /// - /// access the ImGuiIO structure (mousekeyboardgamepad inputs, time, various configuration optionsflags)
- ///
- public static ImGuiIOPtr GetIO() - { - ImGuiIOPtr ret = GetIONative(); - return ret; - } - - /// - /// access the ImGuiPlatformIO structure (mostly hooksfunctions to connect to platformrenderer and OS Clipboard, IME etc.)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPlatformIO* GetPlatformIONative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[11])(); - #else - return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[11])(); - #endif - } - - /// - /// access the ImGuiPlatformIO structure (mostly hooksfunctions to connect to platformrenderer and OS Clipboard, IME etc.)
- ///
- public static ImGuiPlatformIOPtr GetPlatformIO() - { - ImGuiPlatformIOPtr ret = GetPlatformIONative(); - return ret; - } - - /// - /// access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStyle* GetStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[12])(); - #else - return (ImGuiStyle*)((delegate* unmanaged[Cdecl])funcTable[12])(); - #endif - } - - /// - /// access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame!
- ///
- public static ImGuiStylePtr GetStyle() - { - ImGuiStylePtr ret = GetStyleNative(); - return ret; - } - - /// - /// start a new Dear ImGui frame, you can submit any command from this point until Render()EndFrame().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NewFrameNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[13])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[13])(); - #endif - } - - /// - /// start a new Dear ImGui frame, you can submit any command from this point until Render()EndFrame().
- ///
- public static void NewFrame() - { - NewFrameNative(); - } - - /// - /// ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndFrameNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[14])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[14])(); - #endif - } - - /// - /// ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all!
- ///
- public static void EndFrame() - { - EndFrameNative(); - } - - /// - /// ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[15])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[15])(); - #endif - } - - /// - /// ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData().
- ///
- public static void Render() - { - RenderNative(); - } - - /// - /// valid after Render() and until the next call to NewFrame(). this is what you have to render.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawData* GetDrawDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[16])(); - #else - return (ImDrawData*)((delegate* unmanaged[Cdecl])funcTable[16])(); - #endif - } - - /// - /// valid after Render() and until the next call to NewFrame(). this is what you have to render.
- ///
- public static ImDrawDataPtr GetDrawData() - { - ImDrawDataPtr ret = GetDrawDataNative(); - return ret; - } - - /// - /// create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowDemoWindowNative(bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[17])(pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[17])((nint)pOpen); - #endif - } - - /// - /// create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!
- ///
- public static void ShowDemoWindow(bool* pOpen) - { - ShowDemoWindowNative(pOpen); - } - - /// - /// create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!
- ///
- public static void ShowDemoWindow() - { - ShowDemoWindowNative((bool*)(default)); - } - - /// - /// create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!
- ///
- public static void ShowDemoWindow(ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - ShowDemoWindowNative((bool*)ppOpen); - } - } - - /// - /// create MetricsDebugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowMetricsWindowNative(bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[18])(pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[18])((nint)pOpen); - #endif - } - - /// - /// create MetricsDebugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc.
- ///
- public static void ShowMetricsWindow(bool* pOpen) - { - ShowMetricsWindowNative(pOpen); - } - - /// - /// create MetricsDebugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc.
- ///
- public static void ShowMetricsWindow() - { - ShowMetricsWindowNative((bool*)(default)); - } - - /// - /// create MetricsDebugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc.
- ///
- public static void ShowMetricsWindow(ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - ShowMetricsWindowNative((bool*)ppOpen); - } - } - - /// - /// create Debug Log window. display a simplified log of important dear imgui events.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowDebugLogWindowNative(bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[19])(pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[19])((nint)pOpen); - #endif - } - - /// - /// create Debug Log window. display a simplified log of important dear imgui events.
- ///
- public static void ShowDebugLogWindow(bool* pOpen) - { - ShowDebugLogWindowNative(pOpen); - } - - /// - /// create Debug Log window. display a simplified log of important dear imgui events.
- ///
- public static void ShowDebugLogWindow() - { - ShowDebugLogWindowNative((bool*)(default)); - } - - /// - /// create Debug Log window. display a simplified log of important dear imgui events.
- ///
- public static void ShowDebugLogWindow(ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - ShowDebugLogWindowNative((bool*)ppOpen); - } - } - - /// - /// create Stack Tool window. hover items with mouse to query information about the source of their unique ID.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowIDStackToolWindowNative(bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[20])(pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[20])((nint)pOpen); - #endif - } - - /// - /// create Stack Tool window. hover items with mouse to query information about the source of their unique ID.
- ///
- public static void ShowIDStackToolWindow(bool* pOpen) - { - ShowIDStackToolWindowNative(pOpen); - } - - /// - /// create Stack Tool window. hover items with mouse to query information about the source of their unique ID.
- ///
- public static void ShowIDStackToolWindow() - { - ShowIDStackToolWindowNative((bool*)(default)); - } - - /// - /// create Stack Tool window. hover items with mouse to query information about the source of their unique ID.
- ///
- public static void ShowIDStackToolWindow(ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - ShowIDStackToolWindowNative((bool*)ppOpen); - } - } - - /// - /// create About window. display Dear ImGui version, credits and buildsystem information.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowAboutWindowNative(bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[21])(pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[21])((nint)pOpen); - #endif - } - - /// - /// create About window. display Dear ImGui version, credits and buildsystem information.
- ///
- public static void ShowAboutWindow(bool* pOpen) - { - ShowAboutWindowNative(pOpen); - } - - /// - /// create About window. display Dear ImGui version, credits and buildsystem information.
- ///
- public static void ShowAboutWindow() - { - ShowAboutWindowNative((bool*)(default)); - } - - /// - /// create About window. display Dear ImGui version, credits and buildsystem information.
- ///
- public static void ShowAboutWindow(ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - ShowAboutWindowNative((bool*)ppOpen); - } - } - - /// - /// add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowStyleEditorNative(ImGuiStyle* reference) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[22])(reference); - #else - ((delegate* unmanaged[Cdecl])funcTable[22])((nint)reference); - #endif - } - - /// - /// add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)
- ///
- public static void ShowStyleEditor(ImGuiStylePtr reference) - { - ShowStyleEditorNative(reference); - } - - /// - /// add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)
- ///
- public static void ShowStyleEditor() - { - ShowStyleEditorNative((ImGuiStyle*)(default)); - } - - /// - /// add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style)
- ///
- public static void ShowStyleEditor(ref ImGuiStyle reference) - { - fixed (ImGuiStyle* preference = &reference) - { - ShowStyleEditorNative((ImGuiStyle*)preference); - } - } - - /// - /// add style selector block (not a window), essentially a combo listing the default styles.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowStyleSelectorNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[23])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[23])((nint)label); - #endif - } - - /// - /// add style selector block (not a window), essentially a combo listing the default styles.
- ///
- public static bool ShowStyleSelector(byte* label) - { - byte ret = ShowStyleSelectorNative(label); - return ret != 0; - } - - /// - /// add style selector block (not a window), essentially a combo listing the default styles.
- ///
- public static bool ShowStyleSelector(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ShowStyleSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// add style selector block (not a window), essentially a combo listing the default styles.
- ///
- public static bool ShowStyleSelector(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ShowStyleSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// add style selector block (not a window), essentially a combo listing the default styles.
- ///
- public static bool ShowStyleSelector(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowStyleSelectorNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// add font selector block (not a window), essentially a combo listing the loaded fonts.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowFontSelectorNative(byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[24])(label); - #else - ((delegate* unmanaged[Cdecl])funcTable[24])((nint)label); - #endif - } - - /// - /// add font selector block (not a window), essentially a combo listing the loaded fonts.
- ///
- public static void ShowFontSelector(byte* label) - { - ShowFontSelectorNative(label); - } - - /// - /// add font selector block (not a window), essentially a combo listing the loaded fonts.
- ///
- public static void ShowFontSelector(ref byte label) - { - fixed (byte* plabel = &label) - { - ShowFontSelectorNative((byte*)plabel); - } - } - - /// - /// add font selector block (not a window), essentially a combo listing the loaded fonts.
- ///
- public static void ShowFontSelector(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - ShowFontSelectorNative((byte*)plabel); - } - } - - /// - /// add font selector block (not a window), essentially a combo listing the loaded fonts.
- ///
- public static void ShowFontSelector(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowFontSelectorNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// add basic helpinfo block (not a window): how to manipulate ImGui as an end-user (mousekeyboard controls).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowUserGuideNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[25])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[25])(); - #endif - } - - /// - /// add basic helpinfo block (not a window): how to manipulate ImGui as an end-user (mousekeyboard controls).
- ///
- public static void ShowUserGuide() - { - ShowUserGuideNative(); - } - - /// - /// get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetVersionNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[26])(); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[26])(); - #endif - } - - /// - /// get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp)
- ///
- public static byte* GetVersion() - { - byte* ret = GetVersionNative(); - return ret; - } - - /// - /// get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp)
- ///
- public static string GetVersionS() - { - string ret = Utils.DecodeStringUTF8(GetVersionNative()); - return ret; - } - - /// - /// new, recommended style (default)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsDarkNative(ImGuiStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[27])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[27])((nint)dst); - #endif - } - - /// - /// new, recommended style (default)
- ///
- public static void StyleColorsDark(ImGuiStylePtr dst) - { - StyleColorsDarkNative(dst); - } - - /// - /// new, recommended style (default)
- ///
- public static void StyleColorsDark() - { - StyleColorsDarkNative((ImGuiStyle*)(default)); - } - - /// - /// new, recommended style (default)
- ///
- public static void StyleColorsDark(ref ImGuiStyle dst) - { - fixed (ImGuiStyle* pdst = &dst) - { - StyleColorsDarkNative((ImGuiStyle*)pdst); - } - } - - /// - /// best used with borders and a custom, thicker font
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsLightNative(ImGuiStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[28])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[28])((nint)dst); - #endif - } - - /// - /// best used with borders and a custom, thicker font
- ///
- public static void StyleColorsLight(ImGuiStylePtr dst) - { - StyleColorsLightNative(dst); - } - - /// - /// best used with borders and a custom, thicker font
- ///
- public static void StyleColorsLight() - { - StyleColorsLightNative((ImGuiStyle*)(default)); - } - - /// - /// best used with borders and a custom, thicker font
- ///
- public static void StyleColorsLight(ref ImGuiStyle dst) - { - fixed (ImGuiStyle* pdst = &dst) - { - StyleColorsLightNative((ImGuiStyle*)pdst); - } - } - - /// - /// classic imgui style
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsClassicNative(ImGuiStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[29])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[29])((nint)dst); - #endif - } - - /// - /// classic imgui style
- ///
- public static void StyleColorsClassic(ImGuiStylePtr dst) - { - StyleColorsClassicNative(dst); - } - - /// - /// classic imgui style
- ///
- public static void StyleColorsClassic() - { - StyleColorsClassicNative((ImGuiStyle*)(default)); - } - - /// - /// classic imgui style
- ///
- public static void StyleColorsClassic(ref ImGuiStyle dst) - { - fixed (ImGuiStyle* pdst = &dst) - { - StyleColorsClassicNative((ImGuiStyle*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginNative(byte* name, bool* pOpen, ImGuiWindowFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[30])(name, pOpen, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[30])((nint)name, (nint)pOpen, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool Begin(byte* name, bool* pOpen, ImGuiWindowFlags flags) - { - byte ret = BeginNative(name, pOpen, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(byte* name, bool* pOpen) - { - byte ret = BeginNative(name, pOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(byte* name) - { - byte ret = BeginNative(name, (bool*)(default), (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(byte* name, ImGuiWindowFlags flags) - { - byte ret = BeginNative(name, (bool*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(ref byte name, bool* pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = &name) - { - byte ret = BeginNative((byte*)pname, pOpen, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ref byte name, bool* pOpen) - { - fixed (byte* pname = &name) - { - byte ret = BeginNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ref byte name) - { - fixed (byte* pname = &name) - { - byte ret = BeginNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ref byte name, ImGuiWindowFlags flags) - { - fixed (byte* pname = &name) - { - byte ret = BeginNative((byte*)pname, (bool*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ReadOnlySpan name, bool* pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = name) - { - byte ret = BeginNative((byte*)pname, pOpen, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ReadOnlySpan name, bool* pOpen) - { - fixed (byte* pname = name) - { - byte ret = BeginNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - byte ret = BeginNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ReadOnlySpan name, ImGuiWindowFlags flags) - { - fixed (byte* pname = name) - { - byte ret = BeginNative((byte*)pname, (bool*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(string name, bool* pOpen, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginNative(pStr0, pOpen, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(string name, bool* pOpen) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginNative(pStr0, pOpen, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginNative(pStr0, (bool*)(default), (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(string name, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginNative(pStr0, (bool*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Begin(byte* name, ref bool pOpen, ImGuiWindowFlags flags) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative(name, (bool*)ppOpen, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(byte* name, ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative(name, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(ref byte name, ref bool pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = &name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative((byte*)pname, (bool*)ppOpen, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Begin(ref byte name, ref bool pOpen) - { - fixed (byte* pname = &name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Begin(ReadOnlySpan name, ref bool pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative((byte*)pname, (bool*)ppOpen, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Begin(ReadOnlySpan name, ref bool pOpen) - { - fixed (byte* pname = name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Begin(string name, ref bool pOpen, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative(pStr0, (bool*)ppOpen, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Begin(string name, ref bool pOpen) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginNative(pStr0, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[31])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[31])(); - #endif - } - - /// - /// To be documented. - /// - public static void End() - { - EndNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginChildNative(byte* strId, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[32])(strId, size, childFlags, windowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[32])((nint)strId, size, childFlags, windowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(strId, size, childFlags, windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, Vector2 size, ImGuiChildFlags childFlags) - { - byte ret = BeginChildNative(strId, size, childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, Vector2 size) - { - byte ret = BeginChildNative(strId, size, (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId) - { - byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, ImGuiChildFlags childFlags) - { - byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, Vector2 size, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(strId, size, (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(byte* strId, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(strId, (Vector2)(new Vector2(0,0)), childFlags, windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, childFlags, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, Vector2 size, ImGuiChildFlags childFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, Vector2 size) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, ImGuiChildFlags childFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, Vector2 size, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ref byte strId, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), childFlags, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, childFlags, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, Vector2 size, ImGuiChildFlags childFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, Vector2 size) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, ImGuiChildFlags childFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, Vector2 size, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, size, (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(ReadOnlySpan strId, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginChildNative((byte*)pstrId, (Vector2)(new Vector2(0,0)), childFlags, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, size, childFlags, windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, Vector2 size, ImGuiChildFlags childFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, size, childFlags, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, size, (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, ImGuiChildFlags childFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), childFlags, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, Vector2 size, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, size, (ImGuiChildFlags)(0), windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(string strId, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildNative(pStr0, (Vector2)(new Vector2(0,0)), childFlags, windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginChildNative(uint id, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[33])(id, size, childFlags, windowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[33])(id, size, childFlags, windowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, Vector2 size, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(id, size, childFlags, windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, Vector2 size, ImGuiChildFlags childFlags) - { - byte ret = BeginChildNative(id, size, childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, Vector2 size) - { - byte ret = BeginChildNative(id, size, (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id) - { - byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, ImGuiChildFlags childFlags) - { - byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), childFlags, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, Vector2 size, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(id, size, (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), (ImGuiChildFlags)(0), windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChild(uint id, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildNative(id, (Vector2)(new Vector2(0,0)), childFlags, windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndChildNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[34])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[34])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndChild() - { - EndChildNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowAppearingNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[35])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[35])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowAppearing() - { - byte ret = IsWindowAppearingNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowCollapsedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[36])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[36])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowCollapsed() - { - byte ret = IsWindowCollapsedNative(); - return ret != 0; - } - - /// - /// is current window focused? or its rootchild, depending on flags. see flags for options.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowFocusedNative(ImGuiFocusedFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[37])(flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[37])(flags); - #endif - } - - /// - /// is current window focused? or its rootchild, depending on flags. see flags for options.
- ///
- public static bool IsWindowFocused(ImGuiFocusedFlags flags) - { - byte ret = IsWindowFocusedNative(flags); - return ret != 0; - } - - /// - /// is current window focused? or its rootchild, depending on flags. see flags for options.
- ///
- public static bool IsWindowFocused() - { - byte ret = IsWindowFocusedNative((ImGuiFocusedFlags)(0)); - return ret != 0; - } - - /// - /// is current window hovered and hoverable (e.g. not blocked by a popupmodal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mousekeyboard to Dear ImGui or my application?" for details.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowHoveredNative(ImGuiHoveredFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[38])(flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[38])(flags); - #endif - } - - /// - /// is current window hovered and hoverable (e.g. not blocked by a popupmodal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mousekeyboard to Dear ImGui or my application?" for details.
- ///
- public static bool IsWindowHovered(ImGuiHoveredFlags flags) - { - byte ret = IsWindowHoveredNative(flags); - return ret != 0; - } - - /// - /// is current window hovered and hoverable (e.g. not blocked by a popupmodal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mousekeyboard to Dear ImGui or my application?" for details.
- ///
- public static bool IsWindowHovered() - { - byte ret = IsWindowHoveredNative((ImGuiHoveredFlags)(0)); - return ret != 0; - } - - /// - /// get draw list associated to the current window, to append your own drawing primitives
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetWindowDrawListNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[39])(); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[39])(); - #endif - } - - /// - /// get draw list associated to the current window, to append your own drawing primitives
- ///
- public static ImDrawListPtr GetWindowDrawList() - { - ImDrawListPtr ret = GetWindowDrawListNative(); - return ret; - } - - /// - /// get DPI scale currently associated to the current window's viewport.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetWindowDpiScaleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[40])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[40])(); - #endif - } - - /// - /// get DPI scale currently associated to the current window's viewport.
- ///
- public static float GetWindowDpiScale() - { - float ret = GetWindowDpiScaleNative(); - return ret; - } - - /// - /// get current window position in screen space (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetWindowPosNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[41])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[41])((nint)pOut); - #endif - } - - /// - /// get current window position in screen space (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- public static Vector2 GetWindowPos() - { - Vector2 ret; - GetWindowPosNative(&ret); - return ret; - } - - /// - /// get current window position in screen space (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- public static void GetWindowPos(Vector2* pOut) - { - GetWindowPosNative(pOut); - } - - /// - /// get current window position in screen space (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- public static void GetWindowPos(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetWindowPosNative((Vector2*)ppOut); - } - } - - /// - /// get current window size (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetWindowSizeNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[42])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[42])((nint)pOut); - #endif - } - - /// - /// get current window size (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- public static Vector2 GetWindowSize() - { - Vector2 ret; - GetWindowSizeNative(&ret); - return ret; - } - - /// - /// get current window size (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- public static void GetWindowSize(Vector2* pOut) - { - GetWindowSizeNative(pOut); - } - - /// - /// get current window size (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead)
- ///
- public static void GetWindowSize(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetWindowSizeNative((Vector2*)ppOut); - } - } - - /// - /// get current window width (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().x.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetWindowWidthNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[43])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[43])(); - #endif - } - - /// - /// get current window width (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().x.
- ///
- public static float GetWindowWidth() - { - float ret = GetWindowWidthNative(); - return ret; - } - - /// - /// get current window height (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().y.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetWindowHeightNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[44])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[44])(); - #endif - } - - /// - /// get current window height (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().y.
- ///
- public static float GetWindowHeight() - { - float ret = GetWindowHeightNative(); - return ret; - } - - /// - /// get viewport currently associated to the current window.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewport* GetWindowViewportNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[45])(); - #else - return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[45])(); - #endif - } - - /// - /// get viewport currently associated to the current window.
- ///
- public static ImGuiViewportPtr GetWindowViewport() - { - ImGuiViewportPtr ret = GetWindowViewportNative(); - return ret; - } - - /// - /// set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowPosNative(Vector2 pos, ImGuiCond cond, Vector2 pivot) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[46])(pos, cond, pivot); - #else - ((delegate* unmanaged[Cdecl])funcTable[46])(pos, cond, pivot); - #endif - } - - /// - /// set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.
- ///
- public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot) - { - SetNextWindowPosNative(pos, cond, pivot); - } - - /// - /// set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.
- ///
- public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond) - { - SetNextWindowPosNative(pos, cond, (Vector2)(new Vector2(0,0))); - } - - /// - /// set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.
- ///
- public static void SetNextWindowPos(Vector2 pos) - { - SetNextWindowPosNative(pos, (ImGuiCond)(0), (Vector2)(new Vector2(0,0))); - } - - /// - /// set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc.
- ///
- public static void SetNextWindowPos(Vector2 pos, Vector2 pivot) - { - SetNextWindowPosNative(pos, (ImGuiCond)(0), pivot); - } - - /// - /// set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowSizeNative(Vector2 size, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[47])(size, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[47])(size, cond); - #endif - } - - /// - /// set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()
- ///
- public static void SetNextWindowSize(Vector2 size, ImGuiCond cond) - { - SetNextWindowSizeNative(size, cond); - } - - /// - /// set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin()
- ///
- public static void SetNextWindowSize(Vector2 size) - { - SetNextWindowSizeNative(size, (ImGuiCond)(0)); - } - - /// - /// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowSizeConstraintsNative(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, void>)funcTable[48])(sizeMin, sizeMax, (delegate*)Utils.GetFunctionPointerForDelegate(customCallback), customCallbackData); - #else - ((delegate* unmanaged[Cdecl])funcTable[48])(sizeMin, sizeMax, (nint)Utils.GetFunctionPointerForDelegate(customCallback), (nint)customCallbackData); - #endif - } - - /// - /// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints.
- ///
- public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData) - { - SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, customCallback, customCallbackData); - } - - /// - /// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints.
- ///
- public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback) - { - SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, customCallback, (void*)(default)); - } - - /// - /// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints.
- ///
- public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax) - { - SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, (ImGuiSizeCallback)(default), (void*)(default)); - } - - /// - /// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints.
- ///
- public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, void* customCallbackData) - { - SetNextWindowSizeConstraintsNative(sizeMin, sizeMax, (ImGuiSizeCallback)(default), customCallbackData); - } - - /// - /// set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowContentSizeNative(Vector2 size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[49])(size); - #else - ((delegate* unmanaged[Cdecl])funcTable[49])(size); - #endif - } - - /// - /// set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin()
- ///
- public static void SetNextWindowContentSize(Vector2 size) - { - SetNextWindowContentSizeNative(size); - } - - /// - /// set next window collapsed state. call before Begin()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowCollapsedNative(byte collapsed, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[50])(collapsed, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[50])(collapsed, cond); - #endif - } - - /// - /// set next window collapsed state. call before Begin()
- ///
- public static void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) - { - SetNextWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, cond); - } - - /// - /// set next window collapsed state. call before Begin()
- ///
- public static void SetNextWindowCollapsed(bool collapsed) - { - SetNextWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - - /// - /// set next window to be focused top-most. call before Begin()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowFocusNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[51])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[51])(); - #endif - } - - /// - /// set next window to be focused top-most. call before Begin()
- ///
- public static void SetNextWindowFocus() - { - SetNextWindowFocusNative(); - } - - /// - /// set next window scrolling value (use < 0.0f to not affect a given axis).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowScrollNative(Vector2 scroll) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[52])(scroll); - #else - ((delegate* unmanaged[Cdecl])funcTable[52])(scroll); - #endif - } - - /// - /// set next window scrolling value (use < 0.0f to not affect a given axis).
- ///
- public static void SetNextWindowScroll(Vector2 scroll) - { - SetNextWindowScrollNative(scroll); - } - - /// - /// set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBgChildBgPopupBg. you may also use ImGuiWindowFlags_NoBackground.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowBgAlphaNative(float alpha) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[53])(alpha); - #else - ((delegate* unmanaged[Cdecl])funcTable[53])(alpha); - #endif - } - - /// - /// set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBgChildBgPopupBg. you may also use ImGuiWindowFlags_NoBackground.
- ///
- public static void SetNextWindowBgAlpha(float alpha) - { - SetNextWindowBgAlphaNative(alpha); - } - - /// - /// set next window viewport
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowViewportNative(uint viewportId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[54])(viewportId); - #else - ((delegate* unmanaged[Cdecl])funcTable[54])(viewportId); - #endif - } - - /// - /// set next window viewport
- ///
- public static void SetNextWindowViewport(uint viewportId) - { - SetNextWindowViewportNative(viewportId); - } - - /// - /// (not recommended) set current window position - call within Begin()End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowPosNative(Vector2 pos, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[55])(pos, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[55])(pos, cond); - #endif - } - - /// - /// (not recommended) set current window position - call within Begin()End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects.
- ///
- public static void SetWindowPos(Vector2 pos, ImGuiCond cond) - { - SetWindowPosNative(pos, cond); - } - - /// - /// (not recommended) set current window position - call within Begin()End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects.
- ///
- public static void SetWindowPos(Vector2 pos) - { - SetWindowPosNative(pos, (ImGuiCond)(0)); - } - - /// - /// (not recommended) set current window size - call within Begin()End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowSizeNative(Vector2 size, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[56])(size, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[56])(size, cond); - #endif - } - - /// - /// (not recommended) set current window size - call within Begin()End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.
- ///
- public static void SetWindowSize(Vector2 size, ImGuiCond cond) - { - SetWindowSizeNative(size, cond); - } - - /// - /// (not recommended) set current window size - call within Begin()End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.
- ///
- public static void SetWindowSize(Vector2 size) - { - SetWindowSizeNative(size, (ImGuiCond)(0)); - } - - /// - /// (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowCollapsedNative(byte collapsed, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[57])(collapsed, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[57])(collapsed, cond); - #endif - } - - /// - /// (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed().
- ///
- public static void SetWindowCollapsed(bool collapsed, ImGuiCond cond) - { - SetWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, cond); - } - - /// - /// (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed().
- ///
- public static void SetWindowCollapsed(bool collapsed) - { - SetWindowCollapsedNative(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - - /// - /// (not recommended) set current window to be focused top-most. prefer using SetNextWindowFocus().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowFocusNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[58])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[58])(); - #endif - } - - /// - /// (not recommended) set current window to be focused top-most. prefer using SetNextWindowFocus().
- ///
- public static void SetWindowFocus() - { - SetWindowFocusNative(); - } - - /// - /// [OBSOLETE] set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowFontScaleNative(float scale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[59])(scale); - #else - ((delegate* unmanaged[Cdecl])funcTable[59])(scale); - #endif - } - - /// - /// [OBSOLETE] set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes().
- ///
- public static void SetWindowFontScale(float scale) - { - SetWindowFontScaleNative(scale); - } - - /// - /// (not recommended) set current window position - call within Begin()End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowPosNative(byte* name, Vector2 pos, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[60])(name, pos, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[60])((nint)name, pos, cond); - #endif - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(byte* name, Vector2 pos, ImGuiCond cond) - { - SetWindowPosNative(name, pos, cond); - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(byte* name, Vector2 pos) - { - SetWindowPosNative(name, pos, (ImGuiCond)(0)); - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(ref byte name, Vector2 pos, ImGuiCond cond) - { - fixed (byte* pname = &name) - { - SetWindowPosNative((byte*)pname, pos, cond); - } - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(ref byte name, Vector2 pos) - { - fixed (byte* pname = &name) - { - SetWindowPosNative((byte*)pname, pos, (ImGuiCond)(0)); - } - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(ReadOnlySpan name, Vector2 pos, ImGuiCond cond) - { - fixed (byte* pname = name) - { - SetWindowPosNative((byte*)pname, pos, cond); - } - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(ReadOnlySpan name, Vector2 pos) - { - fixed (byte* pname = name) - { - SetWindowPosNative((byte*)pname, pos, (ImGuiCond)(0)); - } - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(string name, Vector2 pos, ImGuiCond cond) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowPosNative(pStr0, pos, cond); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// set named window position.
- ///
- public static void SetWindowPos(string name, Vector2 pos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowPosNative(pStr0, pos, (ImGuiCond)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// (not recommended) set current window size - call within Begin()End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowSizeNative(byte* name, Vector2 size, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[61])(name, size, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[61])((nint)name, size, cond); - #endif - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(byte* name, Vector2 size, ImGuiCond cond) - { - SetWindowSizeNative(name, size, cond); - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(byte* name, Vector2 size) - { - SetWindowSizeNative(name, size, (ImGuiCond)(0)); - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(ref byte name, Vector2 size, ImGuiCond cond) - { - fixed (byte* pname = &name) - { - SetWindowSizeNative((byte*)pname, size, cond); - } - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(ref byte name, Vector2 size) - { - fixed (byte* pname = &name) - { - SetWindowSizeNative((byte*)pname, size, (ImGuiCond)(0)); - } - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(ReadOnlySpan name, Vector2 size, ImGuiCond cond) - { - fixed (byte* pname = name) - { - SetWindowSizeNative((byte*)pname, size, cond); - } - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(ReadOnlySpan name, Vector2 size) - { - fixed (byte* pname = name) - { - SetWindowSizeNative((byte*)pname, size, (ImGuiCond)(0)); - } - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(string name, Vector2 size, ImGuiCond cond) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowSizeNative(pStr0, size, cond); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// set named window size. set axis to 0.0f to force an auto-fit on this axis.
- ///
- public static void SetWindowSize(string name, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowSizeNative(pStr0, size, (ImGuiCond)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowCollapsedNative(byte* name, byte collapsed, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[62])(name, collapsed, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[62])((nint)name, collapsed, cond); - #endif - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(byte* name, bool collapsed, ImGuiCond cond) - { - SetWindowCollapsedNative(name, collapsed ? (byte)1 : (byte)0, cond); - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(byte* name, bool collapsed) - { - SetWindowCollapsedNative(name, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(ref byte name, bool collapsed, ImGuiCond cond) - { - fixed (byte* pname = &name) - { - SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, cond); - } - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(ref byte name, bool collapsed) - { - fixed (byte* pname = &name) - { - SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed, ImGuiCond cond) - { - fixed (byte* pname = name) - { - SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, cond); - } - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(ReadOnlySpan name, bool collapsed) - { - fixed (byte* pname = name) - { - SetWindowCollapsedNative((byte*)pname, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(string name, bool collapsed, ImGuiCond cond) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowCollapsedNative(pStr0, collapsed ? (byte)1 : (byte)0, cond); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// set named window collapsed state
- ///
- public static void SetWindowCollapsed(string name, bool collapsed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowCollapsedNative(pStr0, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// (not recommended) set current window to be focused top-most. prefer using SetNextWindowFocus().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowFocusNative(byte* name) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[63])(name); - #else - ((delegate* unmanaged[Cdecl])funcTable[63])((nint)name); - #endif - } - - /// - /// set named window to be focused top-most. use NULL to remove focus.
- ///
- public static void SetWindowFocus(byte* name) - { - SetWindowFocusNative(name); - } - - /// - /// set named window to be focused top-most. use NULL to remove focus.
- ///
- public static void SetWindowFocus(ref byte name) - { - fixed (byte* pname = &name) - { - SetWindowFocusNative((byte*)pname); - } - } - - /// - /// set named window to be focused top-most. use NULL to remove focus.
- ///
- public static void SetWindowFocus(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - SetWindowFocusNative((byte*)pname); - } - } - - /// - /// set named window to be focused top-most. use NULL to remove focus.
- ///
- public static void SetWindowFocus(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetWindowFocusNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// get scrolling amount [0 .. GetScrollMaxX()]
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetScrollXNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[64])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[64])(); - #endif - } - - /// - /// get scrolling amount [0 .. GetScrollMaxX()]
- ///
- public static float GetScrollX() - { - float ret = GetScrollXNative(); - return ret; - } - - /// - /// get scrolling amount [0 .. GetScrollMaxY()]
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetScrollYNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[65])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[65])(); - #endif - } - - /// - /// get scrolling amount [0 .. GetScrollMaxY()]
- ///
- public static float GetScrollY() - { - float ret = GetScrollYNative(); - return ret; - } - - /// - /// set scrolling amount [0 .. GetScrollMaxX()]
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollXNative(float scrollX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[66])(scrollX); - #else - ((delegate* unmanaged[Cdecl])funcTable[66])(scrollX); - #endif - } - - /// - /// set scrolling amount [0 .. GetScrollMaxX()]
- ///
- public static void SetScrollX(float scrollX) - { - SetScrollXNative(scrollX); - } - - /// - /// set scrolling amount [0 .. GetScrollMaxY()]
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollYNative(float scrollY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[67])(scrollY); - #else - ((delegate* unmanaged[Cdecl])funcTable[67])(scrollY); - #endif - } - - /// - /// set scrolling amount [0 .. GetScrollMaxY()]
- ///
- public static void SetScrollY(float scrollY) - { - SetScrollYNative(scrollY); - } - - /// - /// get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetScrollMaxXNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[68])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[68])(); - #endif - } - - /// - /// get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x
- ///
- public static float GetScrollMaxX() - { - float ret = GetScrollMaxXNative(); - return ret; - } - - /// - /// get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetScrollMaxYNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[69])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[69])(); - #endif - } - - /// - /// get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y
- ///
- public static float GetScrollMaxY() - { - float ret = GetScrollMaxYNative(); - return ret; - } - - /// - /// adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "defaultcurrent item" visible, consider using SetItemDefaultFocus() instead.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollHereXNative(float centerXRatio) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[70])(centerXRatio); - #else - ((delegate* unmanaged[Cdecl])funcTable[70])(centerXRatio); - #endif - } - - /// - /// adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "defaultcurrent item" visible, consider using SetItemDefaultFocus() instead.
- ///
- public static void SetScrollHereX(float centerXRatio) - { - SetScrollHereXNative(centerXRatio); - } - - /// - /// adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "defaultcurrent item" visible, consider using SetItemDefaultFocus() instead.
- ///
- public static void SetScrollHereX() - { - SetScrollHereXNative((float)(0.5f)); - } - - /// - /// adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "defaultcurrent item" visible, consider using SetItemDefaultFocus() instead.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollHereYNative(float centerYRatio) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[71])(centerYRatio); - #else - ((delegate* unmanaged[Cdecl])funcTable[71])(centerYRatio); - #endif - } - - /// - /// adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "defaultcurrent item" visible, consider using SetItemDefaultFocus() instead.
- ///
- public static void SetScrollHereY(float centerYRatio) - { - SetScrollHereYNative(centerYRatio); - } - - /// - /// adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "defaultcurrent item" visible, consider using SetItemDefaultFocus() instead.
- ///
- public static void SetScrollHereY() - { - SetScrollHereYNative((float)(0.5f)); - } - - /// - /// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollFromPosXNative(float localX, float centerXRatio) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[72])(localX, centerXRatio); - #else - ((delegate* unmanaged[Cdecl])funcTable[72])(localX, centerXRatio); - #endif - } - - /// - /// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
- ///
- public static void SetScrollFromPosX(float localX, float centerXRatio) - { - SetScrollFromPosXNative(localX, centerXRatio); - } - - /// - /// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
- ///
- public static void SetScrollFromPosX(float localX) - { - SetScrollFromPosXNative(localX, (float)(0.5f)); - } - - /// - /// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollFromPosYNative(float localY, float centerYRatio) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[73])(localY, centerYRatio); - #else - ((delegate* unmanaged[Cdecl])funcTable[73])(localY, centerYRatio); - #endif - } - - /// - /// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
- ///
- public static void SetScrollFromPosY(float localY, float centerYRatio) - { - SetScrollFromPosYNative(localY, centerYRatio); - } - - /// - /// adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.
- ///
- public static void SetScrollFromPosY(float localY) - { - SetScrollFromPosYNative(localY, (float)(0.5f)); - } - - /// - /// use NULL as a shortcut to push default font
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushFontNative(ImFont* font) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[74])(font); - #else - ((delegate* unmanaged[Cdecl])funcTable[74])((nint)font); - #endif - } - - /// - /// use NULL as a shortcut to push default font
- ///
- public static void PushFont(ImFontPtr font) - { - PushFontNative(font); - } - - /// - /// use NULL as a shortcut to push default font
- ///
- public static void PushFont(ref ImFont font) - { - fixed (ImFont* pfont = &font) - { - PushFontNative((ImFont*)pfont); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopFontNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[75])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[75])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopFont() - { - PopFontNative(); - } - - /// - /// modify a style color. always use this if you modify the style after NewFrame().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleColorNative(ImGuiCol idx, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[76])(idx, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[76])(idx, col); - #endif - } - - /// - /// modify a style color. always use this if you modify the style after NewFrame().
- ///
- public static void PushStyleColor(ImGuiCol idx, uint col) - { - PushStyleColorNative(idx, col); - } - - /// - /// modify a style color. always use this if you modify the style after NewFrame().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleColorNative(ImGuiCol idx, Vector4 col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[77])(idx, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[77])(idx, col); - #endif - } - - /// - /// modify a style color. always use this if you modify the style after NewFrame().
- ///
- public static void PushStyleColor(ImGuiCol idx, Vector4 col) - { - PushStyleColorNative(idx, col); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleColorNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[78])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[78])(count); - #endif - } - - /// - /// To be documented. - /// - public static void PopStyleColor(int count) - { - PopStyleColorNative(count); - } - - /// - /// To be documented. - /// - public static void PopStyleColor() - { - PopStyleColorNative((int)(1)); - } - - /// - /// modify a style float variable. always use this if you modify the style after NewFrame()!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImGuiStyleVar idx, float val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[79])(idx, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[79])(idx, val); - #endif - } - - /// - /// modify a style float variable. always use this if you modify the style after NewFrame()!
- ///
- public static void PushStyleVar(ImGuiStyleVar idx, float val) - { - PushStyleVarNative(idx, val); - } - - /// - /// modify a style float variable. always use this if you modify the style after NewFrame()!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImGuiStyleVar idx, Vector2 val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[80])(idx, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[80])(idx, val); - #endif - } - - /// - /// modify a style ImVec2 variable. "
- ///
- public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) - { - PushStyleVarNative(idx, val); - } - - /// - /// modify X component of a style ImVec2 variable. "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarXNative(ImGuiStyleVar idx, float valX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[81])(idx, valX); - #else - ((delegate* unmanaged[Cdecl])funcTable[81])(idx, valX); - #endif - } - - /// - /// modify X component of a style ImVec2 variable. "
- ///
- public static void PushStyleVarX(ImGuiStyleVar idx, float valX) - { - PushStyleVarXNative(idx, valX); - } - - /// - /// modify Y component of a style ImVec2 variable. "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarYNative(ImGuiStyleVar idx, float valY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[82])(idx, valY); - #else - ((delegate* unmanaged[Cdecl])funcTable[82])(idx, valY); - #endif - } - - /// - /// modify Y component of a style ImVec2 variable. "
- ///
- public static void PushStyleVarY(ImGuiStyleVar idx, float valY) - { - PushStyleVarYNative(idx, valY); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleVarNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[83])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[83])(count); - #endif - } - - /// - /// To be documented. - /// - public static void PopStyleVar(int count) - { - PopStyleVarNative(count); - } - - /// - /// To be documented. - /// - public static void PopStyleVar() - { - PopStyleVarNative((int)(1)); - } - - /// - /// modify specified shared item flag, e.g. PushItemFlag(ImGuiItemFlags_NoTabStop, true)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushItemFlagNative(ImGuiItemFlags option, byte enabled) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[84])(option, enabled); - #else - ((delegate* unmanaged[Cdecl])funcTable[84])(option, enabled); - #endif - } - - /// - /// modify specified shared item flag, e.g. PushItemFlag(ImGuiItemFlags_NoTabStop, true)
- ///
- public static void PushItemFlag(ImGuiItemFlags option, bool enabled) - { - PushItemFlagNative(option, enabled ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopItemFlagNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[85])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[85])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopItemFlag() - { - PopItemFlagNative(); - } - - /// - /// push width of items for common large "item+label" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushItemWidthNative(float itemWidth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[86])(itemWidth); - #else - ((delegate* unmanaged[Cdecl])funcTable[86])(itemWidth); - #endif - } - - /// - /// push width of items for common large "item+label" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side).
- ///
- public static void PushItemWidth(float itemWidth) - { - PushItemWidthNative(itemWidth); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopItemWidthNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[87])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[87])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopItemWidth() - { - PopItemWidthNative(); - } - - /// - /// set width of the _next_ common large "item+label" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemWidthNative(float itemWidth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[88])(itemWidth); - #else - ((delegate* unmanaged[Cdecl])funcTable[88])(itemWidth); - #endif - } - - /// - /// set width of the _next_ common large "item+label" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side)
- ///
- public static void SetNextItemWidth(float itemWidth) - { - SetNextItemWidthNative(itemWidth); - } - - /// - /// width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float CalcItemWidthNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[89])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[89])(); - #endif - } - - /// - /// width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions.
- ///
- public static float CalcItemWidth() - { - float ret = CalcItemWidthNative(); - return ret; - } - - /// - /// push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushTextWrapPosNative(float wrapLocalPosX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[90])(wrapLocalPosX); - #else - ((delegate* unmanaged[Cdecl])funcTable[90])(wrapLocalPosX); - #endif - } - - /// - /// push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space
- ///
- public static void PushTextWrapPos(float wrapLocalPosX) - { - PushTextWrapPosNative(wrapLocalPosX); - } - - /// - /// push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space
- ///
- public static void PushTextWrapPos() - { - PushTextWrapPosNative((float)(0.0f)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopTextWrapPosNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[91])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[91])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopTextWrapPos() - { - PopTextWrapPosNative(); - } - - /// - /// get current font
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* GetFontNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[92])(); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[92])(); - #endif - } - - /// - /// get current font
- ///
- public static ImFontPtr GetFont() - { - ImFontPtr ret = GetFontNative(); - return ret; - } - - /// - /// get current font size (= height in pixels) of current font with current scale applied
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetFontSizeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[93])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[93])(); - #endif - } - - /// - /// get current font size (= height in pixels) of current font with current scale applied
- ///
- public static float GetFontSize() - { - float ret = GetFontSizeNative(); - return ret; - } - - /// - /// get UV coordinate for a white pixel, useful to draw custom shapes via the ImDrawList API
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetFontTexUvWhitePixelNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[94])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[94])((nint)pOut); - #endif - } - - /// - /// get UV coordinate for a white pixel, useful to draw custom shapes via the ImDrawList API
- ///
- public static Vector2 GetFontTexUvWhitePixel() - { - Vector2 ret; - GetFontTexUvWhitePixelNative(&ret); - return ret; - } - - /// - /// get UV coordinate for a white pixel, useful to draw custom shapes via the ImDrawList API
- ///
- public static void GetFontTexUvWhitePixel(Vector2* pOut) - { - GetFontTexUvWhitePixelNative(pOut); - } - - /// - /// get UV coordinate for a white pixel, useful to draw custom shapes via the ImDrawList API
- ///
- public static void GetFontTexUvWhitePixel(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetFontTexUvWhitePixelNative((Vector2*)ppOut); - } - } - - /// - /// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetColorU32Native(ImGuiCol idx, float alphaMul) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[95])(idx, alphaMul); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[95])(idx, alphaMul); - #endif - } - - /// - /// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList
- ///
- public static uint GetColorU32(ImGuiCol idx, float alphaMul) - { - uint ret = GetColorU32Native(idx, alphaMul); - return ret; - } - - /// - /// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList
- ///
- public static uint GetColorU32(ImGuiCol idx) - { - uint ret = GetColorU32Native(idx, (float)(1.0f)); - return ret; - } - - /// - /// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetColorU32Native(Vector4 col) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[96])(col); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[96])(col); - #endif - } - - /// - /// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList
- ///
- public static uint GetColorU32(Vector4 col) - { - uint ret = GetColorU32Native(col); - return ret; - } - - /// - /// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetColorU32Native(uint col, float alphaMul) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[97])(col, alphaMul); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[97])(col, alphaMul); - #endif - } - - /// - /// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList
- ///
- public static uint GetColorU32(uint col, float alphaMul) - { - uint ret = GetColorU32Native(col, alphaMul); - return ret; - } - - /// - /// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList
- ///
- public static uint GetColorU32(uint col) - { - uint ret = GetColorU32Native(col, (float)(1.0f)); - return ret; - } - - /// - /// retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector4* GetStyleColorVec4Native(ImGuiCol idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[98])(idx); - #else - return (Vector4*)((delegate* unmanaged[Cdecl])funcTable[98])(idx); - #endif - } - - /// - /// retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in.
- ///
- public static Vector4* GetStyleColorVec4(ImGuiCol idx) - { - Vector4* ret = GetStyleColorVec4Native(idx); - return ret; - } - - /// - /// cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetCursorScreenPosNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[99])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[99])((nint)pOut); - #endif - } - - /// - /// cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API).
- ///
- public static Vector2 GetCursorScreenPos() - { - Vector2 ret; - GetCursorScreenPosNative(&ret); - return ret; - } - - /// - /// cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API).
- ///
- public static void GetCursorScreenPos(Vector2* pOut) - { - GetCursorScreenPosNative(pOut); - } - - /// - /// cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API).
- ///
- public static void GetCursorScreenPos(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetCursorScreenPosNative((Vector2*)ppOut); - } - } - - /// - /// cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCursorScreenPosNative(Vector2 pos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[100])(pos); - #else - ((delegate* unmanaged[Cdecl])funcTable[100])(pos); - #endif - } - - /// - /// cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND.
- ///
- public static void SetCursorScreenPos(Vector2 pos) - { - SetCursorScreenPosNative(pos); - } - - /// - /// available space from current position. THIS IS YOUR BEST FRIEND.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetContentRegionAvailNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[101])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[101])((nint)pOut); - #endif - } - - /// - /// available space from current position. THIS IS YOUR BEST FRIEND.
- ///
- public static Vector2 GetContentRegionAvail() - { - Vector2 ret; - GetContentRegionAvailNative(&ret); - return ret; - } - - /// - /// available space from current position. THIS IS YOUR BEST FRIEND.
- ///
- public static void GetContentRegionAvail(Vector2* pOut) - { - GetContentRegionAvailNative(pOut); - } - - /// - /// available space from current position. THIS IS YOUR BEST FRIEND.
- ///
- public static void GetContentRegionAvail(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetContentRegionAvailNative((Vector2*)ppOut); - } - } - - /// - /// [window-local] cursor position in window-local coordinates. This is not your best friend.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetCursorPosNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[102])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[102])((nint)pOut); - #endif - } - - /// - /// [window-local] cursor position in window-local coordinates. This is not your best friend.
- ///
- public static Vector2 GetCursorPos() - { - Vector2 ret; - GetCursorPosNative(&ret); - return ret; - } - - /// - /// [window-local] cursor position in window-local coordinates. This is not your best friend.
- ///
- public static void GetCursorPos(Vector2* pOut) - { - GetCursorPosNative(pOut); - } - - /// - /// [window-local] cursor position in window-local coordinates. This is not your best friend.
- ///
- public static void GetCursorPos(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetCursorPosNative((Vector2*)ppOut); - } - } - - /// - /// [window-local] "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetCursorPosXNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[103])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[103])(); - #endif - } - - /// - /// [window-local] "
- ///
- public static float GetCursorPosX() - { - float ret = GetCursorPosXNative(); - return ret; - } - - /// - /// [window-local] "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetCursorPosYNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[104])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[104])(); - #endif - } - - /// - /// [window-local] "
- ///
- public static float GetCursorPosY() - { - float ret = GetCursorPosYNative(); - return ret; - } - - /// - /// [window-local] "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCursorPosNative(Vector2 localPos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[105])(localPos); - #else - ((delegate* unmanaged[Cdecl])funcTable[105])(localPos); - #endif - } - - /// - /// [window-local] "
- ///
- public static void SetCursorPos(Vector2 localPos) - { - SetCursorPosNative(localPos); - } - - /// - /// [window-local] "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCursorPosXNative(float localX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[106])(localX); - #else - ((delegate* unmanaged[Cdecl])funcTable[106])(localX); - #endif - } - - /// - /// [window-local] "
- ///
- public static void SetCursorPosX(float localX) - { - SetCursorPosXNative(localX); - } - - /// - /// [window-local] "
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCursorPosYNative(float localY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[107])(localY); - #else - ((delegate* unmanaged[Cdecl])funcTable[107])(localY); - #endif - } - - /// - /// [window-local] "
- ///
- public static void SetCursorPosY(float localY) - { - SetCursorPosYNative(localY); - } - - /// - /// [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetCursorStartPosNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[108])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[108])((nint)pOut); - #endif - } - - /// - /// [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version.
- ///
- public static Vector2 GetCursorStartPos() - { - Vector2 ret; - GetCursorStartPosNative(&ret); - return ret; - } - - /// - /// [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version.
- ///
- public static void GetCursorStartPos(Vector2* pOut) - { - GetCursorStartPosNative(pOut); - } - - /// - /// [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version.
- ///
- public static void GetCursorStartPos(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetCursorStartPosNative((Vector2*)ppOut); - } - } - - /// - /// separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SeparatorNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[109])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[109])(); - #endif - } - - /// - /// separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator.
- ///
- public static void Separator() - { - SeparatorNative(); - } - - /// - /// call between widgets or groups to layout them horizontally. X position given in window coordinates.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SameLineNative(float offsetFromStartX, float spacing) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[110])(offsetFromStartX, spacing); - #else - ((delegate* unmanaged[Cdecl])funcTable[110])(offsetFromStartX, spacing); - #endif - } - - /// - /// call between widgets or groups to layout them horizontally. X position given in window coordinates.
- ///
- public static void SameLine(float offsetFromStartX, float spacing) - { - SameLineNative(offsetFromStartX, spacing); - } - - /// - /// call between widgets or groups to layout them horizontally. X position given in window coordinates.
- ///
- public static void SameLine(float offsetFromStartX) - { - SameLineNative(offsetFromStartX, (float)(-1.0f)); - } - - /// - /// call between widgets or groups to layout them horizontally. X position given in window coordinates.
- ///
- public static void SameLine() - { - SameLineNative((float)(0.0f), (float)(-1.0f)); - } - - /// - /// undo a SameLine() or force a new line when in a horizontal-layout context.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NewLineNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[111])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[111])(); - #endif - } - - /// - /// undo a SameLine() or force a new line when in a horizontal-layout context.
- ///
- public static void NewLine() - { - NewLineNative(); - } - - /// - /// add vertical spacing.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SpacingNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[112])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[112])(); - #endif - } - - /// - /// add vertical spacing.
- ///
- public static void Spacing() - { - SpacingNative(); - } - - /// - /// add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DummyNative(Vector2 size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[113])(size); - #else - ((delegate* unmanaged[Cdecl])funcTable[113])(size); - #endif - } - - /// - /// add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into.
- ///
- public static void Dummy(Vector2 size) - { - DummyNative(size); - } - - /// - /// move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void IndentNative(float indentW) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[114])(indentW); - #else - ((delegate* unmanaged[Cdecl])funcTable[114])(indentW); - #endif - } - - /// - /// move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0
- ///
- public static void Indent(float indentW) - { - IndentNative(indentW); - } - - /// - /// move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0
- ///
- public static void Indent() - { - IndentNative((float)(0.0f)); - } - - /// - /// move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UnindentNative(float indentW) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[115])(indentW); - #else - ((delegate* unmanaged[Cdecl])funcTable[115])(indentW); - #endif - } - - /// - /// move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0
- ///
- public static void Unindent(float indentW) - { - UnindentNative(indentW); - } - - /// - /// move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0
- ///
- public static void Unindent() - { - UnindentNative((float)(0.0f)); - } - - /// - /// lock horizontal starting position
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginGroupNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[116])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[116])(); - #endif - } - - /// - /// lock horizontal starting position
- ///
- public static void BeginGroup() - { - BeginGroupNative(); - } - - /// - /// unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndGroupNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[117])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[117])(); - #endif - } - - /// - /// unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)
- ///
- public static void EndGroup() - { - EndGroupNative(); - } - - /// - /// vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AlignTextToFramePaddingNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[118])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[118])(); - #endif - } - - /// - /// vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)
- ///
- public static void AlignTextToFramePadding() - { - AlignTextToFramePaddingNative(); - } - - /// - /// ~ FontSize
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetTextLineHeightNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[119])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[119])(); - #endif - } - - /// - /// ~ FontSize
- ///
- public static float GetTextLineHeight() - { - float ret = GetTextLineHeightNative(); - return ret; - } - - /// - /// ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetTextLineHeightWithSpacingNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[120])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[120])(); - #endif - } - - /// - /// ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)
- ///
- public static float GetTextLineHeightWithSpacing() - { - float ret = GetTextLineHeightWithSpacingNative(); - return ret; - } - - /// - /// ~ FontSize + style.FramePadding.y * 2
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetFrameHeightNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[121])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[121])(); - #endif - } - - /// - /// ~ FontSize + style.FramePadding.y * 2
- ///
- public static float GetFrameHeight() - { - float ret = GetFrameHeightNative(); - return ret; - } - - /// - /// ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetFrameHeightWithSpacingNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[122])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[122])(); - #endif - } - - /// - /// ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)
- ///
- public static float GetFrameHeightWithSpacing() - { - float ret = GetFrameHeightWithSpacingNative(); - return ret; - } - - /// - /// push string into the ID stack (will hash string).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(byte* strId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[123])(strId); - #else - ((delegate* unmanaged[Cdecl])funcTable[123])((nint)strId); - #endif - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(byte* strId) - { - PushIDNative(strId); - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - PushIDNative((byte*)pstrId); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - PushIDNative((byte*)pstrId); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(byte* strIdBegin, byte* strIdEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[124])(strIdBegin, strIdEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[124])((nint)strIdBegin, (nint)strIdEnd); - #endif - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(byte* strIdBegin, byte* strIdEnd) - { - PushIDNative(strIdBegin, strIdEnd); - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ref byte strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - PushIDNative((byte*)pstrIdBegin, strIdEnd); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ReadOnlySpan strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - PushIDNative((byte*)pstrIdBegin, strIdEnd); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(string strIdBegin, byte* strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative(pStr0, strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(byte* strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative(strIdBegin, (byte*)pstrIdEnd); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(byte* strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative(strIdBegin, (byte*)pstrIdEnd); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(byte* strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative(strIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ref byte strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(string strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strIdEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PushIDNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ref byte strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ref byte strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.001.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.001.cs deleted file mode 100644 index 1a908bf66..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.001.cs +++ /dev/null @@ -1,5021 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ReadOnlySpan strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(ReadOnlySpan strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(string strIdBegin, ref byte strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- public static void PushID(string strIdBegin, ReadOnlySpan strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// push string into the ID stack (will hash string).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(void* ptrId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[125])(ptrId); - #else - ((delegate* unmanaged[Cdecl])funcTable[125])((nint)ptrId); - #endif - } - - /// - /// push pointer into the ID stack (will hash pointer).
- ///
- public static void PushID(void* ptrId) - { - PushIDNative(ptrId); - } - - /// - /// push string into the ID stack (will hash string).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(int intId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[126])(intId); - #else - ((delegate* unmanaged[Cdecl])funcTable[126])(intId); - #endif - } - - /// - /// push integer into the ID stack (will hash integer).
- ///
- public static void PushID(int intId) - { - PushIDNative(intId); - } - - /// - /// pop from the ID stack.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopIDNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[127])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[127])(); - #endif - } - - /// - /// pop from the ID stack.
- ///
- public static void PopID() - { - PopIDNative(); - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(byte* strId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[128])(strId); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[128])((nint)strId); - #endif - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(byte* strId) - { - uint ret = GetIDNative(strId); - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - uint ret = GetIDNative((byte*)pstrId); - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - uint ret = GetIDNative((byte*)pstrId); - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(byte* strIdBegin, byte* strIdEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[129])(strIdBegin, strIdEnd); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[129])((nint)strIdBegin, (nint)strIdEnd); - #endif - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(byte* strIdBegin, byte* strIdEnd) - { - uint ret = GetIDNative(strIdBegin, strIdEnd); - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ref byte strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - uint ret = GetIDNative((byte*)pstrIdBegin, strIdEnd); - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ReadOnlySpan strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - uint ret = GetIDNative((byte*)pstrIdBegin, strIdEnd); - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(string strIdBegin, byte* strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(pStr0, strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(byte* strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative(strIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(byte* strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative(strIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(byte* strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(strIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ref byte strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(string strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strIdEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - uint ret = GetIDNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ref byte strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ref byte strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ReadOnlySpan strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(ReadOnlySpan strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(string strIdBegin, ref byte strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(string strIdBegin, ReadOnlySpan strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(void* ptrId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[130])(ptrId); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[130])((nint)ptrId); - #endif - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(void* ptrId) - { - uint ret = GetIDNative(ptrId); - return ret; - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(int intId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[131])(intId); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[131])(intId); - #endif - } - - /// - /// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself
- ///
- public static uint GetID(int intId) - { - uint ret = GetIDNative(intId); - return ret; - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextUnformattedNative(byte* text, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[132])(text, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[132])((nint)text, (nint)textEnd); - #endif - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(byte* text, byte* textEnd) - { - TextUnformattedNative(text, textEnd); - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(byte* text) - { - TextUnformattedNative(text, (byte*)(default)); - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - TextUnformattedNative((byte*)ptext, textEnd); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ref byte text) - { - fixed (byte* ptext = &text) - { - TextUnformattedNative((byte*)ptext, (byte*)(default)); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - TextUnformattedNative((byte*)ptext, textEnd); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - TextUnformattedNative((byte*)ptext, (byte*)(default)); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextUnformattedNative(pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextUnformattedNative(pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - TextUnformattedNative(text, (byte*)ptextEnd); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - TextUnformattedNative(text, (byte*)ptextEnd); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextUnformattedNative(text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - TextUnformattedNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextUnformattedNative((byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - TextUnformattedNative((byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextUnformattedNative((byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - TextUnformattedNative(pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text.
- ///
- public static void TextUnformatted(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - TextUnformattedNative(pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// formatted text
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[133])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[133])((nint)fmt); - #endif - } - - /// - /// formatted text
- ///
- public static void Text(byte* fmt) - { - TextNative(fmt); - } - - /// - /// formatted text
- ///
- public static void Text(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - TextNative((byte*)pfmt); - } - } - - /// - /// formatted text
- ///
- public static void Text(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - TextNative((byte*)pfmt); - } - } - - /// - /// formatted text
- ///
- public static void Text(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[134])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[134])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void TextV(byte* fmt, nuint args) - { - TextVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void TextV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - TextVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - TextVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextColoredNative(Vector4 col, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[135])(col, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[135])(col, (nint)fmt); - #endif - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextColored(Vector4 col, byte* fmt) - { - TextColoredNative(col, fmt); - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextColored(Vector4 col, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - TextColoredNative(col, (byte*)pfmt); - } - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextColored(Vector4 col, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - TextColoredNative(col, (byte*)pfmt); - } - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextColored(Vector4 col, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextColoredNative(col, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextColoredVNative(Vector4 col, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[136])(col, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[136])(col, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void TextColoredV(Vector4 col, byte* fmt, nuint args) - { - TextColoredVNative(col, fmt, args); - } - - /// - /// To be documented. - /// - public static void TextColoredV(Vector4 col, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - TextColoredVNative(col, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextColoredV(Vector4 col, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - TextColoredVNative(col, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextColoredV(Vector4 col, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextColoredVNative(col, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextDisabledNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[137])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[137])((nint)fmt); - #endif - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextDisabled(byte* fmt) - { - TextDisabledNative(fmt); - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextDisabled(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - TextDisabledNative((byte*)pfmt); - } - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextDisabled(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - TextDisabledNative((byte*)pfmt); - } - } - - /// - /// shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();
- ///
- public static void TextDisabled(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextDisabledNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextDisabledVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[138])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[138])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void TextDisabledV(byte* fmt, nuint args) - { - TextDisabledVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void TextDisabledV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - TextDisabledVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextDisabledV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - TextDisabledVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextDisabledV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextDisabledVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextWrappedNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[139])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[139])((nint)fmt); - #endif - } - - /// - /// shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().
- ///
- public static void TextWrapped(byte* fmt) - { - TextWrappedNative(fmt); - } - - /// - /// shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().
- ///
- public static void TextWrapped(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - TextWrappedNative((byte*)pfmt); - } - } - - /// - /// shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().
- ///
- public static void TextWrapped(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - TextWrappedNative((byte*)pfmt); - } - } - - /// - /// shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize().
- ///
- public static void TextWrapped(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextWrappedNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextWrappedVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[140])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[140])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void TextWrappedV(byte* fmt, nuint args) - { - TextWrappedVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void TextWrappedV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - TextWrappedVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextWrappedV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - TextWrappedVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TextWrappedV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextWrappedVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LabelTextNative(byte* label, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[141])(label, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[141])((nint)label, (nint)fmt); - #endif - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(byte* label, byte* fmt) - { - LabelTextNative(label, fmt); - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ref byte label, byte* fmt) - { - fixed (byte* plabel = &label) - { - LabelTextNative((byte*)plabel, fmt); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ReadOnlySpan label, byte* fmt) - { - fixed (byte* plabel = label) - { - LabelTextNative((byte*)plabel, fmt); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(string label, byte* fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextNative(pStr0, fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(byte* label, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - LabelTextNative(label, (byte*)pfmt); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(byte* label, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - LabelTextNative(label, (byte*)pfmt); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(byte* label, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextNative(label, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ref byte label, ref byte fmt) - { - fixed (byte* plabel = &label) - { - fixed (byte* pfmt = &fmt) - { - LabelTextNative((byte*)plabel, (byte*)pfmt); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ReadOnlySpan label, ReadOnlySpan fmt) - { - fixed (byte* plabel = label) - { - fixed (byte* pfmt = fmt) - { - LabelTextNative((byte*)plabel, (byte*)pfmt); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(string label, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - LabelTextNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ref byte label, ReadOnlySpan fmt) - { - fixed (byte* plabel = &label) - { - fixed (byte* pfmt = fmt) - { - LabelTextNative((byte*)plabel, (byte*)pfmt); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ref byte label, string fmt) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextNative((byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ReadOnlySpan label, ref byte fmt) - { - fixed (byte* plabel = label) - { - fixed (byte* pfmt = &fmt) - { - LabelTextNative((byte*)plabel, (byte*)pfmt); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(ReadOnlySpan label, string fmt) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextNative((byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(string label, ref byte fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - LabelTextNative(pStr0, (byte*)pfmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// display text+label aligned the same way as value+label widgets
- ///
- public static void LabelText(string label, ReadOnlySpan fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - LabelTextNative(pStr0, (byte*)pfmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LabelTextVNative(byte* label, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[142])(label, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[142])((nint)label, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void LabelTextV(byte* label, byte* fmt, nuint args) - { - LabelTextVNative(label, fmt, args); - } - - /// - /// To be documented. - /// - public static void LabelTextV(ref byte label, byte* fmt, nuint args) - { - fixed (byte* plabel = &label) - { - LabelTextVNative((byte*)plabel, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ReadOnlySpan label, byte* fmt, nuint args) - { - fixed (byte* plabel = label) - { - LabelTextVNative((byte*)plabel, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(string label, byte* fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextVNative(pStr0, fmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(byte* label, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - LabelTextVNative(label, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(byte* label, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - LabelTextVNative(label, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(byte* label, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextVNative(label, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ref byte label, ref byte fmt, nuint args) - { - fixed (byte* plabel = &label) - { - fixed (byte* pfmt = &fmt) - { - LabelTextVNative((byte*)plabel, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ReadOnlySpan label, ReadOnlySpan fmt, nuint args) - { - fixed (byte* plabel = label) - { - fixed (byte* pfmt = fmt) - { - LabelTextVNative((byte*)plabel, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(string label, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - LabelTextVNative(pStr0, pStr1, args); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ref byte label, ReadOnlySpan fmt, nuint args) - { - fixed (byte* plabel = &label) - { - fixed (byte* pfmt = fmt) - { - LabelTextVNative((byte*)plabel, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ref byte label, string fmt, nuint args) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextVNative((byte*)plabel, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ReadOnlySpan label, ref byte fmt, nuint args) - { - fixed (byte* plabel = label) - { - fixed (byte* pfmt = &fmt) - { - LabelTextVNative((byte*)plabel, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(ReadOnlySpan label, string fmt, nuint args) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelTextVNative((byte*)plabel, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(string label, ref byte fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - LabelTextVNative(pStr0, (byte*)pfmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LabelTextV(string label, ReadOnlySpan fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - LabelTextVNative(pStr0, (byte*)pfmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// shortcut for Bullet()+Text()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BulletTextNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[143])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[143])((nint)fmt); - #endif - } - - /// - /// shortcut for Bullet()+Text()
- ///
- public static void BulletText(byte* fmt) - { - BulletTextNative(fmt); - } - - /// - /// shortcut for Bullet()+Text()
- ///
- public static void BulletText(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - BulletTextNative((byte*)pfmt); - } - } - - /// - /// shortcut for Bullet()+Text()
- ///
- public static void BulletText(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - BulletTextNative((byte*)pfmt); - } - } - - /// - /// shortcut for Bullet()+Text()
- ///
- public static void BulletText(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - BulletTextNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BulletTextVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[144])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[144])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void BulletTextV(byte* fmt, nuint args) - { - BulletTextVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void BulletTextV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - BulletTextVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void BulletTextV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - BulletTextVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void BulletTextV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - BulletTextVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// currently: formatted text with a horizontal line
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SeparatorTextNative(byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[145])(label); - #else - ((delegate* unmanaged[Cdecl])funcTable[145])((nint)label); - #endif - } - - /// - /// currently: formatted text with a horizontal line
- ///
- public static void SeparatorText(byte* label) - { - SeparatorTextNative(label); - } - - /// - /// currently: formatted text with a horizontal line
- ///
- public static void SeparatorText(ref byte label) - { - fixed (byte* plabel = &label) - { - SeparatorTextNative((byte*)plabel); - } - } - - /// - /// currently: formatted text with a horizontal line
- ///
- public static void SeparatorText(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - SeparatorTextNative((byte*)plabel); - } - } - - /// - /// currently: formatted text with a horizontal line
- ///
- public static void SeparatorText(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SeparatorTextNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// button
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ButtonNative(byte* label, Vector2 size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[146])(label, size); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[146])((nint)label, size); - #endif - } - - /// - /// button
- ///
- public static bool Button(byte* label, Vector2 size) - { - byte ret = ButtonNative(label, size); - return ret != 0; - } - - /// - /// button
- ///
- public static bool Button(byte* label) - { - byte ret = ButtonNative(label, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// button
- ///
- public static bool Button(ref byte label, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = ButtonNative((byte*)plabel, size); - return ret != 0; - } - } - - /// - /// button
- ///
- public static bool Button(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// button
- ///
- public static bool Button(ReadOnlySpan label, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = ButtonNative((byte*)plabel, size); - return ret != 0; - } - } - - /// - /// button
- ///
- public static bool Button(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// button
- ///
- public static bool Button(string label, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ButtonNative(pStr0, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// button
- ///
- public static bool Button(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ButtonNative(pStr0, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// button with (FramePadding.y == 0) to easily embed within text
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SmallButtonNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[147])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[147])((nint)label); - #endif - } - - /// - /// button with (FramePadding.y == 0) to easily embed within text
- ///
- public static bool SmallButton(byte* label) - { - byte ret = SmallButtonNative(label); - return ret != 0; - } - - /// - /// button with (FramePadding.y == 0) to easily embed within text
- ///
- public static bool SmallButton(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = SmallButtonNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// button with (FramePadding.y == 0) to easily embed within text
- ///
- public static bool SmallButton(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = SmallButtonNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// button with (FramePadding.y == 0) to easily embed within text
- ///
- public static bool SmallButton(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SmallButtonNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InvisibleButtonNative(byte* strId, Vector2 size, ImGuiButtonFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[148])(strId, size, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[148])((nint)strId, size, flags); - #endif - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(byte* strId, Vector2 size, ImGuiButtonFlags flags) - { - byte ret = InvisibleButtonNative(strId, size, flags); - return ret != 0; - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(byte* strId, Vector2 size) - { - byte ret = InvisibleButtonNative(strId, size, (ImGuiButtonFlags)(0)); - return ret != 0; - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(ref byte strId, Vector2 size, ImGuiButtonFlags flags) - { - fixed (byte* pstrId = &strId) - { - byte ret = InvisibleButtonNative((byte*)pstrId, size, flags); - return ret != 0; - } - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(ref byte strId, Vector2 size) - { - fixed (byte* pstrId = &strId) - { - byte ret = InvisibleButtonNative((byte*)pstrId, size, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(ReadOnlySpan strId, Vector2 size, ImGuiButtonFlags flags) - { - fixed (byte* pstrId = strId) - { - byte ret = InvisibleButtonNative((byte*)pstrId, size, flags); - return ret != 0; - } - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(ReadOnlySpan strId, Vector2 size) - { - fixed (byte* pstrId = strId) - { - byte ret = InvisibleButtonNative((byte*)pstrId, size, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(string strId, Vector2 size, ImGuiButtonFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InvisibleButtonNative(pStr0, size, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)
- ///
- public static bool InvisibleButton(string strId, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InvisibleButtonNative(pStr0, size, (ImGuiButtonFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// square button with an arrow shape
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ArrowButtonNative(byte* strId, ImGuiDir dir) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[149])(strId, dir); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[149])((nint)strId, dir); - #endif - } - - /// - /// square button with an arrow shape
- ///
- public static bool ArrowButton(byte* strId, ImGuiDir dir) - { - byte ret = ArrowButtonNative(strId, dir); - return ret != 0; - } - - /// - /// square button with an arrow shape
- ///
- public static bool ArrowButton(ref byte strId, ImGuiDir dir) - { - fixed (byte* pstrId = &strId) - { - byte ret = ArrowButtonNative((byte*)pstrId, dir); - return ret != 0; - } - } - - /// - /// square button with an arrow shape
- ///
- public static bool ArrowButton(ReadOnlySpan strId, ImGuiDir dir) - { - fixed (byte* pstrId = strId) - { - byte ret = ArrowButtonNative((byte*)pstrId, dir); - return ret != 0; - } - } - - /// - /// square button with an arrow shape
- ///
- public static bool ArrowButton(string strId, ImGuiDir dir) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ArrowButtonNative(pStr0, dir); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CheckboxNative(byte* label, bool* v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[150])(label, v); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[150])((nint)label, (nint)v); - #endif - } - - /// - /// To be documented. - /// - public static bool Checkbox(byte* label, bool* v) - { - byte ret = CheckboxNative(label, v); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Checkbox(ref byte label, bool* v) - { - fixed (byte* plabel = &label) - { - byte ret = CheckboxNative((byte*)plabel, v); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Checkbox(ReadOnlySpan label, bool* v) - { - fixed (byte* plabel = label) - { - byte ret = CheckboxNative((byte*)plabel, v); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Checkbox(string label, bool* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CheckboxNative(pStr0, v); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Checkbox(byte* label, ref bool v) - { - fixed (bool* pv = &v) - { - byte ret = CheckboxNative(label, (bool*)pv); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Checkbox(ref byte label, ref bool v) - { - fixed (byte* plabel = &label) - { - fixed (bool* pv = &v) - { - byte ret = CheckboxNative((byte*)plabel, (bool*)pv); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Checkbox(ReadOnlySpan label, ref bool v) - { - fixed (byte* plabel = label) - { - fixed (bool* pv = &v) - { - byte ret = CheckboxNative((byte*)plabel, (bool*)pv); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Checkbox(string label, ref bool v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* pv = &v) - { - byte ret = CheckboxNative(pStr0, (bool*)pv); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CheckboxFlagsNative(byte* label, int* flags, int flagsValue) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[151])(label, flags, flagsValue); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[151])((nint)label, (nint)flags, flagsValue); - #endif - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, int* flags, int flagsValue) - { - byte ret = CheckboxFlagsNative(label, flags, flagsValue); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, int* flags, int flagsValue) - { - fixed (byte* plabel = &label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, int* flags, int flagsValue) - { - fixed (byte* plabel = label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, int* flags, int flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CheckboxFlagsNative(pStr0, flags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, ref int flags, int flagsValue) - { - fixed (int* pflags = &flags) - { - byte ret = CheckboxFlagsNative(label, (int*)pflags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, ref int flags, int flagsValue) - { - fixed (byte* plabel = &label) - { - fixed (int* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (int*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, ref int flags, int flagsValue) - { - fixed (byte* plabel = label) - { - fixed (int* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (int*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, ref int flags, int flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pflags = &flags) - { - byte ret = CheckboxFlagsNative(pStr0, (int*)pflags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CheckboxFlagsNative(byte* label, uint* flags, uint flagsValue) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[152])(label, flags, flagsValue); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[152])((nint)label, (nint)flags, flagsValue); - #endif - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, uint* flags, uint flagsValue) - { - byte ret = CheckboxFlagsNative(label, flags, flagsValue); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, uint* flags, uint flagsValue) - { - fixed (byte* plabel = &label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, uint* flags, uint flagsValue) - { - fixed (byte* plabel = label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, uint* flags, uint flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CheckboxFlagsNative(pStr0, flags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, ref uint flags, uint flagsValue) - { - fixed (uint* pflags = &flags) - { - byte ret = CheckboxFlagsNative(label, (uint*)pflags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, ref uint flags, uint flagsValue) - { - fixed (byte* plabel = &label) - { - fixed (uint* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (uint*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, ref uint flags, uint flagsValue) - { - fixed (byte* plabel = label) - { - fixed (uint* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (uint*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, ref uint flags, uint flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pflags = &flags) - { - byte ret = CheckboxFlagsNative(pStr0, (uint*)pflags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte RadioButtonNative(byte* label, byte active) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[153])(label, active); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[153])((nint)label, active); - #endif - } - - /// - /// use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
- ///
- public static bool RadioButton(byte* label, bool active) - { - byte ret = RadioButtonNative(label, active ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
- ///
- public static bool RadioButton(ref byte label, bool active) - { - fixed (byte* plabel = &label) - { - byte ret = RadioButtonNative((byte*)plabel, active ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
- ///
- public static bool RadioButton(ReadOnlySpan label, bool active) - { - fixed (byte* plabel = label) - { - byte ret = RadioButtonNative((byte*)plabel, active ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
- ///
- public static bool RadioButton(string label, bool active) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = RadioButtonNative(pStr0, active ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte RadioButtonNative(byte* label, int* v, int vButton) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[154])(label, v, vButton); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[154])((nint)label, (nint)v, vButton); - #endif - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(byte* label, int* v, int vButton) - { - byte ret = RadioButtonNative(label, v, vButton); - return ret != 0; - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(ref byte label, int* v, int vButton) - { - fixed (byte* plabel = &label) - { - byte ret = RadioButtonNative((byte*)plabel, v, vButton); - return ret != 0; - } - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(ReadOnlySpan label, int* v, int vButton) - { - fixed (byte* plabel = label) - { - byte ret = RadioButtonNative((byte*)plabel, v, vButton); - return ret != 0; - } - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(string label, int* v, int vButton) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = RadioButtonNative(pStr0, v, vButton); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(byte* label, ref int v, int vButton) - { - fixed (int* pv = &v) - { - byte ret = RadioButtonNative(label, (int*)pv, vButton); - return ret != 0; - } - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(ref byte label, ref int v, int vButton) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = RadioButtonNative((byte*)plabel, (int*)pv, vButton); - return ret != 0; - } - } - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(ReadOnlySpan label, ref int v, int vButton) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = RadioButtonNative((byte*)plabel, (int*)pv, vButton); - return ret != 0; - } - } - } - - /// - /// shortcut to handle the above pattern when value is an integer
- ///
- public static bool RadioButton(string label, ref int v, int vButton) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = RadioButtonNative(pStr0, (int*)pv, vButton); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ProgressBarNative(float fraction, Vector2 sizeArg, byte* overlay) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[155])(fraction, sizeArg, overlay); - #else - ((delegate* unmanaged[Cdecl])funcTable[155])(fraction, sizeArg, (nint)overlay); - #endif - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, Vector2 sizeArg, byte* overlay) - { - ProgressBarNative(fraction, sizeArg, overlay); - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, Vector2 sizeArg) - { - ProgressBarNative(fraction, sizeArg, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction) - { - ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, byte* overlay) - { - ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), overlay); - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, Vector2 sizeArg, ref byte overlay) - { - fixed (byte* poverlay = &overlay) - { - ProgressBarNative(fraction, sizeArg, (byte*)poverlay); - } - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, ref byte overlay) - { - fixed (byte* poverlay = &overlay) - { - ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)poverlay); - } - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, Vector2 sizeArg, ReadOnlySpan overlay) - { - fixed (byte* poverlay = overlay) - { - ProgressBarNative(fraction, sizeArg, (byte*)poverlay); - } - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, ReadOnlySpan overlay) - { - fixed (byte* poverlay = overlay) - { - ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), (byte*)poverlay); - } - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, Vector2 sizeArg, string overlay) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlay != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlay); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlay, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ProgressBarNative(fraction, sizeArg, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ProgressBar(float fraction, string overlay) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlay != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlay); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlay, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ProgressBarNative(fraction, (Vector2)(new Vector2(-float.MinValue,0)), pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BulletNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[156])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[156])(); - #endif - } - - /// - /// draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses
- ///
- public static void Bullet() - { - BulletNative(); - } - - /// - /// hyperlink text button, return true when clicked
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TextLinkNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[157])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[157])((nint)label); - #endif - } - - /// - /// hyperlink text button, return true when clicked
- ///
- public static bool TextLink(byte* label) - { - byte ret = TextLinkNative(label); - return ret != 0; - } - - /// - /// hyperlink text button, return true when clicked
- ///
- public static bool TextLink(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = TextLinkNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// hyperlink text button, return true when clicked
- ///
- public static bool TextLink(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = TextLinkNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// hyperlink text button, return true when clicked
- ///
- public static bool TextLink(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TextLinkNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextLinkOpenURLNative(byte* label, byte* url) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[158])(label, url); - #else - ((delegate* unmanaged[Cdecl])funcTable[158])((nint)label, (nint)url); - #endif - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(byte* label, byte* url) - { - TextLinkOpenURLNative(label, url); - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(byte* label) - { - TextLinkOpenURLNative(label, (byte*)(default)); - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ref byte label, byte* url) - { - fixed (byte* plabel = &label) - { - TextLinkOpenURLNative((byte*)plabel, url); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ref byte label) - { - fixed (byte* plabel = &label) - { - TextLinkOpenURLNative((byte*)plabel, (byte*)(default)); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ReadOnlySpan label, byte* url) - { - fixed (byte* plabel = label) - { - TextLinkOpenURLNative((byte*)plabel, url); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - TextLinkOpenURLNative((byte*)plabel, (byte*)(default)); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(string label, byte* url) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextLinkOpenURLNative(pStr0, url); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextLinkOpenURLNative(pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(byte* label, ref byte url) - { - fixed (byte* purl = &url) - { - TextLinkOpenURLNative(label, (byte*)purl); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(byte* label, ReadOnlySpan url) - { - fixed (byte* purl = url) - { - TextLinkOpenURLNative(label, (byte*)purl); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(byte* label, string url) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (url != null) - { - pStrSize0 = Utils.GetByteCountUTF8(url); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(url, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextLinkOpenURLNative(label, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ref byte label, ref byte url) - { - fixed (byte* plabel = &label) - { - fixed (byte* purl = &url) - { - TextLinkOpenURLNative((byte*)plabel, (byte*)purl); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ReadOnlySpan label, ReadOnlySpan url) - { - fixed (byte* plabel = label) - { - fixed (byte* purl = url) - { - TextLinkOpenURLNative((byte*)plabel, (byte*)purl); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(string label, string url) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (url != null) - { - pStrSize1 = Utils.GetByteCountUTF8(url); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(url, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - TextLinkOpenURLNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ref byte label, ReadOnlySpan url) - { - fixed (byte* plabel = &label) - { - fixed (byte* purl = url) - { - TextLinkOpenURLNative((byte*)plabel, (byte*)purl); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ref byte label, string url) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (url != null) - { - pStrSize0 = Utils.GetByteCountUTF8(url); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(url, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextLinkOpenURLNative((byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ReadOnlySpan label, ref byte url) - { - fixed (byte* plabel = label) - { - fixed (byte* purl = &url) - { - TextLinkOpenURLNative((byte*)plabel, (byte*)purl); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(ReadOnlySpan label, string url) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (url != null) - { - pStrSize0 = Utils.GetByteCountUTF8(url); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(url, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextLinkOpenURLNative((byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(string label, ref byte url) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* purl = &url) - { - TextLinkOpenURLNative(pStr0, (byte*)purl); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// hyperlink text button, automatically open fileurl when clicked
- ///
- public static void TextLinkOpenURL(string label, ReadOnlySpan url) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* purl = url) - { - TextLinkOpenURLNative(pStr0, (byte*)purl); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImageNative(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[159])(userTextureId, imageSize, uv0, uv1); - #else - ((delegate* unmanaged[Cdecl])funcTable[159])(userTextureId, imageSize, uv0, uv1); - #endif - } - - /// - /// To be documented. - /// - public static void Image(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - ImageNative(userTextureId, imageSize, uv0, uv1); - } - - /// - /// To be documented. - /// - public static void Image(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0) - { - ImageNative(userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1))); - } - - /// - /// To be documented. - /// - public static void Image(ImTextureID userTextureId, Vector2 imageSize) - { - ImageNative(userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1))); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImageWithBgNative(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[160])(userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - #else - ((delegate* unmanaged[Cdecl])funcTable[160])(userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - #endif - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - ImageWithBgNative(userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol) - { - ImageWithBgNative(userTextureId, imageSize, uv0, uv1, bgCol, (Vector4)(new Vector4(1,1,1,1))); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - ImageWithBgNative(userTextureId, imageSize, uv0, uv1, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0) - { - ImageWithBgNative(userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize) - { - ImageWithBgNative(userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol) - { - ImageWithBgNative(userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol) - { - ImageWithBgNative(userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) - { - ImageWithBgNative(userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, tintCol); - } - - /// - /// To be documented. - /// - public static void ImageWithBg(ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol, Vector4 tintCol) - { - ImageWithBgNative(userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, tintCol); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImageButtonNative(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[161])(strId, userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[161])((nint)strId, userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - #endif - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, uv0, uv1, bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, uv0, uv1, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, tintCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(byte* strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol, Vector4 tintCol) - { - byte ret = ImageButtonNative(strId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, tintCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, uv1, bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, uv1, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, tintCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ref byte strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol, Vector4 tintCol) - { - fixed (byte* pstrId = &strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, tintCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, uv1, bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, uv1, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, tintCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(ReadOnlySpan strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol, Vector4 tintCol) - { - fixed (byte* pstrId = strId) - { - byte ret = ImageButtonNative((byte*)pstrId, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, tintCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, uv0, uv1, bgCol, tintCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, uv0, uv1, bgCol, (Vector4)(new Vector4(1,1,1,1))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, uv0, uv1, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, (Vector4)(new Vector4(1,1,1,1))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.002.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.002.cs deleted file mode 100644 index 95c6e6ee8..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.002.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, uv0, (Vector2)(new Vector2(1,1)), bgCol, tintCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButton(string strId, ImTextureID userTextureId, Vector2 imageSize, Vector4 bgCol, Vector4 tintCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImageButtonNative(pStr0, userTextureId, imageSize, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), bgCol, tintCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginComboNative(byte* label, byte* previewValue, ImGuiComboFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[162])(label, previewValue, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[162])((nint)label, (nint)previewValue, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, byte* previewValue, ImGuiComboFlags flags) - { - byte ret = BeginComboNative(label, previewValue, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, byte* previewValue) - { - byte ret = BeginComboNative(label, previewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, byte* previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = BeginComboNative((byte*)plabel, previewValue, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, byte* previewValue) - { - fixed (byte* plabel = &label) - { - byte ret = BeginComboNative((byte*)plabel, previewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, byte* previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = BeginComboNative((byte*)plabel, previewValue, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, byte* previewValue) - { - fixed (byte* plabel = label) - { - byte ret = BeginComboNative((byte*)plabel, previewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, byte* previewValue, ImGuiComboFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative(pStr0, previewValue, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, byte* previewValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative(pStr0, previewValue, (ImGuiComboFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, ref byte previewValue, ImGuiComboFlags flags) - { - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative(label, (byte*)ppreviewValue, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, ref byte previewValue) - { - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative(label, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, ReadOnlySpan previewValue, ImGuiComboFlags flags) - { - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative(label, (byte*)ppreviewValue, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, ReadOnlySpan previewValue) - { - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative(label, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, string previewValue, ImGuiComboFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (previewValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative(label, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(byte* label, string previewValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (previewValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative(label, pStr0, (ImGuiComboFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, ref byte previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, ref byte previewValue) - { - fixed (byte* plabel = &label) - { - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, ReadOnlySpan previewValue) - { - fixed (byte* plabel = label) - { - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, string previewValue, ImGuiComboFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (previewValue != null) - { - pStrSize1 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(previewValue, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = BeginComboNative(pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, string previewValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (previewValue != null) - { - pStrSize1 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(previewValue, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = BeginComboNative(pStr0, pStr1, (ImGuiComboFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, ReadOnlySpan previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, ReadOnlySpan previewValue) - { - fixed (byte* plabel = &label) - { - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, string previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (previewValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative((byte*)plabel, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ref byte label, string previewValue) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (previewValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative((byte*)plabel, pStr0, (ImGuiComboFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, ref byte previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, ref byte previewValue) - { - fixed (byte* plabel = label) - { - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative((byte*)plabel, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, string previewValue, ImGuiComboFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (previewValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative((byte*)plabel, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(ReadOnlySpan label, string previewValue) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (previewValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(previewValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(previewValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginComboNative((byte*)plabel, pStr0, (ImGuiComboFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, ref byte previewValue, ImGuiComboFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, ref byte previewValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppreviewValue = &previewValue) - { - byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, ReadOnlySpan previewValue, ImGuiComboFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginCombo(string label, ReadOnlySpan previewValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppreviewValue = previewValue) - { - byte ret = BeginComboNative(pStr0, (byte*)ppreviewValue, (ImGuiComboFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// only call EndCombo() if BeginCombo() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndComboNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[163])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[163])(); - #endif - } - - /// - /// only call EndCombo() if BeginCombo() returns true!
- ///
- public static void EndCombo() - { - EndComboNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ComboNative(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[164])(label, currentItem, items, itemsCount, popupMaxHeightInItems); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[164])((nint)label, (nint)currentItem, (nint)items, itemsCount, popupMaxHeightInItems); - #endif - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - byte ret = ComboNative(label, currentItem, items, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, int* currentItem, byte** items, int itemsCount) - { - byte ret = ComboNative(label, currentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, int* currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = &label) - { - byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = label) - { - byte ret = ComboNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(pStr0, currentItem, items, itemsCount, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(string label, int* currentItem, byte** items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(pStr0, currentItem, items, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(label, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, ref int currentItem, byte** items, int itemsCount) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(label, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, ref int currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, ref int currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, items, itemsCount, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, ref int currentItem, byte** items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, int* currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(label, currentItem, pStrArray0, itemsCount, popupMaxHeightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, int* currentItem, string[] items, int itemsCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(label, currentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(string label, int* currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(pStr0, currentItem, pStrArray0, itemsCount, popupMaxHeightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(string label, int* currentItem, string[] items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(pStr0, currentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, ref int currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, popupMaxHeightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, ref int currentItem, string[] items, int itemsCount) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, ref int currentItem, string[] items, int itemsCount, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, popupMaxHeightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, ref int currentItem, string[] items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ComboNative(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[165])(label, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[165])((nint)label, (nint)currentItem, (nint)itemsSeparatedByZeros, popupMaxHeightInItems); - #endif - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte ret = ComboNative(label, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros) - { - byte ret = ComboNative(label, currentItem, itemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, byte* itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, byte* itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - byte ret = ComboNative((byte*)plabel, currentItem, itemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(pStr0, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, byte* itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(pStr0, currentItem, itemsSeparatedByZeros, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(label, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, byte* itemsSeparatedByZeros) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(label, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, byte* itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, byte* itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, itemsSeparatedByZeros, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, byte* itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, itemsSeparatedByZeros, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, ref byte itemsSeparatedByZeros) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(label, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(label, currentItem, pStr0, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, int* currentItem, string itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(label, currentItem, pStr0, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, ref byte itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ComboNative(pStr0, currentItem, pStr1, popupMaxHeightInItems); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, string itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ComboNative(pStr0, currentItem, pStr1, (int)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, currentItem, pStr0, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, int* currentItem, string itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, currentItem, pStr0, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, ref byte itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, currentItem, pStr0, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, int* currentItem, string itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, currentItem, pStr0, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, ref byte itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, int* currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, currentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, ref byte itemsSeparatedByZeros) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(label, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(label, (int*)pcurrentItem, pStr0, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(byte* label, ref int currentItem, string itemsSeparatedByZeros) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(label, (int*)pcurrentItem, pStr0, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, ref byte itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStr1, popupMaxHeightInItems); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, string itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize1 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ComboNative(pStr0, (int*)pcurrentItem, pStr1, (int)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ref byte label, ref int currentItem, string itemsSeparatedByZeros) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, ref byte itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - return ret != 0; - } - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, string itemsSeparatedByZeros, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(ReadOnlySpan label, ref int currentItem, string itemsSeparatedByZeros) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (itemsSeparatedByZeros != null) - { - pStrSize0 = Utils.GetByteCountUTF8(itemsSeparatedByZeros); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(itemsSeparatedByZeros, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, pStr0, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, ref byte itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, ref byte itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = &itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
- ///
- public static bool Combo(string label, ref int currentItem, ReadOnlySpan itemsSeparatedByZeros) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - fixed (byte* pitemsSeparatedByZeros = itemsSeparatedByZeros) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, (byte*)pitemsSeparatedByZeros, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ComboNative(byte* label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, int, int, byte*>, void*, int, int, byte>)funcTable[166])(label, currentItem, getter, userData, itemsCount, popupMaxHeightInItems); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[166])((nint)label, (nint)currentItem, (nint)getter, (nint)userData, itemsCount, popupMaxHeightInItems); - #endif - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - byte ret = ComboNative(label, currentItem, getter, userData, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - byte ret = ComboNative(label, currentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - byte ret = ComboNative((byte*)plabel, currentItem, getter, userData, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = &label) - { - byte ret = ComboNative((byte*)plabel, currentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - byte ret = ComboNative((byte*)plabel, currentItem, getter, userData, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = label) - { - byte ret = ComboNative((byte*)plabel, currentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(pStr0, currentItem, getter, userData, itemsCount, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(string label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ComboNative(pStr0, currentItem, getter, userData, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(label, (int*)pcurrentItem, getter, userData, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(byte* label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(label, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(ref byte label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, popupMaxHeightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int popupMaxHeightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, getter, userData, itemsCount, popupMaxHeightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Combo(string label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ComboNative(pStr0, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragFloatNative(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[167])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[167])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax) - { - bool ret = DragFloat(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin) - { - bool ret = DragFloat(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed) - { - bool ret = DragFloat(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v) - { - bool ret = DragFloat(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, byte* format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, byte* format) - { - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, byte* format) - { - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = DragFloat(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - bool ret = DragFloat(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragFloat(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, ImGuiSliderFlags flags) - { - bool ret = DragFloat(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.003.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.003.cs deleted file mode 100644 index ecde06f1f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.003.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(byte* label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ref byte label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatNative((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.004.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.004.cs deleted file mode 100644 index 50d1d65f2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.004.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragFloat(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatNative(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragFloat2Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[168])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[168])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax) - { - bool ret = DragFloat2(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin) - { - bool ret = DragFloat2(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed) - { - bool ret = DragFloat2(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v) - { - bool ret = DragFloat2(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, byte* format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, byte* format) - { - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, byte* format) - { - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = DragFloat2(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - bool ret = DragFloat2(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragFloat2(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, ImGuiSliderFlags flags) - { - bool ret = DragFloat2(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat2((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat2(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, byte* format) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, byte* format) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, byte* format) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat2((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat2(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.005.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.005.cs deleted file mode 100644 index 94019e28b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.005.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, string format) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, string format) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, string format) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref Vector2 v, string format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(byte* label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref Vector2 v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ref byte label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat2Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat2(string label, ref float v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat2Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragFloat3Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[169])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[169])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax) - { - bool ret = DragFloat3(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin) - { - bool ret = DragFloat3(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed) - { - bool ret = DragFloat3(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v) - { - bool ret = DragFloat3(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, byte* format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, byte* format) - { - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, byte* format) - { - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = DragFloat3(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.006.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.006.cs deleted file mode 100644 index b98455aaf..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.006.cs +++ /dev/null @@ -1,5040 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - bool ret = DragFloat3(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragFloat3(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, ImGuiSliderFlags flags) - { - bool ret = DragFloat3(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat3((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat3(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, byte* format) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, byte* format) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, byte* format) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat3((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat3(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.007.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.007.cs deleted file mode 100644 index 8001cc1b5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.007.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, string format) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, string format) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, string format) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref Vector3 v, string format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(byte* label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref Vector3 v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ref byte label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat3Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat3(string label, ref float v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat3Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragFloat4Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[170])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[170])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax) - { - bool ret = DragFloat4(label, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin) - { - bool ret = DragFloat4(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed) - { - bool ret = DragFloat4(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v) - { - bool ret = DragFloat4(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, byte* format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, byte* format) - { - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, byte* format) - { - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = DragFloat4(label, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - bool ret = DragFloat4(label, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragFloat4(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, ImGuiSliderFlags flags) - { - bool ret = DragFloat4(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloat4((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.008.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.008.cs deleted file mode 100644 index 776e97853..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.008.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloat4(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, byte* format) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, byte* format) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, byte* format) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, byte* format) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = DragFloat4((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = DragFloat4(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, float* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, float* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, v, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.009.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.009.cs deleted file mode 100644 index e78363ff9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.009.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, string format) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, string format) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, string format) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref Vector4 v, string format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(byte* label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native(label, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref Vector4 v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ref byte label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(ReadOnlySpan label, ref float v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloat4Native((byte*)plabel, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, vMin, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloat4(string label, ref float v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloat4Native(pStr0, (float*)pv, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragFloatRange2Native(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[171])(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[171])((nint)label, (nint)vCurrentMin, (nint)vCurrentMax, vSpeed, vMin, vMax, (nint)format, (nint)formatMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - bool ret = DragFloatRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragFloatRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.010.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.010.cs deleted file mode 100644 index a44c22e07..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.010.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.011.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.011.cs deleted file mode 100644 index 4ea6d4109..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.011.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - bool ret = DragFloatRange2(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (string)"%.3f", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.012.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.012.cs deleted file mode 100644 index 01f01f2ae..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.012.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.013.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.013.cs deleted file mode 100644 index b04679976..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.013.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.014.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.014.cs deleted file mode 100644 index e8fe5034e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.014.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.015.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.015.cs deleted file mode 100644 index 75e5536ec..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.015.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.016.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.016.cs deleted file mode 100644 index 0b60f9d3c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.016.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.017.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.017.cs deleted file mode 100644 index 981b4a4ab..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.017.cs +++ /dev/null @@ -1,5079 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.018.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.018.cs deleted file mode 100644 index 58ac4c164..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.018.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.019.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.019.cs deleted file mode 100644 index c9ea7bf61..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.019.cs +++ /dev/null @@ -1,5082 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.020.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.020.cs deleted file mode 100644 index 25e57e8b0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.020.cs +++ /dev/null @@ -1,5046 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, float* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.021.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.021.cs deleted file mode 100644 index 5f6324e15..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.021.cs +++ /dev/null @@ -1,5040 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, float* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, vCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.022.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.022.cs deleted file mode 100644 index 524993908..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.022.cs +++ /dev/null @@ -1,5067 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.023.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.023.cs deleted file mode 100644 index 419f03563..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.023.cs +++ /dev/null @@ -1,5052 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, float* vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, float* vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, vCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.024.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.024.cs deleted file mode 100644 index fe5787c68..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.024.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(byte* label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(label, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ref byte label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.025.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.025.cs deleted file mode 100644 index d9111f474..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.025.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(ReadOnlySpan label, ref float vCurrentMin, ref float vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native((byte*)plabel, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, float vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, float vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, vMin, (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, vSpeed, (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragFloatRange2(string label, ref float vCurrentMin, ref float vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvCurrentMin = &vCurrentMin) - { - fixed (float* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragFloatRange2Native(pStr0, (float*)pvCurrentMin, (float*)pvCurrentMax, (float)(1.0f), (float)(0.0f), (float)(0.0f), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragIntNative(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[172])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[172])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax) - { - bool ret = DragInt(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin) - { - bool ret = DragInt(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed) - { - bool ret = DragInt(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v) - { - bool ret = DragInt(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin) - { - bool ret = DragInt(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax) - { - bool ret = DragInt(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, byte* format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, byte* format) - { - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, byte* format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, byte* format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt(label, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragInt(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, ImGuiSliderFlags flags) - { - bool ret = DragInt(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.026.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.026.cs deleted file mode 100644 index 53fefd881..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.026.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.027.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.027.cs deleted file mode 100644 index 35c22aaff..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.027.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntNative((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.028.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.028.cs deleted file mode 100644 index 7a4610152..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.028.cs +++ /dev/null @@ -1,5044 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// If v_min >= v_max we have no bound
- ///
- public static bool DragInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragIntNative(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragInt2Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[173])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[173])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax) - { - bool ret = DragInt2(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin) - { - bool ret = DragInt2(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed) - { - bool ret = DragInt2(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v) - { - bool ret = DragInt2(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin) - { - bool ret = DragInt2(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax) - { - bool ret = DragInt2(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, byte* format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, byte* format) - { - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, byte* format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, byte* format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt2(label, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt2(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragInt2(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, ImGuiSliderFlags flags) - { - bool ret = DragInt2(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt2(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt2(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt2((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt2(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt2(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt2(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt2((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.029.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.029.cs deleted file mode 100644 index d29614930..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.029.cs +++ /dev/null @@ -1,5055 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.030.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.030.cs deleted file mode 100644 index 82dbf8b6a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.030.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt2Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt2Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragInt3Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[174])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[174])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax) - { - bool ret = DragInt3(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin) - { - bool ret = DragInt3(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed) - { - bool ret = DragInt3(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v) - { - bool ret = DragInt3(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin) - { - bool ret = DragInt3(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax) - { - bool ret = DragInt3(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, byte* format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, byte* format) - { - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, byte* format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, byte* format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt3(label, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt3(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragInt3(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, ImGuiSliderFlags flags) - { - bool ret = DragInt3(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt3(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt3(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt3((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt3(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt3(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.031.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.031.cs deleted file mode 100644 index 6fbf29081..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.031.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt3(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt3((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.032.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.032.cs deleted file mode 100644 index 777fad2d4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.032.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt3Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt3Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragInt4Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[175])(label, v, vSpeed, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[175])((nint)label, (nint)v, vSpeed, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax) - { - bool ret = DragInt4(label, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin) - { - bool ret = DragInt4(label, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed) - { - bool ret = DragInt4(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v) - { - bool ret = DragInt4(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin) - { - bool ret = DragInt4(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax) - { - bool ret = DragInt4(label, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, byte* format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, byte* format) - { - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, byte* format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, byte* format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt4(label, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt4(label, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragInt4(label, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, ImGuiSliderFlags flags) - { - bool ret = DragInt4(label, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragInt4(label, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragInt4(label, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.033.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.033.cs deleted file mode 100644 index dffee7bd5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.033.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragInt4((byte*)plabel, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragInt4(pStr0, v, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = DragInt4(label, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = DragInt4(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = DragInt4((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.034.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.034.cs deleted file mode 100644 index f21977c74..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.034.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, v, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, v, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(label, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.035.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.035.cs deleted file mode 100644 index fcef489e6..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.035.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, vSpeed, (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), (int)(0), (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, (int)(0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragInt4Native((byte*)plabel, (int*)pv, (float)(1.0f), vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, vSpeed, (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, (int)(0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = DragInt4Native(pStr0, (int*)pv, (float)(1.0f), vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragIntRange2Native(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[176])(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[176])((nint)label, (nint)vCurrentMin, (nint)vCurrentMax, vSpeed, vMin, vMax, (nint)format, (nint)formatMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = DragIntRange2(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = DragIntRange2(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.036.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.036.cs deleted file mode 100644 index 908e2adaf..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.036.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.037.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.037.cs deleted file mode 100644 index 77c666348..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.037.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - bool ret = DragIntRange2(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (string)"%d", (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.038.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.038.cs deleted file mode 100644 index 70d162e95..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.038.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.039.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.039.cs deleted file mode 100644 index cddd083b5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.039.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.040.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.040.cs deleted file mode 100644 index 3fa20050d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.040.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.041.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.041.cs deleted file mode 100644 index cef90da0c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.041.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.042.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.042.cs deleted file mode 100644 index d6ebb108c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.042.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)(default), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, formatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.043.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.043.cs deleted file mode 100644 index d393acf9c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.043.cs +++ /dev/null @@ -1,5067 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, byte* formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, byte* formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, formatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.044.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.044.cs deleted file mode 100644 index e4329a79d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.044.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.045.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.045.cs deleted file mode 100644 index ec04c53af..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.045.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.046.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.046.cs deleted file mode 100644 index 654d61ee1..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.046.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, byte* format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, format, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.047.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.047.cs deleted file mode 100644 index e2de3c1f6..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.047.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.048.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.048.cs deleted file mode 100644 index c57e93c71..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.048.cs +++ /dev/null @@ -1,5061 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.049.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.049.cs deleted file mode 100644 index a881a8af9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.049.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.050.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.050.cs deleted file mode 100644 index 6187971a4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.050.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.051.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.051.cs deleted file mode 100644 index c70fc0fd8..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.051.cs +++ /dev/null @@ -1,5061 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.052.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.052.cs deleted file mode 100644 index 2925dc59f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.052.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.053.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.053.cs deleted file mode 100644 index bc6754fa7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.053.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, int* vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, vCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.054.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.054.cs deleted file mode 100644 index 6dc5ba6ad..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.054.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.055.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.055.cs deleted file mode 100644 index b2c8d99e4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.055.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.056.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.056.cs deleted file mode 100644 index 27817e9aa..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.056.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, int* vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, vCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(byte* label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(label, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.057.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.057.cs deleted file mode 100644 index 1e1156857..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.057.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, (ImGuiSliderFlags)(0)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (formatMax != null) - { - pStrSize2 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(formatMax, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, pStr2, flags); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ref byte label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.058.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.058.cs deleted file mode 100644 index 466732a65..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.058.cs +++ /dev/null @@ -1,5055 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (formatMax != null) - { - pStrSize0 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(formatMax, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(ReadOnlySpan label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, string formatMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native((byte*)plabel, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ref byte format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = &format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.059.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.059.cs deleted file mode 100644 index 267c81d6b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.059.cs +++ /dev/null @@ -1,5050 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, (byte*)pformatMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, ReadOnlySpan format, string formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - fixed (byte* pformat = format) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (formatMax != null) - { - pStrSize1 = Utils.GetByteCountUTF8(formatMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(formatMax, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, (byte*)pformat, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ref byte formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = &formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, float vSpeed, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, vSpeed, (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), (int)(0), (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, (int)(0), pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragIntRange2(string label, ref int vCurrentMin, ref int vCurrentMax, int vMin, int vMax, string format, ReadOnlySpan formatMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvCurrentMin = &vCurrentMin) - { - fixed (int* pvCurrentMax = &vCurrentMax) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pformatMax = formatMax) - { - byte ret = DragIntRange2Native(pStr0, (int*)pvCurrentMin, (int*)pvCurrentMax, (float)(1.0f), vMin, vMax, pStr1, (byte*)pformatMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragScalarNative(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[177])(label, dataType, pData, vSpeed, pMin, pMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[177])((nint)label, dataType, (nint)pData, vSpeed, (nint)pMin, (nint)pMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.060.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.060.cs deleted file mode 100644 index b5914393a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.060.cs +++ /dev/null @@ -1,5050 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative(label, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, vSpeed, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNative((byte*)plabel, dataType, pData, (float)(1.0f), pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNative(pStr0, dataType, pData, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[178])(label, dataType, pData, components, vSpeed, pMin, pMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[178])((nint)label, dataType, (nint)pData, components, vSpeed, (nint)pMin, (nint)pMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.061.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.061.cs deleted file mode 100644 index 04872925c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.061.cs +++ /dev/null @@ -1,5056 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative(label, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, float vSpeed, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragScalarNNative((byte*)plabel, dataType, pData, components, (float)(1.0f), pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, float vSpeed, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, vSpeed, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DragScalarNNative(pStr0, dataType, pData, components, (float)(1.0f), pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderFloatNative(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[179])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[179])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderFloatNative(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, byte* format) - { - byte ret = SliderFloatNative(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax) - { - bool ret = SliderFloat(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = SliderFloat(label, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat(pStr0, v, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(byte* label, ref float v, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ref byte label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloatNative((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.062.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.062.cs deleted file mode 100644 index 1adcad878..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.062.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
- ///
- public static bool SliderFloat(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloatNative(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderFloat2Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[180])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[180])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderFloat2Native(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, byte* format) - { - byte ret = SliderFloat2Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax) - { - bool ret = SliderFloat2(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = SliderFloat2(label, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat2((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat2(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat2(pStr0, v, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format) - { - fixed (float* pv = v) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax) - { - fixed (float* pv = v) - { - bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, byte* format) - { - fixed (Vector2* pv = &v) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax) - { - fixed (Vector2* pv = &v) - { - bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - bool ret = SliderFloat2(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat2((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat2(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref Vector2 v, float vMin, float vMax, string format) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(byte* label, ref float v, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref Vector2 v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ref byte label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat2Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat2(string label, ref float v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat2Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderFloat3Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[181])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[181])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderFloat3Native(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, byte* format) - { - byte ret = SliderFloat3Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax) - { - bool ret = SliderFloat3(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = SliderFloat3(label, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat3((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat3(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat3(pStr0, v, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format) - { - fixed (float* pv = v) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax) - { - fixed (float* pv = v) - { - bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, byte* format) - { - fixed (Vector3* pv = &v) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax) - { - fixed (Vector3* pv = &v) - { - bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - bool ret = SliderFloat3(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat3((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat3(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref Vector3 v, float vMin, float vMax, string format) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(byte* label, ref float v, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref Vector3 v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ref byte label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat3Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat3(string label, ref float v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat3Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderFloat4Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[182])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[182])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderFloat4Native(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, byte* format) - { - byte ret = SliderFloat4Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax) - { - bool ret = SliderFloat4(label, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = SliderFloat4(label, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderFloat4((byte*)plabel, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat4(pStr0, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderFloat4(pStr0, v, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.063.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.063.cs deleted file mode 100644 index c9e16ef1a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.063.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, byte* format) - { - fixed (float* pv = v) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax) - { - fixed (float* pv = v) - { - bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, byte* format) - { - fixed (Vector4* pv = &v) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax) - { - fixed (Vector4* pv = &v) - { - bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - bool ret = SliderFloat4(label, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = SliderFloat4((byte*)plabel, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = SliderFloat4(pStr0, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, float* v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref Vector4 v, float vMin, float vMax, string format) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(byte* label, ref float v, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native(label, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ReadOnlySpan v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref Vector4 v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ref byte label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(ReadOnlySpan label, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderFloat4Native((byte*)plabel, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderFloat4(string label, ref float v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderFloat4Native(pStr0, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderAngleNative(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[183])(label, vRad, vDegreesMin, vDegreesMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[183])((nint)label, (nint)vRad, vDegreesMin, vDegreesMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax) - { - bool ret = SliderAngle(label, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin) - { - bool ret = SliderAngle(label, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad) - { - bool ret = SliderAngle(label, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, byte* format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, byte* format) - { - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - bool ret = SliderAngle(label, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - bool ret = SliderAngle(label, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, ImGuiSliderFlags flags) - { - bool ret = SliderAngle(label, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin) - { - fixed (byte* plabel = &label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad) - { - fixed (byte* plabel = &label) - { - bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin) - { - fixed (byte* plabel = label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad) - { - fixed (byte* plabel = label) - { - bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderAngle((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderAngle((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderAngle(pStr0, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderAngle(pStr0, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderAngle(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderAngle(pStr0, vRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderAngle(pStr0, vRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderAngle(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, byte* format) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, byte* format) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (string)"%.0f deg", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (string)"%.0f deg", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - bool ret = SliderAngle(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (string)"%.0f deg", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, vRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, vRad, vDegreesMin, (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, float* vRad, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, float vDegreesMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, float* vRad, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, float vDegreesMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.064.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.064.cs deleted file mode 100644 index ce8cbb4ab..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.064.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, vDegreesMin, (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, float* vRad, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, vRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, vRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, float* vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, vRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ref byte format) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, ref byte format) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ReadOnlySpan format) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, ReadOnlySpan format) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, string format) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, string format) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(byte* label, ref float vRad, string format, ImGuiSliderFlags flags) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative(label, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ref byte label, ref float vRad, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, float vDegreesMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, vDegreesMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, float vDegreesMin, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, vDegreesMin, (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(ReadOnlySpan label, ref float vRad, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pvRad = &vRad) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderAngleNative((byte*)plabel, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = &format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, float vDegreesMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, vDegreesMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, float vDegreesMin, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, vDegreesMin, (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderAngle(string label, ref float vRad, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvRad = &vRad) - { - fixed (byte* pformat = format) - { - byte ret = SliderAngleNative(pStr0, (float*)pvRad, (float)(-360.0f), (float)(+360.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderIntNative(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[184])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[184])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderIntNative(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = SliderIntNative(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax) - { - bool ret = SliderInt(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = SliderInt(label, v, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt(pStr0, v, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = SliderInt(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = SliderInt(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderIntNative(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderIntNative(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderIntNative((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderIntNative(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderInt2Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[185])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[185])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderInt2Native(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = SliderInt2Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax) - { - bool ret = SliderInt2(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = SliderInt2(label, v, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt2((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt2(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt2(pStr0, v, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = SliderInt2(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt2(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt2(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.065.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.065.cs deleted file mode 100644 index 6ad1311a9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.065.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt2((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt2Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt2(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt2Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderInt3Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[186])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[186])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderInt3Native(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = SliderInt3Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax) - { - bool ret = SliderInt3(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = SliderInt3(label, v, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt3((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt3(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt3(pStr0, v, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = SliderInt3(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt3(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt3(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt3((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt3Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt3(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt3Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderInt4Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[187])(label, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[187])((nint)label, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderInt4Native(label, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, byte* format) - { - byte ret = SliderInt4Native(label, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax) - { - bool ret = SliderInt4(label, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = SliderInt4(label, v, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = SliderInt4((byte*)plabel, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt4(pStr0, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = SliderInt4(pStr0, v, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (int* pv = v) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (int* pv = v) - { - bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - bool ret = SliderInt4(label, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt4(pStr0, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = SliderInt4(pStr0, (int*)pv, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = SliderInt4((byte*)plabel, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(label, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native(label, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native(label, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(pStr0, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(byte* label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(label, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ReadOnlySpan v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.066.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.066.cs deleted file mode 100644 index 5084d790b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.066.cs +++ /dev/null @@ -1,5047 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool SliderInt4(ref byte label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(ReadOnlySpan label, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderInt4Native((byte*)plabel, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderInt4(string label, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = SliderInt4Native(pStr0, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderScalarNative(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[188])(label, dataType, pData, pMin, pMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[188])((nint)label, dataType, (nint)pData, (nint)pMin, (nint)pMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative(label, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNative((byte*)plabel, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalar(string label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderScalarNative(pStr0, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[189])(label, dataType, pData, components, pMin, pMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[189])((nint)label, dataType, (nint)pData, components, (nint)pMin, (nint)pMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative(label, dataType, pData, components, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderScalarNNative((byte*)plabel, dataType, pData, components, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = SliderScalarNNative(pStr0, dataType, pData, components, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte VSliderFloatNative(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[190])(label, size, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[190])((nint)label, size, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format) - { - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax) - { - bool ret = VSliderFloat(label, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - bool ret = VSliderFloat(label, size, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = VSliderFloat((byte*)plabel, size, v, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = VSliderFloat(pStr0, size, v, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = VSliderFloat(pStr0, size, v, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, byte* format) - { - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax) - { - fixed (float* pv = &v) - { - bool ret = VSliderFloat(label, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - bool ret = VSliderFloat(label, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = VSliderFloat((byte*)plabel, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = VSliderFloat(pStr0, size, (float*)pv, vMin, vMax, (string)"%.3f", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = VSliderFloat(pStr0, size, (float*)pv, vMin, vMax, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative(label, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, float* v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, float* v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(byte* label, Vector2 size, ref float v, float vMin, float vMax, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative(label, size, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ref byte label, Vector2 size, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(ReadOnlySpan label, Vector2 size, ref float v, float vMin, float vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderFloatNative((byte*)plabel, size, (float*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderFloat(string label, Vector2 size, ref float v, float vMin, float vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderFloatNative(pStr0, size, (float*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte VSliderIntNative(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[191])(label, size, v, vMin, vMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[191])((nint)label, size, (nint)v, vMin, vMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = VSliderIntNative(label, size, v, vMin, vMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format) - { - byte ret = VSliderIntNative(label, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax) - { - bool ret = VSliderInt(label, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - bool ret = VSliderInt(label, size, v, vMin, vMax, (string)"%d", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = VSliderInt((byte*)plabel, size, v, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = VSliderInt(pStr0, size, v, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = VSliderInt(pStr0, size, v, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, byte* format) - { - fixed (int* pv = &v) - { - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax) - { - fixed (int* pv = &v) - { - bool ret = VSliderInt(label, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - bool ret = VSliderInt(label, size, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, byte* format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - bool ret = VSliderInt((byte*)plabel, size, (int*)pv, vMin, vMax, (string)"%d", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = VSliderInt(pStr0, size, (int*)pv, vMin, vMax, (string)"%d", (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - bool ret = VSliderInt(pStr0, size, (int*)pv, vMin, vMax, (string)"%d", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(label, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative(label, size, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative(label, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, int* v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, v, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, int* v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(pStr0, size, v, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.067.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.067.cs deleted file mode 100644 index a15ab10d4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.067.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(byte* label, Vector2 size, ref int v, int vMin, int vMax, string format) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative(label, size, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ref byte label, Vector2 size, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(ReadOnlySpan label, Vector2 size, ref int v, int vMin, int vMax, string format) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderIntNative((byte*)plabel, size, (int*)pv, vMin, vMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderInt(string label, Vector2 size, ref int v, int vMin, int vMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = VSliderIntNative(pStr0, size, (int*)pv, vMin, vMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte VSliderScalarNative(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[192])(label, size, dataType, pData, pMin, pMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[192])((nint)label, size, dataType, (nint)pData, (nint)pMin, (nint)pMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - fixed (byte* plabel = label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, format, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)(default), (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative(label, size, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, pStr1, (ImGuiSliderFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ref byte label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(ReadOnlySpan label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = VSliderScalarNative((byte*)plabel, size, dataType, pData, pMin, pMax, pStr0, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool VSliderScalar(string label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = VSliderScalarNative(pStr0, size, dataType, pData, pMin, pMax, (byte*)pformat, (ImGuiSliderFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputFloatNative(byte* label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[193])(label, v, step, stepFast, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[193])((nint)label, (nint)v, step, stepFast, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputFloatNative(label, v, step, stepFast, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, byte* format) - { - byte ret = InputFloatNative(label, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast) - { - bool ret = InputFloat(label, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step) - { - bool ret = InputFloat(label, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v) - { - bool ret = InputFloat(label, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, byte* format) - { - byte ret = InputFloatNative(label, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, byte* format) - { - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) - { - bool ret = InputFloat(label, v, step, stepFast, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, ImGuiInputTextFlags flags) - { - bool ret = InputFloat(label, v, step, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, ImGuiInputTextFlags flags) - { - bool ret = InputFloat(label, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputFloatNative(label, v, step, (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat((byte*)plabel, v, step, stepFast, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat((byte*)plabel, v, step, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, stepFast, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat(pStr0, v, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat(pStr0, v, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat(pStr0, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat(pStr0, v, step, stepFast, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat(pStr0, v, step, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat(pStr0, v, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, byte* format) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast) - { - fixed (float* pv = &v) - { - bool ret = InputFloat(label, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step) - { - fixed (float* pv = &v) - { - bool ret = InputFloat(label, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = InputFloat(label, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, byte* format) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - bool ret = InputFloat(label, (float*)pv, step, stepFast, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - bool ret = InputFloat(label, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - bool ret = InputFloat(label, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, stepFast, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat(pStr0, (float*)pv, step, stepFast, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat(pStr0, (float*)pv, step, (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat(pStr0, (float*)pv, step, stepFast, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat(pStr0, (float*)pv, step, (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, v, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, v, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, float stepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, v, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, float step, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, v, step, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, v, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, stepFast, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, float stepFast, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, float step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, float stepFast, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, float step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, step, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, v, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, float stepFast, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, v, step, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, v, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.068.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.068.cs deleted file mode 100644 index e3ca1cf35..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.068.cs +++ /dev/null @@ -1,5033 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, float stepFast, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, (float*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, float step, string format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, (float*)pv, step, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(byte* label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative(label, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, float stepFast, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, float step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, float stepFast, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, float step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, step, (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloatNative((byte*)plabel, (float*)pv, (float)(0.0f), (float)(0.0f), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, float stepFast, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, float step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, step, (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloatNative(pStr0, (float*)pv, (float)(0.0f), (float)(0.0f), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputFloat2Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[194])(label, v, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[194])((nint)label, (nint)v, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputFloat2Native(label, v, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, byte* format) - { - byte ret = InputFloat2Native(label, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v) - { - bool ret = InputFloat2(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, ImGuiInputTextFlags flags) - { - bool ret = InputFloat2(label, v, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloat2Native((byte*)plabel, v, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloat2Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputFloat2Native((byte*)plabel, v, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputFloat2Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat2((byte*)plabel, v, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(pStr0, v, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat2(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat2(pStr0, v, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte ret = InputFloat2Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = InputFloat2Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - byte ret = InputFloat2Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ReadOnlySpan v, byte* format) - { - fixed (float* pv = v) - { - byte ret = InputFloat2Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ReadOnlySpan v) - { - fixed (float* pv = v) - { - bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref Vector2 v, byte* format, ImGuiInputTextFlags flags) - { - fixed (Vector2* pv = &v) - { - byte ret = InputFloat2Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref Vector2 v, byte* format) - { - fixed (Vector2* pv = &v) - { - byte ret = InputFloat2Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref Vector2 v) - { - fixed (Vector2* pv = &v) - { - bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref Vector2 v, ImGuiInputTextFlags flags) - { - fixed (Vector2* pv = &v) - { - bool ret = InputFloat2(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref Vector2 v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref Vector2 v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref Vector2 v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref Vector2 v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat2((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat2(pStr0, (float*)pv, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(label, v, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(label, v, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(label, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat2Native(pStr0, v, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat2Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref Vector2 v, string format, ImGuiInputTextFlags flags) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(label, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref Vector2 v, string format) - { - fixed (Vector2* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(label, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref Vector2 v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref Vector2 v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat2Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat2Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat2(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat2Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputFloat3Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[195])(label, v, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[195])((nint)label, (nint)v, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputFloat3Native(label, v, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, byte* format) - { - byte ret = InputFloat3Native(label, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v) - { - bool ret = InputFloat3(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, ImGuiInputTextFlags flags) - { - bool ret = InputFloat3(label, v, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloat3Native((byte*)plabel, v, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloat3Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputFloat3Native((byte*)plabel, v, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputFloat3Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat3((byte*)plabel, v, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(pStr0, v, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat3(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat3(pStr0, v, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte ret = InputFloat3Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = InputFloat3Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - byte ret = InputFloat3Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ReadOnlySpan v, byte* format) - { - fixed (float* pv = v) - { - byte ret = InputFloat3Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ReadOnlySpan v) - { - fixed (float* pv = v) - { - bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref Vector3 v, byte* format, ImGuiInputTextFlags flags) - { - fixed (Vector3* pv = &v) - { - byte ret = InputFloat3Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref Vector3 v, byte* format) - { - fixed (Vector3* pv = &v) - { - byte ret = InputFloat3Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref Vector3 v) - { - fixed (Vector3* pv = &v) - { - bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref Vector3 v, ImGuiInputTextFlags flags) - { - fixed (Vector3* pv = &v) - { - bool ret = InputFloat3(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref Vector3 v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref Vector3 v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref Vector3 v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref Vector3 v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.069.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.069.cs deleted file mode 100644 index b900c4b49..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.069.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat3((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat3(pStr0, (float*)pv, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(label, v, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(label, v, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(label, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat3Native(pStr0, v, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat3Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref Vector3 v, string format, ImGuiInputTextFlags flags) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(label, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref Vector3 v, string format) - { - fixed (Vector3* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(label, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref Vector3 v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref Vector3 v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat3Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat3Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat3(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat3Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputFloat4Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[196])(label, v, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[196])((nint)label, (nint)v, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputFloat4Native(label, v, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, byte* format) - { - byte ret = InputFloat4Native(label, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v) - { - bool ret = InputFloat4(label, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, ImGuiInputTextFlags flags) - { - bool ret = InputFloat4(label, v, (string)"%.3f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloat4Native((byte*)plabel, v, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputFloat4Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputFloat4Native((byte*)plabel, v, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputFloat4Native((byte*)plabel, v, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputFloat4((byte*)plabel, v, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(pStr0, v, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(pStr0, v, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat4(pStr0, v, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputFloat4(pStr0, v, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte ret = InputFloat4Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, byte* format) - { - fixed (float* pv = &v) - { - byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v) - { - fixed (float* pv = &v) - { - bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - byte ret = InputFloat4Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ReadOnlySpan v, byte* format) - { - fixed (float* pv = v) - { - byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ReadOnlySpan v) - { - fixed (float* pv = v) - { - bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref Vector4 v, byte* format, ImGuiInputTextFlags flags) - { - fixed (Vector4* pv = &v) - { - byte ret = InputFloat4Native(label, (float*)pv, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref Vector4 v, byte* format) - { - fixed (Vector4* pv = &v) - { - byte ret = InputFloat4Native(label, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref Vector4 v) - { - fixed (Vector4* pv = &v) - { - bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref Vector4 v, ImGuiInputTextFlags flags) - { - fixed (Vector4* pv = &v) - { - bool ret = InputFloat4(label, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref Vector4 v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref Vector4 v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref Vector4 v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref Vector4 v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - bool ret = InputFloat4((byte*)plabel, (float*)pv, (string)"%.3f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - bool ret = InputFloat4(pStr0, (float*)pv, (string)"%.3f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(label, v, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(label, v, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(label, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(label, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(label, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat4Native(pStr0, v, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat4Native(pStr0, v, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, float* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, v, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, float* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, v, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, float* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(pStr0, v, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, ref byte format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref Vector4 v, string format, ImGuiInputTextFlags flags) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(label, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref Vector4 v, string format) - { - fixed (Vector4* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, ReadOnlySpan format) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(label, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(label, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(byte* label, ref float v, string format) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native(label, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ReadOnlySpan v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref Vector4 v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref Vector4 v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ref byte label, ref float v, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(ReadOnlySpan label, ref float v, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputFloat4Native((byte*)plabel, (float*)pv, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputFloat4Native(pStr0, (float*)pv, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputFloat4(string label, ref float v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputFloat4Native(pStr0, (float*)pv, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputIntNative(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[197])(label, v, step, stepFast, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[197])((nint)label, (nint)v, step, stepFast, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) - { - byte ret = InputIntNative(label, v, step, stepFast, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, int* v, int step, int stepFast) - { - byte ret = InputIntNative(label, v, step, stepFast, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, int* v, int step) - { - byte ret = InputIntNative(label, v, step, (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, int* v) - { - byte ret = InputIntNative(label, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, int* v, int step, ImGuiInputTextFlags flags) - { - byte ret = InputIntNative(label, v, step, (int)(100), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, int* v, ImGuiInputTextFlags flags) - { - byte ret = InputIntNative(label, v, (int)(1), (int)(100), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputIntNative((byte*)plabel, v, step, stepFast, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, int* v, int step, int stepFast) - { - fixed (byte* plabel = &label) - { - byte ret = InputIntNative((byte*)plabel, v, step, stepFast, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, int* v, int step) - { - fixed (byte* plabel = &label) - { - byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, int* v, int step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputIntNative((byte*)plabel, v, step, stepFast, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, int* v, int step, int stepFast) - { - fixed (byte* plabel = label) - { - byte ret = InputIntNative((byte*)plabel, v, step, stepFast, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, int* v, int step) - { - fixed (byte* plabel = label) - { - byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, int* v, int step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputIntNative((byte*)plabel, v, step, (int)(100), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputIntNative((byte*)plabel, v, (int)(1), (int)(100), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputIntNative(pStr0, v, step, stepFast, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, int* v, int step, int stepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputIntNative(pStr0, v, step, stepFast, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, int* v, int step) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputIntNative(pStr0, v, step, (int)(100), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputIntNative(pStr0, v, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, int* v, int step, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputIntNative(pStr0, v, step, (int)(100), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, int* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputIntNative(pStr0, v, (int)(1), (int)(100), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative(label, (int*)pv, step, stepFast, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, ref int v, int step, int stepFast) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative(label, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, ref int v, int step) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative(label, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, ref int v) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative(label, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, ref int v, int step, ImGuiInputTextFlags flags) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative(label, (int*)pv, step, (int)(100), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(byte* label, ref int v, ImGuiInputTextFlags flags) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative(label, (int*)pv, (int)(1), (int)(100), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, ref int v, int step, int stepFast) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, ref int v, int step) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, ref int v, int step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ref byte label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, ref int v, int step, int stepFast) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, ref int v, int step) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, ref int v, int step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, step, (int)(100), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputIntNative((byte*)plabel, (int*)pv, (int)(1), (int)(100), flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, ref int v, int step, int stepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputIntNative(pStr0, (int*)pv, step, stepFast, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, ref int v, int step, int stepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputIntNative(pStr0, (int*)pv, step, stepFast, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, ref int v, int step) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputIntNative(pStr0, (int*)pv, step, (int)(100), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputIntNative(pStr0, (int*)pv, (int)(1), (int)(100), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, ref int v, int step, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputIntNative(pStr0, (int*)pv, step, (int)(100), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt(string label, ref int v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputIntNative(pStr0, (int*)pv, (int)(1), (int)(100), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputInt2Native(byte* label, int* v, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[198])(label, v, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[198])((nint)label, (nint)v, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputInt2(byte* label, int* v, ImGuiInputTextFlags flags) - { - byte ret = InputInt2Native(label, v, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt2(byte* label, int* v) - { - byte ret = InputInt2Native(label, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt2(ref byte label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputInt2Native((byte*)plabel, v, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - byte ret = InputInt2Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputInt2Native((byte*)plabel, v, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - byte ret = InputInt2Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(string label, int* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputInt2Native(pStr0, v, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt2(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputInt2Native(pStr0, v, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt2(byte* label, ref int v, ImGuiInputTextFlags flags) - { - fixed (int* pv = &v) - { - byte ret = InputInt2Native(label, (int*)pv, flags); - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.070.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.070.cs deleted file mode 100644 index 45b2b68d8..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.070.cs +++ /dev/null @@ -1,5052 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputInt2(byte* label, ref int v) - { - fixed (int* pv = &v) - { - byte ret = InputInt2Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (int* pv = v) - { - byte ret = InputInt2Native(label, (int*)pv, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(byte* label, ReadOnlySpan v) - { - fixed (int* pv = v) - { - byte ret = InputInt2Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ref byte label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(string label, ref int v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputInt2Native(pStr0, (int*)pv, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputInt2Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputInt2Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt2(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputInt2Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputInt3Native(byte* label, int* v, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[199])(label, v, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[199])((nint)label, (nint)v, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputInt3(byte* label, int* v, ImGuiInputTextFlags flags) - { - byte ret = InputInt3Native(label, v, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt3(byte* label, int* v) - { - byte ret = InputInt3Native(label, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt3(ref byte label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputInt3Native((byte*)plabel, v, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - byte ret = InputInt3Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputInt3Native((byte*)plabel, v, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - byte ret = InputInt3Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(string label, int* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputInt3Native(pStr0, v, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt3(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputInt3Native(pStr0, v, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt3(byte* label, ref int v, ImGuiInputTextFlags flags) - { - fixed (int* pv = &v) - { - byte ret = InputInt3Native(label, (int*)pv, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(byte* label, ref int v) - { - fixed (int* pv = &v) - { - byte ret = InputInt3Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (int* pv = v) - { - byte ret = InputInt3Native(label, (int*)pv, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(byte* label, ReadOnlySpan v) - { - fixed (int* pv = v) - { - byte ret = InputInt3Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ref byte label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(string label, ref int v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputInt3Native(pStr0, (int*)pv, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputInt3Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputInt3Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt3(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputInt3Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputInt4Native(byte* label, int* v, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[200])(label, v, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[200])((nint)label, (nint)v, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputInt4(byte* label, int* v, ImGuiInputTextFlags flags) - { - byte ret = InputInt4Native(label, v, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt4(byte* label, int* v) - { - byte ret = InputInt4Native(label, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt4(ref byte label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputInt4Native((byte*)plabel, v, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ref byte label, int* v) - { - fixed (byte* plabel = &label) - { - byte ret = InputInt4Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ReadOnlySpan label, int* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputInt4Native((byte*)plabel, v, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ReadOnlySpan label, int* v) - { - fixed (byte* plabel = label) - { - byte ret = InputInt4Native((byte*)plabel, v, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(string label, int* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputInt4Native(pStr0, v, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt4(string label, int* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputInt4Native(pStr0, v, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputInt4(byte* label, ref int v, ImGuiInputTextFlags flags) - { - fixed (int* pv = &v) - { - byte ret = InputInt4Native(label, (int*)pv, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(byte* label, ref int v) - { - fixed (int* pv = &v) - { - byte ret = InputInt4Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(byte* label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (int* pv = v) - { - byte ret = InputInt4Native(label, (int*)pv, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(byte* label, ReadOnlySpan v) - { - fixed (int* pv = v) - { - byte ret = InputInt4Native(label, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ref byte label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ref byte label, ref int v) - { - fixed (byte* plabel = &label) - { - fixed (int* pv = &v) - { - byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ReadOnlySpan label, ReadOnlySpan v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ReadOnlySpan label, ReadOnlySpan v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = v) - { - byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(string label, ref int v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputInt4Native(pStr0, (int*)pv, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(string label, ref int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pv = &v) - { - byte ret = InputInt4Native(pStr0, (int*)pv, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ReadOnlySpan label, ref int v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputInt4Native((byte*)plabel, (int*)pv, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputInt4(ReadOnlySpan label, ref int v) - { - fixed (byte* plabel = label) - { - fixed (int* pv = &v) - { - byte ret = InputInt4Native((byte*)plabel, (int*)pv, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputDoubleNative(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[201])(label, v, step, stepFast, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[201])((nint)label, (nint)v, step, stepFast, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputDoubleNative(label, v, step, stepFast, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, byte* format) - { - byte ret = InputDoubleNative(label, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast) - { - bool ret = InputDouble(label, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step) - { - bool ret = InputDouble(label, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v) - { - bool ret = InputDouble(label, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, byte* format) - { - byte ret = InputDoubleNative(label, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, byte* format) - { - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) - { - bool ret = InputDouble(label, v, step, stepFast, (string)"%.6f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, ImGuiInputTextFlags flags) - { - bool ret = InputDouble(label, v, step, (double)(0.0), (string)"%.6f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, ImGuiInputTextFlags flags) - { - bool ret = InputDouble(label, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputDoubleNative(label, v, step, (double)(0.0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast) - { - fixed (byte* plabel = &label) - { - bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step) - { - fixed (byte* plabel = &label) - { - bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v) - { - fixed (byte* plabel = &label) - { - bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast) - { - fixed (byte* plabel = label) - { - bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step) - { - fixed (byte* plabel = label) - { - bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v) - { - fixed (byte* plabel = label) - { - bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputDouble((byte*)plabel, v, step, stepFast, (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputDouble((byte*)plabel, v, step, (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - bool ret = InputDouble((byte*)plabel, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, stepFast, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, stepFast, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputDouble(pStr0, v, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputDouble(pStr0, v, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputDouble(pStr0, v, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputDouble(pStr0, v, step, stepFast, (string)"%.6f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputDouble(pStr0, v, step, (double)(0.0), (string)"%.6f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = InputDouble(pStr0, v, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, byte* format) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast) - { - fixed (double* pv = &v) - { - bool ret = InputDouble(label, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step) - { - fixed (double* pv = &v) - { - bool ret = InputDouble(label, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v) - { - fixed (double* pv = &v) - { - bool ret = InputDouble(label, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, byte* format) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, byte* format) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - bool ret = InputDouble(label, (double*)pv, step, stepFast, (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - bool ret = InputDouble(label, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - bool ret = InputDouble(label, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, byte* format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, byte* format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, byte* format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, byte* format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, stepFast, (string)"%.6f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - bool ret = InputDouble((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), format, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - bool ret = InputDouble(pStr0, (double*)pv, step, stepFast, (string)"%.6f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - bool ret = InputDouble(pStr0, (double*)pv, step, (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - bool ret = InputDouble(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - bool ret = InputDouble(pStr0, (double*)pv, step, stepFast, (string)"%.6f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - bool ret = InputDouble(pStr0, (double*)pv, step, (double)(0.0), (string)"%.6f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - bool ret = InputDouble(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (string)"%.6f", flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, v, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, v, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, double stepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, double step, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, v, step, (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, double* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, v, (double)(0.0), (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, stepFast, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, double stepFast, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, double step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, double* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, double stepFast, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, double step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, step, (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, double* v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, v, (double)(0.0), (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, double stepFast, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, v, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, v, step, (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, double* v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, v, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ref byte format) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, ref byte format) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, ref byte format) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, ReadOnlySpan format) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, ReadOnlySpan format) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, ReadOnlySpan format) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, double stepFast, string format) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, string format) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, string format) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, double step, string format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, (double*)pv, step, (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(byte* label, ref double v, string format, ImGuiInputTextFlags flags) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative(label, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.071.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.071.cs deleted file mode 100644 index 6fb8a9d7f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.071.cs +++ /dev/null @@ -1,5021 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, double stepFast, string format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, string format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, string format) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, double step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ref byte label, ref double v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, double stepFast, string format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, stepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, string format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, string format) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, double step, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, step, (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(ReadOnlySpan label, ref double v, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (double* pv = &v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputDoubleNative((byte*)plabel, (double*)pv, (double)(0.0), (double)(0.0), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = &format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, double stepFast, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, stepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, double step, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, step, (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputDouble(string label, ref double v, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pv = &v) - { - fixed (byte* pformat = format) - { - byte ret = InputDoubleNative(pStr0, (double*)pv, (double)(0.0), (double)(0.0), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputScalarNative(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[202])(label, dataType, pData, pStep, pStepFast, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[202])((nint)label, dataType, (nint)pData, (nint)pStep, (nint)pStepFast, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(label, dataType, pData, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(label, dataType, pData, pStep, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(byte* label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative(label, dataType, pData, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ref byte label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, void* pStep, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, pStep, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNative((byte*)plabel, dataType, pData, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, pStep, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalar(string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNative(pStr0, dataType, pData, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[203])(label, dataType, pData, components, pStep, pStepFast, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[203])((nint)label, dataType, (nint)pData, components, (nint)pStep, (nint)pStepFast, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), format, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)(default), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), format, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, byte* format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), format, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(label, dataType, pData, components, pStep, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative(label, dataType, pData, components, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.072.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.072.cs deleted file mode 100644 index c3a7a46c3..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.072.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), pStr1, (ImGuiInputTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ref byte label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, pStepFast, pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, void* pStep, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, pStep, (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(ReadOnlySpan label, ImGuiDataType dataType, void* pData, int components, string format, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputScalarNNative((byte*)plabel, dataType, pData, components, (void*)(default), (void*)(default), pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ref byte format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, pStepFast, (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, (ImGuiInputTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, void* pStep, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, pStep, (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputScalarN(string label, ImGuiDataType dataType, void* pData, int components, ReadOnlySpan format, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = InputScalarNNative(pStr0, dataType, pData, components, (void*)(default), (void*)(default), (byte*)pformat, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColorEdit3Native(byte* label, float* col, ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[204])(label, col, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[204])((nint)label, (nint)col, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, float* col, ImGuiColorEditFlags flags) - { - byte ret = ColorEdit3Native(label, col, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, float* col) - { - byte ret = ColorEdit3Native(label, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ref byte label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = ColorEdit3Native((byte*)plabel, col, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ref byte label, float* col) - { - fixed (byte* plabel = &label) - { - byte ret = ColorEdit3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = ColorEdit3Native((byte*)plabel, col, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ReadOnlySpan label, float* col) - { - fixed (byte* plabel = label) - { - byte ret = ColorEdit3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(string label, float* col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorEdit3Native(pStr0, col, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(string label, float* col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorEdit3Native(pStr0, col, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, ref float col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, ref float col) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit3Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, ReadOnlySpan col) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, ref Vector3 col, ImGuiColorEditFlags flags) - { - fixed (Vector3* pcol = &col) - { - byte ret = ColorEdit3Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(byte* label, ref Vector3 col) - { - fixed (Vector3* pcol = &col) - { - byte ret = ColorEdit3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ref byte label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ref byte label, ref float col) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ReadOnlySpan label, ReadOnlySpan col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(string label, ref Vector3 col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pcol = &col) - { - byte ret = ColorEdit3Native(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(string label, ref Vector3 col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pcol = &col) - { - byte ret = ColorEdit3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(ReadOnlySpan label, ref float col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(string label, ref float col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit3(string label, ref float col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorEdit3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColorEdit4Native(byte* label, float* col, ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[205])(label, col, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[205])((nint)label, (nint)col, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, float* col, ImGuiColorEditFlags flags) - { - byte ret = ColorEdit4Native(label, col, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, float* col) - { - byte ret = ColorEdit4Native(label, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ref byte label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = ColorEdit4Native((byte*)plabel, col, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ref byte label, float* col) - { - fixed (byte* plabel = &label) - { - byte ret = ColorEdit4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = ColorEdit4Native((byte*)plabel, col, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ReadOnlySpan label, float* col) - { - fixed (byte* plabel = label) - { - byte ret = ColorEdit4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(string label, float* col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorEdit4Native(pStr0, col, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(string label, float* col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorEdit4Native(pStr0, col, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, ref float col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, ref float col) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit4Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, ReadOnlySpan col) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags) - { - fixed (Vector4* pcol = &col) - { - byte ret = ColorEdit4Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(byte* label, ref Vector4 col) - { - fixed (Vector4* pcol = &col) - { - byte ret = ColorEdit4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ref byte label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ref byte label, ref float col) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ReadOnlySpan label, ReadOnlySpan col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(string label, ref Vector4 col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - byte ret = ColorEdit4Native(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(string label, ref Vector4 col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - byte ret = ColorEdit4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(ReadOnlySpan label, ref float col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(string label, ref float col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorEdit4(string label, ref float col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorEdit4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColorPicker3Native(byte* label, float* col, ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[206])(label, col, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[206])((nint)label, (nint)col, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, float* col, ImGuiColorEditFlags flags) - { - byte ret = ColorPicker3Native(label, col, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, float* col) - { - byte ret = ColorPicker3Native(label, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ref byte label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = ColorPicker3Native((byte*)plabel, col, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ref byte label, float* col) - { - fixed (byte* plabel = &label) - { - byte ret = ColorPicker3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = ColorPicker3Native((byte*)plabel, col, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ReadOnlySpan label, float* col) - { - fixed (byte* plabel = label) - { - byte ret = ColorPicker3Native((byte*)plabel, col, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(string label, float* col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorPicker3Native(pStr0, col, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(string label, float* col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorPicker3Native(pStr0, col, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, ref float col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, ref float col) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker3Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, ReadOnlySpan col) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, ref Vector3 col, ImGuiColorEditFlags flags) - { - fixed (Vector3* pcol = &col) - { - byte ret = ColorPicker3Native(label, (float*)pcol, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(byte* label, ref Vector3 col) - { - fixed (Vector3* pcol = &col) - { - byte ret = ColorPicker3Native(label, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ref byte label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ref byte label, ref float col) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ReadOnlySpan label, ReadOnlySpan col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(string label, ref Vector3 col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pcol = &col) - { - byte ret = ColorPicker3Native(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(string label, ref Vector3 col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector3* pcol = &col) - { - byte ret = ColorPicker3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(ReadOnlySpan label, ref float col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(string label, ref float col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker3(string label, ref float col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorPicker3Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColorPicker4Native(byte* label, float* col, ImGuiColorEditFlags flags, float* refCol) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[207])(label, col, flags, refCol); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[207])((nint)label, (nint)col, flags, (nint)refCol); - #endif - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags, float* refCol) - { - byte ret = ColorPicker4Native(label, col, flags, refCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags) - { - byte ret = ColorPicker4Native(label, col, flags, (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, float* col) - { - byte ret = ColorPicker4Native(label, col, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, float* col, float* refCol) - { - byte ret = ColorPicker4Native(label, col, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, float* col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (byte* plabel = &label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, flags, refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, float* col) - { - fixed (byte* plabel = &label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, float* col, float* refCol) - { - fixed (byte* plabel = &label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (byte* plabel = label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, flags, refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, float* col) - { - fixed (byte* plabel = label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, float* col, float* refCol) - { - fixed (byte* plabel = label) - { - byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, float* col, ImGuiColorEditFlags flags, float* refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorPicker4Native(pStr0, col, flags, refCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, float* col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorPicker4Native(pStr0, col, flags, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, float* col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorPicker4Native(pStr0, col, (ImGuiColorEditFlags)(0), (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, float* col, float* refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorPicker4Native(pStr0, col, (ImGuiColorEditFlags)(0), refCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref float col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref float col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref float col) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref float col, float* refCol) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ReadOnlySpan col) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ReadOnlySpan col, float* refCol) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags) - { - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref Vector4 col) - { - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref Vector4 col, float* refCol) - { - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, ref float col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, refCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, ref float col) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, ref float col, float* refCol) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, refCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, float* refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags, float* refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, refCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref Vector4 col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref Vector4 col, float* refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags, float* refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, refCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ref float col) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ref float col, float* refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref float col, ImGuiColorEditFlags flags, float* refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, refCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref float col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref float col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref float col, float* refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), refCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, col, flags, (float*)prefCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, float* col, ref float refCol) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, col, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, float* col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (byte* plabel = &label) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, float* col, ref float refCol) - { - fixed (byte* plabel = &label) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, float* col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (byte* plabel = label) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, col, flags, (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, float* col, ref float refCol) - { - fixed (byte* plabel = label) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, col, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, float* col, ImGuiColorEditFlags flags, ref float refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(pStr0, col, flags, (float*)prefCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, float* col, ref float refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(pStr0, col, (ImGuiColorEditFlags)(0), (float*)prefCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref float col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref float col, ref float refCol) - { - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ReadOnlySpan col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (float* pcol = col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ReadOnlySpan col, ref float refCol) - { - fixed (float* pcol = col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref Vector4 col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (Vector4* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, (float*)pcol, flags, (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(byte* label, ref Vector4 col, ref float refCol) - { - fixed (Vector4* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(label, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, ref float col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)prefCol); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ref byte label, ref float col, ref float refCol) - { - fixed (byte* plabel = &label) - { - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)prefCol); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ReadOnlySpan col, ref float refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref Vector4 col, ImGuiColorEditFlags flags, ref float refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)prefCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref Vector4 col, ref float refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ref float col, ImGuiColorEditFlags flags, ref float refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, flags, (float*)prefCol); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(ReadOnlySpan label, ref float col, ref float refCol) - { - fixed (byte* plabel = label) - { - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native((byte*)plabel, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref float col, ImGuiColorEditFlags flags, ref float refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, flags, (float*)prefCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColorPicker4(string label, ref float col, ref float refCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - fixed (float* prefCol = &refCol) - { - byte ret = ColorPicker4Native(pStr0, (float*)pcol, (ImGuiColorEditFlags)(0), (float*)prefCol); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColorButtonNative(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[208])(descId, col, flags, size); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[208])((nint)descId, col, flags, size); - #endif - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) - { - byte ret = ColorButtonNative(descId, col, flags, size); - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags) - { - byte ret = ColorButtonNative(descId, col, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(byte* descId, Vector4 col) - { - byte ret = ColorButtonNative(descId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(byte* descId, Vector4 col, Vector2 size) - { - byte ret = ColorButtonNative(descId, col, (ImGuiColorEditFlags)(0), size); - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ref byte descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) - { - fixed (byte* pdescId = &descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, flags, size); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ref byte descId, Vector4 col, ImGuiColorEditFlags flags) - { - fixed (byte* pdescId = &descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ref byte descId, Vector4 col) - { - fixed (byte* pdescId = &descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ref byte descId, Vector4 col, Vector2 size) - { - fixed (byte* pdescId = &descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), size); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ReadOnlySpan descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) - { - fixed (byte* pdescId = descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, flags, size); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ReadOnlySpan descId, Vector4 col, ImGuiColorEditFlags flags) - { - fixed (byte* pdescId = descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ReadOnlySpan descId, Vector4 col) - { - fixed (byte* pdescId = descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(ReadOnlySpan descId, Vector4 col, Vector2 size) - { - fixed (byte* pdescId = descId) - { - byte ret = ColorButtonNative((byte*)pdescId, col, (ImGuiColorEditFlags)(0), size); - return ret != 0; - } - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(string descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorButtonNative(pStr0, col, flags, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(string descId, Vector4 col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorButtonNative(pStr0, col, flags, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(string descId, Vector4 col) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorButtonNative(pStr0, col, (ImGuiColorEditFlags)(0), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// display a color squarebutton, hover for details, return true when pressed.
- ///
- public static bool ColorButton(string descId, Vector4 col, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColorButtonNative(pStr0, col, (ImGuiColorEditFlags)(0), size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetColorEditOptionsNative(ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[209])(flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[209])(flags); - #endif - } - - /// - /// initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls.
- ///
- public static void SetColorEditOptions(ImGuiColorEditFlags flags) - { - SetColorEditOptionsNative(flags); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[210])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[210])((nint)label); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNode(byte* label) - { - byte ret = TreeNodeNative(label); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNode(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = TreeNodeNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNode(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = TreeNodeNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNode(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeNative(byte* strId, byte* fmt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[211])(strId, fmt); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[211])((nint)strId, (nint)fmt); - #endif - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(byte* strId, byte* fmt) - { - byte ret = TreeNodeNative(strId, fmt); - return ret != 0; - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ref byte strId, byte* fmt) - { - fixed (byte* pstrId = &strId) - { - byte ret = TreeNodeNative((byte*)pstrId, fmt); - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ReadOnlySpan strId, byte* fmt) - { - fixed (byte* pstrId = strId) - { - byte ret = TreeNodeNative((byte*)pstrId, fmt); - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(string strId, byte* fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeNative(pStr0, fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(byte* strId, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeNative(strId, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(byte* strId, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeNative(strId, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(byte* strId, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeNative(strId, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ref byte strId, ref byte fmt) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ReadOnlySpan strId, ReadOnlySpan fmt) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(string strId, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TreeNodeNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ref byte strId, ReadOnlySpan fmt) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ref byte strId, string fmt) - { - fixed (byte* pstrId = &strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeNative((byte*)pstrId, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ReadOnlySpan strId, ref byte fmt) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeNative((byte*)pstrId, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(ReadOnlySpan strId, string fmt) - { - fixed (byte* pstrId = strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeNative((byte*)pstrId, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(string strId, ref byte fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeNative(pStr0, (byte*)pfmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet().
- ///
- public static bool TreeNode(string strId, ReadOnlySpan fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeNative(pStr0, (byte*)pfmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeNative(void* ptrId, byte* fmt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[212])(ptrId, fmt); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[212])((nint)ptrId, (nint)fmt); - #endif - } - - /// - /// "
- ///
- public static bool TreeNode(void* ptrId, byte* fmt) - { - byte ret = TreeNodeNative(ptrId, fmt); - return ret != 0; - } - - /// - /// "
- ///
- public static bool TreeNode(void* ptrId, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeNative(ptrId, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// "
- ///
- public static bool TreeNode(void* ptrId, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeNative(ptrId, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// "
- ///
- public static bool TreeNode(void* ptrId, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeNative(ptrId, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeVNative(byte* strId, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[213])(strId, fmt, args); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[213])((nint)strId, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(byte* strId, byte* fmt, nuint args) - { - byte ret = TreeNodeVNative(strId, fmt, args); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ref byte strId, byte* fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - byte ret = TreeNodeVNative((byte*)pstrId, fmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ReadOnlySpan strId, byte* fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - byte ret = TreeNodeVNative((byte*)pstrId, fmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(string strId, byte* fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeVNative(pStr0, fmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(byte* strId, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeVNative(strId, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(byte* strId, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeVNative(strId, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(byte* strId, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeVNative(strId, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ref byte strId, ref byte fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ReadOnlySpan strId, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.073.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.073.cs deleted file mode 100644 index a812178e7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.073.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool TreeNodeV(string strId, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TreeNodeVNative(pStr0, pStr1, args); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ref byte strId, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ref byte strId, string fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeVNative((byte*)pstrId, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ReadOnlySpan strId, ref byte fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeVNative((byte*)pstrId, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(ReadOnlySpan strId, string fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeVNative((byte*)pstrId, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(string strId, ref byte fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeVNative(pStr0, (byte*)pfmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(string strId, ReadOnlySpan fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeVNative(pStr0, (byte*)pfmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeVNative(void* ptrId, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[214])(ptrId, fmt, args); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[214])((nint)ptrId, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(void* ptrId, byte* fmt, nuint args) - { - byte ret = TreeNodeVNative(ptrId, fmt, args); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(void* ptrId, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeVNative(ptrId, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(void* ptrId, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeVNative(ptrId, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeV(void* ptrId, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeVNative(ptrId, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeExNative(byte* label, ImGuiTreeNodeFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[215])(label, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[215])((nint)label, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(byte* label, ImGuiTreeNodeFlags flags) - { - byte ret = TreeNodeExNative(label, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(byte* label) - { - byte ret = TreeNodeExNative(label, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ref byte label, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = TreeNodeExNative((byte*)plabel, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = TreeNodeExNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ReadOnlySpan label, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = TreeNodeExNative((byte*)plabel, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = TreeNodeExNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(string label, ImGuiTreeNodeFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative(pStr0, (ImGuiTreeNodeFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeExNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[216])(strId, flags, fmt); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[216])((nint)strId, flags, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt) - { - byte ret = TreeNodeExNative(strId, flags, fmt); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, byte* fmt) - { - fixed (byte* pstrId = &strId) - { - byte ret = TreeNodeExNative((byte*)pstrId, flags, fmt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, byte* fmt) - { - fixed (byte* pstrId = strId) - { - byte ret = TreeNodeExNative((byte*)pstrId, flags, fmt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, byte* fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative(pStr0, flags, fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExNative(strId, flags, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExNative(strId, flags, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative(strId, flags, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, ref byte fmt) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TreeNodeExNative(pStr0, flags, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ref byte strId, ImGuiTreeNodeFlags flags, string fmt) - { - fixed (byte* pstrId = &strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative((byte*)pstrId, flags, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ref byte fmt) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExNative((byte*)pstrId, flags, (byte*)pfmt); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, string fmt) - { - fixed (byte* pstrId = strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative((byte*)pstrId, flags, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, ref byte fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExNative(pStr0, flags, (byte*)pfmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(string strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExNative(pStr0, flags, (byte*)pfmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeExNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[217])(ptrId, flags, fmt); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[217])((nint)ptrId, flags, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt) - { - byte ret = TreeNodeExNative(ptrId, flags, fmt); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExNative(ptrId, flags, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExNative(ptrId, flags, (byte*)pfmt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExNative(ptrId, flags, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeExVNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[218])(strId, flags, fmt, args); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[218])((nint)strId, flags, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - byte ret = TreeNodeExVNative(strId, flags, fmt, args); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - byte ret = TreeNodeExVNative((byte*)pstrId, flags, fmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - byte ret = TreeNodeExVNative((byte*)pstrId, flags, fmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExVNative(pStr0, flags, fmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExVNative(strId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExVNative(strId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExVNative(strId, flags, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TreeNodeExVNative(pStr0, flags, pStr1, args); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ref byte strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) - { - fixed (byte* pstrId = &strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExVNative((byte*)pstrId, flags, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExVNative((byte*)pstrId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(ReadOnlySpan strId, ImGuiTreeNodeFlags flags, string fmt, nuint args) - { - fixed (byte* pstrId = strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExVNative((byte*)pstrId, flags, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExVNative(pStr0, flags, (byte*)pfmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(string strId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExVNative(pStr0, flags, (byte*)pfmt, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeExVNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[219])(ptrId, flags, fmt, args); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[219])((nint)ptrId, flags, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) - { - byte ret = TreeNodeExVNative(ptrId, flags, fmt, args); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - byte ret = TreeNodeExVNative(ptrId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - byte ret = TreeNodeExVNative(ptrId, flags, (byte*)pfmt, args); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeExVNative(ptrId, flags, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePushTreePop yourself if desired.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TreePushNative(byte* strId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[220])(strId); - #else - ((delegate* unmanaged[Cdecl])funcTable[220])((nint)strId); - #endif - } - - /// - /// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePushTreePop yourself if desired.
- ///
- public static void TreePush(byte* strId) - { - TreePushNative(strId); - } - - /// - /// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePushTreePop yourself if desired.
- ///
- public static void TreePush(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - TreePushNative((byte*)pstrId); - } - } - - /// - /// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePushTreePop yourself if desired.
- ///
- public static void TreePush(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - TreePushNative((byte*)pstrId); - } - } - - /// - /// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePushTreePop yourself if desired.
- ///
- public static void TreePush(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TreePushNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePushTreePop yourself if desired.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TreePushNative(void* ptrId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[221])(ptrId); - #else - ((delegate* unmanaged[Cdecl])funcTable[221])((nint)ptrId); - #endif - } - - /// - /// "
- ///
- public static void TreePush(void* ptrId) - { - TreePushNative(ptrId); - } - - /// - /// ~ Unindent()+PopID()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TreePopNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[222])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[222])(); - #endif - } - - /// - /// ~ Unindent()+PopID()
- ///
- public static void TreePop() - { - TreePopNative(); - } - - /// - /// horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetTreeNodeToLabelSpacingNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[223])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[223])(); - #endif - } - - /// - /// horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode
- ///
- public static float GetTreeNodeToLabelSpacing() - { - float ret = GetTreeNodeToLabelSpacingNative(); - return ret; - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CollapsingHeaderNative(byte* label, ImGuiTreeNodeFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[224])(label, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[224])((nint)label, flags); - #endif - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(byte* label, ImGuiTreeNodeFlags flags) - { - byte ret = CollapsingHeaderNative(label, flags); - return ret != 0; - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(byte* label) - { - byte ret = CollapsingHeaderNative(label, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(ref byte label, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, flags); - return ret != 0; - } - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(ReadOnlySpan label, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, flags); - return ret != 0; - } - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(string label, ImGuiTreeNodeFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CollapsingHeaderNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- public static bool CollapsingHeader(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CollapsingHeaderNative(pStr0, (ImGuiTreeNodeFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CollapsingHeaderNative(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[225])(label, pVisible, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[225])((nint)label, (nint)pVisible, flags); - #endif - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) - { - byte ret = CollapsingHeaderNative(label, pVisible, flags); - return ret != 0; - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(byte* label, bool* pVisible) - { - byte ret = CollapsingHeaderNative(label, pVisible, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ref byte label, bool* pVisible, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, flags); - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ref byte label, bool* pVisible) - { - fixed (byte* plabel = &label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, flags); - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ReadOnlySpan label, bool* pVisible) - { - fixed (byte* plabel = label) - { - byte ret = CollapsingHeaderNative((byte*)plabel, pVisible, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(string label, bool* pVisible, ImGuiTreeNodeFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CollapsingHeaderNative(pStr0, pVisible, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(string label, bool* pVisible) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CollapsingHeaderNative(pStr0, pVisible, (ImGuiTreeNodeFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(byte* label, ref bool pVisible, ImGuiTreeNodeFlags flags) - { - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative(label, (bool*)ppVisible, flags); - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(byte* label, ref bool pVisible) - { - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative(label, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ref byte label, ref bool pVisible, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, flags); - return ret != 0; - } - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ref byte label, ref bool pVisible) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible, ImGuiTreeNodeFlags flags) - { - fixed (byte* plabel = label) - { - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, flags); - return ret != 0; - } - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(ReadOnlySpan label, ref bool pVisible) - { - fixed (byte* plabel = label) - { - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative((byte*)plabel, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); - return ret != 0; - } - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(string label, ref bool pVisible, ImGuiTreeNodeFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative(pStr0, (bool*)ppVisible, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
- ///
- public static bool CollapsingHeader(string label, ref bool pVisible) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppVisible = &pVisible) - { - byte ret = CollapsingHeaderNative(pStr0, (bool*)ppVisible, (ImGuiTreeNodeFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// set next TreeNodeCollapsingHeader open state.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemOpenNative(byte isOpen, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[226])(isOpen, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[226])(isOpen, cond); - #endif - } - - /// - /// set next TreeNodeCollapsingHeader open state.
- ///
- public static void SetNextItemOpen(bool isOpen, ImGuiCond cond) - { - SetNextItemOpenNative(isOpen ? (byte)1 : (byte)0, cond); - } - - /// - /// set next TreeNodeCollapsingHeader open state.
- ///
- public static void SetNextItemOpen(bool isOpen) - { - SetNextItemOpenNative(isOpen ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - - /// - /// set id to use for openclose storage (default to same as item id).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemStorageIDNative(uint storageId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[227])(storageId); - #else - ((delegate* unmanaged[Cdecl])funcTable[227])(storageId); - #endif - } - - /// - /// set id to use for openclose storage (default to same as item id).
- ///
- public static void SetNextItemStorageID(uint storageId) - { - SetNextItemStorageIDNative(storageId); - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SelectableNative(byte* label, byte selected, ImGuiSelectableFlags flags, Vector2 size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[228])(label, selected, flags, size); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[228])((nint)label, selected, flags, size); - #endif - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags, Vector2 size) - { - byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, flags, size); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, bool selected, ImGuiSelectableFlags flags) - { - byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, bool selected) - { - byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label) - { - byte ret = SelectableNative(label, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, ImGuiSelectableFlags flags) - { - byte ret = SelectableNative(label, (byte)(0), flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, bool selected, Vector2 size) - { - byte ret = SelectableNative(label, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, Vector2 size) - { - byte ret = SelectableNative(label, (byte)(0), (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(byte* label, ImGuiSelectableFlags flags, Vector2 size) - { - byte ret = SelectableNative(label, (byte)(0), flags, size); - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, bool selected, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, bool selected) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, bool selected, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ref byte label, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, bool selected, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, bool selected) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, bool selected, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(ReadOnlySpan label, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, (byte)(0), flags, size); - return ret != 0; - } - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, flags, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, bool selected, ImGuiSelectableFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, flags, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, ImGuiSelectableFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, (byte)(0), flags, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, bool selected, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, selected ? (byte)1 : (byte)0, (ImGuiSelectableFlags)(0), size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, (byte)(0), (ImGuiSelectableFlags)(0), size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- public static bool Selectable(string label, ImGuiSelectableFlags flags, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, (byte)(0), flags, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SelectableNative(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[229])(label, pSelected, flags, size); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[229])((nint)label, (nint)pSelected, flags, size); - #endif - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - byte ret = SelectableNative(label, pSelected, flags, size); - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags) - { - byte ret = SelectableNative(label, pSelected, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, bool* pSelected) - { - byte ret = SelectableNative(label, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, bool* pSelected, Vector2 size) - { - byte ret = SelectableNative(label, pSelected, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, flags, size); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, bool* pSelected, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, bool* pSelected) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, bool* pSelected, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, flags, size); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, bool* pSelected, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, bool* pSelected) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, bool* pSelected, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = SelectableNative((byte*)plabel, pSelected, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, pSelected, flags, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, bool* pSelected, ImGuiSelectableFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, pSelected, flags, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, bool* pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, pSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, bool* pSelected, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SelectableNative(pStr0, pSelected, (ImGuiSelectableFlags)(0), size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(label, (bool*)ppSelected, flags, size); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, ref bool pSelected, ImGuiSelectableFlags flags) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(label, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, ref bool pSelected) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(label, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(byte* label, ref bool pSelected, Vector2 size) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(label, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, size); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, ref bool pSelected, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, ref bool pSelected) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ref byte label, ref bool pSelected, Vector2 size) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - fixed (byte* plabel = label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, size); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, ref bool pSelected, ImGuiSelectableFlags flags) - { - fixed (byte* plabel = label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, ref bool pSelected) - { - fixed (byte* plabel = label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(ReadOnlySpan label, ref bool pSelected, Vector2 size) - { - fixed (byte* plabel = label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative((byte*)plabel, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); - return ret != 0; - } - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, ref bool pSelected, ImGuiSelectableFlags flags, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(pStr0, (bool*)ppSelected, flags, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, ref bool pSelected, ImGuiSelectableFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(pStr0, (bool*)ppSelected, flags, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, ref bool pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(pStr0, (bool*)ppSelected, (ImGuiSelectableFlags)(0), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// "bool* p_selected" point to the selection state (read-write), as a convenient helper.
- ///
- public static bool Selectable(string label, ref bool pSelected, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = SelectableNative(pStr0, (bool*)ppSelected, (ImGuiSelectableFlags)(0), size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMultiSelectIO* BeginMultiSelectNative(ImGuiMultiSelectFlags flags, int selectionSize, int itemsCount) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[230])(flags, selectionSize, itemsCount); - #else - return (ImGuiMultiSelectIO*)((delegate* unmanaged[Cdecl])funcTable[230])(flags, selectionSize, itemsCount); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectIOPtr BeginMultiSelect(ImGuiMultiSelectFlags flags, int selectionSize, int itemsCount) - { - ImGuiMultiSelectIOPtr ret = BeginMultiSelectNative(flags, selectionSize, itemsCount); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectIOPtr BeginMultiSelect(ImGuiMultiSelectFlags flags, int selectionSize) - { - ImGuiMultiSelectIOPtr ret = BeginMultiSelectNative(flags, selectionSize, (int)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectIOPtr BeginMultiSelect(ImGuiMultiSelectFlags flags) - { - ImGuiMultiSelectIOPtr ret = BeginMultiSelectNative(flags, (int)(-1), (int)(-1)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMultiSelectIO* EndMultiSelectNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[231])(); - #else - return (ImGuiMultiSelectIO*)((delegate* unmanaged[Cdecl])funcTable[231])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectIOPtr EndMultiSelect() - { - ImGuiMultiSelectIOPtr ret = EndMultiSelectNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemSelectionUserDataNative(long selectionUserData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[232])(selectionUserData); - #else - ((delegate* unmanaged[Cdecl])funcTable[232])(selectionUserData); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextItemSelectionUserData(long selectionUserData) - { - SetNextItemSelectionUserDataNative(selectionUserData); - } - - /// - /// Was the last item selection state toggled? Useful if you need the per-item information _before_ reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemToggledSelectionNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[233])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[233])(); - #endif - } - - /// - /// Was the last item selection state toggled? Useful if you need the per-item information _before_ reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly.
- ///
- public static bool IsItemToggledSelection() - { - byte ret = IsItemToggledSelectionNative(); - return ret != 0; - } - - /// - /// open a framed scrolling region
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginListBoxNative(byte* label, Vector2 size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[234])(label, size); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[234])((nint)label, size); - #endif - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(byte* label, Vector2 size) - { - byte ret = BeginListBoxNative(label, size); - return ret != 0; - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(byte* label) - { - byte ret = BeginListBoxNative(label, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(ref byte label, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = BeginListBoxNative((byte*)plabel, size); - return ret != 0; - } - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = BeginListBoxNative((byte*)plabel, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(ReadOnlySpan label, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = BeginListBoxNative((byte*)plabel, size); - return ret != 0; - } - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = BeginListBoxNative((byte*)plabel, (Vector2)(new Vector2(0,0))); - return ret != 0; - } - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(string label, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginListBoxNative(pStr0, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// open a framed scrolling region
- ///
- public static bool BeginListBox(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginListBoxNative(pStr0, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// only call EndListBox() if BeginListBox() returned true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndListBoxNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[235])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[235])(); - #endif - } - - /// - /// only call EndListBox() if BeginListBox() returned true!
- ///
- public static void EndListBox() - { - EndListBoxNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ListBoxNative(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[236])(label, currentItem, items, itemsCount, heightInItems); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[236])((nint)label, (nint)currentItem, (nint)items, itemsCount, heightInItems); - #endif - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) - { - byte ret = ListBoxNative(label, currentItem, items, itemsCount, heightInItems); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, int* currentItem, byte** items, int itemsCount) - { - byte ret = ListBoxNative(label, currentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, int* currentItem, byte** items, int itemsCount, int heightInItems) - { - fixed (byte* plabel = &label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, heightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, int* currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = &label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount, int heightInItems) - { - fixed (byte* plabel = label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, heightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, int* currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, int* currentItem, byte** items, int itemsCount, int heightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ListBoxNative(pStr0, currentItem, items, itemsCount, heightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, int* currentItem, byte** items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ListBoxNative(pStr0, currentItem, items, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, ref int currentItem, byte** items, int itemsCount, int heightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(label, (int*)pcurrentItem, items, itemsCount, heightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, ref int currentItem, byte** items, int itemsCount) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(label, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, ref int currentItem, byte** items, int itemsCount, int heightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, heightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, ref int currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount, int heightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, heightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, ref int currentItem, byte** items, int itemsCount) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, ref int currentItem, byte** items, int itemsCount, int heightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, items, itemsCount, heightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, ref int currentItem, byte** items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, items, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, int* currentItem, string[] items, int itemsCount, int heightInItems) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(label, currentItem, pStrArray0, itemsCount, heightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, int* currentItem, string[] items, int itemsCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(label, currentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, int* currentItem, string[] items, int itemsCount, int heightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(pStr0, currentItem, pStrArray0, itemsCount, heightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, int* currentItem, string[] items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(pStr0, currentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, ref int currentItem, string[] items, int itemsCount, int heightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, heightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, ref int currentItem, string[] items, int itemsCount) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(label, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, ref int currentItem, string[] items, int itemsCount, int heightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, heightInItems); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, ref int currentItem, string[] items, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(items); - if (items != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < items.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(items[i]); - } - byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, pStrArray0, itemsCount, (int)(-1)); - for (int i = 0; i < items.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ListBoxNative(byte* label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, int, int, byte*>, void*, int, int, byte>)funcTable[237])(label, currentItem, getter, userData, itemsCount, heightInItems); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[237])((nint)label, (nint)currentItem, (nint)getter, (nint)userData, itemsCount, heightInItems); - #endif - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - byte ret = ListBoxNative(label, currentItem, getter, userData, itemsCount, heightInItems); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - byte ret = ListBoxNative(label, currentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - fixed (byte* plabel = &label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, getter, userData, itemsCount, heightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = &label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - fixed (byte* plabel = label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, getter, userData, itemsCount, heightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = label) - { - byte ret = ListBoxNative((byte*)plabel, currentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ListBoxNative(pStr0, currentItem, getter, userData, itemsCount, heightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, int* currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ListBoxNative(pStr0, currentItem, getter, userData, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(label, (int*)pcurrentItem, getter, userData, itemsCount, heightInItems); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(byte* label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(label, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, heightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ref byte label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = &label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, heightInItems); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(ReadOnlySpan label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - fixed (byte* plabel = label) - { - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative((byte*)plabel, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount, int heightInItems) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, getter, userData, itemsCount, heightInItems); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ListBox(string label, ref int currentItem, delegate*, void*, int, int, byte*> getter, void* userData, int itemsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pcurrentItem = ¤tItem) - { - byte ret = ListBoxNative(pStr0, (int*)pcurrentItem, getter, userData, itemsCount, (int)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLinesNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[238])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[238])((nint)label, (nint)values, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotLinesNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.074.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.074.cs deleted file mode 100644 index d00ac153d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.074.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.075.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.075.cs deleted file mode 100644 index ddb1c4c9b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.075.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.076.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.076.cs deleted file mode 100644 index 15dcea7f2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.076.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.077.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.077.cs deleted file mode 100644 index c9f84fa5e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.077.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLinesNative(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, void>)funcTable[239])(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[239])((nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.078.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.078.cs deleted file mode 100644 index 1610de3e7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.078.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLinesNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLines(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotLinesNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHistogramNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[240])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[240])((nint)label, (nint)values, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.079.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.079.cs deleted file mode 100644 index 28a4ac633..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.079.cs +++ /dev/null @@ -1,5051 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.080.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.080.cs deleted file mode 100644 index 6aaed08aa..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.080.cs +++ /dev/null @@ -1,5021 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.081.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.081.cs deleted file mode 100644 index 0c7de459c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.081.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, float* values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, values, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, float* values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, values, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.082.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.082.cs deleted file mode 100644 index cdd8c7913..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.082.cs +++ /dev/null @@ -1,5048 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize, stride); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = &label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, ref float values, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - fixed (byte* plabel = label) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, (float*)pvalues, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.083.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.083.cs deleted file mode 100644 index faf89814a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.083.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, ref float values, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, (float*)pvalues, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHistogramNative(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, void>)funcTable[241])(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[241])((nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, graphSize); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)(default), scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)(default), scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), overlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative(label, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), pStr1, scaleMin, scaleMax, graphSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHistogramNative((byte*)plabel, valuesGetter, data, valuesCount, (int)(0), pStr0, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ref byte overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, (Vector2)(new Vector2(0,0))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.084.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.084.cs deleted file mode 100644 index b42003fce..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.084.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, (float)(float.MaxValue), (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, (float)(float.MaxValue), graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHistogram(string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 graphSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - PlotHistogramNative(pStr0, valuesGetter, data, valuesCount, (int)(0), (byte*)poverlayText, scaleMin, scaleMax, graphSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ValueNative(byte* prefix, byte b) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[242])(prefix, b); - #else - ((delegate* unmanaged[Cdecl])funcTable[242])((nint)prefix, b); - #endif - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, bool b) - { - ValueNative(prefix, b ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, bool b) - { - fixed (byte* pprefix = &prefix) - { - ValueNative((byte*)pprefix, b ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, bool b) - { - fixed (byte* pprefix = prefix) - { - ValueNative((byte*)pprefix, b ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, bool b) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative(pStr0, b ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ValueNative(byte* prefix, int v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[243])(prefix, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[243])((nint)prefix, v); - #endif - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, int v) - { - ValueNative(prefix, v); - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, int v) - { - fixed (byte* pprefix = &prefix) - { - ValueNative((byte*)pprefix, v); - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, int v) - { - fixed (byte* pprefix = prefix) - { - ValueNative((byte*)pprefix, v); - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, int v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative(pStr0, v); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ValueNative(byte* prefix, uint v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[244])(prefix, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[244])((nint)prefix, v); - #endif - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, uint v) - { - ValueNative(prefix, v); - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, uint v) - { - fixed (byte* pprefix = &prefix) - { - ValueNative((byte*)pprefix, v); - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, uint v) - { - fixed (byte* pprefix = prefix) - { - ValueNative((byte*)pprefix, v); - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, uint v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative(pStr0, v); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ValueNative(byte* prefix, float v, byte* floatFormat) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[245])(prefix, v, floatFormat); - #else - ((delegate* unmanaged[Cdecl])funcTable[245])((nint)prefix, v, (nint)floatFormat); - #endif - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, float v, byte* floatFormat) - { - ValueNative(prefix, v, floatFormat); - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, float v) - { - ValueNative(prefix, v, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, float v, byte* floatFormat) - { - fixed (byte* pprefix = &prefix) - { - ValueNative((byte*)pprefix, v, floatFormat); - } - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, float v) - { - fixed (byte* pprefix = &prefix) - { - ValueNative((byte*)pprefix, v, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, float v, byte* floatFormat) - { - fixed (byte* pprefix = prefix) - { - ValueNative((byte*)pprefix, v, floatFormat); - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, float v) - { - fixed (byte* pprefix = prefix) - { - ValueNative((byte*)pprefix, v, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, float v, byte* floatFormat) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative(pStr0, v, floatFormat); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, float v) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative(pStr0, v, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, float v, ref byte floatFormat) - { - fixed (byte* pfloatFormat = &floatFormat) - { - ValueNative(prefix, v, (byte*)pfloatFormat); - } - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, float v, ReadOnlySpan floatFormat) - { - fixed (byte* pfloatFormat = floatFormat) - { - ValueNative(prefix, v, (byte*)pfloatFormat); - } - } - - /// - /// To be documented. - /// - public static void Value(byte* prefix, float v, string floatFormat) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (floatFormat != null) - { - pStrSize0 = Utils.GetByteCountUTF8(floatFormat); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(floatFormat, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative(prefix, v, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, float v, ref byte floatFormat) - { - fixed (byte* pprefix = &prefix) - { - fixed (byte* pfloatFormat = &floatFormat) - { - ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); - } - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, float v, ReadOnlySpan floatFormat) - { - fixed (byte* pprefix = prefix) - { - fixed (byte* pfloatFormat = floatFormat) - { - ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); - } - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, float v, string floatFormat) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (floatFormat != null) - { - pStrSize1 = Utils.GetByteCountUTF8(floatFormat); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(floatFormat, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ValueNative(pStr0, v, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, float v, ReadOnlySpan floatFormat) - { - fixed (byte* pprefix = &prefix) - { - fixed (byte* pfloatFormat = floatFormat) - { - ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); - } - } - } - - /// - /// To be documented. - /// - public static void Value(ref byte prefix, float v, string floatFormat) - { - fixed (byte* pprefix = &prefix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (floatFormat != null) - { - pStrSize0 = Utils.GetByteCountUTF8(floatFormat); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(floatFormat, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative((byte*)pprefix, v, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, float v, ref byte floatFormat) - { - fixed (byte* pprefix = prefix) - { - fixed (byte* pfloatFormat = &floatFormat) - { - ValueNative((byte*)pprefix, v, (byte*)pfloatFormat); - } - } - } - - /// - /// To be documented. - /// - public static void Value(ReadOnlySpan prefix, float v, string floatFormat) - { - fixed (byte* pprefix = prefix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (floatFormat != null) - { - pStrSize0 = Utils.GetByteCountUTF8(floatFormat); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(floatFormat, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ValueNative((byte*)pprefix, v, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, float v, ref byte floatFormat) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfloatFormat = &floatFormat) - { - ValueNative(pStr0, v, (byte*)pfloatFormat); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void Value(string prefix, float v, ReadOnlySpan floatFormat) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfloatFormat = floatFormat) - { - ValueNative(pStr0, v, (byte*)pfloatFormat); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginMenuBarNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[246])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[246])(); - #endif - } - - /// - /// append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).
- ///
- public static bool BeginMenuBar() - { - byte ret = BeginMenuBarNative(); - return ret != 0; - } - - /// - /// only call EndMenuBar() if BeginMenuBar() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndMenuBarNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[247])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[247])(); - #endif - } - - /// - /// only call EndMenuBar() if BeginMenuBar() returns true!
- ///
- public static void EndMenuBar() - { - EndMenuBarNative(); - } - - /// - /// create and append to a full screen menu-bar.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginMainMenuBarNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[248])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[248])(); - #endif - } - - /// - /// create and append to a full screen menu-bar.
- ///
- public static bool BeginMainMenuBar() - { - byte ret = BeginMainMenuBarNative(); - return ret != 0; - } - - /// - /// only call EndMainMenuBar() if BeginMainMenuBar() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndMainMenuBarNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[249])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[249])(); - #endif - } - - /// - /// only call EndMainMenuBar() if BeginMainMenuBar() returns true!
- ///
- public static void EndMainMenuBar() - { - EndMainMenuBarNative(); - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginMenuNative(byte* label, byte enabled) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[250])(label, enabled); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[250])((nint)label, enabled); - #endif - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(byte* label, bool enabled) - { - byte ret = BeginMenuNative(label, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(byte* label) - { - byte ret = BeginMenuNative(label, (byte)(1)); - return ret != 0; - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(ref byte label, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = BeginMenuNative((byte*)plabel, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = BeginMenuNative((byte*)plabel, (byte)(1)); - return ret != 0; - } - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(ReadOnlySpan label, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = BeginMenuNative((byte*)plabel, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = BeginMenuNative((byte*)plabel, (byte)(1)); - return ret != 0; - } - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(string label, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuNative(pStr0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create a sub-menu entry. only call EndMenu() if this returns true!
- ///
- public static bool BeginMenu(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuNative(pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// only call EndMenu() if BeginMenu() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndMenuNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[251])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[251])(); - #endif - } - - /// - /// only call EndMenu() if BeginMenu() returns true!
- ///
- public static void EndMenu() - { - EndMenuNative(); - } - - /// - /// return true when activated.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte MenuItemNative(byte* label, byte* shortcut, byte selected, byte enabled) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[252])(label, shortcut, selected, enabled); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[252])((nint)label, (nint)shortcut, selected, enabled); - #endif - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, byte* shortcut, bool selected, bool enabled) - { - byte ret = MenuItemNative(label, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, byte* shortcut, bool selected) - { - byte ret = MenuItemNative(label, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, byte* shortcut) - { - byte ret = MenuItemNative(label, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label) - { - byte ret = MenuItemNative(label, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, bool selected) - { - byte ret = MenuItemNative(label, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, bool selected, bool enabled) - { - byte ret = MenuItemNative(label, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, byte* shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, byte* shortcut) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, bool selected) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, bool selected) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, byte* shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, byte* shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, byte* shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, ref byte shortcut, bool selected) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, ref byte shortcut) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(label, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(label, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(byte* label, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(label, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemNative(pStr0, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemNative(pStr0, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemNative(pStr0, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, string shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ref byte label, string shortcut) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, ref byte shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, ref byte shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, ref byte shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte MenuItemNative(byte* label, byte* shortcut, bool* pSelected, byte enabled) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[253])(label, shortcut, pSelected, enabled); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[253])((nint)label, (nint)shortcut, (nint)pSelected, enabled); - #endif - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, byte* shortcut, bool* pSelected, bool enabled) - { - byte ret = MenuItemNative(label, shortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, byte* shortcut, bool* pSelected) - { - byte ret = MenuItemNative(label, shortcut, pSelected, (byte)(1)); - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, byte* shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, byte* shortcut, bool* pSelected) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut, bool* pSelected) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, byte* shortcut, bool* pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, shortcut, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, byte* shortcut, bool* pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(pStr0, shortcut, pSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ref byte shortcut, bool* pSelected, bool enabled) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ref byte shortcut, bool* pSelected) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut, bool* pSelected) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, string shortcut, bool* pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(label, pStr0, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, string shortcut, bool* pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative(label, pStr0, pSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut, bool* pSelected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, bool* pSelected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, string shortcut, bool* pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemNative(pStr0, pStr1, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, string shortcut, bool* pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemNative(pStr0, pStr1, pSelected, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, bool* pSelected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, string shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, string shortcut, bool* pSelected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, bool* pSelected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, pSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut, bool* pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut, bool* pSelected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemNative((byte*)plabel, pStr0, pSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ref byte shortcut, bool* pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ref byte shortcut, bool* pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut, bool* pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut, bool* pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, pSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, byte* shortcut, ref bool pSelected, bool enabled) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, byte* shortcut, ref bool pSelected) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, shortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, byte* shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, byte* shortcut, ref bool pSelected) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, byte* shortcut, ref bool pSelected) - { - fixed (byte* plabel = label) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, shortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, byte* shortcut, ref bool pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, shortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, byte* shortcut, ref bool pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, shortcut, (bool*)ppSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ref byte shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ref byte shortcut, ref bool pSelected) - { - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, ReadOnlySpan shortcut, ref bool pSelected) - { - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, string shortcut, ref bool pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, pStr0, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(byte* label, string shortcut, ref bool pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(label, pStr0, (bool*)ppSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ref byte shortcut, ref bool pSelected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ReadOnlySpan shortcut, ref bool pSelected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, string shortcut, ref bool pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, pStr1, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, string shortcut, ref bool pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, pStr1, (bool*)ppSelected, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, ReadOnlySpan shortcut, ref bool pSelected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, string shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ref byte label, string shortcut, ref bool pSelected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, ref byte shortcut, ref bool pSelected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut, ref bool pSelected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(ReadOnlySpan label, string shortcut, ref bool pSelected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative((byte*)plabel, pStr0, (bool*)ppSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ref byte shortcut, ref bool pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ref byte shortcut, ref bool pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut, ref bool pSelected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// return true when activated + toggle (*p_selected) if p_selected != NULL
- ///
- public static bool MenuItem(string label, ReadOnlySpan shortcut, ref bool pSelected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - fixed (bool* ppSelected = &pSelected) - { - byte ret = MenuItemNative(pStr0, (byte*)pshortcut, (bool*)ppSelected, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// beginappend a tooltip window.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTooltipNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[254])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[254])(); - #endif - } - - /// - /// beginappend a tooltip window.
- ///
- public static bool BeginTooltip() - { - byte ret = BeginTooltipNative(); - return ret != 0; - } - - /// - /// only call EndTooltip() if BeginTooltip()BeginItemTooltip() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndTooltipNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[255])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[255])(); - #endif - } - - /// - /// only call EndTooltip() if BeginTooltip()BeginItemTooltip() returns true!
- ///
- public static void EndTooltip() - { - EndTooltipNative(); - } - - /// - /// set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetTooltipNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[256])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[256])((nint)fmt); - #endif - } - - /// - /// set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip().
- ///
- public static void SetTooltip(byte* fmt) - { - SetTooltipNative(fmt); - } - - /// - /// set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip().
- ///
- public static void SetTooltip(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - SetTooltipNative((byte*)pfmt); - } - } - - /// - /// set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip().
- ///
- public static void SetTooltip(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - SetTooltipNative((byte*)pfmt); - } - } - - /// - /// set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip().
- ///
- public static void SetTooltip(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetTooltipNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetTooltipVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[257])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[257])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void SetTooltipV(byte* fmt, nuint args) - { - SetTooltipVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void SetTooltipV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - SetTooltipVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void SetTooltipV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - SetTooltipVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void SetTooltipV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetTooltipVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// beginappend a tooltip window if preceding item was hovered.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginItemTooltipNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[258])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[258])(); - #endif - } - - /// - /// beginappend a tooltip window if preceding item was hovered.
- ///
- public static bool BeginItemTooltip() - { - byte ret = BeginItemTooltipNative(); - return ret != 0; - } - - /// - /// set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetItemTooltipNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[259])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[259])((nint)fmt); - #endif - } - - /// - /// set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip().
- ///
- public static void SetItemTooltip(byte* fmt) - { - SetItemTooltipNative(fmt); - } - - /// - /// set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip().
- ///
- public static void SetItemTooltip(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - SetItemTooltipNative((byte*)pfmt); - } - } - - /// - /// set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip().
- ///
- public static void SetItemTooltip(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - SetItemTooltipNative((byte*)pfmt); - } - } - - /// - /// set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip().
- ///
- public static void SetItemTooltip(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetItemTooltipNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetItemTooltipVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[260])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[260])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void SetItemTooltipV(byte* fmt, nuint args) - { - SetItemTooltipVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void SetItemTooltipV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - SetItemTooltipVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void SetItemTooltipV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - SetItemTooltipVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void SetItemTooltipV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetItemTooltipVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupNative(byte* strId, ImGuiWindowFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[261])(strId, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[261])((nint)strId, flags); - #endif - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(byte* strId, ImGuiWindowFlags flags) - { - byte ret = BeginPopupNative(strId, flags); - return ret != 0; - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(byte* strId) - { - byte ret = BeginPopupNative(strId, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(ref byte strId, ImGuiWindowFlags flags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupNative((byte*)pstrId, flags); - return ret != 0; - } - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupNative((byte*)pstrId, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(ReadOnlySpan strId, ImGuiWindowFlags flags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupNative((byte*)pstrId, flags); - return ret != 0; - } - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupNative((byte*)pstrId, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(string strId, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the popup is open, and you can start outputting to it.
- ///
- public static bool BeginPopup(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupNative(pStr0, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupModalNative(byte* name, bool* pOpen, ImGuiWindowFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[262])(name, pOpen, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[262])((nint)name, (nint)pOpen, flags); - #endif - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(byte* name, bool* pOpen, ImGuiWindowFlags flags) - { - byte ret = BeginPopupModalNative(name, pOpen, flags); - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(byte* name, bool* pOpen) - { - byte ret = BeginPopupModalNative(name, pOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(byte* name) - { - byte ret = BeginPopupModalNative(name, (bool*)(default), (ImGuiWindowFlags)(0)); - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(byte* name, ImGuiWindowFlags flags) - { - byte ret = BeginPopupModalNative(name, (bool*)(default), flags); - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ref byte name, bool* pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = &name) - { - byte ret = BeginPopupModalNative((byte*)pname, pOpen, flags); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ref byte name, bool* pOpen) - { - fixed (byte* pname = &name) - { - byte ret = BeginPopupModalNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ref byte name) - { - fixed (byte* pname = &name) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ref byte name, ImGuiWindowFlags flags) - { - fixed (byte* pname = &name) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), flags); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ReadOnlySpan name, bool* pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = name) - { - byte ret = BeginPopupModalNative((byte*)pname, pOpen, flags); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ReadOnlySpan name, bool* pOpen) - { - fixed (byte* pname = name) - { - byte ret = BeginPopupModalNative((byte*)pname, pOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ReadOnlySpan name, ImGuiWindowFlags flags) - { - fixed (byte* pname = name) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)(default), flags); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(string name, bool* pOpen, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupModalNative(pStr0, pOpen, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(string name, bool* pOpen) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupModalNative(pStr0, pOpen, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupModalNative(pStr0, (bool*)(default), (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(string name, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupModalNative(pStr0, (bool*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(byte* name, ref bool pOpen, ImGuiWindowFlags flags) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative(name, (bool*)ppOpen, flags); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(byte* name, ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative(name, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ref byte name, ref bool pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = &name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, flags); - return ret != 0; - } - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ref byte name, ref bool pOpen) - { - fixed (byte* pname = &name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ReadOnlySpan name, ref bool pOpen, ImGuiWindowFlags flags) - { - fixed (byte* pname = name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, flags); - return ret != 0; - } - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(ReadOnlySpan name, ref bool pOpen) - { - fixed (byte* pname = name) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative((byte*)pname, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - return ret != 0; - } - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(string name, ref bool pOpen, ImGuiWindowFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative(pStr0, (bool*)ppOpen, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// return true if the modal is open, and you can start outputting to it.
- ///
- public static bool BeginPopupModal(string name, ref bool pOpen) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginPopupModalNative(pStr0, (bool*)ppOpen, (ImGuiWindowFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// only call EndPopup() if BeginPopupXXX() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndPopupNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[263])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[263])(); - #endif - } - - /// - /// only call EndPopup() if BeginPopupXXX() returns true!
- ///
- public static void EndPopup() - { - EndPopupNative(); - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OpenPopupNative(byte* strId, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[264])(strId, popupFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[264])((nint)strId, popupFlags); - #endif - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(byte* strId, ImGuiPopupFlags popupFlags) - { - OpenPopupNative(strId, popupFlags); - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(byte* strId) - { - OpenPopupNative(strId, (ImGuiPopupFlags)(0)); - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(ref byte strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = &strId) - { - OpenPopupNative((byte*)pstrId, popupFlags); - } - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - OpenPopupNative((byte*)pstrId, (ImGuiPopupFlags)(0)); - } - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = strId) - { - OpenPopupNative((byte*)pstrId, popupFlags); - } - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - OpenPopupNative((byte*)pstrId, (ImGuiPopupFlags)(0)); - } - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(string strId, ImGuiPopupFlags popupFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - OpenPopupNative(pStr0, popupFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- public static void OpenPopup(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - OpenPopupNative(pStr0, (ImGuiPopupFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call to mark popup as open (don't call every frame!).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OpenPopupNative(uint id, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[265])(id, popupFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[265])(id, popupFlags); - #endif - } - - /// - /// id overload to facilitate calling from nested stacks
- ///
- public static void OpenPopup(uint id, ImGuiPopupFlags popupFlags) - { - OpenPopupNative(id, popupFlags); - } - - /// - /// id overload to facilitate calling from nested stacks
- ///
- public static void OpenPopup(uint id) - { - OpenPopupNative(id, (ImGuiPopupFlags)(0)); - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OpenPopupOnItemClickNative(byte* strId, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[266])(strId, popupFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[266])((nint)strId, popupFlags); - #endif - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(byte* strId, ImGuiPopupFlags popupFlags) - { - OpenPopupOnItemClickNative(strId, popupFlags); - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(byte* strId) - { - OpenPopupOnItemClickNative(strId, (ImGuiPopupFlags)(1)); - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick() - { - OpenPopupOnItemClickNative((byte*)(default), (ImGuiPopupFlags)(1)); - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(ImGuiPopupFlags popupFlags) - { - OpenPopupOnItemClickNative((byte*)(default), popupFlags); - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.085.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.085.cs deleted file mode 100644 index 6d3f9dc10..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.085.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(ref byte strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = &strId) - { - OpenPopupOnItemClickNative((byte*)pstrId, popupFlags); - } - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - OpenPopupOnItemClickNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - } - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = strId) - { - OpenPopupOnItemClickNative((byte*)pstrId, popupFlags); - } - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - OpenPopupOnItemClickNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - } - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(string strId, ImGuiPopupFlags popupFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - OpenPopupOnItemClickNative(pStr0, popupFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
- ///
- public static void OpenPopupOnItemClick(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - OpenPopupOnItemClickNative(pStr0, (ImGuiPopupFlags)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// manually close the popup we have begin-ed into.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CloseCurrentPopupNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[267])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[267])(); - #endif - } - - /// - /// manually close the popup we have begin-ed into.
- ///
- public static void CloseCurrentPopup() - { - CloseCurrentPopupNative(); - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupContextItemNative(byte* strId, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[268])(strId, popupFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[268])((nint)strId, popupFlags); - #endif - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(byte* strId, ImGuiPopupFlags popupFlags) - { - byte ret = BeginPopupContextItemNative(strId, popupFlags); - return ret != 0; - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(byte* strId) - { - byte ret = BeginPopupContextItemNative(strId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem() - { - byte ret = BeginPopupContextItemNative((byte*)(default), (ImGuiPopupFlags)(1)); - return ret != 0; - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(ImGuiPopupFlags popupFlags) - { - byte ret = BeginPopupContextItemNative((byte*)(default), popupFlags); - return ret != 0; - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(ref byte strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupContextItemNative((byte*)pstrId, popupFlags); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupContextItemNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupContextItemNative((byte*)pstrId, popupFlags); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupContextItemNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(string strId, ImGuiPopupFlags popupFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupContextItemNative(pStr0, popupFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp!
- ///
- public static bool BeginPopupContextItem(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupContextItemNative(pStr0, (ImGuiPopupFlags)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// open+begin popup when clicked on current window.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupContextWindowNative(byte* strId, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[269])(strId, popupFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[269])((nint)strId, popupFlags); - #endif - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(byte* strId, ImGuiPopupFlags popupFlags) - { - byte ret = BeginPopupContextWindowNative(strId, popupFlags); - return ret != 0; - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(byte* strId) - { - byte ret = BeginPopupContextWindowNative(strId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow() - { - byte ret = BeginPopupContextWindowNative((byte*)(default), (ImGuiPopupFlags)(1)); - return ret != 0; - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(ImGuiPopupFlags popupFlags) - { - byte ret = BeginPopupContextWindowNative((byte*)(default), popupFlags); - return ret != 0; - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(ref byte strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupContextWindowNative((byte*)pstrId, popupFlags); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupContextWindowNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupContextWindowNative((byte*)pstrId, popupFlags); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupContextWindowNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(string strId, ImGuiPopupFlags popupFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupContextWindowNative(pStr0, popupFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// open+begin popup when clicked on current window.
- ///
- public static bool BeginPopupContextWindow(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupContextWindowNative(pStr0, (ImGuiPopupFlags)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupContextVoidNative(byte* strId, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[270])(strId, popupFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[270])((nint)strId, popupFlags); - #endif - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(byte* strId, ImGuiPopupFlags popupFlags) - { - byte ret = BeginPopupContextVoidNative(strId, popupFlags); - return ret != 0; - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(byte* strId) - { - byte ret = BeginPopupContextVoidNative(strId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid() - { - byte ret = BeginPopupContextVoidNative((byte*)(default), (ImGuiPopupFlags)(1)); - return ret != 0; - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(ImGuiPopupFlags popupFlags) - { - byte ret = BeginPopupContextVoidNative((byte*)(default), popupFlags); - return ret != 0; - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(ref byte strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupContextVoidNative((byte*)pstrId, popupFlags); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginPopupContextVoidNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(ReadOnlySpan strId, ImGuiPopupFlags popupFlags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupContextVoidNative((byte*)pstrId, popupFlags); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginPopupContextVoidNative((byte*)pstrId, (ImGuiPopupFlags)(1)); - return ret != 0; - } - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(string strId, ImGuiPopupFlags popupFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupContextVoidNative(pStr0, popupFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// open+begin popup when clicked in void (where there are no windows).
- ///
- public static bool BeginPopupContextVoid(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupContextVoidNative(pStr0, (ImGuiPopupFlags)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the popup is open.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPopupOpenNative(byte* strId, ImGuiPopupFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[271])(strId, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[271])((nint)strId, flags); - #endif - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(byte* strId, ImGuiPopupFlags flags) - { - byte ret = IsPopupOpenNative(strId, flags); - return ret != 0; - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(byte* strId) - { - byte ret = IsPopupOpenNative(strId, (ImGuiPopupFlags)(0)); - return ret != 0; - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(ref byte strId, ImGuiPopupFlags flags) - { - fixed (byte* pstrId = &strId) - { - byte ret = IsPopupOpenNative((byte*)pstrId, flags); - return ret != 0; - } - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = IsPopupOpenNative((byte*)pstrId, (ImGuiPopupFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(ReadOnlySpan strId, ImGuiPopupFlags flags) - { - fixed (byte* pstrId = strId) - { - byte ret = IsPopupOpenNative((byte*)pstrId, flags); - return ret != 0; - } - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = IsPopupOpenNative((byte*)pstrId, (ImGuiPopupFlags)(0)); - return ret != 0; - } - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(string strId, ImGuiPopupFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = IsPopupOpenNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// return true if the popup is open.
- ///
- public static bool IsPopupOpen(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = IsPopupOpenNative(pStr0, (ImGuiPopupFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTableNative(byte* strId, int columns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[272])(strId, columns, flags, outerSize, innerWidth); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[272])((nint)strId, columns, flags, outerSize, innerWidth); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - byte ret = BeginTableNative(strId, columns, flags, outerSize, innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, ImGuiTableFlags flags, Vector2 outerSize) - { - byte ret = BeginTableNative(strId, columns, flags, outerSize, (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, ImGuiTableFlags flags) - { - byte ret = BeginTableNative(strId, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns) - { - byte ret = BeginTableNative(strId, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, Vector2 outerSize) - { - byte ret = BeginTableNative(strId, columns, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, ImGuiTableFlags flags, float innerWidth) - { - byte ret = BeginTableNative(strId, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, float innerWidth) - { - byte ret = BeginTableNative(strId, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(byte* strId, int columns, Vector2 outerSize, float innerWidth) - { - byte ret = BeginTableNative(strId, columns, (ImGuiTableFlags)(0), outerSize, innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, ImGuiTableFlags flags, Vector2 outerSize) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, ImGuiTableFlags flags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, Vector2 outerSize) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, ImGuiTableFlags flags, float innerWidth) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, float innerWidth) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ref byte strId, int columns, Vector2 outerSize, float innerWidth) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, ImGuiTableFlags flags, Vector2 outerSize) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, ImGuiTableFlags flags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, Vector2 outerSize) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, ImGuiTableFlags flags, float innerWidth) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, float innerWidth) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(ReadOnlySpan strId, int columns, Vector2 outerSize, float innerWidth) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTableNative((byte*)pstrId, columns, (ImGuiTableFlags)(0), outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, flags, outerSize, innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, ImGuiTableFlags flags, Vector2 outerSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, flags, outerSize, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, ImGuiTableFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, Vector2 outerSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, ImGuiTableFlags flags, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, flags, (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0.0f,0.0f)), innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTable(string strId, int columns, Vector2 outerSize, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableNative(pStr0, columns, (ImGuiTableFlags)(0), outerSize, innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// only call EndTable() if BeginTable() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndTableNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[273])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[273])(); - #endif - } - - /// - /// only call EndTable() if BeginTable() returns true!
- ///
- public static void EndTable() - { - EndTableNative(); - } - - /// - /// append into the first cell of a new row.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableNextRowNative(ImGuiTableRowFlags rowFlags, float minRowHeight) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[274])(rowFlags, minRowHeight); - #else - ((delegate* unmanaged[Cdecl])funcTable[274])(rowFlags, minRowHeight); - #endif - } - - /// - /// append into the first cell of a new row.
- ///
- public static void TableNextRow(ImGuiTableRowFlags rowFlags, float minRowHeight) - { - TableNextRowNative(rowFlags, minRowHeight); - } - - /// - /// append into the first cell of a new row.
- ///
- public static void TableNextRow(ImGuiTableRowFlags rowFlags) - { - TableNextRowNative(rowFlags, (float)(0.0f)); - } - - /// - /// append into the first cell of a new row.
- ///
- public static void TableNextRow() - { - TableNextRowNative((ImGuiTableRowFlags)(0), (float)(0.0f)); - } - - /// - /// append into the first cell of a new row.
- ///
- public static void TableNextRow(float minRowHeight) - { - TableNextRowNative((ImGuiTableRowFlags)(0), minRowHeight); - } - - /// - /// append into the next column (or first column of next row if currently in last column). Return true when column is visible.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TableNextColumnNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[275])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[275])(); - #endif - } - - /// - /// append into the next column (or first column of next row if currently in last column). Return true when column is visible.
- ///
- public static bool TableNextColumn() - { - byte ret = TableNextColumnNative(); - return ret != 0; - } - - /// - /// append into the specified column. Return true when column is visible.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TableSetColumnIndexNative(int columnN) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[276])(columnN); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[276])(columnN); - #endif - } - - /// - /// append into the specified column. Return true when column is visible.
- ///
- public static bool TableSetColumnIndex(int columnN) - { - byte ret = TableSetColumnIndexNative(columnN); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetupColumnNative(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[277])(label, flags, initWidthOrWeight, userId); - #else - ((delegate* unmanaged[Cdecl])funcTable[277])((nint)label, flags, initWidthOrWeight, userId); - #endif - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) - { - TableSetupColumnNative(label, flags, initWidthOrWeight, userId); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight) - { - TableSetupColumnNative(label, flags, initWidthOrWeight, (uint)(0)); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags) - { - TableSetupColumnNative(label, flags, (float)(0.0f), (uint)(0)); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label) - { - TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, float initWidthOrWeight) - { - TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, uint userId) - { - TableSetupColumnNative(label, flags, (float)(0.0f), userId); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, uint userId) - { - TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(byte* label, float initWidthOrWeight, uint userId) - { - TableSetupColumnNative(label, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags, float initWidthOrWeight) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, float initWidthOrWeight) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, ImGuiTableColumnFlags flags, uint userId) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, uint userId) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ref byte label, float initWidthOrWeight, uint userId) - { - fixed (byte* plabel = &label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, float initWidthOrWeight) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, flags, initWidthOrWeight, (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, float initWidthOrWeight) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, ImGuiTableColumnFlags flags, uint userId) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, flags, (float)(0.0f), userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, uint userId) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(ReadOnlySpan label, float initWidthOrWeight, uint userId) - { - fixed (byte* plabel = label) - { - TableSetupColumnNative((byte*)plabel, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, flags, initWidthOrWeight, userId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, float initWidthOrWeight) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, flags, initWidthOrWeight, (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, flags, (float)(0.0f), (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), (float)(0.0f), (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, float initWidthOrWeight) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), initWidthOrWeight, (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, ImGuiTableColumnFlags flags, uint userId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, flags, (float)(0.0f), userId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, uint userId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), (float)(0.0f), userId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TableSetupColumn(string label, float initWidthOrWeight, uint userId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableSetupColumnNative(pStr0, (ImGuiTableColumnFlags)(0), initWidthOrWeight, userId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// lock columnsrows so they stay visible when scrolled.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetupScrollFreezeNative(int cols, int rows) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[278])(cols, rows); - #else - ((delegate* unmanaged[Cdecl])funcTable[278])(cols, rows); - #endif - } - - /// - /// lock columnsrows so they stay visible when scrolled.
- ///
- public static void TableSetupScrollFreeze(int cols, int rows) - { - TableSetupScrollFreezeNative(cols, rows); - } - - /// - /// submit one header cell manually (rarely used)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableHeaderNative(byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[279])(label); - #else - ((delegate* unmanaged[Cdecl])funcTable[279])((nint)label); - #endif - } - - /// - /// submit one header cell manually (rarely used)
- ///
- public static void TableHeader(byte* label) - { - TableHeaderNative(label); - } - - /// - /// submit one header cell manually (rarely used)
- ///
- public static void TableHeader(ref byte label) - { - fixed (byte* plabel = &label) - { - TableHeaderNative((byte*)plabel); - } - } - - /// - /// submit one header cell manually (rarely used)
- ///
- public static void TableHeader(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - TableHeaderNative((byte*)plabel); - } - } - - /// - /// submit one header cell manually (rarely used)
- ///
- public static void TableHeader(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TableHeaderNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableHeadersRowNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[280])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[280])(); - #endif - } - - /// - /// submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu
- ///
- public static void TableHeadersRow() - { - TableHeadersRowNative(); - } - - /// - /// submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableAngledHeadersRowNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[281])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[281])(); - #endif - } - - /// - /// submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW.
- ///
- public static void TableAngledHeadersRow() - { - TableAngledHeadersRowNative(); - } - - /// - /// get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableSortSpecs* TableGetSortSpecsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[282])(); - #else - return (ImGuiTableSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[282])(); - #endif - } - - /// - /// get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable().
- ///
- public static ImGuiTableSortSpecsPtr TableGetSortSpecs() - { - ImGuiTableSortSpecsPtr ret = TableGetSortSpecsNative(); - return ret; - } - - /// - /// return number of columns (value passed to BeginTable)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TableGetColumnCountNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[283])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[283])(); - #endif - } - - /// - /// return number of columns (value passed to BeginTable)
- ///
- public static int TableGetColumnCount() - { - int ret = TableGetColumnCountNative(); - return ret; - } - - /// - /// return current column index.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TableGetColumnIndexNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[284])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[284])(); - #endif - } - - /// - /// return current column index.
- ///
- public static int TableGetColumnIndex() - { - int ret = TableGetColumnIndexNative(); - return ret; - } - - /// - /// return current row index.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TableGetRowIndexNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[285])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[285])(); - #endif - } - - /// - /// return current row index.
- ///
- public static int TableGetRowIndex() - { - int ret = TableGetRowIndexNative(); - return ret; - } - - /// - /// return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* TableGetColumnNameNative(int columnN) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[286])(columnN); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[286])(columnN); - #endif - } - - /// - /// return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column.
- ///
- public static byte* TableGetColumnName(int columnN) - { - byte* ret = TableGetColumnNameNative(columnN); - return ret; - } - - /// - /// return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column.
- ///
- public static byte* TableGetColumnName() - { - byte* ret = TableGetColumnNameNative((int)(-1)); - return ret; - } - - /// - /// return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column.
- ///
- public static string TableGetColumnNameS() - { - string ret = Utils.DecodeStringUTF8(TableGetColumnNameNative((int)(-1))); - return ret; - } - - /// - /// return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column.
- ///
- public static string TableGetColumnNameS(int columnN) - { - string ret = Utils.DecodeStringUTF8(TableGetColumnNameNative(columnN)); - return ret; - } - - /// - /// return column flags so you can query their EnabledVisibleSortedHovered status flags. Pass -1 to use current column.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableColumnFlags TableGetColumnFlagsNative(int columnN) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[287])(columnN); - #else - return (ImGuiTableColumnFlags)((delegate* unmanaged[Cdecl])funcTable[287])(columnN); - #endif - } - - /// - /// return column flags so you can query their EnabledVisibleSortedHovered status flags. Pass -1 to use current column.
- ///
- public static ImGuiTableColumnFlags TableGetColumnFlags(int columnN) - { - ImGuiTableColumnFlags ret = TableGetColumnFlagsNative(columnN); - return ret; - } - - /// - /// return column flags so you can query their EnabledVisibleSortedHovered status flags. Pass -1 to use current column.
- ///
- public static ImGuiTableColumnFlags TableGetColumnFlags() - { - ImGuiTableColumnFlags ret = TableGetColumnFlagsNative((int)(-1)); - return ret; - } - - /// - /// change user accessible enableddisabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetColumnEnabledNative(int columnN, byte v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[288])(columnN, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[288])(columnN, v); - #endif - } - - /// - /// change user accessible enableddisabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody)
- ///
- public static void TableSetColumnEnabled(int columnN, bool v) - { - TableSetColumnEnabledNative(columnN, v ? (byte)1 : (byte)0); - } - - /// - /// return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TableGetHoveredColumnNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[289])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[289])(); - #endif - } - - /// - /// return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead.
- ///
- public static int TableGetHoveredColumn() - { - int ret = TableGetHoveredColumnNative(); - return ret; - } - - /// - /// change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetBgColorNative(ImGuiTableBgTarget target, uint color, int columnN) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[290])(target, color, columnN); - #else - ((delegate* unmanaged[Cdecl])funcTable[290])(target, color, columnN); - #endif - } - - /// - /// change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details.
- ///
- public static void TableSetBgColor(ImGuiTableBgTarget target, uint color, int columnN) - { - TableSetBgColorNative(target, color, columnN); - } - - /// - /// change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details.
- ///
- public static void TableSetBgColor(ImGuiTableBgTarget target, uint color) - { - TableSetBgColorNative(target, color, (int)(-1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColumnsNative(int count, byte* id, byte borders) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[291])(count, id, borders); - #else - ((delegate* unmanaged[Cdecl])funcTable[291])(count, (nint)id, borders); - #endif - } - - /// - /// To be documented. - /// - public static void Columns(int count, byte* id, bool borders) - { - ColumnsNative(count, id, borders ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Columns(int count, byte* id) - { - ColumnsNative(count, id, (byte)(1)); - } - - /// - /// To be documented. - /// - public static void Columns(int count) - { - ColumnsNative(count, (byte*)(default), (byte)(1)); - } - - /// - /// To be documented. - /// - public static void Columns() - { - ColumnsNative((int)(1), (byte*)(default), (byte)(1)); - } - - /// - /// To be documented. - /// - public static void Columns(byte* id) - { - ColumnsNative((int)(1), id, (byte)(1)); - } - - /// - /// To be documented. - /// - public static void Columns(int count, bool borders) - { - ColumnsNative(count, (byte*)(default), borders ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Columns(bool borders) - { - ColumnsNative((int)(1), (byte*)(default), borders ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Columns(byte* id, bool borders) - { - ColumnsNative((int)(1), id, borders ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Columns(int count, ref byte id, bool borders) - { - fixed (byte* pid = &id) - { - ColumnsNative(count, (byte*)pid, borders ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void Columns(int count, ref byte id) - { - fixed (byte* pid = &id) - { - ColumnsNative(count, (byte*)pid, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void Columns(ref byte id) - { - fixed (byte* pid = &id) - { - ColumnsNative((int)(1), (byte*)pid, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void Columns(ref byte id, bool borders) - { - fixed (byte* pid = &id) - { - ColumnsNative((int)(1), (byte*)pid, borders ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void Columns(int count, ReadOnlySpan id, bool borders) - { - fixed (byte* pid = id) - { - ColumnsNative(count, (byte*)pid, borders ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void Columns(int count, ReadOnlySpan id) - { - fixed (byte* pid = id) - { - ColumnsNative(count, (byte*)pid, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void Columns(ReadOnlySpan id) - { - fixed (byte* pid = id) - { - ColumnsNative((int)(1), (byte*)pid, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void Columns(ReadOnlySpan id, bool borders) - { - fixed (byte* pid = id) - { - ColumnsNative((int)(1), (byte*)pid, borders ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void Columns(int count, string id, bool borders) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColumnsNative(count, pStr0, borders ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Columns(int count, string id) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColumnsNative(count, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Columns(string id) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColumnsNative((int)(1), pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Columns(string id, bool borders) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColumnsNative((int)(1), pStr0, borders ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// next column, defaults to current row or next row if the current row is finished
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NextColumnNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[292])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[292])(); - #endif - } - - /// - /// next column, defaults to current row or next row if the current row is finished
- ///
- public static void NextColumn() - { - NextColumnNative(); - } - - /// - /// get current column index
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetColumnIndexNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[293])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[293])(); - #endif - } - - /// - /// get current column index
- ///
- public static int GetColumnIndex() - { - int ret = GetColumnIndexNative(); - return ret; - } - - /// - /// get column width (in pixels). pass -1 to use current column
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetColumnWidthNative(int columnIndex) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[294])(columnIndex); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[294])(columnIndex); - #endif - } - - /// - /// get column width (in pixels). pass -1 to use current column
- ///
- public static float GetColumnWidth(int columnIndex) - { - float ret = GetColumnWidthNative(columnIndex); - return ret; - } - - /// - /// get column width (in pixels). pass -1 to use current column
- ///
- public static float GetColumnWidth() - { - float ret = GetColumnWidthNative((int)(-1)); - return ret; - } - - /// - /// set column width (in pixels). pass -1 to use current column
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetColumnWidthNative(int columnIndex, float width) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[295])(columnIndex, width); - #else - ((delegate* unmanaged[Cdecl])funcTable[295])(columnIndex, width); - #endif - } - - /// - /// set column width (in pixels). pass -1 to use current column
- ///
- public static void SetColumnWidth(int columnIndex, float width) - { - SetColumnWidthNative(columnIndex, width); - } - - /// - /// get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetColumnOffsetNative(int columnIndex) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[296])(columnIndex); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[296])(columnIndex); - #endif - } - - /// - /// get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f
- ///
- public static float GetColumnOffset(int columnIndex) - { - float ret = GetColumnOffsetNative(columnIndex); - return ret; - } - - /// - /// get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f
- ///
- public static float GetColumnOffset() - { - float ret = GetColumnOffsetNative((int)(-1)); - return ret; - } - - /// - /// set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetColumnOffsetNative(int columnIndex, float offsetX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[297])(columnIndex, offsetX); - #else - ((delegate* unmanaged[Cdecl])funcTable[297])(columnIndex, offsetX); - #endif - } - - /// - /// set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column
- ///
- public static void SetColumnOffset(int columnIndex, float offsetX) - { - SetColumnOffsetNative(columnIndex, offsetX); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetColumnsCountNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[298])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[298])(); - #endif - } - - /// - /// To be documented. - /// - public static int GetColumnsCount() - { - int ret = GetColumnsCountNative(); - return ret; - } - - /// - /// create and append into a TabBar
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTabBarNative(byte* strId, ImGuiTabBarFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[299])(strId, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[299])((nint)strId, flags); - #endif - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(byte* strId, ImGuiTabBarFlags flags) - { - byte ret = BeginTabBarNative(strId, flags); - return ret != 0; - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(byte* strId) - { - byte ret = BeginTabBarNative(strId, (ImGuiTabBarFlags)(0)); - return ret != 0; - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(ref byte strId, ImGuiTabBarFlags flags) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTabBarNative((byte*)pstrId, flags); - return ret != 0; - } - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - byte ret = BeginTabBarNative((byte*)pstrId, (ImGuiTabBarFlags)(0)); - return ret != 0; - } - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(ReadOnlySpan strId, ImGuiTabBarFlags flags) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTabBarNative((byte*)pstrId, flags); - return ret != 0; - } - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - byte ret = BeginTabBarNative((byte*)pstrId, (ImGuiTabBarFlags)(0)); - return ret != 0; - } - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(string strId, ImGuiTabBarFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTabBarNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create and append into a TabBar
- ///
- public static bool BeginTabBar(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTabBarNative(pStr0, (ImGuiTabBarFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// only call EndTabBar() if BeginTabBar() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndTabBarNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[300])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[300])(); - #endif - } - - /// - /// only call EndTabBar() if BeginTabBar() returns true!
- ///
- public static void EndTabBar() - { - EndTabBarNative(); - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTabItemNative(byte* label, bool* pOpen, ImGuiTabItemFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[301])(label, pOpen, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[301])((nint)label, (nint)pOpen, flags); - #endif - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(byte* label, bool* pOpen, ImGuiTabItemFlags flags) - { - byte ret = BeginTabItemNative(label, pOpen, flags); - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(byte* label, bool* pOpen) - { - byte ret = BeginTabItemNative(label, pOpen, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(byte* label) - { - byte ret = BeginTabItemNative(label, (bool*)(default), (ImGuiTabItemFlags)(0)); - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(byte* label, ImGuiTabItemFlags flags) - { - byte ret = BeginTabItemNative(label, (bool*)(default), flags); - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ref byte label, bool* pOpen, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = BeginTabItemNative((byte*)plabel, pOpen, flags); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ref byte label, bool* pOpen) - { - fixed (byte* plabel = &label) - { - byte ret = BeginTabItemNative((byte*)plabel, pOpen, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ref byte label, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), flags); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ReadOnlySpan label, bool* pOpen, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = BeginTabItemNative((byte*)plabel, pOpen, flags); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ReadOnlySpan label, bool* pOpen) - { - fixed (byte* plabel = label) - { - byte ret = BeginTabItemNative((byte*)plabel, pOpen, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ReadOnlySpan label, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)(default), flags); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(string label, bool* pOpen, ImGuiTabItemFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTabItemNative(pStr0, pOpen, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(string label, bool* pOpen) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTabItemNative(pStr0, pOpen, (ImGuiTabItemFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTabItemNative(pStr0, (bool*)(default), (ImGuiTabItemFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(string label, ImGuiTabItemFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTabItemNative(pStr0, (bool*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(byte* label, ref bool pOpen, ImGuiTabItemFlags flags) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative(label, (bool*)ppOpen, flags); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(byte* label, ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative(label, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ref byte label, ref bool pOpen, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, flags); - return ret != 0; - } - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ref byte label, ref bool pOpen) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ReadOnlySpan label, ref bool pOpen, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, flags); - return ret != 0; - } - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(ReadOnlySpan label, ref bool pOpen) - { - fixed (byte* plabel = label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative((byte*)plabel, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(string label, ref bool pOpen, ImGuiTabItemFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative(pStr0, (bool*)ppOpen, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// create a Tab. Returns true if the Tab is selected.
- ///
- public static bool BeginTabItem(string label, ref bool pOpen) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = BeginTabItemNative(pStr0, (bool*)ppOpen, (ImGuiTabItemFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// only call EndTabItem() if BeginTabItem() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndTabItemNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[302])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[302])(); - #endif - } - - /// - /// only call EndTabItem() if BeginTabItem() returns true!
- ///
- public static void EndTabItem() - { - EndTabItemNative(); - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TabItemButtonNative(byte* label, ImGuiTabItemFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[303])(label, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[303])((nint)label, flags); - #endif - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(byte* label, ImGuiTabItemFlags flags) - { - byte ret = TabItemButtonNative(label, flags); - return ret != 0; - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(byte* label) - { - byte ret = TabItemButtonNative(label, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(ref byte label, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = TabItemButtonNative((byte*)plabel, flags); - return ret != 0; - } - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = TabItemButtonNative((byte*)plabel, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(ReadOnlySpan label, ImGuiTabItemFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = TabItemButtonNative((byte*)plabel, flags); - return ret != 0; - } - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = TabItemButtonNative((byte*)plabel, (ImGuiTabItemFlags)(0)); - return ret != 0; - } - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(string label, ImGuiTabItemFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TabItemButtonNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar.
- ///
- public static bool TabItemButton(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TabItemButtonNative(pStr0, (ImGuiTabItemFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// notify TabBar or Docking system of a closed tabwindow ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetTabItemClosedNative(byte* tabOrDockedWindowLabel) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[304])(tabOrDockedWindowLabel); - #else - ((delegate* unmanaged[Cdecl])funcTable[304])((nint)tabOrDockedWindowLabel); - #endif - } - - /// - /// notify TabBar or Docking system of a closed tabwindow ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name.
- ///
- public static void SetTabItemClosed(byte* tabOrDockedWindowLabel) - { - SetTabItemClosedNative(tabOrDockedWindowLabel); - } - - /// - /// notify TabBar or Docking system of a closed tabwindow ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name.
- ///
- public static void SetTabItemClosed(ref byte tabOrDockedWindowLabel) - { - fixed (byte* ptabOrDockedWindowLabel = &tabOrDockedWindowLabel) - { - SetTabItemClosedNative((byte*)ptabOrDockedWindowLabel); - } - } - - /// - /// notify TabBar or Docking system of a closed tabwindow ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name.
- ///
- public static void SetTabItemClosed(ReadOnlySpan tabOrDockedWindowLabel) - { - fixed (byte* ptabOrDockedWindowLabel = tabOrDockedWindowLabel) - { - SetTabItemClosedNative((byte*)ptabOrDockedWindowLabel); - } - } - - /// - /// notify TabBar or Docking system of a closed tabwindow ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name.
- ///
- public static void SetTabItemClosed(string tabOrDockedWindowLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (tabOrDockedWindowLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(tabOrDockedWindowLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(tabOrDockedWindowLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetTabItemClosedNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint DockSpaceNative(uint dockspaceId, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClass* windowClass) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[305])(dockspaceId, size, flags, windowClass); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[305])(dockspaceId, size, flags, (nint)windowClass); - #endif - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceNative(dockspaceId, size, flags, windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, Vector2 size, ImGuiDockNodeFlags flags) - { - uint ret = DockSpaceNative(dockspaceId, size, flags, (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, Vector2 size) - { - uint ret = DockSpaceNative(dockspaceId, size, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId) - { - uint ret = DockSpaceNative(dockspaceId, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, ImGuiDockNodeFlags flags) - { - uint ret = DockSpaceNative(dockspaceId, (Vector2)(new Vector2(0,0)), flags, (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, Vector2 size, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceNative(dockspaceId, size, (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceNative(dockspaceId, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceNative(dockspaceId, (Vector2)(new Vector2(0,0)), flags, windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, Vector2 size, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceNative(dockspaceId, size, flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, Vector2 size, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceNative(dockspaceId, size, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceNative(dockspaceId, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpace(uint dockspaceId, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceNative(dockspaceId, (Vector2)(new Vector2(0,0)), flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint DockSpaceOverViewportNative(uint dockspaceId, ImGuiViewport* viewport, ImGuiDockNodeFlags flags, ImGuiWindowClass* windowClass) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[306])(dockspaceId, viewport, flags, windowClass); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[306])(dockspaceId, (nint)viewport, flags, (nint)windowClass); - #endif - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, viewport, flags, windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, viewport, flags, (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiViewportPtr viewport) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport() - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport) - { - uint ret = DockSpaceOverViewportNative((uint)(0), viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiDockNodeFlags flags) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)(default), flags, (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)(default), flags, (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) - { - uint ret = DockSpaceOverViewportNative((uint)(0), viewport, flags, (ImGuiWindowClass*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiViewportPtr viewport, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, viewport, (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), viewport, (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)(default), flags, windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)(default), flags, windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), viewport, flags, windowClass); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)pviewport, flags, windowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiViewport viewport, ImGuiDockNodeFlags flags) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiViewport viewport) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiViewport viewport) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiViewport viewport, ImGuiWindowClassPtr windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiWindowClassPtr windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), windowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)pviewport, flags, windowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, viewport, flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiViewportPtr viewport, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)(default), flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)(default), flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), viewport, flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(uint dockspaceId, ref ImGuiViewport viewport, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative(dockspaceId, (ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - uint ret = DockSpaceOverViewportNative((uint)(0), (ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)pwindowClass); - return ret; - } - } - } - - /// - /// set next window dock id
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowDockIDNative(uint dockId, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[307])(dockId, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[307])(dockId, cond); - #endif - } - - /// - /// set next window dock id
- ///
- public static void SetNextWindowDockID(uint dockId, ImGuiCond cond) - { - SetNextWindowDockIDNative(dockId, cond); - } - - /// - /// set next window dock id
- ///
- public static void SetNextWindowDockID(uint dockId) - { - SetNextWindowDockIDNative(dockId, (ImGuiCond)(0)); - } - - /// - /// set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parentchild relationship)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowClassNative(ImGuiWindowClass* windowClass) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[308])(windowClass); - #else - ((delegate* unmanaged[Cdecl])funcTable[308])((nint)windowClass); - #endif - } - - /// - /// set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parentchild relationship)
- ///
- public static void SetNextWindowClass(ImGuiWindowClassPtr windowClass) - { - SetNextWindowClassNative(windowClass); - } - - /// - /// set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parentchild relationship)
- ///
- public static void SetNextWindowClass(ref ImGuiWindowClass windowClass) - { - fixed (ImGuiWindowClass* pwindowClass = &windowClass) - { - SetNextWindowClassNative((ImGuiWindowClass*)pwindowClass); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetWindowDockIDNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[309])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[309])(); - #endif - } - - /// - /// To be documented. - /// - public static uint GetWindowDockID() - { - uint ret = GetWindowDockIDNative(); - return ret; - } - - /// - /// is current window docked into another window?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowDockedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[310])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[310])(); - #endif - } - - /// - /// is current window docked into another window?
- ///
- public static bool IsWindowDocked() - { - byte ret = IsWindowDockedNative(); - return ret != 0; - } - - /// - /// start logging to tty (stdout)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogToTTYNative(int autoOpenDepth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[311])(autoOpenDepth); - #else - ((delegate* unmanaged[Cdecl])funcTable[311])(autoOpenDepth); - #endif - } - - /// - /// start logging to tty (stdout)
- ///
- public static void LogToTTY(int autoOpenDepth) - { - LogToTTYNative(autoOpenDepth); - } - - /// - /// start logging to tty (stdout)
- ///
- public static void LogToTTY() - { - LogToTTYNative((int)(-1)); - } - - /// - /// start logging to file
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogToFileNative(int autoOpenDepth, byte* filename) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[312])(autoOpenDepth, filename); - #else - ((delegate* unmanaged[Cdecl])funcTable[312])(autoOpenDepth, (nint)filename); - #endif - } - - /// - /// start logging to file
- ///
- public static void LogToFile(int autoOpenDepth, byte* filename) - { - LogToFileNative(autoOpenDepth, filename); - } - - /// - /// start logging to file
- ///
- public static void LogToFile(int autoOpenDepth) - { - LogToFileNative(autoOpenDepth, (byte*)(default)); - } - - /// - /// start logging to file
- ///
- public static void LogToFile() - { - LogToFileNative((int)(-1), (byte*)(default)); - } - - /// - /// start logging to file
- ///
- public static void LogToFile(byte* filename) - { - LogToFileNative((int)(-1), filename); - } - - /// - /// start logging to file
- ///
- public static void LogToFile(int autoOpenDepth, ref byte filename) - { - fixed (byte* pfilename = &filename) - { - LogToFileNative(autoOpenDepth, (byte*)pfilename); - } - } - - /// - /// start logging to file
- ///
- public static void LogToFile(ref byte filename) - { - fixed (byte* pfilename = &filename) - { - LogToFileNative((int)(-1), (byte*)pfilename); - } - } - - /// - /// start logging to file
- ///
- public static void LogToFile(int autoOpenDepth, ReadOnlySpan filename) - { - fixed (byte* pfilename = filename) - { - LogToFileNative(autoOpenDepth, (byte*)pfilename); - } - } - - /// - /// start logging to file
- ///
- public static void LogToFile(ReadOnlySpan filename) - { - fixed (byte* pfilename = filename) - { - LogToFileNative((int)(-1), (byte*)pfilename); - } - } - - /// - /// start logging to file
- ///
- public static void LogToFile(int autoOpenDepth, string filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogToFileNative(autoOpenDepth, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// start logging to file
- ///
- public static void LogToFile(string filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogToFileNative((int)(-1), pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// start logging to OS clipboard
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogToClipboardNative(int autoOpenDepth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[313])(autoOpenDepth); - #else - ((delegate* unmanaged[Cdecl])funcTable[313])(autoOpenDepth); - #endif - } - - /// - /// start logging to OS clipboard
- ///
- public static void LogToClipboard(int autoOpenDepth) - { - LogToClipboardNative(autoOpenDepth); - } - - /// - /// start logging to OS clipboard
- ///
- public static void LogToClipboard() - { - LogToClipboardNative((int)(-1)); - } - - /// - /// stop logging (close file, etc.)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogFinishNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[314])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[314])(); - #endif - } - - /// - /// stop logging (close file, etc.)
- ///
- public static void LogFinish() - { - LogFinishNative(); - } - - /// - /// helper to display buttons for logging to ttyfileclipboard
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogButtonsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[315])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[315])(); - #endif - } - - /// - /// helper to display buttons for logging to ttyfileclipboard
- ///
- public static void LogButtons() - { - LogButtonsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogTextVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[316])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[316])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void LogTextV(byte* fmt, nuint args) - { - LogTextVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void LogTextV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - LogTextVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void LogTextV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - LogTextVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void LogTextV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogTextVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropSourceNative(ImGuiDragDropFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[317])(flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[317])(flags); - #endif - } - - /// - /// call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource()
- ///
- public static bool BeginDragDropSource(ImGuiDragDropFlags flags) - { - byte ret = BeginDragDropSourceNative(flags); - return ret != 0; - } - - /// - /// call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource()
- ///
- public static bool BeginDragDropSource() - { - byte ret = BeginDragDropSourceNative((ImGuiDragDropFlags)(0)); - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SetDragDropPayloadNative(byte* type, void* data, ulong sz, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[318])(type, data, sz, cond); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[318])((nint)type, (nint)data, sz, cond); - #endif - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(byte* type, void* data, ulong sz, ImGuiCond cond) - { - byte ret = SetDragDropPayloadNative(type, data, sz, cond); - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(byte* type, void* data, ulong sz) - { - byte ret = SetDragDropPayloadNative(type, data, sz, (ImGuiCond)(0)); - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ref byte type, void* data, ulong sz, ImGuiCond cond) - { - fixed (byte* ptype = &type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ref byte type, void* data, ulong sz) - { - fixed (byte* ptype = &type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ReadOnlySpan type, void* data, ulong sz, ImGuiCond cond) - { - fixed (byte* ptype = type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ReadOnlySpan type, void* data, ulong sz) - { - fixed (byte* ptype = type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(string type, void* data, ulong sz, ImGuiCond cond) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SetDragDropPayloadNative(pStr0, data, sz, cond); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(string type, void* data, ulong sz) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SetDragDropPayloadNative(pStr0, data, sz, (ImGuiCond)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(byte* type, void* data, nuint sz, ImGuiCond cond) - { - byte ret = SetDragDropPayloadNative(type, data, sz, cond); - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(byte* type, void* data, nuint sz) - { - byte ret = SetDragDropPayloadNative(type, data, sz, (ImGuiCond)(0)); - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ref byte type, void* data, nuint sz, ImGuiCond cond) - { - fixed (byte* ptype = &type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ref byte type, void* data, nuint sz) - { - fixed (byte* ptype = &type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ReadOnlySpan type, void* data, nuint sz, ImGuiCond cond) - { - fixed (byte* ptype = type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(ReadOnlySpan type, void* data, nuint sz) - { - fixed (byte* ptype = type) - { - byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0)); - return ret != 0; - } - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(string type, void* data, nuint sz, ImGuiCond cond) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SetDragDropPayloadNative(pStr0, data, sz, cond); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted.
- ///
- public static bool SetDragDropPayload(string type, void* data, nuint sz) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SetDragDropPayloadNative(pStr0, data, sz, (ImGuiCond)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// only call EndDragDropSource() if BeginDragDropSource() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDragDropSourceNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[319])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[319])(); - #endif - } - - /// - /// only call EndDragDropSource() if BeginDragDropSource() returns true!
- ///
- public static void EndDragDropSource() - { - EndDragDropSourceNative(); - } - - /// - /// call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropTargetNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[320])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[320])(); - #endif - } - - /// - /// call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget()
- ///
- public static bool BeginDragDropTarget() - { - byte ret = BeginDragDropTargetNative(); - return ret != 0; - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPayload* AcceptDragDropPayloadNative(byte* type, ImGuiDragDropFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[321])(type, flags); - #else - return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[321])((nint)type, flags); - #endif - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(byte* type, ImGuiDragDropFlags flags) - { - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(type, flags); - return ret; - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(byte* type) - { - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(type, (ImGuiDragDropFlags)(0)); - return ret; - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(ref byte type, ImGuiDragDropFlags flags) - { - fixed (byte* ptype = &type) - { - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, flags); - return ret; - } - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(ref byte type) - { - fixed (byte* ptype = &type) - { - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, (ImGuiDragDropFlags)(0)); - return ret; - } - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(ReadOnlySpan type, ImGuiDragDropFlags flags) - { - fixed (byte* ptype = type) - { - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, flags); - return ret; - } - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(ReadOnlySpan type) - { - fixed (byte* ptype = type) - { - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative((byte*)ptype, (ImGuiDragDropFlags)(0)); - return ret; - } - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(string type, ImGuiDragDropFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
- ///
- public static ImGuiPayloadPtr AcceptDragDropPayload(string type) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiPayloadPtr ret = AcceptDragDropPayloadNative(pStr0, (ImGuiDragDropFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// only call EndDragDropTarget() if BeginDragDropTarget() returns true!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDragDropTargetNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[322])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[322])(); - #endif - } - - /// - /// only call EndDragDropTarget() if BeginDragDropTarget() returns true!
- ///
- public static void EndDragDropTarget() - { - EndDragDropTargetNative(); - } - - /// - /// peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPayload* GetDragDropPayloadNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[323])(); - #else - return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[323])(); - #endif - } - - /// - /// peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type.
- ///
- public static ImGuiPayloadPtr GetDragDropPayload() - { - ImGuiPayloadPtr ret = GetDragDropPayloadNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginDisabledNative(byte disabled) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[324])(disabled); - #else - ((delegate* unmanaged[Cdecl])funcTable[324])(disabled); - #endif - } - - /// - /// To be documented. - /// - public static void BeginDisabled(bool disabled) - { - BeginDisabledNative(disabled ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void BeginDisabled() - { - BeginDisabledNative((byte)(1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDisabledNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[325])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[325])(); - #endif - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.086.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.086.cs deleted file mode 100644 index 2cf845ff5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.086.cs +++ /dev/null @@ -1,5038 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void EndDisabled() - { - EndDisabledNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushClipRectNative(Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[326])(clipRectMin, clipRectMax, intersectWithCurrentClipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[326])(clipRectMin, clipRectMax, intersectWithCurrentClipRect); - #endif - } - - /// - /// To be documented. - /// - public static void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) - { - PushClipRectNative(clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopClipRectNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[327])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[327])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopClipRect() - { - PopClipRectNative(); - } - - /// - /// make last item the default focused item of a newly appearing window.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetItemDefaultFocusNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[328])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[328])(); - #endif - } - - /// - /// make last item the default focused item of a newly appearing window.
- ///
- public static void SetItemDefaultFocus() - { - SetItemDefaultFocusNative(); - } - - /// - /// focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetKeyboardFocusHereNative(int offset) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[329])(offset); - #else - ((delegate* unmanaged[Cdecl])funcTable[329])(offset); - #endif - } - - /// - /// focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget.
- ///
- public static void SetKeyboardFocusHere(int offset) - { - SetKeyboardFocusHereNative(offset); - } - - /// - /// focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget.
- ///
- public static void SetKeyboardFocusHere() - { - SetKeyboardFocusHereNative((int)(0)); - } - - /// - /// alter visibility of keyboardgamepad cursor. by default: show when using an arrow key, hide when clicking with mouse.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNavCursorVisibleNative(byte visible) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[330])(visible); - #else - ((delegate* unmanaged[Cdecl])funcTable[330])(visible); - #endif - } - - /// - /// alter visibility of keyboardgamepad cursor. by default: show when using an arrow key, hide when clicking with mouse.
- ///
- public static void SetNavCursorVisible(bool visible) - { - SetNavCursorVisibleNative(visible ? (byte)1 : (byte)0); - } - - /// - /// allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemAllowOverlapNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[331])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[331])(); - #endif - } - - /// - /// allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this.
- ///
- public static void SetNextItemAllowOverlap() - { - SetNextItemAllowOverlapNative(); - } - - /// - /// is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemHoveredNative(ImGuiHoveredFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[332])(flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[332])(flags); - #endif - } - - /// - /// is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.
- ///
- public static bool IsItemHovered(ImGuiHoveredFlags flags) - { - byte ret = IsItemHoveredNative(flags); - return ret != 0; - } - - /// - /// is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.
- ///
- public static bool IsItemHovered() - { - byte ret = IsItemHoveredNative((ImGuiHoveredFlags)(0)); - return ret != 0; - } - - /// - /// is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemActiveNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[333])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[333])(); - #endif - } - - /// - /// is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false)
- ///
- public static bool IsItemActive() - { - byte ret = IsItemActiveNative(); - return ret != 0; - } - - /// - /// is the last item focused for keyboardgamepad navigation?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemFocusedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[334])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[334])(); - #endif - } - - /// - /// is the last item focused for keyboardgamepad navigation?
- ///
- public static bool IsItemFocused() - { - byte ret = IsItemFocusedNative(); - return ret != 0; - } - - /// - /// is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemClickedNative(ImGuiMouseButton mouseButton) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[335])(mouseButton); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[335])(mouseButton); - #endif - } - - /// - /// is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition.
- ///
- public static bool IsItemClicked(ImGuiMouseButton mouseButton) - { - byte ret = IsItemClickedNative(mouseButton); - return ret != 0; - } - - /// - /// is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition.
- ///
- public static bool IsItemClicked() - { - byte ret = IsItemClickedNative((ImGuiMouseButton)(0)); - return ret != 0; - } - - /// - /// is the last item visible? (items may be out of sight because of clippingscrolling)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemVisibleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[336])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[336])(); - #endif - } - - /// - /// is the last item visible? (items may be out of sight because of clippingscrolling)
- ///
- public static bool IsItemVisible() - { - byte ret = IsItemVisibleNative(); - return ret != 0; - } - - /// - /// did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemEditedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[337])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[337])(); - #endif - } - - /// - /// did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets.
- ///
- public static bool IsItemEdited() - { - byte ret = IsItemEditedNative(); - return ret != 0; - } - - /// - /// was the last item just made active (item was previously inactive).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemActivatedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[338])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[338])(); - #endif - } - - /// - /// was the last item just made active (item was previously inactive).
- ///
- public static bool IsItemActivated() - { - byte ret = IsItemActivatedNative(); - return ret != 0; - } - - /// - /// was the last item just made inactive (item was previously active). Useful for UndoRedo patterns with widgets that require continuous editing.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemDeactivatedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[339])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[339])(); - #endif - } - - /// - /// was the last item just made inactive (item was previously active). Useful for UndoRedo patterns with widgets that require continuous editing.
- ///
- public static bool IsItemDeactivated() - { - byte ret = IsItemDeactivatedNative(); - return ret != 0; - } - - /// - /// was the last item just made inactive and made a value change when it was active? (e.g. SliderDrag moved). Useful for UndoRedo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()ListBox()Selectable() will return true even when clicking an already selected item).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemDeactivatedAfterEditNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[340])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[340])(); - #endif - } - - /// - /// was the last item just made inactive and made a value change when it was active? (e.g. SliderDrag moved). Useful for UndoRedo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()ListBox()Selectable() will return true even when clicking an already selected item).
- ///
- public static bool IsItemDeactivatedAfterEdit() - { - byte ret = IsItemDeactivatedAfterEditNative(); - return ret != 0; - } - - /// - /// was the last item open state toggled? set by TreeNode().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemToggledOpenNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[341])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[341])(); - #endif - } - - /// - /// was the last item open state toggled? set by TreeNode().
- ///
- public static bool IsItemToggledOpen() - { - byte ret = IsItemToggledOpenNative(); - return ret != 0; - } - - /// - /// is any item hovered?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAnyItemHoveredNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[342])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[342])(); - #endif - } - - /// - /// is any item hovered?
- ///
- public static bool IsAnyItemHovered() - { - byte ret = IsAnyItemHoveredNative(); - return ret != 0; - } - - /// - /// is any item active?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAnyItemActiveNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[343])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[343])(); - #endif - } - - /// - /// is any item active?
- ///
- public static bool IsAnyItemActive() - { - byte ret = IsAnyItemActiveNative(); - return ret != 0; - } - - /// - /// is any item focused?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAnyItemFocusedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[344])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[344])(); - #endif - } - - /// - /// is any item focused?
- ///
- public static bool IsAnyItemFocused() - { - byte ret = IsAnyItemFocusedNative(); - return ret != 0; - } - - /// - /// get ID of last item (~~ often same ImGui::GetID(label) beforehand)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetItemIDNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[345])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[345])(); - #endif - } - - /// - /// get ID of last item (~~ often same ImGui::GetID(label) beforehand)
- ///
- public static uint GetItemID() - { - uint ret = GetItemIDNative(); - return ret; - } - - /// - /// get upper-left bounding rectangle of the last item (screen space)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetItemRectMinNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[346])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[346])((nint)pOut); - #endif - } - - /// - /// get upper-left bounding rectangle of the last item (screen space)
- ///
- public static Vector2 GetItemRectMin() - { - Vector2 ret; - GetItemRectMinNative(&ret); - return ret; - } - - /// - /// get upper-left bounding rectangle of the last item (screen space)
- ///
- public static void GetItemRectMin(Vector2* pOut) - { - GetItemRectMinNative(pOut); - } - - /// - /// get upper-left bounding rectangle of the last item (screen space)
- ///
- public static void GetItemRectMin(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetItemRectMinNative((Vector2*)ppOut); - } - } - - /// - /// get lower-right bounding rectangle of the last item (screen space)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetItemRectMaxNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[347])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[347])((nint)pOut); - #endif - } - - /// - /// get lower-right bounding rectangle of the last item (screen space)
- ///
- public static Vector2 GetItemRectMax() - { - Vector2 ret; - GetItemRectMaxNative(&ret); - return ret; - } - - /// - /// get lower-right bounding rectangle of the last item (screen space)
- ///
- public static void GetItemRectMax(Vector2* pOut) - { - GetItemRectMaxNative(pOut); - } - - /// - /// get lower-right bounding rectangle of the last item (screen space)
- ///
- public static void GetItemRectMax(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetItemRectMaxNative((Vector2*)ppOut); - } - } - - /// - /// get size of last item
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetItemRectSizeNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[348])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[348])((nint)pOut); - #endif - } - - /// - /// get size of last item
- ///
- public static Vector2 GetItemRectSize() - { - Vector2 ret; - GetItemRectSizeNative(&ret); - return ret; - } - - /// - /// get size of last item
- ///
- public static void GetItemRectSize(Vector2* pOut) - { - GetItemRectSizeNative(pOut); - } - - /// - /// get size of last item
- ///
- public static void GetItemRectSize(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetItemRectSizeNative((Vector2*)ppOut); - } - } - - /// - /// return primarydefault viewport. This can never be NULL.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewport* GetMainViewportNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[349])(); - #else - return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[349])(); - #endif - } - - /// - /// return primarydefault viewport. This can never be NULL.
- ///
- public static ImGuiViewportPtr GetMainViewport() - { - ImGuiViewportPtr ret = GetMainViewportNative(); - return ret; - } - - /// - /// get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapestext behind dear imgui contents.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetBackgroundDrawListNative(ImGuiViewport* viewport) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[350])(viewport); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[350])((nint)viewport); - #endif - } - - /// - /// get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapestext behind dear imgui contents.
- ///
- public static ImDrawListPtr GetBackgroundDrawList(ImGuiViewportPtr viewport) - { - ImDrawListPtr ret = GetBackgroundDrawListNative(viewport); - return ret; - } - - /// - /// get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapestext behind dear imgui contents.
- ///
- public static ImDrawListPtr GetBackgroundDrawList() - { - ImDrawListPtr ret = GetBackgroundDrawListNative((ImGuiViewport*)(default)); - return ret; - } - - /// - /// get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapestext behind dear imgui contents.
- ///
- public static ImDrawListPtr GetBackgroundDrawList(ref ImGuiViewport viewport) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - ImDrawListPtr ret = GetBackgroundDrawListNative((ImGuiViewport*)pviewport); - return ret; - } - } - - /// - /// get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapestext over dear imgui contents.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetForegroundDrawListNative(ImGuiViewport* viewport) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[351])(viewport); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[351])((nint)viewport); - #endif - } - - /// - /// get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapestext over dear imgui contents.
- ///
- public static ImDrawListPtr GetForegroundDrawList(ImGuiViewportPtr viewport) - { - ImDrawListPtr ret = GetForegroundDrawListNative(viewport); - return ret; - } - - /// - /// get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapestext over dear imgui contents.
- ///
- public static ImDrawListPtr GetForegroundDrawList() - { - ImDrawListPtr ret = GetForegroundDrawListNative((ImGuiViewport*)(default)); - return ret; - } - - /// - /// get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapestext over dear imgui contents.
- ///
- public static ImDrawListPtr GetForegroundDrawList(ref ImGuiViewport viewport) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - ImDrawListPtr ret = GetForegroundDrawListNative((ImGuiViewport*)pviewport); - return ret; - } - } - - /// - /// test if rectangle (of given size, starting from cursor position) is visible not clipped.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsRectVisibleNative(Vector2 size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[352])(size); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[352])(size); - #endif - } - - /// - /// test if rectangle (of given size, starting from cursor position) is visible not clipped.
- ///
- public static bool IsRectVisible(Vector2 size) - { - byte ret = IsRectVisibleNative(size); - return ret != 0; - } - - /// - /// test if rectangle (of given size, starting from cursor position) is visible not clipped.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsRectVisibleNative(Vector2 rectMin, Vector2 rectMax) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[353])(rectMin, rectMax); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[353])(rectMin, rectMax); - #endif - } - - /// - /// test if rectangle (in screen space) is visible not clipped. to perform coarse clipping on user's side.
- ///
- public static bool IsRectVisible(Vector2 rectMin, Vector2 rectMax) - { - byte ret = IsRectVisibleNative(rectMin, rectMax); - return ret != 0; - } - - /// - /// get global imgui time. incremented by io.DeltaTime every frame.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double GetTimeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[354])(); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[354])(); - #endif - } - - /// - /// get global imgui time. incremented by io.DeltaTime every frame.
- ///
- public static double GetTime() - { - double ret = GetTimeNative(); - return ret; - } - - /// - /// get global imgui frame count. incremented by 1 every frame.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetFrameCountNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[355])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[355])(); - #endif - } - - /// - /// get global imgui frame count. incremented by 1 every frame.
- ///
- public static int GetFrameCount() - { - int ret = GetFrameCountNative(); - return ret; - } - - /// - /// you may use this when creating your own ImDrawList instances.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawListSharedData* GetDrawListSharedDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[356])(); - #else - return (ImDrawListSharedData*)((delegate* unmanaged[Cdecl])funcTable[356])(); - #endif - } - - /// - /// you may use this when creating your own ImDrawList instances.
- ///
- public static ImDrawListSharedDataPtr GetDrawListSharedData() - { - ImDrawListSharedDataPtr ret = GetDrawListSharedDataNative(); - return ret; - } - - /// - /// get a string corresponding to the enum value (for display, saving, etc.).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetStyleColorNameNative(ImGuiCol idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[357])(idx); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[357])(idx); - #endif - } - - /// - /// get a string corresponding to the enum value (for display, saving, etc.).
- ///
- public static byte* GetStyleColorName(ImGuiCol idx) - { - byte* ret = GetStyleColorNameNative(idx); - return ret; - } - - /// - /// get a string corresponding to the enum value (for display, saving, etc.).
- ///
- public static string GetStyleColorNameS(ImGuiCol idx) - { - string ret = Utils.DecodeStringUTF8(GetStyleColorNameNative(idx)); - return ret; - } - - /// - /// replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetStateStorageNative(ImGuiStorage* storage) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[358])(storage); - #else - ((delegate* unmanaged[Cdecl])funcTable[358])((nint)storage); - #endif - } - - /// - /// replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)
- ///
- public static void SetStateStorage(ImGuiStoragePtr storage) - { - SetStateStorageNative(storage); - } - - /// - /// replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it)
- ///
- public static void SetStateStorage(ref ImGuiStorage storage) - { - fixed (ImGuiStorage* pstorage = &storage) - { - SetStateStorageNative((ImGuiStorage*)pstorage); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStorage* GetStateStorageNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[359])(); - #else - return (ImGuiStorage*)((delegate* unmanaged[Cdecl])funcTable[359])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStoragePtr GetStateStorage() - { - ImGuiStoragePtr ret = GetStateStorageNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcTextSizeNative(Vector2* pOut, byte* text, byte* textEnd, byte hideTextAfterDoubleHash, float wrapWidth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[360])(pOut, text, textEnd, hideTextAfterDoubleHash, wrapWidth); - #else - ((delegate* unmanaged[Cdecl])funcTable[360])((nint)pOut, (nint)text, (nint)textEnd, hideTextAfterDoubleHash, wrapWidth); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)(default), (byte)(0), (float)(-1.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, byte* textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, textEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text) - { - CalcTextSizeNative(pOut, text, (byte*)(default), (byte)(0), (float)(-1.0f)); - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, bool hideTextAfterDoubleHash) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, byte* textEnd, bool hideTextAfterDoubleHash) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd) - { - CalcTextSizeNative(pOut, text, textEnd, (byte)(0), (float)(-1.0f)); - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, float wrapWidth) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)(default), (byte)(0), wrapWidth); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, byte* textEnd, float wrapWidth) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, textEnd, (byte)(0), wrapWidth); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, bool hideTextAfterDoubleHash) - { - CalcTextSizeNative(pOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, float wrapWidth) - { - CalcTextSizeNative(pOut, text, (byte*)(default), (byte)(0), wrapWidth); - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, bool hideTextAfterDoubleHash, float wrapWidth) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - CalcTextSizeNative(pOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash) - { - CalcTextSizeNative(pOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, float wrapWidth) - { - CalcTextSizeNative(pOut, text, textEnd, (byte)(0), wrapWidth); - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, bool hideTextAfterDoubleHash, float wrapWidth) - { - CalcTextSizeNative(pOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, textEnd, (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, byte* textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, textEnd, (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, float wrapWidth) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, float wrapWidth) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, float wrapWidth) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, (byte)(0), wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, float wrapWidth) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, byte* textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, textEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, byte* textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, textEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, (byte)(0), wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, text, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, string textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, text, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, text, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(byte* text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, text, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, byte* text, string textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, text, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, pStr1, (byte)(0), (float)(-1.0f)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, string textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative(pOut, pStr0, pStr1, (byte)(0), (float)(-1.0f)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, pStr1, (byte)(0), wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ref byte text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeNative(&ret, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSize(string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeNative(&ret, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, (byte)(0), (float)(-1.0f)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, string textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, pStr0, pStr1, (byte)(0), wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ref byte text, string textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative((Vector2*)ppOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ref byte textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.087.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.087.cs deleted file mode 100644 index 7312676d9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.087.cs +++ /dev/null @@ -1,5042 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(ref Vector2 pOut, string text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative((Vector2*)ppOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, textEnd, (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, textEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, text, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, text, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, text, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative(pOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, string textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative(pOut, pStr0, pStr1, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeNative(pOut, pStr0, pStr1, (byte)(0), wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, (byte*)ptext, (byte*)ptextEnd, (byte)(0), wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd, bool hideTextAfterDoubleHash) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeNative(pOut, (byte*)ptext, pStr0, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd, bool hideTextAfterDoubleHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSize(Vector2* pOut, string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeNative(pOut, pStr0, (byte*)ptextEnd, (byte)(0), wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColorConvertU32ToFloat4Native(Vector4* pOut, uint input) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[361])(pOut, input); - #else - ((delegate* unmanaged[Cdecl])funcTable[361])((nint)pOut, input); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 ColorConvertU32ToFloat4(uint input) - { - Vector4 ret; - ColorConvertU32ToFloat4Native(&ret, input); - return ret; - } - - /// - /// To be documented. - /// - public static void ColorConvertU32ToFloat4(Vector4* pOut, uint input) - { - ColorConvertU32ToFloat4Native(pOut, input); - } - - /// - /// To be documented. - /// - public static void ColorConvertU32ToFloat4(ref Vector4 pOut, uint input) - { - fixed (Vector4* ppOut = &pOut) - { - ColorConvertU32ToFloat4Native((Vector4*)ppOut, input); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ColorConvertFloat4ToU32Native(Vector4 input) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[362])(input); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[362])(input); - #endif - } - - /// - /// To be documented. - /// - public static uint ColorConvertFloat4ToU32(Vector4 input) - { - uint ret = ColorConvertFloat4ToU32Native(input); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColorConvertRGBtoHSVNative(float r, float g, float b, float* outH, float* outS, float* outV) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[363])(r, g, b, outH, outS, outV); - #else - ((delegate* unmanaged[Cdecl])funcTable[363])(r, g, b, (nint)outH, (nint)outS, (nint)outV); - #endif - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, float* outV) - { - ColorConvertRGBtoHSVNative(r, g, b, outH, outS, outV); - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, float* outS, float* outV) - { - fixed (float* poutH = &outH) - { - ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, outS, outV); - } - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, ref float outS, float* outV) - { - fixed (float* poutS = &outS) - { - ColorConvertRGBtoHSVNative(r, g, b, outH, (float*)poutS, outV); - } - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, ref float outS, float* outV) - { - fixed (float* poutH = &outH) - { - fixed (float* poutS = &outS) - { - ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, (float*)poutS, outV); - } - } - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, ref float outV) - { - fixed (float* poutV = &outV) - { - ColorConvertRGBtoHSVNative(r, g, b, outH, outS, (float*)poutV); - } - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, float* outS, ref float outV) - { - fixed (float* poutH = &outH) - { - fixed (float* poutV = &outV) - { - ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, outS, (float*)poutV); - } - } - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, ref float outS, ref float outV) - { - fixed (float* poutS = &outS) - { - fixed (float* poutV = &outV) - { - ColorConvertRGBtoHSVNative(r, g, b, outH, (float*)poutS, (float*)poutV); - } - } - } - - /// - /// To be documented. - /// - public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, ref float outS, ref float outV) - { - fixed (float* poutH = &outH) - { - fixed (float* poutS = &outS) - { - fixed (float* poutV = &outV) - { - ColorConvertRGBtoHSVNative(r, g, b, (float*)poutH, (float*)poutS, (float*)poutV); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColorConvertHSVtoRGBNative(float h, float s, float v, float* outR, float* outG, float* outB) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[364])(h, s, v, outR, outG, outB); - #else - ((delegate* unmanaged[Cdecl])funcTable[364])(h, s, v, (nint)outR, (nint)outG, (nint)outB); - #endif - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, float* outB) - { - ColorConvertHSVtoRGBNative(h, s, v, outR, outG, outB); - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, float* outG, float* outB) - { - fixed (float* poutR = &outR) - { - ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, outG, outB); - } - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, ref float outG, float* outB) - { - fixed (float* poutG = &outG) - { - ColorConvertHSVtoRGBNative(h, s, v, outR, (float*)poutG, outB); - } - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, ref float outG, float* outB) - { - fixed (float* poutR = &outR) - { - fixed (float* poutG = &outG) - { - ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, (float*)poutG, outB); - } - } - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, ref float outB) - { - fixed (float* poutB = &outB) - { - ColorConvertHSVtoRGBNative(h, s, v, outR, outG, (float*)poutB); - } - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, float* outG, ref float outB) - { - fixed (float* poutR = &outR) - { - fixed (float* poutB = &outB) - { - ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, outG, (float*)poutB); - } - } - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, ref float outG, ref float outB) - { - fixed (float* poutG = &outG) - { - fixed (float* poutB = &outB) - { - ColorConvertHSVtoRGBNative(h, s, v, outR, (float*)poutG, (float*)poutB); - } - } - } - - /// - /// To be documented. - /// - public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, ref float outG, ref float outB) - { - fixed (float* poutR = &outR) - { - fixed (float* poutG = &outG) - { - fixed (float* poutB = &outB) - { - ColorConvertHSVtoRGBNative(h, s, v, (float*)poutR, (float*)poutG, (float*)poutB); - } - } - } - } - - /// - /// is key being held.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyDownNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[365])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[365])(key); - #endif - } - - /// - /// is key being held.
- ///
- public static bool IsKeyDown(ImGuiKey key) - { - byte ret = IsKeyDownNative(key); - return ret != 0; - } - - /// - /// was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay KeyRepeatRate
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyPressedNative(ImGuiKey key, byte repeat) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[366])(key, repeat); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[366])(key, repeat); - #endif - } - - /// - /// was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay KeyRepeatRate
- ///
- public static bool IsKeyPressed(ImGuiKey key, bool repeat) - { - byte ret = IsKeyPressedNative(key, repeat ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay KeyRepeatRate
- ///
- public static bool IsKeyPressed(ImGuiKey key) - { - byte ret = IsKeyPressedNative(key, (byte)(1)); - return ret != 0; - } - - /// - /// was key released (went from Down to !Down)?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyReleasedNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[367])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[367])(key); - #endif - } - - /// - /// was key released (went from Down to !Down)?
- ///
- public static bool IsKeyReleased(ImGuiKey key) - { - byte ret = IsKeyReleasedNative(key); - return ret != 0; - } - - /// - /// was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyChordPressedNative(int keyChord) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[368])(keyChord); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[368])(keyChord); - #endif - } - - /// - /// was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead.
- ///
- public static bool IsKeyChordPressed(int keyChord) - { - byte ret = IsKeyChordPressedNative(keyChord); - return ret != 0; - } - - /// - /// uses provided repeat ratedelay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetKeyPressedAmountNative(ImGuiKey key, float repeatDelay, float rate) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[369])(key, repeatDelay, rate); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[369])(key, repeatDelay, rate); - #endif - } - - /// - /// uses provided repeat ratedelay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
- ///
- public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate) - { - int ret = GetKeyPressedAmountNative(key, repeatDelay, rate); - return ret; - } - - /// - /// [DEBUG] returns English name of the key. Those names are provided for debugging purpose and are not meant to be saved persistently nor compared.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetKeyNameNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[370])(key); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[370])(key); - #endif - } - - /// - /// [DEBUG] returns English name of the key. Those names are provided for debugging purpose and are not meant to be saved persistently nor compared.
- ///
- public static byte* GetKeyName(ImGuiKey key) - { - byte* ret = GetKeyNameNative(key); - return ret; - } - - /// - /// [DEBUG] returns English name of the key. Those names are provided for debugging purpose and are not meant to be saved persistently nor compared.
- ///
- public static string GetKeyNameS(ImGuiKey key) - { - string ret = Utils.DecodeStringUTF8(GetKeyNameNative(key)); - return ret; - } - - /// - /// Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextFrameWantCaptureKeyboardNative(byte wantCaptureKeyboard) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[371])(wantCaptureKeyboard); - #else - ((delegate* unmanaged[Cdecl])funcTable[371])(wantCaptureKeyboard); - #endif - } - - /// - /// Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call.
- ///
- public static void SetNextFrameWantCaptureKeyboard(bool wantCaptureKeyboard) - { - SetNextFrameWantCaptureKeyboardNative(wantCaptureKeyboard ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShortcutNative(int keyChord, ImGuiInputFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[372])(keyChord, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[372])(keyChord, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool Shortcut(int keyChord, ImGuiInputFlags flags) - { - byte ret = ShortcutNative(keyChord, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Shortcut(int keyChord) - { - byte ret = ShortcutNative(keyChord, (ImGuiInputFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemShortcutNative(int keyChord, ImGuiInputFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[373])(keyChord, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[373])(keyChord, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextItemShortcut(int keyChord, ImGuiInputFlags flags) - { - SetNextItemShortcutNative(keyChord, flags); - } - - /// - /// To be documented. - /// - public static void SetNextItemShortcut(int keyChord) - { - SetNextItemShortcutNative(keyChord, (ImGuiInputFlags)(0)); - } - - /// - /// Set key owner to last item ID if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetItemKeyOwnerNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[374])(key); - #else - ((delegate* unmanaged[Cdecl])funcTable[374])(key); - #endif - } - - /// - /// Set key owner to last item ID if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'.
- ///
- public static void SetItemKeyOwner(ImGuiKey key) - { - SetItemKeyOwnerNative(key); - } - - /// - /// is mouse button held?
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseDownNative(ImGuiMouseButton button) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[375])(button); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[375])(button); - #endif - } - - /// - /// is mouse button held?
- ///
- public static bool IsMouseDown(ImGuiMouseButton button) - { - byte ret = IsMouseDownNative(button); - return ret != 0; - } - - /// - /// did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseClickedNative(ImGuiMouseButton button, byte repeat) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[376])(button, repeat); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[376])(button, repeat); - #endif - } - - /// - /// did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1.
- ///
- public static bool IsMouseClicked(ImGuiMouseButton button, bool repeat) - { - byte ret = IsMouseClickedNative(button, repeat ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1.
- ///
- public static bool IsMouseClicked(ImGuiMouseButton button) - { - byte ret = IsMouseClickedNative(button, (byte)(0)); - return ret != 0; - } - - /// - /// did mouse button released? (went from Down to !Down)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseReleasedNative(ImGuiMouseButton button) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[377])(button); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[377])(button); - #endif - } - - /// - /// did mouse button released? (went from Down to !Down)
- ///
- public static bool IsMouseReleased(ImGuiMouseButton button) - { - byte ret = IsMouseReleasedNative(button); - return ret != 0; - } - - /// - /// did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseDoubleClickedNative(ImGuiMouseButton button) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[378])(button); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[378])(button); - #endif - } - - /// - /// did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true)
- ///
- public static bool IsMouseDoubleClicked(ImGuiMouseButton button) - { - byte ret = IsMouseDoubleClickedNative(button); - return ret != 0; - } - - /// - /// delayed mouse release (use very sparingly!). Generally used with 'delay >= io.MouseDoubleClickTime' + combined with a 'io.MouseClickedLastCount==1' test. This is a very rarely used UI idiom, but some apps use this: e.g. MS Explorer single click on an icon to rename.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseReleasedWithDelayNative(ImGuiMouseButton button, float delay) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[379])(button, delay); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[379])(button, delay); - #endif - } - - /// - /// delayed mouse release (use very sparingly!). Generally used with 'delay >= io.MouseDoubleClickTime' + combined with a 'io.MouseClickedLastCount==1' test. This is a very rarely used UI idiom, but some apps use this: e.g. MS Explorer single click on an icon to rename.
- ///
- public static bool IsMouseReleasedWithDelay(ImGuiMouseButton button, float delay) - { - byte ret = IsMouseReleasedWithDelayNative(button, delay); - return ret != 0; - } - - /// - /// return the number of successive mouse-clicks at the time where a click happen (otherwise 0).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetMouseClickedCountNative(ImGuiMouseButton button) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[380])(button); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[380])(button); - #endif - } - - /// - /// return the number of successive mouse-clicks at the time where a click happen (otherwise 0).
- ///
- public static int GetMouseClickedCount(ImGuiMouseButton button) - { - int ret = GetMouseClickedCountNative(button); - return ret; - } - - /// - /// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focuswindow orderingpopup-block.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseHoveringRectNative(Vector2 rMin, Vector2 rMax, byte clip) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[381])(rMin, rMax, clip); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[381])(rMin, rMax, clip); - #endif - } - - /// - /// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focuswindow orderingpopup-block.
- ///
- public static bool IsMouseHoveringRect(Vector2 rMin, Vector2 rMax, bool clip) - { - byte ret = IsMouseHoveringRectNative(rMin, rMax, clip ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focuswindow orderingpopup-block.
- ///
- public static bool IsMouseHoveringRect(Vector2 rMin, Vector2 rMax) - { - byte ret = IsMouseHoveringRectNative(rMin, rMax, (byte)(1)); - return ret != 0; - } - - /// - /// by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMousePosValidNative(Vector2* mousePos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[382])(mousePos); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[382])((nint)mousePos); - #endif - } - - /// - /// by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available
- ///
- public static bool IsMousePosValid(Vector2* mousePos) - { - byte ret = IsMousePosValidNative(mousePos); - return ret != 0; - } - - /// - /// by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available
- ///
- public static bool IsMousePosValid() - { - byte ret = IsMousePosValidNative((Vector2*)(default)); - return ret != 0; - } - - /// - /// by convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available
- ///
- public static bool IsMousePosValid(ref Vector2 mousePos) - { - fixed (Vector2* pmousePos = &mousePos) - { - byte ret = IsMousePosValidNative((Vector2*)pmousePos); - return ret != 0; - } - } - - /// - /// [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAnyMouseDownNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[383])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[383])(); - #endif - } - - /// - /// [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid.
- ///
- public static bool IsAnyMouseDown() - { - byte ret = IsAnyMouseDownNative(); - return ret != 0; - } - - /// - /// shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetMousePosNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[384])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[384])((nint)pOut); - #endif - } - - /// - /// shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls
- ///
- public static Vector2 GetMousePos() - { - Vector2 ret; - GetMousePosNative(&ret); - return ret; - } - - /// - /// shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls
- ///
- public static void GetMousePos(Vector2* pOut) - { - GetMousePosNative(pOut); - } - - /// - /// shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls
- ///
- public static void GetMousePos(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetMousePosNative((Vector2*)ppOut); - } - } - - /// - /// retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetMousePosOnOpeningCurrentPopupNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[385])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[385])((nint)pOut); - #endif - } - - /// - /// retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves)
- ///
- public static Vector2 GetMousePosOnOpeningCurrentPopup() - { - Vector2 ret; - GetMousePosOnOpeningCurrentPopupNative(&ret); - return ret; - } - - /// - /// retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves)
- ///
- public static void GetMousePosOnOpeningCurrentPopup(Vector2* pOut) - { - GetMousePosOnOpeningCurrentPopupNative(pOut); - } - - /// - /// retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves)
- ///
- public static void GetMousePosOnOpeningCurrentPopup(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetMousePosOnOpeningCurrentPopupNative((Vector2*)ppOut); - } - } - - /// - /// is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseDraggingNative(ImGuiMouseButton button, float lockThreshold) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[386])(button, lockThreshold); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[386])(button, lockThreshold); - #endif - } - - /// - /// is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static bool IsMouseDragging(ImGuiMouseButton button, float lockThreshold) - { - byte ret = IsMouseDraggingNative(button, lockThreshold); - return ret != 0; - } - - /// - /// is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static bool IsMouseDragging(ImGuiMouseButton button) - { - byte ret = IsMouseDraggingNative(button, (float)(-1.0f)); - return ret != 0; - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetMouseDragDeltaNative(Vector2* pOut, ImGuiMouseButton button, float lockThreshold) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[387])(pOut, button, lockThreshold); - #else - ((delegate* unmanaged[Cdecl])funcTable[387])((nint)pOut, button, lockThreshold); - #endif - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static Vector2 GetMouseDragDelta() - { - Vector2 ret; - GetMouseDragDeltaNative(&ret, (ImGuiMouseButton)(0), (float)(-1.0f)); - return ret; - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static Vector2 GetMouseDragDelta(ImGuiMouseButton button) - { - Vector2 ret; - GetMouseDragDeltaNative(&ret, button, (float)(-1.0f)); - return ret; - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(Vector2* pOut) - { - GetMouseDragDeltaNative(pOut, (ImGuiMouseButton)(0), (float)(-1.0f)); - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static Vector2 GetMouseDragDelta(float lockThreshold) - { - Vector2 ret; - GetMouseDragDeltaNative(&ret, (ImGuiMouseButton)(0), lockThreshold); - return ret; - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static Vector2 GetMouseDragDelta(ImGuiMouseButton button, float lockThreshold) - { - Vector2 ret; - GetMouseDragDeltaNative(&ret, button, lockThreshold); - return ret; - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button, float lockThreshold) - { - GetMouseDragDeltaNative(pOut, button, lockThreshold); - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button) - { - GetMouseDragDeltaNative(pOut, button, (float)(-1.0f)); - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(Vector2* pOut, float lockThreshold) - { - GetMouseDragDeltaNative(pOut, (ImGuiMouseButton)(0), lockThreshold); - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(ref Vector2 pOut, ImGuiMouseButton button, float lockThreshold) - { - fixed (Vector2* ppOut = &pOut) - { - GetMouseDragDeltaNative((Vector2*)ppOut, button, lockThreshold); - } - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(ref Vector2 pOut, ImGuiMouseButton button) - { - fixed (Vector2* ppOut = &pOut) - { - GetMouseDragDeltaNative((Vector2*)ppOut, button, (float)(-1.0f)); - } - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetMouseDragDeltaNative((Vector2*)ppOut, (ImGuiMouseButton)(0), (float)(-1.0f)); - } - } - - /// - /// return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
- ///
- public static void GetMouseDragDelta(ref Vector2 pOut, float lockThreshold) - { - fixed (Vector2* ppOut = &pOut) - { - GetMouseDragDeltaNative((Vector2*)ppOut, (ImGuiMouseButton)(0), lockThreshold); - } - } - - /// - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetMouseDragDeltaNative(ImGuiMouseButton button) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[388])(button); - #else - ((delegate* unmanaged[Cdecl])funcTable[388])(button); - #endif - } - - /// - /// - public static void ResetMouseDragDelta(ImGuiMouseButton button) - { - ResetMouseDragDeltaNative(button); - } - - /// - /// - public static void ResetMouseDragDelta() - { - ResetMouseDragDeltaNative((ImGuiMouseButton)(0)); - } - - /// - /// get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMouseCursor GetMouseCursorNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[389])(); - #else - return (ImGuiMouseCursor)((delegate* unmanaged[Cdecl])funcTable[389])(); - #endif - } - - /// - /// get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you
- ///
- public static ImGuiMouseCursor GetMouseCursor() - { - ImGuiMouseCursor ret = GetMouseCursorNative(); - return ret; - } - - /// - /// set desired mouse cursor shape
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetMouseCursorNative(ImGuiMouseCursor cursorType) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[390])(cursorType); - #else - ((delegate* unmanaged[Cdecl])funcTable[390])(cursorType); - #endif - } - - /// - /// set desired mouse cursor shape
- ///
- public static void SetMouseCursor(ImGuiMouseCursor cursorType) - { - SetMouseCursorNative(cursorType); - } - - /// - /// Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextFrameWantCaptureMouseNative(byte wantCaptureMouse) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[391])(wantCaptureMouse); - #else - ((delegate* unmanaged[Cdecl])funcTable[391])(wantCaptureMouse); - #endif - } - - /// - /// Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call.
- ///
- public static void SetNextFrameWantCaptureMouse(bool wantCaptureMouse) - { - SetNextFrameWantCaptureMouseNative(wantCaptureMouse ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetClipboardTextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[392])(); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[392])(); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetClipboardText() - { - byte* ret = GetClipboardTextNative(); - return ret; - } - - /// - /// To be documented. - /// - public static string GetClipboardTextS() - { - string ret = Utils.DecodeStringUTF8(GetClipboardTextNative()); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetClipboardTextNative(byte* text) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[393])(text); - #else - ((delegate* unmanaged[Cdecl])funcTable[393])((nint)text); - #endif - } - - /// - /// To be documented. - /// - public static void SetClipboardText(byte* text) - { - SetClipboardTextNative(text); - } - - /// - /// To be documented. - /// - public static void SetClipboardText(ref byte text) - { - fixed (byte* ptext = &text) - { - SetClipboardTextNative((byte*)ptext); - } - } - - /// - /// To be documented. - /// - public static void SetClipboardText(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - SetClipboardTextNative((byte*)ptext); - } - } - - /// - /// To be documented. - /// - public static void SetClipboardText(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetClipboardTextNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LoadIniSettingsFromDiskNative(byte* iniFilename) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[394])(iniFilename); - #else - ((delegate* unmanaged[Cdecl])funcTable[394])((nint)iniFilename); - #endif - } - - /// - /// call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).
- ///
- public static void LoadIniSettingsFromDisk(byte* iniFilename) - { - LoadIniSettingsFromDiskNative(iniFilename); - } - - /// - /// call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).
- ///
- public static void LoadIniSettingsFromDisk(ref byte iniFilename) - { - fixed (byte* piniFilename = &iniFilename) - { - LoadIniSettingsFromDiskNative((byte*)piniFilename); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).
- ///
- public static void LoadIniSettingsFromDisk(ReadOnlySpan iniFilename) - { - fixed (byte* piniFilename = iniFilename) - { - LoadIniSettingsFromDiskNative((byte*)piniFilename); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename).
- ///
- public static void LoadIniSettingsFromDisk(string iniFilename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (iniFilename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(iniFilename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(iniFilename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadIniSettingsFromDiskNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LoadIniSettingsFromMemoryNative(byte* iniData, ulong iniSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[395])(iniData, iniSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[395])((nint)iniData, iniSize); - #endif - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(byte* iniData, ulong iniSize) - { - LoadIniSettingsFromMemoryNative(iniData, iniSize); - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(byte* iniData) - { - LoadIniSettingsFromMemoryNative(iniData, (ulong)(0)); - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(ref byte iniData, ulong iniSize) - { - fixed (byte* piniData = &iniData) - { - LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(ref byte iniData) - { - fixed (byte* piniData = &iniData) - { - LoadIniSettingsFromMemoryNative((byte*)piniData, (ulong)(0)); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, ulong iniSize) - { - fixed (byte* piniData = iniData) - { - LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData) - { - fixed (byte* piniData = iniData) - { - LoadIniSettingsFromMemoryNative((byte*)piniData, (ulong)(0)); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(string iniData, ulong iniSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (iniData != null) - { - pStrSize0 = Utils.GetByteCountUTF8(iniData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadIniSettingsFromMemoryNative(pStr0, iniSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(string iniData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (iniData != null) - { - pStrSize0 = Utils.GetByteCountUTF8(iniData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadIniSettingsFromMemoryNative(pStr0, (ulong)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(byte* iniData, nuint iniSize) - { - LoadIniSettingsFromMemoryNative(iniData, iniSize); - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(ref byte iniData, nuint iniSize) - { - fixed (byte* piniData = &iniData) - { - LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, nuint iniSize) - { - fixed (byte* piniData = iniData) - { - LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize); - } - } - - /// - /// call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.
- ///
- public static void LoadIniSettingsFromMemory(string iniData, nuint iniSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (iniData != null) - { - pStrSize0 = Utils.GetByteCountUTF8(iniData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadIniSettingsFromMemoryNative(pStr0, iniSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SaveIniSettingsToDiskNative(byte* iniFilename) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[396])(iniFilename); - #else - ((delegate* unmanaged[Cdecl])funcTable[396])((nint)iniFilename); - #endif - } - - /// - /// this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).
- ///
- public static void SaveIniSettingsToDisk(byte* iniFilename) - { - SaveIniSettingsToDiskNative(iniFilename); - } - - /// - /// this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).
- ///
- public static void SaveIniSettingsToDisk(ref byte iniFilename) - { - fixed (byte* piniFilename = &iniFilename) - { - SaveIniSettingsToDiskNative((byte*)piniFilename); - } - } - - /// - /// this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).
- ///
- public static void SaveIniSettingsToDisk(ReadOnlySpan iniFilename) - { - fixed (byte* piniFilename = iniFilename) - { - SaveIniSettingsToDiskNative((byte*)piniFilename); - } - } - - /// - /// this is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).
- ///
- public static void SaveIniSettingsToDisk(string iniFilename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (iniFilename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(iniFilename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(iniFilename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SaveIniSettingsToDiskNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* SaveIniSettingsToMemoryNative(ulong* outIniSize) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[397])(outIniSize); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[397])((nint)outIniSize); - #endif - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- public static byte* SaveIniSettingsToMemory(ulong* outIniSize) - { - byte* ret = SaveIniSettingsToMemoryNative(outIniSize); - return ret; - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- public static byte* SaveIniSettingsToMemory() - { - byte* ret = SaveIniSettingsToMemoryNative((ulong*)(default)); - return ret; - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- public static string SaveIniSettingsToMemoryS() - { - string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((ulong*)(default))); - return ret; - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- public static string SaveIniSettingsToMemoryS(ulong* outIniSize) - { - string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative(outIniSize)); - return ret; - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- public static byte* SaveIniSettingsToMemory(ref nuint outIniSize) - { - fixed (nuint* poutIniSize = &outIniSize) - { - byte* ret = SaveIniSettingsToMemoryNative((ulong*)poutIniSize); - return ret; - } - } - - /// - /// return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings.
- ///
- public static string SaveIniSettingsToMemoryS(ref nuint outIniSize) - { - fixed (nuint* poutIniSize = &outIniSize) - { - string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((ulong*)poutIniSize)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugTextEncodingNative(byte* text) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[398])(text); - #else - ((delegate* unmanaged[Cdecl])funcTable[398])((nint)text); - #endif - } - - /// - /// To be documented. - /// - public static void DebugTextEncoding(byte* text) - { - DebugTextEncodingNative(text); - } - - /// - /// To be documented. - /// - public static void DebugTextEncoding(ref byte text) - { - fixed (byte* ptext = &text) - { - DebugTextEncodingNative((byte*)ptext); - } - } - - /// - /// To be documented. - /// - public static void DebugTextEncoding(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - DebugTextEncodingNative((byte*)ptext); - } - } - - /// - /// To be documented. - /// - public static void DebugTextEncoding(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugTextEncodingNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugFlashStyleColorNative(ImGuiCol idx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[399])(idx); - #else - ((delegate* unmanaged[Cdecl])funcTable[399])(idx); - #endif - } - - /// - /// To be documented. - /// - public static void DebugFlashStyleColor(ImGuiCol idx) - { - DebugFlashStyleColorNative(idx); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugStartItemPickerNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[400])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[400])(); - #endif - } - - /// - /// To be documented. - /// - public static void DebugStartItemPicker() - { - DebugStartItemPickerNative(); - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DebugCheckVersionAndDataLayoutNative(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[401])(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[401])((nint)versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - #endif - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, ulong szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.088.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.088.cs deleted file mode 100644 index b58ba76c7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.088.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, ulong szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = &versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - fixed (byte* pversionStr = versionStr) - { - byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - return ret != 0; - } - } - - /// - /// This is called by IMGUI_CHECKVERSION() macro.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (versionStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(versionStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugLogNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[402])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[402])((nint)fmt); - #endif - } - - /// - /// Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code!
- ///
- public static void DebugLog(byte* fmt) - { - DebugLogNative(fmt); - } - - /// - /// Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code!
- ///
- public static void DebugLog(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - DebugLogNative((byte*)pfmt); - } - } - - /// - /// Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code!
- ///
- public static void DebugLog(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - DebugLogNative((byte*)pfmt); - } - } - - /// - /// Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code!
- ///
- public static void DebugLog(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugLogNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugLogVNative(byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[403])(fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[403])((nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void DebugLogV(byte* fmt, nuint args) - { - DebugLogVNative(fmt, args); - } - - /// - /// To be documented. - /// - public static void DebugLogV(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - DebugLogVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void DebugLogV(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - DebugLogVNative((byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void DebugLogV(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugLogVNative(pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAllocatorFunctionsNative(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], delegate*, void*, void>)funcTable[404])((delegate*)Utils.GetFunctionPointerForDelegate(allocFunc), (delegate*)Utils.GetFunctionPointerForDelegate(freeFunc), userData); - #else - ((delegate* unmanaged[Cdecl])funcTable[404])((nint)Utils.GetFunctionPointerForDelegate(allocFunc), (nint)Utils.GetFunctionPointerForDelegate(freeFunc), (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData) - { - SetAllocatorFunctionsNative(allocFunc, freeFunc, userData); - } - - /// - /// To be documented. - /// - public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc) - { - SetAllocatorFunctionsNative(allocFunc, freeFunc, (void*)(default)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetAllocatorFunctionsNative(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, delegate**, void**, void>)funcTable[405])(pAllocFunc, pFreeFunc, pUserData); - #else - ((delegate* unmanaged[Cdecl])funcTable[405])((nint)pAllocFunc, (nint)pFreeFunc, (nint)pUserData); - #endif - } - - /// - /// To be documented. - /// - public static void GetAllocatorFunctions(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData) - { - GetAllocatorFunctionsNative(pAllocFunc, pFreeFunc, pUserData); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void* MemAllocNative(ulong size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[406])(size); - #else - return (void*)((delegate* unmanaged[Cdecl])funcTable[406])(size); - #endif - } - - /// - /// To be documented. - /// - public static void* MemAlloc(ulong size) - { - void* ret = MemAllocNative(size); - return ret; - } - - /// - /// To be documented. - /// - public static void* MemAlloc(nuint size) - { - void* ret = MemAllocNative(size); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MemFreeNative(void* ptr) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[407])(ptr); - #else - ((delegate* unmanaged[Cdecl])funcTable[407])((nint)ptr); - #endif - } - - /// - /// To be documented. - /// - public static void MemFree(void* ptr) - { - MemFreeNative(ptr); - } - - /// - /// call in main loop. will call CreateWindowResizeWindowetc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdatePlatformWindowsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[408])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[408])(); - #endif - } - - /// - /// call in main loop. will call CreateWindowResizeWindowetc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport.
- ///
- public static void UpdatePlatformWindows() - { - UpdatePlatformWindowsNative(); - } - - /// - /// call in main loop. will call RenderWindowSwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderPlatformWindowsDefaultNative(void* platformRenderArg, void* rendererRenderArg) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[409])(platformRenderArg, rendererRenderArg); - #else - ((delegate* unmanaged[Cdecl])funcTable[409])((nint)platformRenderArg, (nint)rendererRenderArg); - #endif - } - - /// - /// call in main loop. will call RenderWindowSwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs.
- ///
- public static void RenderPlatformWindowsDefault(void* platformRenderArg, void* rendererRenderArg) - { - RenderPlatformWindowsDefaultNative(platformRenderArg, rendererRenderArg); - } - - /// - /// call in main loop. will call RenderWindowSwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs.
- ///
- public static void RenderPlatformWindowsDefault(void* platformRenderArg) - { - RenderPlatformWindowsDefaultNative(platformRenderArg, (void*)(default)); - } - - /// - /// call in main loop. will call RenderWindowSwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs.
- ///
- public static void RenderPlatformWindowsDefault() - { - RenderPlatformWindowsDefaultNative((void*)(default), (void*)(default)); - } - - /// - /// call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyPlatformWindowsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[410])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[410])(); - #endif - } - - /// - /// call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext().
- ///
- public static void DestroyPlatformWindows() - { - DestroyPlatformWindowsNative(); - } - - /// - /// this is a helper for backends.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewport* FindViewportByIDNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[411])(id); - #else - return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[411])(id); - #endif - } - - /// - /// this is a helper for backends.
- ///
- public static ImGuiViewportPtr FindViewportByID(uint id) - { - ImGuiViewportPtr ret = FindViewportByIDNative(id); - return ret; - } - - /// - /// this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewport* FindViewportByPlatformHandleNative(void* platformHandle) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[412])(platformHandle); - #else - return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[412])((nint)platformHandle); - #endif - } - - /// - /// this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.)
- ///
- public static ImGuiViewportPtr FindViewportByPlatformHandle(void* platformHandle) - { - ImGuiViewportPtr ret = FindViewportByPlatformHandleNative(platformHandle); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableSortSpecs* ImGuiTableSortSpecsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[413])(); - #else - return (ImGuiTableSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[413])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableSortSpecsPtr ImGuiTableSortSpecs() - { - ImGuiTableSortSpecsPtr ret = ImGuiTableSortSpecsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableSortSpecs* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[414])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[414])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableSortSpecsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableSortSpecs self) - { - fixed (ImGuiTableSortSpecs* pself = &self) - { - DestroyNative((ImGuiTableSortSpecs*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[415])(); - #else - return (ImGuiTableColumnSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[415])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableColumnSortSpecsPtr ImGuiTableColumnSortSpecs() - { - ImGuiTableColumnSortSpecsPtr ret = ImGuiTableColumnSortSpecsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableColumnSortSpecs* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[416])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[416])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableColumnSortSpecsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableColumnSortSpecs self) - { - fixed (ImGuiTableColumnSortSpecs* pself = &self) - { - DestroyNative((ImGuiTableColumnSortSpecs*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStyle* ImGuiStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[417])(); - #else - return (ImGuiStyle*)((delegate* unmanaged[Cdecl])funcTable[417])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStylePtr ImGuiStyle() - { - ImGuiStylePtr ret = ImGuiStyleNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiStyle* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[418])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[418])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiStylePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiStyle self) - { - fixed (ImGuiStyle* pself = &self) - { - DestroyNative((ImGuiStyle*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScaleAllSizesNative(ImGuiStyle* self, float scaleFactor) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[419])(self, scaleFactor); - #else - ((delegate* unmanaged[Cdecl])funcTable[419])((nint)self, scaleFactor); - #endif - } - - /// - /// To be documented. - /// - public static void ScaleAllSizes(ImGuiStylePtr self, float scaleFactor) - { - ScaleAllSizesNative(self, scaleFactor); - } - - /// - /// To be documented. - /// - public static void ScaleAllSizes(ref ImGuiStyle self, float scaleFactor) - { - fixed (ImGuiStyle* pself = &self) - { - ScaleAllSizesNative((ImGuiStyle*)pself, scaleFactor); - } - } - - /// - /// Queue a new key downup event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddKeyEventNative(ImGuiIO* self, ImGuiKey key, byte down) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[420])(self, key, down); - #else - ((delegate* unmanaged[Cdecl])funcTable[420])((nint)self, key, down); - #endif - } - - /// - /// Queue a new key downup event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)
- ///
- public static void AddKeyEvent(ImGuiIOPtr self, ImGuiKey key, bool down) - { - AddKeyEventNative(self, key, down ? (byte)1 : (byte)0); - } - - /// - /// Queue a new key downup event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)
- ///
- public static void AddKeyEvent(ref ImGuiIO self, ImGuiKey key, bool down) - { - fixed (ImGuiIO* pself = &self) - { - AddKeyEventNative((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0); - } - } - - /// - /// Queue a new key downup event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddKeyAnalogEventNative(ImGuiIO* self, ImGuiKey key, byte down, float v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[421])(self, key, down, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[421])((nint)self, key, down, v); - #endif - } - - /// - /// Queue a new key downup event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend.
- ///
- public static void AddKeyAnalogEvent(ImGuiIOPtr self, ImGuiKey key, bool down, float v) - { - AddKeyAnalogEventNative(self, key, down ? (byte)1 : (byte)0, v); - } - - /// - /// Queue a new key downup event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend.
- ///
- public static void AddKeyAnalogEvent(ref ImGuiIO self, ImGuiKey key, bool down, float v) - { - fixed (ImGuiIO* pself = &self) - { - AddKeyAnalogEventNative((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0, v); - } - } - - /// - /// Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddMousePosEventNative(ImGuiIO* self, float x, float y) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[422])(self, x, y); - #else - ((delegate* unmanaged[Cdecl])funcTable[422])((nint)self, x, y); - #endif - } - - /// - /// Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)
- ///
- public static void AddMousePosEvent(ImGuiIOPtr self, float x, float y) - { - AddMousePosEventNative(self, x, y); - } - - /// - /// Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)
- ///
- public static void AddMousePosEvent(ref ImGuiIO self, float x, float y) - { - fixed (ImGuiIO* pself = &self) - { - AddMousePosEventNative((ImGuiIO*)pself, x, y); - } - } - - /// - /// Queue a mouse button change
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddMouseButtonEventNative(ImGuiIO* self, int button, byte down) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[423])(self, button, down); - #else - ((delegate* unmanaged[Cdecl])funcTable[423])((nint)self, button, down); - #endif - } - - /// - /// Queue a mouse button change
- ///
- public static void AddMouseButtonEvent(ImGuiIOPtr self, int button, bool down) - { - AddMouseButtonEventNative(self, button, down ? (byte)1 : (byte)0); - } - - /// - /// Queue a mouse button change
- ///
- public static void AddMouseButtonEvent(ref ImGuiIO self, int button, bool down) - { - fixed (ImGuiIO* pself = &self) - { - AddMouseButtonEventNative((ImGuiIO*)pself, button, down ? (byte)1 : (byte)0); - } - } - - /// - /// Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddMouseWheelEventNative(ImGuiIO* self, float wheelX, float wheelY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[424])(self, wheelX, wheelY); - #else - ((delegate* unmanaged[Cdecl])funcTable[424])((nint)self, wheelX, wheelY); - #endif - } - - /// - /// Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left.
- ///
- public static void AddMouseWheelEvent(ImGuiIOPtr self, float wheelX, float wheelY) - { - AddMouseWheelEventNative(self, wheelX, wheelY); - } - - /// - /// Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left.
- ///
- public static void AddMouseWheelEvent(ref ImGuiIO self, float wheelX, float wheelY) - { - fixed (ImGuiIO* pself = &self) - { - AddMouseWheelEventNative((ImGuiIO*)pself, wheelX, wheelY); - } - } - - /// - /// Queue a mouse source change (MouseTouchScreenPen)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddMouseSourceEventNative(ImGuiIO* self, ImGuiMouseSource source) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[425])(self, source); - #else - ((delegate* unmanaged[Cdecl])funcTable[425])((nint)self, source); - #endif - } - - /// - /// Queue a mouse source change (MouseTouchScreenPen)
- ///
- public static void AddMouseSourceEvent(ImGuiIOPtr self, ImGuiMouseSource source) - { - AddMouseSourceEventNative(self, source); - } - - /// - /// Queue a mouse source change (MouseTouchScreenPen)
- ///
- public static void AddMouseSourceEvent(ref ImGuiIO self, ImGuiMouseSource source) - { - fixed (ImGuiIO* pself = &self) - { - AddMouseSourceEventNative((ImGuiIO*)pself, source); - } - } - - /// - /// Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddMouseViewportEventNative(ImGuiIO* self, uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[426])(self, id); - #else - ((delegate* unmanaged[Cdecl])funcTable[426])((nint)self, id); - #endif - } - - /// - /// Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support).
- ///
- public static void AddMouseViewportEvent(ImGuiIOPtr self, uint id) - { - AddMouseViewportEventNative(self, id); - } - - /// - /// Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support).
- ///
- public static void AddMouseViewportEvent(ref ImGuiIO self, uint id) - { - fixed (ImGuiIO* pself = &self) - { - AddMouseViewportEventNative((ImGuiIO*)pself, id); - } - } - - /// - /// Queue a gainloss of focus for the application (generally based on OSplatform focus of your window)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddFocusEventNative(ImGuiIO* self, byte focused) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[427])(self, focused); - #else - ((delegate* unmanaged[Cdecl])funcTable[427])((nint)self, focused); - #endif - } - - /// - /// Queue a gainloss of focus for the application (generally based on OSplatform focus of your window)
- ///
- public static void AddFocusEvent(ImGuiIOPtr self, bool focused) - { - AddFocusEventNative(self, focused ? (byte)1 : (byte)0); - } - - /// - /// Queue a gainloss of focus for the application (generally based on OSplatform focus of your window)
- ///
- public static void AddFocusEvent(ref ImGuiIO self, bool focused) - { - fixed (ImGuiIO* pself = &self) - { - AddFocusEventNative((ImGuiIO*)pself, focused ? (byte)1 : (byte)0); - } - } - - /// - /// Queue a new character input
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddInputCharacterNative(ImGuiIO* self, uint c) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[428])(self, c); - #else - ((delegate* unmanaged[Cdecl])funcTable[428])((nint)self, c); - #endif - } - - /// - /// Queue a new character input
- ///
- public static void AddInputCharacter(ImGuiIOPtr self, uint c) - { - AddInputCharacterNative(self, c); - } - - /// - /// Queue a new character input
- ///
- public static void AddInputCharacter(ref ImGuiIO self, uint c) - { - fixed (ImGuiIO* pself = &self) - { - AddInputCharacterNative((ImGuiIO*)pself, c); - } - } - - /// - /// Queue a new character input from a UTF-16 character, it can be a surrogate
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddInputCharacterUTF16Native(ImGuiIO* self, ushort c) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[429])(self, c); - #else - ((delegate* unmanaged[Cdecl])funcTable[429])((nint)self, c); - #endif - } - - /// - /// Queue a new character input from a UTF-16 character, it can be a surrogate
- ///
- public static void AddInputCharacterUTF16(ImGuiIOPtr self, ushort c) - { - AddInputCharacterUTF16Native(self, c); - } - - /// - /// Queue a new character input from a UTF-16 character, it can be a surrogate
- ///
- public static void AddInputCharacterUTF16(ref ImGuiIO self, ushort c) - { - fixed (ImGuiIO* pself = &self) - { - AddInputCharacterUTF16Native((ImGuiIO*)pself, c); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddInputCharactersUTF8Native(ImGuiIO* self, byte* str) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[430])(self, str); - #else - ((delegate* unmanaged[Cdecl])funcTable[430])((nint)self, (nint)str); - #endif - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ImGuiIOPtr self, byte* str) - { - AddInputCharactersUTF8Native(self, str); - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ref ImGuiIO self, byte* str) - { - fixed (ImGuiIO* pself = &self) - { - AddInputCharactersUTF8Native((ImGuiIO*)pself, str); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ImGuiIOPtr self, ref byte str) - { - fixed (byte* pstr = &str) - { - AddInputCharactersUTF8Native(self, (byte*)pstr); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ImGuiIOPtr self, ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - AddInputCharactersUTF8Native(self, (byte*)pstr); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ImGuiIOPtr self, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddInputCharactersUTF8Native(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ref ImGuiIO self, ref byte str) - { - fixed (ImGuiIO* pself = &self) - { - fixed (byte* pstr = &str) - { - AddInputCharactersUTF8Native((ImGuiIO*)pself, (byte*)pstr); - } - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ref ImGuiIO self, ReadOnlySpan str) - { - fixed (ImGuiIO* pself = &self) - { - fixed (byte* pstr = str) - { - AddInputCharactersUTF8Native((ImGuiIO*)pself, (byte*)pstr); - } - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public static void AddInputCharactersUTF8(ref ImGuiIO self, string str) - { - fixed (ImGuiIO* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddInputCharactersUTF8Native((ImGuiIO*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetKeyEventNativeDataNative(ImGuiIO* self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[431])(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); - #else - ((delegate* unmanaged[Cdecl])funcTable[431])((nint)self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); - #endif - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public static void SetKeyEventNativeData(ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) - { - SetKeyEventNativeDataNative(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public static void SetKeyEventNativeData(ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode) - { - SetKeyEventNativeDataNative(self, key, nativeKeycode, nativeScancode, (int)(-1)); - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public static void SetKeyEventNativeData(ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) - { - fixed (ImGuiIO* pself = &self) - { - SetKeyEventNativeDataNative((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, nativeLegacyIndex); - } - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public static void SetKeyEventNativeData(ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode) - { - fixed (ImGuiIO* pself = &self) - { - SetKeyEventNativeDataNative((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, (int)(-1)); - } - } - - /// - /// Set master flag for accepting keymousetext events (default to true). Useful if you have native dialog boxes that are interrupting your application looprefresh, and you want to disable events being queued while your app is frozen.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAppAcceptingEventsNative(ImGuiIO* self, byte acceptingEvents) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[432])(self, acceptingEvents); - #else - ((delegate* unmanaged[Cdecl])funcTable[432])((nint)self, acceptingEvents); - #endif - } - - /// - /// Set master flag for accepting keymousetext events (default to true). Useful if you have native dialog boxes that are interrupting your application looprefresh, and you want to disable events being queued while your app is frozen.
- ///
- public static void SetAppAcceptingEvents(ImGuiIOPtr self, bool acceptingEvents) - { - SetAppAcceptingEventsNative(self, acceptingEvents ? (byte)1 : (byte)0); - } - - /// - /// Set master flag for accepting keymousetext events (default to true). Useful if you have native dialog boxes that are interrupting your application looprefresh, and you want to disable events being queued while your app is frozen.
- ///
- public static void SetAppAcceptingEvents(ref ImGuiIO self, bool acceptingEvents) - { - fixed (ImGuiIO* pself = &self) - { - SetAppAcceptingEventsNative((ImGuiIO*)pself, acceptingEvents ? (byte)1 : (byte)0); - } - } - - /// - /// Clear all incoming events.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearEventsQueueNative(ImGuiIO* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[433])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[433])((nint)self); - #endif - } - - /// - /// Clear all incoming events.
- ///
- public static void ClearEventsQueue(ImGuiIOPtr self) - { - ClearEventsQueueNative(self); - } - - /// - /// Clear all incoming events.
- ///
- public static void ClearEventsQueue(ref ImGuiIO self) - { - fixed (ImGuiIO* pself = &self) - { - ClearEventsQueueNative((ImGuiIO*)pself); - } - } - - /// - /// Clear current keyboardgamepad state + current frame text input buffer. Equivalent to releasing all keysbuttons.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearInputKeysNative(ImGuiIO* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[434])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[434])((nint)self); - #endif - } - - /// - /// Clear current keyboardgamepad state + current frame text input buffer. Equivalent to releasing all keysbuttons.
- ///
- public static void ClearInputKeys(ImGuiIOPtr self) - { - ClearInputKeysNative(self); - } - - /// - /// Clear current keyboardgamepad state + current frame text input buffer. Equivalent to releasing all keysbuttons.
- ///
- public static void ClearInputKeys(ref ImGuiIO self) - { - fixed (ImGuiIO* pself = &self) - { - ClearInputKeysNative((ImGuiIO*)pself); - } - } - - /// - /// Clear current mouse state.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearInputMouseNative(ImGuiIO* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[435])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[435])((nint)self); - #endif - } - - /// - /// Clear current mouse state.
- ///
- public static void ClearInputMouse(ImGuiIOPtr self) - { - ClearInputMouseNative(self); - } - - /// - /// Clear current mouse state.
- ///
- public static void ClearInputMouse(ref ImGuiIO self) - { - fixed (ImGuiIO* pself = &self) - { - ClearInputMouseNative((ImGuiIO*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiIO* ImGuiIONative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[436])(); - #else - return (ImGuiIO*)((delegate* unmanaged[Cdecl])funcTable[436])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiIOPtr ImGuiIO() - { - ImGuiIOPtr ret = ImGuiIONative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiIO* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[437])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[437])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiIOPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiIO self) - { - fixed (ImGuiIO* pself = &self) - { - DestroyNative((ImGuiIO*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiInputTextCallbackData* ImGuiInputTextCallbackDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[438])(); - #else - return (ImGuiInputTextCallbackData*)((delegate* unmanaged[Cdecl])funcTable[438])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiInputTextCallbackDataPtr ImGuiInputTextCallbackData() - { - ImGuiInputTextCallbackDataPtr ret = ImGuiInputTextCallbackDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiInputTextCallbackData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[439])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[439])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiInputTextCallbackDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiInputTextCallbackData self) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - DestroyNative((ImGuiInputTextCallbackData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DeleteCharsNative(ImGuiInputTextCallbackData* self, int pos, int bytesCount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[440])(self, pos, bytesCount); - #else - ((delegate* unmanaged[Cdecl])funcTable[440])((nint)self, pos, bytesCount); - #endif - } - - /// - /// To be documented. - /// - public static void DeleteChars(ImGuiInputTextCallbackDataPtr self, int pos, int bytesCount) - { - DeleteCharsNative(self, pos, bytesCount); - } - - /// - /// To be documented. - /// - public static void DeleteChars(ref ImGuiInputTextCallbackData self, int pos, int bytesCount) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - DeleteCharsNative((ImGuiInputTextCallbackData*)pself, pos, bytesCount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void InsertCharsNative(ImGuiInputTextCallbackData* self, int pos, byte* text, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[441])(self, pos, text, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[441])((nint)self, pos, (nint)text, (nint)textEnd); - #endif - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, byte* textEnd) - { - InsertCharsNative(self, pos, text, textEnd); - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text) - { - InsertCharsNative(self, pos, text, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, textEnd); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - InsertCharsNative(self, pos, (byte*)ptext, textEnd); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text) - { - fixed (byte* ptext = &text) - { - InsertCharsNative(self, pos, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - InsertCharsNative(self, pos, (byte*)ptext, textEnd); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - InsertCharsNative(self, pos, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative(self, pos, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative(self, pos, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = &text) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = &text) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = text) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = text) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative(self, pos, text, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative(self, pos, text, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative(self, pos, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - InsertCharsNative(self, pos, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative(self, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative(self, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative(self, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative(self, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SelectAllNative(ImGuiInputTextCallbackData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[442])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[442])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void SelectAll(ImGuiInputTextCallbackDataPtr self) - { - SelectAllNative(self); - } - - /// - /// To be documented. - /// - public static void SelectAll(ref ImGuiInputTextCallbackData self) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - SelectAllNative((ImGuiInputTextCallbackData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearSelectionNative(ImGuiInputTextCallbackData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[443])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[443])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearSelection(ImGuiInputTextCallbackDataPtr self) - { - ClearSelectionNative(self); - } - - /// - /// To be documented. - /// - public static void ClearSelection(ref ImGuiInputTextCallbackData self) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - ClearSelectionNative((ImGuiInputTextCallbackData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasSelectionNative(ImGuiInputTextCallbackData* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[444])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[444])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasSelection(ImGuiInputTextCallbackDataPtr self) - { - byte ret = HasSelectionNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasSelection(ref ImGuiInputTextCallbackData self) - { - fixed (ImGuiInputTextCallbackData* pself = &self) - { - byte ret = HasSelectionNative((ImGuiInputTextCallbackData*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindowClass* ImGuiWindowClassNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[445])(); - #else - return (ImGuiWindowClass*)((delegate* unmanaged[Cdecl])funcTable[445])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowClassPtr ImGuiWindowClass() - { - ImGuiWindowClassPtr ret = ImGuiWindowClassNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiWindowClass* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[446])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[446])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiWindowClassPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiWindowClass self) - { - fixed (ImGuiWindowClass* pself = &self) - { - DestroyNative((ImGuiWindowClass*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPayload* ImGuiPayloadNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[447])(); - #else - return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[447])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPayloadPtr ImGuiPayload() - { - ImGuiPayloadPtr ret = ImGuiPayloadNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiPayload* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[448])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[448])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiPayloadPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiPayload self) - { - fixed (ImGuiPayload* pself = &self) - { - DestroyNative((ImGuiPayload*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiPayload* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[449])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[449])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImGuiPayloadPtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImGuiPayload self) - { - fixed (ImGuiPayload* pself = &self) - { - ClearNative((ImGuiPayload*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsDataTypeNative(ImGuiPayload* self, byte* type) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[450])(self, type); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[450])((nint)self, (nint)type); - #endif - } - - /// - /// To be documented. - /// - public static bool IsDataType(ImGuiPayloadPtr self, byte* type) - { - byte ret = IsDataTypeNative(self, type); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsDataType(ref ImGuiPayload self, byte* type) - { - fixed (ImGuiPayload* pself = &self) - { - byte ret = IsDataTypeNative((ImGuiPayload*)pself, type); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsDataType(ImGuiPayloadPtr self, ref byte type) - { - fixed (byte* ptype = &type) - { - byte ret = IsDataTypeNative(self, (byte*)ptype); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsDataType(ImGuiPayloadPtr self, ReadOnlySpan type) - { - fixed (byte* ptype = type) - { - byte ret = IsDataTypeNative(self, (byte*)ptype); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsDataType(ImGuiPayloadPtr self, string type) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = IsDataTypeNative(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsDataType(ref ImGuiPayload self, ref byte type) - { - fixed (ImGuiPayload* pself = &self) - { - fixed (byte* ptype = &type) - { - byte ret = IsDataTypeNative((ImGuiPayload*)pself, (byte*)ptype); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsDataType(ref ImGuiPayload self, ReadOnlySpan type) - { - fixed (ImGuiPayload* pself = &self) - { - fixed (byte* ptype = type) - { - byte ret = IsDataTypeNative((ImGuiPayload*)pself, (byte*)ptype); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsDataType(ref ImGuiPayload self, string type) - { - fixed (ImGuiPayload* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = IsDataTypeNative((ImGuiPayload*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPreviewNative(ImGuiPayload* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[451])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[451])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPreview(ImGuiPayloadPtr self) - { - byte ret = IsPreviewNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsPreview(ref ImGuiPayload self) - { - fixed (ImGuiPayload* pself = &self) - { - byte ret = IsPreviewNative((ImGuiPayload*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsDeliveryNative(ImGuiPayload* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[452])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[452])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsDelivery(ImGuiPayloadPtr self) - { - byte ret = IsDeliveryNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsDelivery(ref ImGuiPayload self) - { - fixed (ImGuiPayload* pself = &self) - { - byte ret = IsDeliveryNative((ImGuiPayload*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiOnceUponAFrame* ImGuiOnceUponAFrameNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[453])(); - #else - return (ImGuiOnceUponAFrame*)((delegate* unmanaged[Cdecl])funcTable[453])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiOnceUponAFramePtr ImGuiOnceUponAFrame() - { - ImGuiOnceUponAFramePtr ret = ImGuiOnceUponAFrameNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiOnceUponAFrame* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[454])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[454])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiOnceUponAFramePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiOnceUponAFrame self) - { - fixed (ImGuiOnceUponAFrame* pself = &self) - { - DestroyNative((ImGuiOnceUponAFrame*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTextFilter* ImGuiTextFilterNative(byte* defaultFilter) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[455])(defaultFilter); - #else - return (ImGuiTextFilter*)((delegate* unmanaged[Cdecl])funcTable[455])((nint)defaultFilter); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTextFilterPtr ImGuiTextFilter(byte* defaultFilter) - { - ImGuiTextFilterPtr ret = ImGuiTextFilterNative(defaultFilter); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTextFilterPtr ImGuiTextFilter() - { - ImGuiTextFilterPtr ret = ImGuiTextFilter((string)""); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTextFilterPtr ImGuiTextFilter(ref byte defaultFilter) - { - fixed (byte* pdefaultFilter = &defaultFilter) - { - ImGuiTextFilterPtr ret = ImGuiTextFilterNative((byte*)pdefaultFilter); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextFilterPtr ImGuiTextFilter(ReadOnlySpan defaultFilter) - { - fixed (byte* pdefaultFilter = defaultFilter) - { - ImGuiTextFilterPtr ret = ImGuiTextFilterNative((byte*)pdefaultFilter); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextFilterPtr ImGuiTextFilter(string defaultFilter) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (defaultFilter != null) - { - pStrSize0 = Utils.GetByteCountUTF8(defaultFilter); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(defaultFilter, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiTextFilterPtr ret = ImGuiTextFilterNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTextFilter* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[456])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[456])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTextFilterPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTextFilter self) - { - fixed (ImGuiTextFilter* pself = &self) - { - DestroyNative((ImGuiTextFilter*)pself); - } - } - - /// - /// Helper calling InputText+Build
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DrawNative(ImGuiTextFilter* self, byte* label, float width) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[457])(self, label, width); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[457])((nint)self, (nint)label, width); - #endif - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, byte* label, float width) - { - byte ret = DrawNative(self, label, width); - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, byte* label) - { - byte ret = DrawNative(self, label, (float)(0.0f)); - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self) - { - bool ret = Draw(self, (string)"Filter(inc,-exc)", (float)(0.0f)); - return ret; - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, float width) - { - bool ret = Draw(self, (string)"Filter(inc,-exc)", width); - return ret; - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, byte* label, float width) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte ret = DrawNative((ImGuiTextFilter*)pself, label, width); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, byte* label) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte ret = DrawNative((ImGuiTextFilter*)pself, label, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self) - { - fixed (ImGuiTextFilter* pself = &self) - { - bool ret = Draw((ImGuiTextFilter*)pself, (string)"Filter(inc,-exc)", (float)(0.0f)); - return ret; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, float width) - { - fixed (ImGuiTextFilter* pself = &self) - { - bool ret = Draw((ImGuiTextFilter*)pself, (string)"Filter(inc,-exc)", width); - return ret; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, ref byte label, float width) - { - fixed (byte* plabel = &label) - { - byte ret = DrawNative(self, (byte*)plabel, width); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = DrawNative(self, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, ReadOnlySpan label, float width) - { - fixed (byte* plabel = label) - { - byte ret = DrawNative(self, (byte*)plabel, width); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = DrawNative(self, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, string label, float width) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DrawNative(self, pStr0, width); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ImGuiTextFilterPtr self, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DrawNative(self, pStr0, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, ref byte label, float width) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* plabel = &label) - { - byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, width); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, ref byte label) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* plabel = &label) - { - byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, ReadOnlySpan label, float width) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* plabel = label) - { - byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, width); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, ReadOnlySpan label) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* plabel = label) - { - byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.089.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.089.cs deleted file mode 100644 index 0a0b12e48..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.089.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, string label, float width) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DrawNative((ImGuiTextFilter*)pself, pStr0, width); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public static bool Draw(ref ImGuiTextFilter self, string label) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DrawNative((ImGuiTextFilter*)pself, pStr0, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte PassFilterNative(ImGuiTextFilter* self, byte* text, byte* textEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[458])(self, text, textEnd); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[458])((nint)self, (nint)text, (nint)textEnd); - #endif - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, byte* textEnd) - { - byte ret = PassFilterNative(self, text, textEnd); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, byte* text) - { - byte ret = PassFilterNative(self, text, (byte*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, byte* text, byte* textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, textEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, byte* text) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - byte ret = PassFilterNative(self, (byte*)ptext, textEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text) - { - fixed (byte* ptext = &text) - { - byte ret = PassFilterNative(self, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - byte ret = PassFilterNative(self, (byte*)ptext, textEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - byte ret = PassFilterNative(self, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative(self, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative(self, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, byte* textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = &text) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, textEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ref byte text) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = &text) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, byte* textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = text) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, textEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = text) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, string text, byte* textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, string text) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative(self, text, (byte*)ptextEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative(self, text, (byte*)ptextEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative(self, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, byte* text, ref byte textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, byte* text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, byte* text, string textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = PassFilterNative(self, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative(self, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative(self, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative(self, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ImGuiTextFilterPtr self, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative(self, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, ref byte textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, string text, string textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, string textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, ref byte textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, string textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, string text, ref byte textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool PassFilter(ref ImGuiTextFilter self, string text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BuildNative(ImGuiTextFilter* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[459])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[459])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Build(ImGuiTextFilterPtr self) - { - BuildNative(self); - } - - /// - /// To be documented. - /// - public static void Build(ref ImGuiTextFilter self) - { - fixed (ImGuiTextFilter* pself = &self) - { - BuildNative((ImGuiTextFilter*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiTextFilter* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[460])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[460])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImGuiTextFilterPtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImGuiTextFilter self) - { - fixed (ImGuiTextFilter* pself = &self) - { - ClearNative((ImGuiTextFilter*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsActiveNative(ImGuiTextFilter* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[461])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[461])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsActive(ImGuiTextFilterPtr self) - { - byte ret = IsActiveNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsActive(ref ImGuiTextFilter self) - { - fixed (ImGuiTextFilter* pself = &self) - { - byte ret = IsActiveNative((ImGuiTextFilter*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTextRange* ImGuiTextRangeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[462])(); - #else - return (ImGuiTextRange*)((delegate* unmanaged[Cdecl])funcTable[462])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange() - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTextRange* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[463])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[463])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTextRangePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTextRange self) - { - fixed (ImGuiTextRange* pself = &self) - { - DestroyNative((ImGuiTextRange*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTextRange* ImGuiTextRangeNative(byte* b, byte* e) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[464])(b, e); - #else - return (ImGuiTextRange*)((delegate* unmanaged[Cdecl])funcTable[464])((nint)b, (nint)e); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(byte* b, byte* e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, e); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, byte* e) - { - fixed (byte* pb = &b) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, e); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, byte* e) - { - fixed (byte* pb = b) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, e); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(string b, byte* e) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (b != null) - { - pStrSize0 = Utils.GetByteCountUTF8(b); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, e); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(byte* b, ref byte e) - { - fixed (byte* pe = &e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, (byte*)pe); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(byte* b, ReadOnlySpan e) - { - fixed (byte* pe = e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, (byte*)pe); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(byte* b, string e) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (e != null) - { - pStrSize0 = Utils.GetByteCountUTF8(e); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiTextRangePtr ret = ImGuiTextRangeNative(b, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, ref byte e) - { - fixed (byte* pb = &b) - { - fixed (byte* pe = &e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, ReadOnlySpan e) - { - fixed (byte* pb = b) - { - fixed (byte* pe = e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(string b, string e) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (b != null) - { - pStrSize0 = Utils.GetByteCountUTF8(b); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (e != null) - { - pStrSize1 = Utils.GetByteCountUTF8(e); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(e, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, ReadOnlySpan e) - { - fixed (byte* pb = &b) - { - fixed (byte* pe = e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ref byte b, string e) - { - fixed (byte* pb = &b) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (e != null) - { - pStrSize0 = Utils.GetByteCountUTF8(e); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, ref byte e) - { - fixed (byte* pb = b) - { - fixed (byte* pe = &e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, (byte*)pe); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan b, string e) - { - fixed (byte* pb = b) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (e != null) - { - pStrSize0 = Utils.GetByteCountUTF8(e); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(e, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiTextRangePtr ret = ImGuiTextRangeNative((byte*)pb, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(string b, ref byte e) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (b != null) - { - pStrSize0 = Utils.GetByteCountUTF8(b); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pe = &e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, (byte*)pe); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiTextRangePtr ImGuiTextRange(string b, ReadOnlySpan e) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (b != null) - { - pStrSize0 = Utils.GetByteCountUTF8(b); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(b, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pe = e) - { - ImGuiTextRangePtr ret = ImGuiTextRangeNative(pStr0, (byte*)pe); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte emptyNative(ImGuiTextRange* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[465])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[465])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool empty(ImGuiTextRangePtr self) - { - byte ret = emptyNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool empty(ref ImGuiTextRange self) - { - fixed (ImGuiTextRange* pself = &self) - { - byte ret = emptyNative((ImGuiTextRange*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void splitNative(ImGuiTextRange* self, byte separator, ImVector* output) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, void>)funcTable[466])(self, separator, output); - #else - ((delegate* unmanaged[Cdecl])funcTable[466])((nint)self, separator, (nint)output); - #endif - } - - /// - /// To be documented. - /// - public static void split(ImGuiTextRangePtr self, byte separator, ImVector* output) - { - splitNative(self, separator, output); - } - - /// - /// To be documented. - /// - public static void split(ref ImGuiTextRange self, byte separator, ImVector* output) - { - fixed (ImGuiTextRange* pself = &self) - { - splitNative((ImGuiTextRange*)pself, separator, output); - } - } - - /// - /// To be documented. - /// - public static void split(ImGuiTextRangePtr self, byte separator, ref ImVector output) - { - fixed (ImVector* poutput = &output) - { - splitNative(self, separator, (ImVector*)poutput); - } - } - - /// - /// To be documented. - /// - public static void split(ref ImGuiTextRange self, byte separator, ref ImVector output) - { - fixed (ImGuiTextRange* pself = &self) - { - fixed (ImVector* poutput = &output) - { - splitNative((ImGuiTextRange*)pself, separator, (ImVector*)poutput); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTextBuffer* ImGuiTextBufferNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[467])(); - #else - return (ImGuiTextBuffer*)((delegate* unmanaged[Cdecl])funcTable[467])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTextBufferPtr ImGuiTextBuffer() - { - ImGuiTextBufferPtr ret = ImGuiTextBufferNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[468])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[468])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTextBufferPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - DestroyNative((ImGuiTextBuffer*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* beginNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[469])(self); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[469])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static byte* begin(ImGuiTextBufferPtr self) - { - byte* ret = beginNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static string beginS(ImGuiTextBufferPtr self) - { - string ret = Utils.DecodeStringUTF8(beginNative(self)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* begin(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* ret = beginNative((ImGuiTextBuffer*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static string beginS(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - string ret = Utils.DecodeStringUTF8(beginNative((ImGuiTextBuffer*)pself)); - return ret; - } - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* endNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[470])(self); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[470])((nint)self); - #endif - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public static byte* end(ImGuiTextBufferPtr self) - { - byte* ret = endNative(self); - return ret; - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public static string endS(ImGuiTextBufferPtr self) - { - string ret = Utils.DecodeStringUTF8(endNative(self)); - return ret; - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public static byte* end(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* ret = endNative((ImGuiTextBuffer*)pself); - return ret; - } - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public static string endS(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - string ret = Utils.DecodeStringUTF8(endNative((ImGuiTextBuffer*)pself)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int sizeNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[471])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[471])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int size(ImGuiTextBufferPtr self) - { - int ret = sizeNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int size(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - int ret = sizeNative((ImGuiTextBuffer*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte emptyNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[472])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[472])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool empty(ImGuiTextBufferPtr self) - { - byte ret = emptyNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool empty(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte ret = emptyNative((ImGuiTextBuffer*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void clearNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[473])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[473])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void clear(ImGuiTextBufferPtr self) - { - clearNative(self); - } - - /// - /// To be documented. - /// - public static void clear(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - clearNative((ImGuiTextBuffer*)pself); - } - } - - /// - /// Similar to resize(0) on ImVector: empty string but don't free buffer.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void resizeNative(ImGuiTextBuffer* self, int size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[474])(self, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[474])((nint)self, size); - #endif - } - - /// - /// Similar to resize(0) on ImVector: empty string but don't free buffer.
- ///
- public static void resize(ImGuiTextBufferPtr self, int size) - { - resizeNative(self, size); - } - - /// - /// Similar to resize(0) on ImVector: empty string but don't free buffer.
- ///
- public static void resize(ref ImGuiTextBuffer self, int size) - { - fixed (ImGuiTextBuffer* pself = &self) - { - resizeNative((ImGuiTextBuffer*)pself, size); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void reserveNative(ImGuiTextBuffer* self, int capacity) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[475])(self, capacity); - #else - ((delegate* unmanaged[Cdecl])funcTable[475])((nint)self, capacity); - #endif - } - - /// - /// To be documented. - /// - public static void reserve(ImGuiTextBufferPtr self, int capacity) - { - reserveNative(self, capacity); - } - - /// - /// To be documented. - /// - public static void reserve(ref ImGuiTextBuffer self, int capacity) - { - fixed (ImGuiTextBuffer* pself = &self) - { - reserveNative((ImGuiTextBuffer*)pself, capacity); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* c_strNative(ImGuiTextBuffer* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[476])(self); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[476])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static byte* c_str(ImGuiTextBufferPtr self) - { - byte* ret = c_strNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static string c_strS(ImGuiTextBufferPtr self) - { - string ret = Utils.DecodeStringUTF8(c_strNative(self)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* c_str(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* ret = c_strNative((ImGuiTextBuffer*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static string c_strS(ref ImGuiTextBuffer self) - { - fixed (ImGuiTextBuffer* pself = &self) - { - string ret = Utils.DecodeStringUTF8(c_strNative((ImGuiTextBuffer*)pself)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void appendNative(ImGuiTextBuffer* self, byte* str, byte* strEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[477])(self, str, strEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[477])((nint)self, (nint)str, (nint)strEnd); - #endif - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, byte* str, byte* strEnd) - { - appendNative(self, str, strEnd); - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, byte* str) - { - appendNative(self, str, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, byte* str, byte* strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - appendNative((ImGuiTextBuffer*)pself, str, strEnd); - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, byte* str) - { - fixed (ImGuiTextBuffer* pself = &self) - { - appendNative((ImGuiTextBuffer*)pself, str, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ref byte str, byte* strEnd) - { - fixed (byte* pstr = &str) - { - appendNative(self, (byte*)pstr, strEnd); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ref byte str) - { - fixed (byte* pstr = &str) - { - appendNative(self, (byte*)pstr, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, byte* strEnd) - { - fixed (byte* pstr = str) - { - appendNative(self, (byte*)pstr, strEnd); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - appendNative(self, (byte*)pstr, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, string str, byte* strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative(self, pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative(self, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ref byte str, byte* strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = &str) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, strEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ref byte str) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = &str) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, byte* strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = str) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, strEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = str) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, string str, byte* strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative((ImGuiTextBuffer*)pself, pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, string str) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, byte* str, ref byte strEnd) - { - fixed (byte* pstrEnd = &strEnd) - { - appendNative(self, str, (byte*)pstrEnd); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, byte* str, ReadOnlySpan strEnd) - { - fixed (byte* pstrEnd = strEnd) - { - appendNative(self, str, (byte*)pstrEnd); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, byte* str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative(self, str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, byte* str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstrEnd = &strEnd) - { - appendNative((ImGuiTextBuffer*)pself, str, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, byte* str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstrEnd = strEnd) - { - appendNative((ImGuiTextBuffer*)pself, str, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, byte* str, string strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative((ImGuiTextBuffer*)pself, str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ref byte str, ref byte strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - appendNative(self, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - appendNative(self, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, string str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - appendNative(self, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ref byte str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - appendNative(self, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ref byte str, string strEnd) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative(self, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, ref byte strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - appendNative(self, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, ReadOnlySpan str, string strEnd) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative(self, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, string str, ref byte strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - appendNative(self, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextBufferPtr self, string str, ReadOnlySpan strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - appendNative(self, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ref byte str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, string str, string strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - appendNative((ImGuiTextBuffer*)pself, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ref byte str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ref byte str, string strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, ReadOnlySpan str, string strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative((ImGuiTextBuffer*)pself, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, string str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextBuffer self, string str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - appendNative((ImGuiTextBuffer*)pself, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void appendfvNative(ImGuiTextBuffer* self, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[478])(self, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[478])((nint)self, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void appendfv(ImGuiTextBufferPtr self, byte* fmt, nuint args) - { - appendfvNative(self, fmt, args); - } - - /// - /// To be documented. - /// - public static void appendfv(ref ImGuiTextBuffer self, byte* fmt, nuint args) - { - fixed (ImGuiTextBuffer* pself = &self) - { - appendfvNative((ImGuiTextBuffer*)pself, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void appendfv(ImGuiTextBufferPtr self, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - appendfvNative(self, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void appendfv(ImGuiTextBufferPtr self, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - appendfvNative(self, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void appendfv(ImGuiTextBufferPtr self, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendfvNative(self, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void appendfv(ref ImGuiTextBuffer self, ref byte fmt, nuint args) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pfmt = &fmt) - { - appendfvNative((ImGuiTextBuffer*)pself, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void appendfv(ref ImGuiTextBuffer self, ReadOnlySpan fmt, nuint args) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pfmt = fmt) - { - appendfvNative((ImGuiTextBuffer*)pself, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void appendfv(ref ImGuiTextBuffer self, string fmt, nuint args) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendfvNative((ImGuiTextBuffer*)pself, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, int val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[479])(key, val); - #else - return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[479])(key, val); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, int val) - { - ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiStoragePair* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[480])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[480])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiStoragePairPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiStoragePair self) - { - fixed (ImGuiStoragePair* pself = &self) - { - DestroyNative((ImGuiStoragePair*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, float val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[481])(key, val); - #else - return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[481])(key, val); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, float val) - { - ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStoragePair* ImGuiStoragePairNative(uint key, void* val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[482])(key, val); - #else - return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[482])(key, (nint)val); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, void* val) - { - ImGuiStoragePairPtr ret = ImGuiStoragePairNative(key, val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiStorage* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[483])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[483])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImGuiStoragePtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImGuiStorage self) - { - fixed (ImGuiStorage* pself = &self) - { - ClearNative((ImGuiStorage*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetIntNative(ImGuiStorage* self, uint key, int defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[484])(self, key, defaultVal); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[484])((nint)self, key, defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static int GetInt(ImGuiStoragePtr self, uint key, int defaultVal) - { - int ret = GetIntNative(self, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public static int GetInt(ImGuiStoragePtr self, uint key) - { - int ret = GetIntNative(self, key, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static int GetInt(ref ImGuiStorage self, uint key, int defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - int ret = GetIntNative((ImGuiStorage*)pself, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public static int GetInt(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - int ret = GetIntNative((ImGuiStorage*)pself, key, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetIntNative(ImGuiStorage* self, uint key, int val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[485])(self, key, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[485])((nint)self, key, val); - #endif - } - - /// - /// To be documented. - /// - public static void SetInt(ImGuiStoragePtr self, uint key, int val) - { - SetIntNative(self, key, val); - } - - /// - /// To be documented. - /// - public static void SetInt(ref ImGuiStorage self, uint key, int val) - { - fixed (ImGuiStorage* pself = &self) - { - SetIntNative((ImGuiStorage*)pself, key, val); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte GetBoolNative(ImGuiStorage* self, uint key, byte defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[486])(self, key, defaultVal); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[486])((nint)self, key, defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static bool GetBool(ImGuiStoragePtr self, uint key, bool defaultVal) - { - byte ret = GetBoolNative(self, key, defaultVal ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool GetBool(ImGuiStoragePtr self, uint key) - { - byte ret = GetBoolNative(self, key, (byte)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool GetBool(ref ImGuiStorage self, uint key, bool defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - byte ret = GetBoolNative((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool GetBool(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - byte ret = GetBoolNative((ImGuiStorage*)pself, key, (byte)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetBoolNative(ImGuiStorage* self, uint key, byte val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[487])(self, key, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[487])((nint)self, key, val); - #endif - } - - /// - /// To be documented. - /// - public static void SetBool(ImGuiStoragePtr self, uint key, bool val) - { - SetBoolNative(self, key, val ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void SetBool(ref ImGuiStorage self, uint key, bool val) - { - fixed (ImGuiStorage* pself = &self) - { - SetBoolNative((ImGuiStorage*)pself, key, val ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetFloatNative(ImGuiStorage* self, uint key, float defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[488])(self, key, defaultVal); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[488])((nint)self, key, defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static float GetFloat(ImGuiStoragePtr self, uint key, float defaultVal) - { - float ret = GetFloatNative(self, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public static float GetFloat(ImGuiStoragePtr self, uint key) - { - float ret = GetFloatNative(self, key, (float)(0.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static float GetFloat(ref ImGuiStorage self, uint key, float defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - float ret = GetFloatNative((ImGuiStorage*)pself, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public static float GetFloat(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - float ret = GetFloatNative((ImGuiStorage*)pself, key, (float)(0.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetFloatNative(ImGuiStorage* self, uint key, float val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[489])(self, key, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[489])((nint)self, key, val); - #endif - } - - /// - /// To be documented. - /// - public static void SetFloat(ImGuiStoragePtr self, uint key, float val) - { - SetFloatNative(self, key, val); - } - - /// - /// To be documented. - /// - public static void SetFloat(ref ImGuiStorage self, uint key, float val) - { - fixed (ImGuiStorage* pself = &self) - { - SetFloatNative((ImGuiStorage*)pself, key, val); - } - } - - /// - /// default_val is NULL
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void* GetVoidPtrNative(ImGuiStorage* self, uint key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[490])(self, key); - #else - return (void*)((delegate* unmanaged[Cdecl])funcTable[490])((nint)self, key); - #endif - } - - /// - /// default_val is NULL
- ///
- public static void* GetVoidPtr(ImGuiStoragePtr self, uint key) - { - void* ret = GetVoidPtrNative(self, key); - return ret; - } - - /// - /// default_val is NULL
- ///
- public static void* GetVoidPtr(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - void* ret = GetVoidPtrNative((ImGuiStorage*)pself, key); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetVoidPtrNative(ImGuiStorage* self, uint key, void* val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[491])(self, key, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[491])((nint)self, key, (nint)val); - #endif - } - - /// - /// To be documented. - /// - public static void SetVoidPtr(ImGuiStoragePtr self, uint key, void* val) - { - SetVoidPtrNative(self, key, val); - } - - /// - /// To be documented. - /// - public static void SetVoidPtr(ref ImGuiStorage self, uint key, void* val) - { - fixed (ImGuiStorage* pself = &self) - { - SetVoidPtrNative((ImGuiStorage*)pself, key, val); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int* GetIntRefNative(ImGuiStorage* self, uint key, int defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[492])(self, key, defaultVal); - #else - return (int*)((delegate* unmanaged[Cdecl])funcTable[492])((nint)self, key, defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static int* GetIntRef(ImGuiStoragePtr self, uint key, int defaultVal) - { - int* ret = GetIntRefNative(self, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public static int* GetIntRef(ImGuiStoragePtr self, uint key) - { - int* ret = GetIntRefNative(self, key, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static int* GetIntRef(ref ImGuiStorage self, uint key, int defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - int* ret = GetIntRefNative((ImGuiStorage*)pself, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public static int* GetIntRef(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - int* ret = GetIntRefNative((ImGuiStorage*)pself, key, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static bool* GetBoolRefNative(ImGuiStorage* self, uint key, byte defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[493])(self, key, defaultVal); - #else - return (bool*)((delegate* unmanaged[Cdecl])funcTable[493])((nint)self, key, defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static bool* GetBoolRef(ImGuiStoragePtr self, uint key, bool defaultVal) - { - bool* ret = GetBoolRefNative(self, key, defaultVal ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static bool* GetBoolRef(ImGuiStoragePtr self, uint key) - { - bool* ret = GetBoolRefNative(self, key, (byte)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static bool* GetBoolRef(ref ImGuiStorage self, uint key, bool defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - bool* ret = GetBoolRefNative((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool* GetBoolRef(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - bool* ret = GetBoolRefNative((ImGuiStorage*)pself, key, (byte)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float* GetFloatRefNative(ImGuiStorage* self, uint key, float defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[494])(self, key, defaultVal); - #else - return (float*)((delegate* unmanaged[Cdecl])funcTable[494])((nint)self, key, defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static float* GetFloatRef(ImGuiStoragePtr self, uint key, float defaultVal) - { - float* ret = GetFloatRefNative(self, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public static float* GetFloatRef(ImGuiStoragePtr self, uint key) - { - float* ret = GetFloatRefNative(self, key, (float)(0.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static float* GetFloatRef(ref ImGuiStorage self, uint key, float defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - float* ret = GetFloatRefNative((ImGuiStorage*)pself, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public static float* GetFloatRef(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - float* ret = GetFloatRefNative((ImGuiStorage*)pself, key, (float)(0.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void** GetVoidPtrRefNative(ImGuiStorage* self, uint key, void* defaultVal) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[495])(self, key, defaultVal); - #else - return (void**)((delegate* unmanaged[Cdecl])funcTable[495])((nint)self, key, (nint)defaultVal); - #endif - } - - /// - /// To be documented. - /// - public static void** GetVoidPtrRef(ImGuiStoragePtr self, uint key, void* defaultVal) - { - void** ret = GetVoidPtrRefNative(self, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public static void** GetVoidPtrRef(ImGuiStoragePtr self, uint key) - { - void** ret = GetVoidPtrRefNative(self, key, (void*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static void** GetVoidPtrRef(ref ImGuiStorage self, uint key, void* defaultVal) - { - fixed (ImGuiStorage* pself = &self) - { - void** ret = GetVoidPtrRefNative((ImGuiStorage*)pself, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public static void** GetVoidPtrRef(ref ImGuiStorage self, uint key) - { - fixed (ImGuiStorage* pself = &self) - { - void** ret = GetVoidPtrRefNative((ImGuiStorage*)pself, key, (void*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BuildSortByKeyNative(ImGuiStorage* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[496])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[496])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void BuildSortByKey(ImGuiStoragePtr self) - { - BuildSortByKeyNative(self); - } - - /// - /// To be documented. - /// - public static void BuildSortByKey(ref ImGuiStorage self) - { - fixed (ImGuiStorage* pself = &self) - { - BuildSortByKeyNative((ImGuiStorage*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAllIntNative(ImGuiStorage* self, int val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[497])(self, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[497])((nint)self, val); - #endif - } - - /// - /// To be documented. - /// - public static void SetAllInt(ImGuiStoragePtr self, int val) - { - SetAllIntNative(self, val); - } - - /// - /// To be documented. - /// - public static void SetAllInt(ref ImGuiStorage self, int val) - { - fixed (ImGuiStorage* pself = &self) - { - SetAllIntNative((ImGuiStorage*)pself, val); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiListClipper* ImGuiListClipperNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[498])(); - #else - return (ImGuiListClipper*)((delegate* unmanaged[Cdecl])funcTable[498])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiListClipperPtr ImGuiListClipper() - { - ImGuiListClipperPtr ret = ImGuiListClipperNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiListClipper* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[499])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[499])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiListClipperPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiListClipper self) - { - fixed (ImGuiListClipper* pself = &self) - { - DestroyNative((ImGuiListClipper*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNative(ImGuiListClipper* self, int itemsCount, float itemsHeight) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[500])(self, itemsCount, itemsHeight); - #else - ((delegate* unmanaged[Cdecl])funcTable[500])((nint)self, itemsCount, itemsHeight); - #endif - } - - /// - /// To be documented. - /// - public static void Begin(ImGuiListClipperPtr self, int itemsCount, float itemsHeight) - { - BeginNative(self, itemsCount, itemsHeight); - } - - /// - /// To be documented. - /// - public static void Begin(ImGuiListClipperPtr self, int itemsCount) - { - BeginNative(self, itemsCount, (float)(-1.0f)); - } - - /// - /// To be documented. - /// - public static void Begin(ref ImGuiListClipper self, int itemsCount, float itemsHeight) - { - fixed (ImGuiListClipper* pself = &self) - { - BeginNative((ImGuiListClipper*)pself, itemsCount, itemsHeight); - } - } - - /// - /// To be documented. - /// - public static void Begin(ref ImGuiListClipper self, int itemsCount) - { - fixed (ImGuiListClipper* pself = &self) - { - BeginNative((ImGuiListClipper*)pself, itemsCount, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNative(ImGuiListClipper* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[501])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[501])((nint)self); - #endif - } - - /// - /// Automatically called on the last call of Step() that returns false.
- ///
- public static void End(ImGuiListClipperPtr self) - { - EndNative(self); - } - - /// - /// Automatically called on the last call of Step() that returns false.
- ///
- public static void End(ref ImGuiListClipper self) - { - fixed (ImGuiListClipper* pself = &self) - { - EndNative((ImGuiListClipper*)pself); - } - } - - /// - /// Call until it returns false. The DisplayStartDisplayEnd fields will be set and you can processdraw those items.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte StepNative(ImGuiListClipper* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[502])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[502])((nint)self); - #endif - } - - /// - /// Call until it returns false. The DisplayStartDisplayEnd fields will be set and you can processdraw those items.
- ///
- public static bool Step(ImGuiListClipperPtr self) - { - byte ret = StepNative(self); - return ret != 0; - } - - /// - /// Call until it returns false. The DisplayStartDisplayEnd fields will be set and you can processdraw those items.
- ///
- public static bool Step(ref ImGuiListClipper self) - { - fixed (ImGuiListClipper* pself = &self) - { - byte ret = StepNative((ImGuiListClipper*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void IncludeItemByIndexNative(ImGuiListClipper* self, int itemIndex) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[503])(self, itemIndex); - #else - ((delegate* unmanaged[Cdecl])funcTable[503])((nint)self, itemIndex); - #endif - } - - /// - /// To be documented. - /// - public static void IncludeItemByIndex(ImGuiListClipperPtr self, int itemIndex) - { - IncludeItemByIndexNative(self, itemIndex); - } - - /// - /// To be documented. - /// - public static void IncludeItemByIndex(ref ImGuiListClipper self, int itemIndex) - { - fixed (ImGuiListClipper* pself = &self) - { - IncludeItemByIndexNative((ImGuiListClipper*)pself, itemIndex); - } - } - - /// - /// item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void IncludeItemsByIndexNative(ImGuiListClipper* self, int itemBegin, int itemEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[504])(self, itemBegin, itemEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[504])((nint)self, itemBegin, itemEnd); - #endif - } - - /// - /// item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped.
- ///
- public static void IncludeItemsByIndex(ImGuiListClipperPtr self, int itemBegin, int itemEnd) - { - IncludeItemsByIndexNative(self, itemBegin, itemEnd); - } - - /// - /// item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped.
- ///
- public static void IncludeItemsByIndex(ref ImGuiListClipper self, int itemBegin, int itemEnd) - { - fixed (ImGuiListClipper* pself = &self) - { - IncludeItemsByIndexNative((ImGuiListClipper*)pself, itemBegin, itemEnd); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SeekCursorForItemNative(ImGuiListClipper* self, int itemIndex) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[505])(self, itemIndex); - #else - ((delegate* unmanaged[Cdecl])funcTable[505])((nint)self, itemIndex); - #endif - } - - /// - /// To be documented. - /// - public static void SeekCursorForItem(ImGuiListClipperPtr self, int itemIndex) - { - SeekCursorForItemNative(self, itemIndex); - } - - /// - /// To be documented. - /// - public static void SeekCursorForItem(ref ImGuiListClipper self, int itemIndex) - { - fixed (ImGuiListClipper* pself = &self) - { - SeekCursorForItemNative((ImGuiListClipper*)pself, itemIndex); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImColor* ImColorNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[506])(); - #else - return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[506])(); - #endif - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor() - { - ImColorPtr ret = ImColorNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImColor* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[507])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[507])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImColorPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImColor self) - { - fixed (ImColor* pself = &self) - { - DestroyNative((ImColor*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImColor* ImColorNative(float r, float g, float b, float a) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[508])(r, g, b, a); - #else - return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[508])(r, g, b, a); - #endif - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor(float r, float g, float b, float a) - { - ImColorPtr ret = ImColorNative(r, g, b, a); - return ret; - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor(float r, float g, float b) - { - ImColorPtr ret = ImColorNative(r, g, b, (float)(1.0f)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImColor* ImColorNative(Vector4 col) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[509])(col); - #else - return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[509])(col); - #endif - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor(Vector4 col) - { - ImColorPtr ret = ImColorNative(col); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImColor* ImColorNative(int r, int g, int b, int a) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[510])(r, g, b, a); - #else - return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[510])(r, g, b, a); - #endif - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor(int r, int g, int b, int a) - { - ImColorPtr ret = ImColorNative(r, g, b, a); - return ret; - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor(int r, int g, int b) - { - ImColorPtr ret = ImColorNative(r, g, b, (int)(255)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImColor* ImColorNative(uint rgba) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[511])(rgba); - #else - return (ImColor*)((delegate* unmanaged[Cdecl])funcTable[511])(rgba); - #endif - } - - /// - /// To be documented. - /// - public static ImColorPtr ImColor(uint rgba) - { - ImColorPtr ret = ImColorNative(rgba); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetHSVNative(ImColor* self, float h, float s, float v, float a) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[512])(self, h, s, v, a); - #else - ((delegate* unmanaged[Cdecl])funcTable[512])((nint)self, h, s, v, a); - #endif - } - - /// - /// To be documented. - /// - public static void SetHSV(ImColorPtr self, float h, float s, float v, float a) - { - SetHSVNative(self, h, s, v, a); - } - - /// - /// To be documented. - /// - public static void SetHSV(ImColorPtr self, float h, float s, float v) - { - SetHSVNative(self, h, s, v, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void SetHSV(ref ImColor self, float h, float s, float v, float a) - { - fixed (ImColor* pself = &self) - { - SetHSVNative((ImColor*)pself, h, s, v, a); - } - } - - /// - /// To be documented. - /// - public static void SetHSV(ref ImColor self, float h, float s, float v) - { - fixed (ImColor* pself = &self) - { - SetHSVNative((ImColor*)pself, h, s, v, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void HSVNative(ImColor* pOut, float h, float s, float v, float a) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[513])(pOut, h, s, v, a); - #else - ((delegate* unmanaged[Cdecl])funcTable[513])((nint)pOut, h, s, v, a); - #endif - } - - /// - /// To be documented. - /// - public static ImColor HSV(float h, float s, float v) - { - ImColor ret; - HSVNative(&ret, h, s, v, (float)(1.0f)); - return ret; - } - - /// - /// To be documented. - /// - public static ImColor HSV(float h, float s, float v, float a) - { - ImColor ret; - HSVNative(&ret, h, s, v, a); - return ret; - } - - /// - /// To be documented. - /// - public static void HSV(ImColorPtr pOut, float h, float s, float v, float a) - { - HSVNative(pOut, h, s, v, a); - } - - /// - /// To be documented. - /// - public static void HSV(ImColorPtr pOut, float h, float s, float v) - { - HSVNative(pOut, h, s, v, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void HSV(ref ImColor pOut, float h, float s, float v, float a) - { - fixed (ImColor* ppOut = &pOut) - { - HSVNative((ImColor*)ppOut, h, s, v, a); - } - } - - /// - /// To be documented. - /// - public static void HSV(ref ImColor pOut, float h, float s, float v) - { - fixed (ImColor* ppOut = &pOut) - { - HSVNative((ImColor*)ppOut, h, s, v, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiSelectionBasicStorage* ImGuiSelectionBasicStorageNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[514])(); - #else - return (ImGuiSelectionBasicStorage*)((delegate* unmanaged[Cdecl])funcTable[514])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiSelectionBasicStoragePtr ImGuiSelectionBasicStorage() - { - ImGuiSelectionBasicStoragePtr ret = ImGuiSelectionBasicStorageNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiSelectionBasicStorage* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[515])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[515])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiSelectionBasicStoragePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiSelectionBasicStorage self) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - DestroyNative((ImGuiSelectionBasicStorage*)pself); - } - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ApplyRequestsNative(ImGuiSelectionBasicStorage* self, ImGuiMultiSelectIO* msIo) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[516])(self, msIo); - #else - ((delegate* unmanaged[Cdecl])funcTable[516])((nint)self, (nint)msIo); - #endif - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public static void ApplyRequests(ImGuiSelectionBasicStoragePtr self, ImGuiMultiSelectIOPtr msIo) - { - ApplyRequestsNative(self, msIo); - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public static void ApplyRequests(ref ImGuiSelectionBasicStorage self, ImGuiMultiSelectIOPtr msIo) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - ApplyRequestsNative((ImGuiSelectionBasicStorage*)pself, msIo); - } - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public static void ApplyRequests(ImGuiSelectionBasicStoragePtr self, ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ApplyRequestsNative(self, (ImGuiMultiSelectIO*)pmsIo); - } - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public static void ApplyRequests(ref ImGuiSelectionBasicStorage self, ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ApplyRequestsNative((ImGuiSelectionBasicStorage*)pself, (ImGuiMultiSelectIO*)pmsIo); - } - } - } - - /// - /// Query if an item id is in selection.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsNative(ImGuiSelectionBasicStorage* self, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[517])(self, id); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[517])((nint)self, id); - #endif - } - - /// - /// Query if an item id is in selection.
- ///
- public static bool Contains(ImGuiSelectionBasicStoragePtr self, uint id) - { - byte ret = ContainsNative(self, id); - return ret != 0; - } - - /// - /// Query if an item id is in selection.
- ///
- public static bool Contains(ref ImGuiSelectionBasicStorage self, uint id) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - byte ret = ContainsNative((ImGuiSelectionBasicStorage*)pself, id); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiSelectionBasicStorage* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[518])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[518])((nint)self); - #endif - } - - /// - /// Clear selection
- ///
- public static void Clear(ImGuiSelectionBasicStoragePtr self) - { - ClearNative(self); - } - - /// - /// Clear selection
- ///
- public static void Clear(ref ImGuiSelectionBasicStorage self) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - ClearNative((ImGuiSelectionBasicStorage*)pself); - } - } - - /// - /// Swap two selections
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SwapNative(ImGuiSelectionBasicStorage* self, ImGuiSelectionBasicStorage* r) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[519])(self, r); - #else - ((delegate* unmanaged[Cdecl])funcTable[519])((nint)self, (nint)r); - #endif - } - - /// - /// Swap two selections
- ///
- public static void Swap(ImGuiSelectionBasicStoragePtr self, ImGuiSelectionBasicStoragePtr r) - { - SwapNative(self, r); - } - - /// - /// Swap two selections
- ///
- public static void Swap(ref ImGuiSelectionBasicStorage self, ImGuiSelectionBasicStoragePtr r) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - SwapNative((ImGuiSelectionBasicStorage*)pself, r); - } - } - - /// - /// Swap two selections
- ///
- public static void Swap(ImGuiSelectionBasicStoragePtr self, ref ImGuiSelectionBasicStorage r) - { - fixed (ImGuiSelectionBasicStorage* pr = &r) - { - SwapNative(self, (ImGuiSelectionBasicStorage*)pr); - } - } - - /// - /// Swap two selections
- ///
- public static void Swap(ref ImGuiSelectionBasicStorage self, ref ImGuiSelectionBasicStorage r) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - fixed (ImGuiSelectionBasicStorage* pr = &r) - { - SwapNative((ImGuiSelectionBasicStorage*)pself, (ImGuiSelectionBasicStorage*)pr); - } - } - } - - /// - /// Addremove an item from selection (generally done by ApplyRequests() function)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetItemSelectedNative(ImGuiSelectionBasicStorage* self, uint id, byte selected) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[520])(self, id, selected); - #else - ((delegate* unmanaged[Cdecl])funcTable[520])((nint)self, id, selected); - #endif - } - - /// - /// Addremove an item from selection (generally done by ApplyRequests() function)
- ///
- public static void SetItemSelected(ImGuiSelectionBasicStoragePtr self, uint id, bool selected) - { - SetItemSelectedNative(self, id, selected ? (byte)1 : (byte)0); - } - - /// - /// Addremove an item from selection (generally done by ApplyRequests() function)
- ///
- public static void SetItemSelected(ref ImGuiSelectionBasicStorage self, uint id, bool selected) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - SetItemSelectedNative((ImGuiSelectionBasicStorage*)pself, id, selected ? (byte)1 : (byte)0); - } - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte GetNextSelectedItemNative(ImGuiSelectionBasicStorage* self, void** opaqueIt, uint* outId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[521])(self, opaqueIt, outId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[521])((nint)self, (nint)opaqueIt, (nint)outId); - #endif - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public static bool GetNextSelectedItem(ImGuiSelectionBasicStoragePtr self, void** opaqueIt, uint* outId) - { - byte ret = GetNextSelectedItemNative(self, opaqueIt, outId); - return ret != 0; - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public static bool GetNextSelectedItem(ref ImGuiSelectionBasicStorage self, void** opaqueIt, uint* outId) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - byte ret = GetNextSelectedItemNative((ImGuiSelectionBasicStorage*)pself, opaqueIt, outId); - return ret != 0; - } - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public static bool GetNextSelectedItem(ImGuiSelectionBasicStoragePtr self, void** opaqueIt, ref uint outId) - { - fixed (uint* poutId = &outId) - { - byte ret = GetNextSelectedItemNative(self, opaqueIt, (uint*)poutId); - return ret != 0; - } - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public static bool GetNextSelectedItem(ref ImGuiSelectionBasicStorage self, void** opaqueIt, ref uint outId) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - fixed (uint* poutId = &outId) - { - byte ret = GetNextSelectedItemNative((ImGuiSelectionBasicStorage*)pself, opaqueIt, (uint*)poutId); - return ret != 0; - } - } - } - - /// - /// Convert index to item id based on provided adapter.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetStorageIdFromIndexNative(ImGuiSelectionBasicStorage* self, int idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[522])(self, idx); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[522])((nint)self, idx); - #endif - } - - /// - /// Convert index to item id based on provided adapter.
- ///
- public static uint GetStorageIdFromIndex(ImGuiSelectionBasicStoragePtr self, int idx) - { - uint ret = GetStorageIdFromIndexNative(self, idx); - return ret; - } - - /// - /// Convert index to item id based on provided adapter.
- ///
- public static uint GetStorageIdFromIndex(ref ImGuiSelectionBasicStorage self, int idx) - { - fixed (ImGuiSelectionBasicStorage* pself = &self) - { - uint ret = GetStorageIdFromIndexNative((ImGuiSelectionBasicStorage*)pself, idx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiSelectionExternalStorage* ImGuiSelectionExternalStorageNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[523])(); - #else - return (ImGuiSelectionExternalStorage*)((delegate* unmanaged[Cdecl])funcTable[523])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiSelectionExternalStoragePtr ImGuiSelectionExternalStorage() - { - ImGuiSelectionExternalStoragePtr ret = ImGuiSelectionExternalStorageNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiSelectionExternalStorage* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[524])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[524])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiSelectionExternalStoragePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiSelectionExternalStorage self) - { - fixed (ImGuiSelectionExternalStorage* pself = &self) - { - DestroyNative((ImGuiSelectionExternalStorage*)pself); - } - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ApplyRequestsNative(ImGuiSelectionExternalStorage* self, ImGuiMultiSelectIO* msIo) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[525])(self, msIo); - #else - ((delegate* unmanaged[Cdecl])funcTable[525])((nint)self, (nint)msIo); - #endif - } - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public static void ApplyRequests(ImGuiSelectionExternalStoragePtr self, ImGuiMultiSelectIOPtr msIo) - { - ApplyRequestsNative(self, msIo); - } - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public static void ApplyRequests(ref ImGuiSelectionExternalStorage self, ImGuiMultiSelectIOPtr msIo) - { - fixed (ImGuiSelectionExternalStorage* pself = &self) - { - ApplyRequestsNative((ImGuiSelectionExternalStorage*)pself, msIo); - } - } - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public static void ApplyRequests(ImGuiSelectionExternalStoragePtr self, ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ApplyRequestsNative(self, (ImGuiMultiSelectIO*)pmsIo); - } - } - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public static void ApplyRequests(ref ImGuiSelectionExternalStorage self, ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiSelectionExternalStorage* pself = &self) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ApplyRequestsNative((ImGuiSelectionExternalStorage*)pself, (ImGuiMultiSelectIO*)pmsIo); - } - } - } - - /// - /// Also ensure our padding fields are zeroed
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawCmd* ImDrawCmdNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[526])(); - #else - return (ImDrawCmd*)((delegate* unmanaged[Cdecl])funcTable[526])(); - #endif - } - - /// - /// Also ensure our padding fields are zeroed
- ///
- public static ImDrawCmdPtr ImDrawCmd() - { - ImDrawCmdPtr ret = ImDrawCmdNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImDrawCmd* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[527])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[527])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImDrawCmdPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImDrawCmd self) - { - fixed (ImDrawCmd* pself = &self) - { - DestroyNative((ImDrawCmd*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImTextureID GetTexIDNative(ImDrawCmd* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[528])(self); - #else - return (ImTextureID)((delegate* unmanaged[Cdecl])funcTable[528])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImTextureID GetTexID(ImDrawCmdPtr self) - { - ImTextureID ret = GetTexIDNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static ImTextureID GetTexID(ref ImDrawCmd self) - { - fixed (ImDrawCmd* pself = &self) - { - ImTextureID ret = GetTexIDNative((ImDrawCmd*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawListSplitter* ImDrawListSplitterNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[529])(); - #else - return (ImDrawListSplitter*)((delegate* unmanaged[Cdecl])funcTable[529])(); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawListSplitterPtr ImDrawListSplitter() - { - ImDrawListSplitterPtr ret = ImDrawListSplitterNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImDrawListSplitter* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[530])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[530])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImDrawListSplitterPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImDrawListSplitter self) - { - fixed (ImDrawListSplitter* pself = &self) - { - DestroyNative((ImDrawListSplitter*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImDrawListSplitter* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[531])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[531])((nint)self); - #endif - } - - /// - /// Do not clear Channels[] so our allocations are reused next frame
- ///
- public static void Clear(ImDrawListSplitterPtr self) - { - ClearNative(self); - } - - /// - /// Do not clear Channels[] so our allocations are reused next frame
- ///
- public static void Clear(ref ImDrawListSplitter self) - { - fixed (ImDrawListSplitter* pself = &self) - { - ClearNative((ImDrawListSplitter*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearFreeMemoryNative(ImDrawListSplitter* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[532])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[532])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearFreeMemory(ImDrawListSplitterPtr self) - { - ClearFreeMemoryNative(self); - } - - /// - /// To be documented. - /// - public static void ClearFreeMemory(ref ImDrawListSplitter self) - { - fixed (ImDrawListSplitter* pself = &self) - { - ClearFreeMemoryNative((ImDrawListSplitter*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SplitNative(ImDrawListSplitter* self, ImDrawList* drawList, int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[533])(self, drawList, count); - #else - ((delegate* unmanaged[Cdecl])funcTable[533])((nint)self, (nint)drawList, count); - #endif - } - - /// - /// To be documented. - /// - public static void Split(ImDrawListSplitterPtr self, ImDrawListPtr drawList, int count) - { - SplitNative(self, drawList, count); - } - - /// - /// To be documented. - /// - public static void Split(ref ImDrawListSplitter self, ImDrawListPtr drawList, int count) - { - fixed (ImDrawListSplitter* pself = &self) - { - SplitNative((ImDrawListSplitter*)pself, drawList, count); - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.090.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.090.cs deleted file mode 100644 index 4d6b12a7c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.090.cs +++ /dev/null @@ -1,5051 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void Split(ImDrawListSplitterPtr self, ref ImDrawList drawList, int count) - { - fixed (ImDrawList* pdrawList = &drawList) - { - SplitNative(self, (ImDrawList*)pdrawList, count); - } - } - - /// - /// To be documented. - /// - public static void Split(ref ImDrawListSplitter self, ref ImDrawList drawList, int count) - { - fixed (ImDrawListSplitter* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - SplitNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, count); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MergeNative(ImDrawListSplitter* self, ImDrawList* drawList) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[534])(self, drawList); - #else - ((delegate* unmanaged[Cdecl])funcTable[534])((nint)self, (nint)drawList); - #endif - } - - /// - /// To be documented. - /// - public static void Merge(ImDrawListSplitterPtr self, ImDrawListPtr drawList) - { - MergeNative(self, drawList); - } - - /// - /// To be documented. - /// - public static void Merge(ref ImDrawListSplitter self, ImDrawListPtr drawList) - { - fixed (ImDrawListSplitter* pself = &self) - { - MergeNative((ImDrawListSplitter*)pself, drawList); - } - } - - /// - /// To be documented. - /// - public static void Merge(ImDrawListSplitterPtr self, ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - MergeNative(self, (ImDrawList*)pdrawList); - } - } - - /// - /// To be documented. - /// - public static void Merge(ref ImDrawListSplitter self, ref ImDrawList drawList) - { - fixed (ImDrawListSplitter* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - MergeNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentChannelNative(ImDrawListSplitter* self, ImDrawList* drawList, int channelIdx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[535])(self, drawList, channelIdx); - #else - ((delegate* unmanaged[Cdecl])funcTable[535])((nint)self, (nint)drawList, channelIdx); - #endif - } - - /// - /// To be documented. - /// - public static void SetCurrentChannel(ImDrawListSplitterPtr self, ImDrawListPtr drawList, int channelIdx) - { - SetCurrentChannelNative(self, drawList, channelIdx); - } - - /// - /// To be documented. - /// - public static void SetCurrentChannel(ref ImDrawListSplitter self, ImDrawListPtr drawList, int channelIdx) - { - fixed (ImDrawListSplitter* pself = &self) - { - SetCurrentChannelNative((ImDrawListSplitter*)pself, drawList, channelIdx); - } - } - - /// - /// To be documented. - /// - public static void SetCurrentChannel(ImDrawListSplitterPtr self, ref ImDrawList drawList, int channelIdx) - { - fixed (ImDrawList* pdrawList = &drawList) - { - SetCurrentChannelNative(self, (ImDrawList*)pdrawList, channelIdx); - } - } - - /// - /// To be documented. - /// - public static void SetCurrentChannel(ref ImDrawListSplitter self, ref ImDrawList drawList, int channelIdx) - { - fixed (ImDrawListSplitter* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - SetCurrentChannelNative((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, channelIdx); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* ImDrawListNative(ImDrawListSharedData* sharedData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[536])(sharedData); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[536])((nint)sharedData); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawListPtr ImDrawList(ImDrawListSharedDataPtr sharedData) - { - ImDrawListPtr ret = ImDrawListNative(sharedData); - return ret; - } - - /// - /// To be documented. - /// - public static ImDrawListPtr ImDrawList(ref ImDrawListSharedData sharedData) - { - fixed (ImDrawListSharedData* psharedData = &sharedData) - { - ImDrawListPtr ret = ImDrawListNative((ImDrawListSharedData*)psharedData); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[537])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[537])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImDrawListPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - DestroyNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushClipRectNative(ImDrawList* self, Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[538])(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[538])((nint)self, clipRectMin, clipRectMax, intersectWithCurrentClipRect); - #endif - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public static void PushClipRect(ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) - { - PushClipRectNative(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public static void PushClipRect(ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax) - { - PushClipRectNative(self, clipRectMin, clipRectMax, (byte)(0)); - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public static void PushClipRect(ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) - { - fixed (ImDrawList* pself = &self) - { - PushClipRectNative((ImDrawList*)pself, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); - } - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public static void PushClipRect(ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax) - { - fixed (ImDrawList* pself = &self) - { - PushClipRectNative((ImDrawList*)pself, clipRectMin, clipRectMax, (byte)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushClipRectFullScreenNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[539])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[539])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void PushClipRectFullScreen(ImDrawListPtr self) - { - PushClipRectFullScreenNative(self); - } - - /// - /// To be documented. - /// - public static void PushClipRectFullScreen(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - PushClipRectFullScreenNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopClipRectNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[540])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[540])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void PopClipRect(ImDrawListPtr self) - { - PopClipRectNative(self); - } - - /// - /// To be documented. - /// - public static void PopClipRect(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - PopClipRectNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushTextureIDNative(ImDrawList* self, ImTextureID textureId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[541])(self, textureId); - #else - ((delegate* unmanaged[Cdecl])funcTable[541])((nint)self, textureId); - #endif - } - - /// - /// To be documented. - /// - public static void PushTextureID(ImDrawListPtr self, ImTextureID textureId) - { - PushTextureIDNative(self, textureId); - } - - /// - /// To be documented. - /// - public static void PushTextureID(ref ImDrawList self, ImTextureID textureId) - { - fixed (ImDrawList* pself = &self) - { - PushTextureIDNative((ImDrawList*)pself, textureId); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopTextureIDNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[542])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[542])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void PopTextureID(ImDrawListPtr self) - { - PopTextureIDNative(self); - } - - /// - /// To be documented. - /// - public static void PopTextureID(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - PopTextureIDNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetClipRectMinNative(Vector2* pOut, ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[543])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[543])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetClipRectMin(ImDrawListPtr self) - { - Vector2 ret; - GetClipRectMinNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetClipRectMin(Vector2* pOut, ImDrawListPtr self) - { - GetClipRectMinNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetClipRectMin(ref Vector2 pOut, ImDrawListPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetClipRectMinNative((Vector2*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector2 GetClipRectMin(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - Vector2 ret; - GetClipRectMinNative(&ret, (ImDrawList*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetClipRectMin(Vector2* pOut, ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - GetClipRectMinNative(pOut, (ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetClipRectMin(ref Vector2 pOut, ref ImDrawList self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImDrawList* pself = &self) - { - GetClipRectMinNative((Vector2*)ppOut, (ImDrawList*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetClipRectMaxNative(Vector2* pOut, ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[544])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[544])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetClipRectMax(ImDrawListPtr self) - { - Vector2 ret; - GetClipRectMaxNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetClipRectMax(Vector2* pOut, ImDrawListPtr self) - { - GetClipRectMaxNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetClipRectMax(ref Vector2 pOut, ImDrawListPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetClipRectMaxNative((Vector2*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector2 GetClipRectMax(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - Vector2 ret; - GetClipRectMaxNative(&ret, (ImDrawList*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetClipRectMax(Vector2* pOut, ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - GetClipRectMaxNative(pOut, (ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetClipRectMax(ref Vector2 pOut, ref ImDrawList self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImDrawList* pself = &self) - { - GetClipRectMaxNative((Vector2*)ppOut, (ImDrawList*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddLineNative(ImDrawList* self, Vector2 p1, Vector2 p2, uint col, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[545])(self, p1, p2, col, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[545])((nint)self, p1, p2, col, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddLine(ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col, float thickness) - { - AddLineNative(self, p1, p2, col, thickness); - } - - /// - /// To be documented. - /// - public static void AddLine(ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col) - { - AddLineNative(self, p1, p2, col, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddLine(ref ImDrawList self, Vector2 p1, Vector2 p2, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddLineNative((ImDrawList*)pself, p1, p2, col, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddLine(ref ImDrawList self, Vector2 p1, Vector2 p2, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddLineNative((ImDrawList*)pself, p1, p2, col, (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddRectNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[546])(self, pMin, pMax, col, rounding, flags, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[546])((nint)self, pMin, pMax, col, rounding, flags, thickness); - #endif - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) - { - AddRectNative(self, pMin, pMax, col, rounding, flags, thickness); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - AddRectNative(self, pMin, pMax, col, rounding, flags, (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - AddRectNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col) - { - AddRectNative(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - AddRectNative(self, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) - { - AddRectNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) - { - AddRectNative(self, pMin, pMax, col, (float)(0.0f), flags, thickness); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags, thickness); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags, (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRect(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddRectNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, thickness); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddRectFilledNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[547])(self, pMin, pMax, col, rounding, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[547])((nint)self, pMin, pMax, col, rounding, flags); - #endif - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - AddRectFilledNative(self, pMin, pMax, col, rounding, flags); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - AddRectFilledNative(self, pMin, pMax, col, rounding, (ImDrawFlags)(0)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col) - { - AddRectFilledNative(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - AddRectFilledNative(self, pMin, pMax, col, (float)(0.0f), flags); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, rounding, flags); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - fixed (ImDrawList* pself = &self) - { - AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public static void AddRectFilled(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - AddRectFilledNative((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddRectFilledMultiColorNative(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[548])(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); - #else - ((delegate* unmanaged[Cdecl])funcTable[548])((nint)self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); - #endif - } - - /// - /// To be documented. - /// - public static void AddRectFilledMultiColor(ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) - { - AddRectFilledMultiColorNative(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); - } - - /// - /// To be documented. - /// - public static void AddRectFilledMultiColor(ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) - { - fixed (ImDrawList* pself = &self) - { - AddRectFilledMultiColorNative((ImDrawList*)pself, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddQuadNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[549])(self, p1, p2, p3, p4, col, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[549])((nint)self, p1, p2, p3, p4, col, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddQuad(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - AddQuadNative(self, p1, p2, p3, p4, col, thickness); - } - - /// - /// To be documented. - /// - public static void AddQuad(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - AddQuadNative(self, p1, p2, p3, p4, col, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddQuad(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddQuadNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddQuad(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddQuadNative((ImDrawList*)pself, p1, p2, p3, p4, col, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddQuadFilledNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[550])(self, p1, p2, p3, p4, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[550])((nint)self, p1, p2, p3, p4, col); - #endif - } - - /// - /// To be documented. - /// - public static void AddQuadFilled(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - AddQuadFilledNative(self, p1, p2, p3, p4, col); - } - - /// - /// To be documented. - /// - public static void AddQuadFilled(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddQuadFilledNative((ImDrawList*)pself, p1, p2, p3, p4, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTriangleNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[551])(self, p1, p2, p3, col, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[551])((nint)self, p1, p2, p3, col, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddTriangle(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - AddTriangleNative(self, p1, p2, p3, col, thickness); - } - - /// - /// To be documented. - /// - public static void AddTriangle(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - AddTriangleNative(self, p1, p2, p3, col, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddTriangle(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddTriangleNative((ImDrawList*)pself, p1, p2, p3, col, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddTriangle(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddTriangleNative((ImDrawList*)pself, p1, p2, p3, col, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTriangleFilledNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[552])(self, p1, p2, p3, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[552])((nint)self, p1, p2, p3, col); - #endif - } - - /// - /// To be documented. - /// - public static void AddTriangleFilled(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - AddTriangleFilledNative(self, p1, p2, p3, col); - } - - /// - /// To be documented. - /// - public static void AddTriangleFilled(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddTriangleFilledNative((ImDrawList*)pself, p1, p2, p3, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddCircleNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[553])(self, center, radius, col, numSegments, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[553])((nint)self, center, radius, col, numSegments, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness) - { - AddCircleNative(self, center, radius, col, numSegments, thickness); - } - - /// - /// To be documented. - /// - public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) - { - AddCircleNative(self, center, radius, col, numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col) - { - AddCircleNative(self, center, radius, col, (int)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddCircle(ImDrawListPtr self, Vector2 center, float radius, uint col, float thickness) - { - AddCircleNative(self, center, radius, col, (int)(0), thickness); - } - - /// - /// To be documented. - /// - public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddCircleNative((ImDrawList*)pself, center, radius, col, numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddCircleNative((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddCircleNative((ImDrawList*)pself, center, radius, col, (int)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void AddCircle(ref ImDrawList self, Vector2 center, float radius, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddCircleNative((ImDrawList*)pself, center, radius, col, (int)(0), thickness); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddCircleFilledNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[554])(self, center, radius, col, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[554])((nint)self, center, radius, col, numSegments); - #endif - } - - /// - /// To be documented. - /// - public static void AddCircleFilled(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) - { - AddCircleFilledNative(self, center, radius, col, numSegments); - } - - /// - /// To be documented. - /// - public static void AddCircleFilled(ImDrawListPtr self, Vector2 center, float radius, uint col) - { - AddCircleFilledNative(self, center, radius, col, (int)(0)); - } - - /// - /// To be documented. - /// - public static void AddCircleFilled(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddCircleFilledNative((ImDrawList*)pself, center, radius, col, numSegments); - } - } - - /// - /// To be documented. - /// - public static void AddCircleFilled(ref ImDrawList self, Vector2 center, float radius, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddCircleFilledNative((ImDrawList*)pself, center, radius, col, (int)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddNgonNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[555])(self, center, radius, col, numSegments, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[555])((nint)self, center, radius, col, numSegments, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddNgon(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness) - { - AddNgonNative(self, center, radius, col, numSegments, thickness); - } - - /// - /// To be documented. - /// - public static void AddNgon(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) - { - AddNgonNative(self, center, radius, col, numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddNgon(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddNgonNative((ImDrawList*)pself, center, radius, col, numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddNgon(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddNgonNative((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddNgonFilledNative(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[556])(self, center, radius, col, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[556])((nint)self, center, radius, col, numSegments); - #endif - } - - /// - /// To be documented. - /// - public static void AddNgonFilled(ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) - { - AddNgonFilledNative(self, center, radius, col, numSegments); - } - - /// - /// To be documented. - /// - public static void AddNgonFilled(ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddNgonFilledNative((ImDrawList*)pself, center, radius, col, numSegments); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddEllipseNative(ImDrawList* self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[557])(self, center, radius, col, rot, numSegments, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[557])((nint)self, center, radius, col, rot, numSegments, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments, float thickness) - { - AddEllipseNative(self, center, radius, col, rot, numSegments, thickness); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - AddEllipseNative(self, center, radius, col, rot, numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, float rot) - { - AddEllipseNative(self, center, radius, col, rot, (int)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col) - { - AddEllipseNative(self, center, radius, col, (float)(0.0f), (int)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, int numSegments) - { - AddEllipseNative(self, center, radius, col, (float)(0.0f), numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, float rot, float thickness) - { - AddEllipseNative(self, center, radius, col, rot, (int)(0), thickness); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, int numSegments, float thickness) - { - AddEllipseNative(self, center, radius, col, (float)(0.0f), numSegments, thickness); - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, rot, numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, rot, numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, float rot) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, rot, (int)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, (float)(0.0f), (int)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, (float)(0.0f), numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, float rot, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, rot, (int)(0), thickness); - } - } - - /// - /// To be documented. - /// - public static void AddEllipse(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, int numSegments, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseNative((ImDrawList*)pself, center, radius, col, (float)(0.0f), numSegments, thickness); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddEllipseFilledNative(ImDrawList* self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[558])(self, center, radius, col, rot, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[558])((nint)self, center, radius, col, rot, numSegments); - #endif - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - AddEllipseFilledNative(self, center, radius, col, rot, numSegments); - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, float rot) - { - AddEllipseFilledNative(self, center, radius, col, rot, (int)(0)); - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col) - { - AddEllipseFilledNative(self, center, radius, col, (float)(0.0f), (int)(0)); - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ImDrawListPtr self, Vector2 center, Vector2 radius, uint col, int numSegments) - { - AddEllipseFilledNative(self, center, radius, col, (float)(0.0f), numSegments); - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseFilledNative((ImDrawList*)pself, center, radius, col, rot, numSegments); - } - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, float rot) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseFilledNative((ImDrawList*)pself, center, radius, col, rot, (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ref ImDrawList self, Vector2 center, Vector2 radius, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseFilledNative((ImDrawList*)pself, center, radius, col, (float)(0.0f), (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void AddEllipseFilled(ref ImDrawList self, Vector2 center, Vector2 radius, uint col, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddEllipseFilledNative((ImDrawList*)pself, center, radius, col, (float)(0.0f), numSegments); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTextNative(ImDrawList* self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[559])(self, pos, col, textBegin, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[559])((nint)self, pos, col, (nint)textBegin, (nint)textEnd); - #endif - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - AddTextNative(self, pos, col, textBegin, textEnd); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin) - { - AddTextNative(self, pos, col, textBegin, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, pos, col, textBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pos, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pos, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, pos, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, pos, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, pos, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pos, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, pos, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, pos, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, pos, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTextNative(ImDrawList* self, ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[560])(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[560])((nint)self, (nint)font, fontSize, pos, col, (nint)textBegin, (nint)textEnd, wrapWidth, (nint)cpuFineClipRect); - #endif - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.091.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.091.cs deleted file mode 100644 index eda11a048..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.091.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.092.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.092.cs deleted file mode 100644 index 84db6da82..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.092.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ImFontPtr font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ImDrawListPtr self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative(self, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void AddText(ref ImDrawList self, ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* pself = &self) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - AddTextNative((ImDrawList*)pself, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddBezierCubicNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[561])(self, p1, p2, p3, p4, col, thickness, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[561])((nint)self, p1, p2, p3, p4, col, thickness, numSegments); - #endif - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void AddBezierCubic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) - { - AddBezierCubicNative(self, p1, p2, p3, p4, col, thickness, numSegments); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void AddBezierCubic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - AddBezierCubicNative(self, p1, p2, p3, p4, col, thickness, (int)(0)); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void AddBezierCubic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddBezierCubicNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, numSegments); - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void AddBezierCubic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddBezierCubicNative((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, (int)(0)); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddBezierQuadraticNative(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[562])(self, p1, p2, p3, col, thickness, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[562])((nint)self, p1, p2, p3, col, thickness, numSegments); - #endif - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void AddBezierQuadratic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) - { - AddBezierQuadraticNative(self, p1, p2, p3, col, thickness, numSegments); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void AddBezierQuadratic(ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - AddBezierQuadraticNative(self, p1, p2, p3, col, thickness, (int)(0)); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void AddBezierQuadratic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - AddBezierQuadraticNative((ImDrawList*)pself, p1, p2, p3, col, thickness, numSegments); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void AddBezierQuadratic(ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddBezierQuadraticNative((ImDrawList*)pself, p1, p2, p3, col, thickness, (int)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddPolylineNative(ImDrawList* self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[563])(self, points, numPoints, col, flags, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[563])((nint)self, (nint)points, numPoints, col, flags, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void AddPolyline(ImDrawListPtr self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - AddPolylineNative(self, points, numPoints, col, flags, thickness); - } - - /// - /// To be documented. - /// - public static void AddPolyline(ref ImDrawList self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* pself = &self) - { - AddPolylineNative((ImDrawList*)pself, points, numPoints, col, flags, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddPolyline(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - fixed (Vector2* ppoints = &points) - { - AddPolylineNative(self, (Vector2*)ppoints, numPoints, col, flags, thickness); - } - } - - /// - /// To be documented. - /// - public static void AddPolyline(ref ImDrawList self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector2* ppoints = &points) - { - AddPolylineNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col, flags, thickness); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddConvexPolyFilledNative(ImDrawList* self, Vector2* points, int numPoints, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[564])(self, points, numPoints, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[564])((nint)self, (nint)points, numPoints, col); - #endif - } - - /// - /// To be documented. - /// - public static void AddConvexPolyFilled(ImDrawListPtr self, Vector2* points, int numPoints, uint col) - { - AddConvexPolyFilledNative(self, points, numPoints, col); - } - - /// - /// To be documented. - /// - public static void AddConvexPolyFilled(ref ImDrawList self, Vector2* points, int numPoints, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddConvexPolyFilledNative((ImDrawList*)pself, points, numPoints, col); - } - } - - /// - /// To be documented. - /// - public static void AddConvexPolyFilled(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col) - { - fixed (Vector2* ppoints = &points) - { - AddConvexPolyFilledNative(self, (Vector2*)ppoints, numPoints, col); - } - } - - /// - /// To be documented. - /// - public static void AddConvexPolyFilled(ref ImDrawList self, ref Vector2 points, int numPoints, uint col) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector2* ppoints = &points) - { - AddConvexPolyFilledNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddConcavePolyFilledNative(ImDrawList* self, Vector2* points, int numPoints, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[565])(self, points, numPoints, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[565])((nint)self, (nint)points, numPoints, col); - #endif - } - - /// - /// To be documented. - /// - public static void AddConcavePolyFilled(ImDrawListPtr self, Vector2* points, int numPoints, uint col) - { - AddConcavePolyFilledNative(self, points, numPoints, col); - } - - /// - /// To be documented. - /// - public static void AddConcavePolyFilled(ref ImDrawList self, Vector2* points, int numPoints, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddConcavePolyFilledNative((ImDrawList*)pself, points, numPoints, col); - } - } - - /// - /// To be documented. - /// - public static void AddConcavePolyFilled(ImDrawListPtr self, ref Vector2 points, int numPoints, uint col) - { - fixed (Vector2* ppoints = &points) - { - AddConcavePolyFilledNative(self, (Vector2*)ppoints, numPoints, col); - } - } - - /// - /// To be documented. - /// - public static void AddConcavePolyFilled(ref ImDrawList self, ref Vector2 points, int numPoints, uint col) - { - fixed (ImDrawList* pself = &self) - { - fixed (Vector2* ppoints = &points) - { - AddConcavePolyFilledNative((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddImageNative(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[566])(self, userTextureId, pMin, pMax, uvMin, uvMax, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[566])((nint)self, userTextureId, pMin, pMax, uvMin, uvMax, col); - #endif - } - - /// - /// To be documented. - /// - public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) - { - AddImageNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col); - } - - /// - /// To be documented. - /// - public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) - { - AddImageNative(self, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) - { - AddImageNative(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) - { - AddImageNative(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) - { - AddImageNative(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); - } - - /// - /// To be documented. - /// - public static void AddImage(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) - { - AddImageNative(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); - } - - /// - /// To be documented. - /// - public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col); - } - } - - /// - /// To be documented. - /// - public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) - { - fixed (ImDrawList* pself = &self) - { - AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) - { - fixed (ImDrawList* pself = &self) - { - AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) - { - fixed (ImDrawList* pself = &self) - { - AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); - } - } - - /// - /// To be documented. - /// - public static void AddImage(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageNative((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddImageQuadNative(ImDrawList* self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[567])(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[567])((nint)self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); - #endif - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - AddImageQuadNative(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public static void AddImageQuad(ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - fixed (ImDrawList* pself = &self) - { - AddImageQuadNative((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddImageRoundedNative(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[568])(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[568])((nint)self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); - #endif - } - - /// - /// To be documented. - /// - public static void AddImageRounded(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) - { - AddImageRoundedNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); - } - - /// - /// To be documented. - /// - public static void AddImageRounded(ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) - { - AddImageRoundedNative(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public static void AddImageRounded(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - AddImageRoundedNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); - } - } - - /// - /// To be documented. - /// - public static void AddImageRounded(ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) - { - fixed (ImDrawList* pself = &self) - { - AddImageRoundedNative((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathClearNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[569])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[569])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void PathClear(ImDrawListPtr self) - { - PathClearNative(self); - } - - /// - /// To be documented. - /// - public static void PathClear(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - PathClearNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathLineToNative(ImDrawList* self, Vector2 pos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[570])(self, pos); - #else - ((delegate* unmanaged[Cdecl])funcTable[570])((nint)self, pos); - #endif - } - - /// - /// To be documented. - /// - public static void PathLineTo(ImDrawListPtr self, Vector2 pos) - { - PathLineToNative(self, pos); - } - - /// - /// To be documented. - /// - public static void PathLineTo(ref ImDrawList self, Vector2 pos) - { - fixed (ImDrawList* pself = &self) - { - PathLineToNative((ImDrawList*)pself, pos); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathLineToMergeDuplicateNative(ImDrawList* self, Vector2 pos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[571])(self, pos); - #else - ((delegate* unmanaged[Cdecl])funcTable[571])((nint)self, pos); - #endif - } - - /// - /// To be documented. - /// - public static void PathLineToMergeDuplicate(ImDrawListPtr self, Vector2 pos) - { - PathLineToMergeDuplicateNative(self, pos); - } - - /// - /// To be documented. - /// - public static void PathLineToMergeDuplicate(ref ImDrawList self, Vector2 pos) - { - fixed (ImDrawList* pself = &self) - { - PathLineToMergeDuplicateNative((ImDrawList*)pself, pos); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathFillConvexNative(ImDrawList* self, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[572])(self, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[572])((nint)self, col); - #endif - } - - /// - /// To be documented. - /// - public static void PathFillConvex(ImDrawListPtr self, uint col) - { - PathFillConvexNative(self, col); - } - - /// - /// To be documented. - /// - public static void PathFillConvex(ref ImDrawList self, uint col) - { - fixed (ImDrawList* pself = &self) - { - PathFillConvexNative((ImDrawList*)pself, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathFillConcaveNative(ImDrawList* self, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[573])(self, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[573])((nint)self, col); - #endif - } - - /// - /// To be documented. - /// - public static void PathFillConcave(ImDrawListPtr self, uint col) - { - PathFillConcaveNative(self, col); - } - - /// - /// To be documented. - /// - public static void PathFillConcave(ref ImDrawList self, uint col) - { - fixed (ImDrawList* pself = &self) - { - PathFillConcaveNative((ImDrawList*)pself, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathStrokeNative(ImDrawList* self, uint col, ImDrawFlags flags, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[574])(self, col, flags, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[574])((nint)self, col, flags, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void PathStroke(ImDrawListPtr self, uint col, ImDrawFlags flags, float thickness) - { - PathStrokeNative(self, col, flags, thickness); - } - - /// - /// To be documented. - /// - public static void PathStroke(ImDrawListPtr self, uint col, ImDrawFlags flags) - { - PathStrokeNative(self, col, flags, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void PathStroke(ImDrawListPtr self, uint col) - { - PathStrokeNative(self, col, (ImDrawFlags)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void PathStroke(ImDrawListPtr self, uint col, float thickness) - { - PathStrokeNative(self, col, (ImDrawFlags)(0), thickness); - } - - /// - /// To be documented. - /// - public static void PathStroke(ref ImDrawList self, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* pself = &self) - { - PathStrokeNative((ImDrawList*)pself, col, flags, thickness); - } - } - - /// - /// To be documented. - /// - public static void PathStroke(ref ImDrawList self, uint col, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - PathStrokeNative((ImDrawList*)pself, col, flags, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void PathStroke(ref ImDrawList self, uint col) - { - fixed (ImDrawList* pself = &self) - { - PathStrokeNative((ImDrawList*)pself, col, (ImDrawFlags)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public static void PathStroke(ref ImDrawList self, uint col, float thickness) - { - fixed (ImDrawList* pself = &self) - { - PathStrokeNative((ImDrawList*)pself, col, (ImDrawFlags)(0), thickness); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathArcToNative(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[575])(self, center, radius, aMin, aMax, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[575])((nint)self, center, radius, aMin, aMax, numSegments); - #endif - } - - /// - /// To be documented. - /// - public static void PathArcTo(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - PathArcToNative(self, center, radius, aMin, aMax, numSegments); - } - - /// - /// To be documented. - /// - public static void PathArcTo(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax) - { - PathArcToNative(self, center, radius, aMin, aMax, (int)(0)); - } - - /// - /// To be documented. - /// - public static void PathArcTo(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - PathArcToNative((ImDrawList*)pself, center, radius, aMin, aMax, numSegments); - } - } - - /// - /// To be documented. - /// - public static void PathArcTo(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax) - { - fixed (ImDrawList* pself = &self) - { - PathArcToNative((ImDrawList*)pself, center, radius, aMin, aMax, (int)(0)); - } - } - - /// - /// Use precomputed angles for a 12 steps circle
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathArcToFastNative(ImDrawList* self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[576])(self, center, radius, aMinOf12, aMaxOf12); - #else - ((delegate* unmanaged[Cdecl])funcTable[576])((nint)self, center, radius, aMinOf12, aMaxOf12); - #endif - } - - /// - /// Use precomputed angles for a 12 steps circle
- ///
- public static void PathArcToFast(ImDrawListPtr self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) - { - PathArcToFastNative(self, center, radius, aMinOf12, aMaxOf12); - } - - /// - /// Use precomputed angles for a 12 steps circle
- ///
- public static void PathArcToFast(ref ImDrawList self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) - { - fixed (ImDrawList* pself = &self) - { - PathArcToFastNative((ImDrawList*)pself, center, radius, aMinOf12, aMaxOf12); - } - } - - /// - /// Ellipse
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathEllipticalArcToNative(ImDrawList* self, Vector2 center, Vector2 radius, float rot, float aMin, float aMax, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[577])(self, center, radius, rot, aMin, aMax, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[577])((nint)self, center, radius, rot, aMin, aMax, numSegments); - #endif - } - - /// - /// Ellipse
- ///
- public static void PathEllipticalArcTo(ImDrawListPtr self, Vector2 center, Vector2 radius, float rot, float aMin, float aMax, int numSegments) - { - PathEllipticalArcToNative(self, center, radius, rot, aMin, aMax, numSegments); - } - - /// - /// Ellipse
- ///
- public static void PathEllipticalArcTo(ImDrawListPtr self, Vector2 center, Vector2 radius, float rot, float aMin, float aMax) - { - PathEllipticalArcToNative(self, center, radius, rot, aMin, aMax, (int)(0)); - } - - /// - /// Ellipse
- ///
- public static void PathEllipticalArcTo(ref ImDrawList self, Vector2 center, Vector2 radius, float rot, float aMin, float aMax, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - PathEllipticalArcToNative((ImDrawList*)pself, center, radius, rot, aMin, aMax, numSegments); - } - } - - /// - /// Ellipse
- ///
- public static void PathEllipticalArcTo(ref ImDrawList self, Vector2 center, Vector2 radius, float rot, float aMin, float aMax) - { - fixed (ImDrawList* pself = &self) - { - PathEllipticalArcToNative((ImDrawList*)pself, center, radius, rot, aMin, aMax, (int)(0)); - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathBezierCubicCurveToNative(ImDrawList* self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[578])(self, p2, p3, p4, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[578])((nint)self, p2, p3, p4, numSegments); - #endif - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void PathBezierCubicCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) - { - PathBezierCubicCurveToNative(self, p2, p3, p4, numSegments); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void PathBezierCubicCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4) - { - PathBezierCubicCurveToNative(self, p2, p3, p4, (int)(0)); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void PathBezierCubicCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - PathBezierCubicCurveToNative((ImDrawList*)pself, p2, p3, p4, numSegments); - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.093.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.093.cs deleted file mode 100644 index a50cb3302..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.093.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// Cubic Bezier (4 control points)
- ///
- public static void PathBezierCubicCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4) - { - fixed (ImDrawList* pself = &self) - { - PathBezierCubicCurveToNative((ImDrawList*)pself, p2, p3, p4, (int)(0)); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathBezierQuadraticCurveToNative(ImDrawList* self, Vector2 p2, Vector2 p3, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[579])(self, p2, p3, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[579])((nint)self, p2, p3, numSegments); - #endif - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void PathBezierQuadraticCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3, int numSegments) - { - PathBezierQuadraticCurveToNative(self, p2, p3, numSegments); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void PathBezierQuadraticCurveTo(ImDrawListPtr self, Vector2 p2, Vector2 p3) - { - PathBezierQuadraticCurveToNative(self, p2, p3, (int)(0)); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void PathBezierQuadraticCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - PathBezierQuadraticCurveToNative((ImDrawList*)pself, p2, p3, numSegments); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public static void PathBezierQuadraticCurveTo(ref ImDrawList self, Vector2 p2, Vector2 p3) - { - fixed (ImDrawList* pself = &self) - { - PathBezierQuadraticCurveToNative((ImDrawList*)pself, p2, p3, (int)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PathRectNative(ImDrawList* self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[580])(self, rectMin, rectMax, rounding, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[580])((nint)self, rectMin, rectMax, rounding, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) - { - PathRectNative(self, rectMin, rectMax, rounding, flags); - } - - /// - /// To be documented. - /// - public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding) - { - PathRectNative(self, rectMin, rectMax, rounding, (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax) - { - PathRectNative(self, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PathRect(ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) - { - PathRectNative(self, rectMin, rectMax, (float)(0.0f), flags); - } - - /// - /// To be documented. - /// - public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - PathRectNative((ImDrawList*)pself, rectMin, rectMax, rounding, flags); - } - } - - /// - /// To be documented. - /// - public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding) - { - fixed (ImDrawList* pself = &self) - { - PathRectNative((ImDrawList*)pself, rectMin, rectMax, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax) - { - fixed (ImDrawList* pself = &self) - { - PathRectNative((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PathRect(ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) - { - fixed (ImDrawList* pself = &self) - { - PathRectNative((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), flags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddCallbackNative(ImDrawList* self, ImDrawCallback callback, void* userdata, ulong userdataSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, ulong, void>)funcTable[581])(self, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userdata, userdataSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[581])((nint)self, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)userdata, userdataSize); - #endif - } - - /// - /// To be documented. - /// - public static void AddCallback(ImDrawListPtr self, ImDrawCallback callback, void* userdata, ulong userdataSize) - { - AddCallbackNative(self, callback, userdata, userdataSize); - } - - /// - /// To be documented. - /// - public static void AddCallback(ImDrawListPtr self, ImDrawCallback callback, void* userdata) - { - AddCallbackNative(self, callback, userdata, (ulong)(0)); - } - - /// - /// To be documented. - /// - public static void AddCallback(ref ImDrawList self, ImDrawCallback callback, void* userdata, ulong userdataSize) - { - fixed (ImDrawList* pself = &self) - { - AddCallbackNative((ImDrawList*)pself, callback, userdata, userdataSize); - } - } - - /// - /// To be documented. - /// - public static void AddCallback(ref ImDrawList self, ImDrawCallback callback, void* userdata) - { - fixed (ImDrawList* pself = &self) - { - AddCallbackNative((ImDrawList*)pself, callback, userdata, (ulong)(0)); - } - } - - /// - /// To be documented. - /// - public static void AddCallback(ImDrawListPtr self, ImDrawCallback callback, void* userdata, nuint userdataSize) - { - AddCallbackNative(self, callback, userdata, userdataSize); - } - - /// - /// To be documented. - /// - public static void AddCallback(ref ImDrawList self, ImDrawCallback callback, void* userdata, nuint userdataSize) - { - fixed (ImDrawList* pself = &self) - { - AddCallbackNative((ImDrawList*)pself, callback, userdata, userdataSize); - } - } - - /// - /// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering blending). Otherwise primitives are merged into the same draw-call as much as possible
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddDrawCmdNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[582])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[582])((nint)self); - #endif - } - - /// - /// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering blending). Otherwise primitives are merged into the same draw-call as much as possible
- ///
- public static void AddDrawCmd(ImDrawListPtr self) - { - AddDrawCmdNative(self); - } - - /// - /// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering blending). Otherwise primitives are merged into the same draw-call as much as possible
- ///
- public static void AddDrawCmd(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - AddDrawCmdNative((ImDrawList*)pself); - } - } - - /// - /// Create a clone of the CmdBufferIdxBufferVtxBuffer.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* CloneOutputNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[583])(self); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[583])((nint)self); - #endif - } - - /// - /// Create a clone of the CmdBufferIdxBufferVtxBuffer.
- ///
- public static ImDrawListPtr CloneOutput(ImDrawListPtr self) - { - ImDrawListPtr ret = CloneOutputNative(self); - return ret; - } - - /// - /// Create a clone of the CmdBufferIdxBufferVtxBuffer.
- ///
- public static ImDrawListPtr CloneOutput(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - ImDrawListPtr ret = CloneOutputNative((ImDrawList*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ChannelsSplitNative(ImDrawList* self, int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[584])(self, count); - #else - ((delegate* unmanaged[Cdecl])funcTable[584])((nint)self, count); - #endif - } - - /// - /// To be documented. - /// - public static void ChannelsSplit(ImDrawListPtr self, int count) - { - ChannelsSplitNative(self, count); - } - - /// - /// To be documented. - /// - public static void ChannelsSplit(ref ImDrawList self, int count) - { - fixed (ImDrawList* pself = &self) - { - ChannelsSplitNative((ImDrawList*)pself, count); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ChannelsMergeNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[585])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[585])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ChannelsMerge(ImDrawListPtr self) - { - ChannelsMergeNative(self); - } - - /// - /// To be documented. - /// - public static void ChannelsMerge(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - ChannelsMergeNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ChannelsSetCurrentNative(ImDrawList* self, int n) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[586])(self, n); - #else - ((delegate* unmanaged[Cdecl])funcTable[586])((nint)self, n); - #endif - } - - /// - /// To be documented. - /// - public static void ChannelsSetCurrent(ImDrawListPtr self, int n) - { - ChannelsSetCurrentNative(self, n); - } - - /// - /// To be documented. - /// - public static void ChannelsSetCurrent(ref ImDrawList self, int n) - { - fixed (ImDrawList* pself = &self) - { - ChannelsSetCurrentNative((ImDrawList*)pself, n); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimReserveNative(ImDrawList* self, int idxCount, int vtxCount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[587])(self, idxCount, vtxCount); - #else - ((delegate* unmanaged[Cdecl])funcTable[587])((nint)self, idxCount, vtxCount); - #endif - } - - /// - /// To be documented. - /// - public static void PrimReserve(ImDrawListPtr self, int idxCount, int vtxCount) - { - PrimReserveNative(self, idxCount, vtxCount); - } - - /// - /// To be documented. - /// - public static void PrimReserve(ref ImDrawList self, int idxCount, int vtxCount) - { - fixed (ImDrawList* pself = &self) - { - PrimReserveNative((ImDrawList*)pself, idxCount, vtxCount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimUnreserveNative(ImDrawList* self, int idxCount, int vtxCount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[588])(self, idxCount, vtxCount); - #else - ((delegate* unmanaged[Cdecl])funcTable[588])((nint)self, idxCount, vtxCount); - #endif - } - - /// - /// To be documented. - /// - public static void PrimUnreserve(ImDrawListPtr self, int idxCount, int vtxCount) - { - PrimUnreserveNative(self, idxCount, vtxCount); - } - - /// - /// To be documented. - /// - public static void PrimUnreserve(ref ImDrawList self, int idxCount, int vtxCount) - { - fixed (ImDrawList* pself = &self) - { - PrimUnreserveNative((ImDrawList*)pself, idxCount, vtxCount); - } - } - - /// - /// Axis aligned rectangle (composed of two triangles)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimRectNative(ImDrawList* self, Vector2 a, Vector2 b, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[589])(self, a, b, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[589])((nint)self, a, b, col); - #endif - } - - /// - /// Axis aligned rectangle (composed of two triangles)
- ///
- public static void PrimRect(ImDrawListPtr self, Vector2 a, Vector2 b, uint col) - { - PrimRectNative(self, a, b, col); - } - - /// - /// Axis aligned rectangle (composed of two triangles)
- ///
- public static void PrimRect(ref ImDrawList self, Vector2 a, Vector2 b, uint col) - { - fixed (ImDrawList* pself = &self) - { - PrimRectNative((ImDrawList*)pself, a, b, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimRectUVNative(ImDrawList* self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[590])(self, a, b, uvA, uvB, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[590])((nint)self, a, b, uvA, uvB, col); - #endif - } - - /// - /// To be documented. - /// - public static void PrimRectUV(ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) - { - PrimRectUVNative(self, a, b, uvA, uvB, col); - } - - /// - /// To be documented. - /// - public static void PrimRectUV(ref ImDrawList self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) - { - fixed (ImDrawList* pself = &self) - { - PrimRectUVNative((ImDrawList*)pself, a, b, uvA, uvB, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimQuadUVNative(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[591])(self, a, b, c, d, uvA, uvB, uvC, uvD, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[591])((nint)self, a, b, c, d, uvA, uvB, uvC, uvD, col); - #endif - } - - /// - /// To be documented. - /// - public static void PrimQuadUV(ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) - { - PrimQuadUVNative(self, a, b, c, d, uvA, uvB, uvC, uvD, col); - } - - /// - /// To be documented. - /// - public static void PrimQuadUV(ref ImDrawList self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) - { - fixed (ImDrawList* pself = &self) - { - PrimQuadUVNative((ImDrawList*)pself, a, b, c, d, uvA, uvB, uvC, uvD, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimWriteVtxNative(ImDrawList* self, Vector2 pos, Vector2 uv, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[592])(self, pos, uv, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[592])((nint)self, pos, uv, col); - #endif - } - - /// - /// To be documented. - /// - public static void PrimWriteVtx(ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col) - { - PrimWriteVtxNative(self, pos, uv, col); - } - - /// - /// To be documented. - /// - public static void PrimWriteVtx(ref ImDrawList self, Vector2 pos, Vector2 uv, uint col) - { - fixed (ImDrawList* pself = &self) - { - PrimWriteVtxNative((ImDrawList*)pself, pos, uv, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimWriteIdxNative(ImDrawList* self, ushort idx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[593])(self, idx); - #else - ((delegate* unmanaged[Cdecl])funcTable[593])((nint)self, idx); - #endif - } - - /// - /// To be documented. - /// - public static void PrimWriteIdx(ImDrawListPtr self, ushort idx) - { - PrimWriteIdxNative(self, idx); - } - - /// - /// To be documented. - /// - public static void PrimWriteIdx(ref ImDrawList self, ushort idx) - { - fixed (ImDrawList* pself = &self) - { - PrimWriteIdxNative((ImDrawList*)pself, idx); - } - } - - /// - /// Write vertex with unique index
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PrimVtxNative(ImDrawList* self, Vector2 pos, Vector2 uv, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[594])(self, pos, uv, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[594])((nint)self, pos, uv, col); - #endif - } - - /// - /// Write vertex with unique index
- ///
- public static void PrimVtx(ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col) - { - PrimVtxNative(self, pos, uv, col); - } - - /// - /// Write vertex with unique index
- ///
- public static void PrimVtx(ref ImDrawList self, Vector2 pos, Vector2 uv, uint col) - { - fixed (ImDrawList* pself = &self) - { - PrimVtxNative((ImDrawList*)pself, pos, uv, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _ResetForNewFrameNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[595])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[595])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _ResetForNewFrame(ImDrawListPtr self) - { - _ResetForNewFrameNative(self); - } - - /// - /// To be documented. - /// - public static void _ResetForNewFrame(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _ResetForNewFrameNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _ClearFreeMemoryNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[596])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[596])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _ClearFreeMemory(ImDrawListPtr self) - { - _ClearFreeMemoryNative(self); - } - - /// - /// To be documented. - /// - public static void _ClearFreeMemory(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _ClearFreeMemoryNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _PopUnusedDrawCmdNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[597])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[597])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _PopUnusedDrawCmd(ImDrawListPtr self) - { - _PopUnusedDrawCmdNative(self); - } - - /// - /// To be documented. - /// - public static void _PopUnusedDrawCmd(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _PopUnusedDrawCmdNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _TryMergeDrawCmdsNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[598])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[598])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _TryMergeDrawCmds(ImDrawListPtr self) - { - _TryMergeDrawCmdsNative(self); - } - - /// - /// To be documented. - /// - public static void _TryMergeDrawCmds(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _TryMergeDrawCmdsNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _OnChangedClipRectNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[599])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[599])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _OnChangedClipRect(ImDrawListPtr self) - { - _OnChangedClipRectNative(self); - } - - /// - /// To be documented. - /// - public static void _OnChangedClipRect(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _OnChangedClipRectNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _OnChangedTextureIDNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[600])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[600])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _OnChangedTextureID(ImDrawListPtr self) - { - _OnChangedTextureIDNative(self); - } - - /// - /// To be documented. - /// - public static void _OnChangedTextureID(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _OnChangedTextureIDNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _OnChangedVtxOffsetNative(ImDrawList* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[601])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[601])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void _OnChangedVtxOffset(ImDrawListPtr self) - { - _OnChangedVtxOffsetNative(self); - } - - /// - /// To be documented. - /// - public static void _OnChangedVtxOffset(ref ImDrawList self) - { - fixed (ImDrawList* pself = &self) - { - _OnChangedVtxOffsetNative((ImDrawList*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _SetTextureIDNative(ImDrawList* self, ImTextureID textureId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[602])(self, textureId); - #else - ((delegate* unmanaged[Cdecl])funcTable[602])((nint)self, textureId); - #endif - } - - /// - /// To be documented. - /// - public static void _SetTextureID(ImDrawListPtr self, ImTextureID textureId) - { - _SetTextureIDNative(self, textureId); - } - - /// - /// To be documented. - /// - public static void _SetTextureID(ref ImDrawList self, ImTextureID textureId) - { - fixed (ImDrawList* pself = &self) - { - _SetTextureIDNative((ImDrawList*)pself, textureId); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int _CalcCircleAutoSegmentCountNative(ImDrawList* self, float radius) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[603])(self, radius); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[603])((nint)self, radius); - #endif - } - - /// - /// To be documented. - /// - public static int _CalcCircleAutoSegmentCount(ImDrawListPtr self, float radius) - { - int ret = _CalcCircleAutoSegmentCountNative(self, radius); - return ret; - } - - /// - /// To be documented. - /// - public static int _CalcCircleAutoSegmentCount(ref ImDrawList self, float radius) - { - fixed (ImDrawList* pself = &self) - { - int ret = _CalcCircleAutoSegmentCountNative((ImDrawList*)pself, radius); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _PathArcToFastExNative(ImDrawList* self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[604])(self, center, radius, aMinSample, aMaxSample, aStep); - #else - ((delegate* unmanaged[Cdecl])funcTable[604])((nint)self, center, radius, aMinSample, aMaxSample, aStep); - #endif - } - - /// - /// To be documented. - /// - public static void _PathArcToFastEx(ImDrawListPtr self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) - { - _PathArcToFastExNative(self, center, radius, aMinSample, aMaxSample, aStep); - } - - /// - /// To be documented. - /// - public static void _PathArcToFastEx(ref ImDrawList self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) - { - fixed (ImDrawList* pself = &self) - { - _PathArcToFastExNative((ImDrawList*)pself, center, radius, aMinSample, aMaxSample, aStep); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _PathArcToNNative(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[605])(self, center, radius, aMin, aMax, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[605])((nint)self, center, radius, aMin, aMax, numSegments); - #endif - } - - /// - /// To be documented. - /// - public static void _PathArcToN(ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - _PathArcToNNative(self, center, radius, aMin, aMax, numSegments); - } - - /// - /// To be documented. - /// - public static void _PathArcToN(ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - fixed (ImDrawList* pself = &self) - { - _PathArcToNNative((ImDrawList*)pself, center, radius, aMin, aMax, numSegments); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawData* ImDrawDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[606])(); - #else - return (ImDrawData*)((delegate* unmanaged[Cdecl])funcTable[606])(); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawDataPtr ImDrawData() - { - ImDrawDataPtr ret = ImDrawDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImDrawData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[607])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[607])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImDrawDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImDrawData self) - { - fixed (ImDrawData* pself = &self) - { - DestroyNative((ImDrawData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImDrawData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[608])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[608])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImDrawDataPtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImDrawData self) - { - fixed (ImDrawData* pself = &self) - { - ClearNative((ImDrawData*)pself); - } - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddDrawListNative(ImDrawData* self, ImDrawList* drawList) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[609])(self, drawList); - #else - ((delegate* unmanaged[Cdecl])funcTable[609])((nint)self, (nint)drawList); - #endif - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public static void AddDrawList(ImDrawDataPtr self, ImDrawListPtr drawList) - { - AddDrawListNative(self, drawList); - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public static void AddDrawList(ref ImDrawData self, ImDrawListPtr drawList) - { - fixed (ImDrawData* pself = &self) - { - AddDrawListNative((ImDrawData*)pself, drawList); - } - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public static void AddDrawList(ImDrawDataPtr self, ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddDrawListNative(self, (ImDrawList*)pdrawList); - } - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public static void AddDrawList(ref ImDrawData self, ref ImDrawList drawList) - { - fixed (ImDrawData* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddDrawListNative((ImDrawData*)pself, (ImDrawList*)pdrawList); - } - } - } - - /// - /// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DeIndexAllBuffersNative(ImDrawData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[610])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[610])((nint)self); - #endif - } - - /// - /// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
- ///
- public static void DeIndexAllBuffers(ImDrawDataPtr self) - { - DeIndexAllBuffersNative(self); - } - - /// - /// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
- ///
- public static void DeIndexAllBuffers(ref ImDrawData self) - { - fixed (ImDrawData* pself = &self) - { - DeIndexAllBuffersNative((ImDrawData*)pself); - } - } - - /// - /// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScaleClipRectsNative(ImDrawData* self, Vector2 fbScale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[611])(self, fbScale); - #else - ((delegate* unmanaged[Cdecl])funcTable[611])((nint)self, fbScale); - #endif - } - - /// - /// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
- ///
- public static void ScaleClipRects(ImDrawDataPtr self, Vector2 fbScale) - { - ScaleClipRectsNative(self, fbScale); - } - - /// - /// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
- ///
- public static void ScaleClipRects(ref ImDrawData self, Vector2 fbScale) - { - fixed (ImDrawData* pself = &self) - { - ScaleClipRectsNative((ImDrawData*)pself, fbScale); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontConfig* ImFontConfigNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[612])(); - #else - return (ImFontConfig*)((delegate* unmanaged[Cdecl])funcTable[612])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontConfigPtr ImFontConfig() - { - ImFontConfigPtr ret = ImFontConfigNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImFontConfig* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[613])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[613])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImFontConfigPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImFontConfig self) - { - fixed (ImFontConfig* pself = &self) - { - DestroyNative((ImFontConfig*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilderNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[614])(); - #else - return (ImFontGlyphRangesBuilder*)((delegate* unmanaged[Cdecl])funcTable[614])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontGlyphRangesBuilderPtr ImFontGlyphRangesBuilder() - { - ImFontGlyphRangesBuilderPtr ret = ImFontGlyphRangesBuilderNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImFontGlyphRangesBuilder* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[615])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[615])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImFontGlyphRangesBuilderPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImFontGlyphRangesBuilder self) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - DestroyNative((ImFontGlyphRangesBuilder*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImFontGlyphRangesBuilder* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[616])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[616])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImFontGlyphRangesBuilderPtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImFontGlyphRangesBuilder self) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - ClearNative((ImFontGlyphRangesBuilder*)pself); - } - } - - /// - /// Get bit n in the array
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte GetBitNative(ImFontGlyphRangesBuilder* self, ulong n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[617])(self, n); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[617])((nint)self, n); - #endif - } - - /// - /// Get bit n in the array
- ///
- public static bool GetBit(ImFontGlyphRangesBuilderPtr self, ulong n) - { - byte ret = GetBitNative(self, n); - return ret != 0; - } - - /// - /// Get bit n in the array
- ///
- public static bool GetBit(ref ImFontGlyphRangesBuilder self, ulong n) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte ret = GetBitNative((ImFontGlyphRangesBuilder*)pself, n); - return ret != 0; - } - } - - /// - /// Get bit n in the array
- ///
- public static bool GetBit(ImFontGlyphRangesBuilderPtr self, nuint n) - { - byte ret = GetBitNative(self, n); - return ret != 0; - } - - /// - /// Get bit n in the array
- ///
- public static bool GetBit(ref ImFontGlyphRangesBuilder self, nuint n) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte ret = GetBitNative((ImFontGlyphRangesBuilder*)pself, n); - return ret != 0; - } - } - - /// - /// Set bit n in the array
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetBitNative(ImFontGlyphRangesBuilder* self, ulong n) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[618])(self, n); - #else - ((delegate* unmanaged[Cdecl])funcTable[618])((nint)self, n); - #endif - } - - /// - /// Set bit n in the array
- ///
- public static void SetBit(ImFontGlyphRangesBuilderPtr self, ulong n) - { - SetBitNative(self, n); - } - - /// - /// Set bit n in the array
- ///
- public static void SetBit(ref ImFontGlyphRangesBuilder self, ulong n) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - SetBitNative((ImFontGlyphRangesBuilder*)pself, n); - } - } - - /// - /// Set bit n in the array
- ///
- public static void SetBit(ImFontGlyphRangesBuilderPtr self, nuint n) - { - SetBitNative(self, n); - } - - /// - /// Set bit n in the array
- ///
- public static void SetBit(ref ImFontGlyphRangesBuilder self, nuint n) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - SetBitNative((ImFontGlyphRangesBuilder*)pself, n); - } - } - - /// - /// Add character
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddCharNative(ImFontGlyphRangesBuilder* self, uint c) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[619])(self, c); - #else - ((delegate* unmanaged[Cdecl])funcTable[619])((nint)self, c); - #endif - } - - /// - /// Add character
- ///
- public static void AddChar(ImFontGlyphRangesBuilderPtr self, uint c) - { - AddCharNative(self, c); - } - - /// - /// Add character
- ///
- public static void AddChar(ref ImFontGlyphRangesBuilder self, uint c) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - AddCharNative((ImFontGlyphRangesBuilder*)pself, c); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTextNative(ImFontGlyphRangesBuilder* self, byte* text, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[620])(self, text, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[620])((nint)self, (nint)text, (nint)textEnd); - #endif - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, byte* textEnd) - { - AddTextNative(self, text, textEnd); - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text) - { - AddTextNative(self, text, (byte*)(default)); - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, text, textEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)(default)); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - AddTextNative(self, (byte*)ptext, textEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text) - { - fixed (byte* ptext = &text) - { - AddTextNative(self, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - AddTextNative(self, (byte*)ptext, textEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - AddTextNative(self, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = &text) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, textEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = &text) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = text) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, textEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = text) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, string text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, string text) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, text, (byte*)ptextEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, text, (byte*)ptextEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, text, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, byte* text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImFontGlyphRangesBuilder*)pself, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative(self, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative(self, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative(self, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ImFontGlyphRangesBuilderPtr self, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative(self, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, string text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ref byte text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, ReadOnlySpan text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextNative((ImFontGlyphRangesBuilder*)pself, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, string text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public static void AddText(ref ImFontGlyphRangesBuilder self, string text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextNative((ImFontGlyphRangesBuilder*)pself, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddRangesNative(ImFontGlyphRangesBuilder* self, uint* ranges) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[621])(self, ranges); - #else - ((delegate* unmanaged[Cdecl])funcTable[621])((nint)self, (nint)ranges); - #endif - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public static void AddRanges(ImFontGlyphRangesBuilderPtr self, uint* ranges) - { - AddRangesNative(self, ranges); - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public static void AddRanges(ref ImFontGlyphRangesBuilder self, uint* ranges) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - AddRangesNative((ImFontGlyphRangesBuilder*)pself, ranges); - } - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public static void AddRanges(ImFontGlyphRangesBuilderPtr self, ref uint ranges) - { - fixed (uint* pranges = &ranges) - { - AddRangesNative(self, (uint*)pranges); - } - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public static void AddRanges(ref ImFontGlyphRangesBuilder self, ref uint ranges) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (uint* pranges = &ranges) - { - AddRangesNative((ImFontGlyphRangesBuilder*)pself, (uint*)pranges); - } - } - } - - /// - /// Output new ranges
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BuildRangesNative(ImFontGlyphRangesBuilder* self, ImVector* outRanges) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, void>)funcTable[622])(self, outRanges); - #else - ((delegate* unmanaged[Cdecl])funcTable[622])((nint)self, (nint)outRanges); - #endif - } - - /// - /// Output new ranges
- ///
- public static void BuildRanges(ImFontGlyphRangesBuilderPtr self, ImVector* outRanges) - { - BuildRangesNative(self, outRanges); - } - - /// - /// Output new ranges
- ///
- public static void BuildRanges(ref ImFontGlyphRangesBuilder self, ImVector* outRanges) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - BuildRangesNative((ImFontGlyphRangesBuilder*)pself, outRanges); - } - } - - /// - /// Output new ranges
- ///
- public static void BuildRanges(ImFontGlyphRangesBuilderPtr self, ref ImVector outRanges) - { - fixed (ImVector* poutRanges = &outRanges) - { - BuildRangesNative(self, (ImVector*)poutRanges); - } - } - - /// - /// Output new ranges
- ///
- public static void BuildRanges(ref ImFontGlyphRangesBuilder self, ref ImVector outRanges) - { - fixed (ImFontGlyphRangesBuilder* pself = &self) - { - fixed (ImVector* poutRanges = &outRanges) - { - BuildRangesNative((ImFontGlyphRangesBuilder*)pself, (ImVector*)poutRanges); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontAtlasCustomRect* ImFontAtlasCustomRectNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[623])(); - #else - return (ImFontAtlasCustomRect*)((delegate* unmanaged[Cdecl])funcTable[623])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontAtlasCustomRectPtr ImFontAtlasCustomRect() - { - ImFontAtlasCustomRectPtr ret = ImFontAtlasCustomRectNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImFontAtlasCustomRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[624])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[624])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImFontAtlasCustomRectPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImFontAtlasCustomRect self) - { - fixed (ImFontAtlasCustomRect* pself = &self) - { - DestroyNative((ImFontAtlasCustomRect*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPackedNative(ImFontAtlasCustomRect* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[625])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[625])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPacked(ImFontAtlasCustomRectPtr self) - { - byte ret = IsPackedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsPacked(ref ImFontAtlasCustomRect self) - { - fixed (ImFontAtlasCustomRect* pself = &self) - { - byte ret = IsPackedNative((ImFontAtlasCustomRect*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontAtlas* ImFontAtlasNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[626])(); - #else - return (ImFontAtlas*)((delegate* unmanaged[Cdecl])funcTable[626])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontAtlasPtr ImFontAtlas() - { - ImFontAtlasPtr ret = ImFontAtlasNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[627])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[627])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImFontAtlasPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - DestroyNative((ImFontAtlas*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* AddFontNative(ImFontAtlas* self, ImFontConfig* fontCfg) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[628])(self, fontCfg); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[628])((nint)self, (nint)fontCfg); - #endif - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFont(ImFontAtlasPtr self, ImFontConfigPtr fontCfg) - { - ImFontPtr ret = AddFontNative(self, fontCfg); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFont(ref ImFontAtlas self, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontNative((ImFontAtlas*)pself, fontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFont(ImFontAtlasPtr self, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontNative(self, (ImFontConfig*)pfontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFont(ref ImFontAtlas self, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontNative((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* AddFontDefaultNative(ImFontAtlas* self, ImFontConfig* fontCfg) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[629])(self, fontCfg); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[629])((nint)self, (nint)fontCfg); - #endif - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontDefault(ImFontAtlasPtr self, ImFontConfigPtr fontCfg) - { - ImFontPtr ret = AddFontDefaultNative(self, fontCfg); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontDefault(ImFontAtlasPtr self) - { - ImFontPtr ret = AddFontDefaultNative(self, (ImFontConfig*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontDefault(ref ImFontAtlas self, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, fontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontDefault(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, (ImFontConfig*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontDefault(ImFontAtlasPtr self, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontDefaultNative(self, (ImFontConfig*)pfontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontDefault(ref ImFontAtlas self, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontDefaultNative((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* AddFontFromFileTTFNative(ImFontAtlas* self, byte* filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[630])(self, filename, sizePixels, fontCfg, glyphRanges); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[630])((nint)self, (nint)filename, sizePixels, (nint)fontCfg, (nint)glyphRanges); - #endif - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, uint* glyphRanges) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, uint* glyphRanges) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ImFontAtlasPtr self, string filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// To be documented. - /// - public static ImFontPtr AddFontFromFileTTF(ref ImFontAtlas self, string filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromFileTTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* AddFontFromMemoryTTFNative(ImFontAtlas* self, void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[631])(self, fontData, fontDataSize, sizePixels, fontCfg, glyphRanges); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[631])((nint)self, (nint)fontData, fontDataSize, sizePixels, (nint)fontCfg, (nint)glyphRanges); - #endif - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ImFontConfigPtr fontCfg) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ImFontAtlasPtr self, void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative(self, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public static ImFontPtr AddFontFromMemoryTTF(ref ImFontAtlas self, void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryTTFNative((ImFontAtlas*)pself, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* AddFontFromMemoryCompressedTTFNative(ImFontAtlas* self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[632])(self, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, glyphRanges); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[632])((nint)self, (nint)compressedFontData, compressedFontDataSize, sizePixels, (nint)fontCfg, (nint)glyphRanges); - #endif - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfigPtr fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ImFontAtlasPtr self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative(self, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedTTF(ref ImFontAtlas self, void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedTTFNative((ImFontAtlas*)pself, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* AddFontFromMemoryCompressedBase85TTFNative(ImFontAtlas* self, byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[633])(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[633])((nint)self, (nint)compressedFontDatabase85, sizePixels, (nint)fontCfg, (nint)glyphRanges); - #endif - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.094.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.094.cs deleted file mode 100644 index 0883b7bd7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.094.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ImFontAtlasPtr self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative(self, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public static ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref ImFontAtlas self, string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = AddFontFromMemoryCompressedBase85TTFNative((ImFontAtlas*)pself, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearInputDataNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[634])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[634])((nint)self); - #endif - } - - /// - /// Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
- ///
- public static void ClearInputData(ImFontAtlasPtr self) - { - ClearInputDataNative(self); - } - - /// - /// Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
- ///
- public static void ClearInputData(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - ClearInputDataNative((ImFontAtlas*)pself); - } - } - - /// - /// Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearFontsNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[635])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[635])((nint)self); - #endif - } - - /// - /// Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates).
- ///
- public static void ClearFonts(ImFontAtlasPtr self) - { - ClearFontsNative(self); - } - - /// - /// Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates).
- ///
- public static void ClearFonts(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - ClearFontsNative((ImFontAtlas*)pself); - } - } - - /// - /// Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearTexDataNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[636])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[636])((nint)self); - #endif - } - - /// - /// Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.
- ///
- public static void ClearTexData(ImFontAtlasPtr self) - { - ClearTexDataNative(self); - } - - /// - /// Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.
- ///
- public static void ClearTexData(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - ClearTexDataNative((ImFontAtlas*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[637])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[637])((nint)self); - #endif - } - - /// - /// Clear all input and output.
- ///
- public static void Clear(ImFontAtlasPtr self) - { - ClearNative(self); - } - - /// - /// Clear all input and output.
- ///
- public static void Clear(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - ClearNative((ImFontAtlas*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BuildNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[638])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[638])((nint)self); - #endif - } - - /// - /// Build pixels data. This is called automatically for you by the GetTexData*** functions.
- ///
- public static bool Build(ImFontAtlasPtr self) - { - byte ret = BuildNative(self); - return ret != 0; - } - - /// - /// Build pixels data. This is called automatically for you by the GetTexData*** functions.
- ///
- public static bool Build(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - byte ret = BuildNative((ImFontAtlas*)pself); - return ret != 0; - } - } - - /// - /// 1 byte per-pixel
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetTexDataAsAlpha8Native(ImFontAtlas* self, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[639])(self, outPixels, outWidth, outHeight, outBytesPerPixel); - #else - ((delegate* unmanaged[Cdecl])funcTable[639])((nint)self, (nint)outPixels, (nint)outWidth, (nint)outHeight, (nint)outBytesPerPixel); - #endif - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, outPixels, outWidth, outHeight, outBytesPerPixel); - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, int* outWidth, int* outHeight) - { - GetTexDataAsAlpha8Native(self, outPixels, outWidth, outHeight, (int*)(default)); - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native(self, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native(self, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native(self, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public static void GetTexDataAsAlpha8(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsAlpha8Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetTexDataAsRGBA32Native(ImFontAtlas* self, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[640])(self, outPixels, outWidth, outHeight, outBytesPerPixel); - #else - ((delegate* unmanaged[Cdecl])funcTable[640])((nint)self, (nint)outPixels, (nint)outWidth, (nint)outHeight, (nint)outBytesPerPixel); - #endif - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, outPixels, outWidth, outHeight, outBytesPerPixel); - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, int* outWidth, int* outHeight) - { - GetTexDataAsRGBA32Native(self, outPixels, outWidth, outHeight, (int*)(default)); - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native(self, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native(self, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ImFontAtlasPtr self, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native(self, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public static void GetTexDataAsRGBA32(ref ImFontAtlas self, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - GetTexDataAsRGBA32Native((ImFontAtlas*)pself, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - } - - /// - /// Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsBuiltNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[641])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[641])((nint)self); - #endif - } - - /// - /// Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...
- ///
- public static bool IsBuilt(ImFontAtlasPtr self) - { - byte ret = IsBuiltNative(self); - return ret != 0; - } - - /// - /// Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...
- ///
- public static bool IsBuilt(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - byte ret = IsBuiltNative((ImFontAtlas*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetTexIDNative(ImFontAtlas* self, ImTextureID id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[642])(self, id); - #else - ((delegate* unmanaged[Cdecl])funcTable[642])((nint)self, id); - #endif - } - - /// - /// To be documented. - /// - public static void SetTexID(ImFontAtlasPtr self, ImTextureID id) - { - SetTexIDNative(self, id); - } - - /// - /// To be documented. - /// - public static void SetTexID(ref ImFontAtlas self, ImTextureID id) - { - fixed (ImFontAtlas* pself = &self) - { - SetTexIDNative((ImFontAtlas*)pself, id); - } - } - - /// - /// Basic Latin, Extended Latin
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesDefaultNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[643])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[643])((nint)self); - #endif - } - - /// - /// Basic Latin, Extended Latin
- ///
- public static uint* GetGlyphRangesDefault(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesDefaultNative(self); - return ret; - } - - /// - /// Basic Latin, Extended Latin
- ///
- public static uint* GetGlyphRangesDefault(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesDefaultNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Greek and Coptic
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesGreekNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[644])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[644])((nint)self); - #endif - } - - /// - /// Default + Greek and Coptic
- ///
- public static uint* GetGlyphRangesGreek(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesGreekNative(self); - return ret; - } - - /// - /// Default + Greek and Coptic
- ///
- public static uint* GetGlyphRangesGreek(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesGreekNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Korean characters
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesKoreanNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[645])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[645])((nint)self); - #endif - } - - /// - /// Default + Korean characters
- ///
- public static uint* GetGlyphRangesKorean(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesKoreanNative(self); - return ret; - } - - /// - /// Default + Korean characters
- ///
- public static uint* GetGlyphRangesKorean(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesKoreanNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesJapaneseNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[646])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[646])((nint)self); - #endif - } - - /// - /// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs
- ///
- public static uint* GetGlyphRangesJapanese(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesJapaneseNative(self); - return ret; - } - - /// - /// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs
- ///
- public static uint* GetGlyphRangesJapanese(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesJapaneseNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + full set of about 21000 CJK Unified Ideographs
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesChineseFullNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[647])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[647])((nint)self); - #endif - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + full set of about 21000 CJK Unified Ideographs
- ///
- public static uint* GetGlyphRangesChineseFull(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesChineseFullNative(self); - return ret; - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + full set of about 21000 CJK Unified Ideographs
- ///
- public static uint* GetGlyphRangesChineseFull(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesChineseFullNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + set of 2500 CJK Unified Ideographs for common simplified Chinese
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesChineseSimplifiedCommonNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[648])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[648])((nint)self); - #endif - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + set of 2500 CJK Unified Ideographs for common simplified Chinese
- ///
- public static uint* GetGlyphRangesChineseSimplifiedCommon(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesChineseSimplifiedCommonNative(self); - return ret; - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + set of 2500 CJK Unified Ideographs for common simplified Chinese
- ///
- public static uint* GetGlyphRangesChineseSimplifiedCommon(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesChineseSimplifiedCommonNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + about 400 Cyrillic characters
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesCyrillicNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[649])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[649])((nint)self); - #endif - } - - /// - /// Default + about 400 Cyrillic characters
- ///
- public static uint* GetGlyphRangesCyrillic(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesCyrillicNative(self); - return ret; - } - - /// - /// Default + about 400 Cyrillic characters
- ///
- public static uint* GetGlyphRangesCyrillic(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesCyrillicNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Thai characters
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesThaiNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[650])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[650])((nint)self); - #endif - } - - /// - /// Default + Thai characters
- ///
- public static uint* GetGlyphRangesThai(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesThaiNative(self); - return ret; - } - - /// - /// Default + Thai characters
- ///
- public static uint* GetGlyphRangesThai(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesThaiNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// Default + Vietnamese characters
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetGlyphRangesVietnameseNative(ImFontAtlas* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[651])(self); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[651])((nint)self); - #endif - } - - /// - /// Default + Vietnamese characters
- ///
- public static uint* GetGlyphRangesVietnamese(ImFontAtlasPtr self) - { - uint* ret = GetGlyphRangesVietnameseNative(self); - return ret; - } - - /// - /// Default + Vietnamese characters
- ///
- public static uint* GetGlyphRangesVietnamese(ref ImFontAtlas self) - { - fixed (ImFontAtlas* pself = &self) - { - uint* ret = GetGlyphRangesVietnameseNative((ImFontAtlas*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int AddCustomRectRegularNative(ImFontAtlas* self, int width, int height) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[652])(self, width, height); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[652])((nint)self, width, height); - #endif - } - - /// - /// To be documented. - /// - public static int AddCustomRectRegular(ImFontAtlasPtr self, int width, int height) - { - int ret = AddCustomRectRegularNative(self, width, height); - return ret; - } - - /// - /// To be documented. - /// - public static int AddCustomRectRegular(ref ImFontAtlas self, int width, int height) - { - fixed (ImFontAtlas* pself = &self) - { - int ret = AddCustomRectRegularNative((ImFontAtlas*)pself, width, height); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int AddCustomRectFontGlyphNative(ImFontAtlas* self, ImFont* font, uint id, int width, int height, float advanceX, Vector2 offset) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[653])(self, font, id, width, height, advanceX, offset); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[653])((nint)self, (nint)font, id, width, height, advanceX, offset); - #endif - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ImFontPtr font, uint id, int width, int height, float advanceX, Vector2 offset) - { - int ret = AddCustomRectFontGlyphNative(self, font, id, width, height, advanceX, offset); - return ret; - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ImFontPtr font, uint id, int width, int height, float advanceX) - { - int ret = AddCustomRectFontGlyphNative(self, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ImFontPtr font, uint id, int width, int height, float advanceX, Vector2 offset) - { - fixed (ImFontAtlas* pself = &self) - { - int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, font, id, width, height, advanceX, offset); - return ret; - } - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ImFontPtr font, uint id, int width, int height, float advanceX) - { - fixed (ImFontAtlas* pself = &self) - { - int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ref ImFont font, uint id, int width, int height, float advanceX, Vector2 offset) - { - fixed (ImFont* pfont = &font) - { - int ret = AddCustomRectFontGlyphNative(self, (ImFont*)pfont, id, width, height, advanceX, offset); - return ret; - } - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ImFontAtlasPtr self, ref ImFont font, uint id, int width, int height, float advanceX) - { - fixed (ImFont* pfont = &font) - { - int ret = AddCustomRectFontGlyphNative(self, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ref ImFont font, uint id, int width, int height, float advanceX, Vector2 offset) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFont* pfont = &font) - { - int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, offset); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int AddCustomRectFontGlyph(ref ImFontAtlas self, ref ImFont font, uint id, int width, int height, float advanceX) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFont* pfont = &font) - { - int ret = AddCustomRectFontGlyphNative((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontAtlasCustomRect* GetCustomRectByIndexNative(ImFontAtlas* self, int index) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[654])(self, index); - #else - return (ImFontAtlasCustomRect*)((delegate* unmanaged[Cdecl])funcTable[654])((nint)self, index); - #endif - } - - /// - /// To be documented. - /// - public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(ImFontAtlasPtr self, int index) - { - ImFontAtlasCustomRectPtr ret = GetCustomRectByIndexNative(self, index); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(ref ImFontAtlas self, int index) - { - fixed (ImFontAtlas* pself = &self) - { - ImFontAtlasCustomRectPtr ret = GetCustomRectByIndexNative((ImFontAtlas*)pself, index); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcCustomRectUVNative(ImFontAtlas* self, ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[655])(self, rect, outUvMin, outUvMax); - #else - ((delegate* unmanaged[Cdecl])funcTable[655])((nint)self, (nint)rect, (nint)outUvMin, (nint)outUvMax); - #endif - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax) - { - CalcCustomRectUVNative(self, rect, outUvMin, outUvMax); - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, rect, outUvMin, outUvMax); - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - CalcCustomRectUVNative(self, rect, (Vector2*)poutUvMin, outUvMax); - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, outUvMax); - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative(self, rect, outUvMin, (Vector2*)poutUvMax); - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, rect, outUvMin, (Vector2*)poutUvMax); - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative(self, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public static void CalcCustomRectUV(ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* pself = &self) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - CalcCustomRectUVNative((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* ImFontNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[656])(); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[656])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontPtr ImFont() - { - ImFontPtr ret = ImFontNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImFont* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[657])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[657])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImFontPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImFont self) - { - fixed (ImFont* pself = &self) - { - DestroyNative((ImFont*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontGlyph* FindGlyphNative(ImFont* self, uint c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[658])(self, c); - #else - return (ImFontGlyph*)((delegate* unmanaged[Cdecl])funcTable[658])((nint)self, c); - #endif - } - - /// - /// To be documented. - /// - public static ImFontGlyphPtr FindGlyph(ImFontPtr self, uint c) - { - ImFontGlyphPtr ret = FindGlyphNative(self, c); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontGlyphPtr FindGlyph(ref ImFont self, uint c) - { - fixed (ImFont* pself = &self) - { - ImFontGlyphPtr ret = FindGlyphNative((ImFont*)pself, c); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontGlyph* FindGlyphNoFallbackNative(ImFont* self, uint c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[659])(self, c); - #else - return (ImFontGlyph*)((delegate* unmanaged[Cdecl])funcTable[659])((nint)self, c); - #endif - } - - /// - /// To be documented. - /// - public static ImFontGlyphPtr FindGlyphNoFallback(ImFontPtr self, uint c) - { - ImFontGlyphPtr ret = FindGlyphNoFallbackNative(self, c); - return ret; - } - - /// - /// To be documented. - /// - public static ImFontGlyphPtr FindGlyphNoFallback(ref ImFont self, uint c) - { - fixed (ImFont* pself = &self) - { - ImFontGlyphPtr ret = FindGlyphNoFallbackNative((ImFont*)pself, c); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetCharAdvanceNative(ImFont* self, uint c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[660])(self, c); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[660])((nint)self, c); - #endif - } - - /// - /// To be documented. - /// - public static float GetCharAdvance(ImFontPtr self, uint c) - { - float ret = GetCharAdvanceNative(self, c); - return ret; - } - - /// - /// To be documented. - /// - public static float GetCharAdvance(ref ImFont self, uint c) - { - fixed (ImFont* pself = &self) - { - float ret = GetCharAdvanceNative((ImFont*)pself, c); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLoadedNative(ImFont* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[661])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[661])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLoaded(ImFontPtr self) - { - byte ret = IsLoadedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLoaded(ref ImFont self) - { - fixed (ImFont* pself = &self) - { - byte ret = IsLoadedNative((ImFont*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetDebugNameNative(ImFont* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[662])(self); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[662])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetDebugName(ImFontPtr self) - { - byte* ret = GetDebugNameNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static string GetDebugNameS(ImFontPtr self) - { - string ret = Utils.DecodeStringUTF8(GetDebugNameNative(self)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetDebugName(ref ImFont self) - { - fixed (ImFont* pself = &self) - { - byte* ret = GetDebugNameNative((ImFont*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetDebugNameS(ref ImFont self) - { - fixed (ImFont* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetDebugNameNative((ImFont*)pself)); - return ret; - } - } - - /// - /// utf8
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcTextSizeANative(Vector2* pOut, ImFont* self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[663])(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - #else - ((delegate* unmanaged[Cdecl])funcTable[663])((nint)pOut, (nint)self, size, maxWidth, wrapWidth, (nint)textBegin, (nint)textEnd, (nint)remaining); - #endif - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); - return ret; - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - return ret; - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin) - { - fixed (ImFont* pself = &self) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), remaining); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.095.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.095.cs deleted file mode 100644 index a521bb49f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.095.cs +++ /dev/null @@ -1,5046 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, remaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, remaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)(default)); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, byte** remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, remaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, textEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.096.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.096.cs deleted file mode 100644 index 982fe384c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.096.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, textEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)(default), (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, byte* textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, textEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)(default), (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, byte* textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, textBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - return ret; - } - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static Vector2 CalcTextSizeA(ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - Vector2 ret; - CalcTextSizeANative(&ret, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(ref Vector2 pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative((Vector2*)ppOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ImFontPtr self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, self, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, pStr1, (byte**)premaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ref byte textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, (byte*)ptextEnd, (byte**)premaining); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, ReadOnlySpan textBegin, string textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, (byte*)ptextBegin, pStr0, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ref byte textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// utf8
- ///
- public static void CalcTextSizeA(Vector2* pOut, ref ImFont self, float size, float maxWidth, float wrapWidth, string textBegin, ReadOnlySpan textEnd, ref byte* remaining) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (byte** premaining = &remaining) - { - CalcTextSizeANative(pOut, (ImFont*)pself, size, maxWidth, wrapWidth, pStr0, (byte*)ptextEnd, (byte**)premaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* CalcWordWrapPositionANative(ImFont* self, float scale, byte* text, byte* textEnd, float wrapWidth) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[664])(self, scale, text, textEnd, wrapWidth); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[664])((nint)self, scale, (nint)text, (nint)textEnd, wrapWidth); - #endif - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, byte* textEnd, float wrapWidth) - { - byte* ret = CalcWordWrapPositionANative(self, scale, text, textEnd, wrapWidth); - return ret; - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, byte* textEnd, float wrapWidth) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, textEnd, wrapWidth)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, textEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, textEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, textEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, textEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, textEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, textEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative(self, scale, text, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, text, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, byte* text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, text, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, byte* text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, text, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, pStr1, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, pStr1, wrapWidth)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ImFontPtr self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ImFontPtr self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative(self, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, pStr1, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, pStr1, wrapWidth)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* CalcWordWrapPositionA(ref ImFont self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte* ret = CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string CalcWordWrapPositionAS(ref ImFont self, float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(CalcWordWrapPositionANative((ImFont*)pself, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderCharNative(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, uint c) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[665])(self, drawList, size, pos, col, c); - #else - ((delegate* unmanaged[Cdecl])funcTable[665])((nint)self, (nint)drawList, size, pos, col, c); - #endif - } - - /// - /// To be documented. - /// - public static void RenderChar(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, uint c) - { - RenderCharNative(self, drawList, size, pos, col, c); - } - - /// - /// To be documented. - /// - public static void RenderChar(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, uint c) - { - fixed (ImFont* pself = &self) - { - RenderCharNative((ImFont*)pself, drawList, size, pos, col, c); - } - } - - /// - /// To be documented. - /// - public static void RenderChar(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, uint c) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderCharNative(self, (ImDrawList*)pdrawList, size, pos, col, c); - } - } - - /// - /// To be documented. - /// - public static void RenderChar(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, uint c) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderCharNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, c); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderTextNative(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, byte cpuFineClip) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[666])(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip); - #else - ((delegate* unmanaged[Cdecl])funcTable[666])((nint)self, (nint)drawList, size, pos, col, clipRect, (nint)textBegin, (nint)textEnd, wrapWidth, cpuFineClip); - #endif - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.097.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.097.cs deleted file mode 100644 index 2b05254ce..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.097.cs +++ /dev/null @@ -1,5048 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(self, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Functions/Functions.098.cs b/src/Hexa.NET.ImGui/Generated/Functions/Functions.098.cs deleted file mode 100644 index f22da06a4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Functions/Functions.098.cs +++ /dev/null @@ -1,1394 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* pself = &self) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BuildLookupTableNative(ImFont* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[667])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[667])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void BuildLookupTable(ImFontPtr self) - { - BuildLookupTableNative(self); - } - - /// - /// To be documented. - /// - public static void BuildLookupTable(ref ImFont self) - { - fixed (ImFont* pself = &self) - { - BuildLookupTableNative((ImFont*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearOutputDataNative(ImFont* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[668])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[668])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearOutputData(ImFontPtr self) - { - ClearOutputDataNative(self); - } - - /// - /// To be documented. - /// - public static void ClearOutputData(ref ImFont self) - { - fixed (ImFont* pself = &self) - { - ClearOutputDataNative((ImFont*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GrowIndexNative(ImFont* self, int newSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[669])(self, newSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[669])((nint)self, newSize); - #endif - } - - /// - /// To be documented. - /// - public static void GrowIndex(ImFontPtr self, int newSize) - { - GrowIndexNative(self, newSize); - } - - /// - /// To be documented. - /// - public static void GrowIndex(ref ImFont self, int newSize) - { - fixed (ImFont* pself = &self) - { - GrowIndexNative((ImFont*)pself, newSize); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddGlyphNative(ImFont* self, ImFontConfig* srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[670])(self, srcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - #else - ((delegate* unmanaged[Cdecl])funcTable[670])((nint)self, (nint)srcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - #endif - } - - /// - /// To be documented. - /// - public static void AddGlyph(ImFontPtr self, ImFontConfigPtr srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - AddGlyphNative(self, srcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - - /// - /// To be documented. - /// - public static void AddGlyph(ref ImFont self, ImFontConfigPtr srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - fixed (ImFont* pself = &self) - { - AddGlyphNative((ImFont*)pself, srcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - } - - /// - /// To be documented. - /// - public static void AddGlyph(ImFontPtr self, ref ImFontConfig srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - fixed (ImFontConfig* psrcCfg = &srcCfg) - { - AddGlyphNative(self, (ImFontConfig*)psrcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - } - - /// - /// To be documented. - /// - public static void AddGlyph(ref ImFont self, ref ImFontConfig srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - fixed (ImFont* pself = &self) - { - fixed (ImFontConfig* psrcCfg = &srcCfg) - { - AddGlyphNative((ImFont*)pself, (ImFontConfig*)psrcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - } - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddRemapCharNative(ImFont* self, uint dst, uint src, byte overwriteDst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[671])(self, dst, src, overwriteDst); - #else - ((delegate* unmanaged[Cdecl])funcTable[671])((nint)self, dst, src, overwriteDst); - #endif - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public static void AddRemapChar(ImFontPtr self, uint dst, uint src, bool overwriteDst) - { - AddRemapCharNative(self, dst, src, overwriteDst ? (byte)1 : (byte)0); - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public static void AddRemapChar(ImFontPtr self, uint dst, uint src) - { - AddRemapCharNative(self, dst, src, (byte)(1)); - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public static void AddRemapChar(ref ImFont self, uint dst, uint src, bool overwriteDst) - { - fixed (ImFont* pself = &self) - { - AddRemapCharNative((ImFont*)pself, dst, src, overwriteDst ? (byte)1 : (byte)0); - } - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public static void AddRemapChar(ref ImFont self, uint dst, uint src) - { - fixed (ImFont* pself = &self) - { - AddRemapCharNative((ImFont*)pself, dst, src, (byte)(1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsGlyphRangeUnusedNative(ImFont* self, uint cBegin, uint cLast) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[672])(self, cBegin, cLast); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[672])((nint)self, cBegin, cLast); - #endif - } - - /// - /// To be documented. - /// - public static bool IsGlyphRangeUnused(ImFontPtr self, uint cBegin, uint cLast) - { - byte ret = IsGlyphRangeUnusedNative(self, cBegin, cLast); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsGlyphRangeUnused(ref ImFont self, uint cBegin, uint cLast) - { - fixed (ImFont* pself = &self) - { - byte ret = IsGlyphRangeUnusedNative((ImFont*)pself, cBegin, cLast); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewport* ImGuiViewportNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[673])(); - #else - return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[673])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiViewportPtr ImGuiViewport() - { - ImGuiViewportPtr ret = ImGuiViewportNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiViewport* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[674])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[674])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiViewportPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiViewport self) - { - fixed (ImGuiViewport* pself = &self) - { - DestroyNative((ImGuiViewport*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetCenterNative(Vector2* pOut, ImGuiViewport* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[675])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[675])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetCenter(ImGuiViewportPtr self) - { - Vector2 ret; - GetCenterNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetCenter(Vector2* pOut, ImGuiViewportPtr self) - { - GetCenterNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetCenter(ref Vector2 pOut, ImGuiViewportPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetCenterNative((Vector2*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector2 GetCenter(ref ImGuiViewport self) - { - fixed (ImGuiViewport* pself = &self) - { - Vector2 ret; - GetCenterNative(&ret, (ImGuiViewport*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetCenter(Vector2* pOut, ref ImGuiViewport self) - { - fixed (ImGuiViewport* pself = &self) - { - GetCenterNative(pOut, (ImGuiViewport*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetCenter(ref Vector2 pOut, ref ImGuiViewport self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiViewport* pself = &self) - { - GetCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetWorkCenterNative(Vector2* pOut, ImGuiViewport* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[676])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[676])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetWorkCenter(ImGuiViewportPtr self) - { - Vector2 ret; - GetWorkCenterNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetWorkCenter(Vector2* pOut, ImGuiViewportPtr self) - { - GetWorkCenterNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetWorkCenter(ref Vector2 pOut, ImGuiViewportPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetWorkCenterNative((Vector2*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector2 GetWorkCenter(ref ImGuiViewport self) - { - fixed (ImGuiViewport* pself = &self) - { - Vector2 ret; - GetWorkCenterNative(&ret, (ImGuiViewport*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetWorkCenter(Vector2* pOut, ref ImGuiViewport self) - { - fixed (ImGuiViewport* pself = &self) - { - GetWorkCenterNative(pOut, (ImGuiViewport*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetWorkCenter(ref Vector2 pOut, ref ImGuiViewport self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiViewport* pself = &self) - { - GetWorkCenterNative((Vector2*)ppOut, (ImGuiViewport*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPlatformIO* ImGuiPlatformIONative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[677])(); - #else - return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[677])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPlatformIOPtr ImGuiPlatformIO() - { - ImGuiPlatformIOPtr ret = ImGuiPlatformIONative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiPlatformIO* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[678])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[678])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiPlatformIOPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiPlatformIO self) - { - fixed (ImGuiPlatformIO* pself = &self) - { - DestroyNative((ImGuiPlatformIO*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPlatformMonitor* ImGuiPlatformMonitorNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[679])(); - #else - return (ImGuiPlatformMonitor*)((delegate* unmanaged[Cdecl])funcTable[679])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPlatformMonitorPtr ImGuiPlatformMonitor() - { - ImGuiPlatformMonitorPtr ret = ImGuiPlatformMonitorNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiPlatformMonitor* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[680])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[680])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiPlatformMonitorPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiPlatformMonitor self) - { - fixed (ImGuiPlatformMonitor* pself = &self) - { - DestroyNative((ImGuiPlatformMonitor*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPlatformImeData* ImGuiPlatformImeDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[681])(); - #else - return (ImGuiPlatformImeData*)((delegate* unmanaged[Cdecl])funcTable[681])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPlatformImeDataPtr ImGuiPlatformImeData() - { - ImGuiPlatformImeDataPtr ret = ImGuiPlatformImeDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiPlatformImeData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[682])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[682])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiPlatformImeDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiPlatformImeData self) - { - fixed (ImGuiPlatformImeData* pself = &self) - { - DestroyNative((ImGuiPlatformImeData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontBuilderIO* GetBuilderForFreeTypeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[683])(); - #else - return (ImFontBuilderIO*)((delegate* unmanaged[Cdecl])funcTable[683])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontBuilderIOPtr GetBuilderForFreeType() - { - ImFontBuilderIOPtr ret = GetBuilderForFreeTypeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAllocatorFunctionsNative(delegate*, delegate*, void*, void*> allocFunc, delegate*, delegate*, void*, void> freeFunc, void* userData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], delegate*, void*, void*>, delegate*, delegate*, void*, void>, void*, void>)funcTable[684])(allocFunc, freeFunc, userData); - #else - ((delegate* unmanaged[Cdecl])funcTable[684])((nint)allocFunc, (nint)freeFunc, (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static void SetAllocatorFunctions(delegate*, delegate*, void*, void*> allocFunc, delegate*, delegate*, void*, void> freeFunc, void* userData) - { - SetAllocatorFunctionsNative(allocFunc, freeFunc, userData); - } - - /// - /// To be documented. - /// - public static void SetAllocatorFunctions(delegate*, delegate*, void*, void*> allocFunc, delegate*, delegate*, void*, void> freeFunc) - { - SetAllocatorFunctionsNative(allocFunc, freeFunc, (void*)(default)); - } - - /// - /// pass text data straight to log (without being displayed)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogTextNative(byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[685])(fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[685])((nint)fmt); - #endif - } - - /// - /// pass text data straight to log (without being displayed)
- ///
- public static void LogText(byte* fmt) - { - LogTextNative(fmt); - } - - /// - /// pass text data straight to log (without being displayed)
- ///
- public static void LogText(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - LogTextNative((byte*)pfmt); - } - } - - /// - /// pass text data straight to log (without being displayed)
- ///
- public static void LogText(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - LogTextNative((byte*)pfmt); - } - } - - /// - /// pass text data straight to log (without being displayed)
- ///
- public static void LogText(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogTextNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// no appendfV
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void appendfNative(ImGuiTextBuffer* self, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[686])(self, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[686])((nint)self, (nint)fmt); - #endif - } - - /// - /// no appendfV
- ///
- public static void appendf(ImGuiTextBufferPtr self, byte* fmt) - { - appendfNative(self, fmt); - } - - /// - /// no appendfV
- ///
- public static void appendf(ref ImGuiTextBuffer self, byte* fmt) - { - fixed (ImGuiTextBuffer* pself = &self) - { - appendfNative((ImGuiTextBuffer*)pself, fmt); - } - } - - /// - /// no appendfV
- ///
- public static void appendf(ImGuiTextBufferPtr self, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - appendfNative(self, (byte*)pfmt); - } - } - - /// - /// no appendfV
- ///
- public static void appendf(ImGuiTextBufferPtr self, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - appendfNative(self, (byte*)pfmt); - } - } - - /// - /// no appendfV
- ///
- public static void appendf(ImGuiTextBufferPtr self, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendfNative(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// no appendfV
- ///
- public static void appendf(ref ImGuiTextBuffer self, ref byte fmt) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pfmt = &fmt) - { - appendfNative((ImGuiTextBuffer*)pself, (byte*)pfmt); - } - } - } - - /// - /// no appendfV
- ///
- public static void appendf(ref ImGuiTextBuffer self, ReadOnlySpan fmt) - { - fixed (ImGuiTextBuffer* pself = &self) - { - fixed (byte* pfmt = fmt) - { - appendfNative((ImGuiTextBuffer*)pself, (byte*)pfmt); - } - } - } - - /// - /// no appendfV
- ///
- public static void appendf(ref ImGuiTextBuffer self, string fmt) - { - fixed (ImGuiTextBuffer* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendfNative((ImGuiTextBuffer*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// for getting FLT_MAX in bindings
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GETFLTMAXNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[687])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[687])(); - #endif - } - - /// - /// for getting FLT_MAX in bindings
- ///
- public static float GETFLTMAX() - { - float ret = GETFLTMAXNative(); - return ret; - } - - /// - /// for getting FLT_MIN in bindings
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GETFLTMINNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[688])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[688])(); - #endif - } - - /// - /// for getting FLT_MIN in bindings
- ///
- public static float GETFLTMIN() - { - float ret = GETFLTMINNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImVector* ImVectorImWcharCreateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl]*>)funcTable[689])(); - #else - return (ImVector*)((delegate* unmanaged[Cdecl])funcTable[689])(); - #endif - } - - /// - /// To be documented. - /// - public static ImVector* ImVectorImWcharCreate() - { - ImVector* ret = ImVectorImWcharCreateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImVectorImWcharDestroyNative(ImVector* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, void>)funcTable[690])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[690])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ImVectorImWcharDestroy(ImVector* self) - { - ImVectorImWcharDestroyNative(self); - } - - /// - /// To be documented. - /// - public static void ImVectorImWcharDestroy(ref ImVector self) - { - fixed (ImVector* pself = &self) - { - ImVectorImWcharDestroyNative((ImVector*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImVectorImWcharInitNative(ImVector* p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, void>)funcTable[691])(p); - #else - ((delegate* unmanaged[Cdecl])funcTable[691])((nint)p); - #endif - } - - /// - /// To be documented. - /// - public static void ImVectorImWcharInit(ImVector* p) - { - ImVectorImWcharInitNative(p); - } - - /// - /// To be documented. - /// - public static void ImVectorImWcharInit(ref ImVector p) - { - fixed (ImVector* pp = &p) - { - ImVectorImWcharInitNative((ImVector*)pp); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImVectorImWcharUnInitNative(ImVector* p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, void>)funcTable[692])(p); - #else - ((delegate* unmanaged[Cdecl])funcTable[692])((nint)p); - #endif - } - - /// - /// To be documented. - /// - public static void ImVectorImWcharUnInit(ImVector* p) - { - ImVectorImWcharUnInitNative(p); - } - - /// - /// To be documented. - /// - public static void ImVectorImWcharUnInit(ref ImVector p) - { - fixed (ImVector* pp = &p) - { - ImVectorImWcharUnInitNative((ImVector*)pp); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlatformIOSetPlatformGetWindowPosNative(ImGuiPlatformIO* platformIo, delegate*, void> userCallback) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void>, void>)funcTable[693])(platformIo, userCallback); - #else - ((delegate* unmanaged[Cdecl])funcTable[693])((nint)platformIo, (nint)userCallback); - #endif - } - - /// - /// To be documented. - /// - public static void PlatformIOSetPlatformGetWindowPos(ImGuiPlatformIOPtr platformIo, delegate*, void> userCallback) - { - PlatformIOSetPlatformGetWindowPosNative(platformIo, userCallback); - } - - /// - /// To be documented. - /// - public static void PlatformIOSetPlatformGetWindowPos(ref ImGuiPlatformIO platformIo, delegate*, void> userCallback) - { - fixed (ImGuiPlatformIO* pplatformIo = &platformIo) - { - PlatformIOSetPlatformGetWindowPosNative((ImGuiPlatformIO*)pplatformIo, userCallback); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlatformIOSetPlatformGetWindowSizeNative(ImGuiPlatformIO* platformIo, delegate*, void> userCallback) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void>, void>)funcTable[694])(platformIo, userCallback); - #else - ((delegate* unmanaged[Cdecl])funcTable[694])((nint)platformIo, (nint)userCallback); - #endif - } - - /// - /// To be documented. - /// - public static void PlatformIOSetPlatformGetWindowSize(ImGuiPlatformIOPtr platformIo, delegate*, void> userCallback) - { - PlatformIOSetPlatformGetWindowSizeNative(platformIo, userCallback); - } - - /// - /// To be documented. - /// - public static void PlatformIOSetPlatformGetWindowSize(ref ImGuiPlatformIO platformIo, delegate*, void> userCallback) - { - fixed (ImGuiPlatformIO* pplatformIo = &platformIo) - { - PlatformIOSetPlatformGetWindowSizeNative((ImGuiPlatformIO*)pplatformIo, userCallback); - } - } - - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Handles/ImBitArrayPtr.cs b/src/Hexa.NET.ImGui/Generated/Handles/ImBitArrayPtr.cs deleted file mode 100644 index 51045418f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Handles/ImBitArrayPtr.cs +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct ImBitArrayPtr : IEquatable - { - public ImBitArrayPtr(nint handle) { Handle = handle; } - public nint Handle { get; } - public bool IsNull => Handle == 0; - public static ImBitArrayPtr Null => new ImBitArrayPtr(0); - public static implicit operator ImBitArrayPtr(nint handle) => new ImBitArrayPtr(handle); - public static bool operator ==(ImBitArrayPtr left, ImBitArrayPtr right) => left.Handle == right.Handle; - public static bool operator !=(ImBitArrayPtr left, ImBitArrayPtr right) => left.Handle != right.Handle; - public static bool operator ==(ImBitArrayPtr left, nint right) => left.Handle == right; - public static bool operator !=(ImBitArrayPtr left, nint right) => left.Handle != right; - public bool Equals(ImBitArrayPtr other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is ImBitArrayPtr handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImBitArrayPtr [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Handles/ImFileHandle.cs b/src/Hexa.NET.ImGui/Generated/Handles/ImFileHandle.cs deleted file mode 100644 index c8401c325..000000000 --- a/src/Hexa.NET.ImGui/Generated/Handles/ImFileHandle.cs +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct ImFileHandle : IEquatable - { - public ImFileHandle(nint handle) { Handle = handle; } - public nint Handle { get; } - public bool IsNull => Handle == 0; - public static ImFileHandle Null => new ImFileHandle(0); - public static implicit operator ImFileHandle(nint handle) => new ImFileHandle(handle); - public static bool operator ==(ImFileHandle left, ImFileHandle right) => left.Handle == right.Handle; - public static bool operator !=(ImFileHandle left, ImFileHandle right) => left.Handle != right.Handle; - public static bool operator ==(ImFileHandle left, nint right) => left.Handle == right; - public static bool operator !=(ImFileHandle left, nint right) => left.Handle != right; - public bool Equals(ImFileHandle other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is ImFileHandle handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFileHandle [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs deleted file mode 100644 index cb4c85706..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN - { - /// - /// To be documented. - /// - public uint Storage_0; - public uint Storage_1; - public uint Storage_2; - public uint Storage_3; - public uint Storage_4; - - - /// - /// To be documented. - /// - public unsafe ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN(uint* storage = default) - { - if (storage != default(uint*)) - { - Storage_0 = storage[0]; - Storage_1 = storage[1]; - Storage_2 = storage[2]; - Storage_3 = storage[3]; - Storage_4 = storage[4]; - } - } - - /// - /// To be documented. - /// - public unsafe ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN(Span storage = default) - { - if (storage != default(Span)) - { - Storage_0 = storage[0]; - Storage_1 = storage[1]; - Storage_2 = storage[2]; - Storage_3 = storage[3]; - Storage_4 = storage[4]; - } - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImBitVector.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImBitVector.cs deleted file mode 100644 index 6c04cb53e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImBitVector.cs +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: ImBitVector
- /// Store 1-bit per value.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImBitVector - { - /// - /// To be documented. - /// - public ImVector Storage; - - - /// - /// To be documented. - /// - public unsafe ImBitVector(ImVector storage = default) - { - Storage = storage; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImBitVectorPtr : IEquatable - { - public ImBitVectorPtr(ImBitVector* handle) { Handle = handle; } - - public ImBitVector* Handle; - - public bool IsNull => Handle == null; - - public static ImBitVectorPtr Null => new ImBitVectorPtr(null); - - public ImBitVector this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImBitVectorPtr(ImBitVector* handle) => new ImBitVectorPtr(handle); - - public static implicit operator ImBitVector*(ImBitVectorPtr handle) => handle.Handle; - - public static bool operator ==(ImBitVectorPtr left, ImBitVectorPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImBitVectorPtr left, ImBitVectorPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImBitVectorPtr left, ImBitVector* right) => left.Handle == right; - - public static bool operator !=(ImBitVectorPtr left, ImBitVector* right) => left.Handle != right; - - public bool Equals(ImBitVectorPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImBitVectorPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImBitVectorPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Storage => ref Unsafe.AsRef>(&Handle->Storage); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs deleted file mode 100644 index 53079b68e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiTableSettings.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImChunkStreamImGuiTableSettings - { - /// - /// To be documented. - /// - public ImVector Buf; - - - /// - /// To be documented. - /// - public unsafe ImChunkStreamImGuiTableSettings(ImVector buf = default) - { - Buf = buf; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs deleted file mode 100644 index f548ec620..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImChunkStreamImGuiWindowSettings.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImChunkStreamImGuiWindowSettings - { - /// - /// To be documented. - /// - public ImVector Buf; - - - /// - /// To be documented. - /// - public unsafe ImChunkStreamImGuiWindowSettings(ImVector buf = default) - { - Buf = buf; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImColor.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImColor.cs deleted file mode 100644 index 5f3b44705..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImColor.cs +++ /dev/null @@ -1,195 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helpers: ImVec2ImVec4 operators
- /// - It is important that we are keeping those disabled by default so they don't leak in user space.
- /// - This is in order to allow user enabling implicit cast operators between ImVec2ImVec4 and their own types (using IM_VEC2_CLASS_EXTRA in imconfig.h)
- /// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4.
- /// - We intentionally provide ImVec2*float but not float*ImVec2: this is rare enough and we want to reduce the surface for possible user mistake.
- /// Helpers macros to generate 32-bit encoded colors
- /// - User can declare their own format by #defining the 5 _SHIFT_MASK macros in their imconfig file.
- /// - Any setting other than the default will need custom backend support. The only standard backend that supports anything else than the default is DirectX9.
- /// Helper: ImColor() implicitly converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)
- /// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API.
- /// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.
- /// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImColor - { - /// - /// To be documented. - /// - public Vector4 Value; - - - /// - /// To be documented. - /// - public unsafe ImColor(Vector4 value = default) - { - Value = value; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImColor* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void HSV(float h, float s, float v, float a) - { - fixed (ImColor* @this = &this) - { - ImGui.HSVNative(@this, h, s, v, a); - } - } - - /// - /// To be documented. - /// - public unsafe void HSV(float h, float s, float v) - { - fixed (ImColor* @this = &this) - { - ImGui.HSVNative(@this, h, s, v, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void SetHSV(float h, float s, float v, float a) - { - fixed (ImColor* @this = &this) - { - ImGui.SetHSVNative(@this, h, s, v, a); - } - } - - /// - /// To be documented. - /// - public unsafe void SetHSV(float h, float s, float v) - { - fixed (ImColor* @this = &this) - { - ImGui.SetHSVNative(@this, h, s, v, (float)(1.0f)); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImColorPtr : IEquatable - { - public ImColorPtr(ImColor* handle) { Handle = handle; } - - public ImColor* Handle; - - public bool IsNull => Handle == null; - - public static ImColorPtr Null => new ImColorPtr(null); - - public ImColor this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImColorPtr(ImColor* handle) => new ImColorPtr(handle); - - public static implicit operator ImColor*(ImColorPtr handle) => handle.Handle; - - public static bool operator ==(ImColorPtr left, ImColorPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImColorPtr left, ImColorPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImColorPtr left, ImColor* right) => left.Handle == right; - - public static bool operator !=(ImColorPtr left, ImColor* right) => left.Handle != right; - - public bool Equals(ImColorPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImColorPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImColorPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector4 Value => ref Unsafe.AsRef(&Handle->Value); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void HSV(float h, float s, float v, float a) - { - ImGui.HSVNative(Handle, h, s, v, a); - } - - /// - /// To be documented. - /// - public unsafe void HSV(float h, float s, float v) - { - ImGui.HSVNative(Handle, h, s, v, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void SetHSV(float h, float s, float v, float a) - { - ImGui.SetHSVNative(Handle, h, s, v, a); - } - - /// - /// To be documented. - /// - public unsafe void SetHSV(float h, float s, float v) - { - ImGui.SetHSVNative(Handle, h, s, v, (float)(1.0f)); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawChannel.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawChannel.cs deleted file mode 100644 index 8326b08db..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawChannel.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [Internal] For use by ImDrawListSplitter
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawChannel - { - /// - /// To be documented. - /// - public ImVector CmdBuffer; - - /// - /// To be documented. - /// - public ImVector IdxBuffer; - - - /// - /// To be documented. - /// - public unsafe ImDrawChannel(ImVector cmdBuffer = default, ImVector idxBuffer = default) - { - CmdBuffer = cmdBuffer; - IdxBuffer = idxBuffer; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawChannelPtr : IEquatable - { - public ImDrawChannelPtr(ImDrawChannel* handle) { Handle = handle; } - - public ImDrawChannel* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawChannelPtr Null => new ImDrawChannelPtr(null); - - public ImDrawChannel this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawChannelPtr(ImDrawChannel* handle) => new ImDrawChannelPtr(handle); - - public static implicit operator ImDrawChannel*(ImDrawChannelPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawChannelPtr left, ImDrawChannelPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawChannelPtr left, ImDrawChannelPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawChannelPtr left, ImDrawChannel* right) => left.Handle == right; - - public static bool operator !=(ImDrawChannelPtr left, ImDrawChannel* right) => left.Handle != right; - - public bool Equals(ImDrawChannelPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawChannelPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawChannelPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector CmdBuffer => ref Unsafe.AsRef>(&Handle->CmdBuffer); - /// - /// To be documented. - /// - public ref ImVector IdxBuffer => ref Unsafe.AsRef>(&Handle->IdxBuffer); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmd.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmd.cs deleted file mode 100644 index 68d645dbb..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmd.cs +++ /dev/null @@ -1,212 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Typically, 1 command = 1 GPU draw call (unless command is a callback)
- /// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled,
- /// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices.
- /// Backends made for <1.71. will typically ignore the VtxOffset fields.
- /// - The ClipRectTextureIdVtxOffset fields must be contiguous as we memcmp() them together (this is asserted for).
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawCmd - { - /// - /// To be documented. - /// - public Vector4 ClipRect; - - /// - /// To be documented. - /// - public ImTextureID TextureId; - - /// - /// To be documented. - /// - public uint VtxOffset; - - /// - /// To be documented. - /// - public uint IdxOffset; - - /// - /// To be documented. - /// - public uint ElemCount; - - /// - /// To be documented. - /// - public unsafe void* UserCallback; - /// - /// To be documented. - /// - public unsafe void* UserCallbackData; - - /// - /// To be documented. - /// - public int UserCallbackDataSize; - - /// - /// To be documented. - /// - public int UserCallbackDataOffset; - - - /// - /// To be documented. - /// - public unsafe ImDrawCmd(Vector4 clipRect = default, ImTextureID textureId = default, uint vtxOffset = default, uint idxOffset = default, uint elemCount = default, ImDrawCallback userCallback = default, void* userCallbackData = default, int userCallbackDataSize = default, int userCallbackDataOffset = default) - { - ClipRect = clipRect; - TextureId = textureId; - VtxOffset = vtxOffset; - IdxOffset = idxOffset; - ElemCount = elemCount; - UserCallback = (void*)Marshal.GetFunctionPointerForDelegate(userCallback); - UserCallbackData = userCallbackData; - UserCallbackDataSize = userCallbackDataSize; - UserCallbackDataOffset = userCallbackDataOffset; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImDrawCmd* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe ImTextureID GetTexID() - { - fixed (ImDrawCmd* @this = &this) - { - ImTextureID ret = ImGui.GetTexIDNative(@this); - return ret; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawCmdPtr : IEquatable - { - public ImDrawCmdPtr(ImDrawCmd* handle) { Handle = handle; } - - public ImDrawCmd* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawCmdPtr Null => new ImDrawCmdPtr(null); - - public ImDrawCmd this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawCmdPtr(ImDrawCmd* handle) => new ImDrawCmdPtr(handle); - - public static implicit operator ImDrawCmd*(ImDrawCmdPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawCmdPtr left, ImDrawCmdPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawCmdPtr left, ImDrawCmdPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawCmdPtr left, ImDrawCmd* right) => left.Handle == right; - - public static bool operator !=(ImDrawCmdPtr left, ImDrawCmd* right) => left.Handle != right; - - public bool Equals(ImDrawCmdPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawCmdPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawCmdPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector4 ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); - /// - /// To be documented. - /// - public ref ImTextureID TextureId => ref Unsafe.AsRef(&Handle->TextureId); - /// - /// To be documented. - /// - public ref uint VtxOffset => ref Unsafe.AsRef(&Handle->VtxOffset); - /// - /// To be documented. - /// - public ref uint IdxOffset => ref Unsafe.AsRef(&Handle->IdxOffset); - /// - /// To be documented. - /// - public ref uint ElemCount => ref Unsafe.AsRef(&Handle->ElemCount); - /// - /// To be documented. - /// - public void* UserCallback { get => Handle->UserCallback; set => Handle->UserCallback = value; } - /// - /// To be documented. - /// - public void* UserCallbackData { get => Handle->UserCallbackData; set => Handle->UserCallbackData = value; } - /// - /// To be documented. - /// - public ref int UserCallbackDataSize => ref Unsafe.AsRef(&Handle->UserCallbackDataSize); - /// - /// To be documented. - /// - public ref int UserCallbackDataOffset => ref Unsafe.AsRef(&Handle->UserCallbackDataOffset); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe ImTextureID GetTexID() - { - ImTextureID ret = ImGui.GetTexIDNative(Handle); - return ret; - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmdHeader.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmdHeader.cs deleted file mode 100644 index 1a9930d29..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawCmdHeader.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [Internal] For use by ImDrawList
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawCmdHeader - { - /// - /// To be documented. - /// - public Vector4 ClipRect; - - /// - /// To be documented. - /// - public ImTextureID TextureId; - - /// - /// To be documented. - /// - public uint VtxOffset; - - - /// - /// To be documented. - /// - public unsafe ImDrawCmdHeader(Vector4 clipRect = default, ImTextureID textureId = default, uint vtxOffset = default) - { - ClipRect = clipRect; - TextureId = textureId; - VtxOffset = vtxOffset; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawData.cs deleted file mode 100644 index 8cf833200..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawData.cs +++ /dev/null @@ -1,291 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// All draw data to render a Dear ImGui frame
- /// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose,
- /// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawData - { - /// - /// To be documented. - /// - public byte Valid; - - /// - /// To be documented. - /// - public int CmdListsCount; - - /// - /// To be documented. - /// - public int TotalIdxCount; - - /// - /// To be documented. - /// - public int TotalVtxCount; - - /// - /// To be documented. - /// - public ImVector CmdLists; - - /// - /// To be documented. - /// - public Vector2 DisplayPos; - - /// - /// To be documented. - /// - public Vector2 DisplaySize; - - /// - /// To be documented. - /// - public Vector2 FramebufferScale; - - /// - /// To be documented. - /// - public unsafe ImGuiViewport* OwnerViewport; - - - /// - /// To be documented. - /// - public unsafe ImDrawData(bool valid = default, int cmdListsCount = default, int totalIdxCount = default, int totalVtxCount = default, ImVector cmdLists = default, Vector2 displayPos = default, Vector2 displaySize = default, Vector2 framebufferScale = default, ImGuiViewport* ownerViewport = default) - { - Valid = valid ? (byte)1 : (byte)0; - CmdListsCount = cmdListsCount; - TotalIdxCount = totalIdxCount; - TotalVtxCount = totalVtxCount; - CmdLists = cmdLists; - DisplayPos = displayPos; - DisplaySize = displaySize; - FramebufferScale = framebufferScale; - OwnerViewport = ownerViewport; - } - - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public unsafe void AddDrawList(ImDrawListPtr drawList) - { - fixed (ImDrawData* @this = &this) - { - ImGui.AddDrawListNative(@this, drawList); - } - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public unsafe void AddDrawList(ref ImDrawList drawList) - { - fixed (ImDrawData* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.AddDrawListNative(@this, (ImDrawList*)pdrawList); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - fixed (ImDrawData* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
- ///
- public unsafe void DeIndexAllBuffers() - { - fixed (ImDrawData* @this = &this) - { - ImGui.DeIndexAllBuffersNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImDrawData* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
- ///
- public unsafe void ScaleClipRects(Vector2 fbScale) - { - fixed (ImDrawData* @this = &this) - { - ImGui.ScaleClipRectsNative(@this, fbScale); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawDataPtr : IEquatable - { - public ImDrawDataPtr(ImDrawData* handle) { Handle = handle; } - - public ImDrawData* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawDataPtr Null => new ImDrawDataPtr(null); - - public ImDrawData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawDataPtr(ImDrawData* handle) => new ImDrawDataPtr(handle); - - public static implicit operator ImDrawData*(ImDrawDataPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawDataPtr left, ImDrawDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawDataPtr left, ImDrawDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawDataPtr left, ImDrawData* right) => left.Handle == right; - - public static bool operator !=(ImDrawDataPtr left, ImDrawData* right) => left.Handle != right; - - public bool Equals(ImDrawDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref bool Valid => ref Unsafe.AsRef(&Handle->Valid); - /// - /// To be documented. - /// - public ref int CmdListsCount => ref Unsafe.AsRef(&Handle->CmdListsCount); - /// - /// To be documented. - /// - public ref int TotalIdxCount => ref Unsafe.AsRef(&Handle->TotalIdxCount); - /// - /// To be documented. - /// - public ref int TotalVtxCount => ref Unsafe.AsRef(&Handle->TotalVtxCount); - /// - /// To be documented. - /// - public ref ImVector CmdLists => ref Unsafe.AsRef>(&Handle->CmdLists); - /// - /// To be documented. - /// - public ref Vector2 DisplayPos => ref Unsafe.AsRef(&Handle->DisplayPos); - /// - /// To be documented. - /// - public ref Vector2 DisplaySize => ref Unsafe.AsRef(&Handle->DisplaySize); - /// - /// To be documented. - /// - public ref Vector2 FramebufferScale => ref Unsafe.AsRef(&Handle->FramebufferScale); - /// - /// To be documented. - /// - public ref ImGuiViewportPtr OwnerViewport => ref Unsafe.AsRef(&Handle->OwnerViewport); - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public unsafe void AddDrawList(ImDrawListPtr drawList) - { - ImGui.AddDrawListNative(Handle, drawList); - } - - /// - /// Helper to add an external draw list into an existing ImDrawData.
- ///
- public unsafe void AddDrawList(ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.AddDrawListNative(Handle, (ImDrawList*)pdrawList); - } - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
- ///
- public unsafe void DeIndexAllBuffers() - { - ImGui.DeIndexAllBuffersNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution.
- ///
- public unsafe void ScaleClipRects(Vector2 fbScale) - { - ImGui.ScaleClipRectsNative(Handle, fbScale); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawDataBuilder.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawDataBuilder.cs deleted file mode 100644 index 0891b46bd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawDataBuilder.cs +++ /dev/null @@ -1,130 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawDataBuilder - { - /// - /// To be documented. - /// - public unsafe ImVector* Layers_0; - public unsafe ImVector* Layers_1; - - /// - /// To be documented. - /// - public ImVector LayerData1; - - - /// - /// To be documented. - /// - public unsafe ImDrawDataBuilder(ImVector** layers = default, ImVector layerData1 = default) - { - if (layers != default(ImVector**)) - { - Layers_0 = layers[0]; - Layers_1 = layers[1]; - } - LayerData1 = layerData1; - } - - /// - /// To be documented. - /// - public unsafe ImDrawDataBuilder(Span>> layers = default, ImVector layerData1 = default) - { - if (layers != default(Span>>)) - { - Layers_0 = layers[0]; - Layers_1 = layers[1]; - } - LayerData1 = layerData1; - } - - - /// - /// To be documented. - /// - public unsafe Span>> Layers - - { - get - { - fixed (ImVector** p = &this.Layers_0) - { - return new Span>>(p, 2); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawDataBuilderPtr : IEquatable - { - public ImDrawDataBuilderPtr(ImDrawDataBuilder* handle) { Handle = handle; } - - public ImDrawDataBuilder* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawDataBuilderPtr Null => new ImDrawDataBuilderPtr(null); - - public ImDrawDataBuilder this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawDataBuilderPtr(ImDrawDataBuilder* handle) => new ImDrawDataBuilderPtr(handle); - - public static implicit operator ImDrawDataBuilder*(ImDrawDataBuilderPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawDataBuilderPtr left, ImDrawDataBuilderPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawDataBuilderPtr left, ImDrawDataBuilderPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawDataBuilderPtr left, ImDrawDataBuilder* right) => left.Handle == right; - - public static bool operator !=(ImDrawDataBuilderPtr left, ImDrawDataBuilder* right) => left.Handle != right; - - public bool Equals(ImDrawDataBuilderPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawDataBuilderPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawDataBuilderPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - /// - /// To be documented. - /// - public ref ImVector LayerData1 => ref Unsafe.AsRef>(&Handle->LayerData1); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawList.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawList.cs deleted file mode 100644 index 4f34361fe..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawList.cs +++ /dev/null @@ -1,15126 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Draw command list
- /// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame,
- /// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering.
- /// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to
- /// access the current window draw list and draw custom primitives.
- /// You can interleave normal ImGui:: calls and adding primitives to the current draw list.
- /// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize).
- /// You are totally free to apply whatever transformation matrix you want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!)
- /// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawList - { - /// - /// To be documented. - /// - public ImVector CmdBuffer; - - /// - /// To be documented. - /// - public ImVector IdxBuffer; - - /// - /// To be documented. - /// - public ImVector VtxBuffer; - - /// - /// To be documented. - /// - public ImDrawListFlags Flags; - - /// - /// To be documented. - /// - public uint VtxCurrentIdx; - - /// - /// To be documented. - /// - public unsafe ImDrawListSharedData* Data; - - /// - /// To be documented. - /// - public unsafe ImDrawVert* VtxWritePtr; - - /// - /// To be documented. - /// - public unsafe ushort* IdxWritePtr; - - /// - /// To be documented. - /// - public ImVector Path; - - /// - /// To be documented. - /// - public ImDrawCmdHeader CmdHeader; - - /// - /// To be documented. - /// - public ImDrawListSplitter Splitter; - - /// - /// To be documented. - /// - public ImVector ClipRectStack; - - /// - /// To be documented. - /// - public ImVector TextureIdStack; - - /// - /// To be documented. - /// - public ImVector CallbacksDataBuf; - - /// - /// To be documented. - /// - public float FringeScale; - - /// - /// To be documented. - /// - public unsafe byte* OwnerName; - - - /// - /// To be documented. - /// - public unsafe ImDrawList(ImVector cmdBuffer = default, ImVector idxBuffer = default, ImVector vtxBuffer = default, ImDrawListFlags flags = default, uint vtxCurrentIdx = default, ImDrawListSharedData* data = default, ImDrawVert* vtxWritePtr = default, ushort* idxWritePtr = default, ImVector path = default, ImDrawCmdHeader cmdHeader = default, ImDrawListSplitter splitter = default, ImVector clipRectStack = default, ImVector textureIdStack = default, ImVector callbacksDataBuf = default, float fringeScale = default, byte* ownerName = default) - { - CmdBuffer = cmdBuffer; - IdxBuffer = idxBuffer; - VtxBuffer = vtxBuffer; - Flags = flags; - VtxCurrentIdx = vtxCurrentIdx; - Data = data; - VtxWritePtr = vtxWritePtr; - IdxWritePtr = idxWritePtr; - Path = path; - CmdHeader = cmdHeader; - Splitter = splitter; - ClipRectStack = clipRectStack; - TextureIdStack = textureIdStack; - CallbacksDataBuf = callbacksDataBuf; - FringeScale = fringeScale; - OwnerName = ownerName; - } - - - /// - /// To be documented. - /// - public unsafe int _CalcCircleAutoSegmentCount(float radius) - { - fixed (ImDrawList* @this = &this) - { - int ret = ImGui._CalcCircleAutoSegmentCountNative(@this, radius); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void _ClearFreeMemory() - { - fixed (ImDrawList* @this = &this) - { - ImGui._ClearFreeMemoryNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void _OnChangedClipRect() - { - fixed (ImDrawList* @this = &this) - { - ImGui._OnChangedClipRectNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void _OnChangedTextureID() - { - fixed (ImDrawList* @this = &this) - { - ImGui._OnChangedTextureIDNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void _OnChangedVtxOffset() - { - fixed (ImDrawList* @this = &this) - { - ImGui._OnChangedVtxOffsetNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) - { - fixed (ImDrawList* @this = &this) - { - ImGui._PathArcToFastExNative(@this, center, radius, aMinSample, aMaxSample, aStep); - } - } - - /// - /// To be documented. - /// - public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui._PathArcToNNative(@this, center, radius, aMin, aMax, numSegments); - } - } - - /// - /// To be documented. - /// - public unsafe void _PopUnusedDrawCmd() - { - fixed (ImDrawList* @this = &this) - { - ImGui._PopUnusedDrawCmdNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void _ResetForNewFrame() - { - fixed (ImDrawList* @this = &this) - { - ImGui._ResetForNewFrameNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void _SetTextureID(ImTextureID textureId) - { - fixed (ImDrawList* @this = &this) - { - ImGui._SetTextureIDNative(@this, textureId); - } - } - - /// - /// To be documented. - /// - public unsafe void _TryMergeDrawCmds() - { - fixed (ImDrawList* @this = &this) - { - ImGui._TryMergeDrawCmdsNative(@this); - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddBezierCubicNative(@this, p1, p2, p3, p4, col, thickness, numSegments); - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddBezierCubicNative(@this, p1, p2, p3, p4, col, thickness, (int)(0)); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddBezierQuadraticNative(@this, p1, p2, p3, col, thickness, numSegments); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddBezierQuadraticNative(@this, p1, p2, p3, col, thickness, (int)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCallback(ImDrawCallback callback, void* userdata, ulong userdataSize) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCallbackNative(@this, callback, userdata, userdataSize); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCallback(ImDrawCallback callback, void* userdata) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCallbackNative(@this, callback, userdata, (ulong)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCallback(ImDrawCallback callback, void* userdata, nuint userdataSize) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCallbackNative(@this, callback, userdata, userdataSize); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCircleNative(@this, center, radius, col, numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCircleNative(@this, center, radius, col, numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCircleNative(@this, center, radius, col, (int)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCircleNative(@this, center, radius, col, (int)(0), thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCircleFilledNative(@this, center, radius, col, numSegments); - } - } - - /// - /// To be documented. - /// - public unsafe void AddCircleFilled(Vector2 center, float radius, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddCircleFilledNative(@this, center, radius, col, (int)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddConcavePolyFilled(Vector2* points, int numPoints, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddConcavePolyFilledNative(@this, points, numPoints, col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddConcavePolyFilled(ref Vector2 points, int numPoints, uint col) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector2* ppoints = &points) - { - ImGui.AddConcavePolyFilledNative(@this, (Vector2*)ppoints, numPoints, col); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddConvexPolyFilledNative(@this, points, numPoints, col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector2* ppoints = &points) - { - ImGui.AddConvexPolyFilledNative(@this, (Vector2*)ppoints, numPoints, col); - } - } - } - - /// - /// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering blending). Otherwise primitives are merged into the same draw-call as much as possible
- ///
- public unsafe void AddDrawCmd() - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddDrawCmdNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, int numSegments, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, rot, numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, rot, numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, rot, (int)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, (float)(0.0f), (int)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, (float)(0.0f), numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, rot, (int)(0), thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, int numSegments, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseNative(@this, center, radius, col, (float)(0.0f), numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseFilledNative(@this, center, radius, col, rot, numSegments); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, float rot) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseFilledNative(@this, center, radius, col, rot, (int)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseFilledNative(@this, center, radius, col, (float)(0.0f), (int)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddEllipseFilledNative(@this, center, radius, col, (float)(0.0f), numSegments); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageNative(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageNative(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageNative(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageQuadNative(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageRoundedNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); - } - } - - /// - /// To be documented. - /// - public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddImageRoundedNative(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddLineNative(@this, p1, p2, col, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddLineNative(@this, p1, p2, col, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddNgonNative(@this, center, radius, col, numSegments, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddNgonNative(@this, center, radius, col, numSegments, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddNgonFilledNative(@this, center, radius, col, numSegments); - } - } - - /// - /// To be documented. - /// - public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddPolylineNative(@this, points, numPoints, col, flags, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector2* ppoints = &points) - { - ImGui.AddPolylineNative(@this, (Vector2*)ppoints, numPoints, col, flags, thickness); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddQuadNative(@this, p1, p2, p3, p4, col, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddQuadNative(@this, p1, p2, p3, p4, col, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddQuadFilledNative(@this, p1, p2, p3, p4, col); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, rounding, flags, thickness); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, rounding, flags, (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectNative(@this, pMin, pMax, col, (float)(0.0f), flags, thickness); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectFilledNative(@this, pMin, pMax, col, rounding, flags); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectFilledNative(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectFilledNative(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); - } - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectFilledNative(@this, pMin, pMax, col, (float)(0.0f), flags); - } - } - - /// - /// To be documented. - /// - public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddRectFilledMultiColorNative(@this, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, pos, col, textBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, pos, col, textBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pos, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pos, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, pos, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, pos, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pos, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, pos, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImDrawList* @this = &this) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(@this, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTriangleNative(@this, p1, p2, p3, col, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTriangleNative(@this, p1, p2, p3, col, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.AddTriangleFilledNative(@this, p1, p2, p3, col); - } - } - - /// - /// To be documented. - /// - public unsafe void ChannelsMerge() - { - fixed (ImDrawList* @this = &this) - { - ImGui.ChannelsMergeNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void ChannelsSetCurrent(int n) - { - fixed (ImDrawList* @this = &this) - { - ImGui.ChannelsSetCurrentNative(@this, n); - } - } - - /// - /// To be documented. - /// - public unsafe void ChannelsSplit(int count) - { - fixed (ImDrawList* @this = &this) - { - ImGui.ChannelsSplitNative(@this, count); - } - } - - /// - /// Create a clone of the CmdBufferIdxBufferVtxBuffer.
- ///
- public unsafe ImDrawList* CloneOutput() - { - fixed (ImDrawList* @this = &this) - { - ImDrawList* ret = ImGui.CloneOutputNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImDrawList* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathArcToNative(@this, center, radius, aMin, aMax, numSegments); - } - } - - /// - /// To be documented. - /// - public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathArcToNative(@this, center, radius, aMin, aMax, (int)(0)); - } - } - - /// - /// Use precomputed angles for a 12 steps circle
- ///
- public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathArcToFastNative(@this, center, radius, aMinOf12, aMaxOf12); - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathBezierCubicCurveToNative(@this, p2, p3, p4, numSegments); - } - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathBezierCubicCurveToNative(@this, p2, p3, p4, (int)(0)); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathBezierQuadraticCurveToNative(@this, p2, p3, numSegments); - } - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathBezierQuadraticCurveToNative(@this, p2, p3, (int)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void PathClear() - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathClearNative(@this); - } - } - - /// - /// Ellipse
- ///
- public unsafe void PathEllipticalArcTo(Vector2 center, Vector2 radius, float rot, float aMin, float aMax, int numSegments) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathEllipticalArcToNative(@this, center, radius, rot, aMin, aMax, numSegments); - } - } - - /// - /// Ellipse
- ///
- public unsafe void PathEllipticalArcTo(Vector2 center, Vector2 radius, float rot, float aMin, float aMax) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathEllipticalArcToNative(@this, center, radius, rot, aMin, aMax, (int)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void PathFillConcave(uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathFillConcaveNative(@this, col); - } - } - - /// - /// To be documented. - /// - public unsafe void PathFillConvex(uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathFillConvexNative(@this, col); - } - } - - /// - /// To be documented. - /// - public unsafe void PathLineTo(Vector2 pos) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathLineToNative(@this, pos); - } - } - - /// - /// To be documented. - /// - public unsafe void PathLineToMergeDuplicate(Vector2 pos) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathLineToMergeDuplicateNative(@this, pos); - } - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathRectNative(@this, rectMin, rectMax, rounding, flags); - } - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathRectNative(@this, rectMin, rectMax, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathRectNative(@this, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathRectNative(@this, rectMin, rectMax, (float)(0.0f), flags); - } - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathStrokeNative(@this, col, flags, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col, ImDrawFlags flags) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathStrokeNative(@this, col, flags, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathStrokeNative(@this, col, (ImDrawFlags)(0), (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col, float thickness) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PathStrokeNative(@this, col, (ImDrawFlags)(0), thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void PopClipRect() - { - fixed (ImDrawList* @this = &this) - { - ImGui.PopClipRectNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void PopTextureID() - { - fixed (ImDrawList* @this = &this) - { - ImGui.PopTextureIDNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimQuadUVNative(@this, a, b, c, d, uvA, uvB, uvC, uvD, col); - } - } - - /// - /// Axis aligned rectangle (composed of two triangles)
- ///
- public unsafe void PrimRect(Vector2 a, Vector2 b, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimRectNative(@this, a, b, col); - } - } - - /// - /// To be documented. - /// - public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimRectUVNative(@this, a, b, uvA, uvB, col); - } - } - - /// - /// To be documented. - /// - public unsafe void PrimReserve(int idxCount, int vtxCount) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimReserveNative(@this, idxCount, vtxCount); - } - } - - /// - /// To be documented. - /// - public unsafe void PrimUnreserve(int idxCount, int vtxCount) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimUnreserveNative(@this, idxCount, vtxCount); - } - } - - /// - /// Write vertex with unique index
- ///
- public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimVtxNative(@this, pos, uv, col); - } - } - - /// - /// To be documented. - /// - public unsafe void PrimWriteIdx(ushort idx) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimWriteIdxNative(@this, idx); - } - } - - /// - /// To be documented. - /// - public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PrimWriteVtxNative(@this, pos, uv, col); - } - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PushClipRectNative(@this, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); - } - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PushClipRectNative(@this, clipRectMin, clipRectMax, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void PushClipRectFullScreen() - { - fixed (ImDrawList* @this = &this) - { - ImGui.PushClipRectFullScreenNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void PushTextureID(ImTextureID textureId) - { - fixed (ImDrawList* @this = &this) - { - ImGui.PushTextureIDNative(@this, textureId); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawListPtr : IEquatable - { - public ImDrawListPtr(ImDrawList* handle) { Handle = handle; } - - public ImDrawList* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawListPtr Null => new ImDrawListPtr(null); - - public ImDrawList this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawListPtr(ImDrawList* handle) => new ImDrawListPtr(handle); - - public static implicit operator ImDrawList*(ImDrawListPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawListPtr left, ImDrawListPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawListPtr left, ImDrawListPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawListPtr left, ImDrawList* right) => left.Handle == right; - - public static bool operator !=(ImDrawListPtr left, ImDrawList* right) => left.Handle != right; - - public bool Equals(ImDrawListPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawListPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawListPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector CmdBuffer => ref Unsafe.AsRef>(&Handle->CmdBuffer); - /// - /// To be documented. - /// - public ref ImVector IdxBuffer => ref Unsafe.AsRef>(&Handle->IdxBuffer); - /// - /// To be documented. - /// - public ref ImVector VtxBuffer => ref Unsafe.AsRef>(&Handle->VtxBuffer); - /// - /// To be documented. - /// - public ref ImDrawListFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref uint VtxCurrentIdx => ref Unsafe.AsRef(&Handle->VtxCurrentIdx); - /// - /// To be documented. - /// - public ref ImDrawListSharedDataPtr Data => ref Unsafe.AsRef(&Handle->Data); - /// - /// To be documented. - /// - public ref ImDrawVertPtr VtxWritePtr => ref Unsafe.AsRef(&Handle->VtxWritePtr); - /// - /// To be documented. - /// - public ushort* IdxWritePtr { get => Handle->IdxWritePtr; set => Handle->IdxWritePtr = value; } - /// - /// To be documented. - /// - public ref ImVector Path => ref Unsafe.AsRef>(&Handle->Path); - /// - /// To be documented. - /// - public ref ImDrawCmdHeader CmdHeader => ref Unsafe.AsRef(&Handle->CmdHeader); - /// - /// To be documented. - /// - public ref ImDrawListSplitter Splitter => ref Unsafe.AsRef(&Handle->Splitter); - /// - /// To be documented. - /// - public ref ImVector ClipRectStack => ref Unsafe.AsRef>(&Handle->ClipRectStack); - /// - /// To be documented. - /// - public ref ImVector TextureIdStack => ref Unsafe.AsRef>(&Handle->TextureIdStack); - /// - /// To be documented. - /// - public ref ImVector CallbacksDataBuf => ref Unsafe.AsRef>(&Handle->CallbacksDataBuf); - /// - /// To be documented. - /// - public ref float FringeScale => ref Unsafe.AsRef(&Handle->FringeScale); - /// - /// To be documented. - /// - public byte* OwnerName { get => Handle->OwnerName; set => Handle->OwnerName = value; } - /// - /// To be documented. - /// - public unsafe int _CalcCircleAutoSegmentCount(float radius) - { - int ret = ImGui._CalcCircleAutoSegmentCountNative(Handle, radius); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void _ClearFreeMemory() - { - ImGui._ClearFreeMemoryNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void _OnChangedClipRect() - { - ImGui._OnChangedClipRectNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void _OnChangedTextureID() - { - ImGui._OnChangedTextureIDNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void _OnChangedVtxOffset() - { - ImGui._OnChangedVtxOffsetNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) - { - ImGui._PathArcToFastExNative(Handle, center, radius, aMinSample, aMaxSample, aStep); - } - - /// - /// To be documented. - /// - public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - ImGui._PathArcToNNative(Handle, center, radius, aMin, aMax, numSegments); - } - - /// - /// To be documented. - /// - public unsafe void _PopUnusedDrawCmd() - { - ImGui._PopUnusedDrawCmdNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void _ResetForNewFrame() - { - ImGui._ResetForNewFrameNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void _SetTextureID(ImTextureID textureId) - { - ImGui._SetTextureIDNative(Handle, textureId); - } - - /// - /// To be documented. - /// - public unsafe void _TryMergeDrawCmds() - { - ImGui._TryMergeDrawCmdsNative(Handle); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) - { - ImGui.AddBezierCubicNative(Handle, p1, p2, p3, p4, col, thickness, numSegments); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - ImGui.AddBezierCubicNative(Handle, p1, p2, p3, p4, col, thickness, (int)(0)); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) - { - ImGui.AddBezierQuadraticNative(Handle, p1, p2, p3, col, thickness, numSegments); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - ImGui.AddBezierQuadraticNative(Handle, p1, p2, p3, col, thickness, (int)(0)); - } - - /// - /// To be documented. - /// - public unsafe void AddCallback(ImDrawCallback callback, void* userdata, ulong userdataSize) - { - ImGui.AddCallbackNative(Handle, callback, userdata, userdataSize); - } - - /// - /// To be documented. - /// - public unsafe void AddCallback(ImDrawCallback callback, void* userdata) - { - ImGui.AddCallbackNative(Handle, callback, userdata, (ulong)(0)); - } - - /// - /// To be documented. - /// - public unsafe void AddCallback(ImDrawCallback callback, void* userdata, nuint userdataSize) - { - ImGui.AddCallbackNative(Handle, callback, userdata, userdataSize); - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness) - { - ImGui.AddCircleNative(Handle, center, radius, col, numSegments, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments) - { - ImGui.AddCircleNative(Handle, center, radius, col, numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col) - { - ImGui.AddCircleNative(Handle, center, radius, col, (int)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness) - { - ImGui.AddCircleNative(Handle, center, radius, col, (int)(0), thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments) - { - ImGui.AddCircleFilledNative(Handle, center, radius, col, numSegments); - } - - /// - /// To be documented. - /// - public unsafe void AddCircleFilled(Vector2 center, float radius, uint col) - { - ImGui.AddCircleFilledNative(Handle, center, radius, col, (int)(0)); - } - - /// - /// To be documented. - /// - public unsafe void AddConcavePolyFilled(Vector2* points, int numPoints, uint col) - { - ImGui.AddConcavePolyFilledNative(Handle, points, numPoints, col); - } - - /// - /// To be documented. - /// - public unsafe void AddConcavePolyFilled(ref Vector2 points, int numPoints, uint col) - { - fixed (Vector2* ppoints = &points) - { - ImGui.AddConcavePolyFilledNative(Handle, (Vector2*)ppoints, numPoints, col); - } - } - - /// - /// To be documented. - /// - public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col) - { - ImGui.AddConvexPolyFilledNative(Handle, points, numPoints, col); - } - - /// - /// To be documented. - /// - public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col) - { - fixed (Vector2* ppoints = &points) - { - ImGui.AddConvexPolyFilledNative(Handle, (Vector2*)ppoints, numPoints, col); - } - } - - /// - /// This is useful if you need to forcefully create a new draw call (to allow for dependent rendering blending). Otherwise primitives are merged into the same draw-call as much as possible
- ///
- public unsafe void AddDrawCmd() - { - ImGui.AddDrawCmdNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, int numSegments, float thickness) - { - ImGui.AddEllipseNative(Handle, center, radius, col, rot, numSegments, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - ImGui.AddEllipseNative(Handle, center, radius, col, rot, numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot) - { - ImGui.AddEllipseNative(Handle, center, radius, col, rot, (int)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col) - { - ImGui.AddEllipseNative(Handle, center, radius, col, (float)(0.0f), (int)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, int numSegments) - { - ImGui.AddEllipseNative(Handle, center, radius, col, (float)(0.0f), numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, float rot, float thickness) - { - ImGui.AddEllipseNative(Handle, center, radius, col, rot, (int)(0), thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipse(Vector2 center, Vector2 radius, uint col, int numSegments, float thickness) - { - ImGui.AddEllipseNative(Handle, center, radius, col, (float)(0.0f), numSegments, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, float rot, int numSegments) - { - ImGui.AddEllipseFilledNative(Handle, center, radius, col, rot, numSegments); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, float rot) - { - ImGui.AddEllipseFilledNative(Handle, center, radius, col, rot, (int)(0)); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col) - { - ImGui.AddEllipseFilledNative(Handle, center, radius, col, (float)(0.0f), (int)(0)); - } - - /// - /// To be documented. - /// - public unsafe void AddEllipseFilled(Vector2 center, Vector2 radius, uint col, int numSegments) - { - ImGui.AddEllipseFilledNative(Handle, center, radius, col, (float)(0.0f), numSegments); - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) - { - ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col); - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) - { - ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) - { - ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) - { - ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) - { - ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); - } - - /// - /// To be documented. - /// - public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) - { - ImGui.AddImageNative(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - ImGui.AddImageQuadNative(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); - } - - /// - /// To be documented. - /// - public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) - { - ImGui.AddImageRoundedNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); - } - - /// - /// To be documented. - /// - public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) - { - ImGui.AddImageRoundedNative(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) - { - ImGui.AddLineNative(Handle, p1, p2, col, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col) - { - ImGui.AddLineNative(Handle, p1, p2, col, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness) - { - ImGui.AddNgonNative(Handle, center, radius, col, numSegments, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments) - { - ImGui.AddNgonNative(Handle, center, radius, col, numSegments, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments) - { - ImGui.AddNgonFilledNative(Handle, center, radius, col, numSegments); - } - - /// - /// To be documented. - /// - public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - ImGui.AddPolylineNative(Handle, points, numPoints, col, flags, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) - { - fixed (Vector2* ppoints = &points) - { - ImGui.AddPolylineNative(Handle, (Vector2*)ppoints, numPoints, col, flags, thickness); - } - } - - /// - /// To be documented. - /// - public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) - { - ImGui.AddQuadNative(Handle, p1, p2, p3, p4, col, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - ImGui.AddQuadNative(Handle, p1, p2, p3, p4, col, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) - { - ImGui.AddQuadFilledNative(Handle, p1, p2, p3, p4, col); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, flags, thickness); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, flags, (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) - { - ImGui.AddRectNative(Handle, pMin, pMax, col, (float)(0.0f), flags, thickness); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) - { - ImGui.AddRectFilledNative(Handle, pMin, pMax, col, rounding, flags); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding) - { - ImGui.AddRectFilledNative(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col) - { - ImGui.AddRectFilledNative(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); - } - - /// - /// a: upper-left, b: lower-right (== upper-left + size)
- ///
- public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) - { - ImGui.AddRectFilledNative(Handle, pMin, pMax, col, (float)(0.0f), flags); - } - - /// - /// To be documented. - /// - public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) - { - ImGui.AddRectFilledMultiColorNative(Handle, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - ImGui.AddTextNative(Handle, pos, col, textBegin, textEnd); - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin) - { - ImGui.AddTextNative(Handle, pos, col, textBegin, (byte*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pos, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pos, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, pos, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, pos, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pos, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, pos, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), cpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, Vector4* cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, byte* textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, textEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)(default), wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, byte* textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, textBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ImFont* font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, font, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, pStr1, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ref byte textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, (byte*)ptextBegin, pStr0, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ref byte textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, float wrapWidth, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, wrapWidth, (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddText(ref ImFont font, float fontSize, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd, ref Vector4 cpuFineClipRect) - { - fixed (ImFont* pfont = &font) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector4* pcpuFineClipRect = &cpuFineClipRect) - { - ImGui.AddTextNative(Handle, (ImFont*)pfont, fontSize, pos, col, pStr0, (byte*)ptextEnd, (float)(0.0f), (Vector4*)pcpuFineClipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) - { - ImGui.AddTriangleNative(Handle, p1, p2, p3, col, thickness); - } - - /// - /// To be documented. - /// - public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - ImGui.AddTriangleNative(Handle, p1, p2, p3, col, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) - { - ImGui.AddTriangleFilledNative(Handle, p1, p2, p3, col); - } - - /// - /// To be documented. - /// - public unsafe void ChannelsMerge() - { - ImGui.ChannelsMergeNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void ChannelsSetCurrent(int n) - { - ImGui.ChannelsSetCurrentNative(Handle, n); - } - - /// - /// To be documented. - /// - public unsafe void ChannelsSplit(int count) - { - ImGui.ChannelsSplitNative(Handle, count); - } - - /// - /// Create a clone of the CmdBufferIdxBufferVtxBuffer.
- ///
- public unsafe ImDrawList* CloneOutput() - { - ImDrawList* ret = ImGui.CloneOutputNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments) - { - ImGui.PathArcToNative(Handle, center, radius, aMin, aMax, numSegments); - } - - /// - /// To be documented. - /// - public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax) - { - ImGui.PathArcToNative(Handle, center, radius, aMin, aMax, (int)(0)); - } - - /// - /// Use precomputed angles for a 12 steps circle
- ///
- public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12) - { - ImGui.PathArcToFastNative(Handle, center, radius, aMinOf12, aMaxOf12); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) - { - ImGui.PathBezierCubicCurveToNative(Handle, p2, p3, p4, numSegments); - } - - /// - /// Cubic Bezier (4 control points)
- ///
- public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4) - { - ImGui.PathBezierCubicCurveToNative(Handle, p2, p3, p4, (int)(0)); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments) - { - ImGui.PathBezierQuadraticCurveToNative(Handle, p2, p3, numSegments); - } - - /// - /// Quadratic Bezier (3 control points)
- ///
- public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3) - { - ImGui.PathBezierQuadraticCurveToNative(Handle, p2, p3, (int)(0)); - } - - /// - /// To be documented. - /// - public unsafe void PathClear() - { - ImGui.PathClearNative(Handle); - } - - /// - /// Ellipse
- ///
- public unsafe void PathEllipticalArcTo(Vector2 center, Vector2 radius, float rot, float aMin, float aMax, int numSegments) - { - ImGui.PathEllipticalArcToNative(Handle, center, radius, rot, aMin, aMax, numSegments); - } - - /// - /// Ellipse
- ///
- public unsafe void PathEllipticalArcTo(Vector2 center, Vector2 radius, float rot, float aMin, float aMax) - { - ImGui.PathEllipticalArcToNative(Handle, center, radius, rot, aMin, aMax, (int)(0)); - } - - /// - /// To be documented. - /// - public unsafe void PathFillConcave(uint col) - { - ImGui.PathFillConcaveNative(Handle, col); - } - - /// - /// To be documented. - /// - public unsafe void PathFillConvex(uint col) - { - ImGui.PathFillConvexNative(Handle, col); - } - - /// - /// To be documented. - /// - public unsafe void PathLineTo(Vector2 pos) - { - ImGui.PathLineToNative(Handle, pos); - } - - /// - /// To be documented. - /// - public unsafe void PathLineToMergeDuplicate(Vector2 pos) - { - ImGui.PathLineToMergeDuplicateNative(Handle, pos); - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) - { - ImGui.PathRectNative(Handle, rectMin, rectMax, rounding, flags); - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding) - { - ImGui.PathRectNative(Handle, rectMin, rectMax, rounding, (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax) - { - ImGui.PathRectNative(Handle, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) - { - ImGui.PathRectNative(Handle, rectMin, rectMax, (float)(0.0f), flags); - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness) - { - ImGui.PathStrokeNative(Handle, col, flags, thickness); - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col, ImDrawFlags flags) - { - ImGui.PathStrokeNative(Handle, col, flags, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col) - { - ImGui.PathStrokeNative(Handle, col, (ImDrawFlags)(0), (float)(1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void PathStroke(uint col, float thickness) - { - ImGui.PathStrokeNative(Handle, col, (ImDrawFlags)(0), thickness); - } - - /// - /// To be documented. - /// - public unsafe void PopClipRect() - { - ImGui.PopClipRectNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void PopTextureID() - { - ImGui.PopTextureIDNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) - { - ImGui.PrimQuadUVNative(Handle, a, b, c, d, uvA, uvB, uvC, uvD, col); - } - - /// - /// Axis aligned rectangle (composed of two triangles)
- ///
- public unsafe void PrimRect(Vector2 a, Vector2 b, uint col) - { - ImGui.PrimRectNative(Handle, a, b, col); - } - - /// - /// To be documented. - /// - public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) - { - ImGui.PrimRectUVNative(Handle, a, b, uvA, uvB, col); - } - - /// - /// To be documented. - /// - public unsafe void PrimReserve(int idxCount, int vtxCount) - { - ImGui.PrimReserveNative(Handle, idxCount, vtxCount); - } - - /// - /// To be documented. - /// - public unsafe void PrimUnreserve(int idxCount, int vtxCount) - { - ImGui.PrimUnreserveNative(Handle, idxCount, vtxCount); - } - - /// - /// Write vertex with unique index
- ///
- public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col) - { - ImGui.PrimVtxNative(Handle, pos, uv, col); - } - - /// - /// To be documented. - /// - public unsafe void PrimWriteIdx(ushort idx) - { - ImGui.PrimWriteIdxNative(Handle, idx); - } - - /// - /// To be documented. - /// - public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col) - { - ImGui.PrimWriteVtxNative(Handle, pos, uv, col); - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) - { - ImGui.PushClipRectNative(Handle, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); - } - - /// - /// Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling)
- ///
- public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax) - { - ImGui.PushClipRectNative(Handle, clipRectMin, clipRectMax, (byte)(0)); - } - - /// - /// To be documented. - /// - public unsafe void PushClipRectFullScreen() - { - ImGui.PushClipRectFullScreenNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void PushTextureID(ImTextureID textureId) - { - ImGui.PushTextureIDNative(Handle, textureId); - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawListPtrPtr : IEquatable - { - public ImDrawListPtrPtr(ImDrawList** handle) { Handle = handle; } - - public ImDrawList** Handle; - - public bool IsNull => Handle == null; - - public static ImDrawListPtrPtr Null => new ImDrawListPtrPtr(null); - - public ImDrawList* this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawListPtrPtr(ImDrawList** handle) => new ImDrawListPtrPtr(handle); - - public static implicit operator ImDrawList**(ImDrawListPtrPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawListPtrPtr left, ImDrawListPtrPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawListPtrPtr left, ImDrawListPtrPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawListPtrPtr left, ImDrawList** right) => left.Handle == right; - - public static bool operator !=(ImDrawListPtrPtr left, ImDrawList** right) => left.Handle != right; - - public bool Equals(ImDrawListPtrPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawListPtrPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawListPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSharedData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSharedData.cs deleted file mode 100644 index 24bf36723..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSharedData.cs +++ /dev/null @@ -1,613 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Data shared between all ImDrawList instances
- /// Conceptually this could have been called e.g. ImDrawListSharedContext
- /// Typically one ImGui context would create and maintain one of this.
- /// You may want to create your own instance of you try to ImDrawList completely without ImGui. In that case, watch out for future changes to this structure.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawListSharedData - { - /// - /// To be documented. - /// - public Vector2 TexUvWhitePixel; - - /// - /// To be documented. - /// - public unsafe Vector4* TexUvLines; - - /// - /// To be documented. - /// - public unsafe ImFont* Font; - - /// - /// To be documented. - /// - public float FontSize; - - /// - /// To be documented. - /// - public float FontScale; - - /// - /// To be documented. - /// - public float CurveTessellationTol; - - /// - /// To be documented. - /// - public float CircleSegmentMaxError; - - /// - /// To be documented. - /// - public float InitialFringeScale; - - /// - /// To be documented. - /// - public ImDrawListFlags InitialFlags; - - /// - /// To be documented. - /// - public Vector4 ClipRectFullscreen; - - /// - /// To be documented. - /// - public ImVector TempBuffer; - - /// - /// To be documented. - /// - public Vector2 ArcFastVtx_0; - public Vector2 ArcFastVtx_1; - public Vector2 ArcFastVtx_2; - public Vector2 ArcFastVtx_3; - public Vector2 ArcFastVtx_4; - public Vector2 ArcFastVtx_5; - public Vector2 ArcFastVtx_6; - public Vector2 ArcFastVtx_7; - public Vector2 ArcFastVtx_8; - public Vector2 ArcFastVtx_9; - public Vector2 ArcFastVtx_10; - public Vector2 ArcFastVtx_11; - public Vector2 ArcFastVtx_12; - public Vector2 ArcFastVtx_13; - public Vector2 ArcFastVtx_14; - public Vector2 ArcFastVtx_15; - public Vector2 ArcFastVtx_16; - public Vector2 ArcFastVtx_17; - public Vector2 ArcFastVtx_18; - public Vector2 ArcFastVtx_19; - public Vector2 ArcFastVtx_20; - public Vector2 ArcFastVtx_21; - public Vector2 ArcFastVtx_22; - public Vector2 ArcFastVtx_23; - public Vector2 ArcFastVtx_24; - public Vector2 ArcFastVtx_25; - public Vector2 ArcFastVtx_26; - public Vector2 ArcFastVtx_27; - public Vector2 ArcFastVtx_28; - public Vector2 ArcFastVtx_29; - public Vector2 ArcFastVtx_30; - public Vector2 ArcFastVtx_31; - public Vector2 ArcFastVtx_32; - public Vector2 ArcFastVtx_33; - public Vector2 ArcFastVtx_34; - public Vector2 ArcFastVtx_35; - public Vector2 ArcFastVtx_36; - public Vector2 ArcFastVtx_37; - public Vector2 ArcFastVtx_38; - public Vector2 ArcFastVtx_39; - public Vector2 ArcFastVtx_40; - public Vector2 ArcFastVtx_41; - public Vector2 ArcFastVtx_42; - public Vector2 ArcFastVtx_43; - public Vector2 ArcFastVtx_44; - public Vector2 ArcFastVtx_45; - public Vector2 ArcFastVtx_46; - public Vector2 ArcFastVtx_47; - - /// - /// To be documented. - /// - public float ArcFastRadiusCutoff; - - /// - /// To be documented. - /// - public byte CircleSegmentCounts_0; - public byte CircleSegmentCounts_1; - public byte CircleSegmentCounts_2; - public byte CircleSegmentCounts_3; - public byte CircleSegmentCounts_4; - public byte CircleSegmentCounts_5; - public byte CircleSegmentCounts_6; - public byte CircleSegmentCounts_7; - public byte CircleSegmentCounts_8; - public byte CircleSegmentCounts_9; - public byte CircleSegmentCounts_10; - public byte CircleSegmentCounts_11; - public byte CircleSegmentCounts_12; - public byte CircleSegmentCounts_13; - public byte CircleSegmentCounts_14; - public byte CircleSegmentCounts_15; - public byte CircleSegmentCounts_16; - public byte CircleSegmentCounts_17; - public byte CircleSegmentCounts_18; - public byte CircleSegmentCounts_19; - public byte CircleSegmentCounts_20; - public byte CircleSegmentCounts_21; - public byte CircleSegmentCounts_22; - public byte CircleSegmentCounts_23; - public byte CircleSegmentCounts_24; - public byte CircleSegmentCounts_25; - public byte CircleSegmentCounts_26; - public byte CircleSegmentCounts_27; - public byte CircleSegmentCounts_28; - public byte CircleSegmentCounts_29; - public byte CircleSegmentCounts_30; - public byte CircleSegmentCounts_31; - public byte CircleSegmentCounts_32; - public byte CircleSegmentCounts_33; - public byte CircleSegmentCounts_34; - public byte CircleSegmentCounts_35; - public byte CircleSegmentCounts_36; - public byte CircleSegmentCounts_37; - public byte CircleSegmentCounts_38; - public byte CircleSegmentCounts_39; - public byte CircleSegmentCounts_40; - public byte CircleSegmentCounts_41; - public byte CircleSegmentCounts_42; - public byte CircleSegmentCounts_43; - public byte CircleSegmentCounts_44; - public byte CircleSegmentCounts_45; - public byte CircleSegmentCounts_46; - public byte CircleSegmentCounts_47; - public byte CircleSegmentCounts_48; - public byte CircleSegmentCounts_49; - public byte CircleSegmentCounts_50; - public byte CircleSegmentCounts_51; - public byte CircleSegmentCounts_52; - public byte CircleSegmentCounts_53; - public byte CircleSegmentCounts_54; - public byte CircleSegmentCounts_55; - public byte CircleSegmentCounts_56; - public byte CircleSegmentCounts_57; - public byte CircleSegmentCounts_58; - public byte CircleSegmentCounts_59; - public byte CircleSegmentCounts_60; - public byte CircleSegmentCounts_61; - public byte CircleSegmentCounts_62; - public byte CircleSegmentCounts_63; - - - /// - /// To be documented. - /// - public unsafe ImDrawListSharedData(Vector2 texUvWhitePixel = default, Vector4* texUvLines = default, ImFont* font = default, float fontSize = default, float fontScale = default, float curveTessellationTol = default, float circleSegmentMaxError = default, float initialFringeScale = default, ImDrawListFlags initialFlags = default, Vector4 clipRectFullscreen = default, ImVector tempBuffer = default, Vector2* arcFastVtx = default, float arcFastRadiusCutoff = default, byte* circleSegmentCounts = default) - { - TexUvWhitePixel = texUvWhitePixel; - TexUvLines = texUvLines; - Font = font; - FontSize = fontSize; - FontScale = fontScale; - CurveTessellationTol = curveTessellationTol; - CircleSegmentMaxError = circleSegmentMaxError; - InitialFringeScale = initialFringeScale; - InitialFlags = initialFlags; - ClipRectFullscreen = clipRectFullscreen; - TempBuffer = tempBuffer; - if (arcFastVtx != default(Vector2*)) - { - ArcFastVtx_0 = arcFastVtx[0]; - ArcFastVtx_1 = arcFastVtx[1]; - ArcFastVtx_2 = arcFastVtx[2]; - ArcFastVtx_3 = arcFastVtx[3]; - ArcFastVtx_4 = arcFastVtx[4]; - ArcFastVtx_5 = arcFastVtx[5]; - ArcFastVtx_6 = arcFastVtx[6]; - ArcFastVtx_7 = arcFastVtx[7]; - ArcFastVtx_8 = arcFastVtx[8]; - ArcFastVtx_9 = arcFastVtx[9]; - ArcFastVtx_10 = arcFastVtx[10]; - ArcFastVtx_11 = arcFastVtx[11]; - ArcFastVtx_12 = arcFastVtx[12]; - ArcFastVtx_13 = arcFastVtx[13]; - ArcFastVtx_14 = arcFastVtx[14]; - ArcFastVtx_15 = arcFastVtx[15]; - ArcFastVtx_16 = arcFastVtx[16]; - ArcFastVtx_17 = arcFastVtx[17]; - ArcFastVtx_18 = arcFastVtx[18]; - ArcFastVtx_19 = arcFastVtx[19]; - ArcFastVtx_20 = arcFastVtx[20]; - ArcFastVtx_21 = arcFastVtx[21]; - ArcFastVtx_22 = arcFastVtx[22]; - ArcFastVtx_23 = arcFastVtx[23]; - ArcFastVtx_24 = arcFastVtx[24]; - ArcFastVtx_25 = arcFastVtx[25]; - ArcFastVtx_26 = arcFastVtx[26]; - ArcFastVtx_27 = arcFastVtx[27]; - ArcFastVtx_28 = arcFastVtx[28]; - ArcFastVtx_29 = arcFastVtx[29]; - ArcFastVtx_30 = arcFastVtx[30]; - ArcFastVtx_31 = arcFastVtx[31]; - ArcFastVtx_32 = arcFastVtx[32]; - ArcFastVtx_33 = arcFastVtx[33]; - ArcFastVtx_34 = arcFastVtx[34]; - ArcFastVtx_35 = arcFastVtx[35]; - ArcFastVtx_36 = arcFastVtx[36]; - ArcFastVtx_37 = arcFastVtx[37]; - ArcFastVtx_38 = arcFastVtx[38]; - ArcFastVtx_39 = arcFastVtx[39]; - ArcFastVtx_40 = arcFastVtx[40]; - ArcFastVtx_41 = arcFastVtx[41]; - ArcFastVtx_42 = arcFastVtx[42]; - ArcFastVtx_43 = arcFastVtx[43]; - ArcFastVtx_44 = arcFastVtx[44]; - ArcFastVtx_45 = arcFastVtx[45]; - ArcFastVtx_46 = arcFastVtx[46]; - ArcFastVtx_47 = arcFastVtx[47]; - } - ArcFastRadiusCutoff = arcFastRadiusCutoff; - if (circleSegmentCounts != default(byte*)) - { - CircleSegmentCounts_0 = circleSegmentCounts[0]; - CircleSegmentCounts_1 = circleSegmentCounts[1]; - CircleSegmentCounts_2 = circleSegmentCounts[2]; - CircleSegmentCounts_3 = circleSegmentCounts[3]; - CircleSegmentCounts_4 = circleSegmentCounts[4]; - CircleSegmentCounts_5 = circleSegmentCounts[5]; - CircleSegmentCounts_6 = circleSegmentCounts[6]; - CircleSegmentCounts_7 = circleSegmentCounts[7]; - CircleSegmentCounts_8 = circleSegmentCounts[8]; - CircleSegmentCounts_9 = circleSegmentCounts[9]; - CircleSegmentCounts_10 = circleSegmentCounts[10]; - CircleSegmentCounts_11 = circleSegmentCounts[11]; - CircleSegmentCounts_12 = circleSegmentCounts[12]; - CircleSegmentCounts_13 = circleSegmentCounts[13]; - CircleSegmentCounts_14 = circleSegmentCounts[14]; - CircleSegmentCounts_15 = circleSegmentCounts[15]; - CircleSegmentCounts_16 = circleSegmentCounts[16]; - CircleSegmentCounts_17 = circleSegmentCounts[17]; - CircleSegmentCounts_18 = circleSegmentCounts[18]; - CircleSegmentCounts_19 = circleSegmentCounts[19]; - CircleSegmentCounts_20 = circleSegmentCounts[20]; - CircleSegmentCounts_21 = circleSegmentCounts[21]; - CircleSegmentCounts_22 = circleSegmentCounts[22]; - CircleSegmentCounts_23 = circleSegmentCounts[23]; - CircleSegmentCounts_24 = circleSegmentCounts[24]; - CircleSegmentCounts_25 = circleSegmentCounts[25]; - CircleSegmentCounts_26 = circleSegmentCounts[26]; - CircleSegmentCounts_27 = circleSegmentCounts[27]; - CircleSegmentCounts_28 = circleSegmentCounts[28]; - CircleSegmentCounts_29 = circleSegmentCounts[29]; - CircleSegmentCounts_30 = circleSegmentCounts[30]; - CircleSegmentCounts_31 = circleSegmentCounts[31]; - CircleSegmentCounts_32 = circleSegmentCounts[32]; - CircleSegmentCounts_33 = circleSegmentCounts[33]; - CircleSegmentCounts_34 = circleSegmentCounts[34]; - CircleSegmentCounts_35 = circleSegmentCounts[35]; - CircleSegmentCounts_36 = circleSegmentCounts[36]; - CircleSegmentCounts_37 = circleSegmentCounts[37]; - CircleSegmentCounts_38 = circleSegmentCounts[38]; - CircleSegmentCounts_39 = circleSegmentCounts[39]; - CircleSegmentCounts_40 = circleSegmentCounts[40]; - CircleSegmentCounts_41 = circleSegmentCounts[41]; - CircleSegmentCounts_42 = circleSegmentCounts[42]; - CircleSegmentCounts_43 = circleSegmentCounts[43]; - CircleSegmentCounts_44 = circleSegmentCounts[44]; - CircleSegmentCounts_45 = circleSegmentCounts[45]; - CircleSegmentCounts_46 = circleSegmentCounts[46]; - CircleSegmentCounts_47 = circleSegmentCounts[47]; - CircleSegmentCounts_48 = circleSegmentCounts[48]; - CircleSegmentCounts_49 = circleSegmentCounts[49]; - CircleSegmentCounts_50 = circleSegmentCounts[50]; - CircleSegmentCounts_51 = circleSegmentCounts[51]; - CircleSegmentCounts_52 = circleSegmentCounts[52]; - CircleSegmentCounts_53 = circleSegmentCounts[53]; - CircleSegmentCounts_54 = circleSegmentCounts[54]; - CircleSegmentCounts_55 = circleSegmentCounts[55]; - CircleSegmentCounts_56 = circleSegmentCounts[56]; - CircleSegmentCounts_57 = circleSegmentCounts[57]; - CircleSegmentCounts_58 = circleSegmentCounts[58]; - CircleSegmentCounts_59 = circleSegmentCounts[59]; - CircleSegmentCounts_60 = circleSegmentCounts[60]; - CircleSegmentCounts_61 = circleSegmentCounts[61]; - CircleSegmentCounts_62 = circleSegmentCounts[62]; - CircleSegmentCounts_63 = circleSegmentCounts[63]; - } - } - - /// - /// To be documented. - /// - public unsafe ImDrawListSharedData(Vector2 texUvWhitePixel = default, Vector4* texUvLines = default, ImFont* font = default, float fontSize = default, float fontScale = default, float curveTessellationTol = default, float circleSegmentMaxError = default, float initialFringeScale = default, ImDrawListFlags initialFlags = default, Vector4 clipRectFullscreen = default, ImVector tempBuffer = default, Span arcFastVtx = default, float arcFastRadiusCutoff = default, Span circleSegmentCounts = default) - { - TexUvWhitePixel = texUvWhitePixel; - TexUvLines = texUvLines; - Font = font; - FontSize = fontSize; - FontScale = fontScale; - CurveTessellationTol = curveTessellationTol; - CircleSegmentMaxError = circleSegmentMaxError; - InitialFringeScale = initialFringeScale; - InitialFlags = initialFlags; - ClipRectFullscreen = clipRectFullscreen; - TempBuffer = tempBuffer; - if (arcFastVtx != default(Span)) - { - ArcFastVtx_0 = arcFastVtx[0]; - ArcFastVtx_1 = arcFastVtx[1]; - ArcFastVtx_2 = arcFastVtx[2]; - ArcFastVtx_3 = arcFastVtx[3]; - ArcFastVtx_4 = arcFastVtx[4]; - ArcFastVtx_5 = arcFastVtx[5]; - ArcFastVtx_6 = arcFastVtx[6]; - ArcFastVtx_7 = arcFastVtx[7]; - ArcFastVtx_8 = arcFastVtx[8]; - ArcFastVtx_9 = arcFastVtx[9]; - ArcFastVtx_10 = arcFastVtx[10]; - ArcFastVtx_11 = arcFastVtx[11]; - ArcFastVtx_12 = arcFastVtx[12]; - ArcFastVtx_13 = arcFastVtx[13]; - ArcFastVtx_14 = arcFastVtx[14]; - ArcFastVtx_15 = arcFastVtx[15]; - ArcFastVtx_16 = arcFastVtx[16]; - ArcFastVtx_17 = arcFastVtx[17]; - ArcFastVtx_18 = arcFastVtx[18]; - ArcFastVtx_19 = arcFastVtx[19]; - ArcFastVtx_20 = arcFastVtx[20]; - ArcFastVtx_21 = arcFastVtx[21]; - ArcFastVtx_22 = arcFastVtx[22]; - ArcFastVtx_23 = arcFastVtx[23]; - ArcFastVtx_24 = arcFastVtx[24]; - ArcFastVtx_25 = arcFastVtx[25]; - ArcFastVtx_26 = arcFastVtx[26]; - ArcFastVtx_27 = arcFastVtx[27]; - ArcFastVtx_28 = arcFastVtx[28]; - ArcFastVtx_29 = arcFastVtx[29]; - ArcFastVtx_30 = arcFastVtx[30]; - ArcFastVtx_31 = arcFastVtx[31]; - ArcFastVtx_32 = arcFastVtx[32]; - ArcFastVtx_33 = arcFastVtx[33]; - ArcFastVtx_34 = arcFastVtx[34]; - ArcFastVtx_35 = arcFastVtx[35]; - ArcFastVtx_36 = arcFastVtx[36]; - ArcFastVtx_37 = arcFastVtx[37]; - ArcFastVtx_38 = arcFastVtx[38]; - ArcFastVtx_39 = arcFastVtx[39]; - ArcFastVtx_40 = arcFastVtx[40]; - ArcFastVtx_41 = arcFastVtx[41]; - ArcFastVtx_42 = arcFastVtx[42]; - ArcFastVtx_43 = arcFastVtx[43]; - ArcFastVtx_44 = arcFastVtx[44]; - ArcFastVtx_45 = arcFastVtx[45]; - ArcFastVtx_46 = arcFastVtx[46]; - ArcFastVtx_47 = arcFastVtx[47]; - } - ArcFastRadiusCutoff = arcFastRadiusCutoff; - if (circleSegmentCounts != default(Span)) - { - CircleSegmentCounts_0 = circleSegmentCounts[0]; - CircleSegmentCounts_1 = circleSegmentCounts[1]; - CircleSegmentCounts_2 = circleSegmentCounts[2]; - CircleSegmentCounts_3 = circleSegmentCounts[3]; - CircleSegmentCounts_4 = circleSegmentCounts[4]; - CircleSegmentCounts_5 = circleSegmentCounts[5]; - CircleSegmentCounts_6 = circleSegmentCounts[6]; - CircleSegmentCounts_7 = circleSegmentCounts[7]; - CircleSegmentCounts_8 = circleSegmentCounts[8]; - CircleSegmentCounts_9 = circleSegmentCounts[9]; - CircleSegmentCounts_10 = circleSegmentCounts[10]; - CircleSegmentCounts_11 = circleSegmentCounts[11]; - CircleSegmentCounts_12 = circleSegmentCounts[12]; - CircleSegmentCounts_13 = circleSegmentCounts[13]; - CircleSegmentCounts_14 = circleSegmentCounts[14]; - CircleSegmentCounts_15 = circleSegmentCounts[15]; - CircleSegmentCounts_16 = circleSegmentCounts[16]; - CircleSegmentCounts_17 = circleSegmentCounts[17]; - CircleSegmentCounts_18 = circleSegmentCounts[18]; - CircleSegmentCounts_19 = circleSegmentCounts[19]; - CircleSegmentCounts_20 = circleSegmentCounts[20]; - CircleSegmentCounts_21 = circleSegmentCounts[21]; - CircleSegmentCounts_22 = circleSegmentCounts[22]; - CircleSegmentCounts_23 = circleSegmentCounts[23]; - CircleSegmentCounts_24 = circleSegmentCounts[24]; - CircleSegmentCounts_25 = circleSegmentCounts[25]; - CircleSegmentCounts_26 = circleSegmentCounts[26]; - CircleSegmentCounts_27 = circleSegmentCounts[27]; - CircleSegmentCounts_28 = circleSegmentCounts[28]; - CircleSegmentCounts_29 = circleSegmentCounts[29]; - CircleSegmentCounts_30 = circleSegmentCounts[30]; - CircleSegmentCounts_31 = circleSegmentCounts[31]; - CircleSegmentCounts_32 = circleSegmentCounts[32]; - CircleSegmentCounts_33 = circleSegmentCounts[33]; - CircleSegmentCounts_34 = circleSegmentCounts[34]; - CircleSegmentCounts_35 = circleSegmentCounts[35]; - CircleSegmentCounts_36 = circleSegmentCounts[36]; - CircleSegmentCounts_37 = circleSegmentCounts[37]; - CircleSegmentCounts_38 = circleSegmentCounts[38]; - CircleSegmentCounts_39 = circleSegmentCounts[39]; - CircleSegmentCounts_40 = circleSegmentCounts[40]; - CircleSegmentCounts_41 = circleSegmentCounts[41]; - CircleSegmentCounts_42 = circleSegmentCounts[42]; - CircleSegmentCounts_43 = circleSegmentCounts[43]; - CircleSegmentCounts_44 = circleSegmentCounts[44]; - CircleSegmentCounts_45 = circleSegmentCounts[45]; - CircleSegmentCounts_46 = circleSegmentCounts[46]; - CircleSegmentCounts_47 = circleSegmentCounts[47]; - CircleSegmentCounts_48 = circleSegmentCounts[48]; - CircleSegmentCounts_49 = circleSegmentCounts[49]; - CircleSegmentCounts_50 = circleSegmentCounts[50]; - CircleSegmentCounts_51 = circleSegmentCounts[51]; - CircleSegmentCounts_52 = circleSegmentCounts[52]; - CircleSegmentCounts_53 = circleSegmentCounts[53]; - CircleSegmentCounts_54 = circleSegmentCounts[54]; - CircleSegmentCounts_55 = circleSegmentCounts[55]; - CircleSegmentCounts_56 = circleSegmentCounts[56]; - CircleSegmentCounts_57 = circleSegmentCounts[57]; - CircleSegmentCounts_58 = circleSegmentCounts[58]; - CircleSegmentCounts_59 = circleSegmentCounts[59]; - CircleSegmentCounts_60 = circleSegmentCounts[60]; - CircleSegmentCounts_61 = circleSegmentCounts[61]; - CircleSegmentCounts_62 = circleSegmentCounts[62]; - CircleSegmentCounts_63 = circleSegmentCounts[63]; - } - } - - - /// - /// To be documented. - /// - public unsafe Span ArcFastVtx - - { - get - { - fixed (Vector2* p = &this.ArcFastVtx_0) - { - return new Span(p, 48); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawListSharedDataPtr : IEquatable - { - public ImDrawListSharedDataPtr(ImDrawListSharedData* handle) { Handle = handle; } - - public ImDrawListSharedData* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawListSharedDataPtr Null => new ImDrawListSharedDataPtr(null); - - public ImDrawListSharedData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawListSharedDataPtr(ImDrawListSharedData* handle) => new ImDrawListSharedDataPtr(handle); - - public static implicit operator ImDrawListSharedData*(ImDrawListSharedDataPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawListSharedDataPtr left, ImDrawListSharedDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawListSharedDataPtr left, ImDrawListSharedDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawListSharedDataPtr left, ImDrawListSharedData* right) => left.Handle == right; - - public static bool operator !=(ImDrawListSharedDataPtr left, ImDrawListSharedData* right) => left.Handle != right; - - public bool Equals(ImDrawListSharedDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawListSharedDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawListSharedDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); - /// - /// To be documented. - /// - public Vector4* TexUvLines { get => Handle->TexUvLines; set => Handle->TexUvLines = value; } - /// - /// To be documented. - /// - public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); - /// - /// To be documented. - /// - public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); - /// - /// To be documented. - /// - public ref float FontScale => ref Unsafe.AsRef(&Handle->FontScale); - /// - /// To be documented. - /// - public ref float CurveTessellationTol => ref Unsafe.AsRef(&Handle->CurveTessellationTol); - /// - /// To be documented. - /// - public ref float CircleSegmentMaxError => ref Unsafe.AsRef(&Handle->CircleSegmentMaxError); - /// - /// To be documented. - /// - public ref float InitialFringeScale => ref Unsafe.AsRef(&Handle->InitialFringeScale); - /// - /// To be documented. - /// - public ref ImDrawListFlags InitialFlags => ref Unsafe.AsRef(&Handle->InitialFlags); - /// - /// To be documented. - /// - public ref Vector4 ClipRectFullscreen => ref Unsafe.AsRef(&Handle->ClipRectFullscreen); - /// - /// To be documented. - /// - public ref ImVector TempBuffer => ref Unsafe.AsRef>(&Handle->TempBuffer); - /// - /// To be documented. - /// - public unsafe Span ArcFastVtx - - { - get - { - return new Span(&Handle->ArcFastVtx_0, 48); - } - } - /// - /// To be documented. - /// - public ref float ArcFastRadiusCutoff => ref Unsafe.AsRef(&Handle->ArcFastRadiusCutoff); - /// - /// To be documented. - /// - public unsafe Span CircleSegmentCounts - - { - get - { - return new Span(&Handle->CircleSegmentCounts_0, 64); - } - } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSplitter.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSplitter.cs deleted file mode 100644 index 39a379bfa..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawListSplitter.cs +++ /dev/null @@ -1,299 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// SplitMerge functions are used to split the draw list into different layers which can be drawn into out of order.
- /// This is used by the ColumnsTables API, so items of each column can be batched together in a same draw call.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawListSplitter - { - /// - /// To be documented. - /// - public int Current; - - /// - /// To be documented. - /// - public int Count; - - /// - /// To be documented. - /// - public ImVector Channels; - - - /// - /// To be documented. - /// - public unsafe ImDrawListSplitter(int current = default, int count = default, ImVector channels = default) - { - Current = current; - Count = count; - Channels = channels; - } - - - /// - /// Do not clear Channels[] so our allocations are reused next frame
- ///
- public unsafe void Clear() - { - fixed (ImDrawListSplitter* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void ClearFreeMemory() - { - fixed (ImDrawListSplitter* @this = &this) - { - ImGui.ClearFreeMemoryNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImDrawListSplitter* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Merge(ImDrawListPtr drawList) - { - fixed (ImDrawListSplitter* @this = &this) - { - ImGui.MergeNative(@this, drawList); - } - } - - /// - /// To be documented. - /// - public unsafe void Merge(ref ImDrawList drawList) - { - fixed (ImDrawListSplitter* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.MergeNative(@this, (ImDrawList*)pdrawList); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) - { - fixed (ImDrawListSplitter* @this = &this) - { - ImGui.SetCurrentChannelNative(@this, drawList, channelIdx); - } - } - - /// - /// To be documented. - /// - public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) - { - fixed (ImDrawListSplitter* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.SetCurrentChannelNative(@this, (ImDrawList*)pdrawList, channelIdx); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Split(ImDrawListPtr drawList, int count) - { - fixed (ImDrawListSplitter* @this = &this) - { - ImGui.SplitNative(@this, drawList, count); - } - } - - /// - /// To be documented. - /// - public unsafe void Split(ref ImDrawList drawList, int count) - { - fixed (ImDrawListSplitter* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.SplitNative(@this, (ImDrawList*)pdrawList, count); - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawListSplitterPtr : IEquatable - { - public ImDrawListSplitterPtr(ImDrawListSplitter* handle) { Handle = handle; } - - public ImDrawListSplitter* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawListSplitterPtr Null => new ImDrawListSplitterPtr(null); - - public ImDrawListSplitter this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawListSplitterPtr(ImDrawListSplitter* handle) => new ImDrawListSplitterPtr(handle); - - public static implicit operator ImDrawListSplitter*(ImDrawListSplitterPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawListSplitterPtr left, ImDrawListSplitterPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawListSplitterPtr left, ImDrawListSplitterPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawListSplitterPtr left, ImDrawListSplitter* right) => left.Handle == right; - - public static bool operator !=(ImDrawListSplitterPtr left, ImDrawListSplitter* right) => left.Handle != right; - - public bool Equals(ImDrawListSplitterPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawListSplitterPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawListSplitterPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int Current => ref Unsafe.AsRef(&Handle->Current); - /// - /// To be documented. - /// - public ref int Count => ref Unsafe.AsRef(&Handle->Count); - /// - /// To be documented. - /// - public ref ImVector Channels => ref Unsafe.AsRef>(&Handle->Channels); - /// - /// Do not clear Channels[] so our allocations are reused next frame
- ///
- public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void ClearFreeMemory() - { - ImGui.ClearFreeMemoryNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Merge(ImDrawListPtr drawList) - { - ImGui.MergeNative(Handle, drawList); - } - - /// - /// To be documented. - /// - public unsafe void Merge(ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.MergeNative(Handle, (ImDrawList*)pdrawList); - } - } - - /// - /// To be documented. - /// - public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) - { - ImGui.SetCurrentChannelNative(Handle, drawList, channelIdx); - } - - /// - /// To be documented. - /// - public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.SetCurrentChannelNative(Handle, (ImDrawList*)pdrawList, channelIdx); - } - } - - /// - /// To be documented. - /// - public unsafe void Split(ImDrawListPtr drawList, int count) - { - ImGui.SplitNative(Handle, drawList, count); - } - - /// - /// To be documented. - /// - public unsafe void Split(ref ImDrawList drawList, int count) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.SplitNative(Handle, (ImDrawList*)pdrawList, count); - } - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawVert.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImDrawVert.cs deleted file mode 100644 index 6650fc091..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImDrawVert.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImDrawVert - { - /// - /// To be documented. - /// - public Vector2 Pos; - - /// - /// To be documented. - /// - public Vector2 Uv; - - /// - /// To be documented. - /// - public uint Col; - - - /// - /// To be documented. - /// - public unsafe ImDrawVert(Vector2 pos = default, Vector2 uv = default, uint col = default) - { - Pos = pos; - Uv = uv; - Col = col; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImDrawVertPtr : IEquatable - { - public ImDrawVertPtr(ImDrawVert* handle) { Handle = handle; } - - public ImDrawVert* Handle; - - public bool IsNull => Handle == null; - - public static ImDrawVertPtr Null => new ImDrawVertPtr(null); - - public ImDrawVert this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImDrawVertPtr(ImDrawVert* handle) => new ImDrawVertPtr(handle); - - public static implicit operator ImDrawVert*(ImDrawVertPtr handle) => handle.Handle; - - public static bool operator ==(ImDrawVertPtr left, ImDrawVertPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImDrawVertPtr left, ImDrawVertPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImDrawVertPtr left, ImDrawVert* right) => left.Handle == right; - - public static bool operator !=(ImDrawVertPtr left, ImDrawVert* right) => left.Handle != right; - - public bool Equals(ImDrawVertPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImDrawVertPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImDrawVertPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public ref Vector2 Uv => ref Unsafe.AsRef(&Handle->Uv); - /// - /// To be documented. - /// - public ref uint Col => ref Unsafe.AsRef(&Handle->Col); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFont.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFont.cs deleted file mode 100644 index 8d1e241bc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFont.cs +++ /dev/null @@ -1,8568 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Font runtime data and rendering
- /// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32().
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFont - { - /// - /// To be documented. - /// - public ImVector IndexAdvanceX; - - /// - /// To be documented. - /// - public float FallbackAdvanceX; - - /// - /// To be documented. - /// - public float FontSize; - - /// - /// To be documented. - /// - public ImVector IndexLookup; - - /// - /// To be documented. - /// - public ImVector Glyphs; - - /// - /// To be documented. - /// - public unsafe ImFontGlyph* FallbackGlyph; - - /// - /// To be documented. - /// - public unsafe ImFontAtlas* ContainerAtlas; - - /// - /// To be documented. - /// - public unsafe ImFontConfig* Sources; - - /// - /// To be documented. - /// - public short SourcesCount; - - /// - /// To be documented. - /// - public short EllipsisCharCount; - - /// - /// To be documented. - /// - public uint EllipsisChar; - - /// - /// To be documented. - /// - public uint FallbackChar; - - /// - /// To be documented. - /// - public float EllipsisWidth; - - /// - /// To be documented. - /// - public float EllipsisCharStep; - - /// - /// To be documented. - /// - public float Scale; - - /// - /// To be documented. - /// - public float Ascent; - - /// - /// To be documented. - /// - public float Descent; - - /// - /// To be documented. - /// - public int MetricsTotalSurface; - - /// - /// To be documented. - /// - public byte DirtyLookupTables; - - /// - /// To be documented. - /// - public byte Used8kPagesMap_0; - public byte Used8kPagesMap_1; - public byte Used8kPagesMap_2; - public byte Used8kPagesMap_3; - public byte Used8kPagesMap_4; - public byte Used8kPagesMap_5; - public byte Used8kPagesMap_6; - public byte Used8kPagesMap_7; - public byte Used8kPagesMap_8; - public byte Used8kPagesMap_9; - public byte Used8kPagesMap_10; - public byte Used8kPagesMap_11; - public byte Used8kPagesMap_12; - public byte Used8kPagesMap_13; - public byte Used8kPagesMap_14; - public byte Used8kPagesMap_15; - public byte Used8kPagesMap_16; - - - /// - /// To be documented. - /// - public unsafe ImFont(ImVector indexAdvanceX = default, float fallbackAdvanceX = default, float fontSize = default, ImVector indexLookup = default, ImVector glyphs = default, ImFontGlyph* fallbackGlyph = default, ImFontAtlas* containerAtlas = default, ImFontConfig* sources = default, short sourcesCount = default, short ellipsisCharCount = default, uint ellipsisChar = default, uint fallbackChar = default, float ellipsisWidth = default, float ellipsisCharStep = default, float scale = default, float ascent = default, float descent = default, int metricsTotalSurface = default, bool dirtyLookupTables = default, byte* used8KPagesMap = default) - { - IndexAdvanceX = indexAdvanceX; - FallbackAdvanceX = fallbackAdvanceX; - FontSize = fontSize; - IndexLookup = indexLookup; - Glyphs = glyphs; - FallbackGlyph = fallbackGlyph; - ContainerAtlas = containerAtlas; - Sources = sources; - SourcesCount = sourcesCount; - EllipsisCharCount = ellipsisCharCount; - EllipsisChar = ellipsisChar; - FallbackChar = fallbackChar; - EllipsisWidth = ellipsisWidth; - EllipsisCharStep = ellipsisCharStep; - Scale = scale; - Ascent = ascent; - Descent = descent; - MetricsTotalSurface = metricsTotalSurface; - DirtyLookupTables = dirtyLookupTables ? (byte)1 : (byte)0; - if (used8KPagesMap != default(byte*)) - { - Used8kPagesMap_0 = used8KPagesMap[0]; - Used8kPagesMap_1 = used8KPagesMap[1]; - Used8kPagesMap_2 = used8KPagesMap[2]; - Used8kPagesMap_3 = used8KPagesMap[3]; - Used8kPagesMap_4 = used8KPagesMap[4]; - Used8kPagesMap_5 = used8KPagesMap[5]; - Used8kPagesMap_6 = used8KPagesMap[6]; - Used8kPagesMap_7 = used8KPagesMap[7]; - Used8kPagesMap_8 = used8KPagesMap[8]; - Used8kPagesMap_9 = used8KPagesMap[9]; - Used8kPagesMap_10 = used8KPagesMap[10]; - Used8kPagesMap_11 = used8KPagesMap[11]; - Used8kPagesMap_12 = used8KPagesMap[12]; - Used8kPagesMap_13 = used8KPagesMap[13]; - Used8kPagesMap_14 = used8KPagesMap[14]; - Used8kPagesMap_15 = used8KPagesMap[15]; - Used8kPagesMap_16 = used8KPagesMap[16]; - } - } - - /// - /// To be documented. - /// - public unsafe ImFont(ImVector indexAdvanceX = default, float fallbackAdvanceX = default, float fontSize = default, ImVector indexLookup = default, ImVector glyphs = default, ImFontGlyph* fallbackGlyph = default, ImFontAtlas* containerAtlas = default, ImFontConfig* sources = default, short sourcesCount = default, short ellipsisCharCount = default, uint ellipsisChar = default, uint fallbackChar = default, float ellipsisWidth = default, float ellipsisCharStep = default, float scale = default, float ascent = default, float descent = default, int metricsTotalSurface = default, bool dirtyLookupTables = default, Span used8KPagesMap = default) - { - IndexAdvanceX = indexAdvanceX; - FallbackAdvanceX = fallbackAdvanceX; - FontSize = fontSize; - IndexLookup = indexLookup; - Glyphs = glyphs; - FallbackGlyph = fallbackGlyph; - ContainerAtlas = containerAtlas; - Sources = sources; - SourcesCount = sourcesCount; - EllipsisCharCount = ellipsisCharCount; - EllipsisChar = ellipsisChar; - FallbackChar = fallbackChar; - EllipsisWidth = ellipsisWidth; - EllipsisCharStep = ellipsisCharStep; - Scale = scale; - Ascent = ascent; - Descent = descent; - MetricsTotalSurface = metricsTotalSurface; - DirtyLookupTables = dirtyLookupTables ? (byte)1 : (byte)0; - if (used8KPagesMap != default(Span)) - { - Used8kPagesMap_0 = used8KPagesMap[0]; - Used8kPagesMap_1 = used8KPagesMap[1]; - Used8kPagesMap_2 = used8KPagesMap[2]; - Used8kPagesMap_3 = used8KPagesMap[3]; - Used8kPagesMap_4 = used8KPagesMap[4]; - Used8kPagesMap_5 = used8KPagesMap[5]; - Used8kPagesMap_6 = used8KPagesMap[6]; - Used8kPagesMap_7 = used8KPagesMap[7]; - Used8kPagesMap_8 = used8KPagesMap[8]; - Used8kPagesMap_9 = used8KPagesMap[9]; - Used8kPagesMap_10 = used8KPagesMap[10]; - Used8kPagesMap_11 = used8KPagesMap[11]; - Used8kPagesMap_12 = used8KPagesMap[12]; - Used8kPagesMap_13 = used8KPagesMap[13]; - Used8kPagesMap_14 = used8KPagesMap[14]; - Used8kPagesMap_15 = used8KPagesMap[15]; - Used8kPagesMap_16 = used8KPagesMap[16]; - } - } - - - /// - /// To be documented. - /// - public unsafe void AddGlyph(ImFontConfig* srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - fixed (ImFont* @this = &this) - { - ImGui.AddGlyphNative(@this, srcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - } - - /// - /// To be documented. - /// - public unsafe void AddGlyph(ref ImFontConfig srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - fixed (ImFont* @this = &this) - { - fixed (ImFontConfig* psrcCfg = &srcCfg) - { - ImGui.AddGlyphNative(@this, (ImFontConfig*)psrcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - } - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public unsafe void AddRemapChar(uint dst, uint src, bool overwriteDst) - { - fixed (ImFont* @this = &this) - { - ImGui.AddRemapCharNative(@this, dst, src, overwriteDst ? (byte)1 : (byte)0); - } - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public unsafe void AddRemapChar(uint dst, uint src) - { - fixed (ImFont* @this = &this) - { - ImGui.AddRemapCharNative(@this, dst, src, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public unsafe void BuildLookupTable() - { - fixed (ImFont* @this = &this) - { - ImGui.BuildLookupTableNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, textEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, textEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, textEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, textEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, text, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, text, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, pStr1, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, pStr1, wrapWidth)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(@this, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe void ClearOutputData() - { - fixed (ImFont* @this = &this) - { - ImGui.ClearOutputDataNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImFont* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe ImFontGlyph* FindGlyph(uint c) - { - fixed (ImFont* @this = &this) - { - ImFontGlyph* ret = ImGui.FindGlyphNative(@this, c); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontGlyph* FindGlyphNoFallback(uint c) - { - fixed (ImFont* @this = &this) - { - ImFontGlyph* ret = ImGui.FindGlyphNoFallbackNative(@this, c); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe float GetCharAdvance(uint c) - { - fixed (ImFont* @this = &this) - { - float ret = ImGui.GetCharAdvanceNative(@this, c); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetDebugName() - { - fixed (ImFont* @this = &this) - { - byte* ret = ImGui.GetDebugNameNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetDebugNameS() - { - fixed (ImFont* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImGui.GetDebugNameNative(@this)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void GrowIndex(int newSize) - { - fixed (ImFont* @this = &this) - { - ImGui.GrowIndexNative(@this, newSize); - } - } - - /// - /// To be documented. - /// - public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast) - { - fixed (ImFont* @this = &this) - { - byte ret = ImGui.IsGlyphRangeUnusedNative(@this, cBegin, cLast); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsLoaded() - { - fixed (ImFont* @this = &this) - { - byte ret = ImGui.IsLoadedNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, uint c) - { - fixed (ImFont* @this = &this) - { - ImGui.RenderCharNative(@this, drawList, size, pos, col, c); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, uint c) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderCharNative(@this, (ImDrawList*)pdrawList, size, pos, col, c); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImFont* @this = &this) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(@this, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontPtr : IEquatable - { - public ImFontPtr(ImFont* handle) { Handle = handle; } - - public ImFont* Handle; - - public bool IsNull => Handle == null; - - public static ImFontPtr Null => new ImFontPtr(null); - - public ImFont this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontPtr(ImFont* handle) => new ImFontPtr(handle); - - public static implicit operator ImFont*(ImFontPtr handle) => handle.Handle; - - public static bool operator ==(ImFontPtr left, ImFontPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontPtr left, ImFontPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontPtr left, ImFont* right) => left.Handle == right; - - public static bool operator !=(ImFontPtr left, ImFont* right) => left.Handle != right; - - public bool Equals(ImFontPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector IndexAdvanceX => ref Unsafe.AsRef>(&Handle->IndexAdvanceX); - /// - /// To be documented. - /// - public ref float FallbackAdvanceX => ref Unsafe.AsRef(&Handle->FallbackAdvanceX); - /// - /// To be documented. - /// - public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); - /// - /// To be documented. - /// - public ref ImVector IndexLookup => ref Unsafe.AsRef>(&Handle->IndexLookup); - /// - /// To be documented. - /// - public ref ImVector Glyphs => ref Unsafe.AsRef>(&Handle->Glyphs); - /// - /// To be documented. - /// - public ref ImFontGlyphPtr FallbackGlyph => ref Unsafe.AsRef(&Handle->FallbackGlyph); - /// - /// To be documented. - /// - public ref ImFontAtlasPtr ContainerAtlas => ref Unsafe.AsRef(&Handle->ContainerAtlas); - /// - /// To be documented. - /// - public ref ImFontConfigPtr Sources => ref Unsafe.AsRef(&Handle->Sources); - /// - /// To be documented. - /// - public ref short SourcesCount => ref Unsafe.AsRef(&Handle->SourcesCount); - /// - /// To be documented. - /// - public ref short EllipsisCharCount => ref Unsafe.AsRef(&Handle->EllipsisCharCount); - /// - /// To be documented. - /// - public ref uint EllipsisChar => ref Unsafe.AsRef(&Handle->EllipsisChar); - /// - /// To be documented. - /// - public ref uint FallbackChar => ref Unsafe.AsRef(&Handle->FallbackChar); - /// - /// To be documented. - /// - public ref float EllipsisWidth => ref Unsafe.AsRef(&Handle->EllipsisWidth); - /// - /// To be documented. - /// - public ref float EllipsisCharStep => ref Unsafe.AsRef(&Handle->EllipsisCharStep); - /// - /// To be documented. - /// - public ref float Scale => ref Unsafe.AsRef(&Handle->Scale); - /// - /// To be documented. - /// - public ref float Ascent => ref Unsafe.AsRef(&Handle->Ascent); - /// - /// To be documented. - /// - public ref float Descent => ref Unsafe.AsRef(&Handle->Descent); - /// - /// To be documented. - /// - public ref int MetricsTotalSurface => ref Unsafe.AsRef(&Handle->MetricsTotalSurface); - /// - /// To be documented. - /// - public ref bool DirtyLookupTables => ref Unsafe.AsRef(&Handle->DirtyLookupTables); - /// - /// To be documented. - /// - public unsafe Span Used8kPagesMap - - { - get - { - return new Span(&Handle->Used8kPagesMap_0, 17); - } - } - /// - /// To be documented. - /// - public unsafe void AddGlyph(ImFontConfig* srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - ImGui.AddGlyphNative(Handle, srcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - - /// - /// To be documented. - /// - public unsafe void AddGlyph(ref ImFontConfig srcCfg, uint c, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) - { - fixed (ImFontConfig* psrcCfg = &srcCfg) - { - ImGui.AddGlyphNative(Handle, (ImFontConfig*)psrcCfg, c, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); - } - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public unsafe void AddRemapChar(uint dst, uint src, bool overwriteDst) - { - ImGui.AddRemapCharNative(Handle, dst, src, overwriteDst ? (byte)1 : (byte)0); - } - - /// - /// Makes 'dst' characterglyph points to 'src' characterglyph. Currently needs to be called AFTER fonts have been built.
- ///
- public unsafe void AddRemapChar(uint dst, uint src) - { - ImGui.AddRemapCharNative(Handle, dst, src, (byte)(1)); - } - - /// - /// To be documented. - /// - public unsafe void BuildLookupTable() - { - ImGui.BuildLookupTableNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, byte* textEnd, float wrapWidth) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, textEnd, wrapWidth); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, byte* textEnd, float wrapWidth) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, textEnd, wrapWidth)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, textEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, textEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, textEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, text, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, text, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, pStr1, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, pStr1, wrapWidth)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, (byte*)ptextEnd, wrapWidth)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, (byte*)ptext, pStr0, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* CalcWordWrapPositionA(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte* ret = ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string CalcWordWrapPositionAS(float scale, string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(ImGui.CalcWordWrapPositionANative(Handle, scale, pStr0, (byte*)ptextEnd, wrapWidth)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void ClearOutputData() - { - ImGui.ClearOutputDataNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe ImFontGlyph* FindGlyph(uint c) - { - ImFontGlyph* ret = ImGui.FindGlyphNative(Handle, c); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontGlyph* FindGlyphNoFallback(uint c) - { - ImFontGlyph* ret = ImGui.FindGlyphNoFallbackNative(Handle, c); - return ret; - } - - /// - /// To be documented. - /// - public unsafe float GetCharAdvance(uint c) - { - float ret = ImGui.GetCharAdvanceNative(Handle, c); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* GetDebugName() - { - byte* ret = ImGui.GetDebugNameNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetDebugNameS() - { - string ret = Utils.DecodeStringUTF8(ImGui.GetDebugNameNative(Handle)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void GrowIndex(int newSize) - { - ImGui.GrowIndexNative(Handle, newSize); - } - - /// - /// To be documented. - /// - public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast) - { - byte ret = ImGui.IsGlyphRangeUnusedNative(Handle, cBegin, cLast); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsLoaded() - { - byte ret = ImGui.IsLoadedNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, uint c) - { - ImGui.RenderCharNative(Handle, drawList, size, pos, col, c); - } - - /// - /// To be documented. - /// - public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, uint c) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderCharNative(Handle, (ImDrawList*)pdrawList, size, pos, col, c); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, byte* textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, textEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, textBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, drawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, wrapWidth, (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), (byte)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, pStr1, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ref byte textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, wrapWidth, (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ReadOnlySpan textBegin, string textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, (byte*)ptextBegin, pStr0, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ref byte textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, wrapWidth, (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), (byte)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void RenderText(ref ImDrawList drawList, float size, Vector2 pos, uint col, Vector4 clipRect, string textBegin, ReadOnlySpan textEnd, bool cpuFineClip) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.RenderTextNative(Handle, (ImDrawList*)pdrawList, size, pos, col, clipRect, pStr0, (byte*)ptextEnd, (float)(0.0f), cpuFineClip ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontPtrPtr : IEquatable - { - public ImFontPtrPtr(ImFont** handle) { Handle = handle; } - - public ImFont** Handle; - - public bool IsNull => Handle == null; - - public static ImFontPtrPtr Null => new ImFontPtrPtr(null); - - public ImFont* this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontPtrPtr(ImFont** handle) => new ImFontPtrPtr(handle); - - public static implicit operator ImFont**(ImFontPtrPtr handle) => handle.Handle; - - public static bool operator ==(ImFontPtrPtr left, ImFontPtrPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontPtrPtr left, ImFontPtrPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontPtrPtr left, ImFont** right) => left.Handle == right; - - public static bool operator !=(ImFontPtrPtr left, ImFont** right) => left.Handle != right; - - public bool Equals(ImFontPtrPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontPtrPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlas.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlas.cs deleted file mode 100644 index 3a86c9bf3..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlas.cs +++ /dev/null @@ -1,5953 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Load and rasterize multiple TTFOTF fonts into a same texture. The font atlas will build a single texture holding:
- /// - One or more fonts.
- /// - Custom graphics data needed to render the shapes needed by Dear ImGui.
- /// - Mouse cursor shapes for software cursor rendering (unless setting 'Flags |= ImFontAtlasFlags_NoMouseCursors' in the font atlas).
- /// It is the user-code responsibility to setupbuild the atlas, then upload the pixel data into a texture accessible by your graphics api.
- /// - Optionally, call any of the AddFont*** functions. If you don't call any, the default font embedded in the code will be loaded for you.
- /// - Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.
- /// - Upload the pixels data into a texture within your graphics system (see imgui_impl_xxxx.cpp examples)
- /// - Call SetTexID(my_tex_id); and pass the pointeridentifier to your texture in a format natural to your graphics API.
- /// This value will be passed back to you during rendering to identify the texture. Read FAQ entry about ImTextureID for more details.
- /// Common pitfalls:
- /// - If you pass a 'glyph_ranges' array to AddFont*** functions, you need to make sure that your array persist up until the
- /// atlas is build (when calling GetTexData*** or Build()). We only copy the pointer, not the data.
- /// - Important: By default, AddFontFromMemoryTTF() takes ownership of the data. Even though we are not writing to it, we will free the pointer on destruction.
- /// You can set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed,
- /// - Even though many functions are suffixed with "TTF", OTF data is supported just as well.
- /// - This is an old API and it is currently awkward for those and various other reasons! We will address them in the future!
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFontAtlas - { - /// - /// To be documented. - /// - public ImFontAtlasFlags Flags; - - /// - /// To be documented. - /// - public ImTextureID TexID; - - /// - /// To be documented. - /// - public int TexDesiredWidth; - - /// - /// To be documented. - /// - public int TexGlyphPadding; - - /// - /// To be documented. - /// - public unsafe void* UserData; - - /// - /// To be documented. - /// - public byte Locked; - - /// - /// To be documented. - /// - public byte TexReady; - - /// - /// To be documented. - /// - public byte TexPixelsUseColors; - - /// - /// To be documented. - /// - public unsafe byte* TexPixelsAlpha8; - - /// - /// To be documented. - /// - public unsafe uint* TexPixelsRGBA32; - - /// - /// To be documented. - /// - public int TexWidth; - - /// - /// To be documented. - /// - public int TexHeight; - - /// - /// To be documented. - /// - public Vector2 TexUvScale; - - /// - /// To be documented. - /// - public Vector2 TexUvWhitePixel; - - /// - /// To be documented. - /// - public ImVector Fonts; - - /// - /// To be documented. - /// - public ImVector CustomRects; - - /// - /// To be documented. - /// - public ImVector Sources; - - /// - /// To be documented. - /// - public Vector4 TexUvLines_0; - public Vector4 TexUvLines_1; - public Vector4 TexUvLines_2; - public Vector4 TexUvLines_3; - public Vector4 TexUvLines_4; - public Vector4 TexUvLines_5; - public Vector4 TexUvLines_6; - public Vector4 TexUvLines_7; - public Vector4 TexUvLines_8; - public Vector4 TexUvLines_9; - public Vector4 TexUvLines_10; - public Vector4 TexUvLines_11; - public Vector4 TexUvLines_12; - public Vector4 TexUvLines_13; - public Vector4 TexUvLines_14; - public Vector4 TexUvLines_15; - public Vector4 TexUvLines_16; - public Vector4 TexUvLines_17; - public Vector4 TexUvLines_18; - public Vector4 TexUvLines_19; - public Vector4 TexUvLines_20; - public Vector4 TexUvLines_21; - public Vector4 TexUvLines_22; - public Vector4 TexUvLines_23; - public Vector4 TexUvLines_24; - public Vector4 TexUvLines_25; - public Vector4 TexUvLines_26; - public Vector4 TexUvLines_27; - public Vector4 TexUvLines_28; - public Vector4 TexUvLines_29; - public Vector4 TexUvLines_30; - public Vector4 TexUvLines_31; - public Vector4 TexUvLines_32; - - /// - /// To be documented. - /// - public unsafe ImFontBuilderIO* FontBuilderIO; - - /// - /// To be documented. - /// - public uint FontBuilderFlags; - - /// - /// To be documented. - /// - public int PackIdMouseCursors; - - /// - /// To be documented. - /// - public int PackIdLines; - - - /// - /// To be documented. - /// - public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImTextureID texId = default, int texDesiredWidth = default, int texGlyphPadding = default, void* userData = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, byte* texPixelsAlpha8 = default, uint* texPixelsRgba32 = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector sources = default, Vector4* texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int packIdMouseCursors = default, int packIdLines = default) - { - Flags = flags; - TexID = texId; - TexDesiredWidth = texDesiredWidth; - TexGlyphPadding = texGlyphPadding; - UserData = userData; - Locked = locked ? (byte)1 : (byte)0; - TexReady = texReady ? (byte)1 : (byte)0; - TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; - TexPixelsAlpha8 = texPixelsAlpha8; - TexPixelsRGBA32 = texPixelsRgba32; - TexWidth = texWidth; - TexHeight = texHeight; - TexUvScale = texUvScale; - TexUvWhitePixel = texUvWhitePixel; - Fonts = fonts; - CustomRects = customRects; - Sources = sources; - if (texUvLines != default(Vector4*)) - { - TexUvLines_0 = texUvLines[0]; - TexUvLines_1 = texUvLines[1]; - TexUvLines_2 = texUvLines[2]; - TexUvLines_3 = texUvLines[3]; - TexUvLines_4 = texUvLines[4]; - TexUvLines_5 = texUvLines[5]; - TexUvLines_6 = texUvLines[6]; - TexUvLines_7 = texUvLines[7]; - TexUvLines_8 = texUvLines[8]; - TexUvLines_9 = texUvLines[9]; - TexUvLines_10 = texUvLines[10]; - TexUvLines_11 = texUvLines[11]; - TexUvLines_12 = texUvLines[12]; - TexUvLines_13 = texUvLines[13]; - TexUvLines_14 = texUvLines[14]; - TexUvLines_15 = texUvLines[15]; - TexUvLines_16 = texUvLines[16]; - TexUvLines_17 = texUvLines[17]; - TexUvLines_18 = texUvLines[18]; - TexUvLines_19 = texUvLines[19]; - TexUvLines_20 = texUvLines[20]; - TexUvLines_21 = texUvLines[21]; - TexUvLines_22 = texUvLines[22]; - TexUvLines_23 = texUvLines[23]; - TexUvLines_24 = texUvLines[24]; - TexUvLines_25 = texUvLines[25]; - TexUvLines_26 = texUvLines[26]; - TexUvLines_27 = texUvLines[27]; - TexUvLines_28 = texUvLines[28]; - TexUvLines_29 = texUvLines[29]; - TexUvLines_30 = texUvLines[30]; - TexUvLines_31 = texUvLines[31]; - TexUvLines_32 = texUvLines[32]; - } - FontBuilderIO = fontBuilderIo; - FontBuilderFlags = fontBuilderFlags; - PackIdMouseCursors = packIdMouseCursors; - PackIdLines = packIdLines; - } - - /// - /// To be documented. - /// - public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImTextureID texId = default, int texDesiredWidth = default, int texGlyphPadding = default, void* userData = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, byte* texPixelsAlpha8 = default, uint* texPixelsRgba32 = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector sources = default, Span texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int packIdMouseCursors = default, int packIdLines = default) - { - Flags = flags; - TexID = texId; - TexDesiredWidth = texDesiredWidth; - TexGlyphPadding = texGlyphPadding; - UserData = userData; - Locked = locked ? (byte)1 : (byte)0; - TexReady = texReady ? (byte)1 : (byte)0; - TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; - TexPixelsAlpha8 = texPixelsAlpha8; - TexPixelsRGBA32 = texPixelsRgba32; - TexWidth = texWidth; - TexHeight = texHeight; - TexUvScale = texUvScale; - TexUvWhitePixel = texUvWhitePixel; - Fonts = fonts; - CustomRects = customRects; - Sources = sources; - if (texUvLines != default(Span)) - { - TexUvLines_0 = texUvLines[0]; - TexUvLines_1 = texUvLines[1]; - TexUvLines_2 = texUvLines[2]; - TexUvLines_3 = texUvLines[3]; - TexUvLines_4 = texUvLines[4]; - TexUvLines_5 = texUvLines[5]; - TexUvLines_6 = texUvLines[6]; - TexUvLines_7 = texUvLines[7]; - TexUvLines_8 = texUvLines[8]; - TexUvLines_9 = texUvLines[9]; - TexUvLines_10 = texUvLines[10]; - TexUvLines_11 = texUvLines[11]; - TexUvLines_12 = texUvLines[12]; - TexUvLines_13 = texUvLines[13]; - TexUvLines_14 = texUvLines[14]; - TexUvLines_15 = texUvLines[15]; - TexUvLines_16 = texUvLines[16]; - TexUvLines_17 = texUvLines[17]; - TexUvLines_18 = texUvLines[18]; - TexUvLines_19 = texUvLines[19]; - TexUvLines_20 = texUvLines[20]; - TexUvLines_21 = texUvLines[21]; - TexUvLines_22 = texUvLines[22]; - TexUvLines_23 = texUvLines[23]; - TexUvLines_24 = texUvLines[24]; - TexUvLines_25 = texUvLines[25]; - TexUvLines_26 = texUvLines[26]; - TexUvLines_27 = texUvLines[27]; - TexUvLines_28 = texUvLines[28]; - TexUvLines_29 = texUvLines[29]; - TexUvLines_30 = texUvLines[30]; - TexUvLines_31 = texUvLines[31]; - TexUvLines_32 = texUvLines[32]; - } - FontBuilderIO = fontBuilderIo; - FontBuilderFlags = fontBuilderFlags; - PackIdMouseCursors = packIdMouseCursors; - PackIdLines = packIdLines; - } - - - /// - /// To be documented. - /// - public unsafe Span TexUvLines - - { - get - { - fixed (Vector4* p = &this.TexUvLines_0) - { - return new Span(p, 33); - } - } - } - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ImFontPtr font, uint id, int width, int height, float advanceX, Vector2 offset) - { - fixed (ImFontAtlas* @this = &this) - { - int ret = ImGui.AddCustomRectFontGlyphNative(@this, font, id, width, height, advanceX, offset); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ImFontPtr font, uint id, int width, int height, float advanceX) - { - fixed (ImFontAtlas* @this = &this) - { - int ret = ImGui.AddCustomRectFontGlyphNative(@this, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ref ImFont font, uint id, int width, int height, float advanceX, Vector2 offset) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFont* pfont = &font) - { - int ret = ImGui.AddCustomRectFontGlyphNative(@this, (ImFont*)pfont, id, width, height, advanceX, offset); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ref ImFont font, uint id, int width, int height, float advanceX) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFont* pfont = &font) - { - int ret = ImGui.AddCustomRectFontGlyphNative(@this, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectRegular(int width, int height) - { - fixed (ImFontAtlas* @this = &this) - { - int ret = ImGui.AddCustomRectRegularNative(@this, width, height); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontNative(@this, fontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontNative(@this, (ImFontConfig*)pfontCfg); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontDefaultNative(@this, fontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontDefault() - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontDefaultNative(@this, (ImFontConfig*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontDefaultNative(@this, (ImFontConfig*)pfontCfg); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(@this, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(@this, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(@this, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// Build pixels data. This is called automatically for you by the GetTexData*** functions.
- ///
- public unsafe bool Build() - { - fixed (ImFontAtlas* @this = &this) - { - byte ret = ImGui.BuildNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.CalcCustomRectUVNative(@this, rect, outUvMin, outUvMax); - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - ImGui.CalcCustomRectUVNative(@this, rect, (Vector2*)poutUvMin, outUvMax); - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(@this, rect, outUvMin, (Vector2*)poutUvMax); - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(@this, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - } - } - - /// - /// Clear all input and output.
- ///
- public unsafe void Clear() - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates).
- ///
- public unsafe void ClearFonts() - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.ClearFontsNative(@this); - } - } - - /// - /// Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
- ///
- public unsafe void ClearInputData() - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.ClearInputDataNative(@this); - } - } - - /// - /// Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.
- ///
- public unsafe void ClearTexData() - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.ClearTexDataNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) - { - fixed (ImFontAtlas* @this = &this) - { - ImFontAtlasCustomRect* ret = ImGui.GetCustomRectByIndexNative(@this, index); - return ret; - } - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + full set of about 21000 CJK Unified Ideographs
- ///
- public unsafe uint* GetGlyphRangesChineseFull() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesChineseFullNative(@this); - return ret; - } - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + set of 2500 CJK Unified Ideographs for common simplified Chinese
- ///
- public unsafe uint* GetGlyphRangesChineseSimplifiedCommon() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesChineseSimplifiedCommonNative(@this); - return ret; - } - } - - /// - /// Default + about 400 Cyrillic characters
- ///
- public unsafe uint* GetGlyphRangesCyrillic() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesCyrillicNative(@this); - return ret; - } - } - - /// - /// Basic Latin, Extended Latin
- ///
- public unsafe uint* GetGlyphRangesDefault() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesDefaultNative(@this); - return ret; - } - } - - /// - /// Default + Greek and Coptic
- ///
- public unsafe uint* GetGlyphRangesGreek() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesGreekNative(@this); - return ret; - } - } - - /// - /// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs
- ///
- public unsafe uint* GetGlyphRangesJapanese() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesJapaneseNative(@this); - return ret; - } - } - - /// - /// Default + Korean characters
- ///
- public unsafe uint* GetGlyphRangesKorean() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesKoreanNative(@this); - return ret; - } - } - - /// - /// Default + Thai characters
- ///
- public unsafe uint* GetGlyphRangesThai() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesThaiNative(@this); - return ret; - } - } - - /// - /// Default + Vietnamese characters
- ///
- public unsafe uint* GetGlyphRangesVietnamese() - { - fixed (ImFontAtlas* @this = &this) - { - uint* ret = ImGui.GetGlyphRangesVietnameseNative(@this); - return ret; - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(@this, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (ImFontAtlas* @this = &this) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(@this, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - } - - /// - /// Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...
- ///
- public unsafe bool IsBuilt() - { - fixed (ImFontAtlas* @this = &this) - { - byte ret = ImGui.IsBuiltNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void SetTexID(ImTextureID id) - { - fixed (ImFontAtlas* @this = &this) - { - ImGui.SetTexIDNative(@this, id); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontAtlasPtr : IEquatable - { - public ImFontAtlasPtr(ImFontAtlas* handle) { Handle = handle; } - - public ImFontAtlas* Handle; - - public bool IsNull => Handle == null; - - public static ImFontAtlasPtr Null => new ImFontAtlasPtr(null); - - public ImFontAtlas this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontAtlasPtr(ImFontAtlas* handle) => new ImFontAtlasPtr(handle); - - public static implicit operator ImFontAtlas*(ImFontAtlasPtr handle) => handle.Handle; - - public static bool operator ==(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle == right; - - public static bool operator !=(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle != right; - - public bool Equals(ImFontAtlasPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontAtlasPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontAtlasPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImFontAtlasFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImTextureID TexID => ref Unsafe.AsRef(&Handle->TexID); - /// - /// To be documented. - /// - public ref int TexDesiredWidth => ref Unsafe.AsRef(&Handle->TexDesiredWidth); - /// - /// To be documented. - /// - public ref int TexGlyphPadding => ref Unsafe.AsRef(&Handle->TexGlyphPadding); - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - /// - /// To be documented. - /// - public ref bool Locked => ref Unsafe.AsRef(&Handle->Locked); - /// - /// To be documented. - /// - public ref bool TexReady => ref Unsafe.AsRef(&Handle->TexReady); - /// - /// To be documented. - /// - public ref bool TexPixelsUseColors => ref Unsafe.AsRef(&Handle->TexPixelsUseColors); - /// - /// To be documented. - /// - public byte* TexPixelsAlpha8 { get => Handle->TexPixelsAlpha8; set => Handle->TexPixelsAlpha8 = value; } - /// - /// To be documented. - /// - public uint* TexPixelsRGBA32 { get => Handle->TexPixelsRGBA32; set => Handle->TexPixelsRGBA32 = value; } - /// - /// To be documented. - /// - public ref int TexWidth => ref Unsafe.AsRef(&Handle->TexWidth); - /// - /// To be documented. - /// - public ref int TexHeight => ref Unsafe.AsRef(&Handle->TexHeight); - /// - /// To be documented. - /// - public ref Vector2 TexUvScale => ref Unsafe.AsRef(&Handle->TexUvScale); - /// - /// To be documented. - /// - public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); - /// - /// To be documented. - /// - public ref ImVector Fonts => ref Unsafe.AsRef>(&Handle->Fonts); - /// - /// To be documented. - /// - public ref ImVector CustomRects => ref Unsafe.AsRef>(&Handle->CustomRects); - /// - /// To be documented. - /// - public ref ImVector Sources => ref Unsafe.AsRef>(&Handle->Sources); - /// - /// To be documented. - /// - public unsafe Span TexUvLines - - { - get - { - return new Span(&Handle->TexUvLines_0, 33); - } - } - /// - /// To be documented. - /// - public ref ImFontBuilderIOPtr FontBuilderIO => ref Unsafe.AsRef(&Handle->FontBuilderIO); - /// - /// To be documented. - /// - public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); - /// - /// To be documented. - /// - public ref int PackIdMouseCursors => ref Unsafe.AsRef(&Handle->PackIdMouseCursors); - /// - /// To be documented. - /// - public ref int PackIdLines => ref Unsafe.AsRef(&Handle->PackIdLines); - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ImFontPtr font, uint id, int width, int height, float advanceX, Vector2 offset) - { - int ret = ImGui.AddCustomRectFontGlyphNative(Handle, font, id, width, height, advanceX, offset); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ImFontPtr font, uint id, int width, int height, float advanceX) - { - int ret = ImGui.AddCustomRectFontGlyphNative(Handle, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ref ImFont font, uint id, int width, int height, float advanceX, Vector2 offset) - { - fixed (ImFont* pfont = &font) - { - int ret = ImGui.AddCustomRectFontGlyphNative(Handle, (ImFont*)pfont, id, width, height, advanceX, offset); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectFontGlyph(ref ImFont font, uint id, int width, int height, float advanceX) - { - fixed (ImFont* pfont = &font) - { - int ret = ImGui.AddCustomRectFontGlyphNative(Handle, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int AddCustomRectRegular(int width, int height) - { - int ret = ImGui.AddCustomRectRegularNative(Handle, width, height); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) - { - ImFontPtr ret = ImGui.AddFontNative(Handle, fontCfg); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontNative(Handle, (ImFontConfig*)pfontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) - { - ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, fontCfg); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontDefault() - { - ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, (ImFontConfig*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontDefaultNative(Handle, (ImFontConfig*)pfontCfg); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, uint* glyphRanges) - { - fixed (byte* pfilename = &filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, uint* glyphRanges) - { - fixed (byte* pfilename = filename) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(byte* filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, filename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ref byte filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = &filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(ReadOnlySpan filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pfilename = filename) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, (byte*)pfilename, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe ImFontPtr AddFontFromFileTTF(string filename, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromFileTTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, fontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(byte* compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, compressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ref byte compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = &compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(ReadOnlySpan compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (byte* pcompressedFontDatabase85 = compressedFontDatabase85) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, (byte*)pcompressedFontDatabase85, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - } - - /// - /// 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedBase85TTF(string compressedFontDatabase85, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (compressedFontDatabase85 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(compressedFontDatabase85); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(compressedFontDatabase85, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedBase85TTFNative(Handle, pStr0, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp.
- ///
- public unsafe ImFontPtr AddFontFromMemoryCompressedTTF(void* compressedFontData, int compressedFontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryCompressedTTFNative(Handle, compressedFontData, compressedFontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, fontCfg, glyphRanges); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, fontCfg, (uint*)(default)); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)(default)); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, uint* glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), glyphRanges); - return ret; - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, uint* glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, glyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)(default)); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ImFontConfig* fontCfg, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, fontCfg, (uint*)pglyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref uint glyphRanges) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, (ImFontConfig*)(default), (uint*)pglyphRanges); - return ret; - } - } - - /// - /// Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed.
- ///
- public unsafe ImFontPtr AddFontFromMemoryTTF(void* fontData, int fontDataSize, float sizePixels, ref ImFontConfig fontCfg, ref uint glyphRanges) - { - fixed (ImFontConfig* pfontCfg = &fontCfg) - { - fixed (uint* pglyphRanges = &glyphRanges) - { - ImFontPtr ret = ImGui.AddFontFromMemoryTTFNative(Handle, fontData, fontDataSize, sizePixels, (ImFontConfig*)pfontCfg, (uint*)pglyphRanges); - return ret; - } - } - } - - /// - /// Build pixels data. This is called automatically for you by the GetTexData*** functions.
- ///
- public unsafe bool Build() - { - byte ret = ImGui.BuildNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) - { - ImGui.CalcCustomRectUVNative(Handle, rect, outUvMin, outUvMax); - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - ImGui.CalcCustomRectUVNative(Handle, rect, (Vector2*)poutUvMin, outUvMax); - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(Handle, rect, outUvMin, (Vector2*)poutUvMax); - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(Handle, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - - /// - /// To be documented. - /// - public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) - { - fixed (ImFontAtlasCustomRect* prect = &rect) - { - fixed (Vector2* poutUvMin = &outUvMin) - { - fixed (Vector2* poutUvMax = &outUvMax) - { - ImGui.CalcCustomRectUVNative(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); - } - } - } - } - - /// - /// Clear all input and output.
- ///
- public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// Clear input+output font data (same as ClearInputData() + glyphs storage, UV coordinates).
- ///
- public unsafe void ClearFonts() - { - ImGui.ClearFontsNative(Handle); - } - - /// - /// Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts.
- ///
- public unsafe void ClearInputData() - { - ImGui.ClearInputDataNative(Handle); - } - - /// - /// Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory.
- ///
- public unsafe void ClearTexData() - { - ImGui.ClearTexDataNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) - { - ImFontAtlasCustomRect* ret = ImGui.GetCustomRectByIndexNative(Handle, index); - return ret; - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + full set of about 21000 CJK Unified Ideographs
- ///
- public unsafe uint* GetGlyphRangesChineseFull() - { - uint* ret = ImGui.GetGlyphRangesChineseFullNative(Handle); - return ret; - } - - /// - /// Default + Half-Width + Japanese HiraganaKatakana + set of 2500 CJK Unified Ideographs for common simplified Chinese
- ///
- public unsafe uint* GetGlyphRangesChineseSimplifiedCommon() - { - uint* ret = ImGui.GetGlyphRangesChineseSimplifiedCommonNative(Handle); - return ret; - } - - /// - /// Default + about 400 Cyrillic characters
- ///
- public unsafe uint* GetGlyphRangesCyrillic() - { - uint* ret = ImGui.GetGlyphRangesCyrillicNative(Handle); - return ret; - } - - /// - /// Basic Latin, Extended Latin
- ///
- public unsafe uint* GetGlyphRangesDefault() - { - uint* ret = ImGui.GetGlyphRangesDefaultNative(Handle); - return ret; - } - - /// - /// Default + Greek and Coptic
- ///
- public unsafe uint* GetGlyphRangesGreek() - { - uint* ret = ImGui.GetGlyphRangesGreekNative(Handle); - return ret; - } - - /// - /// Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs
- ///
- public unsafe uint* GetGlyphRangesJapanese() - { - uint* ret = ImGui.GetGlyphRangesJapaneseNative(Handle); - return ret; - } - - /// - /// Default + Korean characters
- ///
- public unsafe uint* GetGlyphRangesKorean() - { - uint* ret = ImGui.GetGlyphRangesKoreanNative(Handle); - return ret; - } - - /// - /// Default + Thai characters
- ///
- public unsafe uint* GetGlyphRangesThai() - { - uint* ret = ImGui.GetGlyphRangesThaiNative(Handle); - return ret; - } - - /// - /// Default + Vietnamese characters
- ///
- public unsafe uint* GetGlyphRangesVietnamese() - { - uint* ret = ImGui.GetGlyphRangesVietnameseNative(Handle); - return ret; - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, outWidth, outHeight, outBytesPerPixel); - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, int* outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, outWidth, outHeight, (int*)(default)); - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 1 byte per-pixel
- ///
- public unsafe void GetTexDataAsAlpha8(ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsAlpha8Native(Handle, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, outWidth, outHeight, outBytesPerPixel); - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, int* outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, outWidth, outHeight, (int*)(default)); - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, int* outHeight) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, int* outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, ref int outHeight) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, ref int outHeight) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, ref int outHeight) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - - /// - /// 4 bytes-per-pixel
- ///
- public unsafe void GetTexDataAsRGBA32(ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) - { - fixed (byte** poutPixels = &outPixels) - { - fixed (int* poutWidth = &outWidth) - { - fixed (int* poutHeight = &outHeight) - { - fixed (int* poutBytesPerPixel = &outBytesPerPixel) - { - ImGui.GetTexDataAsRGBA32Native(Handle, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); - } - } - } - } - } - - /// - /// Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent...
- ///
- public unsafe bool IsBuilt() - { - byte ret = ImGui.IsBuiltNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void SetTexID(ImTextureID id) - { - ImGui.SetTexIDNative(Handle, id); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs deleted file mode 100644 index 58269fa1e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFontAtlasCustomRect.cs +++ /dev/null @@ -1,209 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// See ImFontAtlas::AddCustomRectXXX functions.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFontAtlasCustomRect - { - /// - /// To be documented. - /// - public ushort X; - - /// - /// To be documented. - /// - public ushort Y; - - /// - /// To be documented. - /// - public ushort Width; - - /// - /// To be documented. - /// - public ushort Height; - - /// - /// To be documented. - /// - public uint GlyphID; - - /// - /// To be documented. - /// - public uint GlyphColored; - - /// - /// To be documented. - /// - public float GlyphAdvanceX; - - /// - /// To be documented. - /// - public Vector2 GlyphOffset; - - /// - /// To be documented. - /// - public unsafe ImFont* Font; - - - /// - /// To be documented. - /// - public unsafe ImFontAtlasCustomRect(ushort x = default, ushort y = default, ushort width = default, ushort height = default, uint glyphId = default, uint glyphColored = default, float glyphAdvanceX = default, Vector2 glyphOffset = default, ImFontPtr font = default) - { - X = x; - Y = y; - Width = width; - Height = height; - GlyphID = glyphId; - GlyphColored = glyphColored; - GlyphAdvanceX = glyphAdvanceX; - GlyphOffset = glyphOffset; - Font = font; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImFontAtlasCustomRect* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool IsPacked() - { - fixed (ImFontAtlasCustomRect* @this = &this) - { - byte ret = ImGui.IsPackedNative(@this); - return ret != 0; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontAtlasCustomRectPtr : IEquatable - { - public ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* handle) { Handle = handle; } - - public ImFontAtlasCustomRect* Handle; - - public bool IsNull => Handle == null; - - public static ImFontAtlasCustomRectPtr Null => new ImFontAtlasCustomRectPtr(null); - - public ImFontAtlasCustomRect this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* handle) => new ImFontAtlasCustomRectPtr(handle); - - public static implicit operator ImFontAtlasCustomRect*(ImFontAtlasCustomRectPtr handle) => handle.Handle; - - public static bool operator ==(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRectPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRectPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRect* right) => left.Handle == right; - - public static bool operator !=(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRect* right) => left.Handle != right; - - public bool Equals(ImFontAtlasCustomRectPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontAtlasCustomRectPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontAtlasCustomRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ushort X => ref Unsafe.AsRef(&Handle->X); - /// - /// To be documented. - /// - public ref ushort Y => ref Unsafe.AsRef(&Handle->Y); - /// - /// To be documented. - /// - public ref ushort Width => ref Unsafe.AsRef(&Handle->Width); - /// - /// To be documented. - /// - public ref ushort Height => ref Unsafe.AsRef(&Handle->Height); - /// - /// To be documented. - /// - public ref uint GlyphID => ref Unsafe.AsRef(&Handle->GlyphID); - /// - /// To be documented. - /// - public ref uint GlyphColored => ref Unsafe.AsRef(&Handle->GlyphColored); - /// - /// To be documented. - /// - public ref float GlyphAdvanceX => ref Unsafe.AsRef(&Handle->GlyphAdvanceX); - /// - /// To be documented. - /// - public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&Handle->GlyphOffset); - /// - /// To be documented. - /// - public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool IsPacked() - { - byte ret = ImGui.IsPackedNative(Handle); - return ret != 0; - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFontBuilderIO.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFontBuilderIO.cs deleted file mode 100644 index 0331d9191..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFontBuilderIO.cs +++ /dev/null @@ -1,90 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// This structure is likely to evolve as we add support for incremental atlas updates.
- /// Conceptually this could be in ImGuiPlatformIO, but we are far from ready to make this public.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFontBuilderIO - { - /// - /// To be documented. - /// - public unsafe void* FontBuilderBuild; - - - /// - /// To be documented. - /// - public unsafe ImFontBuilderIO(delegate* fontbuilderBuild = default) - { - FontBuilderBuild = (void*)fontbuilderBuild; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontBuilderIOPtr : IEquatable - { - public ImFontBuilderIOPtr(ImFontBuilderIO* handle) { Handle = handle; } - - public ImFontBuilderIO* Handle; - - public bool IsNull => Handle == null; - - public static ImFontBuilderIOPtr Null => new ImFontBuilderIOPtr(null); - - public ImFontBuilderIO this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontBuilderIOPtr(ImFontBuilderIO* handle) => new ImFontBuilderIOPtr(handle); - - public static implicit operator ImFontBuilderIO*(ImFontBuilderIOPtr handle) => handle.Handle; - - public static bool operator ==(ImFontBuilderIOPtr left, ImFontBuilderIOPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontBuilderIOPtr left, ImFontBuilderIOPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontBuilderIOPtr left, ImFontBuilderIO* right) => left.Handle == right; - - public static bool operator !=(ImFontBuilderIOPtr left, ImFontBuilderIO* right) => left.Handle != right; - - public bool Equals(ImFontBuilderIOPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontBuilderIOPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontBuilderIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public void* FontBuilderBuild { get => Handle->FontBuilderBuild; set => Handle->FontBuilderBuild = value; } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFontConfig.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFontConfig.cs deleted file mode 100644 index a734e72ce..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFontConfig.cs +++ /dev/null @@ -1,455 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// A font inputsource (we may rename this to ImFontSource in the future)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFontConfig - { - /// - /// To be documented. - /// - public unsafe void* FontData; - - /// - /// To be documented. - /// - public int FontDataSize; - - /// - /// To be documented. - /// - public byte FontDataOwnedByAtlas; - - /// - /// To be documented. - /// - public byte MergeMode; - - /// - /// To be documented. - /// - public byte PixelSnapH; - - /// - /// To be documented. - /// - public int FontNo; - - /// - /// To be documented. - /// - public int OversampleH; - - /// - /// To be documented. - /// - public int OversampleV; - - /// - /// To be documented. - /// - public float SizePixels; - - /// - /// To be documented. - /// - public Vector2 GlyphOffset; - - /// - /// To be documented. - /// - public unsafe uint* GlyphRanges; - - /// - /// To be documented. - /// - public float GlyphMinAdvanceX; - - /// - /// To be documented. - /// - public float GlyphMaxAdvanceX; - - /// - /// To be documented. - /// - public float GlyphExtraAdvanceX; - - /// - /// To be documented. - /// - public uint FontBuilderFlags; - - /// - /// To be documented. - /// - public float RasterizerMultiply; - - /// - /// To be documented. - /// - public float RasterizerDensity; - - /// - /// To be documented. - /// - public uint EllipsisChar; - - /// - /// To be documented. - /// - public byte Name_0; - public byte Name_1; - public byte Name_2; - public byte Name_3; - public byte Name_4; - public byte Name_5; - public byte Name_6; - public byte Name_7; - public byte Name_8; - public byte Name_9; - public byte Name_10; - public byte Name_11; - public byte Name_12; - public byte Name_13; - public byte Name_14; - public byte Name_15; - public byte Name_16; - public byte Name_17; - public byte Name_18; - public byte Name_19; - public byte Name_20; - public byte Name_21; - public byte Name_22; - public byte Name_23; - public byte Name_24; - public byte Name_25; - public byte Name_26; - public byte Name_27; - public byte Name_28; - public byte Name_29; - public byte Name_30; - public byte Name_31; - public byte Name_32; - public byte Name_33; - public byte Name_34; - public byte Name_35; - public byte Name_36; - public byte Name_37; - public byte Name_38; - public byte Name_39; - - /// - /// To be documented. - /// - public unsafe ImFont* DstFont; - - - /// - /// To be documented. - /// - public unsafe ImFontConfig(void* fontData = default, int fontDataSize = default, bool fontDataOwnedByAtlas = default, bool mergeMode = default, bool pixelSnapH = default, int fontNo = default, int oversampleH = default, int oversampleV = default, float sizePixels = default, Vector2 glyphOffset = default, uint* glyphRanges = default, float glyphMinAdvanceX = default, float glyphMaxAdvanceX = default, float glyphExtraAdvanceX = default, uint fontBuilderFlags = default, float rasterizerMultiply = default, float rasterizerDensity = default, uint ellipsisChar = default, byte* name = default, ImFontPtr dstFont = default) - { - FontData = fontData; - FontDataSize = fontDataSize; - FontDataOwnedByAtlas = fontDataOwnedByAtlas ? (byte)1 : (byte)0; - MergeMode = mergeMode ? (byte)1 : (byte)0; - PixelSnapH = pixelSnapH ? (byte)1 : (byte)0; - FontNo = fontNo; - OversampleH = oversampleH; - OversampleV = oversampleV; - SizePixels = sizePixels; - GlyphOffset = glyphOffset; - GlyphRanges = glyphRanges; - GlyphMinAdvanceX = glyphMinAdvanceX; - GlyphMaxAdvanceX = glyphMaxAdvanceX; - GlyphExtraAdvanceX = glyphExtraAdvanceX; - FontBuilderFlags = fontBuilderFlags; - RasterizerMultiply = rasterizerMultiply; - RasterizerDensity = rasterizerDensity; - EllipsisChar = ellipsisChar; - if (name != default(byte*)) - { - Name_0 = name[0]; - Name_1 = name[1]; - Name_2 = name[2]; - Name_3 = name[3]; - Name_4 = name[4]; - Name_5 = name[5]; - Name_6 = name[6]; - Name_7 = name[7]; - Name_8 = name[8]; - Name_9 = name[9]; - Name_10 = name[10]; - Name_11 = name[11]; - Name_12 = name[12]; - Name_13 = name[13]; - Name_14 = name[14]; - Name_15 = name[15]; - Name_16 = name[16]; - Name_17 = name[17]; - Name_18 = name[18]; - Name_19 = name[19]; - Name_20 = name[20]; - Name_21 = name[21]; - Name_22 = name[22]; - Name_23 = name[23]; - Name_24 = name[24]; - Name_25 = name[25]; - Name_26 = name[26]; - Name_27 = name[27]; - Name_28 = name[28]; - Name_29 = name[29]; - Name_30 = name[30]; - Name_31 = name[31]; - Name_32 = name[32]; - Name_33 = name[33]; - Name_34 = name[34]; - Name_35 = name[35]; - Name_36 = name[36]; - Name_37 = name[37]; - Name_38 = name[38]; - Name_39 = name[39]; - } - DstFont = dstFont; - } - - /// - /// To be documented. - /// - public unsafe ImFontConfig(void* fontData = default, int fontDataSize = default, bool fontDataOwnedByAtlas = default, bool mergeMode = default, bool pixelSnapH = default, int fontNo = default, int oversampleH = default, int oversampleV = default, float sizePixels = default, Vector2 glyphOffset = default, uint* glyphRanges = default, float glyphMinAdvanceX = default, float glyphMaxAdvanceX = default, float glyphExtraAdvanceX = default, uint fontBuilderFlags = default, float rasterizerMultiply = default, float rasterizerDensity = default, uint ellipsisChar = default, Span name = default, ImFontPtr dstFont = default) - { - FontData = fontData; - FontDataSize = fontDataSize; - FontDataOwnedByAtlas = fontDataOwnedByAtlas ? (byte)1 : (byte)0; - MergeMode = mergeMode ? (byte)1 : (byte)0; - PixelSnapH = pixelSnapH ? (byte)1 : (byte)0; - FontNo = fontNo; - OversampleH = oversampleH; - OversampleV = oversampleV; - SizePixels = sizePixels; - GlyphOffset = glyphOffset; - GlyphRanges = glyphRanges; - GlyphMinAdvanceX = glyphMinAdvanceX; - GlyphMaxAdvanceX = glyphMaxAdvanceX; - GlyphExtraAdvanceX = glyphExtraAdvanceX; - FontBuilderFlags = fontBuilderFlags; - RasterizerMultiply = rasterizerMultiply; - RasterizerDensity = rasterizerDensity; - EllipsisChar = ellipsisChar; - if (name != default(Span)) - { - Name_0 = name[0]; - Name_1 = name[1]; - Name_2 = name[2]; - Name_3 = name[3]; - Name_4 = name[4]; - Name_5 = name[5]; - Name_6 = name[6]; - Name_7 = name[7]; - Name_8 = name[8]; - Name_9 = name[9]; - Name_10 = name[10]; - Name_11 = name[11]; - Name_12 = name[12]; - Name_13 = name[13]; - Name_14 = name[14]; - Name_15 = name[15]; - Name_16 = name[16]; - Name_17 = name[17]; - Name_18 = name[18]; - Name_19 = name[19]; - Name_20 = name[20]; - Name_21 = name[21]; - Name_22 = name[22]; - Name_23 = name[23]; - Name_24 = name[24]; - Name_25 = name[25]; - Name_26 = name[26]; - Name_27 = name[27]; - Name_28 = name[28]; - Name_29 = name[29]; - Name_30 = name[30]; - Name_31 = name[31]; - Name_32 = name[32]; - Name_33 = name[33]; - Name_34 = name[34]; - Name_35 = name[35]; - Name_36 = name[36]; - Name_37 = name[37]; - Name_38 = name[38]; - Name_39 = name[39]; - } - DstFont = dstFont; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImFontConfig* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontConfigPtr : IEquatable - { - public ImFontConfigPtr(ImFontConfig* handle) { Handle = handle; } - - public ImFontConfig* Handle; - - public bool IsNull => Handle == null; - - public static ImFontConfigPtr Null => new ImFontConfigPtr(null); - - public ImFontConfig this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontConfigPtr(ImFontConfig* handle) => new ImFontConfigPtr(handle); - - public static implicit operator ImFontConfig*(ImFontConfigPtr handle) => handle.Handle; - - public static bool operator ==(ImFontConfigPtr left, ImFontConfigPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontConfigPtr left, ImFontConfigPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontConfigPtr left, ImFontConfig* right) => left.Handle == right; - - public static bool operator !=(ImFontConfigPtr left, ImFontConfig* right) => left.Handle != right; - - public bool Equals(ImFontConfigPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontConfigPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontConfigPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public void* FontData { get => Handle->FontData; set => Handle->FontData = value; } - /// - /// To be documented. - /// - public ref int FontDataSize => ref Unsafe.AsRef(&Handle->FontDataSize); - /// - /// To be documented. - /// - public ref bool FontDataOwnedByAtlas => ref Unsafe.AsRef(&Handle->FontDataOwnedByAtlas); - /// - /// To be documented. - /// - public ref bool MergeMode => ref Unsafe.AsRef(&Handle->MergeMode); - /// - /// To be documented. - /// - public ref bool PixelSnapH => ref Unsafe.AsRef(&Handle->PixelSnapH); - /// - /// To be documented. - /// - public ref int FontNo => ref Unsafe.AsRef(&Handle->FontNo); - /// - /// To be documented. - /// - public ref int OversampleH => ref Unsafe.AsRef(&Handle->OversampleH); - /// - /// To be documented. - /// - public ref int OversampleV => ref Unsafe.AsRef(&Handle->OversampleV); - /// - /// To be documented. - /// - public ref float SizePixels => ref Unsafe.AsRef(&Handle->SizePixels); - /// - /// To be documented. - /// - public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&Handle->GlyphOffset); - /// - /// To be documented. - /// - public uint* GlyphRanges { get => Handle->GlyphRanges; set => Handle->GlyphRanges = value; } - /// - /// To be documented. - /// - public ref float GlyphMinAdvanceX => ref Unsafe.AsRef(&Handle->GlyphMinAdvanceX); - /// - /// To be documented. - /// - public ref float GlyphMaxAdvanceX => ref Unsafe.AsRef(&Handle->GlyphMaxAdvanceX); - /// - /// To be documented. - /// - public ref float GlyphExtraAdvanceX => ref Unsafe.AsRef(&Handle->GlyphExtraAdvanceX); - /// - /// To be documented. - /// - public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); - /// - /// To be documented. - /// - public ref float RasterizerMultiply => ref Unsafe.AsRef(&Handle->RasterizerMultiply); - /// - /// To be documented. - /// - public ref float RasterizerDensity => ref Unsafe.AsRef(&Handle->RasterizerDensity); - /// - /// To be documented. - /// - public ref uint EllipsisChar => ref Unsafe.AsRef(&Handle->EllipsisChar); - /// - /// To be documented. - /// - public unsafe Span Name - - { - get - { - return new Span(&Handle->Name_0, 40); - } - } - /// - /// To be documented. - /// - public ref ImFontPtr DstFont => ref Unsafe.AsRef(&Handle->DstFont); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyph.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyph.cs deleted file mode 100644 index 98bd8b140..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyph.cs +++ /dev/null @@ -1,200 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Hold rendering data for one glyph.
- /// (Note: some language parsers may fail to convert the 31+1 bitfield members, in this case maybe drop store a single u32 or we can rework this)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFontGlyph - { - /// - /// To be documented. - /// - public uint Colored; - - /// - /// To be documented. - /// - public uint Visible; - - /// - /// To be documented. - /// - public uint Codepoint; - - /// - /// To be documented. - /// - public float AdvanceX; - - /// - /// To be documented. - /// - public float X0; - - /// - /// To be documented. - /// - public float Y0; - - /// - /// To be documented. - /// - public float X1; - - /// - /// To be documented. - /// - public float Y1; - - /// - /// To be documented. - /// - public float U0; - - /// - /// To be documented. - /// - public float V0; - - /// - /// To be documented. - /// - public float U1; - - /// - /// To be documented. - /// - public float V1; - - - /// - /// To be documented. - /// - public unsafe ImFontGlyph(uint colored = default, uint visible = default, uint codepoint = default, float advanceX = default, float x0 = default, float y0 = default, float x1 = default, float y1 = default, float u0 = default, float v0 = default, float u1 = default, float v1 = default) - { - Colored = colored; - Visible = visible; - Codepoint = codepoint; - AdvanceX = advanceX; - X0 = x0; - Y0 = y0; - X1 = x1; - Y1 = y1; - U0 = u0; - V0 = v0; - U1 = u1; - V1 = v1; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontGlyphPtr : IEquatable - { - public ImFontGlyphPtr(ImFontGlyph* handle) { Handle = handle; } - - public ImFontGlyph* Handle; - - public bool IsNull => Handle == null; - - public static ImFontGlyphPtr Null => new ImFontGlyphPtr(null); - - public ImFontGlyph this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontGlyphPtr(ImFontGlyph* handle) => new ImFontGlyphPtr(handle); - - public static implicit operator ImFontGlyph*(ImFontGlyphPtr handle) => handle.Handle; - - public static bool operator ==(ImFontGlyphPtr left, ImFontGlyphPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontGlyphPtr left, ImFontGlyphPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontGlyphPtr left, ImFontGlyph* right) => left.Handle == right; - - public static bool operator !=(ImFontGlyphPtr left, ImFontGlyph* right) => left.Handle != right; - - public bool Equals(ImFontGlyphPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontGlyphPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontGlyphPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint Colored => ref Unsafe.AsRef(&Handle->Colored); - /// - /// To be documented. - /// - public ref uint Visible => ref Unsafe.AsRef(&Handle->Visible); - /// - /// To be documented. - /// - public ref uint Codepoint => ref Unsafe.AsRef(&Handle->Codepoint); - /// - /// To be documented. - /// - public ref float AdvanceX => ref Unsafe.AsRef(&Handle->AdvanceX); - /// - /// To be documented. - /// - public ref float X0 => ref Unsafe.AsRef(&Handle->X0); - /// - /// To be documented. - /// - public ref float Y0 => ref Unsafe.AsRef(&Handle->Y0); - /// - /// To be documented. - /// - public ref float X1 => ref Unsafe.AsRef(&Handle->X1); - /// - /// To be documented. - /// - public ref float Y1 => ref Unsafe.AsRef(&Handle->Y1); - /// - /// To be documented. - /// - public ref float U0 => ref Unsafe.AsRef(&Handle->U0); - /// - /// To be documented. - /// - public ref float V0 => ref Unsafe.AsRef(&Handle->V0); - /// - /// To be documented. - /// - public ref float U1 => ref Unsafe.AsRef(&Handle->U1); - /// - /// To be documented. - /// - public ref float V1 => ref Unsafe.AsRef(&Handle->V1); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs deleted file mode 100644 index 9b29fd7fc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImFontGlyphRangesBuilder.cs +++ /dev/null @@ -1,1181 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper to build glyph ranges from textstring data. Feed your application stringscharacters to it then call BuildRanges().
- /// This is essentially a tightly packed of vector of 64k booleans = 8KB storage.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImFontGlyphRangesBuilder - { - /// - /// To be documented. - /// - public ImVector UsedChars; - - - /// - /// To be documented. - /// - public unsafe ImFontGlyphRangesBuilder(ImVector usedChars = default) - { - UsedChars = usedChars; - } - - - /// - /// Add character
- ///
- public unsafe void AddChar(uint c) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.AddCharNative(@this, c); - } - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public unsafe void AddRanges(uint* ranges) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.AddRangesNative(@this, ranges); - } - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public unsafe void AddRanges(ref uint ranges) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (uint* pranges = &ranges) - { - ImGui.AddRangesNative(@this, (uint*)pranges); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.AddTextNative(@this, text, textEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.AddTextNative(@this, text, (byte*)(default)); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = &text) - { - ImGui.AddTextNative(@this, (byte*)ptext, textEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = &text) - { - ImGui.AddTextNative(@this, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = text) - { - ImGui.AddTextNative(@this, (byte*)ptext, textEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = text) - { - ImGui.AddTextNative(@this, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, byte* textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, text, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, text, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(@this, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, string textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(@this, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, ref byte textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(@this, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, ReadOnlySpan textEnd) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(@this, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// Output new ranges
- ///
- public unsafe void BuildRanges(ImVector* outRanges) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.BuildRangesNative(@this, outRanges); - } - } - - /// - /// Output new ranges
- ///
- public unsafe void BuildRanges(ref ImVector outRanges) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - fixed (ImVector* poutRanges = &outRanges) - { - ImGui.BuildRangesNative(@this, (ImVector*)poutRanges); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// Get bit n in the array
- ///
- public unsafe bool GetBit(ulong n) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte ret = ImGui.GetBitNative(@this, n); - return ret != 0; - } - } - - /// - /// Get bit n in the array
- ///
- public unsafe bool GetBit(nuint n) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - byte ret = ImGui.GetBitNative(@this, n); - return ret != 0; - } - } - - /// - /// Set bit n in the array
- ///
- public unsafe void SetBit(ulong n) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.SetBitNative(@this, n); - } - } - - /// - /// Set bit n in the array
- ///
- public unsafe void SetBit(nuint n) - { - fixed (ImFontGlyphRangesBuilder* @this = &this) - { - ImGui.SetBitNative(@this, n); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImFontGlyphRangesBuilderPtr : IEquatable - { - public ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* handle) { Handle = handle; } - - public ImFontGlyphRangesBuilder* Handle; - - public bool IsNull => Handle == null; - - public static ImFontGlyphRangesBuilderPtr Null => new ImFontGlyphRangesBuilderPtr(null); - - public ImFontGlyphRangesBuilder this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* handle) => new ImFontGlyphRangesBuilderPtr(handle); - - public static implicit operator ImFontGlyphRangesBuilder*(ImFontGlyphRangesBuilderPtr handle) => handle.Handle; - - public static bool operator ==(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilderPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilderPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilder* right) => left.Handle == right; - - public static bool operator !=(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilder* right) => left.Handle != right; - - public bool Equals(ImFontGlyphRangesBuilderPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImFontGlyphRangesBuilderPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImFontGlyphRangesBuilderPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector UsedChars => ref Unsafe.AsRef>(&Handle->UsedChars); - /// - /// Add character
- ///
- public unsafe void AddChar(uint c) - { - ImGui.AddCharNative(Handle, c); - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public unsafe void AddRanges(uint* ranges) - { - ImGui.AddRangesNative(Handle, ranges); - } - - /// - /// Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCIILatin+Ext
- ///
- public unsafe void AddRanges(ref uint ranges) - { - fixed (uint* pranges = &ranges) - { - ImGui.AddRangesNative(Handle, (uint*)pranges); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, byte* textEnd) - { - ImGui.AddTextNative(Handle, text, textEnd); - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text) - { - ImGui.AddTextNative(Handle, text, (byte*)(default)); - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - ImGui.AddTextNative(Handle, (byte*)ptext, textEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text) - { - fixed (byte* ptext = &text) - { - ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - ImGui.AddTextNative(Handle, (byte*)ptext, textEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, text, (byte*)ptextEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, text, (byte*)ptextEnd); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.AddTextNative(Handle, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddTextNative(Handle, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.AddTextNative(Handle, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Add string (each character of the UTF-8 string are added)
- ///
- public unsafe void AddText(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.AddTextNative(Handle, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Output new ranges
- ///
- public unsafe void BuildRanges(ImVector* outRanges) - { - ImGui.BuildRangesNative(Handle, outRanges); - } - - /// - /// Output new ranges
- ///
- public unsafe void BuildRanges(ref ImVector outRanges) - { - fixed (ImVector* poutRanges = &outRanges) - { - ImGui.BuildRangesNative(Handle, (ImVector*)poutRanges); - } - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// Get bit n in the array
- ///
- public unsafe bool GetBit(ulong n) - { - byte ret = ImGui.GetBitNative(Handle, n); - return ret != 0; - } - - /// - /// Get bit n in the array
- ///
- public unsafe bool GetBit(nuint n) - { - byte ret = ImGui.GetBitNative(Handle, n); - return ret != 0; - } - - /// - /// Set bit n in the array
- ///
- public unsafe void SetBit(ulong n) - { - ImGui.SetBitNative(Handle, n); - } - - /// - /// Set bit n in the array
- ///
- public unsafe void SetBit(nuint n) - { - ImGui.SetBitNative(Handle, n); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiBoxSelectState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiBoxSelectState.cs deleted file mode 100644 index 0bf52c27a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiBoxSelectState.cs +++ /dev/null @@ -1,229 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiBoxSelectState - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public byte IsActive; - - /// - /// To be documented. - /// - public byte IsStarting; - - /// - /// To be documented. - /// - public byte IsStartedFromVoid; - - /// - /// To be documented. - /// - public byte IsStartedSetNavIdOnce; - - /// - /// To be documented. - /// - public byte RequestClear; - - /// - /// To be documented. - /// - public int KeyMods; - - /// - /// To be documented. - /// - public Vector2 StartPosRel; - - /// - /// To be documented. - /// - public Vector2 EndPosRel; - - /// - /// To be documented. - /// - public Vector2 ScrollAccum; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public byte UnclipMode; - - /// - /// To be documented. - /// - public ImRect UnclipRect; - - /// - /// To be documented. - /// - public ImRect BoxSelectRectPrev; - - /// - /// To be documented. - /// - public ImRect BoxSelectRectCurr; - - - /// - /// To be documented. - /// - public unsafe ImGuiBoxSelectState(uint id = default, bool isActive = default, bool isStarting = default, bool isStartedFromVoid = default, bool isStartedSetNavIdOnce = default, bool requestClear = default, int keyMods = default, Vector2 startPosRel = default, Vector2 endPosRel = default, Vector2 scrollAccum = default, ImGuiWindowPtr window = default, bool unclipMode = default, ImRect unclipRect = default, ImRect boxSelectRectPrev = default, ImRect boxSelectRectCurr = default) - { - ID = id; - IsActive = isActive ? (byte)1 : (byte)0; - IsStarting = isStarting ? (byte)1 : (byte)0; - IsStartedFromVoid = isStartedFromVoid ? (byte)1 : (byte)0; - IsStartedSetNavIdOnce = isStartedSetNavIdOnce ? (byte)1 : (byte)0; - RequestClear = requestClear ? (byte)1 : (byte)0; - KeyMods = keyMods; - StartPosRel = startPosRel; - EndPosRel = endPosRel; - ScrollAccum = scrollAccum; - Window = window; - UnclipMode = unclipMode ? (byte)1 : (byte)0; - UnclipRect = unclipRect; - BoxSelectRectPrev = boxSelectRectPrev; - BoxSelectRectCurr = boxSelectRectCurr; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiBoxSelectStatePtr : IEquatable - { - public ImGuiBoxSelectStatePtr(ImGuiBoxSelectState* handle) { Handle = handle; } - - public ImGuiBoxSelectState* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiBoxSelectStatePtr Null => new ImGuiBoxSelectStatePtr(null); - - public ImGuiBoxSelectState this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiBoxSelectStatePtr(ImGuiBoxSelectState* handle) => new ImGuiBoxSelectStatePtr(handle); - - public static implicit operator ImGuiBoxSelectState*(ImGuiBoxSelectStatePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiBoxSelectStatePtr left, ImGuiBoxSelectStatePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiBoxSelectStatePtr left, ImGuiBoxSelectStatePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiBoxSelectStatePtr left, ImGuiBoxSelectState* right) => left.Handle == right; - - public static bool operator !=(ImGuiBoxSelectStatePtr left, ImGuiBoxSelectState* right) => left.Handle != right; - - public bool Equals(ImGuiBoxSelectStatePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiBoxSelectStatePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiBoxSelectStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref bool IsActive => ref Unsafe.AsRef(&Handle->IsActive); - /// - /// To be documented. - /// - public ref bool IsStarting => ref Unsafe.AsRef(&Handle->IsStarting); - /// - /// To be documented. - /// - public ref bool IsStartedFromVoid => ref Unsafe.AsRef(&Handle->IsStartedFromVoid); - /// - /// To be documented. - /// - public ref bool IsStartedSetNavIdOnce => ref Unsafe.AsRef(&Handle->IsStartedSetNavIdOnce); - /// - /// To be documented. - /// - public ref bool RequestClear => ref Unsafe.AsRef(&Handle->RequestClear); - /// - /// To be documented. - /// - public ref int KeyMods => ref Unsafe.AsRef(&Handle->KeyMods); - /// - /// To be documented. - /// - public ref Vector2 StartPosRel => ref Unsafe.AsRef(&Handle->StartPosRel); - /// - /// To be documented. - /// - public ref Vector2 EndPosRel => ref Unsafe.AsRef(&Handle->EndPosRel); - /// - /// To be documented. - /// - public ref Vector2 ScrollAccum => ref Unsafe.AsRef(&Handle->ScrollAccum); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref bool UnclipMode => ref Unsafe.AsRef(&Handle->UnclipMode); - /// - /// To be documented. - /// - public ref ImRect UnclipRect => ref Unsafe.AsRef(&Handle->UnclipRect); - /// - /// To be documented. - /// - public ref ImRect BoxSelectRectPrev => ref Unsafe.AsRef(&Handle->BoxSelectRectPrev); - /// - /// To be documented. - /// - public ref ImRect BoxSelectRectCurr => ref Unsafe.AsRef(&Handle->BoxSelectRectCurr); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiColorMod.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiColorMod.cs deleted file mode 100644 index f3eb507a3..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiColorMod.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Stacked color modifier, backup of modified data so we can restore it
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiColorMod - { - /// - /// To be documented. - /// - public ImGuiCol Col; - - /// - /// To be documented. - /// - public Vector4 BackupValue; - - - /// - /// To be documented. - /// - public unsafe ImGuiColorMod(ImGuiCol col = default, Vector4 backupValue = default) - { - Col = col; - BackupValue = backupValue; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiColorModPtr : IEquatable - { - public ImGuiColorModPtr(ImGuiColorMod* handle) { Handle = handle; } - - public ImGuiColorMod* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiColorModPtr Null => new ImGuiColorModPtr(null); - - public ImGuiColorMod this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiColorModPtr(ImGuiColorMod* handle) => new ImGuiColorModPtr(handle); - - public static implicit operator ImGuiColorMod*(ImGuiColorModPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiColorModPtr left, ImGuiColorModPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiColorModPtr left, ImGuiColorModPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiColorModPtr left, ImGuiColorMod* right) => left.Handle == right; - - public static bool operator !=(ImGuiColorModPtr left, ImGuiColorMod* right) => left.Handle != right; - - public bool Equals(ImGuiColorModPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiColorModPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiColorModPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiCol Col => ref Unsafe.AsRef(&Handle->Col); - /// - /// To be documented. - /// - public ref Vector4 BackupValue => ref Unsafe.AsRef(&Handle->BackupValue); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiComboPreviewData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiComboPreviewData.cs deleted file mode 100644 index 65ea66d9e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiComboPreviewData.cs +++ /dev/null @@ -1,139 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage data for BeginComboPreview()EndComboPreview()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiComboPreviewData - { - /// - /// To be documented. - /// - public ImRect PreviewRect; - - /// - /// To be documented. - /// - public Vector2 BackupCursorPos; - - /// - /// To be documented. - /// - public Vector2 BackupCursorMaxPos; - - /// - /// To be documented. - /// - public Vector2 BackupCursorPosPrevLine; - - /// - /// To be documented. - /// - public float BackupPrevLineTextBaseOffset; - - /// - /// To be documented. - /// - public ImGuiLayoutType BackupLayout; - - - /// - /// To be documented. - /// - public unsafe ImGuiComboPreviewData(ImRect previewRect = default, Vector2 backupCursorPos = default, Vector2 backupCursorMaxPos = default, Vector2 backupCursorPosPrevLine = default, float backupPrevLineTextBaseOffset = default, ImGuiLayoutType backupLayout = default) - { - PreviewRect = previewRect; - BackupCursorPos = backupCursorPos; - BackupCursorMaxPos = backupCursorMaxPos; - BackupCursorPosPrevLine = backupCursorPosPrevLine; - BackupPrevLineTextBaseOffset = backupPrevLineTextBaseOffset; - BackupLayout = backupLayout; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiComboPreviewDataPtr : IEquatable - { - public ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* handle) { Handle = handle; } - - public ImGuiComboPreviewData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiComboPreviewDataPtr Null => new ImGuiComboPreviewDataPtr(null); - - public ImGuiComboPreviewData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* handle) => new ImGuiComboPreviewDataPtr(handle); - - public static implicit operator ImGuiComboPreviewData*(ImGuiComboPreviewDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewData* right) => left.Handle == right; - - public static bool operator !=(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewData* right) => left.Handle != right; - - public bool Equals(ImGuiComboPreviewDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiComboPreviewDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiComboPreviewDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImRect PreviewRect => ref Unsafe.AsRef(&Handle->PreviewRect); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorPosPrevLine => ref Unsafe.AsRef(&Handle->BackupCursorPosPrevLine); - /// - /// To be documented. - /// - public ref float BackupPrevLineTextBaseOffset => ref Unsafe.AsRef(&Handle->BackupPrevLineTextBaseOffset); - /// - /// To be documented. - /// - public ref ImGuiLayoutType BackupLayout => ref Unsafe.AsRef(&Handle->BackupLayout); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiContext.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiContext.cs deleted file mode 100644 index f5351c871..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiContext.cs +++ /dev/null @@ -1,4580 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiContext - { - /// - /// To be documented. - /// - public byte Initialized; - - /// - /// To be documented. - /// - public byte FontAtlasOwnedByContext; - - /// - /// To be documented. - /// - public ImGuiIO IO; - - /// - /// To be documented. - /// - public ImGuiPlatformIO PlatformIO; - - /// - /// To be documented. - /// - public ImGuiStyle Style; - - /// - /// To be documented. - /// - public ImGuiConfigFlags ConfigFlagsCurrFrame; - - /// - /// To be documented. - /// - public ImGuiConfigFlags ConfigFlagsLastFrame; - - /// - /// To be documented. - /// - public unsafe ImFont* Font; - - /// - /// To be documented. - /// - public float FontSize; - - /// - /// To be documented. - /// - public float FontBaseSize; - - /// - /// To be documented. - /// - public float FontScale; - - /// - /// To be documented. - /// - public float CurrentDpiScale; - - /// - /// To be documented. - /// - public ImDrawListSharedData DrawListSharedData; - - /// - /// To be documented. - /// - public double Time; - - /// - /// To be documented. - /// - public int FrameCount; - - /// - /// To be documented. - /// - public int FrameCountEnded; - - /// - /// To be documented. - /// - public int FrameCountPlatformEnded; - - /// - /// To be documented. - /// - public int FrameCountRendered; - - /// - /// To be documented. - /// - public uint WithinEndChildID; - - /// - /// To be documented. - /// - public byte WithinFrameScope; - - /// - /// To be documented. - /// - public byte WithinFrameScopeWithImplicitWindow; - - /// - /// To be documented. - /// - public byte GcCompactAll; - - /// - /// To be documented. - /// - public byte TestEngineHookItems; - - /// - /// To be documented. - /// - public unsafe void* TestEngine; - - /// - /// To be documented. - /// - public byte ContextName_0; - public byte ContextName_1; - public byte ContextName_2; - public byte ContextName_3; - public byte ContextName_4; - public byte ContextName_5; - public byte ContextName_6; - public byte ContextName_7; - public byte ContextName_8; - public byte ContextName_9; - public byte ContextName_10; - public byte ContextName_11; - public byte ContextName_12; - public byte ContextName_13; - public byte ContextName_14; - public byte ContextName_15; - - /// - /// To be documented. - /// - public ImVector InputEventsQueue; - - /// - /// To be documented. - /// - public ImVector InputEventsTrail; - - /// - /// To be documented. - /// - public ImGuiMouseSource InputEventsNextMouseSource; - - /// - /// To be documented. - /// - public uint InputEventsNextEventId; - - /// - /// To be documented. - /// - public ImVector Windows; - - /// - /// To be documented. - /// - public ImVector WindowsFocusOrder; - - /// - /// To be documented. - /// - public ImVector WindowsTempSortBuffer; - - /// - /// To be documented. - /// - public ImVector CurrentWindowStack; - - /// - /// To be documented. - /// - public ImGuiStorage WindowsById; - - /// - /// To be documented. - /// - public int WindowsActiveCount; - - /// - /// To be documented. - /// - public float WindowsBorderHoverPadding; - - /// - /// To be documented. - /// - public uint DebugBreakInWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* CurrentWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* HoveredWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* HoveredWindowUnderMovingWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* HoveredWindowBeforeClear; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* MovingWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* WheelingWindow; - - /// - /// To be documented. - /// - public Vector2 WheelingWindowRefMousePos; - - /// - /// To be documented. - /// - public int WheelingWindowStartFrame; - - /// - /// To be documented. - /// - public int WheelingWindowScrolledFrame; - - /// - /// To be documented. - /// - public float WheelingWindowReleaseTimer; - - /// - /// To be documented. - /// - public Vector2 WheelingWindowWheelRemainder; - - /// - /// To be documented. - /// - public Vector2 WheelingAxisAvg; - - /// - /// To be documented. - /// - public uint DebugDrawIdConflicts; - - /// - /// To be documented. - /// - public uint DebugHookIdInfo; - - /// - /// To be documented. - /// - public uint HoveredId; - - /// - /// To be documented. - /// - public uint HoveredIdPreviousFrame; - - /// - /// To be documented. - /// - public int HoveredIdPreviousFrameItemCount; - - /// - /// To be documented. - /// - public float HoveredIdTimer; - - /// - /// To be documented. - /// - public float HoveredIdNotActiveTimer; - - /// - /// To be documented. - /// - public byte HoveredIdAllowOverlap; - - /// - /// To be documented. - /// - public byte HoveredIdIsDisabled; - - /// - /// To be documented. - /// - public byte ItemUnclipByLog; - - /// - /// To be documented. - /// - public uint ActiveId; - - /// - /// To be documented. - /// - public uint ActiveIdIsAlive; - - /// - /// To be documented. - /// - public float ActiveIdTimer; - - /// - /// To be documented. - /// - public byte ActiveIdIsJustActivated; - - /// - /// To be documented. - /// - public byte ActiveIdAllowOverlap; - - /// - /// To be documented. - /// - public byte ActiveIdNoClearOnFocusLoss; - - /// - /// To be documented. - /// - public byte ActiveIdHasBeenPressedBefore; - - /// - /// To be documented. - /// - public byte ActiveIdHasBeenEditedBefore; - - /// - /// To be documented. - /// - public byte ActiveIdHasBeenEditedThisFrame; - - /// - /// To be documented. - /// - public byte ActiveIdFromShortcut; - - /// - /// To be documented. - /// - public int ActiveIdMouseButton; - - /// - /// To be documented. - /// - public Vector2 ActiveIdClickOffset; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* ActiveIdWindow; - - /// - /// To be documented. - /// - public ImGuiInputSource ActiveIdSource; - - /// - /// To be documented. - /// - public uint ActiveIdPreviousFrame; - - /// - /// To be documented. - /// - public ImGuiDeactivatedItemData DeactivatedItemData; - - /// - /// To be documented. - /// - public ImGuiDataTypeStorage ActiveIdValueOnActivation; - - /// - /// To be documented. - /// - public uint LastActiveId; - - /// - /// To be documented. - /// - public float LastActiveIdTimer; - - /// - /// To be documented. - /// - public double LastKeyModsChangeTime; - - /// - /// To be documented. - /// - public double LastKeyModsChangeFromNoneTime; - - /// - /// To be documented. - /// - public double LastKeyboardKeyPressTime; - - /// - /// To be documented. - /// - public nuint KeysMayBeCharInput; - - /// - /// To be documented. - /// - public ImGuiKeyOwnerData KeysOwnerData_0; - public ImGuiKeyOwnerData KeysOwnerData_1; - public ImGuiKeyOwnerData KeysOwnerData_2; - public ImGuiKeyOwnerData KeysOwnerData_3; - public ImGuiKeyOwnerData KeysOwnerData_4; - public ImGuiKeyOwnerData KeysOwnerData_5; - public ImGuiKeyOwnerData KeysOwnerData_6; - public ImGuiKeyOwnerData KeysOwnerData_7; - public ImGuiKeyOwnerData KeysOwnerData_8; - public ImGuiKeyOwnerData KeysOwnerData_9; - public ImGuiKeyOwnerData KeysOwnerData_10; - public ImGuiKeyOwnerData KeysOwnerData_11; - public ImGuiKeyOwnerData KeysOwnerData_12; - public ImGuiKeyOwnerData KeysOwnerData_13; - public ImGuiKeyOwnerData KeysOwnerData_14; - public ImGuiKeyOwnerData KeysOwnerData_15; - public ImGuiKeyOwnerData KeysOwnerData_16; - public ImGuiKeyOwnerData KeysOwnerData_17; - public ImGuiKeyOwnerData KeysOwnerData_18; - public ImGuiKeyOwnerData KeysOwnerData_19; - public ImGuiKeyOwnerData KeysOwnerData_20; - public ImGuiKeyOwnerData KeysOwnerData_21; - public ImGuiKeyOwnerData KeysOwnerData_22; - public ImGuiKeyOwnerData KeysOwnerData_23; - public ImGuiKeyOwnerData KeysOwnerData_24; - public ImGuiKeyOwnerData KeysOwnerData_25; - public ImGuiKeyOwnerData KeysOwnerData_26; - public ImGuiKeyOwnerData KeysOwnerData_27; - public ImGuiKeyOwnerData KeysOwnerData_28; - public ImGuiKeyOwnerData KeysOwnerData_29; - public ImGuiKeyOwnerData KeysOwnerData_30; - public ImGuiKeyOwnerData KeysOwnerData_31; - public ImGuiKeyOwnerData KeysOwnerData_32; - public ImGuiKeyOwnerData KeysOwnerData_33; - public ImGuiKeyOwnerData KeysOwnerData_34; - public ImGuiKeyOwnerData KeysOwnerData_35; - public ImGuiKeyOwnerData KeysOwnerData_36; - public ImGuiKeyOwnerData KeysOwnerData_37; - public ImGuiKeyOwnerData KeysOwnerData_38; - public ImGuiKeyOwnerData KeysOwnerData_39; - public ImGuiKeyOwnerData KeysOwnerData_40; - public ImGuiKeyOwnerData KeysOwnerData_41; - public ImGuiKeyOwnerData KeysOwnerData_42; - public ImGuiKeyOwnerData KeysOwnerData_43; - public ImGuiKeyOwnerData KeysOwnerData_44; - public ImGuiKeyOwnerData KeysOwnerData_45; - public ImGuiKeyOwnerData KeysOwnerData_46; - public ImGuiKeyOwnerData KeysOwnerData_47; - public ImGuiKeyOwnerData KeysOwnerData_48; - public ImGuiKeyOwnerData KeysOwnerData_49; - public ImGuiKeyOwnerData KeysOwnerData_50; - public ImGuiKeyOwnerData KeysOwnerData_51; - public ImGuiKeyOwnerData KeysOwnerData_52; - public ImGuiKeyOwnerData KeysOwnerData_53; - public ImGuiKeyOwnerData KeysOwnerData_54; - public ImGuiKeyOwnerData KeysOwnerData_55; - public ImGuiKeyOwnerData KeysOwnerData_56; - public ImGuiKeyOwnerData KeysOwnerData_57; - public ImGuiKeyOwnerData KeysOwnerData_58; - public ImGuiKeyOwnerData KeysOwnerData_59; - public ImGuiKeyOwnerData KeysOwnerData_60; - public ImGuiKeyOwnerData KeysOwnerData_61; - public ImGuiKeyOwnerData KeysOwnerData_62; - public ImGuiKeyOwnerData KeysOwnerData_63; - public ImGuiKeyOwnerData KeysOwnerData_64; - public ImGuiKeyOwnerData KeysOwnerData_65; - public ImGuiKeyOwnerData KeysOwnerData_66; - public ImGuiKeyOwnerData KeysOwnerData_67; - public ImGuiKeyOwnerData KeysOwnerData_68; - public ImGuiKeyOwnerData KeysOwnerData_69; - public ImGuiKeyOwnerData KeysOwnerData_70; - public ImGuiKeyOwnerData KeysOwnerData_71; - public ImGuiKeyOwnerData KeysOwnerData_72; - public ImGuiKeyOwnerData KeysOwnerData_73; - public ImGuiKeyOwnerData KeysOwnerData_74; - public ImGuiKeyOwnerData KeysOwnerData_75; - public ImGuiKeyOwnerData KeysOwnerData_76; - public ImGuiKeyOwnerData KeysOwnerData_77; - public ImGuiKeyOwnerData KeysOwnerData_78; - public ImGuiKeyOwnerData KeysOwnerData_79; - public ImGuiKeyOwnerData KeysOwnerData_80; - public ImGuiKeyOwnerData KeysOwnerData_81; - public ImGuiKeyOwnerData KeysOwnerData_82; - public ImGuiKeyOwnerData KeysOwnerData_83; - public ImGuiKeyOwnerData KeysOwnerData_84; - public ImGuiKeyOwnerData KeysOwnerData_85; - public ImGuiKeyOwnerData KeysOwnerData_86; - public ImGuiKeyOwnerData KeysOwnerData_87; - public ImGuiKeyOwnerData KeysOwnerData_88; - public ImGuiKeyOwnerData KeysOwnerData_89; - public ImGuiKeyOwnerData KeysOwnerData_90; - public ImGuiKeyOwnerData KeysOwnerData_91; - public ImGuiKeyOwnerData KeysOwnerData_92; - public ImGuiKeyOwnerData KeysOwnerData_93; - public ImGuiKeyOwnerData KeysOwnerData_94; - public ImGuiKeyOwnerData KeysOwnerData_95; - public ImGuiKeyOwnerData KeysOwnerData_96; - public ImGuiKeyOwnerData KeysOwnerData_97; - public ImGuiKeyOwnerData KeysOwnerData_98; - public ImGuiKeyOwnerData KeysOwnerData_99; - public ImGuiKeyOwnerData KeysOwnerData_100; - public ImGuiKeyOwnerData KeysOwnerData_101; - public ImGuiKeyOwnerData KeysOwnerData_102; - public ImGuiKeyOwnerData KeysOwnerData_103; - public ImGuiKeyOwnerData KeysOwnerData_104; - public ImGuiKeyOwnerData KeysOwnerData_105; - public ImGuiKeyOwnerData KeysOwnerData_106; - public ImGuiKeyOwnerData KeysOwnerData_107; - public ImGuiKeyOwnerData KeysOwnerData_108; - public ImGuiKeyOwnerData KeysOwnerData_109; - public ImGuiKeyOwnerData KeysOwnerData_110; - public ImGuiKeyOwnerData KeysOwnerData_111; - public ImGuiKeyOwnerData KeysOwnerData_112; - public ImGuiKeyOwnerData KeysOwnerData_113; - public ImGuiKeyOwnerData KeysOwnerData_114; - public ImGuiKeyOwnerData KeysOwnerData_115; - public ImGuiKeyOwnerData KeysOwnerData_116; - public ImGuiKeyOwnerData KeysOwnerData_117; - public ImGuiKeyOwnerData KeysOwnerData_118; - public ImGuiKeyOwnerData KeysOwnerData_119; - public ImGuiKeyOwnerData KeysOwnerData_120; - public ImGuiKeyOwnerData KeysOwnerData_121; - public ImGuiKeyOwnerData KeysOwnerData_122; - public ImGuiKeyOwnerData KeysOwnerData_123; - public ImGuiKeyOwnerData KeysOwnerData_124; - public ImGuiKeyOwnerData KeysOwnerData_125; - public ImGuiKeyOwnerData KeysOwnerData_126; - public ImGuiKeyOwnerData KeysOwnerData_127; - public ImGuiKeyOwnerData KeysOwnerData_128; - public ImGuiKeyOwnerData KeysOwnerData_129; - public ImGuiKeyOwnerData KeysOwnerData_130; - public ImGuiKeyOwnerData KeysOwnerData_131; - public ImGuiKeyOwnerData KeysOwnerData_132; - public ImGuiKeyOwnerData KeysOwnerData_133; - public ImGuiKeyOwnerData KeysOwnerData_134; - public ImGuiKeyOwnerData KeysOwnerData_135; - public ImGuiKeyOwnerData KeysOwnerData_136; - public ImGuiKeyOwnerData KeysOwnerData_137; - public ImGuiKeyOwnerData KeysOwnerData_138; - public ImGuiKeyOwnerData KeysOwnerData_139; - public ImGuiKeyOwnerData KeysOwnerData_140; - public ImGuiKeyOwnerData KeysOwnerData_141; - public ImGuiKeyOwnerData KeysOwnerData_142; - public ImGuiKeyOwnerData KeysOwnerData_143; - public ImGuiKeyOwnerData KeysOwnerData_144; - public ImGuiKeyOwnerData KeysOwnerData_145; - public ImGuiKeyOwnerData KeysOwnerData_146; - public ImGuiKeyOwnerData KeysOwnerData_147; - public ImGuiKeyOwnerData KeysOwnerData_148; - public ImGuiKeyOwnerData KeysOwnerData_149; - public ImGuiKeyOwnerData KeysOwnerData_150; - public ImGuiKeyOwnerData KeysOwnerData_151; - public ImGuiKeyOwnerData KeysOwnerData_152; - public ImGuiKeyOwnerData KeysOwnerData_153; - public ImGuiKeyOwnerData KeysOwnerData_154; - - /// - /// To be documented. - /// - public ImGuiKeyRoutingTable KeysRoutingTable; - - /// - /// To be documented. - /// - public uint ActiveIdUsingNavDirMask; - - /// - /// To be documented. - /// - public byte ActiveIdUsingAllKeyboardKeys; - - /// - /// To be documented. - /// - public int DebugBreakInShortcutRouting; - - /// - /// To be documented. - /// - public uint CurrentFocusScopeId; - - /// - /// To be documented. - /// - public ImGuiItemFlags CurrentItemFlags; - - /// - /// To be documented. - /// - public uint DebugLocateId; - - /// - /// To be documented. - /// - public ImGuiNextItemData NextItemData; - - /// - /// To be documented. - /// - public ImGuiLastItemData LastItemData; - - /// - /// To be documented. - /// - public ImGuiNextWindowData NextWindowData; - - /// - /// To be documented. - /// - public byte DebugShowGroupRects; - - /// - /// To be documented. - /// - public ImGuiCol DebugFlashStyleColorIdx; - - /// - /// To be documented. - /// - public ImVector ColorStack; - - /// - /// To be documented. - /// - public ImVector StyleVarStack; - - /// - /// To be documented. - /// - public ImVector FontStack; - - /// - /// To be documented. - /// - public ImVector FocusScopeStack; - - /// - /// To be documented. - /// - public ImVector ItemFlagsStack; - - /// - /// To be documented. - /// - public ImVector GroupStack; - - /// - /// To be documented. - /// - public ImVector OpenPopupStack; - - /// - /// To be documented. - /// - public ImVector BeginPopupStack; - - /// - /// To be documented. - /// - public ImVector TreeNodeStack; - - /// - /// To be documented. - /// - public ImVector Viewports; - - /// - /// To be documented. - /// - public unsafe ImGuiViewportP* CurrentViewport; - - /// - /// To be documented. - /// - public unsafe ImGuiViewportP* MouseViewport; - - /// - /// To be documented. - /// - public unsafe ImGuiViewportP* MouseLastHoveredViewport; - - /// - /// To be documented. - /// - public uint PlatformLastFocusedViewportId; - - /// - /// To be documented. - /// - public ImGuiPlatformMonitor FallbackMonitor; - - /// - /// To be documented. - /// - public ImRect PlatformMonitorsFullWorkRect; - - /// - /// To be documented. - /// - public int ViewportCreatedCount; - - /// - /// To be documented. - /// - public int PlatformWindowsCreatedCount; - - /// - /// To be documented. - /// - public int ViewportFocusedStampCount; - - /// - /// To be documented. - /// - public byte NavCursorVisible; - - /// - /// To be documented. - /// - public byte NavHighlightItemUnderNav; - - /// - /// To be documented. - /// - public byte NavMousePosDirty; - - /// - /// To be documented. - /// - public byte NavIdIsAlive; - - /// - /// To be documented. - /// - public uint NavId; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* NavWindow; - - /// - /// To be documented. - /// - public uint NavFocusScopeId; - - /// - /// To be documented. - /// - public ImGuiNavLayer NavLayer; - - /// - /// To be documented. - /// - public uint NavActivateId; - - /// - /// To be documented. - /// - public uint NavActivateDownId; - - /// - /// To be documented. - /// - public uint NavActivatePressedId; - - /// - /// To be documented. - /// - public ImGuiActivateFlags NavActivateFlags; - - /// - /// To be documented. - /// - public ImVector NavFocusRoute; - - /// - /// To be documented. - /// - public uint NavHighlightActivatedId; - - /// - /// To be documented. - /// - public float NavHighlightActivatedTimer; - - /// - /// To be documented. - /// - public uint NavNextActivateId; - - /// - /// To be documented. - /// - public ImGuiActivateFlags NavNextActivateFlags; - - /// - /// To be documented. - /// - public ImGuiInputSource NavInputSource; - - /// - /// To be documented. - /// - public long NavLastValidSelectionUserData; - - /// - /// To be documented. - /// - public byte NavCursorHideFrames; - - /// - /// To be documented. - /// - public byte NavAnyRequest; - - /// - /// To be documented. - /// - public byte NavInitRequest; - - /// - /// To be documented. - /// - public byte NavInitRequestFromMove; - - /// - /// To be documented. - /// - public ImGuiNavItemData NavInitResult; - - /// - /// To be documented. - /// - public byte NavMoveSubmitted; - - /// - /// To be documented. - /// - public byte NavMoveScoringItems; - - /// - /// To be documented. - /// - public byte NavMoveForwardToNextFrame; - - /// - /// To be documented. - /// - public ImGuiNavMoveFlags NavMoveFlags; - - /// - /// To be documented. - /// - public ImGuiScrollFlags NavMoveScrollFlags; - - /// - /// To be documented. - /// - public int NavMoveKeyMods; - - /// - /// To be documented. - /// - public ImGuiDir NavMoveDir; - - /// - /// To be documented. - /// - public ImGuiDir NavMoveDirForDebug; - - /// - /// To be documented. - /// - public ImGuiDir NavMoveClipDir; - - /// - /// To be documented. - /// - public ImRect NavScoringRect; - - /// - /// To be documented. - /// - public ImRect NavScoringNoClipRect; - - /// - /// To be documented. - /// - public int NavScoringDebugCount; - - /// - /// To be documented. - /// - public int NavTabbingDir; - - /// - /// To be documented. - /// - public int NavTabbingCounter; - - /// - /// To be documented. - /// - public ImGuiNavItemData NavMoveResultLocal; - - /// - /// To be documented. - /// - public ImGuiNavItemData NavMoveResultLocalVisible; - - /// - /// To be documented. - /// - public ImGuiNavItemData NavMoveResultOther; - - /// - /// To be documented. - /// - public ImGuiNavItemData NavTabbingResultFirst; - - /// - /// To be documented. - /// - public uint NavJustMovedFromFocusScopeId; - - /// - /// To be documented. - /// - public uint NavJustMovedToId; - - /// - /// To be documented. - /// - public uint NavJustMovedToFocusScopeId; - - /// - /// To be documented. - /// - public int NavJustMovedToKeyMods; - - /// - /// To be documented. - /// - public byte NavJustMovedToIsTabbing; - - /// - /// To be documented. - /// - public byte NavJustMovedToHasSelectionData; - - /// - /// To be documented. - /// - public int ConfigNavWindowingKeyNext; - - /// - /// To be documented. - /// - public int ConfigNavWindowingKeyPrev; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* NavWindowingTarget; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* NavWindowingTargetAnim; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* NavWindowingListWindow; - - /// - /// To be documented. - /// - public float NavWindowingTimer; - - /// - /// To be documented. - /// - public float NavWindowingHighlightAlpha; - - /// - /// To be documented. - /// - public byte NavWindowingToggleLayer; - - /// - /// To be documented. - /// - public ImGuiKey NavWindowingToggleKey; - - /// - /// To be documented. - /// - public Vector2 NavWindowingAccumDeltaPos; - - /// - /// To be documented. - /// - public Vector2 NavWindowingAccumDeltaSize; - - /// - /// To be documented. - /// - public float DimBgRatio; - - /// - /// To be documented. - /// - public byte DragDropActive; - - /// - /// To be documented. - /// - public byte DragDropWithinSource; - - /// - /// To be documented. - /// - public byte DragDropWithinTarget; - - /// - /// To be documented. - /// - public ImGuiDragDropFlags DragDropSourceFlags; - - /// - /// To be documented. - /// - public int DragDropSourceFrameCount; - - /// - /// To be documented. - /// - public int DragDropMouseButton; - - /// - /// To be documented. - /// - public ImGuiPayload DragDropPayload; - - /// - /// To be documented. - /// - public ImRect DragDropTargetRect; - - /// - /// To be documented. - /// - public ImRect DragDropTargetClipRect; - - /// - /// To be documented. - /// - public uint DragDropTargetId; - - /// - /// To be documented. - /// - public ImGuiDragDropFlags DragDropAcceptFlags; - - /// - /// To be documented. - /// - public float DragDropAcceptIdCurrRectSurface; - - /// - /// To be documented. - /// - public uint DragDropAcceptIdCurr; - - /// - /// To be documented. - /// - public uint DragDropAcceptIdPrev; - - /// - /// To be documented. - /// - public int DragDropAcceptFrameCount; - - /// - /// To be documented. - /// - public uint DragDropHoldJustPressedId; - - /// - /// To be documented. - /// - public ImVector DragDropPayloadBufHeap; - - /// - /// To be documented. - /// - public byte DragDropPayloadBufLocal_0; - public byte DragDropPayloadBufLocal_1; - public byte DragDropPayloadBufLocal_2; - public byte DragDropPayloadBufLocal_3; - public byte DragDropPayloadBufLocal_4; - public byte DragDropPayloadBufLocal_5; - public byte DragDropPayloadBufLocal_6; - public byte DragDropPayloadBufLocal_7; - public byte DragDropPayloadBufLocal_8; - public byte DragDropPayloadBufLocal_9; - public byte DragDropPayloadBufLocal_10; - public byte DragDropPayloadBufLocal_11; - public byte DragDropPayloadBufLocal_12; - public byte DragDropPayloadBufLocal_13; - public byte DragDropPayloadBufLocal_14; - public byte DragDropPayloadBufLocal_15; - - /// - /// To be documented. - /// - public int ClipperTempDataStacked; - - /// - /// To be documented. - /// - public ImVector ClipperTempData; - - /// - /// To be documented. - /// - public unsafe ImGuiTable* CurrentTable; - - /// - /// To be documented. - /// - public uint DebugBreakInTable; - - /// - /// To be documented. - /// - public int TablesTempDataStacked; - - /// - /// To be documented. - /// - public ImVector TablesTempData; - - /// - /// To be documented. - /// - public ImPoolImGuiTable Tables; - - /// - /// To be documented. - /// - public ImVector TablesLastTimeActive; - - /// - /// To be documented. - /// - public ImVector DrawChannelsTempMergeBuffer; - - /// - /// To be documented. - /// - public unsafe ImGuiTabBar* CurrentTabBar; - - /// - /// To be documented. - /// - public ImPoolImGuiTabBar TabBars; - - /// - /// To be documented. - /// - public ImVector CurrentTabBarStack; - - /// - /// To be documented. - /// - public ImVector ShrinkWidthBuffer; - - /// - /// To be documented. - /// - public ImGuiBoxSelectState BoxSelectState; - - /// - /// To be documented. - /// - public unsafe ImGuiMultiSelectTempData* CurrentMultiSelect; - - /// - /// To be documented. - /// - public int MultiSelectTempDataStacked; - - /// - /// To be documented. - /// - public ImVector MultiSelectTempData; - - /// - /// To be documented. - /// - public ImPoolImGuiMultiSelectState MultiSelectStorage; - - /// - /// To be documented. - /// - public uint HoverItemDelayId; - - /// - /// To be documented. - /// - public uint HoverItemDelayIdPreviousFrame; - - /// - /// To be documented. - /// - public float HoverItemDelayTimer; - - /// - /// To be documented. - /// - public float HoverItemDelayClearTimer; - - /// - /// To be documented. - /// - public uint HoverItemUnlockedStationaryId; - - /// - /// To be documented. - /// - public uint HoverWindowUnlockedStationaryId; - - /// - /// To be documented. - /// - public ImGuiMouseCursor MouseCursor; - - /// - /// To be documented. - /// - public float MouseStationaryTimer; - - /// - /// To be documented. - /// - public Vector2 MouseLastValidPos; - - /// - /// To be documented. - /// - public ImGuiInputTextState InputTextState; - - /// - /// To be documented. - /// - public ImGuiInputTextDeactivatedState InputTextDeactivatedState; - - /// - /// To be documented. - /// - public ImFont InputTextPasswordFont; - - /// - /// To be documented. - /// - public uint TempInputId; - - /// - /// To be documented. - /// - public ImGuiDataTypeStorage DataTypeZeroValue; - - /// - /// To be documented. - /// - public int BeginMenuDepth; - - /// - /// To be documented. - /// - public int BeginComboDepth; - - /// - /// To be documented. - /// - public ImGuiColorEditFlags ColorEditOptions; - - /// - /// To be documented. - /// - public uint ColorEditCurrentID; - - /// - /// To be documented. - /// - public uint ColorEditSavedID; - - /// - /// To be documented. - /// - public float ColorEditSavedHue; - - /// - /// To be documented. - /// - public float ColorEditSavedSat; - - /// - /// To be documented. - /// - public uint ColorEditSavedColor; - - /// - /// To be documented. - /// - public Vector4 ColorPickerRef; - - /// - /// To be documented. - /// - public ImGuiComboPreviewData ComboPreviewData; - - /// - /// To be documented. - /// - public ImRect WindowResizeBorderExpectedRect; - - /// - /// To be documented. - /// - public byte WindowResizeRelativeMode; - - /// - /// To be documented. - /// - public short ScrollbarSeekMode; - - /// - /// To be documented. - /// - public float ScrollbarClickDeltaToGrabCenter; - - /// - /// To be documented. - /// - public float SliderGrabClickOffset; - - /// - /// To be documented. - /// - public float SliderCurrentAccum; - - /// - /// To be documented. - /// - public byte SliderCurrentAccumDirty; - - /// - /// To be documented. - /// - public byte DragCurrentAccumDirty; - - /// - /// To be documented. - /// - public float DragCurrentAccum; - - /// - /// To be documented. - /// - public float DragSpeedDefaultRatio; - - /// - /// To be documented. - /// - public float DisabledAlphaBackup; - - /// - /// To be documented. - /// - public short DisabledStackSize; - - /// - /// To be documented. - /// - public short TooltipOverrideCount; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* TooltipPreviousWindow; - - /// - /// To be documented. - /// - public ImVector ClipboardHandlerData; - - /// - /// To be documented. - /// - public ImVector MenusIdSubmittedThisFrame; - - /// - /// To be documented. - /// - public ImGuiTypingSelectState TypingSelectState; - - /// - /// To be documented. - /// - public ImGuiPlatformImeData PlatformImeData; - - /// - /// To be documented. - /// - public ImGuiPlatformImeData PlatformImeDataPrev; - - /// - /// To be documented. - /// - public uint PlatformImeViewport; - - /// - /// To be documented. - /// - public ImGuiDockContext DockContext; - - /// - /// To be documented. - /// - public unsafe void* DockNodeWindowMenuHandler; - - /// - /// To be documented. - /// - public byte SettingsLoaded; - - /// - /// To be documented. - /// - public float SettingsDirtyTimer; - - /// - /// To be documented. - /// - public ImGuiTextBuffer SettingsIniData; - - /// - /// To be documented. - /// - public ImVector SettingsHandlers; - - /// - /// To be documented. - /// - public ImChunkStreamImGuiWindowSettings SettingsWindows; - - /// - /// To be documented. - /// - public ImChunkStreamImGuiTableSettings SettingsTables; - - /// - /// To be documented. - /// - public ImVector Hooks; - - /// - /// To be documented. - /// - public uint HookIdNext; - - /// - /// To be documented. - /// - public unsafe byte* LocalizationTable_0; - public unsafe byte* LocalizationTable_1; - public unsafe byte* LocalizationTable_2; - public unsafe byte* LocalizationTable_3; - public unsafe byte* LocalizationTable_4; - public unsafe byte* LocalizationTable_5; - public unsafe byte* LocalizationTable_6; - public unsafe byte* LocalizationTable_7; - public unsafe byte* LocalizationTable_8; - public unsafe byte* LocalizationTable_9; - public unsafe byte* LocalizationTable_10; - public unsafe byte* LocalizationTable_11; - public unsafe byte* LocalizationTable_12; - - /// - /// To be documented. - /// - public byte LogEnabled; - - /// - /// To be documented. - /// - public ImGuiLogFlags LogFlags; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* LogWindow; - - /// - /// To be documented. - /// - public ImFileHandle LogFile; - - /// - /// To be documented. - /// - public ImGuiTextBuffer LogBuffer; - - /// - /// To be documented. - /// - public unsafe byte* LogNextPrefix; - - /// - /// To be documented. - /// - public unsafe byte* LogNextSuffix; - - /// - /// To be documented. - /// - public float LogLinePosY; - - /// - /// To be documented. - /// - public byte LogLineFirstItem; - - /// - /// To be documented. - /// - public int LogDepthRef; - - /// - /// To be documented. - /// - public int LogDepthToExpand; - - /// - /// To be documented. - /// - public int LogDepthToExpandDefault; - - /// - /// To be documented. - /// - public unsafe void* ErrorCallback; - /// - /// To be documented. - /// - public unsafe void* ErrorCallbackUserData; - - /// - /// To be documented. - /// - public Vector2 ErrorTooltipLockedPos; - - /// - /// To be documented. - /// - public byte ErrorFirst; - - /// - /// To be documented. - /// - public int ErrorCountCurrentFrame; - - /// - /// To be documented. - /// - public ImGuiErrorRecoveryState StackSizesInNewFrame; - - /// - /// To be documented. - /// - public unsafe ImGuiErrorRecoveryState* StackSizesInBeginForCurrentWindow; - - /// - /// To be documented. - /// - public int DebugDrawIdConflictsCount; - - /// - /// To be documented. - /// - public ImGuiDebugLogFlags DebugLogFlags; - - /// - /// To be documented. - /// - public ImGuiTextBuffer DebugLogBuf; - - /// - /// To be documented. - /// - public ImGuiTextIndex DebugLogIndex; - - /// - /// To be documented. - /// - public int DebugLogSkippedErrors; - - /// - /// To be documented. - /// - public ImGuiDebugLogFlags DebugLogAutoDisableFlags; - - /// - /// To be documented. - /// - public byte DebugLogAutoDisableFrames; - - /// - /// To be documented. - /// - public byte DebugLocateFrames; - - /// - /// To be documented. - /// - public byte DebugBreakInLocateId; - - /// - /// To be documented. - /// - public int DebugBreakKeyChord; - - /// - /// To be documented. - /// - public byte DebugBeginReturnValueCullDepth; - - /// - /// To be documented. - /// - public byte DebugItemPickerActive; - - /// - /// To be documented. - /// - public byte DebugItemPickerMouseButton; - - /// - /// To be documented. - /// - public uint DebugItemPickerBreakId; - - /// - /// To be documented. - /// - public float DebugFlashStyleColorTime; - - /// - /// To be documented. - /// - public Vector4 DebugFlashStyleColorBackup; - - /// - /// To be documented. - /// - public ImGuiMetricsConfig DebugMetricsConfig; - - /// - /// To be documented. - /// - public ImGuiIDStackTool DebugIDStackTool; - - /// - /// To be documented. - /// - public ImGuiDebugAllocInfo DebugAllocInfo; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* DebugHoveredDockNode; - - /// - /// To be documented. - /// - public float FramerateSecPerFrame_0; - public float FramerateSecPerFrame_1; - public float FramerateSecPerFrame_2; - public float FramerateSecPerFrame_3; - public float FramerateSecPerFrame_4; - public float FramerateSecPerFrame_5; - public float FramerateSecPerFrame_6; - public float FramerateSecPerFrame_7; - public float FramerateSecPerFrame_8; - public float FramerateSecPerFrame_9; - public float FramerateSecPerFrame_10; - public float FramerateSecPerFrame_11; - public float FramerateSecPerFrame_12; - public float FramerateSecPerFrame_13; - public float FramerateSecPerFrame_14; - public float FramerateSecPerFrame_15; - public float FramerateSecPerFrame_16; - public float FramerateSecPerFrame_17; - public float FramerateSecPerFrame_18; - public float FramerateSecPerFrame_19; - public float FramerateSecPerFrame_20; - public float FramerateSecPerFrame_21; - public float FramerateSecPerFrame_22; - public float FramerateSecPerFrame_23; - public float FramerateSecPerFrame_24; - public float FramerateSecPerFrame_25; - public float FramerateSecPerFrame_26; - public float FramerateSecPerFrame_27; - public float FramerateSecPerFrame_28; - public float FramerateSecPerFrame_29; - public float FramerateSecPerFrame_30; - public float FramerateSecPerFrame_31; - public float FramerateSecPerFrame_32; - public float FramerateSecPerFrame_33; - public float FramerateSecPerFrame_34; - public float FramerateSecPerFrame_35; - public float FramerateSecPerFrame_36; - public float FramerateSecPerFrame_37; - public float FramerateSecPerFrame_38; - public float FramerateSecPerFrame_39; - public float FramerateSecPerFrame_40; - public float FramerateSecPerFrame_41; - public float FramerateSecPerFrame_42; - public float FramerateSecPerFrame_43; - public float FramerateSecPerFrame_44; - public float FramerateSecPerFrame_45; - public float FramerateSecPerFrame_46; - public float FramerateSecPerFrame_47; - public float FramerateSecPerFrame_48; - public float FramerateSecPerFrame_49; - public float FramerateSecPerFrame_50; - public float FramerateSecPerFrame_51; - public float FramerateSecPerFrame_52; - public float FramerateSecPerFrame_53; - public float FramerateSecPerFrame_54; - public float FramerateSecPerFrame_55; - public float FramerateSecPerFrame_56; - public float FramerateSecPerFrame_57; - public float FramerateSecPerFrame_58; - public float FramerateSecPerFrame_59; - - /// - /// To be documented. - /// - public int FramerateSecPerFrameIdx; - - /// - /// To be documented. - /// - public int FramerateSecPerFrameCount; - - /// - /// To be documented. - /// - public float FramerateSecPerFrameAccum; - - /// - /// To be documented. - /// - public int WantCaptureMouseNextFrame; - - /// - /// To be documented. - /// - public int WantCaptureKeyboardNextFrame; - - /// - /// To be documented. - /// - public int WantTextInputNextFrame; - - /// - /// To be documented. - /// - public ImVector TempBuffer; - - /// - /// To be documented. - /// - public byte TempKeychordName_0; - public byte TempKeychordName_1; - public byte TempKeychordName_2; - public byte TempKeychordName_3; - public byte TempKeychordName_4; - public byte TempKeychordName_5; - public byte TempKeychordName_6; - public byte TempKeychordName_7; - public byte TempKeychordName_8; - public byte TempKeychordName_9; - public byte TempKeychordName_10; - public byte TempKeychordName_11; - public byte TempKeychordName_12; - public byte TempKeychordName_13; - public byte TempKeychordName_14; - public byte TempKeychordName_15; - public byte TempKeychordName_16; - public byte TempKeychordName_17; - public byte TempKeychordName_18; - public byte TempKeychordName_19; - public byte TempKeychordName_20; - public byte TempKeychordName_21; - public byte TempKeychordName_22; - public byte TempKeychordName_23; - public byte TempKeychordName_24; - public byte TempKeychordName_25; - public byte TempKeychordName_26; - public byte TempKeychordName_27; - public byte TempKeychordName_28; - public byte TempKeychordName_29; - public byte TempKeychordName_30; - public byte TempKeychordName_31; - public byte TempKeychordName_32; - public byte TempKeychordName_33; - public byte TempKeychordName_34; - public byte TempKeychordName_35; - public byte TempKeychordName_36; - public byte TempKeychordName_37; - public byte TempKeychordName_38; - public byte TempKeychordName_39; - public byte TempKeychordName_40; - public byte TempKeychordName_41; - public byte TempKeychordName_42; - public byte TempKeychordName_43; - public byte TempKeychordName_44; - public byte TempKeychordName_45; - public byte TempKeychordName_46; - public byte TempKeychordName_47; - public byte TempKeychordName_48; - public byte TempKeychordName_49; - public byte TempKeychordName_50; - public byte TempKeychordName_51; - public byte TempKeychordName_52; - public byte TempKeychordName_53; - public byte TempKeychordName_54; - public byte TempKeychordName_55; - public byte TempKeychordName_56; - public byte TempKeychordName_57; - public byte TempKeychordName_58; - public byte TempKeychordName_59; - public byte TempKeychordName_60; - public byte TempKeychordName_61; - public byte TempKeychordName_62; - public byte TempKeychordName_63; - - - /// - /// To be documented. - /// - public unsafe ImGuiContext(bool initialized = default, bool fontAtlasOwnedByContext = default, ImGuiIO io = default, ImGuiPlatformIO platformIo = default, ImGuiStyle style = default, ImGuiConfigFlags configFlagsCurrFrame = default, ImGuiConfigFlags configFlagsLastFrame = default, ImFontPtr font = default, float fontSize = default, float fontBaseSize = default, float fontScale = default, float currentDpiScale = default, ImDrawListSharedData drawListSharedData = default, double time = default, int frameCount = default, int frameCountEnded = default, int frameCountPlatformEnded = default, int frameCountRendered = default, uint withinEndChildId = default, bool withinFrameScope = default, bool withinFrameScopeWithImplicitWindow = default, bool gcCompactAll = default, bool testEngineHookItems = default, void* testEngine = default, byte* contextName = default, ImVector inputEventsQueue = default, ImVector inputEventsTrail = default, ImGuiMouseSource inputEventsNextMouseSource = default, uint inputEventsNextEventId = default, ImVector windows = default, ImVector windowsFocusOrder = default, ImVector windowsTempSortBuffer = default, ImVector currentWindowStack = default, ImGuiStorage windowsById = default, int windowsActiveCount = default, float windowsBorderHoverPadding = default, uint debugBreakInWindow = default, ImGuiWindow* currentWindow = default, ImGuiWindow* hoveredWindow = default, ImGuiWindow* hoveredWindowUnderMovingWindow = default, ImGuiWindow* hoveredWindowBeforeClear = default, ImGuiWindow* movingWindow = default, ImGuiWindow* wheelingWindow = default, Vector2 wheelingWindowRefMousePos = default, int wheelingWindowStartFrame = default, int wheelingWindowScrolledFrame = default, float wheelingWindowReleaseTimer = default, Vector2 wheelingWindowWheelRemainder = default, Vector2 wheelingAxisAvg = default, uint debugDrawIdConflicts = default, uint debugHookIdInfo = default, uint hoveredId = default, uint hoveredIdPreviousFrame = default, int hoveredIdPreviousFrameItemCount = default, float hoveredIdTimer = default, float hoveredIdNotActiveTimer = default, bool hoveredIdAllowOverlap = default, bool hoveredIdIsDisabled = default, bool itemUnclipByLog = default, uint activeId = default, uint activeIdIsAlive = default, float activeIdTimer = default, bool activeIdIsJustActivated = default, bool activeIdAllowOverlap = default, bool activeIdNoClearOnFocusLoss = default, bool activeIdHasBeenPressedBefore = default, bool activeIdHasBeenEditedBefore = default, bool activeIdHasBeenEditedThisFrame = default, bool activeIdFromShortcut = default, int activeIdMouseButton = default, Vector2 activeIdClickOffset = default, ImGuiWindow* activeIdWindow = default, ImGuiInputSource activeIdSource = default, uint activeIdPreviousFrame = default, ImGuiDeactivatedItemData deactivatedItemData = default, ImGuiDataTypeStorage activeIdValueOnActivation = default, uint lastActiveId = default, float lastActiveIdTimer = default, double lastKeyModsChangeTime = default, double lastKeyModsChangeFromNoneTime = default, double lastKeyboardKeyPressTime = default, nuint keysMayBeCharInput = default, ImGuiKeyOwnerData* keysOwnerData = default, ImGuiKeyRoutingTable keysRoutingTable = default, uint activeIdUsingNavDirMask = default, bool activeIdUsingAllKeyboardKeys = default, int debugBreakInShortcutRouting = default, uint currentFocusScopeId = default, ImGuiItemFlags currentItemFlags = default, uint debugLocateId = default, ImGuiNextItemData nextItemData = default, ImGuiLastItemData lastItemData = default, ImGuiNextWindowData nextWindowData = default, bool debugShowGroupRects = default, ImGuiCol debugFlashStyleColorIdx = default, ImVector colorStack = default, ImVector styleVarStack = default, ImVector fontStack = default, ImVector focusScopeStack = default, ImVector itemFlagsStack = default, ImVector groupStack = default, ImVector openPopupStack = default, ImVector beginPopupStack = default, ImVector treeNodeStack = default, ImVector viewports = default, ImGuiViewportP* currentViewport = default, ImGuiViewportP* mouseViewport = default, ImGuiViewportP* mouseLastHoveredViewport = default, uint platformLastFocusedViewportId = default, ImGuiPlatformMonitor fallbackMonitor = default, ImRect platformMonitorsFullWorkRect = default, int viewportCreatedCount = default, int platformWindowsCreatedCount = default, int viewportFocusedStampCount = default, bool navCursorVisible = default, bool navHighlightItemUnderNav = default, bool navMousePosDirty = default, bool navIdIsAlive = default, uint navId = default, ImGuiWindow* navWindow = default, uint navFocusScopeId = default, ImGuiNavLayer navLayer = default, uint navActivateId = default, uint navActivateDownId = default, uint navActivatePressedId = default, ImGuiActivateFlags navActivateFlags = default, ImVector navFocusRoute = default, uint navHighlightActivatedId = default, float navHighlightActivatedTimer = default, uint navNextActivateId = default, ImGuiActivateFlags navNextActivateFlags = default, ImGuiInputSource navInputSource = default, long navLastValidSelectionUserData = default, byte navCursorHideFrames = default, bool navAnyRequest = default, bool navInitRequest = default, bool navInitRequestFromMove = default, ImGuiNavItemData navInitResult = default, bool navMoveSubmitted = default, bool navMoveScoringItems = default, bool navMoveForwardToNextFrame = default, ImGuiNavMoveFlags navMoveFlags = default, ImGuiScrollFlags navMoveScrollFlags = default, int navMoveKeyMods = default, ImGuiDir navMoveDir = default, ImGuiDir navMoveDirForDebug = default, ImGuiDir navMoveClipDir = default, ImRect navScoringRect = default, ImRect navScoringNoClipRect = default, int navScoringDebugCount = default, int navTabbingDir = default, int navTabbingCounter = default, ImGuiNavItemData navMoveResultLocal = default, ImGuiNavItemData navMoveResultLocalVisible = default, ImGuiNavItemData navMoveResultOther = default, ImGuiNavItemData navTabbingResultFirst = default, uint navJustMovedFromFocusScopeId = default, uint navJustMovedToId = default, uint navJustMovedToFocusScopeId = default, int navJustMovedToKeyMods = default, bool navJustMovedToIsTabbing = default, bool navJustMovedToHasSelectionData = default, int configNavWindowingKeyNext = default, int configNavWindowingKeyPrev = default, ImGuiWindow* navWindowingTarget = default, ImGuiWindow* navWindowingTargetAnim = default, ImGuiWindow* navWindowingListWindow = default, float navWindowingTimer = default, float navWindowingHighlightAlpha = default, bool navWindowingToggleLayer = default, ImGuiKey navWindowingToggleKey = default, Vector2 navWindowingAccumDeltaPos = default, Vector2 navWindowingAccumDeltaSize = default, float dimBgRatio = default, bool dragDropActive = default, bool dragDropWithinSource = default, bool dragDropWithinTarget = default, ImGuiDragDropFlags dragDropSourceFlags = default, int dragDropSourceFrameCount = default, int dragDropMouseButton = default, ImGuiPayload dragDropPayload = default, ImRect dragDropTargetRect = default, ImRect dragDropTargetClipRect = default, uint dragDropTargetId = default, ImGuiDragDropFlags dragDropAcceptFlags = default, float dragDropAcceptIdCurrRectSurface = default, uint dragDropAcceptIdCurr = default, uint dragDropAcceptIdPrev = default, int dragDropAcceptFrameCount = default, uint dragDropHoldJustPressedId = default, ImVector dragDropPayloadBufHeap = default, byte* dragDropPayloadBufLocal = default, int clipperTempDataStacked = default, ImVector clipperTempData = default, ImGuiTable* currentTable = default, uint debugBreakInTable = default, int tablesTempDataStacked = default, ImVector tablesTempData = default, ImPoolImGuiTable tables = default, ImVector tablesLastTimeActive = default, ImVector drawChannelsTempMergeBuffer = default, ImGuiTabBar* currentTabBar = default, ImPoolImGuiTabBar tabBars = default, ImVector currentTabBarStack = default, ImVector shrinkWidthBuffer = default, ImGuiBoxSelectState boxSelectState = default, ImGuiMultiSelectTempData* currentMultiSelect = default, int multiSelectTempDataStacked = default, ImVector multiSelectTempData = default, ImPoolImGuiMultiSelectState multiSelectStorage = default, uint hoverItemDelayId = default, uint hoverItemDelayIdPreviousFrame = default, float hoverItemDelayTimer = default, float hoverItemDelayClearTimer = default, uint hoverItemUnlockedStationaryId = default, uint hoverWindowUnlockedStationaryId = default, ImGuiMouseCursor mouseCursor = default, float mouseStationaryTimer = default, Vector2 mouseLastValidPos = default, ImGuiInputTextState inputTextState = default, ImGuiInputTextDeactivatedState inputTextDeactivatedState = default, ImFont inputTextPasswordFont = default, uint tempInputId = default, ImGuiDataTypeStorage dataTypeZeroValue = default, int beginMenuDepth = default, int beginComboDepth = default, ImGuiColorEditFlags colorEditOptions = default, uint colorEditCurrentId = default, uint colorEditSavedId = default, float colorEditSavedHue = default, float colorEditSavedSat = default, uint colorEditSavedColor = default, Vector4 colorPickerRef = default, ImGuiComboPreviewData comboPreviewData = default, ImRect windowResizeBorderExpectedRect = default, bool windowResizeRelativeMode = default, short scrollbarSeekMode = default, float scrollbarClickDeltaToGrabCenter = default, float sliderGrabClickOffset = default, float sliderCurrentAccum = default, bool sliderCurrentAccumDirty = default, bool dragCurrentAccumDirty = default, float dragCurrentAccum = default, float dragSpeedDefaultRatio = default, float disabledAlphaBackup = default, short disabledStackSize = default, short tooltipOverrideCount = default, ImGuiWindow* tooltipPreviousWindow = default, ImVector clipboardHandlerData = default, ImVector menusIdSubmittedThisFrame = default, ImGuiTypingSelectState typingSelectState = default, ImGuiPlatformImeData platformImeData = default, ImGuiPlatformImeData platformImeDataPrev = default, uint platformImeViewport = default, ImGuiDockContext dockContext = default, delegate* dockNodeWindowMenuHandler = default, bool settingsLoaded = default, float settingsDirtyTimer = default, ImGuiTextBuffer settingsIniData = default, ImVector settingsHandlers = default, ImChunkStreamImGuiWindowSettings settingsWindows = default, ImChunkStreamImGuiTableSettings settingsTables = default, ImVector hooks = default, uint hookIdNext = default, byte** localizationTable = default, bool logEnabled = default, ImGuiLogFlags logFlags = default, ImGuiWindow* logWindow = default, ImFileHandle logFile = default, ImGuiTextBuffer logBuffer = default, byte* logNextPrefix = default, byte* logNextSuffix = default, float logLinePosY = default, bool logLineFirstItem = default, int logDepthRef = default, int logDepthToExpand = default, int logDepthToExpandDefault = default, ImGuiErrorCallback errorCallback = default, void* errorCallbackUserData = default, Vector2 errorTooltipLockedPos = default, bool errorFirst = default, int errorCountCurrentFrame = default, ImGuiErrorRecoveryState stackSizesInNewFrame = default, ImGuiErrorRecoveryState* stackSizesInBeginForCurrentWindow = default, int debugDrawIdConflictsCount = default, ImGuiDebugLogFlags debugLogFlags = default, ImGuiTextBuffer debugLogBuf = default, ImGuiTextIndex debugLogIndex = default, int debugLogSkippedErrors = default, ImGuiDebugLogFlags debugLogAutoDisableFlags = default, byte debugLogAutoDisableFrames = default, byte debugLocateFrames = default, bool debugBreakInLocateId = default, int debugBreakKeyChord = default, byte debugBeginReturnValueCullDepth = default, bool debugItemPickerActive = default, byte debugItemPickerMouseButton = default, uint debugItemPickerBreakId = default, float debugFlashStyleColorTime = default, Vector4 debugFlashStyleColorBackup = default, ImGuiMetricsConfig debugMetricsConfig = default, ImGuiIDStackTool debugIdStackTool = default, ImGuiDebugAllocInfo debugAllocInfo = default, ImGuiDockNode* debugHoveredDockNode = default, float* framerateSecPerFrame = default, int framerateSecPerFrameIdx = default, int framerateSecPerFrameCount = default, float framerateSecPerFrameAccum = default, int wantCaptureMouseNextFrame = default, int wantCaptureKeyboardNextFrame = default, int wantTextInputNextFrame = default, ImVector tempBuffer = default, byte* tempKeychordName = default) - { - Initialized = initialized ? (byte)1 : (byte)0; - FontAtlasOwnedByContext = fontAtlasOwnedByContext ? (byte)1 : (byte)0; - IO = io; - PlatformIO = platformIo; - Style = style; - ConfigFlagsCurrFrame = configFlagsCurrFrame; - ConfigFlagsLastFrame = configFlagsLastFrame; - Font = font; - FontSize = fontSize; - FontBaseSize = fontBaseSize; - FontScale = fontScale; - CurrentDpiScale = currentDpiScale; - DrawListSharedData = drawListSharedData; - Time = time; - FrameCount = frameCount; - FrameCountEnded = frameCountEnded; - FrameCountPlatformEnded = frameCountPlatformEnded; - FrameCountRendered = frameCountRendered; - WithinEndChildID = withinEndChildId; - WithinFrameScope = withinFrameScope ? (byte)1 : (byte)0; - WithinFrameScopeWithImplicitWindow = withinFrameScopeWithImplicitWindow ? (byte)1 : (byte)0; - GcCompactAll = gcCompactAll ? (byte)1 : (byte)0; - TestEngineHookItems = testEngineHookItems ? (byte)1 : (byte)0; - TestEngine = testEngine; - if (contextName != default(byte*)) - { - ContextName_0 = contextName[0]; - ContextName_1 = contextName[1]; - ContextName_2 = contextName[2]; - ContextName_3 = contextName[3]; - ContextName_4 = contextName[4]; - ContextName_5 = contextName[5]; - ContextName_6 = contextName[6]; - ContextName_7 = contextName[7]; - ContextName_8 = contextName[8]; - ContextName_9 = contextName[9]; - ContextName_10 = contextName[10]; - ContextName_11 = contextName[11]; - ContextName_12 = contextName[12]; - ContextName_13 = contextName[13]; - ContextName_14 = contextName[14]; - ContextName_15 = contextName[15]; - } - InputEventsQueue = inputEventsQueue; - InputEventsTrail = inputEventsTrail; - InputEventsNextMouseSource = inputEventsNextMouseSource; - InputEventsNextEventId = inputEventsNextEventId; - Windows = windows; - WindowsFocusOrder = windowsFocusOrder; - WindowsTempSortBuffer = windowsTempSortBuffer; - CurrentWindowStack = currentWindowStack; - WindowsById = windowsById; - WindowsActiveCount = windowsActiveCount; - WindowsBorderHoverPadding = windowsBorderHoverPadding; - DebugBreakInWindow = debugBreakInWindow; - CurrentWindow = currentWindow; - HoveredWindow = hoveredWindow; - HoveredWindowUnderMovingWindow = hoveredWindowUnderMovingWindow; - HoveredWindowBeforeClear = hoveredWindowBeforeClear; - MovingWindow = movingWindow; - WheelingWindow = wheelingWindow; - WheelingWindowRefMousePos = wheelingWindowRefMousePos; - WheelingWindowStartFrame = wheelingWindowStartFrame; - WheelingWindowScrolledFrame = wheelingWindowScrolledFrame; - WheelingWindowReleaseTimer = wheelingWindowReleaseTimer; - WheelingWindowWheelRemainder = wheelingWindowWheelRemainder; - WheelingAxisAvg = wheelingAxisAvg; - DebugDrawIdConflicts = debugDrawIdConflicts; - DebugHookIdInfo = debugHookIdInfo; - HoveredId = hoveredId; - HoveredIdPreviousFrame = hoveredIdPreviousFrame; - HoveredIdPreviousFrameItemCount = hoveredIdPreviousFrameItemCount; - HoveredIdTimer = hoveredIdTimer; - HoveredIdNotActiveTimer = hoveredIdNotActiveTimer; - HoveredIdAllowOverlap = hoveredIdAllowOverlap ? (byte)1 : (byte)0; - HoveredIdIsDisabled = hoveredIdIsDisabled ? (byte)1 : (byte)0; - ItemUnclipByLog = itemUnclipByLog ? (byte)1 : (byte)0; - ActiveId = activeId; - ActiveIdIsAlive = activeIdIsAlive; - ActiveIdTimer = activeIdTimer; - ActiveIdIsJustActivated = activeIdIsJustActivated ? (byte)1 : (byte)0; - ActiveIdAllowOverlap = activeIdAllowOverlap ? (byte)1 : (byte)0; - ActiveIdNoClearOnFocusLoss = activeIdNoClearOnFocusLoss ? (byte)1 : (byte)0; - ActiveIdHasBeenPressedBefore = activeIdHasBeenPressedBefore ? (byte)1 : (byte)0; - ActiveIdHasBeenEditedBefore = activeIdHasBeenEditedBefore ? (byte)1 : (byte)0; - ActiveIdHasBeenEditedThisFrame = activeIdHasBeenEditedThisFrame ? (byte)1 : (byte)0; - ActiveIdFromShortcut = activeIdFromShortcut ? (byte)1 : (byte)0; - ActiveIdMouseButton = activeIdMouseButton; - ActiveIdClickOffset = activeIdClickOffset; - ActiveIdWindow = activeIdWindow; - ActiveIdSource = activeIdSource; - ActiveIdPreviousFrame = activeIdPreviousFrame; - DeactivatedItemData = deactivatedItemData; - ActiveIdValueOnActivation = activeIdValueOnActivation; - LastActiveId = lastActiveId; - LastActiveIdTimer = lastActiveIdTimer; - LastKeyModsChangeTime = lastKeyModsChangeTime; - LastKeyModsChangeFromNoneTime = lastKeyModsChangeFromNoneTime; - LastKeyboardKeyPressTime = lastKeyboardKeyPressTime; - KeysMayBeCharInput = keysMayBeCharInput; - if (keysOwnerData != default(ImGuiKeyOwnerData*)) - { - KeysOwnerData_0 = keysOwnerData[0]; - KeysOwnerData_1 = keysOwnerData[1]; - KeysOwnerData_2 = keysOwnerData[2]; - KeysOwnerData_3 = keysOwnerData[3]; - KeysOwnerData_4 = keysOwnerData[4]; - KeysOwnerData_5 = keysOwnerData[5]; - KeysOwnerData_6 = keysOwnerData[6]; - KeysOwnerData_7 = keysOwnerData[7]; - KeysOwnerData_8 = keysOwnerData[8]; - KeysOwnerData_9 = keysOwnerData[9]; - KeysOwnerData_10 = keysOwnerData[10]; - KeysOwnerData_11 = keysOwnerData[11]; - KeysOwnerData_12 = keysOwnerData[12]; - KeysOwnerData_13 = keysOwnerData[13]; - KeysOwnerData_14 = keysOwnerData[14]; - KeysOwnerData_15 = keysOwnerData[15]; - KeysOwnerData_16 = keysOwnerData[16]; - KeysOwnerData_17 = keysOwnerData[17]; - KeysOwnerData_18 = keysOwnerData[18]; - KeysOwnerData_19 = keysOwnerData[19]; - KeysOwnerData_20 = keysOwnerData[20]; - KeysOwnerData_21 = keysOwnerData[21]; - KeysOwnerData_22 = keysOwnerData[22]; - KeysOwnerData_23 = keysOwnerData[23]; - KeysOwnerData_24 = keysOwnerData[24]; - KeysOwnerData_25 = keysOwnerData[25]; - KeysOwnerData_26 = keysOwnerData[26]; - KeysOwnerData_27 = keysOwnerData[27]; - KeysOwnerData_28 = keysOwnerData[28]; - KeysOwnerData_29 = keysOwnerData[29]; - KeysOwnerData_30 = keysOwnerData[30]; - KeysOwnerData_31 = keysOwnerData[31]; - KeysOwnerData_32 = keysOwnerData[32]; - KeysOwnerData_33 = keysOwnerData[33]; - KeysOwnerData_34 = keysOwnerData[34]; - KeysOwnerData_35 = keysOwnerData[35]; - KeysOwnerData_36 = keysOwnerData[36]; - KeysOwnerData_37 = keysOwnerData[37]; - KeysOwnerData_38 = keysOwnerData[38]; - KeysOwnerData_39 = keysOwnerData[39]; - KeysOwnerData_40 = keysOwnerData[40]; - KeysOwnerData_41 = keysOwnerData[41]; - KeysOwnerData_42 = keysOwnerData[42]; - KeysOwnerData_43 = keysOwnerData[43]; - KeysOwnerData_44 = keysOwnerData[44]; - KeysOwnerData_45 = keysOwnerData[45]; - KeysOwnerData_46 = keysOwnerData[46]; - KeysOwnerData_47 = keysOwnerData[47]; - KeysOwnerData_48 = keysOwnerData[48]; - KeysOwnerData_49 = keysOwnerData[49]; - KeysOwnerData_50 = keysOwnerData[50]; - KeysOwnerData_51 = keysOwnerData[51]; - KeysOwnerData_52 = keysOwnerData[52]; - KeysOwnerData_53 = keysOwnerData[53]; - KeysOwnerData_54 = keysOwnerData[54]; - KeysOwnerData_55 = keysOwnerData[55]; - KeysOwnerData_56 = keysOwnerData[56]; - KeysOwnerData_57 = keysOwnerData[57]; - KeysOwnerData_58 = keysOwnerData[58]; - KeysOwnerData_59 = keysOwnerData[59]; - KeysOwnerData_60 = keysOwnerData[60]; - KeysOwnerData_61 = keysOwnerData[61]; - KeysOwnerData_62 = keysOwnerData[62]; - KeysOwnerData_63 = keysOwnerData[63]; - KeysOwnerData_64 = keysOwnerData[64]; - KeysOwnerData_65 = keysOwnerData[65]; - KeysOwnerData_66 = keysOwnerData[66]; - KeysOwnerData_67 = keysOwnerData[67]; - KeysOwnerData_68 = keysOwnerData[68]; - KeysOwnerData_69 = keysOwnerData[69]; - KeysOwnerData_70 = keysOwnerData[70]; - KeysOwnerData_71 = keysOwnerData[71]; - KeysOwnerData_72 = keysOwnerData[72]; - KeysOwnerData_73 = keysOwnerData[73]; - KeysOwnerData_74 = keysOwnerData[74]; - KeysOwnerData_75 = keysOwnerData[75]; - KeysOwnerData_76 = keysOwnerData[76]; - KeysOwnerData_77 = keysOwnerData[77]; - KeysOwnerData_78 = keysOwnerData[78]; - KeysOwnerData_79 = keysOwnerData[79]; - KeysOwnerData_80 = keysOwnerData[80]; - KeysOwnerData_81 = keysOwnerData[81]; - KeysOwnerData_82 = keysOwnerData[82]; - KeysOwnerData_83 = keysOwnerData[83]; - KeysOwnerData_84 = keysOwnerData[84]; - KeysOwnerData_85 = keysOwnerData[85]; - KeysOwnerData_86 = keysOwnerData[86]; - KeysOwnerData_87 = keysOwnerData[87]; - KeysOwnerData_88 = keysOwnerData[88]; - KeysOwnerData_89 = keysOwnerData[89]; - KeysOwnerData_90 = keysOwnerData[90]; - KeysOwnerData_91 = keysOwnerData[91]; - KeysOwnerData_92 = keysOwnerData[92]; - KeysOwnerData_93 = keysOwnerData[93]; - KeysOwnerData_94 = keysOwnerData[94]; - KeysOwnerData_95 = keysOwnerData[95]; - KeysOwnerData_96 = keysOwnerData[96]; - KeysOwnerData_97 = keysOwnerData[97]; - KeysOwnerData_98 = keysOwnerData[98]; - KeysOwnerData_99 = keysOwnerData[99]; - KeysOwnerData_100 = keysOwnerData[100]; - KeysOwnerData_101 = keysOwnerData[101]; - KeysOwnerData_102 = keysOwnerData[102]; - KeysOwnerData_103 = keysOwnerData[103]; - KeysOwnerData_104 = keysOwnerData[104]; - KeysOwnerData_105 = keysOwnerData[105]; - KeysOwnerData_106 = keysOwnerData[106]; - KeysOwnerData_107 = keysOwnerData[107]; - KeysOwnerData_108 = keysOwnerData[108]; - KeysOwnerData_109 = keysOwnerData[109]; - KeysOwnerData_110 = keysOwnerData[110]; - KeysOwnerData_111 = keysOwnerData[111]; - KeysOwnerData_112 = keysOwnerData[112]; - KeysOwnerData_113 = keysOwnerData[113]; - KeysOwnerData_114 = keysOwnerData[114]; - KeysOwnerData_115 = keysOwnerData[115]; - KeysOwnerData_116 = keysOwnerData[116]; - KeysOwnerData_117 = keysOwnerData[117]; - KeysOwnerData_118 = keysOwnerData[118]; - KeysOwnerData_119 = keysOwnerData[119]; - KeysOwnerData_120 = keysOwnerData[120]; - KeysOwnerData_121 = keysOwnerData[121]; - KeysOwnerData_122 = keysOwnerData[122]; - KeysOwnerData_123 = keysOwnerData[123]; - KeysOwnerData_124 = keysOwnerData[124]; - KeysOwnerData_125 = keysOwnerData[125]; - KeysOwnerData_126 = keysOwnerData[126]; - KeysOwnerData_127 = keysOwnerData[127]; - KeysOwnerData_128 = keysOwnerData[128]; - KeysOwnerData_129 = keysOwnerData[129]; - KeysOwnerData_130 = keysOwnerData[130]; - KeysOwnerData_131 = keysOwnerData[131]; - KeysOwnerData_132 = keysOwnerData[132]; - KeysOwnerData_133 = keysOwnerData[133]; - KeysOwnerData_134 = keysOwnerData[134]; - KeysOwnerData_135 = keysOwnerData[135]; - KeysOwnerData_136 = keysOwnerData[136]; - KeysOwnerData_137 = keysOwnerData[137]; - KeysOwnerData_138 = keysOwnerData[138]; - KeysOwnerData_139 = keysOwnerData[139]; - KeysOwnerData_140 = keysOwnerData[140]; - KeysOwnerData_141 = keysOwnerData[141]; - KeysOwnerData_142 = keysOwnerData[142]; - KeysOwnerData_143 = keysOwnerData[143]; - KeysOwnerData_144 = keysOwnerData[144]; - KeysOwnerData_145 = keysOwnerData[145]; - KeysOwnerData_146 = keysOwnerData[146]; - KeysOwnerData_147 = keysOwnerData[147]; - KeysOwnerData_148 = keysOwnerData[148]; - KeysOwnerData_149 = keysOwnerData[149]; - KeysOwnerData_150 = keysOwnerData[150]; - KeysOwnerData_151 = keysOwnerData[151]; - KeysOwnerData_152 = keysOwnerData[152]; - KeysOwnerData_153 = keysOwnerData[153]; - KeysOwnerData_154 = keysOwnerData[154]; - } - KeysRoutingTable = keysRoutingTable; - ActiveIdUsingNavDirMask = activeIdUsingNavDirMask; - ActiveIdUsingAllKeyboardKeys = activeIdUsingAllKeyboardKeys ? (byte)1 : (byte)0; - DebugBreakInShortcutRouting = debugBreakInShortcutRouting; - CurrentFocusScopeId = currentFocusScopeId; - CurrentItemFlags = currentItemFlags; - DebugLocateId = debugLocateId; - NextItemData = nextItemData; - LastItemData = lastItemData; - NextWindowData = nextWindowData; - DebugShowGroupRects = debugShowGroupRects ? (byte)1 : (byte)0; - DebugFlashStyleColorIdx = debugFlashStyleColorIdx; - ColorStack = colorStack; - StyleVarStack = styleVarStack; - FontStack = fontStack; - FocusScopeStack = focusScopeStack; - ItemFlagsStack = itemFlagsStack; - GroupStack = groupStack; - OpenPopupStack = openPopupStack; - BeginPopupStack = beginPopupStack; - TreeNodeStack = treeNodeStack; - Viewports = viewports; - CurrentViewport = currentViewport; - MouseViewport = mouseViewport; - MouseLastHoveredViewport = mouseLastHoveredViewport; - PlatformLastFocusedViewportId = platformLastFocusedViewportId; - FallbackMonitor = fallbackMonitor; - PlatformMonitorsFullWorkRect = platformMonitorsFullWorkRect; - ViewportCreatedCount = viewportCreatedCount; - PlatformWindowsCreatedCount = platformWindowsCreatedCount; - ViewportFocusedStampCount = viewportFocusedStampCount; - NavCursorVisible = navCursorVisible ? (byte)1 : (byte)0; - NavHighlightItemUnderNav = navHighlightItemUnderNav ? (byte)1 : (byte)0; - NavMousePosDirty = navMousePosDirty ? (byte)1 : (byte)0; - NavIdIsAlive = navIdIsAlive ? (byte)1 : (byte)0; - NavId = navId; - NavWindow = navWindow; - NavFocusScopeId = navFocusScopeId; - NavLayer = navLayer; - NavActivateId = navActivateId; - NavActivateDownId = navActivateDownId; - NavActivatePressedId = navActivatePressedId; - NavActivateFlags = navActivateFlags; - NavFocusRoute = navFocusRoute; - NavHighlightActivatedId = navHighlightActivatedId; - NavHighlightActivatedTimer = navHighlightActivatedTimer; - NavNextActivateId = navNextActivateId; - NavNextActivateFlags = navNextActivateFlags; - NavInputSource = navInputSource; - NavLastValidSelectionUserData = navLastValidSelectionUserData; - NavCursorHideFrames = navCursorHideFrames; - NavAnyRequest = navAnyRequest ? (byte)1 : (byte)0; - NavInitRequest = navInitRequest ? (byte)1 : (byte)0; - NavInitRequestFromMove = navInitRequestFromMove ? (byte)1 : (byte)0; - NavInitResult = navInitResult; - NavMoveSubmitted = navMoveSubmitted ? (byte)1 : (byte)0; - NavMoveScoringItems = navMoveScoringItems ? (byte)1 : (byte)0; - NavMoveForwardToNextFrame = navMoveForwardToNextFrame ? (byte)1 : (byte)0; - NavMoveFlags = navMoveFlags; - NavMoveScrollFlags = navMoveScrollFlags; - NavMoveKeyMods = navMoveKeyMods; - NavMoveDir = navMoveDir; - NavMoveDirForDebug = navMoveDirForDebug; - NavMoveClipDir = navMoveClipDir; - NavScoringRect = navScoringRect; - NavScoringNoClipRect = navScoringNoClipRect; - NavScoringDebugCount = navScoringDebugCount; - NavTabbingDir = navTabbingDir; - NavTabbingCounter = navTabbingCounter; - NavMoveResultLocal = navMoveResultLocal; - NavMoveResultLocalVisible = navMoveResultLocalVisible; - NavMoveResultOther = navMoveResultOther; - NavTabbingResultFirst = navTabbingResultFirst; - NavJustMovedFromFocusScopeId = navJustMovedFromFocusScopeId; - NavJustMovedToId = navJustMovedToId; - NavJustMovedToFocusScopeId = navJustMovedToFocusScopeId; - NavJustMovedToKeyMods = navJustMovedToKeyMods; - NavJustMovedToIsTabbing = navJustMovedToIsTabbing ? (byte)1 : (byte)0; - NavJustMovedToHasSelectionData = navJustMovedToHasSelectionData ? (byte)1 : (byte)0; - ConfigNavWindowingKeyNext = configNavWindowingKeyNext; - ConfigNavWindowingKeyPrev = configNavWindowingKeyPrev; - NavWindowingTarget = navWindowingTarget; - NavWindowingTargetAnim = navWindowingTargetAnim; - NavWindowingListWindow = navWindowingListWindow; - NavWindowingTimer = navWindowingTimer; - NavWindowingHighlightAlpha = navWindowingHighlightAlpha; - NavWindowingToggleLayer = navWindowingToggleLayer ? (byte)1 : (byte)0; - NavWindowingToggleKey = navWindowingToggleKey; - NavWindowingAccumDeltaPos = navWindowingAccumDeltaPos; - NavWindowingAccumDeltaSize = navWindowingAccumDeltaSize; - DimBgRatio = dimBgRatio; - DragDropActive = dragDropActive ? (byte)1 : (byte)0; - DragDropWithinSource = dragDropWithinSource ? (byte)1 : (byte)0; - DragDropWithinTarget = dragDropWithinTarget ? (byte)1 : (byte)0; - DragDropSourceFlags = dragDropSourceFlags; - DragDropSourceFrameCount = dragDropSourceFrameCount; - DragDropMouseButton = dragDropMouseButton; - DragDropPayload = dragDropPayload; - DragDropTargetRect = dragDropTargetRect; - DragDropTargetClipRect = dragDropTargetClipRect; - DragDropTargetId = dragDropTargetId; - DragDropAcceptFlags = dragDropAcceptFlags; - DragDropAcceptIdCurrRectSurface = dragDropAcceptIdCurrRectSurface; - DragDropAcceptIdCurr = dragDropAcceptIdCurr; - DragDropAcceptIdPrev = dragDropAcceptIdPrev; - DragDropAcceptFrameCount = dragDropAcceptFrameCount; - DragDropHoldJustPressedId = dragDropHoldJustPressedId; - DragDropPayloadBufHeap = dragDropPayloadBufHeap; - if (dragDropPayloadBufLocal != default(byte*)) - { - DragDropPayloadBufLocal_0 = dragDropPayloadBufLocal[0]; - DragDropPayloadBufLocal_1 = dragDropPayloadBufLocal[1]; - DragDropPayloadBufLocal_2 = dragDropPayloadBufLocal[2]; - DragDropPayloadBufLocal_3 = dragDropPayloadBufLocal[3]; - DragDropPayloadBufLocal_4 = dragDropPayloadBufLocal[4]; - DragDropPayloadBufLocal_5 = dragDropPayloadBufLocal[5]; - DragDropPayloadBufLocal_6 = dragDropPayloadBufLocal[6]; - DragDropPayloadBufLocal_7 = dragDropPayloadBufLocal[7]; - DragDropPayloadBufLocal_8 = dragDropPayloadBufLocal[8]; - DragDropPayloadBufLocal_9 = dragDropPayloadBufLocal[9]; - DragDropPayloadBufLocal_10 = dragDropPayloadBufLocal[10]; - DragDropPayloadBufLocal_11 = dragDropPayloadBufLocal[11]; - DragDropPayloadBufLocal_12 = dragDropPayloadBufLocal[12]; - DragDropPayloadBufLocal_13 = dragDropPayloadBufLocal[13]; - DragDropPayloadBufLocal_14 = dragDropPayloadBufLocal[14]; - DragDropPayloadBufLocal_15 = dragDropPayloadBufLocal[15]; - } - ClipperTempDataStacked = clipperTempDataStacked; - ClipperTempData = clipperTempData; - CurrentTable = currentTable; - DebugBreakInTable = debugBreakInTable; - TablesTempDataStacked = tablesTempDataStacked; - TablesTempData = tablesTempData; - Tables = tables; - TablesLastTimeActive = tablesLastTimeActive; - DrawChannelsTempMergeBuffer = drawChannelsTempMergeBuffer; - CurrentTabBar = currentTabBar; - TabBars = tabBars; - CurrentTabBarStack = currentTabBarStack; - ShrinkWidthBuffer = shrinkWidthBuffer; - BoxSelectState = boxSelectState; - CurrentMultiSelect = currentMultiSelect; - MultiSelectTempDataStacked = multiSelectTempDataStacked; - MultiSelectTempData = multiSelectTempData; - MultiSelectStorage = multiSelectStorage; - HoverItemDelayId = hoverItemDelayId; - HoverItemDelayIdPreviousFrame = hoverItemDelayIdPreviousFrame; - HoverItemDelayTimer = hoverItemDelayTimer; - HoverItemDelayClearTimer = hoverItemDelayClearTimer; - HoverItemUnlockedStationaryId = hoverItemUnlockedStationaryId; - HoverWindowUnlockedStationaryId = hoverWindowUnlockedStationaryId; - MouseCursor = mouseCursor; - MouseStationaryTimer = mouseStationaryTimer; - MouseLastValidPos = mouseLastValidPos; - InputTextState = inputTextState; - InputTextDeactivatedState = inputTextDeactivatedState; - InputTextPasswordFont = inputTextPasswordFont; - TempInputId = tempInputId; - DataTypeZeroValue = dataTypeZeroValue; - BeginMenuDepth = beginMenuDepth; - BeginComboDepth = beginComboDepth; - ColorEditOptions = colorEditOptions; - ColorEditCurrentID = colorEditCurrentId; - ColorEditSavedID = colorEditSavedId; - ColorEditSavedHue = colorEditSavedHue; - ColorEditSavedSat = colorEditSavedSat; - ColorEditSavedColor = colorEditSavedColor; - ColorPickerRef = colorPickerRef; - ComboPreviewData = comboPreviewData; - WindowResizeBorderExpectedRect = windowResizeBorderExpectedRect; - WindowResizeRelativeMode = windowResizeRelativeMode ? (byte)1 : (byte)0; - ScrollbarSeekMode = scrollbarSeekMode; - ScrollbarClickDeltaToGrabCenter = scrollbarClickDeltaToGrabCenter; - SliderGrabClickOffset = sliderGrabClickOffset; - SliderCurrentAccum = sliderCurrentAccum; - SliderCurrentAccumDirty = sliderCurrentAccumDirty ? (byte)1 : (byte)0; - DragCurrentAccumDirty = dragCurrentAccumDirty ? (byte)1 : (byte)0; - DragCurrentAccum = dragCurrentAccum; - DragSpeedDefaultRatio = dragSpeedDefaultRatio; - DisabledAlphaBackup = disabledAlphaBackup; - DisabledStackSize = disabledStackSize; - TooltipOverrideCount = tooltipOverrideCount; - TooltipPreviousWindow = tooltipPreviousWindow; - ClipboardHandlerData = clipboardHandlerData; - MenusIdSubmittedThisFrame = menusIdSubmittedThisFrame; - TypingSelectState = typingSelectState; - PlatformImeData = platformImeData; - PlatformImeDataPrev = platformImeDataPrev; - PlatformImeViewport = platformImeViewport; - DockContext = dockContext; - DockNodeWindowMenuHandler = (void*)dockNodeWindowMenuHandler; - SettingsLoaded = settingsLoaded ? (byte)1 : (byte)0; - SettingsDirtyTimer = settingsDirtyTimer; - SettingsIniData = settingsIniData; - SettingsHandlers = settingsHandlers; - SettingsWindows = settingsWindows; - SettingsTables = settingsTables; - Hooks = hooks; - HookIdNext = hookIdNext; - if (localizationTable != default(byte**)) - { - LocalizationTable_0 = localizationTable[0]; - LocalizationTable_1 = localizationTable[1]; - LocalizationTable_2 = localizationTable[2]; - LocalizationTable_3 = localizationTable[3]; - LocalizationTable_4 = localizationTable[4]; - LocalizationTable_5 = localizationTable[5]; - LocalizationTable_6 = localizationTable[6]; - LocalizationTable_7 = localizationTable[7]; - LocalizationTable_8 = localizationTable[8]; - LocalizationTable_9 = localizationTable[9]; - LocalizationTable_10 = localizationTable[10]; - LocalizationTable_11 = localizationTable[11]; - LocalizationTable_12 = localizationTable[12]; - } - LogEnabled = logEnabled ? (byte)1 : (byte)0; - LogFlags = logFlags; - LogWindow = logWindow; - LogFile = logFile; - LogBuffer = logBuffer; - LogNextPrefix = logNextPrefix; - LogNextSuffix = logNextSuffix; - LogLinePosY = logLinePosY; - LogLineFirstItem = logLineFirstItem ? (byte)1 : (byte)0; - LogDepthRef = logDepthRef; - LogDepthToExpand = logDepthToExpand; - LogDepthToExpandDefault = logDepthToExpandDefault; - ErrorCallback = (void*)Marshal.GetFunctionPointerForDelegate(errorCallback); - ErrorCallbackUserData = errorCallbackUserData; - ErrorTooltipLockedPos = errorTooltipLockedPos; - ErrorFirst = errorFirst ? (byte)1 : (byte)0; - ErrorCountCurrentFrame = errorCountCurrentFrame; - StackSizesInNewFrame = stackSizesInNewFrame; - StackSizesInBeginForCurrentWindow = stackSizesInBeginForCurrentWindow; - DebugDrawIdConflictsCount = debugDrawIdConflictsCount; - DebugLogFlags = debugLogFlags; - DebugLogBuf = debugLogBuf; - DebugLogIndex = debugLogIndex; - DebugLogSkippedErrors = debugLogSkippedErrors; - DebugLogAutoDisableFlags = debugLogAutoDisableFlags; - DebugLogAutoDisableFrames = debugLogAutoDisableFrames; - DebugLocateFrames = debugLocateFrames; - DebugBreakInLocateId = debugBreakInLocateId ? (byte)1 : (byte)0; - DebugBreakKeyChord = debugBreakKeyChord; - DebugBeginReturnValueCullDepth = debugBeginReturnValueCullDepth; - DebugItemPickerActive = debugItemPickerActive ? (byte)1 : (byte)0; - DebugItemPickerMouseButton = debugItemPickerMouseButton; - DebugItemPickerBreakId = debugItemPickerBreakId; - DebugFlashStyleColorTime = debugFlashStyleColorTime; - DebugFlashStyleColorBackup = debugFlashStyleColorBackup; - DebugMetricsConfig = debugMetricsConfig; - DebugIDStackTool = debugIdStackTool; - DebugAllocInfo = debugAllocInfo; - DebugHoveredDockNode = debugHoveredDockNode; - if (framerateSecPerFrame != default(float*)) - { - FramerateSecPerFrame_0 = framerateSecPerFrame[0]; - FramerateSecPerFrame_1 = framerateSecPerFrame[1]; - FramerateSecPerFrame_2 = framerateSecPerFrame[2]; - FramerateSecPerFrame_3 = framerateSecPerFrame[3]; - FramerateSecPerFrame_4 = framerateSecPerFrame[4]; - FramerateSecPerFrame_5 = framerateSecPerFrame[5]; - FramerateSecPerFrame_6 = framerateSecPerFrame[6]; - FramerateSecPerFrame_7 = framerateSecPerFrame[7]; - FramerateSecPerFrame_8 = framerateSecPerFrame[8]; - FramerateSecPerFrame_9 = framerateSecPerFrame[9]; - FramerateSecPerFrame_10 = framerateSecPerFrame[10]; - FramerateSecPerFrame_11 = framerateSecPerFrame[11]; - FramerateSecPerFrame_12 = framerateSecPerFrame[12]; - FramerateSecPerFrame_13 = framerateSecPerFrame[13]; - FramerateSecPerFrame_14 = framerateSecPerFrame[14]; - FramerateSecPerFrame_15 = framerateSecPerFrame[15]; - FramerateSecPerFrame_16 = framerateSecPerFrame[16]; - FramerateSecPerFrame_17 = framerateSecPerFrame[17]; - FramerateSecPerFrame_18 = framerateSecPerFrame[18]; - FramerateSecPerFrame_19 = framerateSecPerFrame[19]; - FramerateSecPerFrame_20 = framerateSecPerFrame[20]; - FramerateSecPerFrame_21 = framerateSecPerFrame[21]; - FramerateSecPerFrame_22 = framerateSecPerFrame[22]; - FramerateSecPerFrame_23 = framerateSecPerFrame[23]; - FramerateSecPerFrame_24 = framerateSecPerFrame[24]; - FramerateSecPerFrame_25 = framerateSecPerFrame[25]; - FramerateSecPerFrame_26 = framerateSecPerFrame[26]; - FramerateSecPerFrame_27 = framerateSecPerFrame[27]; - FramerateSecPerFrame_28 = framerateSecPerFrame[28]; - FramerateSecPerFrame_29 = framerateSecPerFrame[29]; - FramerateSecPerFrame_30 = framerateSecPerFrame[30]; - FramerateSecPerFrame_31 = framerateSecPerFrame[31]; - FramerateSecPerFrame_32 = framerateSecPerFrame[32]; - FramerateSecPerFrame_33 = framerateSecPerFrame[33]; - FramerateSecPerFrame_34 = framerateSecPerFrame[34]; - FramerateSecPerFrame_35 = framerateSecPerFrame[35]; - FramerateSecPerFrame_36 = framerateSecPerFrame[36]; - FramerateSecPerFrame_37 = framerateSecPerFrame[37]; - FramerateSecPerFrame_38 = framerateSecPerFrame[38]; - FramerateSecPerFrame_39 = framerateSecPerFrame[39]; - FramerateSecPerFrame_40 = framerateSecPerFrame[40]; - FramerateSecPerFrame_41 = framerateSecPerFrame[41]; - FramerateSecPerFrame_42 = framerateSecPerFrame[42]; - FramerateSecPerFrame_43 = framerateSecPerFrame[43]; - FramerateSecPerFrame_44 = framerateSecPerFrame[44]; - FramerateSecPerFrame_45 = framerateSecPerFrame[45]; - FramerateSecPerFrame_46 = framerateSecPerFrame[46]; - FramerateSecPerFrame_47 = framerateSecPerFrame[47]; - FramerateSecPerFrame_48 = framerateSecPerFrame[48]; - FramerateSecPerFrame_49 = framerateSecPerFrame[49]; - FramerateSecPerFrame_50 = framerateSecPerFrame[50]; - FramerateSecPerFrame_51 = framerateSecPerFrame[51]; - FramerateSecPerFrame_52 = framerateSecPerFrame[52]; - FramerateSecPerFrame_53 = framerateSecPerFrame[53]; - FramerateSecPerFrame_54 = framerateSecPerFrame[54]; - FramerateSecPerFrame_55 = framerateSecPerFrame[55]; - FramerateSecPerFrame_56 = framerateSecPerFrame[56]; - FramerateSecPerFrame_57 = framerateSecPerFrame[57]; - FramerateSecPerFrame_58 = framerateSecPerFrame[58]; - FramerateSecPerFrame_59 = framerateSecPerFrame[59]; - } - FramerateSecPerFrameIdx = framerateSecPerFrameIdx; - FramerateSecPerFrameCount = framerateSecPerFrameCount; - FramerateSecPerFrameAccum = framerateSecPerFrameAccum; - WantCaptureMouseNextFrame = wantCaptureMouseNextFrame; - WantCaptureKeyboardNextFrame = wantCaptureKeyboardNextFrame; - WantTextInputNextFrame = wantTextInputNextFrame; - TempBuffer = tempBuffer; - if (tempKeychordName != default(byte*)) - { - TempKeychordName_0 = tempKeychordName[0]; - TempKeychordName_1 = tempKeychordName[1]; - TempKeychordName_2 = tempKeychordName[2]; - TempKeychordName_3 = tempKeychordName[3]; - TempKeychordName_4 = tempKeychordName[4]; - TempKeychordName_5 = tempKeychordName[5]; - TempKeychordName_6 = tempKeychordName[6]; - TempKeychordName_7 = tempKeychordName[7]; - TempKeychordName_8 = tempKeychordName[8]; - TempKeychordName_9 = tempKeychordName[9]; - TempKeychordName_10 = tempKeychordName[10]; - TempKeychordName_11 = tempKeychordName[11]; - TempKeychordName_12 = tempKeychordName[12]; - TempKeychordName_13 = tempKeychordName[13]; - TempKeychordName_14 = tempKeychordName[14]; - TempKeychordName_15 = tempKeychordName[15]; - TempKeychordName_16 = tempKeychordName[16]; - TempKeychordName_17 = tempKeychordName[17]; - TempKeychordName_18 = tempKeychordName[18]; - TempKeychordName_19 = tempKeychordName[19]; - TempKeychordName_20 = tempKeychordName[20]; - TempKeychordName_21 = tempKeychordName[21]; - TempKeychordName_22 = tempKeychordName[22]; - TempKeychordName_23 = tempKeychordName[23]; - TempKeychordName_24 = tempKeychordName[24]; - TempKeychordName_25 = tempKeychordName[25]; - TempKeychordName_26 = tempKeychordName[26]; - TempKeychordName_27 = tempKeychordName[27]; - TempKeychordName_28 = tempKeychordName[28]; - TempKeychordName_29 = tempKeychordName[29]; - TempKeychordName_30 = tempKeychordName[30]; - TempKeychordName_31 = tempKeychordName[31]; - TempKeychordName_32 = tempKeychordName[32]; - TempKeychordName_33 = tempKeychordName[33]; - TempKeychordName_34 = tempKeychordName[34]; - TempKeychordName_35 = tempKeychordName[35]; - TempKeychordName_36 = tempKeychordName[36]; - TempKeychordName_37 = tempKeychordName[37]; - TempKeychordName_38 = tempKeychordName[38]; - TempKeychordName_39 = tempKeychordName[39]; - TempKeychordName_40 = tempKeychordName[40]; - TempKeychordName_41 = tempKeychordName[41]; - TempKeychordName_42 = tempKeychordName[42]; - TempKeychordName_43 = tempKeychordName[43]; - TempKeychordName_44 = tempKeychordName[44]; - TempKeychordName_45 = tempKeychordName[45]; - TempKeychordName_46 = tempKeychordName[46]; - TempKeychordName_47 = tempKeychordName[47]; - TempKeychordName_48 = tempKeychordName[48]; - TempKeychordName_49 = tempKeychordName[49]; - TempKeychordName_50 = tempKeychordName[50]; - TempKeychordName_51 = tempKeychordName[51]; - TempKeychordName_52 = tempKeychordName[52]; - TempKeychordName_53 = tempKeychordName[53]; - TempKeychordName_54 = tempKeychordName[54]; - TempKeychordName_55 = tempKeychordName[55]; - TempKeychordName_56 = tempKeychordName[56]; - TempKeychordName_57 = tempKeychordName[57]; - TempKeychordName_58 = tempKeychordName[58]; - TempKeychordName_59 = tempKeychordName[59]; - TempKeychordName_60 = tempKeychordName[60]; - TempKeychordName_61 = tempKeychordName[61]; - TempKeychordName_62 = tempKeychordName[62]; - TempKeychordName_63 = tempKeychordName[63]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiContext(bool initialized = default, bool fontAtlasOwnedByContext = default, ImGuiIO io = default, ImGuiPlatformIO platformIo = default, ImGuiStyle style = default, ImGuiConfigFlags configFlagsCurrFrame = default, ImGuiConfigFlags configFlagsLastFrame = default, ImFontPtr font = default, float fontSize = default, float fontBaseSize = default, float fontScale = default, float currentDpiScale = default, ImDrawListSharedData drawListSharedData = default, double time = default, int frameCount = default, int frameCountEnded = default, int frameCountPlatformEnded = default, int frameCountRendered = default, uint withinEndChildId = default, bool withinFrameScope = default, bool withinFrameScopeWithImplicitWindow = default, bool gcCompactAll = default, bool testEngineHookItems = default, void* testEngine = default, Span contextName = default, ImVector inputEventsQueue = default, ImVector inputEventsTrail = default, ImGuiMouseSource inputEventsNextMouseSource = default, uint inputEventsNextEventId = default, ImVector windows = default, ImVector windowsFocusOrder = default, ImVector windowsTempSortBuffer = default, ImVector currentWindowStack = default, ImGuiStorage windowsById = default, int windowsActiveCount = default, float windowsBorderHoverPadding = default, uint debugBreakInWindow = default, ImGuiWindow* currentWindow = default, ImGuiWindow* hoveredWindow = default, ImGuiWindow* hoveredWindowUnderMovingWindow = default, ImGuiWindow* hoveredWindowBeforeClear = default, ImGuiWindow* movingWindow = default, ImGuiWindow* wheelingWindow = default, Vector2 wheelingWindowRefMousePos = default, int wheelingWindowStartFrame = default, int wheelingWindowScrolledFrame = default, float wheelingWindowReleaseTimer = default, Vector2 wheelingWindowWheelRemainder = default, Vector2 wheelingAxisAvg = default, uint debugDrawIdConflicts = default, uint debugHookIdInfo = default, uint hoveredId = default, uint hoveredIdPreviousFrame = default, int hoveredIdPreviousFrameItemCount = default, float hoveredIdTimer = default, float hoveredIdNotActiveTimer = default, bool hoveredIdAllowOverlap = default, bool hoveredIdIsDisabled = default, bool itemUnclipByLog = default, uint activeId = default, uint activeIdIsAlive = default, float activeIdTimer = default, bool activeIdIsJustActivated = default, bool activeIdAllowOverlap = default, bool activeIdNoClearOnFocusLoss = default, bool activeIdHasBeenPressedBefore = default, bool activeIdHasBeenEditedBefore = default, bool activeIdHasBeenEditedThisFrame = default, bool activeIdFromShortcut = default, int activeIdMouseButton = default, Vector2 activeIdClickOffset = default, ImGuiWindow* activeIdWindow = default, ImGuiInputSource activeIdSource = default, uint activeIdPreviousFrame = default, ImGuiDeactivatedItemData deactivatedItemData = default, ImGuiDataTypeStorage activeIdValueOnActivation = default, uint lastActiveId = default, float lastActiveIdTimer = default, double lastKeyModsChangeTime = default, double lastKeyModsChangeFromNoneTime = default, double lastKeyboardKeyPressTime = default, nuint keysMayBeCharInput = default, Span keysOwnerData = default, ImGuiKeyRoutingTable keysRoutingTable = default, uint activeIdUsingNavDirMask = default, bool activeIdUsingAllKeyboardKeys = default, int debugBreakInShortcutRouting = default, uint currentFocusScopeId = default, ImGuiItemFlags currentItemFlags = default, uint debugLocateId = default, ImGuiNextItemData nextItemData = default, ImGuiLastItemData lastItemData = default, ImGuiNextWindowData nextWindowData = default, bool debugShowGroupRects = default, ImGuiCol debugFlashStyleColorIdx = default, ImVector colorStack = default, ImVector styleVarStack = default, ImVector fontStack = default, ImVector focusScopeStack = default, ImVector itemFlagsStack = default, ImVector groupStack = default, ImVector openPopupStack = default, ImVector beginPopupStack = default, ImVector treeNodeStack = default, ImVector viewports = default, ImGuiViewportP* currentViewport = default, ImGuiViewportP* mouseViewport = default, ImGuiViewportP* mouseLastHoveredViewport = default, uint platformLastFocusedViewportId = default, ImGuiPlatformMonitor fallbackMonitor = default, ImRect platformMonitorsFullWorkRect = default, int viewportCreatedCount = default, int platformWindowsCreatedCount = default, int viewportFocusedStampCount = default, bool navCursorVisible = default, bool navHighlightItemUnderNav = default, bool navMousePosDirty = default, bool navIdIsAlive = default, uint navId = default, ImGuiWindow* navWindow = default, uint navFocusScopeId = default, ImGuiNavLayer navLayer = default, uint navActivateId = default, uint navActivateDownId = default, uint navActivatePressedId = default, ImGuiActivateFlags navActivateFlags = default, ImVector navFocusRoute = default, uint navHighlightActivatedId = default, float navHighlightActivatedTimer = default, uint navNextActivateId = default, ImGuiActivateFlags navNextActivateFlags = default, ImGuiInputSource navInputSource = default, long navLastValidSelectionUserData = default, byte navCursorHideFrames = default, bool navAnyRequest = default, bool navInitRequest = default, bool navInitRequestFromMove = default, ImGuiNavItemData navInitResult = default, bool navMoveSubmitted = default, bool navMoveScoringItems = default, bool navMoveForwardToNextFrame = default, ImGuiNavMoveFlags navMoveFlags = default, ImGuiScrollFlags navMoveScrollFlags = default, int navMoveKeyMods = default, ImGuiDir navMoveDir = default, ImGuiDir navMoveDirForDebug = default, ImGuiDir navMoveClipDir = default, ImRect navScoringRect = default, ImRect navScoringNoClipRect = default, int navScoringDebugCount = default, int navTabbingDir = default, int navTabbingCounter = default, ImGuiNavItemData navMoveResultLocal = default, ImGuiNavItemData navMoveResultLocalVisible = default, ImGuiNavItemData navMoveResultOther = default, ImGuiNavItemData navTabbingResultFirst = default, uint navJustMovedFromFocusScopeId = default, uint navJustMovedToId = default, uint navJustMovedToFocusScopeId = default, int navJustMovedToKeyMods = default, bool navJustMovedToIsTabbing = default, bool navJustMovedToHasSelectionData = default, int configNavWindowingKeyNext = default, int configNavWindowingKeyPrev = default, ImGuiWindow* navWindowingTarget = default, ImGuiWindow* navWindowingTargetAnim = default, ImGuiWindow* navWindowingListWindow = default, float navWindowingTimer = default, float navWindowingHighlightAlpha = default, bool navWindowingToggleLayer = default, ImGuiKey navWindowingToggleKey = default, Vector2 navWindowingAccumDeltaPos = default, Vector2 navWindowingAccumDeltaSize = default, float dimBgRatio = default, bool dragDropActive = default, bool dragDropWithinSource = default, bool dragDropWithinTarget = default, ImGuiDragDropFlags dragDropSourceFlags = default, int dragDropSourceFrameCount = default, int dragDropMouseButton = default, ImGuiPayload dragDropPayload = default, ImRect dragDropTargetRect = default, ImRect dragDropTargetClipRect = default, uint dragDropTargetId = default, ImGuiDragDropFlags dragDropAcceptFlags = default, float dragDropAcceptIdCurrRectSurface = default, uint dragDropAcceptIdCurr = default, uint dragDropAcceptIdPrev = default, int dragDropAcceptFrameCount = default, uint dragDropHoldJustPressedId = default, ImVector dragDropPayloadBufHeap = default, Span dragDropPayloadBufLocal = default, int clipperTempDataStacked = default, ImVector clipperTempData = default, ImGuiTable* currentTable = default, uint debugBreakInTable = default, int tablesTempDataStacked = default, ImVector tablesTempData = default, ImPoolImGuiTable tables = default, ImVector tablesLastTimeActive = default, ImVector drawChannelsTempMergeBuffer = default, ImGuiTabBar* currentTabBar = default, ImPoolImGuiTabBar tabBars = default, ImVector currentTabBarStack = default, ImVector shrinkWidthBuffer = default, ImGuiBoxSelectState boxSelectState = default, ImGuiMultiSelectTempData* currentMultiSelect = default, int multiSelectTempDataStacked = default, ImVector multiSelectTempData = default, ImPoolImGuiMultiSelectState multiSelectStorage = default, uint hoverItemDelayId = default, uint hoverItemDelayIdPreviousFrame = default, float hoverItemDelayTimer = default, float hoverItemDelayClearTimer = default, uint hoverItemUnlockedStationaryId = default, uint hoverWindowUnlockedStationaryId = default, ImGuiMouseCursor mouseCursor = default, float mouseStationaryTimer = default, Vector2 mouseLastValidPos = default, ImGuiInputTextState inputTextState = default, ImGuiInputTextDeactivatedState inputTextDeactivatedState = default, ImFont inputTextPasswordFont = default, uint tempInputId = default, ImGuiDataTypeStorage dataTypeZeroValue = default, int beginMenuDepth = default, int beginComboDepth = default, ImGuiColorEditFlags colorEditOptions = default, uint colorEditCurrentId = default, uint colorEditSavedId = default, float colorEditSavedHue = default, float colorEditSavedSat = default, uint colorEditSavedColor = default, Vector4 colorPickerRef = default, ImGuiComboPreviewData comboPreviewData = default, ImRect windowResizeBorderExpectedRect = default, bool windowResizeRelativeMode = default, short scrollbarSeekMode = default, float scrollbarClickDeltaToGrabCenter = default, float sliderGrabClickOffset = default, float sliderCurrentAccum = default, bool sliderCurrentAccumDirty = default, bool dragCurrentAccumDirty = default, float dragCurrentAccum = default, float dragSpeedDefaultRatio = default, float disabledAlphaBackup = default, short disabledStackSize = default, short tooltipOverrideCount = default, ImGuiWindow* tooltipPreviousWindow = default, ImVector clipboardHandlerData = default, ImVector menusIdSubmittedThisFrame = default, ImGuiTypingSelectState typingSelectState = default, ImGuiPlatformImeData platformImeData = default, ImGuiPlatformImeData platformImeDataPrev = default, uint platformImeViewport = default, ImGuiDockContext dockContext = default, delegate* dockNodeWindowMenuHandler = default, bool settingsLoaded = default, float settingsDirtyTimer = default, ImGuiTextBuffer settingsIniData = default, ImVector settingsHandlers = default, ImChunkStreamImGuiWindowSettings settingsWindows = default, ImChunkStreamImGuiTableSettings settingsTables = default, ImVector hooks = default, uint hookIdNext = default, Span> localizationTable = default, bool logEnabled = default, ImGuiLogFlags logFlags = default, ImGuiWindow* logWindow = default, ImFileHandle logFile = default, ImGuiTextBuffer logBuffer = default, byte* logNextPrefix = default, byte* logNextSuffix = default, float logLinePosY = default, bool logLineFirstItem = default, int logDepthRef = default, int logDepthToExpand = default, int logDepthToExpandDefault = default, ImGuiErrorCallback errorCallback = default, void* errorCallbackUserData = default, Vector2 errorTooltipLockedPos = default, bool errorFirst = default, int errorCountCurrentFrame = default, ImGuiErrorRecoveryState stackSizesInNewFrame = default, ImGuiErrorRecoveryState* stackSizesInBeginForCurrentWindow = default, int debugDrawIdConflictsCount = default, ImGuiDebugLogFlags debugLogFlags = default, ImGuiTextBuffer debugLogBuf = default, ImGuiTextIndex debugLogIndex = default, int debugLogSkippedErrors = default, ImGuiDebugLogFlags debugLogAutoDisableFlags = default, byte debugLogAutoDisableFrames = default, byte debugLocateFrames = default, bool debugBreakInLocateId = default, int debugBreakKeyChord = default, byte debugBeginReturnValueCullDepth = default, bool debugItemPickerActive = default, byte debugItemPickerMouseButton = default, uint debugItemPickerBreakId = default, float debugFlashStyleColorTime = default, Vector4 debugFlashStyleColorBackup = default, ImGuiMetricsConfig debugMetricsConfig = default, ImGuiIDStackTool debugIdStackTool = default, ImGuiDebugAllocInfo debugAllocInfo = default, ImGuiDockNode* debugHoveredDockNode = default, Span framerateSecPerFrame = default, int framerateSecPerFrameIdx = default, int framerateSecPerFrameCount = default, float framerateSecPerFrameAccum = default, int wantCaptureMouseNextFrame = default, int wantCaptureKeyboardNextFrame = default, int wantTextInputNextFrame = default, ImVector tempBuffer = default, Span tempKeychordName = default) - { - Initialized = initialized ? (byte)1 : (byte)0; - FontAtlasOwnedByContext = fontAtlasOwnedByContext ? (byte)1 : (byte)0; - IO = io; - PlatformIO = platformIo; - Style = style; - ConfigFlagsCurrFrame = configFlagsCurrFrame; - ConfigFlagsLastFrame = configFlagsLastFrame; - Font = font; - FontSize = fontSize; - FontBaseSize = fontBaseSize; - FontScale = fontScale; - CurrentDpiScale = currentDpiScale; - DrawListSharedData = drawListSharedData; - Time = time; - FrameCount = frameCount; - FrameCountEnded = frameCountEnded; - FrameCountPlatformEnded = frameCountPlatformEnded; - FrameCountRendered = frameCountRendered; - WithinEndChildID = withinEndChildId; - WithinFrameScope = withinFrameScope ? (byte)1 : (byte)0; - WithinFrameScopeWithImplicitWindow = withinFrameScopeWithImplicitWindow ? (byte)1 : (byte)0; - GcCompactAll = gcCompactAll ? (byte)1 : (byte)0; - TestEngineHookItems = testEngineHookItems ? (byte)1 : (byte)0; - TestEngine = testEngine; - if (contextName != default(Span)) - { - ContextName_0 = contextName[0]; - ContextName_1 = contextName[1]; - ContextName_2 = contextName[2]; - ContextName_3 = contextName[3]; - ContextName_4 = contextName[4]; - ContextName_5 = contextName[5]; - ContextName_6 = contextName[6]; - ContextName_7 = contextName[7]; - ContextName_8 = contextName[8]; - ContextName_9 = contextName[9]; - ContextName_10 = contextName[10]; - ContextName_11 = contextName[11]; - ContextName_12 = contextName[12]; - ContextName_13 = contextName[13]; - ContextName_14 = contextName[14]; - ContextName_15 = contextName[15]; - } - InputEventsQueue = inputEventsQueue; - InputEventsTrail = inputEventsTrail; - InputEventsNextMouseSource = inputEventsNextMouseSource; - InputEventsNextEventId = inputEventsNextEventId; - Windows = windows; - WindowsFocusOrder = windowsFocusOrder; - WindowsTempSortBuffer = windowsTempSortBuffer; - CurrentWindowStack = currentWindowStack; - WindowsById = windowsById; - WindowsActiveCount = windowsActiveCount; - WindowsBorderHoverPadding = windowsBorderHoverPadding; - DebugBreakInWindow = debugBreakInWindow; - CurrentWindow = currentWindow; - HoveredWindow = hoveredWindow; - HoveredWindowUnderMovingWindow = hoveredWindowUnderMovingWindow; - HoveredWindowBeforeClear = hoveredWindowBeforeClear; - MovingWindow = movingWindow; - WheelingWindow = wheelingWindow; - WheelingWindowRefMousePos = wheelingWindowRefMousePos; - WheelingWindowStartFrame = wheelingWindowStartFrame; - WheelingWindowScrolledFrame = wheelingWindowScrolledFrame; - WheelingWindowReleaseTimer = wheelingWindowReleaseTimer; - WheelingWindowWheelRemainder = wheelingWindowWheelRemainder; - WheelingAxisAvg = wheelingAxisAvg; - DebugDrawIdConflicts = debugDrawIdConflicts; - DebugHookIdInfo = debugHookIdInfo; - HoveredId = hoveredId; - HoveredIdPreviousFrame = hoveredIdPreviousFrame; - HoveredIdPreviousFrameItemCount = hoveredIdPreviousFrameItemCount; - HoveredIdTimer = hoveredIdTimer; - HoveredIdNotActiveTimer = hoveredIdNotActiveTimer; - HoveredIdAllowOverlap = hoveredIdAllowOverlap ? (byte)1 : (byte)0; - HoveredIdIsDisabled = hoveredIdIsDisabled ? (byte)1 : (byte)0; - ItemUnclipByLog = itemUnclipByLog ? (byte)1 : (byte)0; - ActiveId = activeId; - ActiveIdIsAlive = activeIdIsAlive; - ActiveIdTimer = activeIdTimer; - ActiveIdIsJustActivated = activeIdIsJustActivated ? (byte)1 : (byte)0; - ActiveIdAllowOverlap = activeIdAllowOverlap ? (byte)1 : (byte)0; - ActiveIdNoClearOnFocusLoss = activeIdNoClearOnFocusLoss ? (byte)1 : (byte)0; - ActiveIdHasBeenPressedBefore = activeIdHasBeenPressedBefore ? (byte)1 : (byte)0; - ActiveIdHasBeenEditedBefore = activeIdHasBeenEditedBefore ? (byte)1 : (byte)0; - ActiveIdHasBeenEditedThisFrame = activeIdHasBeenEditedThisFrame ? (byte)1 : (byte)0; - ActiveIdFromShortcut = activeIdFromShortcut ? (byte)1 : (byte)0; - ActiveIdMouseButton = activeIdMouseButton; - ActiveIdClickOffset = activeIdClickOffset; - ActiveIdWindow = activeIdWindow; - ActiveIdSource = activeIdSource; - ActiveIdPreviousFrame = activeIdPreviousFrame; - DeactivatedItemData = deactivatedItemData; - ActiveIdValueOnActivation = activeIdValueOnActivation; - LastActiveId = lastActiveId; - LastActiveIdTimer = lastActiveIdTimer; - LastKeyModsChangeTime = lastKeyModsChangeTime; - LastKeyModsChangeFromNoneTime = lastKeyModsChangeFromNoneTime; - LastKeyboardKeyPressTime = lastKeyboardKeyPressTime; - KeysMayBeCharInput = keysMayBeCharInput; - if (keysOwnerData != default(Span)) - { - KeysOwnerData_0 = keysOwnerData[0]; - KeysOwnerData_1 = keysOwnerData[1]; - KeysOwnerData_2 = keysOwnerData[2]; - KeysOwnerData_3 = keysOwnerData[3]; - KeysOwnerData_4 = keysOwnerData[4]; - KeysOwnerData_5 = keysOwnerData[5]; - KeysOwnerData_6 = keysOwnerData[6]; - KeysOwnerData_7 = keysOwnerData[7]; - KeysOwnerData_8 = keysOwnerData[8]; - KeysOwnerData_9 = keysOwnerData[9]; - KeysOwnerData_10 = keysOwnerData[10]; - KeysOwnerData_11 = keysOwnerData[11]; - KeysOwnerData_12 = keysOwnerData[12]; - KeysOwnerData_13 = keysOwnerData[13]; - KeysOwnerData_14 = keysOwnerData[14]; - KeysOwnerData_15 = keysOwnerData[15]; - KeysOwnerData_16 = keysOwnerData[16]; - KeysOwnerData_17 = keysOwnerData[17]; - KeysOwnerData_18 = keysOwnerData[18]; - KeysOwnerData_19 = keysOwnerData[19]; - KeysOwnerData_20 = keysOwnerData[20]; - KeysOwnerData_21 = keysOwnerData[21]; - KeysOwnerData_22 = keysOwnerData[22]; - KeysOwnerData_23 = keysOwnerData[23]; - KeysOwnerData_24 = keysOwnerData[24]; - KeysOwnerData_25 = keysOwnerData[25]; - KeysOwnerData_26 = keysOwnerData[26]; - KeysOwnerData_27 = keysOwnerData[27]; - KeysOwnerData_28 = keysOwnerData[28]; - KeysOwnerData_29 = keysOwnerData[29]; - KeysOwnerData_30 = keysOwnerData[30]; - KeysOwnerData_31 = keysOwnerData[31]; - KeysOwnerData_32 = keysOwnerData[32]; - KeysOwnerData_33 = keysOwnerData[33]; - KeysOwnerData_34 = keysOwnerData[34]; - KeysOwnerData_35 = keysOwnerData[35]; - KeysOwnerData_36 = keysOwnerData[36]; - KeysOwnerData_37 = keysOwnerData[37]; - KeysOwnerData_38 = keysOwnerData[38]; - KeysOwnerData_39 = keysOwnerData[39]; - KeysOwnerData_40 = keysOwnerData[40]; - KeysOwnerData_41 = keysOwnerData[41]; - KeysOwnerData_42 = keysOwnerData[42]; - KeysOwnerData_43 = keysOwnerData[43]; - KeysOwnerData_44 = keysOwnerData[44]; - KeysOwnerData_45 = keysOwnerData[45]; - KeysOwnerData_46 = keysOwnerData[46]; - KeysOwnerData_47 = keysOwnerData[47]; - KeysOwnerData_48 = keysOwnerData[48]; - KeysOwnerData_49 = keysOwnerData[49]; - KeysOwnerData_50 = keysOwnerData[50]; - KeysOwnerData_51 = keysOwnerData[51]; - KeysOwnerData_52 = keysOwnerData[52]; - KeysOwnerData_53 = keysOwnerData[53]; - KeysOwnerData_54 = keysOwnerData[54]; - KeysOwnerData_55 = keysOwnerData[55]; - KeysOwnerData_56 = keysOwnerData[56]; - KeysOwnerData_57 = keysOwnerData[57]; - KeysOwnerData_58 = keysOwnerData[58]; - KeysOwnerData_59 = keysOwnerData[59]; - KeysOwnerData_60 = keysOwnerData[60]; - KeysOwnerData_61 = keysOwnerData[61]; - KeysOwnerData_62 = keysOwnerData[62]; - KeysOwnerData_63 = keysOwnerData[63]; - KeysOwnerData_64 = keysOwnerData[64]; - KeysOwnerData_65 = keysOwnerData[65]; - KeysOwnerData_66 = keysOwnerData[66]; - KeysOwnerData_67 = keysOwnerData[67]; - KeysOwnerData_68 = keysOwnerData[68]; - KeysOwnerData_69 = keysOwnerData[69]; - KeysOwnerData_70 = keysOwnerData[70]; - KeysOwnerData_71 = keysOwnerData[71]; - KeysOwnerData_72 = keysOwnerData[72]; - KeysOwnerData_73 = keysOwnerData[73]; - KeysOwnerData_74 = keysOwnerData[74]; - KeysOwnerData_75 = keysOwnerData[75]; - KeysOwnerData_76 = keysOwnerData[76]; - KeysOwnerData_77 = keysOwnerData[77]; - KeysOwnerData_78 = keysOwnerData[78]; - KeysOwnerData_79 = keysOwnerData[79]; - KeysOwnerData_80 = keysOwnerData[80]; - KeysOwnerData_81 = keysOwnerData[81]; - KeysOwnerData_82 = keysOwnerData[82]; - KeysOwnerData_83 = keysOwnerData[83]; - KeysOwnerData_84 = keysOwnerData[84]; - KeysOwnerData_85 = keysOwnerData[85]; - KeysOwnerData_86 = keysOwnerData[86]; - KeysOwnerData_87 = keysOwnerData[87]; - KeysOwnerData_88 = keysOwnerData[88]; - KeysOwnerData_89 = keysOwnerData[89]; - KeysOwnerData_90 = keysOwnerData[90]; - KeysOwnerData_91 = keysOwnerData[91]; - KeysOwnerData_92 = keysOwnerData[92]; - KeysOwnerData_93 = keysOwnerData[93]; - KeysOwnerData_94 = keysOwnerData[94]; - KeysOwnerData_95 = keysOwnerData[95]; - KeysOwnerData_96 = keysOwnerData[96]; - KeysOwnerData_97 = keysOwnerData[97]; - KeysOwnerData_98 = keysOwnerData[98]; - KeysOwnerData_99 = keysOwnerData[99]; - KeysOwnerData_100 = keysOwnerData[100]; - KeysOwnerData_101 = keysOwnerData[101]; - KeysOwnerData_102 = keysOwnerData[102]; - KeysOwnerData_103 = keysOwnerData[103]; - KeysOwnerData_104 = keysOwnerData[104]; - KeysOwnerData_105 = keysOwnerData[105]; - KeysOwnerData_106 = keysOwnerData[106]; - KeysOwnerData_107 = keysOwnerData[107]; - KeysOwnerData_108 = keysOwnerData[108]; - KeysOwnerData_109 = keysOwnerData[109]; - KeysOwnerData_110 = keysOwnerData[110]; - KeysOwnerData_111 = keysOwnerData[111]; - KeysOwnerData_112 = keysOwnerData[112]; - KeysOwnerData_113 = keysOwnerData[113]; - KeysOwnerData_114 = keysOwnerData[114]; - KeysOwnerData_115 = keysOwnerData[115]; - KeysOwnerData_116 = keysOwnerData[116]; - KeysOwnerData_117 = keysOwnerData[117]; - KeysOwnerData_118 = keysOwnerData[118]; - KeysOwnerData_119 = keysOwnerData[119]; - KeysOwnerData_120 = keysOwnerData[120]; - KeysOwnerData_121 = keysOwnerData[121]; - KeysOwnerData_122 = keysOwnerData[122]; - KeysOwnerData_123 = keysOwnerData[123]; - KeysOwnerData_124 = keysOwnerData[124]; - KeysOwnerData_125 = keysOwnerData[125]; - KeysOwnerData_126 = keysOwnerData[126]; - KeysOwnerData_127 = keysOwnerData[127]; - KeysOwnerData_128 = keysOwnerData[128]; - KeysOwnerData_129 = keysOwnerData[129]; - KeysOwnerData_130 = keysOwnerData[130]; - KeysOwnerData_131 = keysOwnerData[131]; - KeysOwnerData_132 = keysOwnerData[132]; - KeysOwnerData_133 = keysOwnerData[133]; - KeysOwnerData_134 = keysOwnerData[134]; - KeysOwnerData_135 = keysOwnerData[135]; - KeysOwnerData_136 = keysOwnerData[136]; - KeysOwnerData_137 = keysOwnerData[137]; - KeysOwnerData_138 = keysOwnerData[138]; - KeysOwnerData_139 = keysOwnerData[139]; - KeysOwnerData_140 = keysOwnerData[140]; - KeysOwnerData_141 = keysOwnerData[141]; - KeysOwnerData_142 = keysOwnerData[142]; - KeysOwnerData_143 = keysOwnerData[143]; - KeysOwnerData_144 = keysOwnerData[144]; - KeysOwnerData_145 = keysOwnerData[145]; - KeysOwnerData_146 = keysOwnerData[146]; - KeysOwnerData_147 = keysOwnerData[147]; - KeysOwnerData_148 = keysOwnerData[148]; - KeysOwnerData_149 = keysOwnerData[149]; - KeysOwnerData_150 = keysOwnerData[150]; - KeysOwnerData_151 = keysOwnerData[151]; - KeysOwnerData_152 = keysOwnerData[152]; - KeysOwnerData_153 = keysOwnerData[153]; - KeysOwnerData_154 = keysOwnerData[154]; - } - KeysRoutingTable = keysRoutingTable; - ActiveIdUsingNavDirMask = activeIdUsingNavDirMask; - ActiveIdUsingAllKeyboardKeys = activeIdUsingAllKeyboardKeys ? (byte)1 : (byte)0; - DebugBreakInShortcutRouting = debugBreakInShortcutRouting; - CurrentFocusScopeId = currentFocusScopeId; - CurrentItemFlags = currentItemFlags; - DebugLocateId = debugLocateId; - NextItemData = nextItemData; - LastItemData = lastItemData; - NextWindowData = nextWindowData; - DebugShowGroupRects = debugShowGroupRects ? (byte)1 : (byte)0; - DebugFlashStyleColorIdx = debugFlashStyleColorIdx; - ColorStack = colorStack; - StyleVarStack = styleVarStack; - FontStack = fontStack; - FocusScopeStack = focusScopeStack; - ItemFlagsStack = itemFlagsStack; - GroupStack = groupStack; - OpenPopupStack = openPopupStack; - BeginPopupStack = beginPopupStack; - TreeNodeStack = treeNodeStack; - Viewports = viewports; - CurrentViewport = currentViewport; - MouseViewport = mouseViewport; - MouseLastHoveredViewport = mouseLastHoveredViewport; - PlatformLastFocusedViewportId = platformLastFocusedViewportId; - FallbackMonitor = fallbackMonitor; - PlatformMonitorsFullWorkRect = platformMonitorsFullWorkRect; - ViewportCreatedCount = viewportCreatedCount; - PlatformWindowsCreatedCount = platformWindowsCreatedCount; - ViewportFocusedStampCount = viewportFocusedStampCount; - NavCursorVisible = navCursorVisible ? (byte)1 : (byte)0; - NavHighlightItemUnderNav = navHighlightItemUnderNav ? (byte)1 : (byte)0; - NavMousePosDirty = navMousePosDirty ? (byte)1 : (byte)0; - NavIdIsAlive = navIdIsAlive ? (byte)1 : (byte)0; - NavId = navId; - NavWindow = navWindow; - NavFocusScopeId = navFocusScopeId; - NavLayer = navLayer; - NavActivateId = navActivateId; - NavActivateDownId = navActivateDownId; - NavActivatePressedId = navActivatePressedId; - NavActivateFlags = navActivateFlags; - NavFocusRoute = navFocusRoute; - NavHighlightActivatedId = navHighlightActivatedId; - NavHighlightActivatedTimer = navHighlightActivatedTimer; - NavNextActivateId = navNextActivateId; - NavNextActivateFlags = navNextActivateFlags; - NavInputSource = navInputSource; - NavLastValidSelectionUserData = navLastValidSelectionUserData; - NavCursorHideFrames = navCursorHideFrames; - NavAnyRequest = navAnyRequest ? (byte)1 : (byte)0; - NavInitRequest = navInitRequest ? (byte)1 : (byte)0; - NavInitRequestFromMove = navInitRequestFromMove ? (byte)1 : (byte)0; - NavInitResult = navInitResult; - NavMoveSubmitted = navMoveSubmitted ? (byte)1 : (byte)0; - NavMoveScoringItems = navMoveScoringItems ? (byte)1 : (byte)0; - NavMoveForwardToNextFrame = navMoveForwardToNextFrame ? (byte)1 : (byte)0; - NavMoveFlags = navMoveFlags; - NavMoveScrollFlags = navMoveScrollFlags; - NavMoveKeyMods = navMoveKeyMods; - NavMoveDir = navMoveDir; - NavMoveDirForDebug = navMoveDirForDebug; - NavMoveClipDir = navMoveClipDir; - NavScoringRect = navScoringRect; - NavScoringNoClipRect = navScoringNoClipRect; - NavScoringDebugCount = navScoringDebugCount; - NavTabbingDir = navTabbingDir; - NavTabbingCounter = navTabbingCounter; - NavMoveResultLocal = navMoveResultLocal; - NavMoveResultLocalVisible = navMoveResultLocalVisible; - NavMoveResultOther = navMoveResultOther; - NavTabbingResultFirst = navTabbingResultFirst; - NavJustMovedFromFocusScopeId = navJustMovedFromFocusScopeId; - NavJustMovedToId = navJustMovedToId; - NavJustMovedToFocusScopeId = navJustMovedToFocusScopeId; - NavJustMovedToKeyMods = navJustMovedToKeyMods; - NavJustMovedToIsTabbing = navJustMovedToIsTabbing ? (byte)1 : (byte)0; - NavJustMovedToHasSelectionData = navJustMovedToHasSelectionData ? (byte)1 : (byte)0; - ConfigNavWindowingKeyNext = configNavWindowingKeyNext; - ConfigNavWindowingKeyPrev = configNavWindowingKeyPrev; - NavWindowingTarget = navWindowingTarget; - NavWindowingTargetAnim = navWindowingTargetAnim; - NavWindowingListWindow = navWindowingListWindow; - NavWindowingTimer = navWindowingTimer; - NavWindowingHighlightAlpha = navWindowingHighlightAlpha; - NavWindowingToggleLayer = navWindowingToggleLayer ? (byte)1 : (byte)0; - NavWindowingToggleKey = navWindowingToggleKey; - NavWindowingAccumDeltaPos = navWindowingAccumDeltaPos; - NavWindowingAccumDeltaSize = navWindowingAccumDeltaSize; - DimBgRatio = dimBgRatio; - DragDropActive = dragDropActive ? (byte)1 : (byte)0; - DragDropWithinSource = dragDropWithinSource ? (byte)1 : (byte)0; - DragDropWithinTarget = dragDropWithinTarget ? (byte)1 : (byte)0; - DragDropSourceFlags = dragDropSourceFlags; - DragDropSourceFrameCount = dragDropSourceFrameCount; - DragDropMouseButton = dragDropMouseButton; - DragDropPayload = dragDropPayload; - DragDropTargetRect = dragDropTargetRect; - DragDropTargetClipRect = dragDropTargetClipRect; - DragDropTargetId = dragDropTargetId; - DragDropAcceptFlags = dragDropAcceptFlags; - DragDropAcceptIdCurrRectSurface = dragDropAcceptIdCurrRectSurface; - DragDropAcceptIdCurr = dragDropAcceptIdCurr; - DragDropAcceptIdPrev = dragDropAcceptIdPrev; - DragDropAcceptFrameCount = dragDropAcceptFrameCount; - DragDropHoldJustPressedId = dragDropHoldJustPressedId; - DragDropPayloadBufHeap = dragDropPayloadBufHeap; - if (dragDropPayloadBufLocal != default(Span)) - { - DragDropPayloadBufLocal_0 = dragDropPayloadBufLocal[0]; - DragDropPayloadBufLocal_1 = dragDropPayloadBufLocal[1]; - DragDropPayloadBufLocal_2 = dragDropPayloadBufLocal[2]; - DragDropPayloadBufLocal_3 = dragDropPayloadBufLocal[3]; - DragDropPayloadBufLocal_4 = dragDropPayloadBufLocal[4]; - DragDropPayloadBufLocal_5 = dragDropPayloadBufLocal[5]; - DragDropPayloadBufLocal_6 = dragDropPayloadBufLocal[6]; - DragDropPayloadBufLocal_7 = dragDropPayloadBufLocal[7]; - DragDropPayloadBufLocal_8 = dragDropPayloadBufLocal[8]; - DragDropPayloadBufLocal_9 = dragDropPayloadBufLocal[9]; - DragDropPayloadBufLocal_10 = dragDropPayloadBufLocal[10]; - DragDropPayloadBufLocal_11 = dragDropPayloadBufLocal[11]; - DragDropPayloadBufLocal_12 = dragDropPayloadBufLocal[12]; - DragDropPayloadBufLocal_13 = dragDropPayloadBufLocal[13]; - DragDropPayloadBufLocal_14 = dragDropPayloadBufLocal[14]; - DragDropPayloadBufLocal_15 = dragDropPayloadBufLocal[15]; - } - ClipperTempDataStacked = clipperTempDataStacked; - ClipperTempData = clipperTempData; - CurrentTable = currentTable; - DebugBreakInTable = debugBreakInTable; - TablesTempDataStacked = tablesTempDataStacked; - TablesTempData = tablesTempData; - Tables = tables; - TablesLastTimeActive = tablesLastTimeActive; - DrawChannelsTempMergeBuffer = drawChannelsTempMergeBuffer; - CurrentTabBar = currentTabBar; - TabBars = tabBars; - CurrentTabBarStack = currentTabBarStack; - ShrinkWidthBuffer = shrinkWidthBuffer; - BoxSelectState = boxSelectState; - CurrentMultiSelect = currentMultiSelect; - MultiSelectTempDataStacked = multiSelectTempDataStacked; - MultiSelectTempData = multiSelectTempData; - MultiSelectStorage = multiSelectStorage; - HoverItemDelayId = hoverItemDelayId; - HoverItemDelayIdPreviousFrame = hoverItemDelayIdPreviousFrame; - HoverItemDelayTimer = hoverItemDelayTimer; - HoverItemDelayClearTimer = hoverItemDelayClearTimer; - HoverItemUnlockedStationaryId = hoverItemUnlockedStationaryId; - HoverWindowUnlockedStationaryId = hoverWindowUnlockedStationaryId; - MouseCursor = mouseCursor; - MouseStationaryTimer = mouseStationaryTimer; - MouseLastValidPos = mouseLastValidPos; - InputTextState = inputTextState; - InputTextDeactivatedState = inputTextDeactivatedState; - InputTextPasswordFont = inputTextPasswordFont; - TempInputId = tempInputId; - DataTypeZeroValue = dataTypeZeroValue; - BeginMenuDepth = beginMenuDepth; - BeginComboDepth = beginComboDepth; - ColorEditOptions = colorEditOptions; - ColorEditCurrentID = colorEditCurrentId; - ColorEditSavedID = colorEditSavedId; - ColorEditSavedHue = colorEditSavedHue; - ColorEditSavedSat = colorEditSavedSat; - ColorEditSavedColor = colorEditSavedColor; - ColorPickerRef = colorPickerRef; - ComboPreviewData = comboPreviewData; - WindowResizeBorderExpectedRect = windowResizeBorderExpectedRect; - WindowResizeRelativeMode = windowResizeRelativeMode ? (byte)1 : (byte)0; - ScrollbarSeekMode = scrollbarSeekMode; - ScrollbarClickDeltaToGrabCenter = scrollbarClickDeltaToGrabCenter; - SliderGrabClickOffset = sliderGrabClickOffset; - SliderCurrentAccum = sliderCurrentAccum; - SliderCurrentAccumDirty = sliderCurrentAccumDirty ? (byte)1 : (byte)0; - DragCurrentAccumDirty = dragCurrentAccumDirty ? (byte)1 : (byte)0; - DragCurrentAccum = dragCurrentAccum; - DragSpeedDefaultRatio = dragSpeedDefaultRatio; - DisabledAlphaBackup = disabledAlphaBackup; - DisabledStackSize = disabledStackSize; - TooltipOverrideCount = tooltipOverrideCount; - TooltipPreviousWindow = tooltipPreviousWindow; - ClipboardHandlerData = clipboardHandlerData; - MenusIdSubmittedThisFrame = menusIdSubmittedThisFrame; - TypingSelectState = typingSelectState; - PlatformImeData = platformImeData; - PlatformImeDataPrev = platformImeDataPrev; - PlatformImeViewport = platformImeViewport; - DockContext = dockContext; - DockNodeWindowMenuHandler = (void*)dockNodeWindowMenuHandler; - SettingsLoaded = settingsLoaded ? (byte)1 : (byte)0; - SettingsDirtyTimer = settingsDirtyTimer; - SettingsIniData = settingsIniData; - SettingsHandlers = settingsHandlers; - SettingsWindows = settingsWindows; - SettingsTables = settingsTables; - Hooks = hooks; - HookIdNext = hookIdNext; - if (localizationTable != default(Span>)) - { - LocalizationTable_0 = localizationTable[0]; - LocalizationTable_1 = localizationTable[1]; - LocalizationTable_2 = localizationTable[2]; - LocalizationTable_3 = localizationTable[3]; - LocalizationTable_4 = localizationTable[4]; - LocalizationTable_5 = localizationTable[5]; - LocalizationTable_6 = localizationTable[6]; - LocalizationTable_7 = localizationTable[7]; - LocalizationTable_8 = localizationTable[8]; - LocalizationTable_9 = localizationTable[9]; - LocalizationTable_10 = localizationTable[10]; - LocalizationTable_11 = localizationTable[11]; - LocalizationTable_12 = localizationTable[12]; - } - LogEnabled = logEnabled ? (byte)1 : (byte)0; - LogFlags = logFlags; - LogWindow = logWindow; - LogFile = logFile; - LogBuffer = logBuffer; - LogNextPrefix = logNextPrefix; - LogNextSuffix = logNextSuffix; - LogLinePosY = logLinePosY; - LogLineFirstItem = logLineFirstItem ? (byte)1 : (byte)0; - LogDepthRef = logDepthRef; - LogDepthToExpand = logDepthToExpand; - LogDepthToExpandDefault = logDepthToExpandDefault; - ErrorCallback = (void*)Marshal.GetFunctionPointerForDelegate(errorCallback); - ErrorCallbackUserData = errorCallbackUserData; - ErrorTooltipLockedPos = errorTooltipLockedPos; - ErrorFirst = errorFirst ? (byte)1 : (byte)0; - ErrorCountCurrentFrame = errorCountCurrentFrame; - StackSizesInNewFrame = stackSizesInNewFrame; - StackSizesInBeginForCurrentWindow = stackSizesInBeginForCurrentWindow; - DebugDrawIdConflictsCount = debugDrawIdConflictsCount; - DebugLogFlags = debugLogFlags; - DebugLogBuf = debugLogBuf; - DebugLogIndex = debugLogIndex; - DebugLogSkippedErrors = debugLogSkippedErrors; - DebugLogAutoDisableFlags = debugLogAutoDisableFlags; - DebugLogAutoDisableFrames = debugLogAutoDisableFrames; - DebugLocateFrames = debugLocateFrames; - DebugBreakInLocateId = debugBreakInLocateId ? (byte)1 : (byte)0; - DebugBreakKeyChord = debugBreakKeyChord; - DebugBeginReturnValueCullDepth = debugBeginReturnValueCullDepth; - DebugItemPickerActive = debugItemPickerActive ? (byte)1 : (byte)0; - DebugItemPickerMouseButton = debugItemPickerMouseButton; - DebugItemPickerBreakId = debugItemPickerBreakId; - DebugFlashStyleColorTime = debugFlashStyleColorTime; - DebugFlashStyleColorBackup = debugFlashStyleColorBackup; - DebugMetricsConfig = debugMetricsConfig; - DebugIDStackTool = debugIdStackTool; - DebugAllocInfo = debugAllocInfo; - DebugHoveredDockNode = debugHoveredDockNode; - if (framerateSecPerFrame != default(Span)) - { - FramerateSecPerFrame_0 = framerateSecPerFrame[0]; - FramerateSecPerFrame_1 = framerateSecPerFrame[1]; - FramerateSecPerFrame_2 = framerateSecPerFrame[2]; - FramerateSecPerFrame_3 = framerateSecPerFrame[3]; - FramerateSecPerFrame_4 = framerateSecPerFrame[4]; - FramerateSecPerFrame_5 = framerateSecPerFrame[5]; - FramerateSecPerFrame_6 = framerateSecPerFrame[6]; - FramerateSecPerFrame_7 = framerateSecPerFrame[7]; - FramerateSecPerFrame_8 = framerateSecPerFrame[8]; - FramerateSecPerFrame_9 = framerateSecPerFrame[9]; - FramerateSecPerFrame_10 = framerateSecPerFrame[10]; - FramerateSecPerFrame_11 = framerateSecPerFrame[11]; - FramerateSecPerFrame_12 = framerateSecPerFrame[12]; - FramerateSecPerFrame_13 = framerateSecPerFrame[13]; - FramerateSecPerFrame_14 = framerateSecPerFrame[14]; - FramerateSecPerFrame_15 = framerateSecPerFrame[15]; - FramerateSecPerFrame_16 = framerateSecPerFrame[16]; - FramerateSecPerFrame_17 = framerateSecPerFrame[17]; - FramerateSecPerFrame_18 = framerateSecPerFrame[18]; - FramerateSecPerFrame_19 = framerateSecPerFrame[19]; - FramerateSecPerFrame_20 = framerateSecPerFrame[20]; - FramerateSecPerFrame_21 = framerateSecPerFrame[21]; - FramerateSecPerFrame_22 = framerateSecPerFrame[22]; - FramerateSecPerFrame_23 = framerateSecPerFrame[23]; - FramerateSecPerFrame_24 = framerateSecPerFrame[24]; - FramerateSecPerFrame_25 = framerateSecPerFrame[25]; - FramerateSecPerFrame_26 = framerateSecPerFrame[26]; - FramerateSecPerFrame_27 = framerateSecPerFrame[27]; - FramerateSecPerFrame_28 = framerateSecPerFrame[28]; - FramerateSecPerFrame_29 = framerateSecPerFrame[29]; - FramerateSecPerFrame_30 = framerateSecPerFrame[30]; - FramerateSecPerFrame_31 = framerateSecPerFrame[31]; - FramerateSecPerFrame_32 = framerateSecPerFrame[32]; - FramerateSecPerFrame_33 = framerateSecPerFrame[33]; - FramerateSecPerFrame_34 = framerateSecPerFrame[34]; - FramerateSecPerFrame_35 = framerateSecPerFrame[35]; - FramerateSecPerFrame_36 = framerateSecPerFrame[36]; - FramerateSecPerFrame_37 = framerateSecPerFrame[37]; - FramerateSecPerFrame_38 = framerateSecPerFrame[38]; - FramerateSecPerFrame_39 = framerateSecPerFrame[39]; - FramerateSecPerFrame_40 = framerateSecPerFrame[40]; - FramerateSecPerFrame_41 = framerateSecPerFrame[41]; - FramerateSecPerFrame_42 = framerateSecPerFrame[42]; - FramerateSecPerFrame_43 = framerateSecPerFrame[43]; - FramerateSecPerFrame_44 = framerateSecPerFrame[44]; - FramerateSecPerFrame_45 = framerateSecPerFrame[45]; - FramerateSecPerFrame_46 = framerateSecPerFrame[46]; - FramerateSecPerFrame_47 = framerateSecPerFrame[47]; - FramerateSecPerFrame_48 = framerateSecPerFrame[48]; - FramerateSecPerFrame_49 = framerateSecPerFrame[49]; - FramerateSecPerFrame_50 = framerateSecPerFrame[50]; - FramerateSecPerFrame_51 = framerateSecPerFrame[51]; - FramerateSecPerFrame_52 = framerateSecPerFrame[52]; - FramerateSecPerFrame_53 = framerateSecPerFrame[53]; - FramerateSecPerFrame_54 = framerateSecPerFrame[54]; - FramerateSecPerFrame_55 = framerateSecPerFrame[55]; - FramerateSecPerFrame_56 = framerateSecPerFrame[56]; - FramerateSecPerFrame_57 = framerateSecPerFrame[57]; - FramerateSecPerFrame_58 = framerateSecPerFrame[58]; - FramerateSecPerFrame_59 = framerateSecPerFrame[59]; - } - FramerateSecPerFrameIdx = framerateSecPerFrameIdx; - FramerateSecPerFrameCount = framerateSecPerFrameCount; - FramerateSecPerFrameAccum = framerateSecPerFrameAccum; - WantCaptureMouseNextFrame = wantCaptureMouseNextFrame; - WantCaptureKeyboardNextFrame = wantCaptureKeyboardNextFrame; - WantTextInputNextFrame = wantTextInputNextFrame; - TempBuffer = tempBuffer; - if (tempKeychordName != default(Span)) - { - TempKeychordName_0 = tempKeychordName[0]; - TempKeychordName_1 = tempKeychordName[1]; - TempKeychordName_2 = tempKeychordName[2]; - TempKeychordName_3 = tempKeychordName[3]; - TempKeychordName_4 = tempKeychordName[4]; - TempKeychordName_5 = tempKeychordName[5]; - TempKeychordName_6 = tempKeychordName[6]; - TempKeychordName_7 = tempKeychordName[7]; - TempKeychordName_8 = tempKeychordName[8]; - TempKeychordName_9 = tempKeychordName[9]; - TempKeychordName_10 = tempKeychordName[10]; - TempKeychordName_11 = tempKeychordName[11]; - TempKeychordName_12 = tempKeychordName[12]; - TempKeychordName_13 = tempKeychordName[13]; - TempKeychordName_14 = tempKeychordName[14]; - TempKeychordName_15 = tempKeychordName[15]; - TempKeychordName_16 = tempKeychordName[16]; - TempKeychordName_17 = tempKeychordName[17]; - TempKeychordName_18 = tempKeychordName[18]; - TempKeychordName_19 = tempKeychordName[19]; - TempKeychordName_20 = tempKeychordName[20]; - TempKeychordName_21 = tempKeychordName[21]; - TempKeychordName_22 = tempKeychordName[22]; - TempKeychordName_23 = tempKeychordName[23]; - TempKeychordName_24 = tempKeychordName[24]; - TempKeychordName_25 = tempKeychordName[25]; - TempKeychordName_26 = tempKeychordName[26]; - TempKeychordName_27 = tempKeychordName[27]; - TempKeychordName_28 = tempKeychordName[28]; - TempKeychordName_29 = tempKeychordName[29]; - TempKeychordName_30 = tempKeychordName[30]; - TempKeychordName_31 = tempKeychordName[31]; - TempKeychordName_32 = tempKeychordName[32]; - TempKeychordName_33 = tempKeychordName[33]; - TempKeychordName_34 = tempKeychordName[34]; - TempKeychordName_35 = tempKeychordName[35]; - TempKeychordName_36 = tempKeychordName[36]; - TempKeychordName_37 = tempKeychordName[37]; - TempKeychordName_38 = tempKeychordName[38]; - TempKeychordName_39 = tempKeychordName[39]; - TempKeychordName_40 = tempKeychordName[40]; - TempKeychordName_41 = tempKeychordName[41]; - TempKeychordName_42 = tempKeychordName[42]; - TempKeychordName_43 = tempKeychordName[43]; - TempKeychordName_44 = tempKeychordName[44]; - TempKeychordName_45 = tempKeychordName[45]; - TempKeychordName_46 = tempKeychordName[46]; - TempKeychordName_47 = tempKeychordName[47]; - TempKeychordName_48 = tempKeychordName[48]; - TempKeychordName_49 = tempKeychordName[49]; - TempKeychordName_50 = tempKeychordName[50]; - TempKeychordName_51 = tempKeychordName[51]; - TempKeychordName_52 = tempKeychordName[52]; - TempKeychordName_53 = tempKeychordName[53]; - TempKeychordName_54 = tempKeychordName[54]; - TempKeychordName_55 = tempKeychordName[55]; - TempKeychordName_56 = tempKeychordName[56]; - TempKeychordName_57 = tempKeychordName[57]; - TempKeychordName_58 = tempKeychordName[58]; - TempKeychordName_59 = tempKeychordName[59]; - TempKeychordName_60 = tempKeychordName[60]; - TempKeychordName_61 = tempKeychordName[61]; - TempKeychordName_62 = tempKeychordName[62]; - TempKeychordName_63 = tempKeychordName[63]; - } - } - - - /// - /// To be documented. - /// - public unsafe Span KeysOwnerData - - { - get - { - fixed (ImGuiKeyOwnerData* p = &this.KeysOwnerData_0) - { - return new Span(p, 155); - } - } - } - /// - /// To be documented. - /// - public unsafe Span> LocalizationTable - - { - get - { - fixed (byte** p = &this.LocalizationTable_0) - { - return new Span>(p, 13); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiContextPtr : IEquatable - { - public ImGuiContextPtr(ImGuiContext* handle) { Handle = handle; } - - public ImGuiContext* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiContextPtr Null => new ImGuiContextPtr(null); - - public ImGuiContext this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiContextPtr(ImGuiContext* handle) => new ImGuiContextPtr(handle); - - public static implicit operator ImGuiContext*(ImGuiContextPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiContextPtr left, ImGuiContextPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiContextPtr left, ImGuiContextPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiContextPtr left, ImGuiContext* right) => left.Handle == right; - - public static bool operator !=(ImGuiContextPtr left, ImGuiContext* right) => left.Handle != right; - - public bool Equals(ImGuiContextPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiContextPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref bool Initialized => ref Unsafe.AsRef(&Handle->Initialized); - /// - /// To be documented. - /// - public ref bool FontAtlasOwnedByContext => ref Unsafe.AsRef(&Handle->FontAtlasOwnedByContext); - /// - /// To be documented. - /// - public ref ImGuiIO IO => ref Unsafe.AsRef(&Handle->IO); - /// - /// To be documented. - /// - public ref ImGuiPlatformIO PlatformIO => ref Unsafe.AsRef(&Handle->PlatformIO); - /// - /// To be documented. - /// - public ref ImGuiStyle Style => ref Unsafe.AsRef(&Handle->Style); - /// - /// To be documented. - /// - public ref ImGuiConfigFlags ConfigFlagsCurrFrame => ref Unsafe.AsRef(&Handle->ConfigFlagsCurrFrame); - /// - /// To be documented. - /// - public ref ImGuiConfigFlags ConfigFlagsLastFrame => ref Unsafe.AsRef(&Handle->ConfigFlagsLastFrame); - /// - /// To be documented. - /// - public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); - /// - /// To be documented. - /// - public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); - /// - /// To be documented. - /// - public ref float FontBaseSize => ref Unsafe.AsRef(&Handle->FontBaseSize); - /// - /// To be documented. - /// - public ref float FontScale => ref Unsafe.AsRef(&Handle->FontScale); - /// - /// To be documented. - /// - public ref float CurrentDpiScale => ref Unsafe.AsRef(&Handle->CurrentDpiScale); - /// - /// To be documented. - /// - public ref ImDrawListSharedData DrawListSharedData => ref Unsafe.AsRef(&Handle->DrawListSharedData); - /// - /// To be documented. - /// - public ref double Time => ref Unsafe.AsRef(&Handle->Time); - /// - /// To be documented. - /// - public ref int FrameCount => ref Unsafe.AsRef(&Handle->FrameCount); - /// - /// To be documented. - /// - public ref int FrameCountEnded => ref Unsafe.AsRef(&Handle->FrameCountEnded); - /// - /// To be documented. - /// - public ref int FrameCountPlatformEnded => ref Unsafe.AsRef(&Handle->FrameCountPlatformEnded); - /// - /// To be documented. - /// - public ref int FrameCountRendered => ref Unsafe.AsRef(&Handle->FrameCountRendered); - /// - /// To be documented. - /// - public ref uint WithinEndChildID => ref Unsafe.AsRef(&Handle->WithinEndChildID); - /// - /// To be documented. - /// - public ref bool WithinFrameScope => ref Unsafe.AsRef(&Handle->WithinFrameScope); - /// - /// To be documented. - /// - public ref bool WithinFrameScopeWithImplicitWindow => ref Unsafe.AsRef(&Handle->WithinFrameScopeWithImplicitWindow); - /// - /// To be documented. - /// - public ref bool GcCompactAll => ref Unsafe.AsRef(&Handle->GcCompactAll); - /// - /// To be documented. - /// - public ref bool TestEngineHookItems => ref Unsafe.AsRef(&Handle->TestEngineHookItems); - /// - /// To be documented. - /// - public void* TestEngine { get => Handle->TestEngine; set => Handle->TestEngine = value; } - /// - /// To be documented. - /// - public unsafe Span ContextName - - { - get - { - return new Span(&Handle->ContextName_0, 16); - } - } - /// - /// To be documented. - /// - public ref ImVector InputEventsQueue => ref Unsafe.AsRef>(&Handle->InputEventsQueue); - /// - /// To be documented. - /// - public ref ImVector InputEventsTrail => ref Unsafe.AsRef>(&Handle->InputEventsTrail); - /// - /// To be documented. - /// - public ref ImGuiMouseSource InputEventsNextMouseSource => ref Unsafe.AsRef(&Handle->InputEventsNextMouseSource); - /// - /// To be documented. - /// - public ref uint InputEventsNextEventId => ref Unsafe.AsRef(&Handle->InputEventsNextEventId); - /// - /// To be documented. - /// - public ref ImVector Windows => ref Unsafe.AsRef>(&Handle->Windows); - /// - /// To be documented. - /// - public ref ImVector WindowsFocusOrder => ref Unsafe.AsRef>(&Handle->WindowsFocusOrder); - /// - /// To be documented. - /// - public ref ImVector WindowsTempSortBuffer => ref Unsafe.AsRef>(&Handle->WindowsTempSortBuffer); - /// - /// To be documented. - /// - public ref ImVector CurrentWindowStack => ref Unsafe.AsRef>(&Handle->CurrentWindowStack); - /// - /// To be documented. - /// - public ref ImGuiStorage WindowsById => ref Unsafe.AsRef(&Handle->WindowsById); - /// - /// To be documented. - /// - public ref int WindowsActiveCount => ref Unsafe.AsRef(&Handle->WindowsActiveCount); - /// - /// To be documented. - /// - public ref float WindowsBorderHoverPadding => ref Unsafe.AsRef(&Handle->WindowsBorderHoverPadding); - /// - /// To be documented. - /// - public ref uint DebugBreakInWindow => ref Unsafe.AsRef(&Handle->DebugBreakInWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr CurrentWindow => ref Unsafe.AsRef(&Handle->CurrentWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr HoveredWindow => ref Unsafe.AsRef(&Handle->HoveredWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr HoveredWindowUnderMovingWindow => ref Unsafe.AsRef(&Handle->HoveredWindowUnderMovingWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr HoveredWindowBeforeClear => ref Unsafe.AsRef(&Handle->HoveredWindowBeforeClear); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr MovingWindow => ref Unsafe.AsRef(&Handle->MovingWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr WheelingWindow => ref Unsafe.AsRef(&Handle->WheelingWindow); - /// - /// To be documented. - /// - public ref Vector2 WheelingWindowRefMousePos => ref Unsafe.AsRef(&Handle->WheelingWindowRefMousePos); - /// - /// To be documented. - /// - public ref int WheelingWindowStartFrame => ref Unsafe.AsRef(&Handle->WheelingWindowStartFrame); - /// - /// To be documented. - /// - public ref int WheelingWindowScrolledFrame => ref Unsafe.AsRef(&Handle->WheelingWindowScrolledFrame); - /// - /// To be documented. - /// - public ref float WheelingWindowReleaseTimer => ref Unsafe.AsRef(&Handle->WheelingWindowReleaseTimer); - /// - /// To be documented. - /// - public ref Vector2 WheelingWindowWheelRemainder => ref Unsafe.AsRef(&Handle->WheelingWindowWheelRemainder); - /// - /// To be documented. - /// - public ref Vector2 WheelingAxisAvg => ref Unsafe.AsRef(&Handle->WheelingAxisAvg); - /// - /// To be documented. - /// - public ref uint DebugDrawIdConflicts => ref Unsafe.AsRef(&Handle->DebugDrawIdConflicts); - /// - /// To be documented. - /// - public ref uint DebugHookIdInfo => ref Unsafe.AsRef(&Handle->DebugHookIdInfo); - /// - /// To be documented. - /// - public ref uint HoveredId => ref Unsafe.AsRef(&Handle->HoveredId); - /// - /// To be documented. - /// - public ref uint HoveredIdPreviousFrame => ref Unsafe.AsRef(&Handle->HoveredIdPreviousFrame); - /// - /// To be documented. - /// - public ref int HoveredIdPreviousFrameItemCount => ref Unsafe.AsRef(&Handle->HoveredIdPreviousFrameItemCount); - /// - /// To be documented. - /// - public ref float HoveredIdTimer => ref Unsafe.AsRef(&Handle->HoveredIdTimer); - /// - /// To be documented. - /// - public ref float HoveredIdNotActiveTimer => ref Unsafe.AsRef(&Handle->HoveredIdNotActiveTimer); - /// - /// To be documented. - /// - public ref bool HoveredIdAllowOverlap => ref Unsafe.AsRef(&Handle->HoveredIdAllowOverlap); - /// - /// To be documented. - /// - public ref bool HoveredIdIsDisabled => ref Unsafe.AsRef(&Handle->HoveredIdIsDisabled); - /// - /// To be documented. - /// - public ref bool ItemUnclipByLog => ref Unsafe.AsRef(&Handle->ItemUnclipByLog); - /// - /// To be documented. - /// - public ref uint ActiveId => ref Unsafe.AsRef(&Handle->ActiveId); - /// - /// To be documented. - /// - public ref uint ActiveIdIsAlive => ref Unsafe.AsRef(&Handle->ActiveIdIsAlive); - /// - /// To be documented. - /// - public ref float ActiveIdTimer => ref Unsafe.AsRef(&Handle->ActiveIdTimer); - /// - /// To be documented. - /// - public ref bool ActiveIdIsJustActivated => ref Unsafe.AsRef(&Handle->ActiveIdIsJustActivated); - /// - /// To be documented. - /// - public ref bool ActiveIdAllowOverlap => ref Unsafe.AsRef(&Handle->ActiveIdAllowOverlap); - /// - /// To be documented. - /// - public ref bool ActiveIdNoClearOnFocusLoss => ref Unsafe.AsRef(&Handle->ActiveIdNoClearOnFocusLoss); - /// - /// To be documented. - /// - public ref bool ActiveIdHasBeenPressedBefore => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenPressedBefore); - /// - /// To be documented. - /// - public ref bool ActiveIdHasBeenEditedBefore => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenEditedBefore); - /// - /// To be documented. - /// - public ref bool ActiveIdHasBeenEditedThisFrame => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenEditedThisFrame); - /// - /// To be documented. - /// - public ref bool ActiveIdFromShortcut => ref Unsafe.AsRef(&Handle->ActiveIdFromShortcut); - /// - /// To be documented. - /// - public ref int ActiveIdMouseButton => ref Unsafe.AsRef(&Handle->ActiveIdMouseButton); - /// - /// To be documented. - /// - public ref Vector2 ActiveIdClickOffset => ref Unsafe.AsRef(&Handle->ActiveIdClickOffset); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr ActiveIdWindow => ref Unsafe.AsRef(&Handle->ActiveIdWindow); - /// - /// To be documented. - /// - public ref ImGuiInputSource ActiveIdSource => ref Unsafe.AsRef(&Handle->ActiveIdSource); - /// - /// To be documented. - /// - public ref uint ActiveIdPreviousFrame => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrame); - /// - /// To be documented. - /// - public ref ImGuiDeactivatedItemData DeactivatedItemData => ref Unsafe.AsRef(&Handle->DeactivatedItemData); - /// - /// To be documented. - /// - public ref ImGuiDataTypeStorage ActiveIdValueOnActivation => ref Unsafe.AsRef(&Handle->ActiveIdValueOnActivation); - /// - /// To be documented. - /// - public ref uint LastActiveId => ref Unsafe.AsRef(&Handle->LastActiveId); - /// - /// To be documented. - /// - public ref float LastActiveIdTimer => ref Unsafe.AsRef(&Handle->LastActiveIdTimer); - /// - /// To be documented. - /// - public ref double LastKeyModsChangeTime => ref Unsafe.AsRef(&Handle->LastKeyModsChangeTime); - /// - /// To be documented. - /// - public ref double LastKeyModsChangeFromNoneTime => ref Unsafe.AsRef(&Handle->LastKeyModsChangeFromNoneTime); - /// - /// To be documented. - /// - public ref double LastKeyboardKeyPressTime => ref Unsafe.AsRef(&Handle->LastKeyboardKeyPressTime); - /// - /// To be documented. - /// - public ref nuint KeysMayBeCharInput => ref Unsafe.AsRef(&Handle->KeysMayBeCharInput); - /// - /// To be documented. - /// - public unsafe Span KeysOwnerData - - { - get - { - return new Span(&Handle->KeysOwnerData_0, 155); - } - } - /// - /// To be documented. - /// - public ref ImGuiKeyRoutingTable KeysRoutingTable => ref Unsafe.AsRef(&Handle->KeysRoutingTable); - /// - /// To be documented. - /// - public ref uint ActiveIdUsingNavDirMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingNavDirMask); - /// - /// To be documented. - /// - public ref bool ActiveIdUsingAllKeyboardKeys => ref Unsafe.AsRef(&Handle->ActiveIdUsingAllKeyboardKeys); - /// - /// To be documented. - /// - public ref int DebugBreakInShortcutRouting => ref Unsafe.AsRef(&Handle->DebugBreakInShortcutRouting); - /// - /// To be documented. - /// - public ref uint CurrentFocusScopeId => ref Unsafe.AsRef(&Handle->CurrentFocusScopeId); - /// - /// To be documented. - /// - public ref ImGuiItemFlags CurrentItemFlags => ref Unsafe.AsRef(&Handle->CurrentItemFlags); - /// - /// To be documented. - /// - public ref uint DebugLocateId => ref Unsafe.AsRef(&Handle->DebugLocateId); - /// - /// To be documented. - /// - public ref ImGuiNextItemData NextItemData => ref Unsafe.AsRef(&Handle->NextItemData); - /// - /// To be documented. - /// - public ref ImGuiLastItemData LastItemData => ref Unsafe.AsRef(&Handle->LastItemData); - /// - /// To be documented. - /// - public ref ImGuiNextWindowData NextWindowData => ref Unsafe.AsRef(&Handle->NextWindowData); - /// - /// To be documented. - /// - public ref bool DebugShowGroupRects => ref Unsafe.AsRef(&Handle->DebugShowGroupRects); - /// - /// To be documented. - /// - public ref ImGuiCol DebugFlashStyleColorIdx => ref Unsafe.AsRef(&Handle->DebugFlashStyleColorIdx); - /// - /// To be documented. - /// - public ref ImVector ColorStack => ref Unsafe.AsRef>(&Handle->ColorStack); - /// - /// To be documented. - /// - public ref ImVector StyleVarStack => ref Unsafe.AsRef>(&Handle->StyleVarStack); - /// - /// To be documented. - /// - public ref ImVector FontStack => ref Unsafe.AsRef>(&Handle->FontStack); - /// - /// To be documented. - /// - public ref ImVector FocusScopeStack => ref Unsafe.AsRef>(&Handle->FocusScopeStack); - /// - /// To be documented. - /// - public ref ImVector ItemFlagsStack => ref Unsafe.AsRef>(&Handle->ItemFlagsStack); - /// - /// To be documented. - /// - public ref ImVector GroupStack => ref Unsafe.AsRef>(&Handle->GroupStack); - /// - /// To be documented. - /// - public ref ImVector OpenPopupStack => ref Unsafe.AsRef>(&Handle->OpenPopupStack); - /// - /// To be documented. - /// - public ref ImVector BeginPopupStack => ref Unsafe.AsRef>(&Handle->BeginPopupStack); - /// - /// To be documented. - /// - public ref ImVector TreeNodeStack => ref Unsafe.AsRef>(&Handle->TreeNodeStack); - /// - /// To be documented. - /// - public ref ImVector Viewports => ref Unsafe.AsRef>(&Handle->Viewports); - /// - /// To be documented. - /// - public ref ImGuiViewportPPtr CurrentViewport => ref Unsafe.AsRef(&Handle->CurrentViewport); - /// - /// To be documented. - /// - public ref ImGuiViewportPPtr MouseViewport => ref Unsafe.AsRef(&Handle->MouseViewport); - /// - /// To be documented. - /// - public ref ImGuiViewportPPtr MouseLastHoveredViewport => ref Unsafe.AsRef(&Handle->MouseLastHoveredViewport); - /// - /// To be documented. - /// - public ref uint PlatformLastFocusedViewportId => ref Unsafe.AsRef(&Handle->PlatformLastFocusedViewportId); - /// - /// To be documented. - /// - public ref ImGuiPlatformMonitor FallbackMonitor => ref Unsafe.AsRef(&Handle->FallbackMonitor); - /// - /// To be documented. - /// - public ref ImRect PlatformMonitorsFullWorkRect => ref Unsafe.AsRef(&Handle->PlatformMonitorsFullWorkRect); - /// - /// To be documented. - /// - public ref int ViewportCreatedCount => ref Unsafe.AsRef(&Handle->ViewportCreatedCount); - /// - /// To be documented. - /// - public ref int PlatformWindowsCreatedCount => ref Unsafe.AsRef(&Handle->PlatformWindowsCreatedCount); - /// - /// To be documented. - /// - public ref int ViewportFocusedStampCount => ref Unsafe.AsRef(&Handle->ViewportFocusedStampCount); - /// - /// To be documented. - /// - public ref bool NavCursorVisible => ref Unsafe.AsRef(&Handle->NavCursorVisible); - /// - /// To be documented. - /// - public ref bool NavHighlightItemUnderNav => ref Unsafe.AsRef(&Handle->NavHighlightItemUnderNav); - /// - /// To be documented. - /// - public ref bool NavMousePosDirty => ref Unsafe.AsRef(&Handle->NavMousePosDirty); - /// - /// To be documented. - /// - public ref bool NavIdIsAlive => ref Unsafe.AsRef(&Handle->NavIdIsAlive); - /// - /// To be documented. - /// - public ref uint NavId => ref Unsafe.AsRef(&Handle->NavId); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr NavWindow => ref Unsafe.AsRef(&Handle->NavWindow); - /// - /// To be documented. - /// - public ref uint NavFocusScopeId => ref Unsafe.AsRef(&Handle->NavFocusScopeId); - /// - /// To be documented. - /// - public ref ImGuiNavLayer NavLayer => ref Unsafe.AsRef(&Handle->NavLayer); - /// - /// To be documented. - /// - public ref uint NavActivateId => ref Unsafe.AsRef(&Handle->NavActivateId); - /// - /// To be documented. - /// - public ref uint NavActivateDownId => ref Unsafe.AsRef(&Handle->NavActivateDownId); - /// - /// To be documented. - /// - public ref uint NavActivatePressedId => ref Unsafe.AsRef(&Handle->NavActivatePressedId); - /// - /// To be documented. - /// - public ref ImGuiActivateFlags NavActivateFlags => ref Unsafe.AsRef(&Handle->NavActivateFlags); - /// - /// To be documented. - /// - public ref ImVector NavFocusRoute => ref Unsafe.AsRef>(&Handle->NavFocusRoute); - /// - /// To be documented. - /// - public ref uint NavHighlightActivatedId => ref Unsafe.AsRef(&Handle->NavHighlightActivatedId); - /// - /// To be documented. - /// - public ref float NavHighlightActivatedTimer => ref Unsafe.AsRef(&Handle->NavHighlightActivatedTimer); - /// - /// To be documented. - /// - public ref uint NavNextActivateId => ref Unsafe.AsRef(&Handle->NavNextActivateId); - /// - /// To be documented. - /// - public ref ImGuiActivateFlags NavNextActivateFlags => ref Unsafe.AsRef(&Handle->NavNextActivateFlags); - /// - /// To be documented. - /// - public ref ImGuiInputSource NavInputSource => ref Unsafe.AsRef(&Handle->NavInputSource); - /// - /// To be documented. - /// - public ref long NavLastValidSelectionUserData => ref Unsafe.AsRef(&Handle->NavLastValidSelectionUserData); - /// - /// To be documented. - /// - public ref byte NavCursorHideFrames => ref Unsafe.AsRef(&Handle->NavCursorHideFrames); - /// - /// To be documented. - /// - public ref bool NavAnyRequest => ref Unsafe.AsRef(&Handle->NavAnyRequest); - /// - /// To be documented. - /// - public ref bool NavInitRequest => ref Unsafe.AsRef(&Handle->NavInitRequest); - /// - /// To be documented. - /// - public ref bool NavInitRequestFromMove => ref Unsafe.AsRef(&Handle->NavInitRequestFromMove); - /// - /// To be documented. - /// - public ref ImGuiNavItemData NavInitResult => ref Unsafe.AsRef(&Handle->NavInitResult); - /// - /// To be documented. - /// - public ref bool NavMoveSubmitted => ref Unsafe.AsRef(&Handle->NavMoveSubmitted); - /// - /// To be documented. - /// - public ref bool NavMoveScoringItems => ref Unsafe.AsRef(&Handle->NavMoveScoringItems); - /// - /// To be documented. - /// - public ref bool NavMoveForwardToNextFrame => ref Unsafe.AsRef(&Handle->NavMoveForwardToNextFrame); - /// - /// To be documented. - /// - public ref ImGuiNavMoveFlags NavMoveFlags => ref Unsafe.AsRef(&Handle->NavMoveFlags); - /// - /// To be documented. - /// - public ref ImGuiScrollFlags NavMoveScrollFlags => ref Unsafe.AsRef(&Handle->NavMoveScrollFlags); - /// - /// To be documented. - /// - public ref int NavMoveKeyMods => ref Unsafe.AsRef(&Handle->NavMoveKeyMods); - /// - /// To be documented. - /// - public ref ImGuiDir NavMoveDir => ref Unsafe.AsRef(&Handle->NavMoveDir); - /// - /// To be documented. - /// - public ref ImGuiDir NavMoveDirForDebug => ref Unsafe.AsRef(&Handle->NavMoveDirForDebug); - /// - /// To be documented. - /// - public ref ImGuiDir NavMoveClipDir => ref Unsafe.AsRef(&Handle->NavMoveClipDir); - /// - /// To be documented. - /// - public ref ImRect NavScoringRect => ref Unsafe.AsRef(&Handle->NavScoringRect); - /// - /// To be documented. - /// - public ref ImRect NavScoringNoClipRect => ref Unsafe.AsRef(&Handle->NavScoringNoClipRect); - /// - /// To be documented. - /// - public ref int NavScoringDebugCount => ref Unsafe.AsRef(&Handle->NavScoringDebugCount); - /// - /// To be documented. - /// - public ref int NavTabbingDir => ref Unsafe.AsRef(&Handle->NavTabbingDir); - /// - /// To be documented. - /// - public ref int NavTabbingCounter => ref Unsafe.AsRef(&Handle->NavTabbingCounter); - /// - /// To be documented. - /// - public ref ImGuiNavItemData NavMoveResultLocal => ref Unsafe.AsRef(&Handle->NavMoveResultLocal); - /// - /// To be documented. - /// - public ref ImGuiNavItemData NavMoveResultLocalVisible => ref Unsafe.AsRef(&Handle->NavMoveResultLocalVisible); - /// - /// To be documented. - /// - public ref ImGuiNavItemData NavMoveResultOther => ref Unsafe.AsRef(&Handle->NavMoveResultOther); - /// - /// To be documented. - /// - public ref ImGuiNavItemData NavTabbingResultFirst => ref Unsafe.AsRef(&Handle->NavTabbingResultFirst); - /// - /// To be documented. - /// - public ref uint NavJustMovedFromFocusScopeId => ref Unsafe.AsRef(&Handle->NavJustMovedFromFocusScopeId); - /// - /// To be documented. - /// - public ref uint NavJustMovedToId => ref Unsafe.AsRef(&Handle->NavJustMovedToId); - /// - /// To be documented. - /// - public ref uint NavJustMovedToFocusScopeId => ref Unsafe.AsRef(&Handle->NavJustMovedToFocusScopeId); - /// - /// To be documented. - /// - public ref int NavJustMovedToKeyMods => ref Unsafe.AsRef(&Handle->NavJustMovedToKeyMods); - /// - /// To be documented. - /// - public ref bool NavJustMovedToIsTabbing => ref Unsafe.AsRef(&Handle->NavJustMovedToIsTabbing); - /// - /// To be documented. - /// - public ref bool NavJustMovedToHasSelectionData => ref Unsafe.AsRef(&Handle->NavJustMovedToHasSelectionData); - /// - /// To be documented. - /// - public ref int ConfigNavWindowingKeyNext => ref Unsafe.AsRef(&Handle->ConfigNavWindowingKeyNext); - /// - /// To be documented. - /// - public ref int ConfigNavWindowingKeyPrev => ref Unsafe.AsRef(&Handle->ConfigNavWindowingKeyPrev); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr NavWindowingTarget => ref Unsafe.AsRef(&Handle->NavWindowingTarget); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr NavWindowingTargetAnim => ref Unsafe.AsRef(&Handle->NavWindowingTargetAnim); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr NavWindowingListWindow => ref Unsafe.AsRef(&Handle->NavWindowingListWindow); - /// - /// To be documented. - /// - public ref float NavWindowingTimer => ref Unsafe.AsRef(&Handle->NavWindowingTimer); - /// - /// To be documented. - /// - public ref float NavWindowingHighlightAlpha => ref Unsafe.AsRef(&Handle->NavWindowingHighlightAlpha); - /// - /// To be documented. - /// - public ref bool NavWindowingToggleLayer => ref Unsafe.AsRef(&Handle->NavWindowingToggleLayer); - /// - /// To be documented. - /// - public ref ImGuiKey NavWindowingToggleKey => ref Unsafe.AsRef(&Handle->NavWindowingToggleKey); - /// - /// To be documented. - /// - public ref Vector2 NavWindowingAccumDeltaPos => ref Unsafe.AsRef(&Handle->NavWindowingAccumDeltaPos); - /// - /// To be documented. - /// - public ref Vector2 NavWindowingAccumDeltaSize => ref Unsafe.AsRef(&Handle->NavWindowingAccumDeltaSize); - /// - /// To be documented. - /// - public ref float DimBgRatio => ref Unsafe.AsRef(&Handle->DimBgRatio); - /// - /// To be documented. - /// - public ref bool DragDropActive => ref Unsafe.AsRef(&Handle->DragDropActive); - /// - /// To be documented. - /// - public ref bool DragDropWithinSource => ref Unsafe.AsRef(&Handle->DragDropWithinSource); - /// - /// To be documented. - /// - public ref bool DragDropWithinTarget => ref Unsafe.AsRef(&Handle->DragDropWithinTarget); - /// - /// To be documented. - /// - public ref ImGuiDragDropFlags DragDropSourceFlags => ref Unsafe.AsRef(&Handle->DragDropSourceFlags); - /// - /// To be documented. - /// - public ref int DragDropSourceFrameCount => ref Unsafe.AsRef(&Handle->DragDropSourceFrameCount); - /// - /// To be documented. - /// - public ref int DragDropMouseButton => ref Unsafe.AsRef(&Handle->DragDropMouseButton); - /// - /// To be documented. - /// - public ref ImGuiPayload DragDropPayload => ref Unsafe.AsRef(&Handle->DragDropPayload); - /// - /// To be documented. - /// - public ref ImRect DragDropTargetRect => ref Unsafe.AsRef(&Handle->DragDropTargetRect); - /// - /// To be documented. - /// - public ref ImRect DragDropTargetClipRect => ref Unsafe.AsRef(&Handle->DragDropTargetClipRect); - /// - /// To be documented. - /// - public ref uint DragDropTargetId => ref Unsafe.AsRef(&Handle->DragDropTargetId); - /// - /// To be documented. - /// - public ref ImGuiDragDropFlags DragDropAcceptFlags => ref Unsafe.AsRef(&Handle->DragDropAcceptFlags); - /// - /// To be documented. - /// - public ref float DragDropAcceptIdCurrRectSurface => ref Unsafe.AsRef(&Handle->DragDropAcceptIdCurrRectSurface); - /// - /// To be documented. - /// - public ref uint DragDropAcceptIdCurr => ref Unsafe.AsRef(&Handle->DragDropAcceptIdCurr); - /// - /// To be documented. - /// - public ref uint DragDropAcceptIdPrev => ref Unsafe.AsRef(&Handle->DragDropAcceptIdPrev); - /// - /// To be documented. - /// - public ref int DragDropAcceptFrameCount => ref Unsafe.AsRef(&Handle->DragDropAcceptFrameCount); - /// - /// To be documented. - /// - public ref uint DragDropHoldJustPressedId => ref Unsafe.AsRef(&Handle->DragDropHoldJustPressedId); - /// - /// To be documented. - /// - public ref ImVector DragDropPayloadBufHeap => ref Unsafe.AsRef>(&Handle->DragDropPayloadBufHeap); - /// - /// To be documented. - /// - public unsafe Span DragDropPayloadBufLocal - - { - get - { - return new Span(&Handle->DragDropPayloadBufLocal_0, 16); - } - } - /// - /// To be documented. - /// - public ref int ClipperTempDataStacked => ref Unsafe.AsRef(&Handle->ClipperTempDataStacked); - /// - /// To be documented. - /// - public ref ImVector ClipperTempData => ref Unsafe.AsRef>(&Handle->ClipperTempData); - /// - /// To be documented. - /// - public ref ImGuiTablePtr CurrentTable => ref Unsafe.AsRef(&Handle->CurrentTable); - /// - /// To be documented. - /// - public ref uint DebugBreakInTable => ref Unsafe.AsRef(&Handle->DebugBreakInTable); - /// - /// To be documented. - /// - public ref int TablesTempDataStacked => ref Unsafe.AsRef(&Handle->TablesTempDataStacked); - /// - /// To be documented. - /// - public ref ImVector TablesTempData => ref Unsafe.AsRef>(&Handle->TablesTempData); - /// - /// To be documented. - /// - public ref ImPoolImGuiTable Tables => ref Unsafe.AsRef(&Handle->Tables); - /// - /// To be documented. - /// - public ref ImVector TablesLastTimeActive => ref Unsafe.AsRef>(&Handle->TablesLastTimeActive); - /// - /// To be documented. - /// - public ref ImVector DrawChannelsTempMergeBuffer => ref Unsafe.AsRef>(&Handle->DrawChannelsTempMergeBuffer); - /// - /// To be documented. - /// - public ref ImGuiTabBarPtr CurrentTabBar => ref Unsafe.AsRef(&Handle->CurrentTabBar); - /// - /// To be documented. - /// - public ref ImPoolImGuiTabBar TabBars => ref Unsafe.AsRef(&Handle->TabBars); - /// - /// To be documented. - /// - public ref ImVector CurrentTabBarStack => ref Unsafe.AsRef>(&Handle->CurrentTabBarStack); - /// - /// To be documented. - /// - public ref ImVector ShrinkWidthBuffer => ref Unsafe.AsRef>(&Handle->ShrinkWidthBuffer); - /// - /// To be documented. - /// - public ref ImGuiBoxSelectState BoxSelectState => ref Unsafe.AsRef(&Handle->BoxSelectState); - /// - /// To be documented. - /// - public ref ImGuiMultiSelectTempDataPtr CurrentMultiSelect => ref Unsafe.AsRef(&Handle->CurrentMultiSelect); - /// - /// To be documented. - /// - public ref int MultiSelectTempDataStacked => ref Unsafe.AsRef(&Handle->MultiSelectTempDataStacked); - /// - /// To be documented. - /// - public ref ImVector MultiSelectTempData => ref Unsafe.AsRef>(&Handle->MultiSelectTempData); - /// - /// To be documented. - /// - public ref ImPoolImGuiMultiSelectState MultiSelectStorage => ref Unsafe.AsRef(&Handle->MultiSelectStorage); - /// - /// To be documented. - /// - public ref uint HoverItemDelayId => ref Unsafe.AsRef(&Handle->HoverItemDelayId); - /// - /// To be documented. - /// - public ref uint HoverItemDelayIdPreviousFrame => ref Unsafe.AsRef(&Handle->HoverItemDelayIdPreviousFrame); - /// - /// To be documented. - /// - public ref float HoverItemDelayTimer => ref Unsafe.AsRef(&Handle->HoverItemDelayTimer); - /// - /// To be documented. - /// - public ref float HoverItemDelayClearTimer => ref Unsafe.AsRef(&Handle->HoverItemDelayClearTimer); - /// - /// To be documented. - /// - public ref uint HoverItemUnlockedStationaryId => ref Unsafe.AsRef(&Handle->HoverItemUnlockedStationaryId); - /// - /// To be documented. - /// - public ref uint HoverWindowUnlockedStationaryId => ref Unsafe.AsRef(&Handle->HoverWindowUnlockedStationaryId); - /// - /// To be documented. - /// - public ref ImGuiMouseCursor MouseCursor => ref Unsafe.AsRef(&Handle->MouseCursor); - /// - /// To be documented. - /// - public ref float MouseStationaryTimer => ref Unsafe.AsRef(&Handle->MouseStationaryTimer); - /// - /// To be documented. - /// - public ref Vector2 MouseLastValidPos => ref Unsafe.AsRef(&Handle->MouseLastValidPos); - /// - /// To be documented. - /// - public ref ImGuiInputTextState InputTextState => ref Unsafe.AsRef(&Handle->InputTextState); - /// - /// To be documented. - /// - public ref ImGuiInputTextDeactivatedState InputTextDeactivatedState => ref Unsafe.AsRef(&Handle->InputTextDeactivatedState); - /// - /// To be documented. - /// - public ref ImFont InputTextPasswordFont => ref Unsafe.AsRef(&Handle->InputTextPasswordFont); - /// - /// To be documented. - /// - public ref uint TempInputId => ref Unsafe.AsRef(&Handle->TempInputId); - /// - /// To be documented. - /// - public ref ImGuiDataTypeStorage DataTypeZeroValue => ref Unsafe.AsRef(&Handle->DataTypeZeroValue); - /// - /// To be documented. - /// - public ref int BeginMenuDepth => ref Unsafe.AsRef(&Handle->BeginMenuDepth); - /// - /// To be documented. - /// - public ref int BeginComboDepth => ref Unsafe.AsRef(&Handle->BeginComboDepth); - /// - /// To be documented. - /// - public ref ImGuiColorEditFlags ColorEditOptions => ref Unsafe.AsRef(&Handle->ColorEditOptions); - /// - /// To be documented. - /// - public ref uint ColorEditCurrentID => ref Unsafe.AsRef(&Handle->ColorEditCurrentID); - /// - /// To be documented. - /// - public ref uint ColorEditSavedID => ref Unsafe.AsRef(&Handle->ColorEditSavedID); - /// - /// To be documented. - /// - public ref float ColorEditSavedHue => ref Unsafe.AsRef(&Handle->ColorEditSavedHue); - /// - /// To be documented. - /// - public ref float ColorEditSavedSat => ref Unsafe.AsRef(&Handle->ColorEditSavedSat); - /// - /// To be documented. - /// - public ref uint ColorEditSavedColor => ref Unsafe.AsRef(&Handle->ColorEditSavedColor); - /// - /// To be documented. - /// - public ref Vector4 ColorPickerRef => ref Unsafe.AsRef(&Handle->ColorPickerRef); - /// - /// To be documented. - /// - public ref ImGuiComboPreviewData ComboPreviewData => ref Unsafe.AsRef(&Handle->ComboPreviewData); - /// - /// To be documented. - /// - public ref ImRect WindowResizeBorderExpectedRect => ref Unsafe.AsRef(&Handle->WindowResizeBorderExpectedRect); - /// - /// To be documented. - /// - public ref bool WindowResizeRelativeMode => ref Unsafe.AsRef(&Handle->WindowResizeRelativeMode); - /// - /// To be documented. - /// - public ref short ScrollbarSeekMode => ref Unsafe.AsRef(&Handle->ScrollbarSeekMode); - /// - /// To be documented. - /// - public ref float ScrollbarClickDeltaToGrabCenter => ref Unsafe.AsRef(&Handle->ScrollbarClickDeltaToGrabCenter); - /// - /// To be documented. - /// - public ref float SliderGrabClickOffset => ref Unsafe.AsRef(&Handle->SliderGrabClickOffset); - /// - /// To be documented. - /// - public ref float SliderCurrentAccum => ref Unsafe.AsRef(&Handle->SliderCurrentAccum); - /// - /// To be documented. - /// - public ref bool SliderCurrentAccumDirty => ref Unsafe.AsRef(&Handle->SliderCurrentAccumDirty); - /// - /// To be documented. - /// - public ref bool DragCurrentAccumDirty => ref Unsafe.AsRef(&Handle->DragCurrentAccumDirty); - /// - /// To be documented. - /// - public ref float DragCurrentAccum => ref Unsafe.AsRef(&Handle->DragCurrentAccum); - /// - /// To be documented. - /// - public ref float DragSpeedDefaultRatio => ref Unsafe.AsRef(&Handle->DragSpeedDefaultRatio); - /// - /// To be documented. - /// - public ref float DisabledAlphaBackup => ref Unsafe.AsRef(&Handle->DisabledAlphaBackup); - /// - /// To be documented. - /// - public ref short DisabledStackSize => ref Unsafe.AsRef(&Handle->DisabledStackSize); - /// - /// To be documented. - /// - public ref short TooltipOverrideCount => ref Unsafe.AsRef(&Handle->TooltipOverrideCount); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr TooltipPreviousWindow => ref Unsafe.AsRef(&Handle->TooltipPreviousWindow); - /// - /// To be documented. - /// - public ref ImVector ClipboardHandlerData => ref Unsafe.AsRef>(&Handle->ClipboardHandlerData); - /// - /// To be documented. - /// - public ref ImVector MenusIdSubmittedThisFrame => ref Unsafe.AsRef>(&Handle->MenusIdSubmittedThisFrame); - /// - /// To be documented. - /// - public ref ImGuiTypingSelectState TypingSelectState => ref Unsafe.AsRef(&Handle->TypingSelectState); - /// - /// To be documented. - /// - public ref ImGuiPlatformImeData PlatformImeData => ref Unsafe.AsRef(&Handle->PlatformImeData); - /// - /// To be documented. - /// - public ref ImGuiPlatformImeData PlatformImeDataPrev => ref Unsafe.AsRef(&Handle->PlatformImeDataPrev); - /// - /// To be documented. - /// - public ref uint PlatformImeViewport => ref Unsafe.AsRef(&Handle->PlatformImeViewport); - /// - /// To be documented. - /// - public ref ImGuiDockContext DockContext => ref Unsafe.AsRef(&Handle->DockContext); - /// - /// To be documented. - /// - public void* DockNodeWindowMenuHandler { get => Handle->DockNodeWindowMenuHandler; set => Handle->DockNodeWindowMenuHandler = value; } - /// - /// To be documented. - /// - public ref bool SettingsLoaded => ref Unsafe.AsRef(&Handle->SettingsLoaded); - /// - /// To be documented. - /// - public ref float SettingsDirtyTimer => ref Unsafe.AsRef(&Handle->SettingsDirtyTimer); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer SettingsIniData => ref Unsafe.AsRef(&Handle->SettingsIniData); - /// - /// To be documented. - /// - public ref ImVector SettingsHandlers => ref Unsafe.AsRef>(&Handle->SettingsHandlers); - /// - /// To be documented. - /// - public ref ImChunkStreamImGuiWindowSettings SettingsWindows => ref Unsafe.AsRef(&Handle->SettingsWindows); - /// - /// To be documented. - /// - public ref ImChunkStreamImGuiTableSettings SettingsTables => ref Unsafe.AsRef(&Handle->SettingsTables); - /// - /// To be documented. - /// - public ref ImVector Hooks => ref Unsafe.AsRef>(&Handle->Hooks); - /// - /// To be documented. - /// - public ref uint HookIdNext => ref Unsafe.AsRef(&Handle->HookIdNext); - /// - /// To be documented. - /// - /// - /// To be documented. - /// - public ref bool LogEnabled => ref Unsafe.AsRef(&Handle->LogEnabled); - /// - /// To be documented. - /// - public ref ImGuiLogFlags LogFlags => ref Unsafe.AsRef(&Handle->LogFlags); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr LogWindow => ref Unsafe.AsRef(&Handle->LogWindow); - /// - /// To be documented. - /// - public ref ImFileHandle LogFile => ref Unsafe.AsRef(&Handle->LogFile); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer LogBuffer => ref Unsafe.AsRef(&Handle->LogBuffer); - /// - /// To be documented. - /// - public byte* LogNextPrefix { get => Handle->LogNextPrefix; set => Handle->LogNextPrefix = value; } - /// - /// To be documented. - /// - public byte* LogNextSuffix { get => Handle->LogNextSuffix; set => Handle->LogNextSuffix = value; } - /// - /// To be documented. - /// - public ref float LogLinePosY => ref Unsafe.AsRef(&Handle->LogLinePosY); - /// - /// To be documented. - /// - public ref bool LogLineFirstItem => ref Unsafe.AsRef(&Handle->LogLineFirstItem); - /// - /// To be documented. - /// - public ref int LogDepthRef => ref Unsafe.AsRef(&Handle->LogDepthRef); - /// - /// To be documented. - /// - public ref int LogDepthToExpand => ref Unsafe.AsRef(&Handle->LogDepthToExpand); - /// - /// To be documented. - /// - public ref int LogDepthToExpandDefault => ref Unsafe.AsRef(&Handle->LogDepthToExpandDefault); - /// - /// To be documented. - /// - public void* ErrorCallback { get => Handle->ErrorCallback; set => Handle->ErrorCallback = value; } - /// - /// To be documented. - /// - public void* ErrorCallbackUserData { get => Handle->ErrorCallbackUserData; set => Handle->ErrorCallbackUserData = value; } - /// - /// To be documented. - /// - public ref Vector2 ErrorTooltipLockedPos => ref Unsafe.AsRef(&Handle->ErrorTooltipLockedPos); - /// - /// To be documented. - /// - public ref bool ErrorFirst => ref Unsafe.AsRef(&Handle->ErrorFirst); - /// - /// To be documented. - /// - public ref int ErrorCountCurrentFrame => ref Unsafe.AsRef(&Handle->ErrorCountCurrentFrame); - /// - /// To be documented. - /// - public ref ImGuiErrorRecoveryState StackSizesInNewFrame => ref Unsafe.AsRef(&Handle->StackSizesInNewFrame); - /// - /// To be documented. - /// - public ref ImGuiErrorRecoveryStatePtr StackSizesInBeginForCurrentWindow => ref Unsafe.AsRef(&Handle->StackSizesInBeginForCurrentWindow); - /// - /// To be documented. - /// - public ref int DebugDrawIdConflictsCount => ref Unsafe.AsRef(&Handle->DebugDrawIdConflictsCount); - /// - /// To be documented. - /// - public ref ImGuiDebugLogFlags DebugLogFlags => ref Unsafe.AsRef(&Handle->DebugLogFlags); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer DebugLogBuf => ref Unsafe.AsRef(&Handle->DebugLogBuf); - /// - /// To be documented. - /// - public ref ImGuiTextIndex DebugLogIndex => ref Unsafe.AsRef(&Handle->DebugLogIndex); - /// - /// To be documented. - /// - public ref int DebugLogSkippedErrors => ref Unsafe.AsRef(&Handle->DebugLogSkippedErrors); - /// - /// To be documented. - /// - public ref ImGuiDebugLogFlags DebugLogAutoDisableFlags => ref Unsafe.AsRef(&Handle->DebugLogAutoDisableFlags); - /// - /// To be documented. - /// - public ref byte DebugLogAutoDisableFrames => ref Unsafe.AsRef(&Handle->DebugLogAutoDisableFrames); - /// - /// To be documented. - /// - public ref byte DebugLocateFrames => ref Unsafe.AsRef(&Handle->DebugLocateFrames); - /// - /// To be documented. - /// - public ref bool DebugBreakInLocateId => ref Unsafe.AsRef(&Handle->DebugBreakInLocateId); - /// - /// To be documented. - /// - public ref int DebugBreakKeyChord => ref Unsafe.AsRef(&Handle->DebugBreakKeyChord); - /// - /// To be documented. - /// - public ref byte DebugBeginReturnValueCullDepth => ref Unsafe.AsRef(&Handle->DebugBeginReturnValueCullDepth); - /// - /// To be documented. - /// - public ref bool DebugItemPickerActive => ref Unsafe.AsRef(&Handle->DebugItemPickerActive); - /// - /// To be documented. - /// - public ref byte DebugItemPickerMouseButton => ref Unsafe.AsRef(&Handle->DebugItemPickerMouseButton); - /// - /// To be documented. - /// - public ref uint DebugItemPickerBreakId => ref Unsafe.AsRef(&Handle->DebugItemPickerBreakId); - /// - /// To be documented. - /// - public ref float DebugFlashStyleColorTime => ref Unsafe.AsRef(&Handle->DebugFlashStyleColorTime); - /// - /// To be documented. - /// - public ref Vector4 DebugFlashStyleColorBackup => ref Unsafe.AsRef(&Handle->DebugFlashStyleColorBackup); - /// - /// To be documented. - /// - public ref ImGuiMetricsConfig DebugMetricsConfig => ref Unsafe.AsRef(&Handle->DebugMetricsConfig); - /// - /// To be documented. - /// - public ref ImGuiIDStackTool DebugIDStackTool => ref Unsafe.AsRef(&Handle->DebugIDStackTool); - /// - /// To be documented. - /// - public ref ImGuiDebugAllocInfo DebugAllocInfo => ref Unsafe.AsRef(&Handle->DebugAllocInfo); - /// - /// To be documented. - /// - public ref ImGuiDockNodePtr DebugHoveredDockNode => ref Unsafe.AsRef(&Handle->DebugHoveredDockNode); - /// - /// To be documented. - /// - public unsafe Span FramerateSecPerFrame - - { - get - { - return new Span(&Handle->FramerateSecPerFrame_0, 60); - } - } - /// - /// To be documented. - /// - public ref int FramerateSecPerFrameIdx => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameIdx); - /// - /// To be documented. - /// - public ref int FramerateSecPerFrameCount => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameCount); - /// - /// To be documented. - /// - public ref float FramerateSecPerFrameAccum => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameAccum); - /// - /// To be documented. - /// - public ref int WantCaptureMouseNextFrame => ref Unsafe.AsRef(&Handle->WantCaptureMouseNextFrame); - /// - /// To be documented. - /// - public ref int WantCaptureKeyboardNextFrame => ref Unsafe.AsRef(&Handle->WantCaptureKeyboardNextFrame); - /// - /// To be documented. - /// - public ref int WantTextInputNextFrame => ref Unsafe.AsRef(&Handle->WantTextInputNextFrame); - /// - /// To be documented. - /// - public ref ImVector TempBuffer => ref Unsafe.AsRef>(&Handle->TempBuffer); - /// - /// To be documented. - /// - public unsafe Span TempKeychordName - - { - get - { - return new Span(&Handle->TempKeychordName_0, 64); - } - } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiContextHook.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiContextHook.cs deleted file mode 100644 index a63336d61..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiContextHook.cs +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiContextHook - { - /// - /// To be documented. - /// - public uint HookId; - - /// - /// To be documented. - /// - public ImGuiContextHookType Type; - - /// - /// To be documented. - /// - public uint Owner; - - /// - /// To be documented. - /// - public unsafe void* Callback; - /// - /// To be documented. - /// - public unsafe void* UserData; - - - /// - /// To be documented. - /// - public unsafe ImGuiContextHook(uint hookId = default, ImGuiContextHookType type = default, uint owner = default, ImGuiContextHookCallback callback = default, void* userData = default) - { - HookId = hookId; - Type = type; - Owner = owner; - Callback = (void*)Marshal.GetFunctionPointerForDelegate(callback); - UserData = userData; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiContextHookPtr : IEquatable - { - public ImGuiContextHookPtr(ImGuiContextHook* handle) { Handle = handle; } - - public ImGuiContextHook* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiContextHookPtr Null => new ImGuiContextHookPtr(null); - - public ImGuiContextHook this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiContextHookPtr(ImGuiContextHook* handle) => new ImGuiContextHookPtr(handle); - - public static implicit operator ImGuiContextHook*(ImGuiContextHookPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiContextHookPtr left, ImGuiContextHookPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiContextHookPtr left, ImGuiContextHookPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiContextHookPtr left, ImGuiContextHook* right) => left.Handle == right; - - public static bool operator !=(ImGuiContextHookPtr left, ImGuiContextHook* right) => left.Handle != right; - - public bool Equals(ImGuiContextHookPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiContextHookPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiContextHookPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint HookId => ref Unsafe.AsRef(&Handle->HookId); - /// - /// To be documented. - /// - public ref ImGuiContextHookType Type => ref Unsafe.AsRef(&Handle->Type); - /// - /// To be documented. - /// - public ref uint Owner => ref Unsafe.AsRef(&Handle->Owner); - /// - /// To be documented. - /// - public void* Callback { get => Handle->Callback; set => Handle->Callback = value; } - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs deleted file mode 100644 index c6eff9f90..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeInfo.cs +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDataTypeInfo - { - /// - /// To be documented. - /// - public ulong Size; - - /// - /// To be documented. - /// - public unsafe byte* Name; - - /// - /// To be documented. - /// - public unsafe byte* PrintFmt; - - /// - /// To be documented. - /// - public unsafe byte* ScanFmt; - - - /// - /// To be documented. - /// - public unsafe ImGuiDataTypeInfo(ulong size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default) - { - Size = size; - Name = name; - PrintFmt = printFmt; - ScanFmt = scanFmt; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiDataTypeInfoPtr : IEquatable - { - public ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* handle) { Handle = handle; } - - public ImGuiDataTypeInfo* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiDataTypeInfoPtr Null => new ImGuiDataTypeInfoPtr(null); - - public ImGuiDataTypeInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* handle) => new ImGuiDataTypeInfoPtr(handle); - - public static implicit operator ImGuiDataTypeInfo*(ImGuiDataTypeInfoPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfoPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfoPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfo* right) => left.Handle == right; - - public static bool operator !=(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfo* right) => left.Handle != right; - - public bool Equals(ImGuiDataTypeInfoPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiDataTypeInfoPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiDataTypeInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ulong Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public byte* Name { get => Handle->Name; set => Handle->Name = value; } - /// - /// To be documented. - /// - public byte* PrintFmt { get => Handle->PrintFmt; set => Handle->PrintFmt = value; } - /// - /// To be documented. - /// - public byte* ScanFmt { get => Handle->ScanFmt; set => Handle->ScanFmt = value; } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeStorage.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeStorage.cs deleted file mode 100644 index efd1293f0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDataTypeStorage.cs +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDataTypeStorage - { - /// - /// To be documented. - /// - public byte Data_0; - public byte Data_1; - public byte Data_2; - public byte Data_3; - public byte Data_4; - public byte Data_5; - public byte Data_6; - public byte Data_7; - - - /// - /// To be documented. - /// - public unsafe ImGuiDataTypeStorage(byte* data = default) - { - if (data != default(byte*)) - { - Data_0 = data[0]; - Data_1 = data[1]; - Data_2 = data[2]; - Data_3 = data[3]; - Data_4 = data[4]; - Data_5 = data[5]; - Data_6 = data[6]; - Data_7 = data[7]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiDataTypeStorage(Span data = default) - { - if (data != default(Span)) - { - Data_0 = data[0]; - Data_1 = data[1]; - Data_2 = data[2]; - Data_3 = data[3]; - Data_4 = data[4]; - Data_5 = data[5]; - Data_6 = data[6]; - Data_7 = data[7]; - } - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDeactivatedItemData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDeactivatedItemData.cs deleted file mode 100644 index 72b289693..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDeactivatedItemData.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Data used by IsItemDeactivated()IsItemDeactivatedAfterEdit() functions
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDeactivatedItemData - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public int ElapseFrame; - - /// - /// To be documented. - /// - public byte HasBeenEditedBefore; - - /// - /// To be documented. - /// - public byte IsAlive; - - - /// - /// To be documented. - /// - public unsafe ImGuiDeactivatedItemData(uint id = default, int elapseFrame = default, bool hasBeenEditedBefore = default, bool isAlive = default) - { - ID = id; - ElapseFrame = elapseFrame; - HasBeenEditedBefore = hasBeenEditedBefore ? (byte)1 : (byte)0; - IsAlive = isAlive ? (byte)1 : (byte)0; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocEntry.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocEntry.cs deleted file mode 100644 index d773f2356..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocEntry.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDebugAllocEntry - { - /// - /// To be documented. - /// - public int FrameCount; - - /// - /// To be documented. - /// - public short AllocCount; - - /// - /// To be documented. - /// - public short FreeCount; - - - /// - /// To be documented. - /// - public unsafe ImGuiDebugAllocEntry(int frameCount = default, short allocCount = default, short freeCount = default) - { - FrameCount = frameCount; - AllocCount = allocCount; - FreeCount = freeCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocInfo.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocInfo.cs deleted file mode 100644 index 46f1d093b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDebugAllocInfo.cs +++ /dev/null @@ -1,172 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDebugAllocInfo - { - /// - /// To be documented. - /// - public int TotalAllocCount; - - /// - /// To be documented. - /// - public int TotalFreeCount; - - /// - /// To be documented. - /// - public short LastEntriesIdx; - - /// - /// To be documented. - /// - public ImGuiDebugAllocEntry LastEntriesBuf_0; - public ImGuiDebugAllocEntry LastEntriesBuf_1; - public ImGuiDebugAllocEntry LastEntriesBuf_2; - public ImGuiDebugAllocEntry LastEntriesBuf_3; - public ImGuiDebugAllocEntry LastEntriesBuf_4; - public ImGuiDebugAllocEntry LastEntriesBuf_5; - - - /// - /// To be documented. - /// - public unsafe ImGuiDebugAllocInfo(int totalAllocCount = default, int totalFreeCount = default, short lastEntriesIdx = default, ImGuiDebugAllocEntry* lastEntriesBuf = default) - { - TotalAllocCount = totalAllocCount; - TotalFreeCount = totalFreeCount; - LastEntriesIdx = lastEntriesIdx; - if (lastEntriesBuf != default(ImGuiDebugAllocEntry*)) - { - LastEntriesBuf_0 = lastEntriesBuf[0]; - LastEntriesBuf_1 = lastEntriesBuf[1]; - LastEntriesBuf_2 = lastEntriesBuf[2]; - LastEntriesBuf_3 = lastEntriesBuf[3]; - LastEntriesBuf_4 = lastEntriesBuf[4]; - LastEntriesBuf_5 = lastEntriesBuf[5]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiDebugAllocInfo(int totalAllocCount = default, int totalFreeCount = default, short lastEntriesIdx = default, Span lastEntriesBuf = default) - { - TotalAllocCount = totalAllocCount; - TotalFreeCount = totalFreeCount; - LastEntriesIdx = lastEntriesIdx; - if (lastEntriesBuf != default(Span)) - { - LastEntriesBuf_0 = lastEntriesBuf[0]; - LastEntriesBuf_1 = lastEntriesBuf[1]; - LastEntriesBuf_2 = lastEntriesBuf[2]; - LastEntriesBuf_3 = lastEntriesBuf[3]; - LastEntriesBuf_4 = lastEntriesBuf[4]; - LastEntriesBuf_5 = lastEntriesBuf[5]; - } - } - - - /// - /// To be documented. - /// - public unsafe Span LastEntriesBuf - - { - get - { - fixed (ImGuiDebugAllocEntry* p = &this.LastEntriesBuf_0) - { - return new Span(p, 6); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiDebugAllocInfoPtr : IEquatable - { - public ImGuiDebugAllocInfoPtr(ImGuiDebugAllocInfo* handle) { Handle = handle; } - - public ImGuiDebugAllocInfo* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiDebugAllocInfoPtr Null => new ImGuiDebugAllocInfoPtr(null); - - public ImGuiDebugAllocInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiDebugAllocInfoPtr(ImGuiDebugAllocInfo* handle) => new ImGuiDebugAllocInfoPtr(handle); - - public static implicit operator ImGuiDebugAllocInfo*(ImGuiDebugAllocInfoPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiDebugAllocInfoPtr left, ImGuiDebugAllocInfoPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiDebugAllocInfoPtr left, ImGuiDebugAllocInfoPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiDebugAllocInfoPtr left, ImGuiDebugAllocInfo* right) => left.Handle == right; - - public static bool operator !=(ImGuiDebugAllocInfoPtr left, ImGuiDebugAllocInfo* right) => left.Handle != right; - - public bool Equals(ImGuiDebugAllocInfoPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiDebugAllocInfoPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiDebugAllocInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int TotalAllocCount => ref Unsafe.AsRef(&Handle->TotalAllocCount); - /// - /// To be documented. - /// - public ref int TotalFreeCount => ref Unsafe.AsRef(&Handle->TotalFreeCount); - /// - /// To be documented. - /// - public ref short LastEntriesIdx => ref Unsafe.AsRef(&Handle->LastEntriesIdx); - /// - /// To be documented. - /// - public unsafe Span LastEntriesBuf - - { - get - { - return new Span(&Handle->LastEntriesBuf_0, 6); - } - } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockContext.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockContext.cs deleted file mode 100644 index dd059efe8..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockContext.cs +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDockContext - { - /// - /// To be documented. - /// - public ImGuiStorage Nodes; - - /// - /// To be documented. - /// - public ImVector Requests; - - /// - /// To be documented. - /// - public ImVector NodesSettings; - - /// - /// To be documented. - /// - public byte WantFullRebuild; - - - /// - /// To be documented. - /// - public unsafe ImGuiDockContext(ImGuiStorage nodes = default, ImVector requests = default, ImVector nodesSettings = default, bool wantFullRebuild = default) - { - Nodes = nodes; - Requests = requests; - NodesSettings = nodesSettings; - WantFullRebuild = wantFullRebuild ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiDockContextPtr : IEquatable - { - public ImGuiDockContextPtr(ImGuiDockContext* handle) { Handle = handle; } - - public ImGuiDockContext* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiDockContextPtr Null => new ImGuiDockContextPtr(null); - - public ImGuiDockContext this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiDockContextPtr(ImGuiDockContext* handle) => new ImGuiDockContextPtr(handle); - - public static implicit operator ImGuiDockContext*(ImGuiDockContextPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiDockContextPtr left, ImGuiDockContextPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiDockContextPtr left, ImGuiDockContextPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiDockContextPtr left, ImGuiDockContext* right) => left.Handle == right; - - public static bool operator !=(ImGuiDockContextPtr left, ImGuiDockContext* right) => left.Handle != right; - - public bool Equals(ImGuiDockContextPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiDockContextPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiDockContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiStorage Nodes => ref Unsafe.AsRef(&Handle->Nodes); - /// - /// To be documented. - /// - public ref ImVector Requests => ref Unsafe.AsRef>(&Handle->Requests); - /// - /// To be documented. - /// - public ref ImVector NodesSettings => ref Unsafe.AsRef>(&Handle->NodesSettings); - /// - /// To be documented. - /// - public ref bool WantFullRebuild => ref Unsafe.AsRef(&Handle->WantFullRebuild); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNode.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNode.cs deleted file mode 100644 index 078272887..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNode.cs +++ /dev/null @@ -1,570 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// sizeof() 156~192
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDockNode - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiDockNodeFlags SharedFlags; - - /// - /// To be documented. - /// - public ImGuiDockNodeFlags LocalFlags; - - /// - /// To be documented. - /// - public ImGuiDockNodeFlags LocalFlagsInWindows; - - /// - /// To be documented. - /// - public ImGuiDockNodeFlags MergedFlags; - - /// - /// To be documented. - /// - public ImGuiDockNodeState State; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* ParentNode; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* ChildNodes_0; - public unsafe ImGuiDockNode* ChildNodes_1; - - /// - /// To be documented. - /// - public ImVector Windows; - - /// - /// To be documented. - /// - public unsafe ImGuiTabBar* TabBar; - - /// - /// To be documented. - /// - public Vector2 Pos; - - /// - /// To be documented. - /// - public Vector2 Size; - - /// - /// To be documented. - /// - public Vector2 SizeRef; - - /// - /// To be documented. - /// - public ImGuiAxis SplitAxis; - - /// - /// To be documented. - /// - public ImGuiWindowClass WindowClass; - - /// - /// To be documented. - /// - public uint LastBgColor; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* HostWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* VisibleWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* CentralNode; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* OnlyNodeWithWindows; - - /// - /// To be documented. - /// - public int CountNodeWithWindows; - - /// - /// To be documented. - /// - public int LastFrameAlive; - - /// - /// To be documented. - /// - public int LastFrameActive; - - /// - /// To be documented. - /// - public int LastFrameFocused; - - /// - /// To be documented. - /// - public uint LastFocusedNodeId; - - /// - /// To be documented. - /// - public uint SelectedTabId; - - /// - /// To be documented. - /// - public uint WantCloseTabId; - - /// - /// To be documented. - /// - public uint RefViewportId; - - /// - /// To be documented. - /// - public ImGuiDataAuthority AuthorityForPos; - - /// - /// To be documented. - /// - public ImGuiDataAuthority AuthorityForSize; - - /// - /// To be documented. - /// - public ImGuiDataAuthority AuthorityForViewport; - - /// - /// To be documented. - /// - public byte IsVisible; - - /// - /// To be documented. - /// - public byte IsFocused; - - /// - /// To be documented. - /// - public byte IsBgDrawnThisFrame; - - /// - /// To be documented. - /// - public byte HasCloseButton; - - /// - /// To be documented. - /// - public byte HasWindowMenuButton; - - /// - /// To be documented. - /// - public byte HasCentralNodeChild; - - /// - /// To be documented. - /// - public byte WantCloseAll; - - /// - /// To be documented. - /// - public byte WantLockSizeOnce; - - /// - /// To be documented. - /// - public byte WantMouseMove; - - /// - /// To be documented. - /// - public byte WantHiddenTabBarUpdate; - - /// - /// To be documented. - /// - public byte WantHiddenTabBarToggle; - - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode(uint id = default, ImGuiDockNodeFlags sharedFlags = default, ImGuiDockNodeFlags localFlags = default, ImGuiDockNodeFlags localFlagsInWindows = default, ImGuiDockNodeFlags mergedFlags = default, ImGuiDockNodeState state = default, ImGuiDockNode* parentNode = default, ImGuiDockNode** childNodes = default, ImVector windows = default, ImGuiTabBar* tabBar = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeRef = default, ImGuiAxis splitAxis = default, ImGuiWindowClass windowClass = default, uint lastBgColor = default, ImGuiWindowPtr hostWindow = default, ImGuiWindowPtr visibleWindow = default, ImGuiDockNode* centralNode = default, ImGuiDockNode* onlyNodeWithWindows = default, int countNodeWithWindows = default, int lastFrameAlive = default, int lastFrameActive = default, int lastFrameFocused = default, uint lastFocusedNodeId = default, uint selectedTabId = default, uint wantCloseTabId = default, uint refViewportId = default, ImGuiDataAuthority authorityForPos = default, ImGuiDataAuthority authorityForSize = default, ImGuiDataAuthority authorityForViewport = default, bool isVisible = default, bool isFocused = default, bool isBgDrawnThisFrame = default, bool hasCloseButton = default, bool hasWindowMenuButton = default, bool hasCentralNodeChild = default, bool wantCloseAll = default, bool wantLockSizeOnce = default, bool wantMouseMove = default, bool wantHiddenTabBarUpdate = default, bool wantHiddenTabBarToggle = default) - { - ID = id; - SharedFlags = sharedFlags; - LocalFlags = localFlags; - LocalFlagsInWindows = localFlagsInWindows; - MergedFlags = mergedFlags; - State = state; - ParentNode = parentNode; - if (childNodes != default(ImGuiDockNode**)) - { - ChildNodes_0 = childNodes[0]; - ChildNodes_1 = childNodes[1]; - } - Windows = windows; - TabBar = tabBar; - Pos = pos; - Size = size; - SizeRef = sizeRef; - SplitAxis = splitAxis; - WindowClass = windowClass; - LastBgColor = lastBgColor; - HostWindow = hostWindow; - VisibleWindow = visibleWindow; - CentralNode = centralNode; - OnlyNodeWithWindows = onlyNodeWithWindows; - CountNodeWithWindows = countNodeWithWindows; - LastFrameAlive = lastFrameAlive; - LastFrameActive = lastFrameActive; - LastFrameFocused = lastFrameFocused; - LastFocusedNodeId = lastFocusedNodeId; - SelectedTabId = selectedTabId; - WantCloseTabId = wantCloseTabId; - RefViewportId = refViewportId; - AuthorityForPos = authorityForPos; - AuthorityForSize = authorityForSize; - AuthorityForViewport = authorityForViewport; - IsVisible = isVisible ? (byte)1 : (byte)0; - IsFocused = isFocused ? (byte)1 : (byte)0; - IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0; - HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; - HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0; - HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0; - WantCloseAll = wantCloseAll ? (byte)1 : (byte)0; - WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0; - WantMouseMove = wantMouseMove ? (byte)1 : (byte)0; - WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0; - WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode(uint id = default, ImGuiDockNodeFlags sharedFlags = default, ImGuiDockNodeFlags localFlags = default, ImGuiDockNodeFlags localFlagsInWindows = default, ImGuiDockNodeFlags mergedFlags = default, ImGuiDockNodeState state = default, ImGuiDockNode* parentNode = default, Span> childNodes = default, ImVector windows = default, ImGuiTabBar* tabBar = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeRef = default, ImGuiAxis splitAxis = default, ImGuiWindowClass windowClass = default, uint lastBgColor = default, ImGuiWindowPtr hostWindow = default, ImGuiWindowPtr visibleWindow = default, ImGuiDockNode* centralNode = default, ImGuiDockNode* onlyNodeWithWindows = default, int countNodeWithWindows = default, int lastFrameAlive = default, int lastFrameActive = default, int lastFrameFocused = default, uint lastFocusedNodeId = default, uint selectedTabId = default, uint wantCloseTabId = default, uint refViewportId = default, ImGuiDataAuthority authorityForPos = default, ImGuiDataAuthority authorityForSize = default, ImGuiDataAuthority authorityForViewport = default, bool isVisible = default, bool isFocused = default, bool isBgDrawnThisFrame = default, bool hasCloseButton = default, bool hasWindowMenuButton = default, bool hasCentralNodeChild = default, bool wantCloseAll = default, bool wantLockSizeOnce = default, bool wantMouseMove = default, bool wantHiddenTabBarUpdate = default, bool wantHiddenTabBarToggle = default) - { - ID = id; - SharedFlags = sharedFlags; - LocalFlags = localFlags; - LocalFlagsInWindows = localFlagsInWindows; - MergedFlags = mergedFlags; - State = state; - ParentNode = parentNode; - if (childNodes != default(Span>)) - { - ChildNodes_0 = childNodes[0]; - ChildNodes_1 = childNodes[1]; - } - Windows = windows; - TabBar = tabBar; - Pos = pos; - Size = size; - SizeRef = sizeRef; - SplitAxis = splitAxis; - WindowClass = windowClass; - LastBgColor = lastBgColor; - HostWindow = hostWindow; - VisibleWindow = visibleWindow; - CentralNode = centralNode; - OnlyNodeWithWindows = onlyNodeWithWindows; - CountNodeWithWindows = countNodeWithWindows; - LastFrameAlive = lastFrameAlive; - LastFrameActive = lastFrameActive; - LastFrameFocused = lastFrameFocused; - LastFocusedNodeId = lastFocusedNodeId; - SelectedTabId = selectedTabId; - WantCloseTabId = wantCloseTabId; - RefViewportId = refViewportId; - AuthorityForPos = authorityForPos; - AuthorityForSize = authorityForSize; - AuthorityForViewport = authorityForViewport; - IsVisible = isVisible ? (byte)1 : (byte)0; - IsFocused = isFocused ? (byte)1 : (byte)0; - IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0; - HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; - HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0; - HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0; - WantCloseAll = wantCloseAll ? (byte)1 : (byte)0; - WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0; - WantMouseMove = wantMouseMove ? (byte)1 : (byte)0; - WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0; - WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe Span> ChildNodes - - { - get - { - fixed (ImGuiDockNode** p = &this.ChildNodes_0) - { - return new Span>(p, 2); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiDockNodePtr : IEquatable - { - public ImGuiDockNodePtr(ImGuiDockNode* handle) { Handle = handle; } - - public ImGuiDockNode* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiDockNodePtr Null => new ImGuiDockNodePtr(null); - - public ImGuiDockNode this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiDockNodePtr(ImGuiDockNode* handle) => new ImGuiDockNodePtr(handle); - - public static implicit operator ImGuiDockNode*(ImGuiDockNodePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiDockNodePtr left, ImGuiDockNodePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiDockNodePtr left, ImGuiDockNodePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiDockNodePtr left, ImGuiDockNode* right) => left.Handle == right; - - public static bool operator !=(ImGuiDockNodePtr left, ImGuiDockNode* right) => left.Handle != right; - - public bool Equals(ImGuiDockNodePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiDockNodePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiDockNodePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiDockNodeFlags SharedFlags => ref Unsafe.AsRef(&Handle->SharedFlags); - /// - /// To be documented. - /// - public ref ImGuiDockNodeFlags LocalFlags => ref Unsafe.AsRef(&Handle->LocalFlags); - /// - /// To be documented. - /// - public ref ImGuiDockNodeFlags LocalFlagsInWindows => ref Unsafe.AsRef(&Handle->LocalFlagsInWindows); - /// - /// To be documented. - /// - public ref ImGuiDockNodeFlags MergedFlags => ref Unsafe.AsRef(&Handle->MergedFlags); - /// - /// To be documented. - /// - public ref ImGuiDockNodeState State => ref Unsafe.AsRef(&Handle->State); - /// - /// To be documented. - /// - public ref ImGuiDockNodePtr ParentNode => ref Unsafe.AsRef(&Handle->ParentNode); - /// - /// To be documented. - /// - /// - /// To be documented. - /// - public ref ImVector Windows => ref Unsafe.AsRef>(&Handle->Windows); - /// - /// To be documented. - /// - public ref ImGuiTabBarPtr TabBar => ref Unsafe.AsRef(&Handle->TabBar); - /// - /// To be documented. - /// - public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public ref Vector2 SizeRef => ref Unsafe.AsRef(&Handle->SizeRef); - /// - /// To be documented. - /// - public ref ImGuiAxis SplitAxis => ref Unsafe.AsRef(&Handle->SplitAxis); - /// - /// To be documented. - /// - public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); - /// - /// To be documented. - /// - public ref uint LastBgColor => ref Unsafe.AsRef(&Handle->LastBgColor); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr HostWindow => ref Unsafe.AsRef(&Handle->HostWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr VisibleWindow => ref Unsafe.AsRef(&Handle->VisibleWindow); - /// - /// To be documented. - /// - public ref ImGuiDockNodePtr CentralNode => ref Unsafe.AsRef(&Handle->CentralNode); - /// - /// To be documented. - /// - public ref ImGuiDockNodePtr OnlyNodeWithWindows => ref Unsafe.AsRef(&Handle->OnlyNodeWithWindows); - /// - /// To be documented. - /// - public ref int CountNodeWithWindows => ref Unsafe.AsRef(&Handle->CountNodeWithWindows); - /// - /// To be documented. - /// - public ref int LastFrameAlive => ref Unsafe.AsRef(&Handle->LastFrameAlive); - /// - /// To be documented. - /// - public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); - /// - /// To be documented. - /// - public ref int LastFrameFocused => ref Unsafe.AsRef(&Handle->LastFrameFocused); - /// - /// To be documented. - /// - public ref uint LastFocusedNodeId => ref Unsafe.AsRef(&Handle->LastFocusedNodeId); - /// - /// To be documented. - /// - public ref uint SelectedTabId => ref Unsafe.AsRef(&Handle->SelectedTabId); - /// - /// To be documented. - /// - public ref uint WantCloseTabId => ref Unsafe.AsRef(&Handle->WantCloseTabId); - /// - /// To be documented. - /// - public ref uint RefViewportId => ref Unsafe.AsRef(&Handle->RefViewportId); - /// - /// To be documented. - /// - public ref ImGuiDataAuthority AuthorityForPos => ref Unsafe.AsRef(&Handle->AuthorityForPos); - /// - /// To be documented. - /// - public ref ImGuiDataAuthority AuthorityForSize => ref Unsafe.AsRef(&Handle->AuthorityForSize); - /// - /// To be documented. - /// - public ref ImGuiDataAuthority AuthorityForViewport => ref Unsafe.AsRef(&Handle->AuthorityForViewport); - /// - /// To be documented. - /// - public ref bool IsVisible => ref Unsafe.AsRef(&Handle->IsVisible); - /// - /// To be documented. - /// - public ref bool IsFocused => ref Unsafe.AsRef(&Handle->IsFocused); - /// - /// To be documented. - /// - public ref bool IsBgDrawnThisFrame => ref Unsafe.AsRef(&Handle->IsBgDrawnThisFrame); - /// - /// To be documented. - /// - public ref bool HasCloseButton => ref Unsafe.AsRef(&Handle->HasCloseButton); - /// - /// To be documented. - /// - public ref bool HasWindowMenuButton => ref Unsafe.AsRef(&Handle->HasWindowMenuButton); - /// - /// To be documented. - /// - public ref bool HasCentralNodeChild => ref Unsafe.AsRef(&Handle->HasCentralNodeChild); - /// - /// To be documented. - /// - public ref bool WantCloseAll => ref Unsafe.AsRef(&Handle->WantCloseAll); - /// - /// To be documented. - /// - public ref bool WantLockSizeOnce => ref Unsafe.AsRef(&Handle->WantLockSizeOnce); - /// - /// To be documented. - /// - public ref bool WantMouseMove => ref Unsafe.AsRef(&Handle->WantMouseMove); - /// - /// To be documented. - /// - public ref bool WantHiddenTabBarUpdate => ref Unsafe.AsRef(&Handle->WantHiddenTabBarUpdate); - /// - /// To be documented. - /// - public ref bool WantHiddenTabBarToggle => ref Unsafe.AsRef(&Handle->WantHiddenTabBarToggle); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs deleted file mode 100644 index 671c556b3..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockNodeSettings.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDockNodeSettings - { - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiDockNodeSettingsPtr : IEquatable - { - public ImGuiDockNodeSettingsPtr(ImGuiDockNodeSettings* handle) { Handle = handle; } - - public ImGuiDockNodeSettings* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiDockNodeSettingsPtr Null => new ImGuiDockNodeSettingsPtr(null); - - public ImGuiDockNodeSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiDockNodeSettingsPtr(ImGuiDockNodeSettings* handle) => new ImGuiDockNodeSettingsPtr(handle); - - public static implicit operator ImGuiDockNodeSettings*(ImGuiDockNodeSettingsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettingsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettingsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettings* right) => left.Handle == right; - - public static bool operator !=(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettings* right) => left.Handle != right; - - public bool Equals(ImGuiDockNodeSettingsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiDockNodeSettingsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiDockNodeSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockRequest.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockRequest.cs deleted file mode 100644 index d0c63d273..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiDockRequest.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiDockRequest - { - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiDockRequestPtr : IEquatable - { - public ImGuiDockRequestPtr(ImGuiDockRequest* handle) { Handle = handle; } - - public ImGuiDockRequest* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiDockRequestPtr Null => new ImGuiDockRequestPtr(null); - - public ImGuiDockRequest this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiDockRequestPtr(ImGuiDockRequest* handle) => new ImGuiDockRequestPtr(handle); - - public static implicit operator ImGuiDockRequest*(ImGuiDockRequestPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiDockRequestPtr left, ImGuiDockRequestPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiDockRequestPtr left, ImGuiDockRequestPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiDockRequestPtr left, ImGuiDockRequest* right) => left.Handle == right; - - public static bool operator !=(ImGuiDockRequestPtr left, ImGuiDockRequest* right) => left.Handle != right; - - public bool Equals(ImGuiDockRequestPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiDockRequestPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiDockRequestPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiErrorRecoveryState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiErrorRecoveryState.cs deleted file mode 100644 index 68051e376..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiErrorRecoveryState.cs +++ /dev/null @@ -1,189 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// sizeof() = 20
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiErrorRecoveryState - { - /// - /// To be documented. - /// - public short SizeOfWindowStack; - - /// - /// To be documented. - /// - public short SizeOfIDStack; - - /// - /// To be documented. - /// - public short SizeOfTreeStack; - - /// - /// To be documented. - /// - public short SizeOfColorStack; - - /// - /// To be documented. - /// - public short SizeOfStyleVarStack; - - /// - /// To be documented. - /// - public short SizeOfFontStack; - - /// - /// To be documented. - /// - public short SizeOfFocusScopeStack; - - /// - /// To be documented. - /// - public short SizeOfGroupStack; - - /// - /// To be documented. - /// - public short SizeOfItemFlagsStack; - - /// - /// To be documented. - /// - public short SizeOfBeginPopupStack; - - /// - /// To be documented. - /// - public short SizeOfDisabledStack; - - - /// - /// To be documented. - /// - public unsafe ImGuiErrorRecoveryState(short sizeOfWindowStack = default, short sizeOfIdStack = default, short sizeOfTreeStack = default, short sizeOfColorStack = default, short sizeOfStyleVarStack = default, short sizeOfFontStack = default, short sizeOfFocusScopeStack = default, short sizeOfGroupStack = default, short sizeOfItemFlagsStack = default, short sizeOfBeginPopupStack = default, short sizeOfDisabledStack = default) - { - SizeOfWindowStack = sizeOfWindowStack; - SizeOfIDStack = sizeOfIdStack; - SizeOfTreeStack = sizeOfTreeStack; - SizeOfColorStack = sizeOfColorStack; - SizeOfStyleVarStack = sizeOfStyleVarStack; - SizeOfFontStack = sizeOfFontStack; - SizeOfFocusScopeStack = sizeOfFocusScopeStack; - SizeOfGroupStack = sizeOfGroupStack; - SizeOfItemFlagsStack = sizeOfItemFlagsStack; - SizeOfBeginPopupStack = sizeOfBeginPopupStack; - SizeOfDisabledStack = sizeOfDisabledStack; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiErrorRecoveryStatePtr : IEquatable - { - public ImGuiErrorRecoveryStatePtr(ImGuiErrorRecoveryState* handle) { Handle = handle; } - - public ImGuiErrorRecoveryState* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiErrorRecoveryStatePtr Null => new ImGuiErrorRecoveryStatePtr(null); - - public ImGuiErrorRecoveryState this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiErrorRecoveryStatePtr(ImGuiErrorRecoveryState* handle) => new ImGuiErrorRecoveryStatePtr(handle); - - public static implicit operator ImGuiErrorRecoveryState*(ImGuiErrorRecoveryStatePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiErrorRecoveryStatePtr left, ImGuiErrorRecoveryStatePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiErrorRecoveryStatePtr left, ImGuiErrorRecoveryStatePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiErrorRecoveryStatePtr left, ImGuiErrorRecoveryState* right) => left.Handle == right; - - public static bool operator !=(ImGuiErrorRecoveryStatePtr left, ImGuiErrorRecoveryState* right) => left.Handle != right; - - public bool Equals(ImGuiErrorRecoveryStatePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiErrorRecoveryStatePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiErrorRecoveryStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref short SizeOfWindowStack => ref Unsafe.AsRef(&Handle->SizeOfWindowStack); - /// - /// To be documented. - /// - public ref short SizeOfIDStack => ref Unsafe.AsRef(&Handle->SizeOfIDStack); - /// - /// To be documented. - /// - public ref short SizeOfTreeStack => ref Unsafe.AsRef(&Handle->SizeOfTreeStack); - /// - /// To be documented. - /// - public ref short SizeOfColorStack => ref Unsafe.AsRef(&Handle->SizeOfColorStack); - /// - /// To be documented. - /// - public ref short SizeOfStyleVarStack => ref Unsafe.AsRef(&Handle->SizeOfStyleVarStack); - /// - /// To be documented. - /// - public ref short SizeOfFontStack => ref Unsafe.AsRef(&Handle->SizeOfFontStack); - /// - /// To be documented. - /// - public ref short SizeOfFocusScopeStack => ref Unsafe.AsRef(&Handle->SizeOfFocusScopeStack); - /// - /// To be documented. - /// - public ref short SizeOfGroupStack => ref Unsafe.AsRef(&Handle->SizeOfGroupStack); - /// - /// To be documented. - /// - public ref short SizeOfItemFlagsStack => ref Unsafe.AsRef(&Handle->SizeOfItemFlagsStack); - /// - /// To be documented. - /// - public ref short SizeOfBeginPopupStack => ref Unsafe.AsRef(&Handle->SizeOfBeginPopupStack); - /// - /// To be documented. - /// - public ref short SizeOfDisabledStack => ref Unsafe.AsRef(&Handle->SizeOfDisabledStack); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiFocusScopeData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiFocusScopeData.cs deleted file mode 100644 index adaf59959..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiFocusScopeData.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiFocusScopeData - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public uint WindowID; - - - /// - /// To be documented. - /// - public unsafe ImGuiFocusScopeData(uint id = default, uint windowId = default) - { - ID = id; - WindowID = windowId; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiFocusScopeDataPtr : IEquatable - { - public ImGuiFocusScopeDataPtr(ImGuiFocusScopeData* handle) { Handle = handle; } - - public ImGuiFocusScopeData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiFocusScopeDataPtr Null => new ImGuiFocusScopeDataPtr(null); - - public ImGuiFocusScopeData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiFocusScopeDataPtr(ImGuiFocusScopeData* handle) => new ImGuiFocusScopeDataPtr(handle); - - public static implicit operator ImGuiFocusScopeData*(ImGuiFocusScopeDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiFocusScopeDataPtr left, ImGuiFocusScopeDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiFocusScopeDataPtr left, ImGuiFocusScopeDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiFocusScopeDataPtr left, ImGuiFocusScopeData* right) => left.Handle == right; - - public static bool operator !=(ImGuiFocusScopeDataPtr left, ImGuiFocusScopeData* right) => left.Handle != right; - - public bool Equals(ImGuiFocusScopeDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiFocusScopeDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiFocusScopeDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref uint WindowID => ref Unsafe.AsRef(&Handle->WindowID); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiGroupData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiGroupData.cs deleted file mode 100644 index 44e663cfd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiGroupData.cs +++ /dev/null @@ -1,209 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Stacked storage data for BeginGroup()EndGroup()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiGroupData - { - /// - /// To be documented. - /// - public uint WindowID; - - /// - /// To be documented. - /// - public Vector2 BackupCursorPos; - - /// - /// To be documented. - /// - public Vector2 BackupCursorMaxPos; - - /// - /// To be documented. - /// - public Vector2 BackupCursorPosPrevLine; - - /// - /// To be documented. - /// - public ImVec1 BackupIndent; - - /// - /// To be documented. - /// - public ImVec1 BackupGroupOffset; - - /// - /// To be documented. - /// - public Vector2 BackupCurrLineSize; - - /// - /// To be documented. - /// - public float BackupCurrLineTextBaseOffset; - - /// - /// To be documented. - /// - public uint BackupActiveIdIsAlive; - - /// - /// To be documented. - /// - public byte BackupDeactivatedIdIsAlive; - - /// - /// To be documented. - /// - public byte BackupHoveredIdIsAlive; - - /// - /// To be documented. - /// - public byte BackupIsSameLine; - - /// - /// To be documented. - /// - public byte EmitItem; - - - /// - /// To be documented. - /// - public unsafe ImGuiGroupData(uint windowId = default, Vector2 backupCursorPos = default, Vector2 backupCursorMaxPos = default, Vector2 backupCursorPosPrevLine = default, ImVec1 backupIndent = default, ImVec1 backupGroupOffset = default, Vector2 backupCurrLineSize = default, float backupCurrLineTextBaseOffset = default, uint backupActiveIdIsAlive = default, bool backupDeactivatedIdIsAlive = default, bool backupHoveredIdIsAlive = default, bool backupIsSameLine = default, bool emitItem = default) - { - WindowID = windowId; - BackupCursorPos = backupCursorPos; - BackupCursorMaxPos = backupCursorMaxPos; - BackupCursorPosPrevLine = backupCursorPosPrevLine; - BackupIndent = backupIndent; - BackupGroupOffset = backupGroupOffset; - BackupCurrLineSize = backupCurrLineSize; - BackupCurrLineTextBaseOffset = backupCurrLineTextBaseOffset; - BackupActiveIdIsAlive = backupActiveIdIsAlive; - BackupDeactivatedIdIsAlive = backupDeactivatedIdIsAlive ? (byte)1 : (byte)0; - BackupHoveredIdIsAlive = backupHoveredIdIsAlive ? (byte)1 : (byte)0; - BackupIsSameLine = backupIsSameLine ? (byte)1 : (byte)0; - EmitItem = emitItem ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiGroupDataPtr : IEquatable - { - public ImGuiGroupDataPtr(ImGuiGroupData* handle) { Handle = handle; } - - public ImGuiGroupData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiGroupDataPtr Null => new ImGuiGroupDataPtr(null); - - public ImGuiGroupData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiGroupDataPtr(ImGuiGroupData* handle) => new ImGuiGroupDataPtr(handle); - - public static implicit operator ImGuiGroupData*(ImGuiGroupDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiGroupDataPtr left, ImGuiGroupDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiGroupDataPtr left, ImGuiGroupDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiGroupDataPtr left, ImGuiGroupData* right) => left.Handle == right; - - public static bool operator !=(ImGuiGroupDataPtr left, ImGuiGroupData* right) => left.Handle != right; - - public bool Equals(ImGuiGroupDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiGroupDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiGroupDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint WindowID => ref Unsafe.AsRef(&Handle->WindowID); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorPosPrevLine => ref Unsafe.AsRef(&Handle->BackupCursorPosPrevLine); - /// - /// To be documented. - /// - public ref ImVec1 BackupIndent => ref Unsafe.AsRef(&Handle->BackupIndent); - /// - /// To be documented. - /// - public ref ImVec1 BackupGroupOffset => ref Unsafe.AsRef(&Handle->BackupGroupOffset); - /// - /// To be documented. - /// - public ref Vector2 BackupCurrLineSize => ref Unsafe.AsRef(&Handle->BackupCurrLineSize); - /// - /// To be documented. - /// - public ref float BackupCurrLineTextBaseOffset => ref Unsafe.AsRef(&Handle->BackupCurrLineTextBaseOffset); - /// - /// To be documented. - /// - public ref uint BackupActiveIdIsAlive => ref Unsafe.AsRef(&Handle->BackupActiveIdIsAlive); - /// - /// To be documented. - /// - public ref bool BackupDeactivatedIdIsAlive => ref Unsafe.AsRef(&Handle->BackupDeactivatedIdIsAlive); - /// - /// To be documented. - /// - public ref bool BackupHoveredIdIsAlive => ref Unsafe.AsRef(&Handle->BackupHoveredIdIsAlive); - /// - /// To be documented. - /// - public ref bool BackupIsSameLine => ref Unsafe.AsRef(&Handle->BackupIsSameLine); - /// - /// To be documented. - /// - public ref bool EmitItem => ref Unsafe.AsRef(&Handle->EmitItem); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiIDStackTool.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiIDStackTool.cs deleted file mode 100644 index 5623555be..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiIDStackTool.cs +++ /dev/null @@ -1,149 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// State for ID Stack tool queries
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiIDStackTool - { - /// - /// To be documented. - /// - public int LastActiveFrame; - - /// - /// To be documented. - /// - public int StackLevel; - - /// - /// To be documented. - /// - public uint QueryId; - - /// - /// To be documented. - /// - public ImVector Results; - - /// - /// To be documented. - /// - public byte CopyToClipboardOnCtrlC; - - /// - /// To be documented. - /// - public float CopyToClipboardLastTime; - - /// - /// To be documented. - /// - public ImGuiTextBuffer ResultPathBuf; - - - /// - /// To be documented. - /// - public unsafe ImGuiIDStackTool(int lastActiveFrame = default, int stackLevel = default, uint queryId = default, ImVector results = default, bool copyToClipboardOnCtrlC = default, float copyToClipboardLastTime = default, ImGuiTextBuffer resultPathBuf = default) - { - LastActiveFrame = lastActiveFrame; - StackLevel = stackLevel; - QueryId = queryId; - Results = results; - CopyToClipboardOnCtrlC = copyToClipboardOnCtrlC ? (byte)1 : (byte)0; - CopyToClipboardLastTime = copyToClipboardLastTime; - ResultPathBuf = resultPathBuf; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiIDStackToolPtr : IEquatable - { - public ImGuiIDStackToolPtr(ImGuiIDStackTool* handle) { Handle = handle; } - - public ImGuiIDStackTool* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiIDStackToolPtr Null => new ImGuiIDStackToolPtr(null); - - public ImGuiIDStackTool this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiIDStackToolPtr(ImGuiIDStackTool* handle) => new ImGuiIDStackToolPtr(handle); - - public static implicit operator ImGuiIDStackTool*(ImGuiIDStackToolPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiIDStackToolPtr left, ImGuiIDStackToolPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiIDStackToolPtr left, ImGuiIDStackToolPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiIDStackToolPtr left, ImGuiIDStackTool* right) => left.Handle == right; - - public static bool operator !=(ImGuiIDStackToolPtr left, ImGuiIDStackTool* right) => left.Handle != right; - - public bool Equals(ImGuiIDStackToolPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiIDStackToolPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiIDStackToolPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int LastActiveFrame => ref Unsafe.AsRef(&Handle->LastActiveFrame); - /// - /// To be documented. - /// - public ref int StackLevel => ref Unsafe.AsRef(&Handle->StackLevel); - /// - /// To be documented. - /// - public ref uint QueryId => ref Unsafe.AsRef(&Handle->QueryId); - /// - /// To be documented. - /// - public ref ImVector Results => ref Unsafe.AsRef>(&Handle->Results); - /// - /// To be documented. - /// - public ref bool CopyToClipboardOnCtrlC => ref Unsafe.AsRef(&Handle->CopyToClipboardOnCtrlC); - /// - /// To be documented. - /// - public ref float CopyToClipboardLastTime => ref Unsafe.AsRef(&Handle->CopyToClipboardLastTime); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer ResultPathBuf => ref Unsafe.AsRef(&Handle->ResultPathBuf); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiIO.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiIO.cs deleted file mode 100644 index 0f884e3a9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiIO.cs +++ /dev/null @@ -1,2630 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiIO - { - /// - /// To be documented. - /// - public ImGuiConfigFlags ConfigFlags; - - /// - /// To be documented. - /// - public ImGuiBackendFlags BackendFlags; - - /// - /// To be documented. - /// - public Vector2 DisplaySize; - - /// - /// To be documented. - /// - public float DeltaTime; - - /// - /// To be documented. - /// - public float IniSavingRate; - - /// - /// To be documented. - /// - public unsafe byte* IniFilename; - - /// - /// To be documented. - /// - public unsafe byte* LogFilename; - - /// - /// To be documented. - /// - public unsafe void* UserData; - - /// - /// To be documented. - /// - public unsafe ImFontAtlas* Fonts; - - /// - /// To be documented. - /// - public float FontGlobalScale; - - /// - /// To be documented. - /// - public byte FontAllowUserScaling; - - /// - /// To be documented. - /// - public unsafe ImFont* FontDefault; - - /// - /// To be documented. - /// - public Vector2 DisplayFramebufferScale; - - /// - /// To be documented. - /// - public byte ConfigNavSwapGamepadButtons; - - /// - /// To be documented. - /// - public byte ConfigNavMoveSetMousePos; - - /// - /// To be documented. - /// - public byte ConfigNavCaptureKeyboard; - - /// - /// To be documented. - /// - public byte ConfigNavEscapeClearFocusItem; - - /// - /// To be documented. - /// - public byte ConfigNavEscapeClearFocusWindow; - - /// - /// To be documented. - /// - public byte ConfigNavCursorVisibleAuto; - - /// - /// To be documented. - /// - public byte ConfigNavCursorVisibleAlways; - - /// - /// To be documented. - /// - public byte ConfigDockingNoSplit; - - /// - /// To be documented. - /// - public byte ConfigDockingWithShift; - - /// - /// To be documented. - /// - public byte ConfigDockingAlwaysTabBar; - - /// - /// To be documented. - /// - public byte ConfigDockingTransparentPayload; - - /// - /// To be documented. - /// - public byte ConfigViewportsNoAutoMerge; - - /// - /// To be documented. - /// - public byte ConfigViewportsNoTaskBarIcon; - - /// - /// To be documented. - /// - public byte ConfigViewportsNoDecoration; - - /// - /// To be documented. - /// - public byte ConfigViewportsNoDefaultParent; - - /// - /// To be documented. - /// - public byte MouseDrawCursor; - - /// - /// To be documented. - /// - public byte ConfigMacOSXBehaviors; - - /// - /// To be documented. - /// - public byte ConfigInputTrickleEventQueue; - - /// - /// To be documented. - /// - public byte ConfigInputTextCursorBlink; - - /// - /// To be documented. - /// - public byte ConfigInputTextEnterKeepActive; - - /// - /// To be documented. - /// - public byte ConfigDragClickToInputText; - - /// - /// To be documented. - /// - public byte ConfigWindowsResizeFromEdges; - - /// - /// To be documented. - /// - public byte ConfigWindowsMoveFromTitleBarOnly; - - /// - /// To be documented. - /// - public byte ConfigWindowsCopyContentsWithCtrlC; - - /// - /// To be documented. - /// - public byte ConfigScrollbarScrollByPage; - - /// - /// To be documented. - /// - public float ConfigMemoryCompactTimer; - - /// - /// To be documented. - /// - public float MouseDoubleClickTime; - - /// - /// To be documented. - /// - public float MouseDoubleClickMaxDist; - - /// - /// To be documented. - /// - public float MouseDragThreshold; - - /// - /// To be documented. - /// - public float KeyRepeatDelay; - - /// - /// To be documented. - /// - public float KeyRepeatRate; - - /// - /// To be documented. - /// - public byte ConfigErrorRecovery; - - /// - /// To be documented. - /// - public byte ConfigErrorRecoveryEnableAssert; - - /// - /// To be documented. - /// - public byte ConfigErrorRecoveryEnableDebugLog; - - /// - /// To be documented. - /// - public byte ConfigErrorRecoveryEnableTooltip; - - /// - /// To be documented. - /// - public byte ConfigDebugIsDebuggerPresent; - - /// - /// To be documented. - /// - public byte ConfigDebugHighlightIdConflicts; - - /// - /// To be documented. - /// - public byte ConfigDebugHighlightIdConflictsShowItemPicker; - - /// - /// To be documented. - /// - public byte ConfigDebugBeginReturnValueOnce; - - /// - /// To be documented. - /// - public byte ConfigDebugBeginReturnValueLoop; - - /// - /// To be documented. - /// - public byte ConfigDebugIgnoreFocusLoss; - - /// - /// To be documented. - /// - public byte ConfigDebugIniSettings; - - /// - /// To be documented. - /// - public unsafe byte* BackendPlatformName; - - /// - /// To be documented. - /// - public unsafe byte* BackendRendererName; - - /// - /// To be documented. - /// - public unsafe void* BackendPlatformUserData; - - /// - /// To be documented. - /// - public unsafe void* BackendRendererUserData; - - /// - /// To be documented. - /// - public unsafe void* BackendLanguageUserData; - - /// - /// To be documented. - /// - public byte WantCaptureMouse; - - /// - /// To be documented. - /// - public byte WantCaptureKeyboard; - - /// - /// To be documented. - /// - public byte WantTextInput; - - /// - /// To be documented. - /// - public byte WantSetMousePos; - - /// - /// To be documented. - /// - public byte WantSaveIniSettings; - - /// - /// To be documented. - /// - public byte NavActive; - - /// - /// To be documented. - /// - public byte NavVisible; - - /// - /// To be documented. - /// - public float Framerate; - - /// - /// To be documented. - /// - public int MetricsRenderVertices; - - /// - /// To be documented. - /// - public int MetricsRenderIndices; - - /// - /// To be documented. - /// - public int MetricsRenderWindows; - - /// - /// To be documented. - /// - public int MetricsActiveWindows; - - /// - /// To be documented. - /// - public Vector2 MouseDelta; - - /// - /// To be documented. - /// - public unsafe ImGuiContext* Ctx; - - /// - /// To be documented. - /// - public Vector2 MousePos; - - /// - /// To be documented. - /// - public bool MouseDown_0; - public bool MouseDown_1; - public bool MouseDown_2; - public bool MouseDown_3; - public bool MouseDown_4; - - /// - /// To be documented. - /// - public float MouseWheel; - - /// - /// To be documented. - /// - public float MouseWheelH; - - /// - /// To be documented. - /// - public ImGuiMouseSource MouseSource; - - /// - /// To be documented. - /// - public uint MouseHoveredViewport; - - /// - /// To be documented. - /// - public byte KeyCtrl; - - /// - /// To be documented. - /// - public byte KeyShift; - - /// - /// To be documented. - /// - public byte KeyAlt; - - /// - /// To be documented. - /// - public byte KeySuper; - - /// - /// To be documented. - /// - public int KeyMods; - - /// - /// To be documented. - /// - public ImGuiKeyData KeysData_0; - public ImGuiKeyData KeysData_1; - public ImGuiKeyData KeysData_2; - public ImGuiKeyData KeysData_3; - public ImGuiKeyData KeysData_4; - public ImGuiKeyData KeysData_5; - public ImGuiKeyData KeysData_6; - public ImGuiKeyData KeysData_7; - public ImGuiKeyData KeysData_8; - public ImGuiKeyData KeysData_9; - public ImGuiKeyData KeysData_10; - public ImGuiKeyData KeysData_11; - public ImGuiKeyData KeysData_12; - public ImGuiKeyData KeysData_13; - public ImGuiKeyData KeysData_14; - public ImGuiKeyData KeysData_15; - public ImGuiKeyData KeysData_16; - public ImGuiKeyData KeysData_17; - public ImGuiKeyData KeysData_18; - public ImGuiKeyData KeysData_19; - public ImGuiKeyData KeysData_20; - public ImGuiKeyData KeysData_21; - public ImGuiKeyData KeysData_22; - public ImGuiKeyData KeysData_23; - public ImGuiKeyData KeysData_24; - public ImGuiKeyData KeysData_25; - public ImGuiKeyData KeysData_26; - public ImGuiKeyData KeysData_27; - public ImGuiKeyData KeysData_28; - public ImGuiKeyData KeysData_29; - public ImGuiKeyData KeysData_30; - public ImGuiKeyData KeysData_31; - public ImGuiKeyData KeysData_32; - public ImGuiKeyData KeysData_33; - public ImGuiKeyData KeysData_34; - public ImGuiKeyData KeysData_35; - public ImGuiKeyData KeysData_36; - public ImGuiKeyData KeysData_37; - public ImGuiKeyData KeysData_38; - public ImGuiKeyData KeysData_39; - public ImGuiKeyData KeysData_40; - public ImGuiKeyData KeysData_41; - public ImGuiKeyData KeysData_42; - public ImGuiKeyData KeysData_43; - public ImGuiKeyData KeysData_44; - public ImGuiKeyData KeysData_45; - public ImGuiKeyData KeysData_46; - public ImGuiKeyData KeysData_47; - public ImGuiKeyData KeysData_48; - public ImGuiKeyData KeysData_49; - public ImGuiKeyData KeysData_50; - public ImGuiKeyData KeysData_51; - public ImGuiKeyData KeysData_52; - public ImGuiKeyData KeysData_53; - public ImGuiKeyData KeysData_54; - public ImGuiKeyData KeysData_55; - public ImGuiKeyData KeysData_56; - public ImGuiKeyData KeysData_57; - public ImGuiKeyData KeysData_58; - public ImGuiKeyData KeysData_59; - public ImGuiKeyData KeysData_60; - public ImGuiKeyData KeysData_61; - public ImGuiKeyData KeysData_62; - public ImGuiKeyData KeysData_63; - public ImGuiKeyData KeysData_64; - public ImGuiKeyData KeysData_65; - public ImGuiKeyData KeysData_66; - public ImGuiKeyData KeysData_67; - public ImGuiKeyData KeysData_68; - public ImGuiKeyData KeysData_69; - public ImGuiKeyData KeysData_70; - public ImGuiKeyData KeysData_71; - public ImGuiKeyData KeysData_72; - public ImGuiKeyData KeysData_73; - public ImGuiKeyData KeysData_74; - public ImGuiKeyData KeysData_75; - public ImGuiKeyData KeysData_76; - public ImGuiKeyData KeysData_77; - public ImGuiKeyData KeysData_78; - public ImGuiKeyData KeysData_79; - public ImGuiKeyData KeysData_80; - public ImGuiKeyData KeysData_81; - public ImGuiKeyData KeysData_82; - public ImGuiKeyData KeysData_83; - public ImGuiKeyData KeysData_84; - public ImGuiKeyData KeysData_85; - public ImGuiKeyData KeysData_86; - public ImGuiKeyData KeysData_87; - public ImGuiKeyData KeysData_88; - public ImGuiKeyData KeysData_89; - public ImGuiKeyData KeysData_90; - public ImGuiKeyData KeysData_91; - public ImGuiKeyData KeysData_92; - public ImGuiKeyData KeysData_93; - public ImGuiKeyData KeysData_94; - public ImGuiKeyData KeysData_95; - public ImGuiKeyData KeysData_96; - public ImGuiKeyData KeysData_97; - public ImGuiKeyData KeysData_98; - public ImGuiKeyData KeysData_99; - public ImGuiKeyData KeysData_100; - public ImGuiKeyData KeysData_101; - public ImGuiKeyData KeysData_102; - public ImGuiKeyData KeysData_103; - public ImGuiKeyData KeysData_104; - public ImGuiKeyData KeysData_105; - public ImGuiKeyData KeysData_106; - public ImGuiKeyData KeysData_107; - public ImGuiKeyData KeysData_108; - public ImGuiKeyData KeysData_109; - public ImGuiKeyData KeysData_110; - public ImGuiKeyData KeysData_111; - public ImGuiKeyData KeysData_112; - public ImGuiKeyData KeysData_113; - public ImGuiKeyData KeysData_114; - public ImGuiKeyData KeysData_115; - public ImGuiKeyData KeysData_116; - public ImGuiKeyData KeysData_117; - public ImGuiKeyData KeysData_118; - public ImGuiKeyData KeysData_119; - public ImGuiKeyData KeysData_120; - public ImGuiKeyData KeysData_121; - public ImGuiKeyData KeysData_122; - public ImGuiKeyData KeysData_123; - public ImGuiKeyData KeysData_124; - public ImGuiKeyData KeysData_125; - public ImGuiKeyData KeysData_126; - public ImGuiKeyData KeysData_127; - public ImGuiKeyData KeysData_128; - public ImGuiKeyData KeysData_129; - public ImGuiKeyData KeysData_130; - public ImGuiKeyData KeysData_131; - public ImGuiKeyData KeysData_132; - public ImGuiKeyData KeysData_133; - public ImGuiKeyData KeysData_134; - public ImGuiKeyData KeysData_135; - public ImGuiKeyData KeysData_136; - public ImGuiKeyData KeysData_137; - public ImGuiKeyData KeysData_138; - public ImGuiKeyData KeysData_139; - public ImGuiKeyData KeysData_140; - public ImGuiKeyData KeysData_141; - public ImGuiKeyData KeysData_142; - public ImGuiKeyData KeysData_143; - public ImGuiKeyData KeysData_144; - public ImGuiKeyData KeysData_145; - public ImGuiKeyData KeysData_146; - public ImGuiKeyData KeysData_147; - public ImGuiKeyData KeysData_148; - public ImGuiKeyData KeysData_149; - public ImGuiKeyData KeysData_150; - public ImGuiKeyData KeysData_151; - public ImGuiKeyData KeysData_152; - public ImGuiKeyData KeysData_153; - public ImGuiKeyData KeysData_154; - - /// - /// To be documented. - /// - public byte WantCaptureMouseUnlessPopupClose; - - /// - /// To be documented. - /// - public Vector2 MousePosPrev; - - /// - /// To be documented. - /// - public Vector2 MouseClickedPos_0; - public Vector2 MouseClickedPos_1; - public Vector2 MouseClickedPos_2; - public Vector2 MouseClickedPos_3; - public Vector2 MouseClickedPos_4; - - /// - /// To be documented. - /// - public double MouseClickedTime_0; - public double MouseClickedTime_1; - public double MouseClickedTime_2; - public double MouseClickedTime_3; - public double MouseClickedTime_4; - - /// - /// To be documented. - /// - public bool MouseClicked_0; - public bool MouseClicked_1; - public bool MouseClicked_2; - public bool MouseClicked_3; - public bool MouseClicked_4; - - /// - /// To be documented. - /// - public bool MouseDoubleClicked_0; - public bool MouseDoubleClicked_1; - public bool MouseDoubleClicked_2; - public bool MouseDoubleClicked_3; - public bool MouseDoubleClicked_4; - - /// - /// To be documented. - /// - public ushort MouseClickedCount_0; - public ushort MouseClickedCount_1; - public ushort MouseClickedCount_2; - public ushort MouseClickedCount_3; - public ushort MouseClickedCount_4; - - /// - /// To be documented. - /// - public ushort MouseClickedLastCount_0; - public ushort MouseClickedLastCount_1; - public ushort MouseClickedLastCount_2; - public ushort MouseClickedLastCount_3; - public ushort MouseClickedLastCount_4; - - /// - /// To be documented. - /// - public bool MouseReleased_0; - public bool MouseReleased_1; - public bool MouseReleased_2; - public bool MouseReleased_3; - public bool MouseReleased_4; - - /// - /// To be documented. - /// - public double MouseReleasedTime_0; - public double MouseReleasedTime_1; - public double MouseReleasedTime_2; - public double MouseReleasedTime_3; - public double MouseReleasedTime_4; - - /// - /// To be documented. - /// - public bool MouseDownOwned_0; - public bool MouseDownOwned_1; - public bool MouseDownOwned_2; - public bool MouseDownOwned_3; - public bool MouseDownOwned_4; - - /// - /// To be documented. - /// - public bool MouseDownOwnedUnlessPopupClose_0; - public bool MouseDownOwnedUnlessPopupClose_1; - public bool MouseDownOwnedUnlessPopupClose_2; - public bool MouseDownOwnedUnlessPopupClose_3; - public bool MouseDownOwnedUnlessPopupClose_4; - - /// - /// To be documented. - /// - public byte MouseWheelRequestAxisSwap; - - /// - /// To be documented. - /// - public byte MouseCtrlLeftAsRightClick; - - /// - /// To be documented. - /// - public float MouseDownDuration_0; - public float MouseDownDuration_1; - public float MouseDownDuration_2; - public float MouseDownDuration_3; - public float MouseDownDuration_4; - - /// - /// To be documented. - /// - public float MouseDownDurationPrev_0; - public float MouseDownDurationPrev_1; - public float MouseDownDurationPrev_2; - public float MouseDownDurationPrev_3; - public float MouseDownDurationPrev_4; - - /// - /// To be documented. - /// - public Vector2 MouseDragMaxDistanceAbs_0; - public Vector2 MouseDragMaxDistanceAbs_1; - public Vector2 MouseDragMaxDistanceAbs_2; - public Vector2 MouseDragMaxDistanceAbs_3; - public Vector2 MouseDragMaxDistanceAbs_4; - - /// - /// To be documented. - /// - public float MouseDragMaxDistanceSqr_0; - public float MouseDragMaxDistanceSqr_1; - public float MouseDragMaxDistanceSqr_2; - public float MouseDragMaxDistanceSqr_3; - public float MouseDragMaxDistanceSqr_4; - - /// - /// To be documented. - /// - public float PenPressure; - - /// - /// To be documented. - /// - public byte AppFocusLost; - - /// - /// To be documented. - /// - public byte AppAcceptingEvents; - - /// - /// To be documented. - /// - public ushort InputQueueSurrogate; - - /// - /// To be documented. - /// - public ImVector InputQueueCharacters; - - - /// - /// To be documented. - /// - public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configNavSwapGamepadButtons = default, bool configNavMoveSetMousePos = default, bool configNavCaptureKeyboard = default, bool configNavEscapeClearFocusItem = default, bool configNavEscapeClearFocusWindow = default, bool configNavCursorVisibleAuto = default, bool configNavCursorVisibleAlways = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configInputTextEnterKeepActive = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, bool configWindowsCopyContentsWithCtrlC = default, bool configScrollbarScrollByPage = default, float configMemoryCompactTimer = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, bool configErrorRecovery = default, bool configErrorRecoveryEnableAssert = default, bool configErrorRecoveryEnableDebugLog = default, bool configErrorRecoveryEnableTooltip = default, bool configDebugIsDebuggerPresent = default, bool configDebugHighlightIdConflicts = default, bool configDebugHighlightIdConflictsShowItemPicker = default, bool configDebugBeginReturnValueOnce = default, bool configDebugBeginReturnValueLoop = default, bool configDebugIgnoreFocusLoss = default, bool configDebugIniSettings = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, Vector2 mouseDelta = default, ImGuiContextPtr ctx = default, Vector2 mousePos = default, bool* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, ImGuiMouseSource mouseSource = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, int keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, bool* mouseClicked = default, bool* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, bool* mouseReleased = default, double* mouseReleasedTime = default, bool* mouseDownOwned = default, bool* mouseDownOwnedUnlessPopupClose = default, bool mouseWheelRequestAxisSwap = default, bool mouseCtrlLeftAsRightClick = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, ushort inputQueueSurrogate = default, ImVector inputQueueCharacters = default) - { - ConfigFlags = configFlags; - BackendFlags = backendFlags; - DisplaySize = displaySize; - DeltaTime = deltaTime; - IniSavingRate = iniSavingRate; - IniFilename = iniFilename; - LogFilename = logFilename; - UserData = userData; - Fonts = fonts; - FontGlobalScale = fontGlobalScale; - FontAllowUserScaling = fontAllowUserScaling ? (byte)1 : (byte)0; - FontDefault = fontDefault; - DisplayFramebufferScale = displayFramebufferScale; - ConfigNavSwapGamepadButtons = configNavSwapGamepadButtons ? (byte)1 : (byte)0; - ConfigNavMoveSetMousePos = configNavMoveSetMousePos ? (byte)1 : (byte)0; - ConfigNavCaptureKeyboard = configNavCaptureKeyboard ? (byte)1 : (byte)0; - ConfigNavEscapeClearFocusItem = configNavEscapeClearFocusItem ? (byte)1 : (byte)0; - ConfigNavEscapeClearFocusWindow = configNavEscapeClearFocusWindow ? (byte)1 : (byte)0; - ConfigNavCursorVisibleAuto = configNavCursorVisibleAuto ? (byte)1 : (byte)0; - ConfigNavCursorVisibleAlways = configNavCursorVisibleAlways ? (byte)1 : (byte)0; - ConfigDockingNoSplit = configDockingNoSplit ? (byte)1 : (byte)0; - ConfigDockingWithShift = configDockingWithShift ? (byte)1 : (byte)0; - ConfigDockingAlwaysTabBar = configDockingAlwaysTabBar ? (byte)1 : (byte)0; - ConfigDockingTransparentPayload = configDockingTransparentPayload ? (byte)1 : (byte)0; - ConfigViewportsNoAutoMerge = configViewportsNoAutoMerge ? (byte)1 : (byte)0; - ConfigViewportsNoTaskBarIcon = configViewportsNoTaskBarIcon ? (byte)1 : (byte)0; - ConfigViewportsNoDecoration = configViewportsNoDecoration ? (byte)1 : (byte)0; - ConfigViewportsNoDefaultParent = configViewportsNoDefaultParent ? (byte)1 : (byte)0; - MouseDrawCursor = mouseDrawCursor ? (byte)1 : (byte)0; - ConfigMacOSXBehaviors = configMacOsxBehaviors ? (byte)1 : (byte)0; - ConfigInputTrickleEventQueue = configInputTrickleEventQueue ? (byte)1 : (byte)0; - ConfigInputTextCursorBlink = configInputTextCursorBlink ? (byte)1 : (byte)0; - ConfigInputTextEnterKeepActive = configInputTextEnterKeepActive ? (byte)1 : (byte)0; - ConfigDragClickToInputText = configDragClickToInputText ? (byte)1 : (byte)0; - ConfigWindowsResizeFromEdges = configWindowsResizeFromEdges ? (byte)1 : (byte)0; - ConfigWindowsMoveFromTitleBarOnly = configWindowsMoveFromTitleBarOnly ? (byte)1 : (byte)0; - ConfigWindowsCopyContentsWithCtrlC = configWindowsCopyContentsWithCtrlC ? (byte)1 : (byte)0; - ConfigScrollbarScrollByPage = configScrollbarScrollByPage ? (byte)1 : (byte)0; - ConfigMemoryCompactTimer = configMemoryCompactTimer; - MouseDoubleClickTime = mouseDoubleClickTime; - MouseDoubleClickMaxDist = mouseDoubleClickMaxDist; - MouseDragThreshold = mouseDragThreshold; - KeyRepeatDelay = keyRepeatDelay; - KeyRepeatRate = keyRepeatRate; - ConfigErrorRecovery = configErrorRecovery ? (byte)1 : (byte)0; - ConfigErrorRecoveryEnableAssert = configErrorRecoveryEnableAssert ? (byte)1 : (byte)0; - ConfigErrorRecoveryEnableDebugLog = configErrorRecoveryEnableDebugLog ? (byte)1 : (byte)0; - ConfigErrorRecoveryEnableTooltip = configErrorRecoveryEnableTooltip ? (byte)1 : (byte)0; - ConfigDebugIsDebuggerPresent = configDebugIsDebuggerPresent ? (byte)1 : (byte)0; - ConfigDebugHighlightIdConflicts = configDebugHighlightIdConflicts ? (byte)1 : (byte)0; - ConfigDebugHighlightIdConflictsShowItemPicker = configDebugHighlightIdConflictsShowItemPicker ? (byte)1 : (byte)0; - ConfigDebugBeginReturnValueOnce = configDebugBeginReturnValueOnce ? (byte)1 : (byte)0; - ConfigDebugBeginReturnValueLoop = configDebugBeginReturnValueLoop ? (byte)1 : (byte)0; - ConfigDebugIgnoreFocusLoss = configDebugIgnoreFocusLoss ? (byte)1 : (byte)0; - ConfigDebugIniSettings = configDebugIniSettings ? (byte)1 : (byte)0; - BackendPlatformName = backendPlatformName; - BackendRendererName = backendRendererName; - BackendPlatformUserData = backendPlatformUserData; - BackendRendererUserData = backendRendererUserData; - BackendLanguageUserData = backendLanguageUserData; - WantCaptureMouse = wantCaptureMouse ? (byte)1 : (byte)0; - WantCaptureKeyboard = wantCaptureKeyboard ? (byte)1 : (byte)0; - WantTextInput = wantTextInput ? (byte)1 : (byte)0; - WantSetMousePos = wantSetMousePos ? (byte)1 : (byte)0; - WantSaveIniSettings = wantSaveIniSettings ? (byte)1 : (byte)0; - NavActive = navActive ? (byte)1 : (byte)0; - NavVisible = navVisible ? (byte)1 : (byte)0; - Framerate = framerate; - MetricsRenderVertices = metricsRenderVertices; - MetricsRenderIndices = metricsRenderIndices; - MetricsRenderWindows = metricsRenderWindows; - MetricsActiveWindows = metricsActiveWindows; - MouseDelta = mouseDelta; - Ctx = ctx; - MousePos = mousePos; - if (mouseDown != default(bool*)) - { - MouseDown_0 = mouseDown[0]; - MouseDown_1 = mouseDown[1]; - MouseDown_2 = mouseDown[2]; - MouseDown_3 = mouseDown[3]; - MouseDown_4 = mouseDown[4]; - } - MouseWheel = mouseWheel; - MouseWheelH = mouseWheelH; - MouseSource = mouseSource; - MouseHoveredViewport = mouseHoveredViewport; - KeyCtrl = keyCtrl ? (byte)1 : (byte)0; - KeyShift = keyShift ? (byte)1 : (byte)0; - KeyAlt = keyAlt ? (byte)1 : (byte)0; - KeySuper = keySuper ? (byte)1 : (byte)0; - KeyMods = keyMods; - if (keysData != default(ImGuiKeyData*)) - { - KeysData_0 = keysData[0]; - KeysData_1 = keysData[1]; - KeysData_2 = keysData[2]; - KeysData_3 = keysData[3]; - KeysData_4 = keysData[4]; - KeysData_5 = keysData[5]; - KeysData_6 = keysData[6]; - KeysData_7 = keysData[7]; - KeysData_8 = keysData[8]; - KeysData_9 = keysData[9]; - KeysData_10 = keysData[10]; - KeysData_11 = keysData[11]; - KeysData_12 = keysData[12]; - KeysData_13 = keysData[13]; - KeysData_14 = keysData[14]; - KeysData_15 = keysData[15]; - KeysData_16 = keysData[16]; - KeysData_17 = keysData[17]; - KeysData_18 = keysData[18]; - KeysData_19 = keysData[19]; - KeysData_20 = keysData[20]; - KeysData_21 = keysData[21]; - KeysData_22 = keysData[22]; - KeysData_23 = keysData[23]; - KeysData_24 = keysData[24]; - KeysData_25 = keysData[25]; - KeysData_26 = keysData[26]; - KeysData_27 = keysData[27]; - KeysData_28 = keysData[28]; - KeysData_29 = keysData[29]; - KeysData_30 = keysData[30]; - KeysData_31 = keysData[31]; - KeysData_32 = keysData[32]; - KeysData_33 = keysData[33]; - KeysData_34 = keysData[34]; - KeysData_35 = keysData[35]; - KeysData_36 = keysData[36]; - KeysData_37 = keysData[37]; - KeysData_38 = keysData[38]; - KeysData_39 = keysData[39]; - KeysData_40 = keysData[40]; - KeysData_41 = keysData[41]; - KeysData_42 = keysData[42]; - KeysData_43 = keysData[43]; - KeysData_44 = keysData[44]; - KeysData_45 = keysData[45]; - KeysData_46 = keysData[46]; - KeysData_47 = keysData[47]; - KeysData_48 = keysData[48]; - KeysData_49 = keysData[49]; - KeysData_50 = keysData[50]; - KeysData_51 = keysData[51]; - KeysData_52 = keysData[52]; - KeysData_53 = keysData[53]; - KeysData_54 = keysData[54]; - KeysData_55 = keysData[55]; - KeysData_56 = keysData[56]; - KeysData_57 = keysData[57]; - KeysData_58 = keysData[58]; - KeysData_59 = keysData[59]; - KeysData_60 = keysData[60]; - KeysData_61 = keysData[61]; - KeysData_62 = keysData[62]; - KeysData_63 = keysData[63]; - KeysData_64 = keysData[64]; - KeysData_65 = keysData[65]; - KeysData_66 = keysData[66]; - KeysData_67 = keysData[67]; - KeysData_68 = keysData[68]; - KeysData_69 = keysData[69]; - KeysData_70 = keysData[70]; - KeysData_71 = keysData[71]; - KeysData_72 = keysData[72]; - KeysData_73 = keysData[73]; - KeysData_74 = keysData[74]; - KeysData_75 = keysData[75]; - KeysData_76 = keysData[76]; - KeysData_77 = keysData[77]; - KeysData_78 = keysData[78]; - KeysData_79 = keysData[79]; - KeysData_80 = keysData[80]; - KeysData_81 = keysData[81]; - KeysData_82 = keysData[82]; - KeysData_83 = keysData[83]; - KeysData_84 = keysData[84]; - KeysData_85 = keysData[85]; - KeysData_86 = keysData[86]; - KeysData_87 = keysData[87]; - KeysData_88 = keysData[88]; - KeysData_89 = keysData[89]; - KeysData_90 = keysData[90]; - KeysData_91 = keysData[91]; - KeysData_92 = keysData[92]; - KeysData_93 = keysData[93]; - KeysData_94 = keysData[94]; - KeysData_95 = keysData[95]; - KeysData_96 = keysData[96]; - KeysData_97 = keysData[97]; - KeysData_98 = keysData[98]; - KeysData_99 = keysData[99]; - KeysData_100 = keysData[100]; - KeysData_101 = keysData[101]; - KeysData_102 = keysData[102]; - KeysData_103 = keysData[103]; - KeysData_104 = keysData[104]; - KeysData_105 = keysData[105]; - KeysData_106 = keysData[106]; - KeysData_107 = keysData[107]; - KeysData_108 = keysData[108]; - KeysData_109 = keysData[109]; - KeysData_110 = keysData[110]; - KeysData_111 = keysData[111]; - KeysData_112 = keysData[112]; - KeysData_113 = keysData[113]; - KeysData_114 = keysData[114]; - KeysData_115 = keysData[115]; - KeysData_116 = keysData[116]; - KeysData_117 = keysData[117]; - KeysData_118 = keysData[118]; - KeysData_119 = keysData[119]; - KeysData_120 = keysData[120]; - KeysData_121 = keysData[121]; - KeysData_122 = keysData[122]; - KeysData_123 = keysData[123]; - KeysData_124 = keysData[124]; - KeysData_125 = keysData[125]; - KeysData_126 = keysData[126]; - KeysData_127 = keysData[127]; - KeysData_128 = keysData[128]; - KeysData_129 = keysData[129]; - KeysData_130 = keysData[130]; - KeysData_131 = keysData[131]; - KeysData_132 = keysData[132]; - KeysData_133 = keysData[133]; - KeysData_134 = keysData[134]; - KeysData_135 = keysData[135]; - KeysData_136 = keysData[136]; - KeysData_137 = keysData[137]; - KeysData_138 = keysData[138]; - KeysData_139 = keysData[139]; - KeysData_140 = keysData[140]; - KeysData_141 = keysData[141]; - KeysData_142 = keysData[142]; - KeysData_143 = keysData[143]; - KeysData_144 = keysData[144]; - KeysData_145 = keysData[145]; - KeysData_146 = keysData[146]; - KeysData_147 = keysData[147]; - KeysData_148 = keysData[148]; - KeysData_149 = keysData[149]; - KeysData_150 = keysData[150]; - KeysData_151 = keysData[151]; - KeysData_152 = keysData[152]; - KeysData_153 = keysData[153]; - KeysData_154 = keysData[154]; - } - WantCaptureMouseUnlessPopupClose = wantCaptureMouseUnlessPopupClose ? (byte)1 : (byte)0; - MousePosPrev = mousePosPrev; - if (mouseClickedPos != default(Vector2*)) - { - MouseClickedPos_0 = mouseClickedPos[0]; - MouseClickedPos_1 = mouseClickedPos[1]; - MouseClickedPos_2 = mouseClickedPos[2]; - MouseClickedPos_3 = mouseClickedPos[3]; - MouseClickedPos_4 = mouseClickedPos[4]; - } - if (mouseClickedTime != default(double*)) - { - MouseClickedTime_0 = mouseClickedTime[0]; - MouseClickedTime_1 = mouseClickedTime[1]; - MouseClickedTime_2 = mouseClickedTime[2]; - MouseClickedTime_3 = mouseClickedTime[3]; - MouseClickedTime_4 = mouseClickedTime[4]; - } - if (mouseClicked != default(bool*)) - { - MouseClicked_0 = mouseClicked[0]; - MouseClicked_1 = mouseClicked[1]; - MouseClicked_2 = mouseClicked[2]; - MouseClicked_3 = mouseClicked[3]; - MouseClicked_4 = mouseClicked[4]; - } - if (mouseDoubleClicked != default(bool*)) - { - MouseDoubleClicked_0 = mouseDoubleClicked[0]; - MouseDoubleClicked_1 = mouseDoubleClicked[1]; - MouseDoubleClicked_2 = mouseDoubleClicked[2]; - MouseDoubleClicked_3 = mouseDoubleClicked[3]; - MouseDoubleClicked_4 = mouseDoubleClicked[4]; - } - if (mouseClickedCount != default(ushort*)) - { - MouseClickedCount_0 = mouseClickedCount[0]; - MouseClickedCount_1 = mouseClickedCount[1]; - MouseClickedCount_2 = mouseClickedCount[2]; - MouseClickedCount_3 = mouseClickedCount[3]; - MouseClickedCount_4 = mouseClickedCount[4]; - } - if (mouseClickedLastCount != default(ushort*)) - { - MouseClickedLastCount_0 = mouseClickedLastCount[0]; - MouseClickedLastCount_1 = mouseClickedLastCount[1]; - MouseClickedLastCount_2 = mouseClickedLastCount[2]; - MouseClickedLastCount_3 = mouseClickedLastCount[3]; - MouseClickedLastCount_4 = mouseClickedLastCount[4]; - } - if (mouseReleased != default(bool*)) - { - MouseReleased_0 = mouseReleased[0]; - MouseReleased_1 = mouseReleased[1]; - MouseReleased_2 = mouseReleased[2]; - MouseReleased_3 = mouseReleased[3]; - MouseReleased_4 = mouseReleased[4]; - } - if (mouseReleasedTime != default(double*)) - { - MouseReleasedTime_0 = mouseReleasedTime[0]; - MouseReleasedTime_1 = mouseReleasedTime[1]; - MouseReleasedTime_2 = mouseReleasedTime[2]; - MouseReleasedTime_3 = mouseReleasedTime[3]; - MouseReleasedTime_4 = mouseReleasedTime[4]; - } - if (mouseDownOwned != default(bool*)) - { - MouseDownOwned_0 = mouseDownOwned[0]; - MouseDownOwned_1 = mouseDownOwned[1]; - MouseDownOwned_2 = mouseDownOwned[2]; - MouseDownOwned_3 = mouseDownOwned[3]; - MouseDownOwned_4 = mouseDownOwned[4]; - } - if (mouseDownOwnedUnlessPopupClose != default(bool*)) - { - MouseDownOwnedUnlessPopupClose_0 = mouseDownOwnedUnlessPopupClose[0]; - MouseDownOwnedUnlessPopupClose_1 = mouseDownOwnedUnlessPopupClose[1]; - MouseDownOwnedUnlessPopupClose_2 = mouseDownOwnedUnlessPopupClose[2]; - MouseDownOwnedUnlessPopupClose_3 = mouseDownOwnedUnlessPopupClose[3]; - MouseDownOwnedUnlessPopupClose_4 = mouseDownOwnedUnlessPopupClose[4]; - } - MouseWheelRequestAxisSwap = mouseWheelRequestAxisSwap ? (byte)1 : (byte)0; - MouseCtrlLeftAsRightClick = mouseCtrlLeftAsRightClick ? (byte)1 : (byte)0; - if (mouseDownDuration != default(float*)) - { - MouseDownDuration_0 = mouseDownDuration[0]; - MouseDownDuration_1 = mouseDownDuration[1]; - MouseDownDuration_2 = mouseDownDuration[2]; - MouseDownDuration_3 = mouseDownDuration[3]; - MouseDownDuration_4 = mouseDownDuration[4]; - } - if (mouseDownDurationPrev != default(float*)) - { - MouseDownDurationPrev_0 = mouseDownDurationPrev[0]; - MouseDownDurationPrev_1 = mouseDownDurationPrev[1]; - MouseDownDurationPrev_2 = mouseDownDurationPrev[2]; - MouseDownDurationPrev_3 = mouseDownDurationPrev[3]; - MouseDownDurationPrev_4 = mouseDownDurationPrev[4]; - } - if (mouseDragMaxDistanceAbs != default(Vector2*)) - { - MouseDragMaxDistanceAbs_0 = mouseDragMaxDistanceAbs[0]; - MouseDragMaxDistanceAbs_1 = mouseDragMaxDistanceAbs[1]; - MouseDragMaxDistanceAbs_2 = mouseDragMaxDistanceAbs[2]; - MouseDragMaxDistanceAbs_3 = mouseDragMaxDistanceAbs[3]; - MouseDragMaxDistanceAbs_4 = mouseDragMaxDistanceAbs[4]; - } - if (mouseDragMaxDistanceSqr != default(float*)) - { - MouseDragMaxDistanceSqr_0 = mouseDragMaxDistanceSqr[0]; - MouseDragMaxDistanceSqr_1 = mouseDragMaxDistanceSqr[1]; - MouseDragMaxDistanceSqr_2 = mouseDragMaxDistanceSqr[2]; - MouseDragMaxDistanceSqr_3 = mouseDragMaxDistanceSqr[3]; - MouseDragMaxDistanceSqr_4 = mouseDragMaxDistanceSqr[4]; - } - PenPressure = penPressure; - AppFocusLost = appFocusLost ? (byte)1 : (byte)0; - AppAcceptingEvents = appAcceptingEvents ? (byte)1 : (byte)0; - InputQueueSurrogate = inputQueueSurrogate; - InputQueueCharacters = inputQueueCharacters; - } - - /// - /// To be documented. - /// - public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configNavSwapGamepadButtons = default, bool configNavMoveSetMousePos = default, bool configNavCaptureKeyboard = default, bool configNavEscapeClearFocusItem = default, bool configNavEscapeClearFocusWindow = default, bool configNavCursorVisibleAuto = default, bool configNavCursorVisibleAlways = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configInputTextEnterKeepActive = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, bool configWindowsCopyContentsWithCtrlC = default, bool configScrollbarScrollByPage = default, float configMemoryCompactTimer = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, bool configErrorRecovery = default, bool configErrorRecoveryEnableAssert = default, bool configErrorRecoveryEnableDebugLog = default, bool configErrorRecoveryEnableTooltip = default, bool configDebugIsDebuggerPresent = default, bool configDebugHighlightIdConflicts = default, bool configDebugHighlightIdConflictsShowItemPicker = default, bool configDebugBeginReturnValueOnce = default, bool configDebugBeginReturnValueLoop = default, bool configDebugIgnoreFocusLoss = default, bool configDebugIniSettings = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, Vector2 mouseDelta = default, ImGuiContextPtr ctx = default, Vector2 mousePos = default, Span mouseDown = default, float mouseWheel = default, float mouseWheelH = default, ImGuiMouseSource mouseSource = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, int keyMods = default, Span keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span mouseClickedPos = default, Span mouseClickedTime = default, Span mouseClicked = default, Span mouseDoubleClicked = default, Span mouseClickedCount = default, Span mouseClickedLastCount = default, Span mouseReleased = default, Span mouseReleasedTime = default, Span mouseDownOwned = default, Span mouseDownOwnedUnlessPopupClose = default, bool mouseWheelRequestAxisSwap = default, bool mouseCtrlLeftAsRightClick = default, Span mouseDownDuration = default, Span mouseDownDurationPrev = default, Span mouseDragMaxDistanceAbs = default, Span mouseDragMaxDistanceSqr = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, ushort inputQueueSurrogate = default, ImVector inputQueueCharacters = default) - { - ConfigFlags = configFlags; - BackendFlags = backendFlags; - DisplaySize = displaySize; - DeltaTime = deltaTime; - IniSavingRate = iniSavingRate; - IniFilename = iniFilename; - LogFilename = logFilename; - UserData = userData; - Fonts = fonts; - FontGlobalScale = fontGlobalScale; - FontAllowUserScaling = fontAllowUserScaling ? (byte)1 : (byte)0; - FontDefault = fontDefault; - DisplayFramebufferScale = displayFramebufferScale; - ConfigNavSwapGamepadButtons = configNavSwapGamepadButtons ? (byte)1 : (byte)0; - ConfigNavMoveSetMousePos = configNavMoveSetMousePos ? (byte)1 : (byte)0; - ConfigNavCaptureKeyboard = configNavCaptureKeyboard ? (byte)1 : (byte)0; - ConfigNavEscapeClearFocusItem = configNavEscapeClearFocusItem ? (byte)1 : (byte)0; - ConfigNavEscapeClearFocusWindow = configNavEscapeClearFocusWindow ? (byte)1 : (byte)0; - ConfigNavCursorVisibleAuto = configNavCursorVisibleAuto ? (byte)1 : (byte)0; - ConfigNavCursorVisibleAlways = configNavCursorVisibleAlways ? (byte)1 : (byte)0; - ConfigDockingNoSplit = configDockingNoSplit ? (byte)1 : (byte)0; - ConfigDockingWithShift = configDockingWithShift ? (byte)1 : (byte)0; - ConfigDockingAlwaysTabBar = configDockingAlwaysTabBar ? (byte)1 : (byte)0; - ConfigDockingTransparentPayload = configDockingTransparentPayload ? (byte)1 : (byte)0; - ConfigViewportsNoAutoMerge = configViewportsNoAutoMerge ? (byte)1 : (byte)0; - ConfigViewportsNoTaskBarIcon = configViewportsNoTaskBarIcon ? (byte)1 : (byte)0; - ConfigViewportsNoDecoration = configViewportsNoDecoration ? (byte)1 : (byte)0; - ConfigViewportsNoDefaultParent = configViewportsNoDefaultParent ? (byte)1 : (byte)0; - MouseDrawCursor = mouseDrawCursor ? (byte)1 : (byte)0; - ConfigMacOSXBehaviors = configMacOsxBehaviors ? (byte)1 : (byte)0; - ConfigInputTrickleEventQueue = configInputTrickleEventQueue ? (byte)1 : (byte)0; - ConfigInputTextCursorBlink = configInputTextCursorBlink ? (byte)1 : (byte)0; - ConfigInputTextEnterKeepActive = configInputTextEnterKeepActive ? (byte)1 : (byte)0; - ConfigDragClickToInputText = configDragClickToInputText ? (byte)1 : (byte)0; - ConfigWindowsResizeFromEdges = configWindowsResizeFromEdges ? (byte)1 : (byte)0; - ConfigWindowsMoveFromTitleBarOnly = configWindowsMoveFromTitleBarOnly ? (byte)1 : (byte)0; - ConfigWindowsCopyContentsWithCtrlC = configWindowsCopyContentsWithCtrlC ? (byte)1 : (byte)0; - ConfigScrollbarScrollByPage = configScrollbarScrollByPage ? (byte)1 : (byte)0; - ConfigMemoryCompactTimer = configMemoryCompactTimer; - MouseDoubleClickTime = mouseDoubleClickTime; - MouseDoubleClickMaxDist = mouseDoubleClickMaxDist; - MouseDragThreshold = mouseDragThreshold; - KeyRepeatDelay = keyRepeatDelay; - KeyRepeatRate = keyRepeatRate; - ConfigErrorRecovery = configErrorRecovery ? (byte)1 : (byte)0; - ConfigErrorRecoveryEnableAssert = configErrorRecoveryEnableAssert ? (byte)1 : (byte)0; - ConfigErrorRecoveryEnableDebugLog = configErrorRecoveryEnableDebugLog ? (byte)1 : (byte)0; - ConfigErrorRecoveryEnableTooltip = configErrorRecoveryEnableTooltip ? (byte)1 : (byte)0; - ConfigDebugIsDebuggerPresent = configDebugIsDebuggerPresent ? (byte)1 : (byte)0; - ConfigDebugHighlightIdConflicts = configDebugHighlightIdConflicts ? (byte)1 : (byte)0; - ConfigDebugHighlightIdConflictsShowItemPicker = configDebugHighlightIdConflictsShowItemPicker ? (byte)1 : (byte)0; - ConfigDebugBeginReturnValueOnce = configDebugBeginReturnValueOnce ? (byte)1 : (byte)0; - ConfigDebugBeginReturnValueLoop = configDebugBeginReturnValueLoop ? (byte)1 : (byte)0; - ConfigDebugIgnoreFocusLoss = configDebugIgnoreFocusLoss ? (byte)1 : (byte)0; - ConfigDebugIniSettings = configDebugIniSettings ? (byte)1 : (byte)0; - BackendPlatformName = backendPlatformName; - BackendRendererName = backendRendererName; - BackendPlatformUserData = backendPlatformUserData; - BackendRendererUserData = backendRendererUserData; - BackendLanguageUserData = backendLanguageUserData; - WantCaptureMouse = wantCaptureMouse ? (byte)1 : (byte)0; - WantCaptureKeyboard = wantCaptureKeyboard ? (byte)1 : (byte)0; - WantTextInput = wantTextInput ? (byte)1 : (byte)0; - WantSetMousePos = wantSetMousePos ? (byte)1 : (byte)0; - WantSaveIniSettings = wantSaveIniSettings ? (byte)1 : (byte)0; - NavActive = navActive ? (byte)1 : (byte)0; - NavVisible = navVisible ? (byte)1 : (byte)0; - Framerate = framerate; - MetricsRenderVertices = metricsRenderVertices; - MetricsRenderIndices = metricsRenderIndices; - MetricsRenderWindows = metricsRenderWindows; - MetricsActiveWindows = metricsActiveWindows; - MouseDelta = mouseDelta; - Ctx = ctx; - MousePos = mousePos; - if (mouseDown != default(Span)) - { - MouseDown_0 = mouseDown[0]; - MouseDown_1 = mouseDown[1]; - MouseDown_2 = mouseDown[2]; - MouseDown_3 = mouseDown[3]; - MouseDown_4 = mouseDown[4]; - } - MouseWheel = mouseWheel; - MouseWheelH = mouseWheelH; - MouseSource = mouseSource; - MouseHoveredViewport = mouseHoveredViewport; - KeyCtrl = keyCtrl ? (byte)1 : (byte)0; - KeyShift = keyShift ? (byte)1 : (byte)0; - KeyAlt = keyAlt ? (byte)1 : (byte)0; - KeySuper = keySuper ? (byte)1 : (byte)0; - KeyMods = keyMods; - if (keysData != default(Span)) - { - KeysData_0 = keysData[0]; - KeysData_1 = keysData[1]; - KeysData_2 = keysData[2]; - KeysData_3 = keysData[3]; - KeysData_4 = keysData[4]; - KeysData_5 = keysData[5]; - KeysData_6 = keysData[6]; - KeysData_7 = keysData[7]; - KeysData_8 = keysData[8]; - KeysData_9 = keysData[9]; - KeysData_10 = keysData[10]; - KeysData_11 = keysData[11]; - KeysData_12 = keysData[12]; - KeysData_13 = keysData[13]; - KeysData_14 = keysData[14]; - KeysData_15 = keysData[15]; - KeysData_16 = keysData[16]; - KeysData_17 = keysData[17]; - KeysData_18 = keysData[18]; - KeysData_19 = keysData[19]; - KeysData_20 = keysData[20]; - KeysData_21 = keysData[21]; - KeysData_22 = keysData[22]; - KeysData_23 = keysData[23]; - KeysData_24 = keysData[24]; - KeysData_25 = keysData[25]; - KeysData_26 = keysData[26]; - KeysData_27 = keysData[27]; - KeysData_28 = keysData[28]; - KeysData_29 = keysData[29]; - KeysData_30 = keysData[30]; - KeysData_31 = keysData[31]; - KeysData_32 = keysData[32]; - KeysData_33 = keysData[33]; - KeysData_34 = keysData[34]; - KeysData_35 = keysData[35]; - KeysData_36 = keysData[36]; - KeysData_37 = keysData[37]; - KeysData_38 = keysData[38]; - KeysData_39 = keysData[39]; - KeysData_40 = keysData[40]; - KeysData_41 = keysData[41]; - KeysData_42 = keysData[42]; - KeysData_43 = keysData[43]; - KeysData_44 = keysData[44]; - KeysData_45 = keysData[45]; - KeysData_46 = keysData[46]; - KeysData_47 = keysData[47]; - KeysData_48 = keysData[48]; - KeysData_49 = keysData[49]; - KeysData_50 = keysData[50]; - KeysData_51 = keysData[51]; - KeysData_52 = keysData[52]; - KeysData_53 = keysData[53]; - KeysData_54 = keysData[54]; - KeysData_55 = keysData[55]; - KeysData_56 = keysData[56]; - KeysData_57 = keysData[57]; - KeysData_58 = keysData[58]; - KeysData_59 = keysData[59]; - KeysData_60 = keysData[60]; - KeysData_61 = keysData[61]; - KeysData_62 = keysData[62]; - KeysData_63 = keysData[63]; - KeysData_64 = keysData[64]; - KeysData_65 = keysData[65]; - KeysData_66 = keysData[66]; - KeysData_67 = keysData[67]; - KeysData_68 = keysData[68]; - KeysData_69 = keysData[69]; - KeysData_70 = keysData[70]; - KeysData_71 = keysData[71]; - KeysData_72 = keysData[72]; - KeysData_73 = keysData[73]; - KeysData_74 = keysData[74]; - KeysData_75 = keysData[75]; - KeysData_76 = keysData[76]; - KeysData_77 = keysData[77]; - KeysData_78 = keysData[78]; - KeysData_79 = keysData[79]; - KeysData_80 = keysData[80]; - KeysData_81 = keysData[81]; - KeysData_82 = keysData[82]; - KeysData_83 = keysData[83]; - KeysData_84 = keysData[84]; - KeysData_85 = keysData[85]; - KeysData_86 = keysData[86]; - KeysData_87 = keysData[87]; - KeysData_88 = keysData[88]; - KeysData_89 = keysData[89]; - KeysData_90 = keysData[90]; - KeysData_91 = keysData[91]; - KeysData_92 = keysData[92]; - KeysData_93 = keysData[93]; - KeysData_94 = keysData[94]; - KeysData_95 = keysData[95]; - KeysData_96 = keysData[96]; - KeysData_97 = keysData[97]; - KeysData_98 = keysData[98]; - KeysData_99 = keysData[99]; - KeysData_100 = keysData[100]; - KeysData_101 = keysData[101]; - KeysData_102 = keysData[102]; - KeysData_103 = keysData[103]; - KeysData_104 = keysData[104]; - KeysData_105 = keysData[105]; - KeysData_106 = keysData[106]; - KeysData_107 = keysData[107]; - KeysData_108 = keysData[108]; - KeysData_109 = keysData[109]; - KeysData_110 = keysData[110]; - KeysData_111 = keysData[111]; - KeysData_112 = keysData[112]; - KeysData_113 = keysData[113]; - KeysData_114 = keysData[114]; - KeysData_115 = keysData[115]; - KeysData_116 = keysData[116]; - KeysData_117 = keysData[117]; - KeysData_118 = keysData[118]; - KeysData_119 = keysData[119]; - KeysData_120 = keysData[120]; - KeysData_121 = keysData[121]; - KeysData_122 = keysData[122]; - KeysData_123 = keysData[123]; - KeysData_124 = keysData[124]; - KeysData_125 = keysData[125]; - KeysData_126 = keysData[126]; - KeysData_127 = keysData[127]; - KeysData_128 = keysData[128]; - KeysData_129 = keysData[129]; - KeysData_130 = keysData[130]; - KeysData_131 = keysData[131]; - KeysData_132 = keysData[132]; - KeysData_133 = keysData[133]; - KeysData_134 = keysData[134]; - KeysData_135 = keysData[135]; - KeysData_136 = keysData[136]; - KeysData_137 = keysData[137]; - KeysData_138 = keysData[138]; - KeysData_139 = keysData[139]; - KeysData_140 = keysData[140]; - KeysData_141 = keysData[141]; - KeysData_142 = keysData[142]; - KeysData_143 = keysData[143]; - KeysData_144 = keysData[144]; - KeysData_145 = keysData[145]; - KeysData_146 = keysData[146]; - KeysData_147 = keysData[147]; - KeysData_148 = keysData[148]; - KeysData_149 = keysData[149]; - KeysData_150 = keysData[150]; - KeysData_151 = keysData[151]; - KeysData_152 = keysData[152]; - KeysData_153 = keysData[153]; - KeysData_154 = keysData[154]; - } - WantCaptureMouseUnlessPopupClose = wantCaptureMouseUnlessPopupClose ? (byte)1 : (byte)0; - MousePosPrev = mousePosPrev; - if (mouseClickedPos != default(Span)) - { - MouseClickedPos_0 = mouseClickedPos[0]; - MouseClickedPos_1 = mouseClickedPos[1]; - MouseClickedPos_2 = mouseClickedPos[2]; - MouseClickedPos_3 = mouseClickedPos[3]; - MouseClickedPos_4 = mouseClickedPos[4]; - } - if (mouseClickedTime != default(Span)) - { - MouseClickedTime_0 = mouseClickedTime[0]; - MouseClickedTime_1 = mouseClickedTime[1]; - MouseClickedTime_2 = mouseClickedTime[2]; - MouseClickedTime_3 = mouseClickedTime[3]; - MouseClickedTime_4 = mouseClickedTime[4]; - } - if (mouseClicked != default(Span)) - { - MouseClicked_0 = mouseClicked[0]; - MouseClicked_1 = mouseClicked[1]; - MouseClicked_2 = mouseClicked[2]; - MouseClicked_3 = mouseClicked[3]; - MouseClicked_4 = mouseClicked[4]; - } - if (mouseDoubleClicked != default(Span)) - { - MouseDoubleClicked_0 = mouseDoubleClicked[0]; - MouseDoubleClicked_1 = mouseDoubleClicked[1]; - MouseDoubleClicked_2 = mouseDoubleClicked[2]; - MouseDoubleClicked_3 = mouseDoubleClicked[3]; - MouseDoubleClicked_4 = mouseDoubleClicked[4]; - } - if (mouseClickedCount != default(Span)) - { - MouseClickedCount_0 = mouseClickedCount[0]; - MouseClickedCount_1 = mouseClickedCount[1]; - MouseClickedCount_2 = mouseClickedCount[2]; - MouseClickedCount_3 = mouseClickedCount[3]; - MouseClickedCount_4 = mouseClickedCount[4]; - } - if (mouseClickedLastCount != default(Span)) - { - MouseClickedLastCount_0 = mouseClickedLastCount[0]; - MouseClickedLastCount_1 = mouseClickedLastCount[1]; - MouseClickedLastCount_2 = mouseClickedLastCount[2]; - MouseClickedLastCount_3 = mouseClickedLastCount[3]; - MouseClickedLastCount_4 = mouseClickedLastCount[4]; - } - if (mouseReleased != default(Span)) - { - MouseReleased_0 = mouseReleased[0]; - MouseReleased_1 = mouseReleased[1]; - MouseReleased_2 = mouseReleased[2]; - MouseReleased_3 = mouseReleased[3]; - MouseReleased_4 = mouseReleased[4]; - } - if (mouseReleasedTime != default(Span)) - { - MouseReleasedTime_0 = mouseReleasedTime[0]; - MouseReleasedTime_1 = mouseReleasedTime[1]; - MouseReleasedTime_2 = mouseReleasedTime[2]; - MouseReleasedTime_3 = mouseReleasedTime[3]; - MouseReleasedTime_4 = mouseReleasedTime[4]; - } - if (mouseDownOwned != default(Span)) - { - MouseDownOwned_0 = mouseDownOwned[0]; - MouseDownOwned_1 = mouseDownOwned[1]; - MouseDownOwned_2 = mouseDownOwned[2]; - MouseDownOwned_3 = mouseDownOwned[3]; - MouseDownOwned_4 = mouseDownOwned[4]; - } - if (mouseDownOwnedUnlessPopupClose != default(Span)) - { - MouseDownOwnedUnlessPopupClose_0 = mouseDownOwnedUnlessPopupClose[0]; - MouseDownOwnedUnlessPopupClose_1 = mouseDownOwnedUnlessPopupClose[1]; - MouseDownOwnedUnlessPopupClose_2 = mouseDownOwnedUnlessPopupClose[2]; - MouseDownOwnedUnlessPopupClose_3 = mouseDownOwnedUnlessPopupClose[3]; - MouseDownOwnedUnlessPopupClose_4 = mouseDownOwnedUnlessPopupClose[4]; - } - MouseWheelRequestAxisSwap = mouseWheelRequestAxisSwap ? (byte)1 : (byte)0; - MouseCtrlLeftAsRightClick = mouseCtrlLeftAsRightClick ? (byte)1 : (byte)0; - if (mouseDownDuration != default(Span)) - { - MouseDownDuration_0 = mouseDownDuration[0]; - MouseDownDuration_1 = mouseDownDuration[1]; - MouseDownDuration_2 = mouseDownDuration[2]; - MouseDownDuration_3 = mouseDownDuration[3]; - MouseDownDuration_4 = mouseDownDuration[4]; - } - if (mouseDownDurationPrev != default(Span)) - { - MouseDownDurationPrev_0 = mouseDownDurationPrev[0]; - MouseDownDurationPrev_1 = mouseDownDurationPrev[1]; - MouseDownDurationPrev_2 = mouseDownDurationPrev[2]; - MouseDownDurationPrev_3 = mouseDownDurationPrev[3]; - MouseDownDurationPrev_4 = mouseDownDurationPrev[4]; - } - if (mouseDragMaxDistanceAbs != default(Span)) - { - MouseDragMaxDistanceAbs_0 = mouseDragMaxDistanceAbs[0]; - MouseDragMaxDistanceAbs_1 = mouseDragMaxDistanceAbs[1]; - MouseDragMaxDistanceAbs_2 = mouseDragMaxDistanceAbs[2]; - MouseDragMaxDistanceAbs_3 = mouseDragMaxDistanceAbs[3]; - MouseDragMaxDistanceAbs_4 = mouseDragMaxDistanceAbs[4]; - } - if (mouseDragMaxDistanceSqr != default(Span)) - { - MouseDragMaxDistanceSqr_0 = mouseDragMaxDistanceSqr[0]; - MouseDragMaxDistanceSqr_1 = mouseDragMaxDistanceSqr[1]; - MouseDragMaxDistanceSqr_2 = mouseDragMaxDistanceSqr[2]; - MouseDragMaxDistanceSqr_3 = mouseDragMaxDistanceSqr[3]; - MouseDragMaxDistanceSqr_4 = mouseDragMaxDistanceSqr[4]; - } - PenPressure = penPressure; - AppFocusLost = appFocusLost ? (byte)1 : (byte)0; - AppAcceptingEvents = appAcceptingEvents ? (byte)1 : (byte)0; - InputQueueSurrogate = inputQueueSurrogate; - InputQueueCharacters = inputQueueCharacters; - } - - - /// - /// To be documented. - /// - public unsafe Span KeysData - - { - get - { - fixed (ImGuiKeyData* p = &this.KeysData_0) - { - return new Span(p, 155); - } - } - } - /// - /// To be documented. - /// - public unsafe Span MouseClickedPos - - { - get - { - fixed (Vector2* p = &this.MouseClickedPos_0) - { - return new Span(p, 5); - } - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDragMaxDistanceAbs - - { - get - { - fixed (Vector2* p = &this.MouseDragMaxDistanceAbs_0) - { - return new Span(p, 5); - } - } - } - /// - /// Queue a gainloss of focus for the application (generally based on OSplatform focus of your window)
- ///
- public unsafe void AddFocusEvent(bool focused) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddFocusEventNative(@this, focused ? (byte)1 : (byte)0); - } - } - - /// - /// Queue a new character input
- ///
- public unsafe void AddInputCharacter(uint c) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddInputCharacterNative(@this, c); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(byte* str) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddInputCharactersUTF8Native(@this, str); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(ref byte str) - { - fixed (ImGuiIO* @this = &this) - { - fixed (byte* pstr = &str) - { - ImGui.AddInputCharactersUTF8Native(@this, (byte*)pstr); - } - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(ReadOnlySpan str) - { - fixed (ImGuiIO* @this = &this) - { - fixed (byte* pstr = str) - { - ImGui.AddInputCharactersUTF8Native(@this, (byte*)pstr); - } - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(string str) - { - fixed (ImGuiIO* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddInputCharactersUTF8Native(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Queue a new character input from a UTF-16 character, it can be a surrogate
- ///
- public unsafe void AddInputCharacterUTF16(ushort c) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddInputCharacterUTF16Native(@this, c); - } - } - - /// - /// Queue a new key downup event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend.
- ///
- public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddKeyAnalogEventNative(@this, key, down ? (byte)1 : (byte)0, v); - } - } - - /// - /// Queue a new key downup event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)
- ///
- public unsafe void AddKeyEvent(ImGuiKey key, bool down) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddKeyEventNative(@this, key, down ? (byte)1 : (byte)0); - } - } - - /// - /// Queue a mouse button change
- ///
- public unsafe void AddMouseButtonEvent(int button, bool down) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddMouseButtonEventNative(@this, button, down ? (byte)1 : (byte)0); - } - } - - /// - /// Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)
- ///
- public unsafe void AddMousePosEvent(float x, float y) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddMousePosEventNative(@this, x, y); - } - } - - /// - /// Queue a mouse source change (MouseTouchScreenPen)
- ///
- public unsafe void AddMouseSourceEvent(ImGuiMouseSource source) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddMouseSourceEventNative(@this, source); - } - } - - /// - /// Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support).
- ///
- public unsafe void AddMouseViewportEvent(uint id) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddMouseViewportEventNative(@this, id); - } - } - - /// - /// Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left.
- ///
- public unsafe void AddMouseWheelEvent(float wheelX, float wheelY) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.AddMouseWheelEventNative(@this, wheelX, wheelY); - } - } - - /// - /// Clear all incoming events.
- ///
- public unsafe void ClearEventsQueue() - { - fixed (ImGuiIO* @this = &this) - { - ImGui.ClearEventsQueueNative(@this); - } - } - - /// - /// Clear current keyboardgamepad state + current frame text input buffer. Equivalent to releasing all keysbuttons.
- ///
- public unsafe void ClearInputKeys() - { - fixed (ImGuiIO* @this = &this) - { - ImGui.ClearInputKeysNative(@this); - } - } - - /// - /// Clear current mouse state.
- ///
- public unsafe void ClearInputMouse() - { - fixed (ImGuiIO* @this = &this) - { - ImGui.ClearInputMouseNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiIO* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// Set master flag for accepting keymousetext events (default to true). Useful if you have native dialog boxes that are interrupting your application looprefresh, and you want to disable events being queued while your app is frozen.
- ///
- public unsafe void SetAppAcceptingEvents(bool acceptingEvents) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.SetAppAcceptingEventsNative(@this, acceptingEvents ? (byte)1 : (byte)0); - } - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.SetKeyEventNativeDataNative(@this, key, nativeKeycode, nativeScancode, nativeLegacyIndex); - } - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode) - { - fixed (ImGuiIO* @this = &this) - { - ImGui.SetKeyEventNativeDataNative(@this, key, nativeKeycode, nativeScancode, (int)(-1)); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiIOPtr : IEquatable - { - public ImGuiIOPtr(ImGuiIO* handle) { Handle = handle; } - - public ImGuiIO* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiIOPtr Null => new ImGuiIOPtr(null); - - public ImGuiIO this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiIOPtr(ImGuiIO* handle) => new ImGuiIOPtr(handle); - - public static implicit operator ImGuiIO*(ImGuiIOPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiIOPtr left, ImGuiIOPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiIOPtr left, ImGuiIOPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiIOPtr left, ImGuiIO* right) => left.Handle == right; - - public static bool operator !=(ImGuiIOPtr left, ImGuiIO* right) => left.Handle != right; - - public bool Equals(ImGuiIOPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiIOPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiConfigFlags ConfigFlags => ref Unsafe.AsRef(&Handle->ConfigFlags); - /// - /// To be documented. - /// - public ref ImGuiBackendFlags BackendFlags => ref Unsafe.AsRef(&Handle->BackendFlags); - /// - /// To be documented. - /// - public ref Vector2 DisplaySize => ref Unsafe.AsRef(&Handle->DisplaySize); - /// - /// To be documented. - /// - public ref float DeltaTime => ref Unsafe.AsRef(&Handle->DeltaTime); - /// - /// To be documented. - /// - public ref float IniSavingRate => ref Unsafe.AsRef(&Handle->IniSavingRate); - /// - /// To be documented. - /// - public byte* IniFilename { get => Handle->IniFilename; set => Handle->IniFilename = value; } - /// - /// To be documented. - /// - public byte* LogFilename { get => Handle->LogFilename; set => Handle->LogFilename = value; } - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - /// - /// To be documented. - /// - public ref ImFontAtlasPtr Fonts => ref Unsafe.AsRef(&Handle->Fonts); - /// - /// To be documented. - /// - public ref float FontGlobalScale => ref Unsafe.AsRef(&Handle->FontGlobalScale); - /// - /// To be documented. - /// - public ref bool FontAllowUserScaling => ref Unsafe.AsRef(&Handle->FontAllowUserScaling); - /// - /// To be documented. - /// - public ref ImFontPtr FontDefault => ref Unsafe.AsRef(&Handle->FontDefault); - /// - /// To be documented. - /// - public ref Vector2 DisplayFramebufferScale => ref Unsafe.AsRef(&Handle->DisplayFramebufferScale); - /// - /// To be documented. - /// - public ref bool ConfigNavSwapGamepadButtons => ref Unsafe.AsRef(&Handle->ConfigNavSwapGamepadButtons); - /// - /// To be documented. - /// - public ref bool ConfigNavMoveSetMousePos => ref Unsafe.AsRef(&Handle->ConfigNavMoveSetMousePos); - /// - /// To be documented. - /// - public ref bool ConfigNavCaptureKeyboard => ref Unsafe.AsRef(&Handle->ConfigNavCaptureKeyboard); - /// - /// To be documented. - /// - public ref bool ConfigNavEscapeClearFocusItem => ref Unsafe.AsRef(&Handle->ConfigNavEscapeClearFocusItem); - /// - /// To be documented. - /// - public ref bool ConfigNavEscapeClearFocusWindow => ref Unsafe.AsRef(&Handle->ConfigNavEscapeClearFocusWindow); - /// - /// To be documented. - /// - public ref bool ConfigNavCursorVisibleAuto => ref Unsafe.AsRef(&Handle->ConfigNavCursorVisibleAuto); - /// - /// To be documented. - /// - public ref bool ConfigNavCursorVisibleAlways => ref Unsafe.AsRef(&Handle->ConfigNavCursorVisibleAlways); - /// - /// To be documented. - /// - public ref bool ConfigDockingNoSplit => ref Unsafe.AsRef(&Handle->ConfigDockingNoSplit); - /// - /// To be documented. - /// - public ref bool ConfigDockingWithShift => ref Unsafe.AsRef(&Handle->ConfigDockingWithShift); - /// - /// To be documented. - /// - public ref bool ConfigDockingAlwaysTabBar => ref Unsafe.AsRef(&Handle->ConfigDockingAlwaysTabBar); - /// - /// To be documented. - /// - public ref bool ConfigDockingTransparentPayload => ref Unsafe.AsRef(&Handle->ConfigDockingTransparentPayload); - /// - /// To be documented. - /// - public ref bool ConfigViewportsNoAutoMerge => ref Unsafe.AsRef(&Handle->ConfigViewportsNoAutoMerge); - /// - /// To be documented. - /// - public ref bool ConfigViewportsNoTaskBarIcon => ref Unsafe.AsRef(&Handle->ConfigViewportsNoTaskBarIcon); - /// - /// To be documented. - /// - public ref bool ConfigViewportsNoDecoration => ref Unsafe.AsRef(&Handle->ConfigViewportsNoDecoration); - /// - /// To be documented. - /// - public ref bool ConfigViewportsNoDefaultParent => ref Unsafe.AsRef(&Handle->ConfigViewportsNoDefaultParent); - /// - /// To be documented. - /// - public ref bool MouseDrawCursor => ref Unsafe.AsRef(&Handle->MouseDrawCursor); - /// - /// To be documented. - /// - public ref bool ConfigMacOSXBehaviors => ref Unsafe.AsRef(&Handle->ConfigMacOSXBehaviors); - /// - /// To be documented. - /// - public ref bool ConfigInputTrickleEventQueue => ref Unsafe.AsRef(&Handle->ConfigInputTrickleEventQueue); - /// - /// To be documented. - /// - public ref bool ConfigInputTextCursorBlink => ref Unsafe.AsRef(&Handle->ConfigInputTextCursorBlink); - /// - /// To be documented. - /// - public ref bool ConfigInputTextEnterKeepActive => ref Unsafe.AsRef(&Handle->ConfigInputTextEnterKeepActive); - /// - /// To be documented. - /// - public ref bool ConfigDragClickToInputText => ref Unsafe.AsRef(&Handle->ConfigDragClickToInputText); - /// - /// To be documented. - /// - public ref bool ConfigWindowsResizeFromEdges => ref Unsafe.AsRef(&Handle->ConfigWindowsResizeFromEdges); - /// - /// To be documented. - /// - public ref bool ConfigWindowsMoveFromTitleBarOnly => ref Unsafe.AsRef(&Handle->ConfigWindowsMoveFromTitleBarOnly); - /// - /// To be documented. - /// - public ref bool ConfigWindowsCopyContentsWithCtrlC => ref Unsafe.AsRef(&Handle->ConfigWindowsCopyContentsWithCtrlC); - /// - /// To be documented. - /// - public ref bool ConfigScrollbarScrollByPage => ref Unsafe.AsRef(&Handle->ConfigScrollbarScrollByPage); - /// - /// To be documented. - /// - public ref float ConfigMemoryCompactTimer => ref Unsafe.AsRef(&Handle->ConfigMemoryCompactTimer); - /// - /// To be documented. - /// - public ref float MouseDoubleClickTime => ref Unsafe.AsRef(&Handle->MouseDoubleClickTime); - /// - /// To be documented. - /// - public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef(&Handle->MouseDoubleClickMaxDist); - /// - /// To be documented. - /// - public ref float MouseDragThreshold => ref Unsafe.AsRef(&Handle->MouseDragThreshold); - /// - /// To be documented. - /// - public ref float KeyRepeatDelay => ref Unsafe.AsRef(&Handle->KeyRepeatDelay); - /// - /// To be documented. - /// - public ref float KeyRepeatRate => ref Unsafe.AsRef(&Handle->KeyRepeatRate); - /// - /// To be documented. - /// - public ref bool ConfigErrorRecovery => ref Unsafe.AsRef(&Handle->ConfigErrorRecovery); - /// - /// To be documented. - /// - public ref bool ConfigErrorRecoveryEnableAssert => ref Unsafe.AsRef(&Handle->ConfigErrorRecoveryEnableAssert); - /// - /// To be documented. - /// - public ref bool ConfigErrorRecoveryEnableDebugLog => ref Unsafe.AsRef(&Handle->ConfigErrorRecoveryEnableDebugLog); - /// - /// To be documented. - /// - public ref bool ConfigErrorRecoveryEnableTooltip => ref Unsafe.AsRef(&Handle->ConfigErrorRecoveryEnableTooltip); - /// - /// To be documented. - /// - public ref bool ConfigDebugIsDebuggerPresent => ref Unsafe.AsRef(&Handle->ConfigDebugIsDebuggerPresent); - /// - /// To be documented. - /// - public ref bool ConfigDebugHighlightIdConflicts => ref Unsafe.AsRef(&Handle->ConfigDebugHighlightIdConflicts); - /// - /// To be documented. - /// - public ref bool ConfigDebugHighlightIdConflictsShowItemPicker => ref Unsafe.AsRef(&Handle->ConfigDebugHighlightIdConflictsShowItemPicker); - /// - /// To be documented. - /// - public ref bool ConfigDebugBeginReturnValueOnce => ref Unsafe.AsRef(&Handle->ConfigDebugBeginReturnValueOnce); - /// - /// To be documented. - /// - public ref bool ConfigDebugBeginReturnValueLoop => ref Unsafe.AsRef(&Handle->ConfigDebugBeginReturnValueLoop); - /// - /// To be documented. - /// - public ref bool ConfigDebugIgnoreFocusLoss => ref Unsafe.AsRef(&Handle->ConfigDebugIgnoreFocusLoss); - /// - /// To be documented. - /// - public ref bool ConfigDebugIniSettings => ref Unsafe.AsRef(&Handle->ConfigDebugIniSettings); - /// - /// To be documented. - /// - public byte* BackendPlatformName { get => Handle->BackendPlatformName; set => Handle->BackendPlatformName = value; } - /// - /// To be documented. - /// - public byte* BackendRendererName { get => Handle->BackendRendererName; set => Handle->BackendRendererName = value; } - /// - /// To be documented. - /// - public void* BackendPlatformUserData { get => Handle->BackendPlatformUserData; set => Handle->BackendPlatformUserData = value; } - /// - /// To be documented. - /// - public void* BackendRendererUserData { get => Handle->BackendRendererUserData; set => Handle->BackendRendererUserData = value; } - /// - /// To be documented. - /// - public void* BackendLanguageUserData { get => Handle->BackendLanguageUserData; set => Handle->BackendLanguageUserData = value; } - /// - /// To be documented. - /// - public ref bool WantCaptureMouse => ref Unsafe.AsRef(&Handle->WantCaptureMouse); - /// - /// To be documented. - /// - public ref bool WantCaptureKeyboard => ref Unsafe.AsRef(&Handle->WantCaptureKeyboard); - /// - /// To be documented. - /// - public ref bool WantTextInput => ref Unsafe.AsRef(&Handle->WantTextInput); - /// - /// To be documented. - /// - public ref bool WantSetMousePos => ref Unsafe.AsRef(&Handle->WantSetMousePos); - /// - /// To be documented. - /// - public ref bool WantSaveIniSettings => ref Unsafe.AsRef(&Handle->WantSaveIniSettings); - /// - /// To be documented. - /// - public ref bool NavActive => ref Unsafe.AsRef(&Handle->NavActive); - /// - /// To be documented. - /// - public ref bool NavVisible => ref Unsafe.AsRef(&Handle->NavVisible); - /// - /// To be documented. - /// - public ref float Framerate => ref Unsafe.AsRef(&Handle->Framerate); - /// - /// To be documented. - /// - public ref int MetricsRenderVertices => ref Unsafe.AsRef(&Handle->MetricsRenderVertices); - /// - /// To be documented. - /// - public ref int MetricsRenderIndices => ref Unsafe.AsRef(&Handle->MetricsRenderIndices); - /// - /// To be documented. - /// - public ref int MetricsRenderWindows => ref Unsafe.AsRef(&Handle->MetricsRenderWindows); - /// - /// To be documented. - /// - public ref int MetricsActiveWindows => ref Unsafe.AsRef(&Handle->MetricsActiveWindows); - /// - /// To be documented. - /// - public ref Vector2 MouseDelta => ref Unsafe.AsRef(&Handle->MouseDelta); - /// - /// To be documented. - /// - public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef(&Handle->Ctx); - /// - /// To be documented. - /// - public ref Vector2 MousePos => ref Unsafe.AsRef(&Handle->MousePos); - /// - /// To be documented. - /// - public unsafe Span MouseDown - - { - get - { - return new Span(&Handle->MouseDown_0, 5); - } - } - /// - /// To be documented. - /// - public ref float MouseWheel => ref Unsafe.AsRef(&Handle->MouseWheel); - /// - /// To be documented. - /// - public ref float MouseWheelH => ref Unsafe.AsRef(&Handle->MouseWheelH); - /// - /// To be documented. - /// - public ref ImGuiMouseSource MouseSource => ref Unsafe.AsRef(&Handle->MouseSource); - /// - /// To be documented. - /// - public ref uint MouseHoveredViewport => ref Unsafe.AsRef(&Handle->MouseHoveredViewport); - /// - /// To be documented. - /// - public ref bool KeyCtrl => ref Unsafe.AsRef(&Handle->KeyCtrl); - /// - /// To be documented. - /// - public ref bool KeyShift => ref Unsafe.AsRef(&Handle->KeyShift); - /// - /// To be documented. - /// - public ref bool KeyAlt => ref Unsafe.AsRef(&Handle->KeyAlt); - /// - /// To be documented. - /// - public ref bool KeySuper => ref Unsafe.AsRef(&Handle->KeySuper); - /// - /// To be documented. - /// - public ref int KeyMods => ref Unsafe.AsRef(&Handle->KeyMods); - /// - /// To be documented. - /// - public unsafe Span KeysData - - { - get - { - return new Span(&Handle->KeysData_0, 155); - } - } - /// - /// To be documented. - /// - public ref bool WantCaptureMouseUnlessPopupClose => ref Unsafe.AsRef(&Handle->WantCaptureMouseUnlessPopupClose); - /// - /// To be documented. - /// - public ref Vector2 MousePosPrev => ref Unsafe.AsRef(&Handle->MousePosPrev); - /// - /// To be documented. - /// - public unsafe Span MouseClickedPos - - { - get - { - return new Span(&Handle->MouseClickedPos_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseClickedTime - - { - get - { - return new Span(&Handle->MouseClickedTime_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseClicked - - { - get - { - return new Span(&Handle->MouseClicked_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDoubleClicked - - { - get - { - return new Span(&Handle->MouseDoubleClicked_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseClickedCount - - { - get - { - return new Span(&Handle->MouseClickedCount_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseClickedLastCount - - { - get - { - return new Span(&Handle->MouseClickedLastCount_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseReleased - - { - get - { - return new Span(&Handle->MouseReleased_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseReleasedTime - - { - get - { - return new Span(&Handle->MouseReleasedTime_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDownOwned - - { - get - { - return new Span(&Handle->MouseDownOwned_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDownOwnedUnlessPopupClose - - { - get - { - return new Span(&Handle->MouseDownOwnedUnlessPopupClose_0, 5); - } - } - /// - /// To be documented. - /// - public ref bool MouseWheelRequestAxisSwap => ref Unsafe.AsRef(&Handle->MouseWheelRequestAxisSwap); - /// - /// To be documented. - /// - public ref bool MouseCtrlLeftAsRightClick => ref Unsafe.AsRef(&Handle->MouseCtrlLeftAsRightClick); - /// - /// To be documented. - /// - public unsafe Span MouseDownDuration - - { - get - { - return new Span(&Handle->MouseDownDuration_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDownDurationPrev - - { - get - { - return new Span(&Handle->MouseDownDurationPrev_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDragMaxDistanceAbs - - { - get - { - return new Span(&Handle->MouseDragMaxDistanceAbs_0, 5); - } - } - /// - /// To be documented. - /// - public unsafe Span MouseDragMaxDistanceSqr - - { - get - { - return new Span(&Handle->MouseDragMaxDistanceSqr_0, 5); - } - } - /// - /// To be documented. - /// - public ref float PenPressure => ref Unsafe.AsRef(&Handle->PenPressure); - /// - /// To be documented. - /// - public ref bool AppFocusLost => ref Unsafe.AsRef(&Handle->AppFocusLost); - /// - /// To be documented. - /// - public ref bool AppAcceptingEvents => ref Unsafe.AsRef(&Handle->AppAcceptingEvents); - /// - /// To be documented. - /// - public ref ushort InputQueueSurrogate => ref Unsafe.AsRef(&Handle->InputQueueSurrogate); - /// - /// To be documented. - /// - public ref ImVector InputQueueCharacters => ref Unsafe.AsRef>(&Handle->InputQueueCharacters); - /// - /// Queue a gainloss of focus for the application (generally based on OSplatform focus of your window)
- ///
- public unsafe void AddFocusEvent(bool focused) - { - ImGui.AddFocusEventNative(Handle, focused ? (byte)1 : (byte)0); - } - - /// - /// Queue a new character input
- ///
- public unsafe void AddInputCharacter(uint c) - { - ImGui.AddInputCharacterNative(Handle, c); - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(byte* str) - { - ImGui.AddInputCharactersUTF8Native(Handle, str); - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(ref byte str) - { - fixed (byte* pstr = &str) - { - ImGui.AddInputCharactersUTF8Native(Handle, (byte*)pstr); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - ImGui.AddInputCharactersUTF8Native(Handle, (byte*)pstr); - } - } - - /// - /// Queue a new characters input from a UTF-8 string
- ///
- public unsafe void AddInputCharactersUTF8(string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.AddInputCharactersUTF8Native(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Queue a new character input from a UTF-16 character, it can be a surrogate
- ///
- public unsafe void AddInputCharacterUTF16(ushort c) - { - ImGui.AddInputCharacterUTF16Native(Handle, c); - } - - /// - /// Queue a new key downup event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend.
- ///
- public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v) - { - ImGui.AddKeyAnalogEventNative(Handle, key, down ? (byte)1 : (byte)0, v); - } - - /// - /// Queue a new key downup event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character)
- ///
- public unsafe void AddKeyEvent(ImGuiKey key, bool down) - { - ImGui.AddKeyEventNative(Handle, key, down ? (byte)1 : (byte)0); - } - - /// - /// Queue a mouse button change
- ///
- public unsafe void AddMouseButtonEvent(int button, bool down) - { - ImGui.AddMouseButtonEventNative(Handle, button, down ? (byte)1 : (byte)0); - } - - /// - /// Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered)
- ///
- public unsafe void AddMousePosEvent(float x, float y) - { - ImGui.AddMousePosEventNative(Handle, x, y); - } - - /// - /// Queue a mouse source change (MouseTouchScreenPen)
- ///
- public unsafe void AddMouseSourceEvent(ImGuiMouseSource source) - { - ImGui.AddMouseSourceEventNative(Handle, source); - } - - /// - /// Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support).
- ///
- public unsafe void AddMouseViewportEvent(uint id) - { - ImGui.AddMouseViewportEventNative(Handle, id); - } - - /// - /// Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left.
- ///
- public unsafe void AddMouseWheelEvent(float wheelX, float wheelY) - { - ImGui.AddMouseWheelEventNative(Handle, wheelX, wheelY); - } - - /// - /// Clear all incoming events.
- ///
- public unsafe void ClearEventsQueue() - { - ImGui.ClearEventsQueueNative(Handle); - } - - /// - /// Clear current keyboardgamepad state + current frame text input buffer. Equivalent to releasing all keysbuttons.
- ///
- public unsafe void ClearInputKeys() - { - ImGui.ClearInputKeysNative(Handle); - } - - /// - /// Clear current mouse state.
- ///
- public unsafe void ClearInputMouse() - { - ImGui.ClearInputMouseNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// Set master flag for accepting keymousetext events (default to true). Useful if you have native dialog boxes that are interrupting your application looprefresh, and you want to disable events being queued while your app is frozen.
- ///
- public unsafe void SetAppAcceptingEvents(bool acceptingEvents) - { - ImGui.SetAppAcceptingEventsNative(Handle, acceptingEvents ? (byte)1 : (byte)0); - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) - { - ImGui.SetKeyEventNativeDataNative(Handle, key, nativeKeycode, nativeScancode, nativeLegacyIndex); - } - - /// - /// [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode.
- ///
- public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode) - { - ImGui.SetKeyEventNativeDataNative(Handle, key, nativeKeycode, nativeScancode, (int)(-1)); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEvent.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEvent.cs deleted file mode 100644 index 92ceb6660..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEvent.cs +++ /dev/null @@ -1,195 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEvent - { - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Explicit)] - public partial struct ImGuiInputEventUnion - { - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventMousePos MousePos; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventMouseWheel MouseWheel; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventMouseButton MouseButton; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventMouseViewport MouseViewport; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventKey Key; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventText Text; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public ImGuiInputEventAppFocused AppFocused; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventUnion(ImGuiInputEventMousePos mousePos = default, ImGuiInputEventMouseWheel mouseWheel = default, ImGuiInputEventMouseButton mouseButton = default, ImGuiInputEventMouseViewport mouseViewport = default, ImGuiInputEventKey key = default, ImGuiInputEventText text = default, ImGuiInputEventAppFocused appFocused = default) - { - MousePos = mousePos; - MouseWheel = mouseWheel; - MouseButton = mouseButton; - MouseViewport = mouseViewport; - Key = key; - Text = text; - AppFocused = appFocused; - } - - - } - - /// - /// To be documented. - /// - public ImGuiInputEventType Type; - - /// - /// To be documented. - /// - public ImGuiInputSource Source; - - /// - /// To be documented. - /// - public uint EventId; - - /// - /// To be documented. - /// - public ImGuiInputEventUnion Union; - - /// - /// To be documented. - /// - public byte AddedByTestEngine; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEvent(ImGuiInputEventType type = default, ImGuiInputSource source = default, uint eventId = default, ImGuiInputEventUnion union = default, bool addedByTestEngine = default) - { - Type = type; - Source = source; - EventId = eventId; - Union = union; - AddedByTestEngine = addedByTestEngine ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiInputEventPtr : IEquatable - { - public ImGuiInputEventPtr(ImGuiInputEvent* handle) { Handle = handle; } - - public ImGuiInputEvent* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiInputEventPtr Null => new ImGuiInputEventPtr(null); - - public ImGuiInputEvent this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiInputEventPtr(ImGuiInputEvent* handle) => new ImGuiInputEventPtr(handle); - - public static implicit operator ImGuiInputEvent*(ImGuiInputEventPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiInputEventPtr left, ImGuiInputEventPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiInputEventPtr left, ImGuiInputEventPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiInputEventPtr left, ImGuiInputEvent* right) => left.Handle == right; - - public static bool operator !=(ImGuiInputEventPtr left, ImGuiInputEvent* right) => left.Handle != right; - - public bool Equals(ImGuiInputEventPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiInputEventPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiInputEventPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiInputEventType Type => ref Unsafe.AsRef(&Handle->Type); - /// - /// To be documented. - /// - public ref ImGuiInputSource Source => ref Unsafe.AsRef(&Handle->Source); - /// - /// To be documented. - /// - public ref uint EventId => ref Unsafe.AsRef(&Handle->EventId); - /// - /// To be documented. - /// - public ref ImGuiInputEvent.ImGuiInputEventUnion Union => ref Unsafe.AsRef(&Handle->Union); - /// - /// To be documented. - /// - public ref bool AddedByTestEngine => ref Unsafe.AsRef(&Handle->AddedByTestEngine); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs deleted file mode 100644 index 957bc378f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventAppFocused.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventAppFocused - { - /// - /// To be documented. - /// - public byte Focused; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventAppFocused(bool focused = default) - { - Focused = focused ? (byte)1 : (byte)0; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventKey.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventKey.cs deleted file mode 100644 index 503f613a2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventKey.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventKey - { - /// - /// To be documented. - /// - public ImGuiKey Key; - - /// - /// To be documented. - /// - public byte Down; - - /// - /// To be documented. - /// - public float AnalogValue; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventKey(ImGuiKey key = default, bool down = default, float analogValue = default) - { - Key = key; - Down = down ? (byte)1 : (byte)0; - AnalogValue = analogValue; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs deleted file mode 100644 index d1d2a40c5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseButton.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventMouseButton - { - /// - /// To be documented. - /// - public int Button; - - /// - /// To be documented. - /// - public byte Down; - - /// - /// To be documented. - /// - public ImGuiMouseSource MouseSource; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventMouseButton(int button = default, bool down = default, ImGuiMouseSource mouseSource = default) - { - Button = button; - Down = down ? (byte)1 : (byte)0; - MouseSource = mouseSource; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs deleted file mode 100644 index cf9a2c557..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMousePos.cs +++ /dev/null @@ -1,55 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
- /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventMousePos - { - /// - /// To be documented. - /// - public float PosX; - - /// - /// To be documented. - /// - public float PosY; - - /// - /// To be documented. - /// - public ImGuiMouseSource MouseSource; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventMousePos(float posX = default, float posY = default, ImGuiMouseSource mouseSource = default) - { - PosX = posX; - PosY = posY; - MouseSource = mouseSource; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs deleted file mode 100644 index 6490540b0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseViewport.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventMouseViewport - { - /// - /// To be documented. - /// - public uint HoveredViewportID; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventMouseViewport(uint hoveredViewportId = default) - { - HoveredViewportID = hoveredViewportId; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs deleted file mode 100644 index e0e818222..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventMouseWheel.cs +++ /dev/null @@ -1,54 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventMouseWheel - { - /// - /// To be documented. - /// - public float WheelX; - - /// - /// To be documented. - /// - public float WheelY; - - /// - /// To be documented. - /// - public ImGuiMouseSource MouseSource; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventMouseWheel(float wheelX = default, float wheelY = default, ImGuiMouseSource mouseSource = default) - { - WheelX = wheelX; - WheelY = wheelY; - MouseSource = mouseSource; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventText.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventText.cs deleted file mode 100644 index f6527f5c1..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputEventText.cs +++ /dev/null @@ -1,42 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputEventText - { - /// - /// To be documented. - /// - public uint Char; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputEventText(uint @char = default) - { - Char = @char; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs deleted file mode 100644 index 3a9648eb5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextCallbackData.cs +++ /dev/null @@ -1,1180 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used.
- /// The callback function should return 0 by default.
- /// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details)
- /// - ImGuiInputTextFlags_CallbackEdit: Callback on buffer edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
- /// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration
- /// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB
- /// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing UpDown arrows
- /// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.
- /// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputTextCallbackData - { - /// - /// To be documented. - /// - public unsafe ImGuiContext* Ctx; - - /// - /// To be documented. - /// - public ImGuiInputTextFlags EventFlag; - - /// - /// To be documented. - /// - public ImGuiInputTextFlags Flags; - - /// - /// To be documented. - /// - public unsafe void* UserData; - - /// - /// To be documented. - /// - public uint EventChar; - - /// - /// To be documented. - /// - public ImGuiKey EventKey; - - /// - /// To be documented. - /// - public unsafe byte* Buf; - - /// - /// To be documented. - /// - public int BufTextLen; - - /// - /// To be documented. - /// - public int BufSize; - - /// - /// To be documented. - /// - public byte BufDirty; - - /// - /// To be documented. - /// - public int CursorPos; - - /// - /// To be documented. - /// - public int SelectionStart; - - /// - /// To be documented. - /// - public int SelectionEnd; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputTextCallbackData(ImGuiContextPtr ctx = default, ImGuiInputTextFlags eventFlag = default, ImGuiInputTextFlags flags = default, void* userData = default, uint eventChar = default, ImGuiKey eventKey = default, byte* buf = default, int bufTextLen = default, int bufSize = default, bool bufDirty = default, int cursorPos = default, int selectionStart = default, int selectionEnd = default) - { - Ctx = ctx; - EventFlag = eventFlag; - Flags = flags; - UserData = userData; - EventChar = eventChar; - EventKey = eventKey; - Buf = buf; - BufTextLen = bufTextLen; - BufSize = bufSize; - BufDirty = bufDirty ? (byte)1 : (byte)0; - CursorPos = cursorPos; - SelectionStart = selectionStart; - SelectionEnd = selectionEnd; - } - - - /// - /// To be documented. - /// - public unsafe void ClearSelection() - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - ImGui.ClearSelectionNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void DeleteChars(int pos, int bytesCount) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - ImGui.DeleteCharsNative(@this, pos, bytesCount); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool HasSelection() - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte ret = ImGui.HasSelectionNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - ImGui.InsertCharsNative(@this, pos, text, textEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - ImGui.InsertCharsNative(@this, pos, text, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = &text) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, textEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = &text) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = text) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, textEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = text) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, byte* textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(@this, pos, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(@this, pos, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(@this, pos, text, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(@this, pos, text, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(@this, pos, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.InsertCharsNative(@this, pos, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, string textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(@this, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, ref byte textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(@this, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, ReadOnlySpan textEnd) - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(@this, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void SelectAll() - { - fixed (ImGuiInputTextCallbackData* @this = &this) - { - ImGui.SelectAllNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiInputTextCallbackDataPtr : IEquatable - { - public ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* handle) { Handle = handle; } - - public ImGuiInputTextCallbackData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiInputTextCallbackDataPtr Null => new ImGuiInputTextCallbackDataPtr(null); - - public ImGuiInputTextCallbackData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* handle) => new ImGuiInputTextCallbackDataPtr(handle); - - public static implicit operator ImGuiInputTextCallbackData*(ImGuiInputTextCallbackDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackData* right) => left.Handle == right; - - public static bool operator !=(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackData* right) => left.Handle != right; - - public bool Equals(ImGuiInputTextCallbackDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiInputTextCallbackDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiInputTextCallbackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef(&Handle->Ctx); - /// - /// To be documented. - /// - public ref ImGuiInputTextFlags EventFlag => ref Unsafe.AsRef(&Handle->EventFlag); - /// - /// To be documented. - /// - public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - /// - /// To be documented. - /// - public ref uint EventChar => ref Unsafe.AsRef(&Handle->EventChar); - /// - /// To be documented. - /// - public ref ImGuiKey EventKey => ref Unsafe.AsRef(&Handle->EventKey); - /// - /// To be documented. - /// - public byte* Buf { get => Handle->Buf; set => Handle->Buf = value; } - /// - /// To be documented. - /// - public ref int BufTextLen => ref Unsafe.AsRef(&Handle->BufTextLen); - /// - /// To be documented. - /// - public ref int BufSize => ref Unsafe.AsRef(&Handle->BufSize); - /// - /// To be documented. - /// - public ref bool BufDirty => ref Unsafe.AsRef(&Handle->BufDirty); - /// - /// To be documented. - /// - public ref int CursorPos => ref Unsafe.AsRef(&Handle->CursorPos); - /// - /// To be documented. - /// - public ref int SelectionStart => ref Unsafe.AsRef(&Handle->SelectionStart); - /// - /// To be documented. - /// - public ref int SelectionEnd => ref Unsafe.AsRef(&Handle->SelectionEnd); - /// - /// To be documented. - /// - public unsafe void ClearSelection() - { - ImGui.ClearSelectionNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void DeleteChars(int pos, int bytesCount) - { - ImGui.DeleteCharsNative(Handle, pos, bytesCount); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool HasSelection() - { - byte ret = ImGui.HasSelectionNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, byte* textEnd) - { - ImGui.InsertCharsNative(Handle, pos, text, textEnd); - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text) - { - ImGui.InsertCharsNative(Handle, pos, text, (byte*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, textEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text) - { - fixed (byte* ptext = &text) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, textEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(Handle, pos, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(Handle, pos, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(Handle, pos, text, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(Handle, pos, text, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(Handle, pos, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.InsertCharsNative(Handle, pos, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.InsertCharsNative(Handle, pos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - ImGui.InsertCharsNative(Handle, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void InsertChars(int pos, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - ImGui.InsertCharsNative(Handle, pos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SelectAll() - { - ImGui.SelectAllNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivateData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivateData.cs deleted file mode 100644 index f01261899..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivateData.cs +++ /dev/null @@ -1,29 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputTextDeactivateData - { - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivatedState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivatedState.cs deleted file mode 100644 index 324b8f0e2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextDeactivatedState.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Internal temporary state for deactivating InputText() instances.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputTextDeactivatedState - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImVector TextA; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputTextDeactivatedState(uint id = default, ImVector textA = default) - { - ID = id; - TextA = textA; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiInputTextDeactivatedStatePtr : IEquatable - { - public ImGuiInputTextDeactivatedStatePtr(ImGuiInputTextDeactivatedState* handle) { Handle = handle; } - - public ImGuiInputTextDeactivatedState* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiInputTextDeactivatedStatePtr Null => new ImGuiInputTextDeactivatedStatePtr(null); - - public ImGuiInputTextDeactivatedState this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiInputTextDeactivatedStatePtr(ImGuiInputTextDeactivatedState* handle) => new ImGuiInputTextDeactivatedStatePtr(handle); - - public static implicit operator ImGuiInputTextDeactivatedState*(ImGuiInputTextDeactivatedStatePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiInputTextDeactivatedStatePtr left, ImGuiInputTextDeactivatedStatePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiInputTextDeactivatedStatePtr left, ImGuiInputTextDeactivatedStatePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiInputTextDeactivatedStatePtr left, ImGuiInputTextDeactivatedState* right) => left.Handle == right; - - public static bool operator !=(ImGuiInputTextDeactivatedStatePtr left, ImGuiInputTextDeactivatedState* right) => left.Handle != right; - - public bool Equals(ImGuiInputTextDeactivatedStatePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiInputTextDeactivatedStatePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiInputTextDeactivatedStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImVector TextA => ref Unsafe.AsRef>(&Handle->TextA); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextState.cs deleted file mode 100644 index 1b69a97e0..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiInputTextState.cs +++ /dev/null @@ -1,260 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Internal state of the currently focusededited text input box
- /// For a given item ID, access with ImGui::GetInputTextState()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiInputTextState - { - /// - /// To be documented. - /// - public unsafe ImGuiContext* Ctx; - - /// - /// To be documented. - /// - public unsafe STBTexteditState* Stb; - - /// - /// To be documented. - /// - public ImGuiInputTextFlags Flags; - - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public int TextLen; - - /// - /// To be documented. - /// - public unsafe byte* TextSrc; - - /// - /// To be documented. - /// - public ImVector TextA; - - /// - /// To be documented. - /// - public ImVector TextToRevertTo; - - /// - /// To be documented. - /// - public ImVector CallbackTextBackup; - - /// - /// To be documented. - /// - public int BufCapacity; - - /// - /// To be documented. - /// - public Vector2 Scroll; - - /// - /// To be documented. - /// - public float CursorAnim; - - /// - /// To be documented. - /// - public byte CursorFollow; - - /// - /// To be documented. - /// - public byte SelectedAllMouseLock; - - /// - /// To be documented. - /// - public byte Edited; - - /// - /// To be documented. - /// - public byte WantReloadUserBuf; - - /// - /// To be documented. - /// - public int ReloadSelectionStart; - - /// - /// To be documented. - /// - public int ReloadSelectionEnd; - - - /// - /// To be documented. - /// - public unsafe ImGuiInputTextState(ImGuiContextPtr ctx = default, STBTexteditState* stb = default, ImGuiInputTextFlags flags = default, uint id = default, int textLen = default, byte* textSrc = default, ImVector textA = default, ImVector textToRevertTo = default, ImVector callbackTextBackup = default, int bufCapacity = default, Vector2 scroll = default, float cursorAnim = default, bool cursorFollow = default, bool selectedAllMouseLock = default, bool edited = default, bool wantReloadUserBuf = default, int reloadSelectionStart = default, int reloadSelectionEnd = default) - { - Ctx = ctx; - Stb = stb; - Flags = flags; - ID = id; - TextLen = textLen; - TextSrc = textSrc; - TextA = textA; - TextToRevertTo = textToRevertTo; - CallbackTextBackup = callbackTextBackup; - BufCapacity = bufCapacity; - Scroll = scroll; - CursorAnim = cursorAnim; - CursorFollow = cursorFollow ? (byte)1 : (byte)0; - SelectedAllMouseLock = selectedAllMouseLock ? (byte)1 : (byte)0; - Edited = edited ? (byte)1 : (byte)0; - WantReloadUserBuf = wantReloadUserBuf ? (byte)1 : (byte)0; - ReloadSelectionStart = reloadSelectionStart; - ReloadSelectionEnd = reloadSelectionEnd; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiInputTextStatePtr : IEquatable - { - public ImGuiInputTextStatePtr(ImGuiInputTextState* handle) { Handle = handle; } - - public ImGuiInputTextState* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiInputTextStatePtr Null => new ImGuiInputTextStatePtr(null); - - public ImGuiInputTextState this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiInputTextStatePtr(ImGuiInputTextState* handle) => new ImGuiInputTextStatePtr(handle); - - public static implicit operator ImGuiInputTextState*(ImGuiInputTextStatePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiInputTextStatePtr left, ImGuiInputTextStatePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiInputTextStatePtr left, ImGuiInputTextStatePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiInputTextStatePtr left, ImGuiInputTextState* right) => left.Handle == right; - - public static bool operator !=(ImGuiInputTextStatePtr left, ImGuiInputTextState* right) => left.Handle != right; - - public bool Equals(ImGuiInputTextStatePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiInputTextStatePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiInputTextStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef(&Handle->Ctx); - /// - /// To be documented. - /// - public ref STBTexteditStatePtr Stb => ref Unsafe.AsRef(&Handle->Stb); - /// - /// To be documented. - /// - public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref int TextLen => ref Unsafe.AsRef(&Handle->TextLen); - /// - /// To be documented. - /// - public byte* TextSrc { get => Handle->TextSrc; set => Handle->TextSrc = value; } - /// - /// To be documented. - /// - public ref ImVector TextA => ref Unsafe.AsRef>(&Handle->TextA); - /// - /// To be documented. - /// - public ref ImVector TextToRevertTo => ref Unsafe.AsRef>(&Handle->TextToRevertTo); - /// - /// To be documented. - /// - public ref ImVector CallbackTextBackup => ref Unsafe.AsRef>(&Handle->CallbackTextBackup); - /// - /// To be documented. - /// - public ref int BufCapacity => ref Unsafe.AsRef(&Handle->BufCapacity); - /// - /// To be documented. - /// - public ref Vector2 Scroll => ref Unsafe.AsRef(&Handle->Scroll); - /// - /// To be documented. - /// - public ref float CursorAnim => ref Unsafe.AsRef(&Handle->CursorAnim); - /// - /// To be documented. - /// - public ref bool CursorFollow => ref Unsafe.AsRef(&Handle->CursorFollow); - /// - /// To be documented. - /// - public ref bool SelectedAllMouseLock => ref Unsafe.AsRef(&Handle->SelectedAllMouseLock); - /// - /// To be documented. - /// - public ref bool Edited => ref Unsafe.AsRef(&Handle->Edited); - /// - /// To be documented. - /// - public ref bool WantReloadUserBuf => ref Unsafe.AsRef(&Handle->WantReloadUserBuf); - /// - /// To be documented. - /// - public ref int ReloadSelectionStart => ref Unsafe.AsRef(&Handle->ReloadSelectionStart); - /// - /// To be documented. - /// - public ref int ReloadSelectionEnd => ref Unsafe.AsRef(&Handle->ReloadSelectionEnd); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyData.cs deleted file mode 100644 index 0ed3f6e3d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyData.cs +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions.
- /// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiKeyData - { - /// - /// To be documented. - /// - public byte Down; - - /// - /// To be documented. - /// - public float DownDuration; - - /// - /// To be documented. - /// - public float DownDurationPrev; - - /// - /// To be documented. - /// - public float AnalogValue; - - - /// - /// To be documented. - /// - public unsafe ImGuiKeyData(bool down = default, float downDuration = default, float downDurationPrev = default, float analogValue = default) - { - Down = down ? (byte)1 : (byte)0; - DownDuration = downDuration; - DownDurationPrev = downDurationPrev; - AnalogValue = analogValue; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiKeyDataPtr : IEquatable - { - public ImGuiKeyDataPtr(ImGuiKeyData* handle) { Handle = handle; } - - public ImGuiKeyData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiKeyDataPtr Null => new ImGuiKeyDataPtr(null); - - public ImGuiKeyData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiKeyDataPtr(ImGuiKeyData* handle) => new ImGuiKeyDataPtr(handle); - - public static implicit operator ImGuiKeyData*(ImGuiKeyDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiKeyDataPtr left, ImGuiKeyDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiKeyDataPtr left, ImGuiKeyDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiKeyDataPtr left, ImGuiKeyData* right) => left.Handle == right; - - public static bool operator !=(ImGuiKeyDataPtr left, ImGuiKeyData* right) => left.Handle != right; - - public bool Equals(ImGuiKeyDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiKeyDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiKeyDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref bool Down => ref Unsafe.AsRef(&Handle->Down); - /// - /// To be documented. - /// - public ref float DownDuration => ref Unsafe.AsRef(&Handle->DownDuration); - /// - /// To be documented. - /// - public ref float DownDurationPrev => ref Unsafe.AsRef(&Handle->DownDurationPrev); - /// - /// To be documented. - /// - public ref float AnalogValue => ref Unsafe.AsRef(&Handle->AnalogValue); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyOwnerData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyOwnerData.cs deleted file mode 100644 index ce9658a12..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyOwnerData.cs +++ /dev/null @@ -1,120 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// This extends ImGuiKeyData but only for named keys (legacy keys don't support the new features)
- /// Stored in main context (1 per named key). In the future it might be merged into ImGuiKeyData.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiKeyOwnerData - { - /// - /// To be documented. - /// - public uint OwnerCurr; - - /// - /// To be documented. - /// - public uint OwnerNext; - - /// - /// To be documented. - /// - public byte LockThisFrame; - - /// - /// To be documented. - /// - public byte LockUntilRelease; - - - /// - /// To be documented. - /// - public unsafe ImGuiKeyOwnerData(uint ownerCurr = default, uint ownerNext = default, bool lockThisFrame = default, bool lockUntilRelease = default) - { - OwnerCurr = ownerCurr; - OwnerNext = ownerNext; - LockThisFrame = lockThisFrame ? (byte)1 : (byte)0; - LockUntilRelease = lockUntilRelease ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiKeyOwnerDataPtr : IEquatable - { - public ImGuiKeyOwnerDataPtr(ImGuiKeyOwnerData* handle) { Handle = handle; } - - public ImGuiKeyOwnerData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiKeyOwnerDataPtr Null => new ImGuiKeyOwnerDataPtr(null); - - public ImGuiKeyOwnerData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiKeyOwnerDataPtr(ImGuiKeyOwnerData* handle) => new ImGuiKeyOwnerDataPtr(handle); - - public static implicit operator ImGuiKeyOwnerData*(ImGuiKeyOwnerDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiKeyOwnerDataPtr left, ImGuiKeyOwnerDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiKeyOwnerDataPtr left, ImGuiKeyOwnerDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiKeyOwnerDataPtr left, ImGuiKeyOwnerData* right) => left.Handle == right; - - public static bool operator !=(ImGuiKeyOwnerDataPtr left, ImGuiKeyOwnerData* right) => left.Handle != right; - - public bool Equals(ImGuiKeyOwnerDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiKeyOwnerDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiKeyOwnerDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint OwnerCurr => ref Unsafe.AsRef(&Handle->OwnerCurr); - /// - /// To be documented. - /// - public ref uint OwnerNext => ref Unsafe.AsRef(&Handle->OwnerNext); - /// - /// To be documented. - /// - public ref bool LockThisFrame => ref Unsafe.AsRef(&Handle->LockThisFrame); - /// - /// To be documented. - /// - public ref bool LockUntilRelease => ref Unsafe.AsRef(&Handle->LockUntilRelease); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingData.cs deleted file mode 100644 index f14f9ae38..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingData.cs +++ /dev/null @@ -1,139 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Routing table entry (sizeof() == 16 bytes)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiKeyRoutingData - { - /// - /// To be documented. - /// - public short NextEntryIndex; - - /// - /// To be documented. - /// - public ushort Mods; - - /// - /// To be documented. - /// - public byte RoutingCurrScore; - - /// - /// To be documented. - /// - public byte RoutingNextScore; - - /// - /// To be documented. - /// - public uint RoutingCurr; - - /// - /// To be documented. - /// - public uint RoutingNext; - - - /// - /// To be documented. - /// - public unsafe ImGuiKeyRoutingData(short nextEntryIndex = default, ushort mods = default, byte routingCurrScore = default, byte routingNextScore = default, uint routingCurr = default, uint routingNext = default) - { - NextEntryIndex = nextEntryIndex; - Mods = mods; - RoutingCurrScore = routingCurrScore; - RoutingNextScore = routingNextScore; - RoutingCurr = routingCurr; - RoutingNext = routingNext; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiKeyRoutingDataPtr : IEquatable - { - public ImGuiKeyRoutingDataPtr(ImGuiKeyRoutingData* handle) { Handle = handle; } - - public ImGuiKeyRoutingData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiKeyRoutingDataPtr Null => new ImGuiKeyRoutingDataPtr(null); - - public ImGuiKeyRoutingData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiKeyRoutingDataPtr(ImGuiKeyRoutingData* handle) => new ImGuiKeyRoutingDataPtr(handle); - - public static implicit operator ImGuiKeyRoutingData*(ImGuiKeyRoutingDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiKeyRoutingDataPtr left, ImGuiKeyRoutingDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiKeyRoutingDataPtr left, ImGuiKeyRoutingDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiKeyRoutingDataPtr left, ImGuiKeyRoutingData* right) => left.Handle == right; - - public static bool operator !=(ImGuiKeyRoutingDataPtr left, ImGuiKeyRoutingData* right) => left.Handle != right; - - public bool Equals(ImGuiKeyRoutingDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiKeyRoutingDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiKeyRoutingDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref short NextEntryIndex => ref Unsafe.AsRef(&Handle->NextEntryIndex); - /// - /// To be documented. - /// - public ref ushort Mods => ref Unsafe.AsRef(&Handle->Mods); - /// - /// To be documented. - /// - public ref byte RoutingCurrScore => ref Unsafe.AsRef(&Handle->RoutingCurrScore); - /// - /// To be documented. - /// - public ref byte RoutingNextScore => ref Unsafe.AsRef(&Handle->RoutingNextScore); - /// - /// To be documented. - /// - public ref uint RoutingCurr => ref Unsafe.AsRef(&Handle->RoutingCurr); - /// - /// To be documented. - /// - public ref uint RoutingNext => ref Unsafe.AsRef(&Handle->RoutingNext); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingTable.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingTable.cs deleted file mode 100644 index 1730c9fb5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiKeyRoutingTable.cs +++ /dev/null @@ -1,595 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
- /// Stored in main context (1 instance)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiKeyRoutingTable - { - /// - /// To be documented. - /// - public short Index_0; - public short Index_1; - public short Index_2; - public short Index_3; - public short Index_4; - public short Index_5; - public short Index_6; - public short Index_7; - public short Index_8; - public short Index_9; - public short Index_10; - public short Index_11; - public short Index_12; - public short Index_13; - public short Index_14; - public short Index_15; - public short Index_16; - public short Index_17; - public short Index_18; - public short Index_19; - public short Index_20; - public short Index_21; - public short Index_22; - public short Index_23; - public short Index_24; - public short Index_25; - public short Index_26; - public short Index_27; - public short Index_28; - public short Index_29; - public short Index_30; - public short Index_31; - public short Index_32; - public short Index_33; - public short Index_34; - public short Index_35; - public short Index_36; - public short Index_37; - public short Index_38; - public short Index_39; - public short Index_40; - public short Index_41; - public short Index_42; - public short Index_43; - public short Index_44; - public short Index_45; - public short Index_46; - public short Index_47; - public short Index_48; - public short Index_49; - public short Index_50; - public short Index_51; - public short Index_52; - public short Index_53; - public short Index_54; - public short Index_55; - public short Index_56; - public short Index_57; - public short Index_58; - public short Index_59; - public short Index_60; - public short Index_61; - public short Index_62; - public short Index_63; - public short Index_64; - public short Index_65; - public short Index_66; - public short Index_67; - public short Index_68; - public short Index_69; - public short Index_70; - public short Index_71; - public short Index_72; - public short Index_73; - public short Index_74; - public short Index_75; - public short Index_76; - public short Index_77; - public short Index_78; - public short Index_79; - public short Index_80; - public short Index_81; - public short Index_82; - public short Index_83; - public short Index_84; - public short Index_85; - public short Index_86; - public short Index_87; - public short Index_88; - public short Index_89; - public short Index_90; - public short Index_91; - public short Index_92; - public short Index_93; - public short Index_94; - public short Index_95; - public short Index_96; - public short Index_97; - public short Index_98; - public short Index_99; - public short Index_100; - public short Index_101; - public short Index_102; - public short Index_103; - public short Index_104; - public short Index_105; - public short Index_106; - public short Index_107; - public short Index_108; - public short Index_109; - public short Index_110; - public short Index_111; - public short Index_112; - public short Index_113; - public short Index_114; - public short Index_115; - public short Index_116; - public short Index_117; - public short Index_118; - public short Index_119; - public short Index_120; - public short Index_121; - public short Index_122; - public short Index_123; - public short Index_124; - public short Index_125; - public short Index_126; - public short Index_127; - public short Index_128; - public short Index_129; - public short Index_130; - public short Index_131; - public short Index_132; - public short Index_133; - public short Index_134; - public short Index_135; - public short Index_136; - public short Index_137; - public short Index_138; - public short Index_139; - public short Index_140; - public short Index_141; - public short Index_142; - public short Index_143; - public short Index_144; - public short Index_145; - public short Index_146; - public short Index_147; - public short Index_148; - public short Index_149; - public short Index_150; - public short Index_151; - public short Index_152; - public short Index_153; - public short Index_154; - - /// - /// To be documented. - /// - public ImVector Entries; - - /// - /// To be documented. - /// - public ImVector EntriesNext; - - - /// - /// To be documented. - /// - public unsafe ImGuiKeyRoutingTable(short* index = default, ImVector entries = default, ImVector entriesNext = default) - { - if (index != default(short*)) - { - Index_0 = index[0]; - Index_1 = index[1]; - Index_2 = index[2]; - Index_3 = index[3]; - Index_4 = index[4]; - Index_5 = index[5]; - Index_6 = index[6]; - Index_7 = index[7]; - Index_8 = index[8]; - Index_9 = index[9]; - Index_10 = index[10]; - Index_11 = index[11]; - Index_12 = index[12]; - Index_13 = index[13]; - Index_14 = index[14]; - Index_15 = index[15]; - Index_16 = index[16]; - Index_17 = index[17]; - Index_18 = index[18]; - Index_19 = index[19]; - Index_20 = index[20]; - Index_21 = index[21]; - Index_22 = index[22]; - Index_23 = index[23]; - Index_24 = index[24]; - Index_25 = index[25]; - Index_26 = index[26]; - Index_27 = index[27]; - Index_28 = index[28]; - Index_29 = index[29]; - Index_30 = index[30]; - Index_31 = index[31]; - Index_32 = index[32]; - Index_33 = index[33]; - Index_34 = index[34]; - Index_35 = index[35]; - Index_36 = index[36]; - Index_37 = index[37]; - Index_38 = index[38]; - Index_39 = index[39]; - Index_40 = index[40]; - Index_41 = index[41]; - Index_42 = index[42]; - Index_43 = index[43]; - Index_44 = index[44]; - Index_45 = index[45]; - Index_46 = index[46]; - Index_47 = index[47]; - Index_48 = index[48]; - Index_49 = index[49]; - Index_50 = index[50]; - Index_51 = index[51]; - Index_52 = index[52]; - Index_53 = index[53]; - Index_54 = index[54]; - Index_55 = index[55]; - Index_56 = index[56]; - Index_57 = index[57]; - Index_58 = index[58]; - Index_59 = index[59]; - Index_60 = index[60]; - Index_61 = index[61]; - Index_62 = index[62]; - Index_63 = index[63]; - Index_64 = index[64]; - Index_65 = index[65]; - Index_66 = index[66]; - Index_67 = index[67]; - Index_68 = index[68]; - Index_69 = index[69]; - Index_70 = index[70]; - Index_71 = index[71]; - Index_72 = index[72]; - Index_73 = index[73]; - Index_74 = index[74]; - Index_75 = index[75]; - Index_76 = index[76]; - Index_77 = index[77]; - Index_78 = index[78]; - Index_79 = index[79]; - Index_80 = index[80]; - Index_81 = index[81]; - Index_82 = index[82]; - Index_83 = index[83]; - Index_84 = index[84]; - Index_85 = index[85]; - Index_86 = index[86]; - Index_87 = index[87]; - Index_88 = index[88]; - Index_89 = index[89]; - Index_90 = index[90]; - Index_91 = index[91]; - Index_92 = index[92]; - Index_93 = index[93]; - Index_94 = index[94]; - Index_95 = index[95]; - Index_96 = index[96]; - Index_97 = index[97]; - Index_98 = index[98]; - Index_99 = index[99]; - Index_100 = index[100]; - Index_101 = index[101]; - Index_102 = index[102]; - Index_103 = index[103]; - Index_104 = index[104]; - Index_105 = index[105]; - Index_106 = index[106]; - Index_107 = index[107]; - Index_108 = index[108]; - Index_109 = index[109]; - Index_110 = index[110]; - Index_111 = index[111]; - Index_112 = index[112]; - Index_113 = index[113]; - Index_114 = index[114]; - Index_115 = index[115]; - Index_116 = index[116]; - Index_117 = index[117]; - Index_118 = index[118]; - Index_119 = index[119]; - Index_120 = index[120]; - Index_121 = index[121]; - Index_122 = index[122]; - Index_123 = index[123]; - Index_124 = index[124]; - Index_125 = index[125]; - Index_126 = index[126]; - Index_127 = index[127]; - Index_128 = index[128]; - Index_129 = index[129]; - Index_130 = index[130]; - Index_131 = index[131]; - Index_132 = index[132]; - Index_133 = index[133]; - Index_134 = index[134]; - Index_135 = index[135]; - Index_136 = index[136]; - Index_137 = index[137]; - Index_138 = index[138]; - Index_139 = index[139]; - Index_140 = index[140]; - Index_141 = index[141]; - Index_142 = index[142]; - Index_143 = index[143]; - Index_144 = index[144]; - Index_145 = index[145]; - Index_146 = index[146]; - Index_147 = index[147]; - Index_148 = index[148]; - Index_149 = index[149]; - Index_150 = index[150]; - Index_151 = index[151]; - Index_152 = index[152]; - Index_153 = index[153]; - Index_154 = index[154]; - } - Entries = entries; - EntriesNext = entriesNext; - } - - /// - /// To be documented. - /// - public unsafe ImGuiKeyRoutingTable(Span index = default, ImVector entries = default, ImVector entriesNext = default) - { - if (index != default(Span)) - { - Index_0 = index[0]; - Index_1 = index[1]; - Index_2 = index[2]; - Index_3 = index[3]; - Index_4 = index[4]; - Index_5 = index[5]; - Index_6 = index[6]; - Index_7 = index[7]; - Index_8 = index[8]; - Index_9 = index[9]; - Index_10 = index[10]; - Index_11 = index[11]; - Index_12 = index[12]; - Index_13 = index[13]; - Index_14 = index[14]; - Index_15 = index[15]; - Index_16 = index[16]; - Index_17 = index[17]; - Index_18 = index[18]; - Index_19 = index[19]; - Index_20 = index[20]; - Index_21 = index[21]; - Index_22 = index[22]; - Index_23 = index[23]; - Index_24 = index[24]; - Index_25 = index[25]; - Index_26 = index[26]; - Index_27 = index[27]; - Index_28 = index[28]; - Index_29 = index[29]; - Index_30 = index[30]; - Index_31 = index[31]; - Index_32 = index[32]; - Index_33 = index[33]; - Index_34 = index[34]; - Index_35 = index[35]; - Index_36 = index[36]; - Index_37 = index[37]; - Index_38 = index[38]; - Index_39 = index[39]; - Index_40 = index[40]; - Index_41 = index[41]; - Index_42 = index[42]; - Index_43 = index[43]; - Index_44 = index[44]; - Index_45 = index[45]; - Index_46 = index[46]; - Index_47 = index[47]; - Index_48 = index[48]; - Index_49 = index[49]; - Index_50 = index[50]; - Index_51 = index[51]; - Index_52 = index[52]; - Index_53 = index[53]; - Index_54 = index[54]; - Index_55 = index[55]; - Index_56 = index[56]; - Index_57 = index[57]; - Index_58 = index[58]; - Index_59 = index[59]; - Index_60 = index[60]; - Index_61 = index[61]; - Index_62 = index[62]; - Index_63 = index[63]; - Index_64 = index[64]; - Index_65 = index[65]; - Index_66 = index[66]; - Index_67 = index[67]; - Index_68 = index[68]; - Index_69 = index[69]; - Index_70 = index[70]; - Index_71 = index[71]; - Index_72 = index[72]; - Index_73 = index[73]; - Index_74 = index[74]; - Index_75 = index[75]; - Index_76 = index[76]; - Index_77 = index[77]; - Index_78 = index[78]; - Index_79 = index[79]; - Index_80 = index[80]; - Index_81 = index[81]; - Index_82 = index[82]; - Index_83 = index[83]; - Index_84 = index[84]; - Index_85 = index[85]; - Index_86 = index[86]; - Index_87 = index[87]; - Index_88 = index[88]; - Index_89 = index[89]; - Index_90 = index[90]; - Index_91 = index[91]; - Index_92 = index[92]; - Index_93 = index[93]; - Index_94 = index[94]; - Index_95 = index[95]; - Index_96 = index[96]; - Index_97 = index[97]; - Index_98 = index[98]; - Index_99 = index[99]; - Index_100 = index[100]; - Index_101 = index[101]; - Index_102 = index[102]; - Index_103 = index[103]; - Index_104 = index[104]; - Index_105 = index[105]; - Index_106 = index[106]; - Index_107 = index[107]; - Index_108 = index[108]; - Index_109 = index[109]; - Index_110 = index[110]; - Index_111 = index[111]; - Index_112 = index[112]; - Index_113 = index[113]; - Index_114 = index[114]; - Index_115 = index[115]; - Index_116 = index[116]; - Index_117 = index[117]; - Index_118 = index[118]; - Index_119 = index[119]; - Index_120 = index[120]; - Index_121 = index[121]; - Index_122 = index[122]; - Index_123 = index[123]; - Index_124 = index[124]; - Index_125 = index[125]; - Index_126 = index[126]; - Index_127 = index[127]; - Index_128 = index[128]; - Index_129 = index[129]; - Index_130 = index[130]; - Index_131 = index[131]; - Index_132 = index[132]; - Index_133 = index[133]; - Index_134 = index[134]; - Index_135 = index[135]; - Index_136 = index[136]; - Index_137 = index[137]; - Index_138 = index[138]; - Index_139 = index[139]; - Index_140 = index[140]; - Index_141 = index[141]; - Index_142 = index[142]; - Index_143 = index[143]; - Index_144 = index[144]; - Index_145 = index[145]; - Index_146 = index[146]; - Index_147 = index[147]; - Index_148 = index[148]; - Index_149 = index[149]; - Index_150 = index[150]; - Index_151 = index[151]; - Index_152 = index[152]; - Index_153 = index[153]; - Index_154 = index[154]; - } - Entries = entries; - EntriesNext = entriesNext; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiKeyRoutingTablePtr : IEquatable - { - public ImGuiKeyRoutingTablePtr(ImGuiKeyRoutingTable* handle) { Handle = handle; } - - public ImGuiKeyRoutingTable* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiKeyRoutingTablePtr Null => new ImGuiKeyRoutingTablePtr(null); - - public ImGuiKeyRoutingTable this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiKeyRoutingTablePtr(ImGuiKeyRoutingTable* handle) => new ImGuiKeyRoutingTablePtr(handle); - - public static implicit operator ImGuiKeyRoutingTable*(ImGuiKeyRoutingTablePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiKeyRoutingTablePtr left, ImGuiKeyRoutingTablePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiKeyRoutingTablePtr left, ImGuiKeyRoutingTablePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiKeyRoutingTablePtr left, ImGuiKeyRoutingTable* right) => left.Handle == right; - - public static bool operator !=(ImGuiKeyRoutingTablePtr left, ImGuiKeyRoutingTable* right) => left.Handle != right; - - public bool Equals(ImGuiKeyRoutingTablePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiKeyRoutingTablePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiKeyRoutingTablePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public unsafe Span Index - - { - get - { - return new Span(&Handle->Index_0, 155); - } - } - /// - /// To be documented. - /// - public ref ImVector Entries => ref Unsafe.AsRef>(&Handle->Entries); - /// - /// To be documented. - /// - public ref ImVector EntriesNext => ref Unsafe.AsRef>(&Handle->EntriesNext); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiLastItemData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiLastItemData.cs deleted file mode 100644 index 8eb8f8df7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiLastItemData.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Status storage for the last submitted item
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiLastItemData - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiItemFlags ItemFlags; - - /// - /// To be documented. - /// - public ImGuiItemStatusFlags StatusFlags; - - /// - /// To be documented. - /// - public ImRect Rect; - - /// - /// To be documented. - /// - public ImRect NavRect; - - /// - /// To be documented. - /// - public ImRect DisplayRect; - - /// - /// To be documented. - /// - public ImRect ClipRect; - - /// - /// To be documented. - /// - public int Shortcut; - - - /// - /// To be documented. - /// - public unsafe ImGuiLastItemData(uint id = default, ImGuiItemFlags itemFlags = default, ImGuiItemStatusFlags statusFlags = default, ImRect rect = default, ImRect navRect = default, ImRect displayRect = default, ImRect clipRect = default, int shortcut = default) - { - ID = id; - ItemFlags = itemFlags; - StatusFlags = statusFlags; - Rect = rect; - NavRect = navRect; - DisplayRect = displayRect; - ClipRect = clipRect; - Shortcut = shortcut; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiLastItemDataPtr : IEquatable - { - public ImGuiLastItemDataPtr(ImGuiLastItemData* handle) { Handle = handle; } - - public ImGuiLastItemData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiLastItemDataPtr Null => new ImGuiLastItemDataPtr(null); - - public ImGuiLastItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiLastItemDataPtr(ImGuiLastItemData* handle) => new ImGuiLastItemDataPtr(handle); - - public static implicit operator ImGuiLastItemData*(ImGuiLastItemDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiLastItemDataPtr left, ImGuiLastItemDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiLastItemDataPtr left, ImGuiLastItemDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiLastItemDataPtr left, ImGuiLastItemData* right) => left.Handle == right; - - public static bool operator !=(ImGuiLastItemDataPtr left, ImGuiLastItemData* right) => left.Handle != right; - - public bool Equals(ImGuiLastItemDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiLastItemDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiLastItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef(&Handle->ItemFlags); - /// - /// To be documented. - /// - public ref ImGuiItemStatusFlags StatusFlags => ref Unsafe.AsRef(&Handle->StatusFlags); - /// - /// To be documented. - /// - public ref ImRect Rect => ref Unsafe.AsRef(&Handle->Rect); - /// - /// To be documented. - /// - public ref ImRect NavRect => ref Unsafe.AsRef(&Handle->NavRect); - /// - /// To be documented. - /// - public ref ImRect DisplayRect => ref Unsafe.AsRef(&Handle->DisplayRect); - /// - /// To be documented. - /// - public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); - /// - /// To be documented. - /// - public ref int Shortcut => ref Unsafe.AsRef(&Handle->Shortcut); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipper.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipper.cs deleted file mode 100644 index 4acaf20bd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipper.cs +++ /dev/null @@ -1,332 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: Manually clip large list of items.
- /// If you have lots evenly spaced items and you have random access to the list, you can perform coarse
- /// clipping based on visibility to only submit items that are in view.
- /// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped.
- /// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally
- /// fetchingsubmitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily
- /// scale using lists with tens of thousands of items without a problem)
- /// Usage:
- /// ImGuiListClipper clipper;
- /// clipper.Begin(1000); We have 1000 elements, evenly spaced.
- /// while (clipper.Step())
- /// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
- /// ImGui::Text("line number %d", i);
- /// Generally what happens is:
- /// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not.
- /// - User code submit that one element.
- /// - Clipper can measure the height of the first element
- /// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element.
- /// - User code submit visible elements.
- /// - The clipper also handles various subtleties related to keyboardgamepad navigation, wrapping etc.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiListClipper - { - /// - /// To be documented. - /// - public unsafe ImGuiContext* Ctx; - - /// - /// To be documented. - /// - public int DisplayStart; - - /// - /// To be documented. - /// - public int DisplayEnd; - - /// - /// To be documented. - /// - public int ItemsCount; - - /// - /// To be documented. - /// - public float ItemsHeight; - - /// - /// To be documented. - /// - public float StartPosY; - - /// - /// To be documented. - /// - public double StartSeekOffsetY; - - /// - /// To be documented. - /// - public unsafe void* TempData; - - - /// - /// To be documented. - /// - public unsafe ImGuiListClipper(ImGuiContextPtr ctx = default, int displayStart = default, int displayEnd = default, int itemsCount = default, float itemsHeight = default, float startPosY = default, double startSeekOffsetY = default, void* tempData = default) - { - Ctx = ctx; - DisplayStart = displayStart; - DisplayEnd = displayEnd; - ItemsCount = itemsCount; - ItemsHeight = itemsHeight; - StartPosY = startPosY; - StartSeekOffsetY = startSeekOffsetY; - TempData = tempData; - } - - - /// - /// To be documented. - /// - public unsafe void Begin(int itemsCount, float itemsHeight) - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.BeginNative(@this, itemsCount, itemsHeight); - } - } - - /// - /// To be documented. - /// - public unsafe void Begin(int itemsCount) - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.BeginNative(@this, itemsCount, (float)(-1.0f)); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// Automatically called on the last call of Step() that returns false.
- ///
- public unsafe void End() - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.EndNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void IncludeItemByIndex(int itemIndex) - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.IncludeItemByIndexNative(@this, itemIndex); - } - } - - /// - /// item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped.
- ///
- public unsafe void IncludeItemsByIndex(int itemBegin, int itemEnd) - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.IncludeItemsByIndexNative(@this, itemBegin, itemEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void SeekCursorForItem(int itemIndex) - { - fixed (ImGuiListClipper* @this = &this) - { - ImGui.SeekCursorForItemNative(@this, itemIndex); - } - } - - /// - /// Call until it returns false. The DisplayStartDisplayEnd fields will be set and you can processdraw those items.
- ///
- public unsafe bool Step() - { - fixed (ImGuiListClipper* @this = &this) - { - byte ret = ImGui.StepNative(@this); - return ret != 0; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiListClipperPtr : IEquatable - { - public ImGuiListClipperPtr(ImGuiListClipper* handle) { Handle = handle; } - - public ImGuiListClipper* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiListClipperPtr Null => new ImGuiListClipperPtr(null); - - public ImGuiListClipper this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiListClipperPtr(ImGuiListClipper* handle) => new ImGuiListClipperPtr(handle); - - public static implicit operator ImGuiListClipper*(ImGuiListClipperPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiListClipperPtr left, ImGuiListClipperPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiListClipperPtr left, ImGuiListClipperPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiListClipperPtr left, ImGuiListClipper* right) => left.Handle == right; - - public static bool operator !=(ImGuiListClipperPtr left, ImGuiListClipper* right) => left.Handle != right; - - public bool Equals(ImGuiListClipperPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiListClipperPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiListClipperPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef(&Handle->Ctx); - /// - /// To be documented. - /// - public ref int DisplayStart => ref Unsafe.AsRef(&Handle->DisplayStart); - /// - /// To be documented. - /// - public ref int DisplayEnd => ref Unsafe.AsRef(&Handle->DisplayEnd); - /// - /// To be documented. - /// - public ref int ItemsCount => ref Unsafe.AsRef(&Handle->ItemsCount); - /// - /// To be documented. - /// - public ref float ItemsHeight => ref Unsafe.AsRef(&Handle->ItemsHeight); - /// - /// To be documented. - /// - public ref float StartPosY => ref Unsafe.AsRef(&Handle->StartPosY); - /// - /// To be documented. - /// - public ref double StartSeekOffsetY => ref Unsafe.AsRef(&Handle->StartSeekOffsetY); - /// - /// To be documented. - /// - public void* TempData { get => Handle->TempData; set => Handle->TempData = value; } - /// - /// To be documented. - /// - public unsafe void Begin(int itemsCount, float itemsHeight) - { - ImGui.BeginNative(Handle, itemsCount, itemsHeight); - } - - /// - /// To be documented. - /// - public unsafe void Begin(int itemsCount) - { - ImGui.BeginNative(Handle, itemsCount, (float)(-1.0f)); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// Automatically called on the last call of Step() that returns false.
- ///
- public unsafe void End() - { - ImGui.EndNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void IncludeItemByIndex(int itemIndex) - { - ImGui.IncludeItemByIndexNative(Handle, itemIndex); - } - - /// - /// item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped.
- ///
- public unsafe void IncludeItemsByIndex(int itemBegin, int itemEnd) - { - ImGui.IncludeItemsByIndexNative(Handle, itemBegin, itemEnd); - } - - /// - /// To be documented. - /// - public unsafe void SeekCursorForItem(int itemIndex) - { - ImGui.SeekCursorForItemNative(Handle, itemIndex); - } - - /// - /// Call until it returns false. The DisplayStartDisplayEnd fields will be set and you can processdraw those items.
- ///
- public unsafe bool Step() - { - byte ret = ImGui.StepNative(Handle); - return ret != 0; - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperData.cs deleted file mode 100644 index 405e01f2d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperData.cs +++ /dev/null @@ -1,129 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Temporary clipper data, buffers sharedreused between instances
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiListClipperData - { - /// - /// To be documented. - /// - public unsafe ImGuiListClipper* ListClipper; - - /// - /// To be documented. - /// - public float LossynessOffset; - - /// - /// To be documented. - /// - public int StepNo; - - /// - /// To be documented. - /// - public int ItemsFrozen; - - /// - /// To be documented. - /// - public ImVector Ranges; - - - /// - /// To be documented. - /// - public unsafe ImGuiListClipperData(ImGuiListClipper* listClipper = default, float lossynessOffset = default, int stepNo = default, int itemsFrozen = default, ImVector ranges = default) - { - ListClipper = listClipper; - LossynessOffset = lossynessOffset; - StepNo = stepNo; - ItemsFrozen = itemsFrozen; - Ranges = ranges; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiListClipperDataPtr : IEquatable - { - public ImGuiListClipperDataPtr(ImGuiListClipperData* handle) { Handle = handle; } - - public ImGuiListClipperData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiListClipperDataPtr Null => new ImGuiListClipperDataPtr(null); - - public ImGuiListClipperData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiListClipperDataPtr(ImGuiListClipperData* handle) => new ImGuiListClipperDataPtr(handle); - - public static implicit operator ImGuiListClipperData*(ImGuiListClipperDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiListClipperDataPtr left, ImGuiListClipperDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiListClipperDataPtr left, ImGuiListClipperDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiListClipperDataPtr left, ImGuiListClipperData* right) => left.Handle == right; - - public static bool operator !=(ImGuiListClipperDataPtr left, ImGuiListClipperData* right) => left.Handle != right; - - public bool Equals(ImGuiListClipperDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiListClipperDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiListClipperDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiListClipperPtr ListClipper => ref Unsafe.AsRef(&Handle->ListClipper); - /// - /// To be documented. - /// - public ref float LossynessOffset => ref Unsafe.AsRef(&Handle->LossynessOffset); - /// - /// To be documented. - /// - public ref int StepNo => ref Unsafe.AsRef(&Handle->StepNo); - /// - /// To be documented. - /// - public ref int ItemsFrozen => ref Unsafe.AsRef(&Handle->ItemsFrozen); - /// - /// To be documented. - /// - public ref ImVector Ranges => ref Unsafe.AsRef>(&Handle->Ranges); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperRange.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperRange.cs deleted file mode 100644 index 4df582f9a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiListClipperRange.cs +++ /dev/null @@ -1,129 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Note that Max is exclusive, so perhaps should be using a BeginEnd convention.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiListClipperRange - { - /// - /// To be documented. - /// - public int Min; - - /// - /// To be documented. - /// - public int Max; - - /// - /// To be documented. - /// - public byte PosToIndexConvert; - - /// - /// To be documented. - /// - public byte PosToIndexOffsetMin; - - /// - /// To be documented. - /// - public byte PosToIndexOffsetMax; - - - /// - /// To be documented. - /// - public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, byte posToIndexOffsetMin = default, byte posToIndexOffsetMax = default) - { - Min = min; - Max = max; - PosToIndexConvert = posToIndexConvert ? (byte)1 : (byte)0; - PosToIndexOffsetMin = posToIndexOffsetMin; - PosToIndexOffsetMax = posToIndexOffsetMax; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiListClipperRangePtr : IEquatable - { - public ImGuiListClipperRangePtr(ImGuiListClipperRange* handle) { Handle = handle; } - - public ImGuiListClipperRange* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiListClipperRangePtr Null => new ImGuiListClipperRangePtr(null); - - public ImGuiListClipperRange this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiListClipperRangePtr(ImGuiListClipperRange* handle) => new ImGuiListClipperRangePtr(handle); - - public static implicit operator ImGuiListClipperRange*(ImGuiListClipperRangePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiListClipperRangePtr left, ImGuiListClipperRangePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiListClipperRangePtr left, ImGuiListClipperRangePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiListClipperRangePtr left, ImGuiListClipperRange* right) => left.Handle == right; - - public static bool operator !=(ImGuiListClipperRangePtr left, ImGuiListClipperRange* right) => left.Handle != right; - - public bool Equals(ImGuiListClipperRangePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiListClipperRangePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiListClipperRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int Min => ref Unsafe.AsRef(&Handle->Min); - /// - /// To be documented. - /// - public ref int Max => ref Unsafe.AsRef(&Handle->Max); - /// - /// To be documented. - /// - public ref bool PosToIndexConvert => ref Unsafe.AsRef(&Handle->PosToIndexConvert); - /// - /// To be documented. - /// - public ref byte PosToIndexOffsetMin => ref Unsafe.AsRef(&Handle->PosToIndexOffsetMin); - /// - /// To be documented. - /// - public ref byte PosToIndexOffsetMax => ref Unsafe.AsRef(&Handle->PosToIndexOffsetMax); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiLocEntry.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiLocEntry.cs deleted file mode 100644 index 956a2736d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiLocEntry.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiLocEntry - { - /// - /// To be documented. - /// - public ImGuiLocKey Key; - - /// - /// To be documented. - /// - public unsafe byte* Text; - - - /// - /// To be documented. - /// - public unsafe ImGuiLocEntry(ImGuiLocKey key = default, byte* text = default) - { - Key = key; - Text = text; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiLocEntryPtr : IEquatable - { - public ImGuiLocEntryPtr(ImGuiLocEntry* handle) { Handle = handle; } - - public ImGuiLocEntry* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiLocEntryPtr Null => new ImGuiLocEntryPtr(null); - - public ImGuiLocEntry this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiLocEntryPtr(ImGuiLocEntry* handle) => new ImGuiLocEntryPtr(handle); - - public static implicit operator ImGuiLocEntry*(ImGuiLocEntryPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiLocEntryPtr left, ImGuiLocEntryPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiLocEntryPtr left, ImGuiLocEntryPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiLocEntryPtr left, ImGuiLocEntry* right) => left.Handle == right; - - public static bool operator !=(ImGuiLocEntryPtr left, ImGuiLocEntry* right) => left.Handle != right; - - public bool Equals(ImGuiLocEntryPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiLocEntryPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiLocEntryPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiLocKey Key => ref Unsafe.AsRef(&Handle->Key); - /// - /// To be documented. - /// - public byte* Text { get => Handle->Text; set => Handle->Text = value; } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMenuColumns.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMenuColumns.cs deleted file mode 100644 index 6d12f8b03..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMenuColumns.cs +++ /dev/null @@ -1,196 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Simple column measurement, currently used for MenuItem() only.. This is very short-sightedthrow-away code and NOT a generic helper.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiMenuColumns - { - /// - /// To be documented. - /// - public uint TotalWidth; - - /// - /// To be documented. - /// - public uint NextTotalWidth; - - /// - /// To be documented. - /// - public ushort Spacing; - - /// - /// To be documented. - /// - public ushort OffsetIcon; - - /// - /// To be documented. - /// - public ushort OffsetLabel; - - /// - /// To be documented. - /// - public ushort OffsetShortcut; - - /// - /// To be documented. - /// - public ushort OffsetMark; - - /// - /// To be documented. - /// - public ushort Widths_0; - public ushort Widths_1; - public ushort Widths_2; - public ushort Widths_3; - - - /// - /// To be documented. - /// - public unsafe ImGuiMenuColumns(uint totalWidth = default, uint nextTotalWidth = default, ushort spacing = default, ushort offsetIcon = default, ushort offsetLabel = default, ushort offsetShortcut = default, ushort offsetMark = default, ushort* widths = default) - { - TotalWidth = totalWidth; - NextTotalWidth = nextTotalWidth; - Spacing = spacing; - OffsetIcon = offsetIcon; - OffsetLabel = offsetLabel; - OffsetShortcut = offsetShortcut; - OffsetMark = offsetMark; - if (widths != default(ushort*)) - { - Widths_0 = widths[0]; - Widths_1 = widths[1]; - Widths_2 = widths[2]; - Widths_3 = widths[3]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiMenuColumns(uint totalWidth = default, uint nextTotalWidth = default, ushort spacing = default, ushort offsetIcon = default, ushort offsetLabel = default, ushort offsetShortcut = default, ushort offsetMark = default, Span widths = default) - { - TotalWidth = totalWidth; - NextTotalWidth = nextTotalWidth; - Spacing = spacing; - OffsetIcon = offsetIcon; - OffsetLabel = offsetLabel; - OffsetShortcut = offsetShortcut; - OffsetMark = offsetMark; - if (widths != default(Span)) - { - Widths_0 = widths[0]; - Widths_1 = widths[1]; - Widths_2 = widths[2]; - Widths_3 = widths[3]; - } - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiMenuColumnsPtr : IEquatable - { - public ImGuiMenuColumnsPtr(ImGuiMenuColumns* handle) { Handle = handle; } - - public ImGuiMenuColumns* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiMenuColumnsPtr Null => new ImGuiMenuColumnsPtr(null); - - public ImGuiMenuColumns this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiMenuColumnsPtr(ImGuiMenuColumns* handle) => new ImGuiMenuColumnsPtr(handle); - - public static implicit operator ImGuiMenuColumns*(ImGuiMenuColumnsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiMenuColumnsPtr left, ImGuiMenuColumnsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiMenuColumnsPtr left, ImGuiMenuColumnsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiMenuColumnsPtr left, ImGuiMenuColumns* right) => left.Handle == right; - - public static bool operator !=(ImGuiMenuColumnsPtr left, ImGuiMenuColumns* right) => left.Handle != right; - - public bool Equals(ImGuiMenuColumnsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiMenuColumnsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiMenuColumnsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint TotalWidth => ref Unsafe.AsRef(&Handle->TotalWidth); - /// - /// To be documented. - /// - public ref uint NextTotalWidth => ref Unsafe.AsRef(&Handle->NextTotalWidth); - /// - /// To be documented. - /// - public ref ushort Spacing => ref Unsafe.AsRef(&Handle->Spacing); - /// - /// To be documented. - /// - public ref ushort OffsetIcon => ref Unsafe.AsRef(&Handle->OffsetIcon); - /// - /// To be documented. - /// - public ref ushort OffsetLabel => ref Unsafe.AsRef(&Handle->OffsetLabel); - /// - /// To be documented. - /// - public ref ushort OffsetShortcut => ref Unsafe.AsRef(&Handle->OffsetShortcut); - /// - /// To be documented. - /// - public ref ushort OffsetMark => ref Unsafe.AsRef(&Handle->OffsetMark); - /// - /// To be documented. - /// - public unsafe Span Widths - - { - get - { - return new Span(&Handle->Widths_0, 4); - } - } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMetricsConfig.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMetricsConfig.cs deleted file mode 100644 index 6bfdd68af..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMetricsConfig.cs +++ /dev/null @@ -1,114 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiMetricsConfig - { - /// - /// To be documented. - /// - public byte ShowDebugLog; - - /// - /// To be documented. - /// - public byte ShowIDStackTool; - - /// - /// To be documented. - /// - public byte ShowWindowsRects; - - /// - /// To be documented. - /// - public byte ShowWindowsBeginOrder; - - /// - /// To be documented. - /// - public byte ShowTablesRects; - - /// - /// To be documented. - /// - public byte ShowDrawCmdMesh; - - /// - /// To be documented. - /// - public byte ShowDrawCmdBoundingBoxes; - - /// - /// To be documented. - /// - public byte ShowTextEncodingViewer; - - /// - /// To be documented. - /// - public byte ShowDockingNodes; - - /// - /// To be documented. - /// - public int ShowWindowsRectsType; - - /// - /// To be documented. - /// - public int ShowTablesRectsType; - - /// - /// To be documented. - /// - public int HighlightMonitorIdx; - - /// - /// To be documented. - /// - public uint HighlightViewportID; - - - /// - /// To be documented. - /// - public unsafe ImGuiMetricsConfig(bool showDebugLog = default, bool showIdStackTool = default, bool showWindowsRects = default, bool showWindowsBeginOrder = default, bool showTablesRects = default, bool showDrawCmdMesh = default, bool showDrawCmdBoundingBoxes = default, bool showTextEncodingViewer = default, bool showDockingNodes = default, int showWindowsRectsType = default, int showTablesRectsType = default, int highlightMonitorIdx = default, uint highlightViewportId = default) - { - ShowDebugLog = showDebugLog ? (byte)1 : (byte)0; - ShowIDStackTool = showIdStackTool ? (byte)1 : (byte)0; - ShowWindowsRects = showWindowsRects ? (byte)1 : (byte)0; - ShowWindowsBeginOrder = showWindowsBeginOrder ? (byte)1 : (byte)0; - ShowTablesRects = showTablesRects ? (byte)1 : (byte)0; - ShowDrawCmdMesh = showDrawCmdMesh ? (byte)1 : (byte)0; - ShowDrawCmdBoundingBoxes = showDrawCmdBoundingBoxes ? (byte)1 : (byte)0; - ShowTextEncodingViewer = showTextEncodingViewer ? (byte)1 : (byte)0; - ShowDockingNodes = showDockingNodes ? (byte)1 : (byte)0; - ShowWindowsRectsType = showWindowsRectsType; - ShowTablesRectsType = showTablesRectsType; - HighlightMonitorIdx = highlightMonitorIdx; - HighlightViewportID = highlightViewportId; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectIO.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectIO.cs deleted file mode 100644 index ad9322c6c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectIO.cs +++ /dev/null @@ -1,143 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Main IO structure returned by BeginMultiSelect()EndMultiSelect().
- /// This mainly contains a list of selection requests.
- /// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
- /// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focusstate right is shown in the demo)
- /// - Below: who readswrites each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=applicationuser code.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiMultiSelectIO - { - /// - /// To be documented. - /// - public ImVector Requests; - - /// - /// To be documented. - /// - public long RangeSrcItem; - - /// - /// To be documented. - /// - public long NavIdItem; - - /// - /// To be documented. - /// - public byte NavIdSelected; - - /// - /// To be documented. - /// - public byte RangeSrcReset; - - /// - /// To be documented. - /// - public int ItemsCount; - - - /// - /// To be documented. - /// - public unsafe ImGuiMultiSelectIO(ImVector requests = default, long rangeSrcItem = default, long navIdItem = default, bool navIdSelected = default, bool rangeSrcReset = default, int itemsCount = default) - { - Requests = requests; - RangeSrcItem = rangeSrcItem; - NavIdItem = navIdItem; - NavIdSelected = navIdSelected ? (byte)1 : (byte)0; - RangeSrcReset = rangeSrcReset ? (byte)1 : (byte)0; - ItemsCount = itemsCount; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiMultiSelectIOPtr : IEquatable - { - public ImGuiMultiSelectIOPtr(ImGuiMultiSelectIO* handle) { Handle = handle; } - - public ImGuiMultiSelectIO* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiMultiSelectIOPtr Null => new ImGuiMultiSelectIOPtr(null); - - public ImGuiMultiSelectIO this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiMultiSelectIOPtr(ImGuiMultiSelectIO* handle) => new ImGuiMultiSelectIOPtr(handle); - - public static implicit operator ImGuiMultiSelectIO*(ImGuiMultiSelectIOPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiMultiSelectIOPtr left, ImGuiMultiSelectIOPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiMultiSelectIOPtr left, ImGuiMultiSelectIOPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiMultiSelectIOPtr left, ImGuiMultiSelectIO* right) => left.Handle == right; - - public static bool operator !=(ImGuiMultiSelectIOPtr left, ImGuiMultiSelectIO* right) => left.Handle != right; - - public bool Equals(ImGuiMultiSelectIOPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiMultiSelectIOPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiMultiSelectIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Requests => ref Unsafe.AsRef>(&Handle->Requests); - /// - /// To be documented. - /// - public ref long RangeSrcItem => ref Unsafe.AsRef(&Handle->RangeSrcItem); - /// - /// To be documented. - /// - public ref long NavIdItem => ref Unsafe.AsRef(&Handle->NavIdItem); - /// - /// To be documented. - /// - public ref bool NavIdSelected => ref Unsafe.AsRef(&Handle->NavIdSelected); - /// - /// To be documented. - /// - public ref bool RangeSrcReset => ref Unsafe.AsRef(&Handle->RangeSrcReset); - /// - /// To be documented. - /// - public ref int ItemsCount => ref Unsafe.AsRef(&Handle->ItemsCount); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectState.cs deleted file mode 100644 index 651f12547..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectState.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Persistent storage for multi-select (as long as selection is alive)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiMultiSelectState - { - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public int LastFrameActive; - - /// - /// To be documented. - /// - public int LastSelectionSize; - - /// - /// To be documented. - /// - public byte RangeSelected; - - /// - /// To be documented. - /// - public byte NavIdSelected; - - /// - /// To be documented. - /// - public long RangeSrcItem; - - /// - /// To be documented. - /// - public long NavIdItem; - - - /// - /// To be documented. - /// - public unsafe ImGuiMultiSelectState(ImGuiWindowPtr window = default, uint id = default, int lastFrameActive = default, int lastSelectionSize = default, byte rangeSelected = default, byte navIdSelected = default, long rangeSrcItem = default, long navIdItem = default) - { - Window = window; - ID = id; - LastFrameActive = lastFrameActive; - LastSelectionSize = lastSelectionSize; - RangeSelected = rangeSelected; - NavIdSelected = navIdSelected; - RangeSrcItem = rangeSrcItem; - NavIdItem = navIdItem; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiMultiSelectStatePtr : IEquatable - { - public ImGuiMultiSelectStatePtr(ImGuiMultiSelectState* handle) { Handle = handle; } - - public ImGuiMultiSelectState* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiMultiSelectStatePtr Null => new ImGuiMultiSelectStatePtr(null); - - public ImGuiMultiSelectState this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiMultiSelectStatePtr(ImGuiMultiSelectState* handle) => new ImGuiMultiSelectStatePtr(handle); - - public static implicit operator ImGuiMultiSelectState*(ImGuiMultiSelectStatePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiMultiSelectStatePtr left, ImGuiMultiSelectStatePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiMultiSelectStatePtr left, ImGuiMultiSelectStatePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiMultiSelectStatePtr left, ImGuiMultiSelectState* right) => left.Handle == right; - - public static bool operator !=(ImGuiMultiSelectStatePtr left, ImGuiMultiSelectState* right) => left.Handle != right; - - public bool Equals(ImGuiMultiSelectStatePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiMultiSelectStatePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiMultiSelectStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); - /// - /// To be documented. - /// - public ref int LastSelectionSize => ref Unsafe.AsRef(&Handle->LastSelectionSize); - /// - /// To be documented. - /// - public ref byte RangeSelected => ref Unsafe.AsRef(&Handle->RangeSelected); - /// - /// To be documented. - /// - public ref byte NavIdSelected => ref Unsafe.AsRef(&Handle->NavIdSelected); - /// - /// To be documented. - /// - public ref long RangeSrcItem => ref Unsafe.AsRef(&Handle->RangeSrcItem); - /// - /// To be documented. - /// - public ref long NavIdItem => ref Unsafe.AsRef(&Handle->NavIdItem); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectTempData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectTempData.cs deleted file mode 100644 index 15cc88992..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiMultiSelectTempData.cs +++ /dev/null @@ -1,239 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Temporary storage for multi-select
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiMultiSelectTempData - { - /// - /// To be documented. - /// - public ImGuiMultiSelectIO IO; - - /// - /// To be documented. - /// - public unsafe ImGuiMultiSelectState* Storage; - - /// - /// To be documented. - /// - public uint FocusScopeId; - - /// - /// To be documented. - /// - public ImGuiMultiSelectFlags Flags; - - /// - /// To be documented. - /// - public Vector2 ScopeRectMin; - - /// - /// To be documented. - /// - public Vector2 BackupCursorMaxPos; - - /// - /// To be documented. - /// - public long LastSubmittedItem; - - /// - /// To be documented. - /// - public uint BoxSelectId; - - /// - /// To be documented. - /// - public int KeyMods; - - /// - /// To be documented. - /// - public byte LoopRequestSetAll; - - /// - /// To be documented. - /// - public byte IsEndIO; - - /// - /// To be documented. - /// - public byte IsFocused; - - /// - /// To be documented. - /// - public byte IsKeyboardSetRange; - - /// - /// To be documented. - /// - public byte NavIdPassedBy; - - /// - /// To be documented. - /// - public byte RangeSrcPassedBy; - - /// - /// To be documented. - /// - public byte RangeDstPassedBy; - - - /// - /// To be documented. - /// - public unsafe ImGuiMultiSelectTempData(ImGuiMultiSelectIO io = default, ImGuiMultiSelectState* storage = default, uint focusScopeId = default, ImGuiMultiSelectFlags flags = default, Vector2 scopeRectMin = default, Vector2 backupCursorMaxPos = default, long lastSubmittedItem = default, uint boxSelectId = default, int keyMods = default, byte loopRequestSetAll = default, bool isEndIo = default, bool isFocused = default, bool isKeyboardSetRange = default, bool navIdPassedBy = default, bool rangeSrcPassedBy = default, bool rangeDstPassedBy = default) - { - IO = io; - Storage = storage; - FocusScopeId = focusScopeId; - Flags = flags; - ScopeRectMin = scopeRectMin; - BackupCursorMaxPos = backupCursorMaxPos; - LastSubmittedItem = lastSubmittedItem; - BoxSelectId = boxSelectId; - KeyMods = keyMods; - LoopRequestSetAll = loopRequestSetAll; - IsEndIO = isEndIo ? (byte)1 : (byte)0; - IsFocused = isFocused ? (byte)1 : (byte)0; - IsKeyboardSetRange = isKeyboardSetRange ? (byte)1 : (byte)0; - NavIdPassedBy = navIdPassedBy ? (byte)1 : (byte)0; - RangeSrcPassedBy = rangeSrcPassedBy ? (byte)1 : (byte)0; - RangeDstPassedBy = rangeDstPassedBy ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiMultiSelectTempDataPtr : IEquatable - { - public ImGuiMultiSelectTempDataPtr(ImGuiMultiSelectTempData* handle) { Handle = handle; } - - public ImGuiMultiSelectTempData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiMultiSelectTempDataPtr Null => new ImGuiMultiSelectTempDataPtr(null); - - public ImGuiMultiSelectTempData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiMultiSelectTempDataPtr(ImGuiMultiSelectTempData* handle) => new ImGuiMultiSelectTempDataPtr(handle); - - public static implicit operator ImGuiMultiSelectTempData*(ImGuiMultiSelectTempDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiMultiSelectTempDataPtr left, ImGuiMultiSelectTempDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiMultiSelectTempDataPtr left, ImGuiMultiSelectTempDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiMultiSelectTempDataPtr left, ImGuiMultiSelectTempData* right) => left.Handle == right; - - public static bool operator !=(ImGuiMultiSelectTempDataPtr left, ImGuiMultiSelectTempData* right) => left.Handle != right; - - public bool Equals(ImGuiMultiSelectTempDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiMultiSelectTempDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiMultiSelectTempDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiMultiSelectIO IO => ref Unsafe.AsRef(&Handle->IO); - /// - /// To be documented. - /// - public ref ImGuiMultiSelectStatePtr Storage => ref Unsafe.AsRef(&Handle->Storage); - /// - /// To be documented. - /// - public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); - /// - /// To be documented. - /// - public ref ImGuiMultiSelectFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref Vector2 ScopeRectMin => ref Unsafe.AsRef(&Handle->ScopeRectMin); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); - /// - /// To be documented. - /// - public ref long LastSubmittedItem => ref Unsafe.AsRef(&Handle->LastSubmittedItem); - /// - /// To be documented. - /// - public ref uint BoxSelectId => ref Unsafe.AsRef(&Handle->BoxSelectId); - /// - /// To be documented. - /// - public ref int KeyMods => ref Unsafe.AsRef(&Handle->KeyMods); - /// - /// To be documented. - /// - public ref byte LoopRequestSetAll => ref Unsafe.AsRef(&Handle->LoopRequestSetAll); - /// - /// To be documented. - /// - public ref bool IsEndIO => ref Unsafe.AsRef(&Handle->IsEndIO); - /// - /// To be documented. - /// - public ref bool IsFocused => ref Unsafe.AsRef(&Handle->IsFocused); - /// - /// To be documented. - /// - public ref bool IsKeyboardSetRange => ref Unsafe.AsRef(&Handle->IsKeyboardSetRange); - /// - /// To be documented. - /// - public ref bool NavIdPassedBy => ref Unsafe.AsRef(&Handle->NavIdPassedBy); - /// - /// To be documented. - /// - public ref bool RangeSrcPassedBy => ref Unsafe.AsRef(&Handle->RangeSrcPassedBy); - /// - /// To be documented. - /// - public ref bool RangeDstPassedBy => ref Unsafe.AsRef(&Handle->RangeDstPassedBy); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNavItemData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNavItemData.cs deleted file mode 100644 index 73ec7da2d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNavItemData.cs +++ /dev/null @@ -1,169 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for navigation queryresults
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiNavItemData - { - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public uint FocusScopeId; - - /// - /// To be documented. - /// - public ImRect RectRel; - - /// - /// To be documented. - /// - public ImGuiItemFlags ItemFlags; - - /// - /// To be documented. - /// - public float DistBox; - - /// - /// To be documented. - /// - public float DistCenter; - - /// - /// To be documented. - /// - public float DistAxial; - - /// - /// To be documented. - /// - public long SelectionUserData; - - - /// - /// To be documented. - /// - public unsafe ImGuiNavItemData(ImGuiWindowPtr window = default, uint id = default, uint focusScopeId = default, ImRect rectRel = default, ImGuiItemFlags itemFlags = default, float distBox = default, float distCenter = default, float distAxial = default, long selectionUserData = default) - { - Window = window; - ID = id; - FocusScopeId = focusScopeId; - RectRel = rectRel; - ItemFlags = itemFlags; - DistBox = distBox; - DistCenter = distCenter; - DistAxial = distAxial; - SelectionUserData = selectionUserData; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiNavItemDataPtr : IEquatable - { - public ImGuiNavItemDataPtr(ImGuiNavItemData* handle) { Handle = handle; } - - public ImGuiNavItemData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiNavItemDataPtr Null => new ImGuiNavItemDataPtr(null); - - public ImGuiNavItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiNavItemDataPtr(ImGuiNavItemData* handle) => new ImGuiNavItemDataPtr(handle); - - public static implicit operator ImGuiNavItemData*(ImGuiNavItemDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiNavItemDataPtr left, ImGuiNavItemDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiNavItemDataPtr left, ImGuiNavItemDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiNavItemDataPtr left, ImGuiNavItemData* right) => left.Handle == right; - - public static bool operator !=(ImGuiNavItemDataPtr left, ImGuiNavItemData* right) => left.Handle != right; - - public bool Equals(ImGuiNavItemDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiNavItemDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiNavItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); - /// - /// To be documented. - /// - public ref ImRect RectRel => ref Unsafe.AsRef(&Handle->RectRel); - /// - /// To be documented. - /// - public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef(&Handle->ItemFlags); - /// - /// To be documented. - /// - public ref float DistBox => ref Unsafe.AsRef(&Handle->DistBox); - /// - /// To be documented. - /// - public ref float DistCenter => ref Unsafe.AsRef(&Handle->DistCenter); - /// - /// To be documented. - /// - public ref float DistAxial => ref Unsafe.AsRef(&Handle->DistAxial); - /// - /// To be documented. - /// - public ref long SelectionUserData => ref Unsafe.AsRef(&Handle->SelectionUserData); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextItemData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextItemData.cs deleted file mode 100644 index a698f4d2b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextItemData.cs +++ /dev/null @@ -1,189 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiNextItemData - { - /// - /// To be documented. - /// - public ImGuiNextItemDataFlags HasFlags; - - /// - /// To be documented. - /// - public ImGuiItemFlags ItemFlags; - - /// - /// To be documented. - /// - public uint FocusScopeId; - - /// - /// To be documented. - /// - public long SelectionUserData; - - /// - /// To be documented. - /// - public float Width; - - /// - /// To be documented. - /// - public int Shortcut; - - /// - /// To be documented. - /// - public ImGuiInputFlags ShortcutFlags; - - /// - /// To be documented. - /// - public byte OpenVal; - - /// - /// To be documented. - /// - public byte OpenCond; - - /// - /// To be documented. - /// - public ImGuiDataTypeStorage RefVal; - - /// - /// To be documented. - /// - public uint StorageId; - - - /// - /// To be documented. - /// - public unsafe ImGuiNextItemData(ImGuiNextItemDataFlags hasFlags = default, ImGuiItemFlags itemFlags = default, uint focusScopeId = default, long selectionUserData = default, float width = default, int shortcut = default, ImGuiInputFlags shortcutFlags = default, bool openVal = default, byte openCond = default, ImGuiDataTypeStorage refVal = default, uint storageId = default) - { - HasFlags = hasFlags; - ItemFlags = itemFlags; - FocusScopeId = focusScopeId; - SelectionUserData = selectionUserData; - Width = width; - Shortcut = shortcut; - ShortcutFlags = shortcutFlags; - OpenVal = openVal ? (byte)1 : (byte)0; - OpenCond = openCond; - RefVal = refVal; - StorageId = storageId; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiNextItemDataPtr : IEquatable - { - public ImGuiNextItemDataPtr(ImGuiNextItemData* handle) { Handle = handle; } - - public ImGuiNextItemData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiNextItemDataPtr Null => new ImGuiNextItemDataPtr(null); - - public ImGuiNextItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiNextItemDataPtr(ImGuiNextItemData* handle) => new ImGuiNextItemDataPtr(handle); - - public static implicit operator ImGuiNextItemData*(ImGuiNextItemDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiNextItemDataPtr left, ImGuiNextItemDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiNextItemDataPtr left, ImGuiNextItemDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiNextItemDataPtr left, ImGuiNextItemData* right) => left.Handle == right; - - public static bool operator !=(ImGuiNextItemDataPtr left, ImGuiNextItemData* right) => left.Handle != right; - - public bool Equals(ImGuiNextItemDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiNextItemDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiNextItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiNextItemDataFlags HasFlags => ref Unsafe.AsRef(&Handle->HasFlags); - /// - /// To be documented. - /// - public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef(&Handle->ItemFlags); - /// - /// To be documented. - /// - public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); - /// - /// To be documented. - /// - public ref long SelectionUserData => ref Unsafe.AsRef(&Handle->SelectionUserData); - /// - /// To be documented. - /// - public ref float Width => ref Unsafe.AsRef(&Handle->Width); - /// - /// To be documented. - /// - public ref int Shortcut => ref Unsafe.AsRef(&Handle->Shortcut); - /// - /// To be documented. - /// - public ref ImGuiInputFlags ShortcutFlags => ref Unsafe.AsRef(&Handle->ShortcutFlags); - /// - /// To be documented. - /// - public ref bool OpenVal => ref Unsafe.AsRef(&Handle->OpenVal); - /// - /// To be documented. - /// - public ref byte OpenCond => ref Unsafe.AsRef(&Handle->OpenCond); - /// - /// To be documented. - /// - public ref ImGuiDataTypeStorage RefVal => ref Unsafe.AsRef(&Handle->RefVal); - /// - /// To be documented. - /// - public ref uint StorageId => ref Unsafe.AsRef(&Handle->StorageId); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextWindowData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextWindowData.cs deleted file mode 100644 index dbe75c1ca..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiNextWindowData.cs +++ /dev/null @@ -1,308 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for SetNexWindow** functions
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiNextWindowData - { - /// - /// To be documented. - /// - public ImGuiNextWindowDataFlags HasFlags; - - /// - /// To be documented. - /// - public ImGuiCond PosCond; - - /// - /// To be documented. - /// - public ImGuiCond SizeCond; - - /// - /// To be documented. - /// - public ImGuiCond CollapsedCond; - - /// - /// To be documented. - /// - public ImGuiCond DockCond; - - /// - /// To be documented. - /// - public Vector2 PosVal; - - /// - /// To be documented. - /// - public Vector2 PosPivotVal; - - /// - /// To be documented. - /// - public Vector2 SizeVal; - - /// - /// To be documented. - /// - public Vector2 ContentSizeVal; - - /// - /// To be documented. - /// - public Vector2 ScrollVal; - - /// - /// To be documented. - /// - public ImGuiWindowFlags WindowFlags; - - /// - /// To be documented. - /// - public ImGuiChildFlags ChildFlags; - - /// - /// To be documented. - /// - public byte PosUndock; - - /// - /// To be documented. - /// - public byte CollapsedVal; - - /// - /// To be documented. - /// - public ImRect SizeConstraintRect; - - /// - /// To be documented. - /// - public unsafe void* SizeCallback; - /// - /// To be documented. - /// - public unsafe void* SizeCallbackUserData; - - /// - /// To be documented. - /// - public float BgAlphaVal; - - /// - /// To be documented. - /// - public uint ViewportId; - - /// - /// To be documented. - /// - public uint DockId; - - /// - /// To be documented. - /// - public ImGuiWindowClass WindowClass; - - /// - /// To be documented. - /// - public Vector2 MenuBarOffsetMinVal; - - /// - /// To be documented. - /// - public ImGuiWindowRefreshFlags RefreshFlagsVal; - - - /// - /// To be documented. - /// - public unsafe ImGuiNextWindowData(ImGuiNextWindowDataFlags hasFlags = default, ImGuiCond posCond = default, ImGuiCond sizeCond = default, ImGuiCond collapsedCond = default, ImGuiCond dockCond = default, Vector2 posVal = default, Vector2 posPivotVal = default, Vector2 sizeVal = default, Vector2 contentSizeVal = default, Vector2 scrollVal = default, ImGuiWindowFlags windowFlags = default, ImGuiChildFlags childFlags = default, bool posUndock = default, bool collapsedVal = default, ImRect sizeConstraintRect = default, ImGuiSizeCallback sizeCallback = default, void* sizeCallbackUserData = default, float bgAlphaVal = default, uint viewportId = default, uint dockId = default, ImGuiWindowClass windowClass = default, Vector2 menuBarOffsetMinVal = default, ImGuiWindowRefreshFlags refreshFlagsVal = default) - { - HasFlags = hasFlags; - PosCond = posCond; - SizeCond = sizeCond; - CollapsedCond = collapsedCond; - DockCond = dockCond; - PosVal = posVal; - PosPivotVal = posPivotVal; - SizeVal = sizeVal; - ContentSizeVal = contentSizeVal; - ScrollVal = scrollVal; - WindowFlags = windowFlags; - ChildFlags = childFlags; - PosUndock = posUndock ? (byte)1 : (byte)0; - CollapsedVal = collapsedVal ? (byte)1 : (byte)0; - SizeConstraintRect = sizeConstraintRect; - SizeCallback = (void*)Marshal.GetFunctionPointerForDelegate(sizeCallback); - SizeCallbackUserData = sizeCallbackUserData; - BgAlphaVal = bgAlphaVal; - ViewportId = viewportId; - DockId = dockId; - WindowClass = windowClass; - MenuBarOffsetMinVal = menuBarOffsetMinVal; - RefreshFlagsVal = refreshFlagsVal; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiNextWindowDataPtr : IEquatable - { - public ImGuiNextWindowDataPtr(ImGuiNextWindowData* handle) { Handle = handle; } - - public ImGuiNextWindowData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiNextWindowDataPtr Null => new ImGuiNextWindowDataPtr(null); - - public ImGuiNextWindowData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiNextWindowDataPtr(ImGuiNextWindowData* handle) => new ImGuiNextWindowDataPtr(handle); - - public static implicit operator ImGuiNextWindowData*(ImGuiNextWindowDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiNextWindowDataPtr left, ImGuiNextWindowDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiNextWindowDataPtr left, ImGuiNextWindowDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiNextWindowDataPtr left, ImGuiNextWindowData* right) => left.Handle == right; - - public static bool operator !=(ImGuiNextWindowDataPtr left, ImGuiNextWindowData* right) => left.Handle != right; - - public bool Equals(ImGuiNextWindowDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiNextWindowDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiNextWindowDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiNextWindowDataFlags HasFlags => ref Unsafe.AsRef(&Handle->HasFlags); - /// - /// To be documented. - /// - public ref ImGuiCond PosCond => ref Unsafe.AsRef(&Handle->PosCond); - /// - /// To be documented. - /// - public ref ImGuiCond SizeCond => ref Unsafe.AsRef(&Handle->SizeCond); - /// - /// To be documented. - /// - public ref ImGuiCond CollapsedCond => ref Unsafe.AsRef(&Handle->CollapsedCond); - /// - /// To be documented. - /// - public ref ImGuiCond DockCond => ref Unsafe.AsRef(&Handle->DockCond); - /// - /// To be documented. - /// - public ref Vector2 PosVal => ref Unsafe.AsRef(&Handle->PosVal); - /// - /// To be documented. - /// - public ref Vector2 PosPivotVal => ref Unsafe.AsRef(&Handle->PosPivotVal); - /// - /// To be documented. - /// - public ref Vector2 SizeVal => ref Unsafe.AsRef(&Handle->SizeVal); - /// - /// To be documented. - /// - public ref Vector2 ContentSizeVal => ref Unsafe.AsRef(&Handle->ContentSizeVal); - /// - /// To be documented. - /// - public ref Vector2 ScrollVal => ref Unsafe.AsRef(&Handle->ScrollVal); - /// - /// To be documented. - /// - public ref ImGuiWindowFlags WindowFlags => ref Unsafe.AsRef(&Handle->WindowFlags); - /// - /// To be documented. - /// - public ref ImGuiChildFlags ChildFlags => ref Unsafe.AsRef(&Handle->ChildFlags); - /// - /// To be documented. - /// - public ref bool PosUndock => ref Unsafe.AsRef(&Handle->PosUndock); - /// - /// To be documented. - /// - public ref bool CollapsedVal => ref Unsafe.AsRef(&Handle->CollapsedVal); - /// - /// To be documented. - /// - public ref ImRect SizeConstraintRect => ref Unsafe.AsRef(&Handle->SizeConstraintRect); - /// - /// To be documented. - /// - public void* SizeCallback { get => Handle->SizeCallback; set => Handle->SizeCallback = value; } - /// - /// To be documented. - /// - public void* SizeCallbackUserData { get => Handle->SizeCallbackUserData; set => Handle->SizeCallbackUserData = value; } - /// - /// To be documented. - /// - public ref float BgAlphaVal => ref Unsafe.AsRef(&Handle->BgAlphaVal); - /// - /// To be documented. - /// - public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); - /// - /// To be documented. - /// - public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); - /// - /// To be documented. - /// - public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); - /// - /// To be documented. - /// - public ref Vector2 MenuBarOffsetMinVal => ref Unsafe.AsRef(&Handle->MenuBarOffsetMinVal); - /// - /// To be documented. - /// - public ref ImGuiWindowRefreshFlags RefreshFlagsVal => ref Unsafe.AsRef(&Handle->RefreshFlagsVal); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumnData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumnData.cs deleted file mode 100644 index 44f07c232..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumnData.cs +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiOldColumnData - { - /// - /// To be documented. - /// - public float OffsetNorm; - - /// - /// To be documented. - /// - public float OffsetNormBeforeResize; - - /// - /// To be documented. - /// - public ImGuiOldColumnFlags Flags; - - /// - /// To be documented. - /// - public ImRect ClipRect; - - - /// - /// To be documented. - /// - public unsafe ImGuiOldColumnData(float offsetNorm = default, float offsetNormBeforeResize = default, ImGuiOldColumnFlags flags = default, ImRect clipRect = default) - { - OffsetNorm = offsetNorm; - OffsetNormBeforeResize = offsetNormBeforeResize; - Flags = flags; - ClipRect = clipRect; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiOldColumnDataPtr : IEquatable - { - public ImGuiOldColumnDataPtr(ImGuiOldColumnData* handle) { Handle = handle; } - - public ImGuiOldColumnData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiOldColumnDataPtr Null => new ImGuiOldColumnDataPtr(null); - - public ImGuiOldColumnData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiOldColumnDataPtr(ImGuiOldColumnData* handle) => new ImGuiOldColumnDataPtr(handle); - - public static implicit operator ImGuiOldColumnData*(ImGuiOldColumnDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiOldColumnDataPtr left, ImGuiOldColumnDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiOldColumnDataPtr left, ImGuiOldColumnDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiOldColumnDataPtr left, ImGuiOldColumnData* right) => left.Handle == right; - - public static bool operator !=(ImGuiOldColumnDataPtr left, ImGuiOldColumnData* right) => left.Handle != right; - - public bool Equals(ImGuiOldColumnDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiOldColumnDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiOldColumnDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float OffsetNorm => ref Unsafe.AsRef(&Handle->OffsetNorm); - /// - /// To be documented. - /// - public ref float OffsetNormBeforeResize => ref Unsafe.AsRef(&Handle->OffsetNormBeforeResize); - /// - /// To be documented. - /// - public ref ImGuiOldColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumns.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumns.cs deleted file mode 100644 index 0097cdec5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOldColumns.cs +++ /dev/null @@ -1,249 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiOldColumns - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiOldColumnFlags Flags; - - /// - /// To be documented. - /// - public byte IsFirstFrame; - - /// - /// To be documented. - /// - public byte IsBeingResized; - - /// - /// To be documented. - /// - public int Current; - - /// - /// To be documented. - /// - public int Count; - - /// - /// To be documented. - /// - public float OffMinX; - - /// - /// To be documented. - /// - public float OffMaxX; - - /// - /// To be documented. - /// - public float LineMinY; - - /// - /// To be documented. - /// - public float LineMaxY; - - /// - /// To be documented. - /// - public float HostCursorPosY; - - /// - /// To be documented. - /// - public float HostCursorMaxPosX; - - /// - /// To be documented. - /// - public ImRect HostInitialClipRect; - - /// - /// To be documented. - /// - public ImRect HostBackupClipRect; - - /// - /// To be documented. - /// - public ImRect HostBackupParentWorkRect; - - /// - /// To be documented. - /// - public ImVector Columns; - - /// - /// To be documented. - /// - public ImDrawListSplitter Splitter; - - - /// - /// To be documented. - /// - public unsafe ImGuiOldColumns(uint id = default, ImGuiOldColumnFlags flags = default, bool isFirstFrame = default, bool isBeingResized = default, int current = default, int count = default, float offMinX = default, float offMaxX = default, float lineMinY = default, float lineMaxY = default, float hostCursorPosY = default, float hostCursorMaxPosX = default, ImRect hostInitialClipRect = default, ImRect hostBackupClipRect = default, ImRect hostBackupParentWorkRect = default, ImVector columns = default, ImDrawListSplitter splitter = default) - { - ID = id; - Flags = flags; - IsFirstFrame = isFirstFrame ? (byte)1 : (byte)0; - IsBeingResized = isBeingResized ? (byte)1 : (byte)0; - Current = current; - Count = count; - OffMinX = offMinX; - OffMaxX = offMaxX; - LineMinY = lineMinY; - LineMaxY = lineMaxY; - HostCursorPosY = hostCursorPosY; - HostCursorMaxPosX = hostCursorMaxPosX; - HostInitialClipRect = hostInitialClipRect; - HostBackupClipRect = hostBackupClipRect; - HostBackupParentWorkRect = hostBackupParentWorkRect; - Columns = columns; - Splitter = splitter; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiOldColumnsPtr : IEquatable - { - public ImGuiOldColumnsPtr(ImGuiOldColumns* handle) { Handle = handle; } - - public ImGuiOldColumns* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiOldColumnsPtr Null => new ImGuiOldColumnsPtr(null); - - public ImGuiOldColumns this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiOldColumnsPtr(ImGuiOldColumns* handle) => new ImGuiOldColumnsPtr(handle); - - public static implicit operator ImGuiOldColumns*(ImGuiOldColumnsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiOldColumnsPtr left, ImGuiOldColumnsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiOldColumnsPtr left, ImGuiOldColumnsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiOldColumnsPtr left, ImGuiOldColumns* right) => left.Handle == right; - - public static bool operator !=(ImGuiOldColumnsPtr left, ImGuiOldColumns* right) => left.Handle != right; - - public bool Equals(ImGuiOldColumnsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiOldColumnsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiOldColumnsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiOldColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref bool IsFirstFrame => ref Unsafe.AsRef(&Handle->IsFirstFrame); - /// - /// To be documented. - /// - public ref bool IsBeingResized => ref Unsafe.AsRef(&Handle->IsBeingResized); - /// - /// To be documented. - /// - public ref int Current => ref Unsafe.AsRef(&Handle->Current); - /// - /// To be documented. - /// - public ref int Count => ref Unsafe.AsRef(&Handle->Count); - /// - /// To be documented. - /// - public ref float OffMinX => ref Unsafe.AsRef(&Handle->OffMinX); - /// - /// To be documented. - /// - public ref float OffMaxX => ref Unsafe.AsRef(&Handle->OffMaxX); - /// - /// To be documented. - /// - public ref float LineMinY => ref Unsafe.AsRef(&Handle->LineMinY); - /// - /// To be documented. - /// - public ref float LineMaxY => ref Unsafe.AsRef(&Handle->LineMaxY); - /// - /// To be documented. - /// - public ref float HostCursorPosY => ref Unsafe.AsRef(&Handle->HostCursorPosY); - /// - /// To be documented. - /// - public ref float HostCursorMaxPosX => ref Unsafe.AsRef(&Handle->HostCursorMaxPosX); - /// - /// To be documented. - /// - public ref ImRect HostInitialClipRect => ref Unsafe.AsRef(&Handle->HostInitialClipRect); - /// - /// To be documented. - /// - public ref ImRect HostBackupClipRect => ref Unsafe.AsRef(&Handle->HostBackupClipRect); - /// - /// To be documented. - /// - public ref ImRect HostBackupParentWorkRect => ref Unsafe.AsRef(&Handle->HostBackupParentWorkRect); - /// - /// To be documented. - /// - public ref ImVector Columns => ref Unsafe.AsRef>(&Handle->Columns); - /// - /// To be documented. - /// - public ref ImDrawListSplitter Splitter => ref Unsafe.AsRef(&Handle->Splitter); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs deleted file mode 100644 index 31beab9fc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiOnceUponAFrame.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create a UI within deep-nested code that runs multiple times every frame.
- /// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame");
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiOnceUponAFrame - { - /// - /// To be documented. - /// - public int RefFrame; - - - /// - /// To be documented. - /// - public unsafe ImGuiOnceUponAFrame(int refFrame = default) - { - RefFrame = refFrame; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiOnceUponAFrame* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiOnceUponAFramePtr : IEquatable - { - public ImGuiOnceUponAFramePtr(ImGuiOnceUponAFrame* handle) { Handle = handle; } - - public ImGuiOnceUponAFrame* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiOnceUponAFramePtr Null => new ImGuiOnceUponAFramePtr(null); - - public ImGuiOnceUponAFrame this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiOnceUponAFramePtr(ImGuiOnceUponAFrame* handle) => new ImGuiOnceUponAFramePtr(handle); - - public static implicit operator ImGuiOnceUponAFrame*(ImGuiOnceUponAFramePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFramePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFramePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFrame* right) => left.Handle == right; - - public static bool operator !=(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFrame* right) => left.Handle != right; - - public bool Equals(ImGuiOnceUponAFramePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiOnceUponAFramePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiOnceUponAFramePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int RefFrame => ref Unsafe.AsRef(&Handle->RefFrame); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPayload.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPayload.cs deleted file mode 100644 index a3d2545d5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPayload.cs +++ /dev/null @@ -1,501 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiPayload - { - /// - /// To be documented. - /// - public unsafe void* Data; - - /// - /// To be documented. - /// - public int DataSize; - - /// - /// To be documented. - /// - public uint SourceId; - - /// - /// To be documented. - /// - public uint SourceParentId; - - /// - /// To be documented. - /// - public int DataFrameCount; - - /// - /// To be documented. - /// - public byte DataType_0; - public byte DataType_1; - public byte DataType_2; - public byte DataType_3; - public byte DataType_4; - public byte DataType_5; - public byte DataType_6; - public byte DataType_7; - public byte DataType_8; - public byte DataType_9; - public byte DataType_10; - public byte DataType_11; - public byte DataType_12; - public byte DataType_13; - public byte DataType_14; - public byte DataType_15; - public byte DataType_16; - public byte DataType_17; - public byte DataType_18; - public byte DataType_19; - public byte DataType_20; - public byte DataType_21; - public byte DataType_22; - public byte DataType_23; - public byte DataType_24; - public byte DataType_25; - public byte DataType_26; - public byte DataType_27; - public byte DataType_28; - public byte DataType_29; - public byte DataType_30; - public byte DataType_31; - public byte DataType_32; - - /// - /// To be documented. - /// - public byte Preview; - - /// - /// To be documented. - /// - public byte Delivery; - - - /// - /// To be documented. - /// - public unsafe ImGuiPayload(void* data = default, int dataSize = default, uint sourceId = default, uint sourceParentId = default, int dataFrameCount = default, byte* dataType = default, bool preview = default, bool delivery = default) - { - Data = data; - DataSize = dataSize; - SourceId = sourceId; - SourceParentId = sourceParentId; - DataFrameCount = dataFrameCount; - if (dataType != default(byte*)) - { - DataType_0 = dataType[0]; - DataType_1 = dataType[1]; - DataType_2 = dataType[2]; - DataType_3 = dataType[3]; - DataType_4 = dataType[4]; - DataType_5 = dataType[5]; - DataType_6 = dataType[6]; - DataType_7 = dataType[7]; - DataType_8 = dataType[8]; - DataType_9 = dataType[9]; - DataType_10 = dataType[10]; - DataType_11 = dataType[11]; - DataType_12 = dataType[12]; - DataType_13 = dataType[13]; - DataType_14 = dataType[14]; - DataType_15 = dataType[15]; - DataType_16 = dataType[16]; - DataType_17 = dataType[17]; - DataType_18 = dataType[18]; - DataType_19 = dataType[19]; - DataType_20 = dataType[20]; - DataType_21 = dataType[21]; - DataType_22 = dataType[22]; - DataType_23 = dataType[23]; - DataType_24 = dataType[24]; - DataType_25 = dataType[25]; - DataType_26 = dataType[26]; - DataType_27 = dataType[27]; - DataType_28 = dataType[28]; - DataType_29 = dataType[29]; - DataType_30 = dataType[30]; - DataType_31 = dataType[31]; - DataType_32 = dataType[32]; - } - Preview = preview ? (byte)1 : (byte)0; - Delivery = delivery ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImGuiPayload(void* data = default, int dataSize = default, uint sourceId = default, uint sourceParentId = default, int dataFrameCount = default, Span dataType = default, bool preview = default, bool delivery = default) - { - Data = data; - DataSize = dataSize; - SourceId = sourceId; - SourceParentId = sourceParentId; - DataFrameCount = dataFrameCount; - if (dataType != default(Span)) - { - DataType_0 = dataType[0]; - DataType_1 = dataType[1]; - DataType_2 = dataType[2]; - DataType_3 = dataType[3]; - DataType_4 = dataType[4]; - DataType_5 = dataType[5]; - DataType_6 = dataType[6]; - DataType_7 = dataType[7]; - DataType_8 = dataType[8]; - DataType_9 = dataType[9]; - DataType_10 = dataType[10]; - DataType_11 = dataType[11]; - DataType_12 = dataType[12]; - DataType_13 = dataType[13]; - DataType_14 = dataType[14]; - DataType_15 = dataType[15]; - DataType_16 = dataType[16]; - DataType_17 = dataType[17]; - DataType_18 = dataType[18]; - DataType_19 = dataType[19]; - DataType_20 = dataType[20]; - DataType_21 = dataType[21]; - DataType_22 = dataType[22]; - DataType_23 = dataType[23]; - DataType_24 = dataType[24]; - DataType_25 = dataType[25]; - DataType_26 = dataType[26]; - DataType_27 = dataType[27]; - DataType_28 = dataType[28]; - DataType_29 = dataType[29]; - DataType_30 = dataType[30]; - DataType_31 = dataType[31]; - DataType_32 = dataType[32]; - } - Preview = preview ? (byte)1 : (byte)0; - Delivery = delivery ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Clear() - { - fixed (ImGuiPayload* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiPayload* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(byte* type) - { - fixed (ImGuiPayload* @this = &this) - { - byte ret = ImGui.IsDataTypeNative(@this, type); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(ref byte type) - { - fixed (ImGuiPayload* @this = &this) - { - fixed (byte* ptype = &type) - { - byte ret = ImGui.IsDataTypeNative(@this, (byte*)ptype); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(ReadOnlySpan type) - { - fixed (ImGuiPayload* @this = &this) - { - fixed (byte* ptype = type) - { - byte ret = ImGui.IsDataTypeNative(@this, (byte*)ptype); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(string type) - { - fixed (ImGuiPayload* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.IsDataTypeNative(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDelivery() - { - fixed (ImGuiPayload* @this = &this) - { - byte ret = ImGui.IsDeliveryNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsPreview() - { - fixed (ImGuiPayload* @this = &this) - { - byte ret = ImGui.IsPreviewNative(@this); - return ret != 0; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiPayloadPtr : IEquatable - { - public ImGuiPayloadPtr(ImGuiPayload* handle) { Handle = handle; } - - public ImGuiPayload* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiPayloadPtr Null => new ImGuiPayloadPtr(null); - - public ImGuiPayload this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiPayloadPtr(ImGuiPayload* handle) => new ImGuiPayloadPtr(handle); - - public static implicit operator ImGuiPayload*(ImGuiPayloadPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiPayloadPtr left, ImGuiPayloadPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiPayloadPtr left, ImGuiPayloadPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiPayloadPtr left, ImGuiPayload* right) => left.Handle == right; - - public static bool operator !=(ImGuiPayloadPtr left, ImGuiPayload* right) => left.Handle != right; - - public bool Equals(ImGuiPayloadPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiPayloadPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiPayloadPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public void* Data { get => Handle->Data; set => Handle->Data = value; } - /// - /// To be documented. - /// - public ref int DataSize => ref Unsafe.AsRef(&Handle->DataSize); - /// - /// To be documented. - /// - public ref uint SourceId => ref Unsafe.AsRef(&Handle->SourceId); - /// - /// To be documented. - /// - public ref uint SourceParentId => ref Unsafe.AsRef(&Handle->SourceParentId); - /// - /// To be documented. - /// - public ref int DataFrameCount => ref Unsafe.AsRef(&Handle->DataFrameCount); - /// - /// To be documented. - /// - public unsafe Span DataType - - { - get - { - return new Span(&Handle->DataType_0, 33); - } - } - /// - /// To be documented. - /// - public ref bool Preview => ref Unsafe.AsRef(&Handle->Preview); - /// - /// To be documented. - /// - public ref bool Delivery => ref Unsafe.AsRef(&Handle->Delivery); - /// - /// To be documented. - /// - public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(byte* type) - { - byte ret = ImGui.IsDataTypeNative(Handle, type); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(ref byte type) - { - fixed (byte* ptype = &type) - { - byte ret = ImGui.IsDataTypeNative(Handle, (byte*)ptype); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(ReadOnlySpan type) - { - fixed (byte* ptype = type) - { - byte ret = ImGui.IsDataTypeNative(Handle, (byte*)ptype); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsDataType(string type) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (type != null) - { - pStrSize0 = Utils.GetByteCountUTF8(type); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.IsDataTypeNative(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsDelivery() - { - byte ret = ImGui.IsDeliveryNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsPreview() - { - byte ret = ImGui.IsPreviewNative(Handle); - return ret != 0; - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformIO.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformIO.cs deleted file mode 100644 index 45aa150c2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformIO.cs +++ /dev/null @@ -1,448 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Access via ImGui::GetPlatformIO()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiPlatformIO - { - /// - /// To be documented. - /// - public unsafe void* PlatformGetClipboardTextFn; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetClipboardTextFn; - - /// - /// To be documented. - /// - public unsafe void* PlatformClipboardUserData; - - /// - /// To be documented. - /// - public unsafe void* PlatformOpenInShellFn; - - /// - /// To be documented. - /// - public unsafe void* PlatformOpenInShellUserData; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetImeDataFn; - - /// - /// To be documented. - /// - public unsafe void* PlatformImeUserData; - - /// - /// To be documented. - /// - public uint PlatformLocaleDecimalPoint; - - /// - /// To be documented. - /// - public unsafe void* RendererRenderState; - - /// - /// To be documented. - /// - public unsafe void* PlatformCreateWindow; - - /// - /// To be documented. - /// - public unsafe void* PlatformDestroyWindow; - - /// - /// To be documented. - /// - public unsafe void* PlatformShowWindow; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetWindowPos; - - /// - /// To be documented. - /// - public unsafe void* PlatformGetWindowPos; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetWindowSize; - - /// - /// To be documented. - /// - public unsafe void* PlatformGetWindowSize; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetWindowFocus; - - /// - /// To be documented. - /// - public unsafe void* PlatformGetWindowFocus; - - /// - /// To be documented. - /// - public unsafe void* PlatformGetWindowMinimized; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetWindowTitle; - - /// - /// To be documented. - /// - public unsafe void* PlatformSetWindowAlpha; - - /// - /// To be documented. - /// - public unsafe void* PlatformUpdateWindow; - - /// - /// To be documented. - /// - public unsafe void* PlatformRenderWindow; - - /// - /// To be documented. - /// - public unsafe void* PlatformSwapBuffers; - - /// - /// To be documented. - /// - public unsafe void* PlatformGetWindowDpiScale; - - /// - /// To be documented. - /// - public unsafe void* PlatformOnChangedViewport; - - /// - /// To be documented. - /// - public unsafe void* PlatformGetWindowWorkAreaInsets; - - /// - /// To be documented. - /// - public unsafe void* PlatformCreateVkSurface; - - /// - /// To be documented. - /// - public unsafe void* RendererCreateWindow; - - /// - /// To be documented. - /// - public unsafe void* RendererDestroyWindow; - - /// - /// To be documented. - /// - public unsafe void* RendererSetWindowSize; - - /// - /// To be documented. - /// - public unsafe void* RendererRenderWindow; - - /// - /// To be documented. - /// - public unsafe void* RendererSwapBuffers; - - /// - /// To be documented. - /// - public ImVector Monitors; - - /// - /// To be documented. - /// - public ImVector Viewports; - - - /// - /// To be documented. - /// - public unsafe ImGuiPlatformIO(delegate* platformGetclipboardtextfn = default, delegate* platformSetclipboardtextfn = default, void* platformClipboarduserdata = default, delegate* platformOpeninshellfn = default, void* platformOpeninshelluserdata = default, delegate* platformSetimedatafn = default, void* platformImeuserdata = default, uint platformLocaledecimalpoint = default, void* rendererRenderstate = default, delegate* platformCreatewindow = default, delegate* platformDestroywindow = default, delegate* platformShowwindow = default, delegate* platformSetwindowpos = default, delegate* platformGetwindowpos = default, delegate* platformSetwindowsize = default, delegate* platformGetwindowsize = default, delegate* platformSetwindowfocus = default, delegate* platformGetwindowfocus = default, delegate* platformGetwindowminimized = default, delegate* platformSetwindowtitle = default, delegate* platformSetwindowalpha = default, delegate* platformUpdatewindow = default, delegate* platformRenderwindow = default, delegate* platformSwapbuffers = default, delegate* platformGetwindowdpiscale = default, delegate* platformOnchangedviewport = default, delegate* platformGetwindowworkareainsets = default, delegate* platformCreatevksurface = default, delegate* rendererCreatewindow = default, delegate* rendererDestroywindow = default, delegate* rendererSetwindowsize = default, delegate* rendererRenderwindow = default, delegate* rendererSwapbuffers = default, ImVector monitors = default, ImVector viewports = default) - { - PlatformGetClipboardTextFn = (void*)platformGetclipboardtextfn; - PlatformSetClipboardTextFn = (void*)platformSetclipboardtextfn; - PlatformClipboardUserData = platformClipboarduserdata; - PlatformOpenInShellFn = (void*)platformOpeninshellfn; - PlatformOpenInShellUserData = platformOpeninshelluserdata; - PlatformSetImeDataFn = (void*)platformSetimedatafn; - PlatformImeUserData = platformImeuserdata; - PlatformLocaleDecimalPoint = platformLocaledecimalpoint; - RendererRenderState = rendererRenderstate; - PlatformCreateWindow = (void*)platformCreatewindow; - PlatformDestroyWindow = (void*)platformDestroywindow; - PlatformShowWindow = (void*)platformShowwindow; - PlatformSetWindowPos = (void*)platformSetwindowpos; - PlatformGetWindowPos = (void*)platformGetwindowpos; - PlatformSetWindowSize = (void*)platformSetwindowsize; - PlatformGetWindowSize = (void*)platformGetwindowsize; - PlatformSetWindowFocus = (void*)platformSetwindowfocus; - PlatformGetWindowFocus = (void*)platformGetwindowfocus; - PlatformGetWindowMinimized = (void*)platformGetwindowminimized; - PlatformSetWindowTitle = (void*)platformSetwindowtitle; - PlatformSetWindowAlpha = (void*)platformSetwindowalpha; - PlatformUpdateWindow = (void*)platformUpdatewindow; - PlatformRenderWindow = (void*)platformRenderwindow; - PlatformSwapBuffers = (void*)platformSwapbuffers; - PlatformGetWindowDpiScale = (void*)platformGetwindowdpiscale; - PlatformOnChangedViewport = (void*)platformOnchangedviewport; - PlatformGetWindowWorkAreaInsets = (void*)platformGetwindowworkareainsets; - PlatformCreateVkSurface = (void*)platformCreatevksurface; - RendererCreateWindow = (void*)rendererCreatewindow; - RendererDestroyWindow = (void*)rendererDestroywindow; - RendererSetWindowSize = (void*)rendererSetwindowsize; - RendererRenderWindow = (void*)rendererRenderwindow; - RendererSwapBuffers = (void*)rendererSwapbuffers; - Monitors = monitors; - Viewports = viewports; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiPlatformIO* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiPlatformIOPtr : IEquatable - { - public ImGuiPlatformIOPtr(ImGuiPlatformIO* handle) { Handle = handle; } - - public ImGuiPlatformIO* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiPlatformIOPtr Null => new ImGuiPlatformIOPtr(null); - - public ImGuiPlatformIO this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiPlatformIOPtr(ImGuiPlatformIO* handle) => new ImGuiPlatformIOPtr(handle); - - public static implicit operator ImGuiPlatformIO*(ImGuiPlatformIOPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiPlatformIOPtr left, ImGuiPlatformIOPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiPlatformIOPtr left, ImGuiPlatformIOPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiPlatformIOPtr left, ImGuiPlatformIO* right) => left.Handle == right; - - public static bool operator !=(ImGuiPlatformIOPtr left, ImGuiPlatformIO* right) => left.Handle != right; - - public bool Equals(ImGuiPlatformIOPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiPlatformIOPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiPlatformIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public void* PlatformGetClipboardTextFn { get => Handle->PlatformGetClipboardTextFn; set => Handle->PlatformGetClipboardTextFn = value; } - /// - /// To be documented. - /// - public void* PlatformSetClipboardTextFn { get => Handle->PlatformSetClipboardTextFn; set => Handle->PlatformSetClipboardTextFn = value; } - /// - /// To be documented. - /// - public void* PlatformClipboardUserData { get => Handle->PlatformClipboardUserData; set => Handle->PlatformClipboardUserData = value; } - /// - /// To be documented. - /// - public void* PlatformOpenInShellFn { get => Handle->PlatformOpenInShellFn; set => Handle->PlatformOpenInShellFn = value; } - /// - /// To be documented. - /// - public void* PlatformOpenInShellUserData { get => Handle->PlatformOpenInShellUserData; set => Handle->PlatformOpenInShellUserData = value; } - /// - /// To be documented. - /// - public void* PlatformSetImeDataFn { get => Handle->PlatformSetImeDataFn; set => Handle->PlatformSetImeDataFn = value; } - /// - /// To be documented. - /// - public void* PlatformImeUserData { get => Handle->PlatformImeUserData; set => Handle->PlatformImeUserData = value; } - /// - /// To be documented. - /// - public ref uint PlatformLocaleDecimalPoint => ref Unsafe.AsRef(&Handle->PlatformLocaleDecimalPoint); - /// - /// To be documented. - /// - public void* RendererRenderState { get => Handle->RendererRenderState; set => Handle->RendererRenderState = value; } - /// - /// To be documented. - /// - public void* PlatformCreateWindow { get => Handle->PlatformCreateWindow; set => Handle->PlatformCreateWindow = value; } - /// - /// To be documented. - /// - public void* PlatformDestroyWindow { get => Handle->PlatformDestroyWindow; set => Handle->PlatformDestroyWindow = value; } - /// - /// To be documented. - /// - public void* PlatformShowWindow { get => Handle->PlatformShowWindow; set => Handle->PlatformShowWindow = value; } - /// - /// To be documented. - /// - public void* PlatformSetWindowPos { get => Handle->PlatformSetWindowPos; set => Handle->PlatformSetWindowPos = value; } - /// - /// To be documented. - /// - public void* PlatformGetWindowPos { get => Handle->PlatformGetWindowPos; set => Handle->PlatformGetWindowPos = value; } - /// - /// To be documented. - /// - public void* PlatformSetWindowSize { get => Handle->PlatformSetWindowSize; set => Handle->PlatformSetWindowSize = value; } - /// - /// To be documented. - /// - public void* PlatformGetWindowSize { get => Handle->PlatformGetWindowSize; set => Handle->PlatformGetWindowSize = value; } - /// - /// To be documented. - /// - public void* PlatformSetWindowFocus { get => Handle->PlatformSetWindowFocus; set => Handle->PlatformSetWindowFocus = value; } - /// - /// To be documented. - /// - public void* PlatformGetWindowFocus { get => Handle->PlatformGetWindowFocus; set => Handle->PlatformGetWindowFocus = value; } - /// - /// To be documented. - /// - public void* PlatformGetWindowMinimized { get => Handle->PlatformGetWindowMinimized; set => Handle->PlatformGetWindowMinimized = value; } - /// - /// To be documented. - /// - public void* PlatformSetWindowTitle { get => Handle->PlatformSetWindowTitle; set => Handle->PlatformSetWindowTitle = value; } - /// - /// To be documented. - /// - public void* PlatformSetWindowAlpha { get => Handle->PlatformSetWindowAlpha; set => Handle->PlatformSetWindowAlpha = value; } - /// - /// To be documented. - /// - public void* PlatformUpdateWindow { get => Handle->PlatformUpdateWindow; set => Handle->PlatformUpdateWindow = value; } - /// - /// To be documented. - /// - public void* PlatformRenderWindow { get => Handle->PlatformRenderWindow; set => Handle->PlatformRenderWindow = value; } - /// - /// To be documented. - /// - public void* PlatformSwapBuffers { get => Handle->PlatformSwapBuffers; set => Handle->PlatformSwapBuffers = value; } - /// - /// To be documented. - /// - public void* PlatformGetWindowDpiScale { get => Handle->PlatformGetWindowDpiScale; set => Handle->PlatformGetWindowDpiScale = value; } - /// - /// To be documented. - /// - public void* PlatformOnChangedViewport { get => Handle->PlatformOnChangedViewport; set => Handle->PlatformOnChangedViewport = value; } - /// - /// To be documented. - /// - public void* PlatformGetWindowWorkAreaInsets { get => Handle->PlatformGetWindowWorkAreaInsets; set => Handle->PlatformGetWindowWorkAreaInsets = value; } - /// - /// To be documented. - /// - public void* PlatformCreateVkSurface { get => Handle->PlatformCreateVkSurface; set => Handle->PlatformCreateVkSurface = value; } - /// - /// To be documented. - /// - public void* RendererCreateWindow { get => Handle->RendererCreateWindow; set => Handle->RendererCreateWindow = value; } - /// - /// To be documented. - /// - public void* RendererDestroyWindow { get => Handle->RendererDestroyWindow; set => Handle->RendererDestroyWindow = value; } - /// - /// To be documented. - /// - public void* RendererSetWindowSize { get => Handle->RendererSetWindowSize; set => Handle->RendererSetWindowSize = value; } - /// - /// To be documented. - /// - public void* RendererRenderWindow { get => Handle->RendererRenderWindow; set => Handle->RendererRenderWindow = value; } - /// - /// To be documented. - /// - public void* RendererSwapBuffers { get => Handle->RendererSwapBuffers; set => Handle->RendererSwapBuffers = value; } - /// - /// To be documented. - /// - public ref ImVector Monitors => ref Unsafe.AsRef>(&Handle->Monitors); - /// - /// To be documented. - /// - public ref ImVector Viewports => ref Unsafe.AsRef>(&Handle->Viewports); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformImeData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformImeData.cs deleted file mode 100644 index c2e6e4d4a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformImeData.cs +++ /dev/null @@ -1,128 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// (Optional) Support for IME (Input Method Editor) via the platform_io.Platform_SetImeDataFn() function.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiPlatformImeData - { - /// - /// To be documented. - /// - public byte WantVisible; - - /// - /// To be documented. - /// - public Vector2 InputPos; - - /// - /// To be documented. - /// - public float InputLineHeight; - - - /// - /// To be documented. - /// - public unsafe ImGuiPlatformImeData(bool wantVisible = default, Vector2 inputPos = default, float inputLineHeight = default) - { - WantVisible = wantVisible ? (byte)1 : (byte)0; - InputPos = inputPos; - InputLineHeight = inputLineHeight; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiPlatformImeData* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiPlatformImeDataPtr : IEquatable - { - public ImGuiPlatformImeDataPtr(ImGuiPlatformImeData* handle) { Handle = handle; } - - public ImGuiPlatformImeData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiPlatformImeDataPtr Null => new ImGuiPlatformImeDataPtr(null); - - public ImGuiPlatformImeData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiPlatformImeDataPtr(ImGuiPlatformImeData* handle) => new ImGuiPlatformImeDataPtr(handle); - - public static implicit operator ImGuiPlatformImeData*(ImGuiPlatformImeDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeData* right) => left.Handle == right; - - public static bool operator !=(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeData* right) => left.Handle != right; - - public bool Equals(ImGuiPlatformImeDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiPlatformImeDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiPlatformImeDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref bool WantVisible => ref Unsafe.AsRef(&Handle->WantVisible); - /// - /// To be documented. - /// - public ref Vector2 InputPos => ref Unsafe.AsRef(&Handle->InputPos); - /// - /// To be documented. - /// - public ref float InputLineHeight => ref Unsafe.AsRef(&Handle->InputLineHeight); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs deleted file mode 100644 index c771f8307..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPlatformMonitor.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// (Optional) This is required when enabling multi-viewport. Represent the bounds of each connected monitordisplay and their DPI.
- /// We use this information for multiple DPI support + clamping the position of popups and tooltips so they don't straddle multiple monitors.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiPlatformMonitor - { - /// - /// To be documented. - /// - public Vector2 MainPos; - - /// - /// To be documented. - /// - public Vector2 MainSize; - - /// - /// To be documented. - /// - public Vector2 WorkPos; - - /// - /// To be documented. - /// - public Vector2 WorkSize; - - /// - /// To be documented. - /// - public float DpiScale; - - /// - /// To be documented. - /// - public unsafe void* PlatformHandle; - - - /// - /// To be documented. - /// - public unsafe ImGuiPlatformMonitor(Vector2 mainPos = default, Vector2 mainSize = default, Vector2 workPos = default, Vector2 workSize = default, float dpiScale = default, void* platformHandle = default) - { - MainPos = mainPos; - MainSize = mainSize; - WorkPos = workPos; - WorkSize = workSize; - DpiScale = dpiScale; - PlatformHandle = platformHandle; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiPlatformMonitor* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiPlatformMonitorPtr : IEquatable - { - public ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* handle) { Handle = handle; } - - public ImGuiPlatformMonitor* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiPlatformMonitorPtr Null => new ImGuiPlatformMonitorPtr(null); - - public ImGuiPlatformMonitor this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* handle) => new ImGuiPlatformMonitorPtr(handle); - - public static implicit operator ImGuiPlatformMonitor*(ImGuiPlatformMonitorPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitorPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitorPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitor* right) => left.Handle == right; - - public static bool operator !=(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitor* right) => left.Handle != right; - - public bool Equals(ImGuiPlatformMonitorPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiPlatformMonitorPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiPlatformMonitorPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector2 MainPos => ref Unsafe.AsRef(&Handle->MainPos); - /// - /// To be documented. - /// - public ref Vector2 MainSize => ref Unsafe.AsRef(&Handle->MainSize); - /// - /// To be documented. - /// - public ref Vector2 WorkPos => ref Unsafe.AsRef(&Handle->WorkPos); - /// - /// To be documented. - /// - public ref Vector2 WorkSize => ref Unsafe.AsRef(&Handle->WorkSize); - /// - /// To be documented. - /// - public ref float DpiScale => ref Unsafe.AsRef(&Handle->DpiScale); - /// - /// To be documented. - /// - public void* PlatformHandle { get => Handle->PlatformHandle; set => Handle->PlatformHandle = value; } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPopupData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPopupData.cs deleted file mode 100644 index f4fe10b31..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPopupData.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for popup stacks (g.OpenPopupStack and g.BeginPopupStack)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiPopupData - { - /// - /// To be documented. - /// - public uint PopupId; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* RestoreNavWindow; - - /// - /// To be documented. - /// - public int ParentNavLayer; - - /// - /// To be documented. - /// - public int OpenFrameCount; - - /// - /// To be documented. - /// - public uint OpenParentId; - - /// - /// To be documented. - /// - public Vector2 OpenPopupPos; - - /// - /// To be documented. - /// - public Vector2 OpenMousePos; - - - /// - /// To be documented. - /// - public unsafe ImGuiPopupData(uint popupId = default, ImGuiWindowPtr window = default, ImGuiWindowPtr restoreNavWindow = default, int parentNavLayer = default, int openFrameCount = default, uint openParentId = default, Vector2 openPopupPos = default, Vector2 openMousePos = default) - { - PopupId = popupId; - Window = window; - RestoreNavWindow = restoreNavWindow; - ParentNavLayer = parentNavLayer; - OpenFrameCount = openFrameCount; - OpenParentId = openParentId; - OpenPopupPos = openPopupPos; - OpenMousePos = openMousePos; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiPopupDataPtr : IEquatable - { - public ImGuiPopupDataPtr(ImGuiPopupData* handle) { Handle = handle; } - - public ImGuiPopupData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiPopupDataPtr Null => new ImGuiPopupDataPtr(null); - - public ImGuiPopupData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiPopupDataPtr(ImGuiPopupData* handle) => new ImGuiPopupDataPtr(handle); - - public static implicit operator ImGuiPopupData*(ImGuiPopupDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiPopupDataPtr left, ImGuiPopupDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiPopupDataPtr left, ImGuiPopupDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiPopupDataPtr left, ImGuiPopupData* right) => left.Handle == right; - - public static bool operator !=(ImGuiPopupDataPtr left, ImGuiPopupData* right) => left.Handle != right; - - public bool Equals(ImGuiPopupDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiPopupDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiPopupDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint PopupId => ref Unsafe.AsRef(&Handle->PopupId); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr RestoreNavWindow => ref Unsafe.AsRef(&Handle->RestoreNavWindow); - /// - /// To be documented. - /// - public ref int ParentNavLayer => ref Unsafe.AsRef(&Handle->ParentNavLayer); - /// - /// To be documented. - /// - public ref int OpenFrameCount => ref Unsafe.AsRef(&Handle->OpenFrameCount); - /// - /// To be documented. - /// - public ref uint OpenParentId => ref Unsafe.AsRef(&Handle->OpenParentId); - /// - /// To be documented. - /// - public ref Vector2 OpenPopupPos => ref Unsafe.AsRef(&Handle->OpenPopupPos); - /// - /// To be documented. - /// - public ref Vector2 OpenMousePos => ref Unsafe.AsRef(&Handle->OpenMousePos); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs deleted file mode 100644 index cf3f02e2d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiPtrOrIndex.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiPtrOrIndex - { - /// - /// To be documented. - /// - public unsafe void* Ptr; - - /// - /// To be documented. - /// - public int Index; - - - /// - /// To be documented. - /// - public unsafe ImGuiPtrOrIndex(void* ptr = default, int index = default) - { - Ptr = ptr; - Index = index; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiPtrOrIndexPtr : IEquatable - { - public ImGuiPtrOrIndexPtr(ImGuiPtrOrIndex* handle) { Handle = handle; } - - public ImGuiPtrOrIndex* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiPtrOrIndexPtr Null => new ImGuiPtrOrIndexPtr(null); - - public ImGuiPtrOrIndex this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiPtrOrIndexPtr(ImGuiPtrOrIndex* handle) => new ImGuiPtrOrIndexPtr(handle); - - public static implicit operator ImGuiPtrOrIndex*(ImGuiPtrOrIndexPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndexPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndexPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndex* right) => left.Handle == right; - - public static bool operator !=(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndex* right) => left.Handle != right; - - public bool Equals(ImGuiPtrOrIndexPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiPtrOrIndexPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiPtrOrIndexPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public void* Ptr { get => Handle->Ptr; set => Handle->Ptr = value; } - /// - /// To be documented. - /// - public ref int Index => ref Unsafe.AsRef(&Handle->Index); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionBasicStorage.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionBasicStorage.cs deleted file mode 100644 index 689a3819a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionBasicStorage.cs +++ /dev/null @@ -1,389 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Optional helper to store multi-selection state + apply multi-selection requests.
- /// - Used by our demos and provided as a convenience to easily implement basic multi-selection.
- /// - Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- /// Or you can check 'if (Contains(id)) ... ' for each possible object if their number is not too high to iterate.
- /// - USING THIS IS NOT MANDATORY. This is only a helper and not a required API.
- /// To store a multi-selection, in your application you could:
- /// - Use this helper as a convenience. We use our simple key->value ImGuiStorage as a std::set<ImGuiID> replacement.
- /// - Use your own external storage: e.g. std::set<MyObjectId>, std::vector<MyObjectId>, interval trees, intrusively stored selection etc.
- /// In ImGuiSelectionBasicStorage we:
- /// - always use indices in the multi-selection API (passed to SetNextItemSelectionUserData(), retrieved in ImGuiMultiSelectIO)
- /// - use the AdapterIndexToStorageId() indirection layer to abstract how persistent selection data is derived from an index.
- /// - use decently optimized logic to allow queries and insertion of very large selection sets.
- /// - do not preserve selection order.
- /// Many combinations are possible depending on how you prefer to store your items and how you prefer to store your selection.
- /// Large applications are likely to eventually want to get rid of this indirection layer and do their own thing.
- /// See https:github.comocornutimguiwikiMulti-Select for details and pseudo-code using this helper.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiSelectionBasicStorage - { - /// - /// To be documented. - /// - public int Size; - - /// - /// To be documented. - /// - public byte PreserveOrder; - - /// - /// To be documented. - /// - public unsafe void* UserData; - - /// - /// To be documented. - /// - public unsafe void* AdapterIndexToStorageId; - - /// - /// To be documented. - /// - public int SelectionOrder; - - /// - /// To be documented. - /// - public ImGuiStorage Storage; - - - /// - /// To be documented. - /// - public unsafe ImGuiSelectionBasicStorage(int size = default, bool preserveOrder = default, void* userData = default, delegate* adapterIndexToStorageId = default, int selectionOrder = default, ImGuiStorage storage = default) - { - Size = size; - PreserveOrder = preserveOrder ? (byte)1 : (byte)0; - UserData = userData; - AdapterIndexToStorageId = (void*)adapterIndexToStorageId; - SelectionOrder = selectionOrder; - Storage = storage; - } - - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public unsafe void ApplyRequests(ImGuiMultiSelectIOPtr msIo) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - ImGui.ApplyRequestsNative(@this, msIo); - } - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public unsafe void ApplyRequests(ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ImGui.ApplyRequestsNative(@this, (ImGuiMultiSelectIO*)pmsIo); - } - } - } - - /// - /// Clear selection
- ///
- public unsafe void Clear() - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// Query if an item id is in selection.
- ///
- public unsafe bool Contains(uint id) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - byte ret = ImGui.ContainsNative(@this, id); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public unsafe bool GetNextSelectedItem(void** opaqueIt, uint* outId) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - byte ret = ImGui.GetNextSelectedItemNative(@this, opaqueIt, outId); - return ret != 0; - } - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public unsafe bool GetNextSelectedItem(void** opaqueIt, ref uint outId) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - fixed (uint* poutId = &outId) - { - byte ret = ImGui.GetNextSelectedItemNative(@this, opaqueIt, (uint*)poutId); - return ret != 0; - } - } - } - - /// - /// Convert index to item id based on provided adapter.
- ///
- public unsafe uint GetStorageIdFromIndex(int idx) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - uint ret = ImGui.GetStorageIdFromIndexNative(@this, idx); - return ret; - } - } - - /// - /// Addremove an item from selection (generally done by ApplyRequests() function)
- ///
- public unsafe void SetItemSelected(uint id, bool selected) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - ImGui.SetItemSelectedNative(@this, id, selected ? (byte)1 : (byte)0); - } - } - - /// - /// Swap two selections
- ///
- public unsafe void Swap(ImGuiSelectionBasicStorage* r) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - ImGui.SwapNative(@this, r); - } - } - - /// - /// Swap two selections
- ///
- public unsafe void Swap(ref ImGuiSelectionBasicStorage r) - { - fixed (ImGuiSelectionBasicStorage* @this = &this) - { - fixed (ImGuiSelectionBasicStorage* pr = &r) - { - ImGui.SwapNative(@this, (ImGuiSelectionBasicStorage*)pr); - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiSelectionBasicStoragePtr : IEquatable - { - public ImGuiSelectionBasicStoragePtr(ImGuiSelectionBasicStorage* handle) { Handle = handle; } - - public ImGuiSelectionBasicStorage* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiSelectionBasicStoragePtr Null => new ImGuiSelectionBasicStoragePtr(null); - - public ImGuiSelectionBasicStorage this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiSelectionBasicStoragePtr(ImGuiSelectionBasicStorage* handle) => new ImGuiSelectionBasicStoragePtr(handle); - - public static implicit operator ImGuiSelectionBasicStorage*(ImGuiSelectionBasicStoragePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiSelectionBasicStoragePtr left, ImGuiSelectionBasicStoragePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiSelectionBasicStoragePtr left, ImGuiSelectionBasicStoragePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiSelectionBasicStoragePtr left, ImGuiSelectionBasicStorage* right) => left.Handle == right; - - public static bool operator !=(ImGuiSelectionBasicStoragePtr left, ImGuiSelectionBasicStorage* right) => left.Handle != right; - - public bool Equals(ImGuiSelectionBasicStoragePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiSelectionBasicStoragePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiSelectionBasicStoragePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public ref bool PreserveOrder => ref Unsafe.AsRef(&Handle->PreserveOrder); - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - /// - /// To be documented. - /// - public void* AdapterIndexToStorageId { get => Handle->AdapterIndexToStorageId; set => Handle->AdapterIndexToStorageId = value; } - /// - /// To be documented. - /// - public ref int SelectionOrder => ref Unsafe.AsRef(&Handle->SelectionOrder); - /// - /// To be documented. - /// - public ref ImGuiStorage Storage => ref Unsafe.AsRef(&Handle->Storage); - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public unsafe void ApplyRequests(ImGuiMultiSelectIOPtr msIo) - { - ImGui.ApplyRequestsNative(Handle, msIo); - } - - /// - /// Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect()
- ///
- public unsafe void ApplyRequests(ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ImGui.ApplyRequestsNative(Handle, (ImGuiMultiSelectIO*)pmsIo); - } - } - - /// - /// Clear selection
- ///
- public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// Query if an item id is in selection.
- ///
- public unsafe bool Contains(uint id) - { - byte ret = ImGui.ContainsNative(Handle, id); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public unsafe bool GetNextSelectedItem(void** opaqueIt, uint* outId) - { - byte ret = ImGui.GetNextSelectedItemNative(Handle, opaqueIt, outId); - return ret != 0; - } - - /// - /// Iterate selection with 'void* it = NULL; ImGuiID id; while (selection.GetNextSelectedItem(&it, &id)) ... '
- ///
- public unsafe bool GetNextSelectedItem(void** opaqueIt, ref uint outId) - { - fixed (uint* poutId = &outId) - { - byte ret = ImGui.GetNextSelectedItemNative(Handle, opaqueIt, (uint*)poutId); - return ret != 0; - } - } - - /// - /// Convert index to item id based on provided adapter.
- ///
- public unsafe uint GetStorageIdFromIndex(int idx) - { - uint ret = ImGui.GetStorageIdFromIndexNative(Handle, idx); - return ret; - } - - /// - /// Addremove an item from selection (generally done by ApplyRequests() function)
- ///
- public unsafe void SetItemSelected(uint id, bool selected) - { - ImGui.SetItemSelectedNative(Handle, id, selected ? (byte)1 : (byte)0); - } - - /// - /// Swap two selections
- ///
- public unsafe void Swap(ImGuiSelectionBasicStorage* r) - { - ImGui.SwapNative(Handle, r); - } - - /// - /// Swap two selections
- ///
- public unsafe void Swap(ref ImGuiSelectionBasicStorage r) - { - fixed (ImGuiSelectionBasicStorage* pr = &r) - { - ImGui.SwapNative(Handle, (ImGuiSelectionBasicStorage*)pr); - } - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionExternalStorage.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionExternalStorage.cs deleted file mode 100644 index fa8655e57..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionExternalStorage.cs +++ /dev/null @@ -1,163 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Optional helper to apply multi-selection requests to existing randomly accessible storage.
- /// Convenient if you want to quickly wire multi-select API on e.g. an array of bool or items storing their own selection state.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiSelectionExternalStorage - { - /// - /// To be documented. - /// - public unsafe void* UserData; - - /// - /// To be documented. - /// - public unsafe void* AdapterSetItemSelected; - - - /// - /// To be documented. - /// - public unsafe ImGuiSelectionExternalStorage(void* userData = default, delegate* adapterSetItemSelected = default) - { - UserData = userData; - AdapterSetItemSelected = (void*)adapterSetItemSelected; - } - - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public unsafe void ApplyRequests(ImGuiMultiSelectIOPtr msIo) - { - fixed (ImGuiSelectionExternalStorage* @this = &this) - { - ImGui.ApplyRequestsNative(@this, msIo); - } - } - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public unsafe void ApplyRequests(ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiSelectionExternalStorage* @this = &this) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ImGui.ApplyRequestsNative(@this, (ImGuiMultiSelectIO*)pmsIo); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiSelectionExternalStorage* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiSelectionExternalStoragePtr : IEquatable - { - public ImGuiSelectionExternalStoragePtr(ImGuiSelectionExternalStorage* handle) { Handle = handle; } - - public ImGuiSelectionExternalStorage* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiSelectionExternalStoragePtr Null => new ImGuiSelectionExternalStoragePtr(null); - - public ImGuiSelectionExternalStorage this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiSelectionExternalStoragePtr(ImGuiSelectionExternalStorage* handle) => new ImGuiSelectionExternalStoragePtr(handle); - - public static implicit operator ImGuiSelectionExternalStorage*(ImGuiSelectionExternalStoragePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiSelectionExternalStoragePtr left, ImGuiSelectionExternalStoragePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiSelectionExternalStoragePtr left, ImGuiSelectionExternalStoragePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiSelectionExternalStoragePtr left, ImGuiSelectionExternalStorage* right) => left.Handle == right; - - public static bool operator !=(ImGuiSelectionExternalStoragePtr left, ImGuiSelectionExternalStorage* right) => left.Handle != right; - - public bool Equals(ImGuiSelectionExternalStoragePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiSelectionExternalStoragePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiSelectionExternalStoragePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - /// - /// To be documented. - /// - public void* AdapterSetItemSelected { get => Handle->AdapterSetItemSelected; set => Handle->AdapterSetItemSelected = value; } - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public unsafe void ApplyRequests(ImGuiMultiSelectIOPtr msIo) - { - ImGui.ApplyRequestsNative(Handle, msIo); - } - - /// - /// Apply selection requests by using AdapterSetItemSelected() calls
- ///
- public unsafe void ApplyRequests(ref ImGuiMultiSelectIO msIo) - { - fixed (ImGuiMultiSelectIO* pmsIo = &msIo) - { - ImGui.ApplyRequestsNative(Handle, (ImGuiMultiSelectIO*)pmsIo); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionRequest.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionRequest.cs deleted file mode 100644 index bc8afd9b5..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSelectionRequest.cs +++ /dev/null @@ -1,129 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Selection request item
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiSelectionRequest - { - /// - /// To be documented. - /// - public ImGuiSelectionRequestType Type; - - /// - /// To be documented. - /// - public byte Selected; - - /// - /// To be documented. - /// - public byte RangeDirection; - - /// - /// To be documented. - /// - public long RangeFirstItem; - - /// - /// To be documented. - /// - public long RangeLastItem; - - - /// - /// To be documented. - /// - public unsafe ImGuiSelectionRequest(ImGuiSelectionRequestType type = default, bool selected = default, byte rangeDirection = default, long rangeFirstItem = default, long rangeLastItem = default) - { - Type = type; - Selected = selected ? (byte)1 : (byte)0; - RangeDirection = rangeDirection; - RangeFirstItem = rangeFirstItem; - RangeLastItem = rangeLastItem; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiSelectionRequestPtr : IEquatable - { - public ImGuiSelectionRequestPtr(ImGuiSelectionRequest* handle) { Handle = handle; } - - public ImGuiSelectionRequest* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiSelectionRequestPtr Null => new ImGuiSelectionRequestPtr(null); - - public ImGuiSelectionRequest this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiSelectionRequestPtr(ImGuiSelectionRequest* handle) => new ImGuiSelectionRequestPtr(handle); - - public static implicit operator ImGuiSelectionRequest*(ImGuiSelectionRequestPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiSelectionRequestPtr left, ImGuiSelectionRequestPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiSelectionRequestPtr left, ImGuiSelectionRequestPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiSelectionRequestPtr left, ImGuiSelectionRequest* right) => left.Handle == right; - - public static bool operator !=(ImGuiSelectionRequestPtr left, ImGuiSelectionRequest* right) => left.Handle != right; - - public bool Equals(ImGuiSelectionRequestPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiSelectionRequestPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiSelectionRequestPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiSelectionRequestType Type => ref Unsafe.AsRef(&Handle->Type); - /// - /// To be documented. - /// - public ref bool Selected => ref Unsafe.AsRef(&Handle->Selected); - /// - /// To be documented. - /// - public ref byte RangeDirection => ref Unsafe.AsRef(&Handle->RangeDirection); - /// - /// To be documented. - /// - public ref long RangeFirstItem => ref Unsafe.AsRef(&Handle->RangeFirstItem); - /// - /// To be documented. - /// - public ref long RangeLastItem => ref Unsafe.AsRef(&Handle->RangeLastItem); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSettingsHandler.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSettingsHandler.cs deleted file mode 100644 index 37794c121..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSettingsHandler.cs +++ /dev/null @@ -1,169 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiSettingsHandler - { - /// - /// To be documented. - /// - public unsafe byte* TypeName; - - /// - /// To be documented. - /// - public uint TypeHash; - - /// - /// To be documented. - /// - public unsafe void* ClearAllFn; - - /// - /// To be documented. - /// - public unsafe void* ReadInitFn; - - /// - /// To be documented. - /// - public unsafe void* ReadOpenFn; - - /// - /// To be documented. - /// - public unsafe void* ReadLineFn; - - /// - /// To be documented. - /// - public unsafe void* ApplyAllFn; - - /// - /// To be documented. - /// - public unsafe void* WriteAllFn; - - /// - /// To be documented. - /// - public unsafe void* UserData; - - - /// - /// To be documented. - /// - public unsafe ImGuiSettingsHandler(byte* typeName = default, uint typeHash = default, delegate* clearAllFn = default, delegate* readInitFn = default, delegate* readOpenFn = default, delegate* readLineFn = default, delegate* applyAllFn = default, delegate* writeAllFn = default, void* userData = default) - { - TypeName = typeName; - TypeHash = typeHash; - ClearAllFn = (void*)clearAllFn; - ReadInitFn = (void*)readInitFn; - ReadOpenFn = (void*)readOpenFn; - ReadLineFn = (void*)readLineFn; - ApplyAllFn = (void*)applyAllFn; - WriteAllFn = (void*)writeAllFn; - UserData = userData; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiSettingsHandlerPtr : IEquatable - { - public ImGuiSettingsHandlerPtr(ImGuiSettingsHandler* handle) { Handle = handle; } - - public ImGuiSettingsHandler* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiSettingsHandlerPtr Null => new ImGuiSettingsHandlerPtr(null); - - public ImGuiSettingsHandler this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiSettingsHandlerPtr(ImGuiSettingsHandler* handle) => new ImGuiSettingsHandlerPtr(handle); - - public static implicit operator ImGuiSettingsHandler*(ImGuiSettingsHandlerPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandlerPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandlerPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandler* right) => left.Handle == right; - - public static bool operator !=(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandler* right) => left.Handle != right; - - public bool Equals(ImGuiSettingsHandlerPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiSettingsHandlerPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiSettingsHandlerPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public byte* TypeName { get => Handle->TypeName; set => Handle->TypeName = value; } - /// - /// To be documented. - /// - public ref uint TypeHash => ref Unsafe.AsRef(&Handle->TypeHash); - /// - /// To be documented. - /// - public void* ClearAllFn { get => Handle->ClearAllFn; set => Handle->ClearAllFn = value; } - /// - /// To be documented. - /// - public void* ReadInitFn { get => Handle->ReadInitFn; set => Handle->ReadInitFn = value; } - /// - /// To be documented. - /// - public void* ReadOpenFn { get => Handle->ReadOpenFn; set => Handle->ReadOpenFn = value; } - /// - /// To be documented. - /// - public void* ReadLineFn { get => Handle->ReadLineFn; set => Handle->ReadLineFn = value; } - /// - /// To be documented. - /// - public void* ApplyAllFn { get => Handle->ApplyAllFn; set => Handle->ApplyAllFn = value; } - /// - /// To be documented. - /// - public void* WriteAllFn { get => Handle->WriteAllFn; set => Handle->WriteAllFn = value; } - /// - /// To be documented. - /// - public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs deleted file mode 100644 index b6f6bc7dc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiShrinkWidthItem.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiShrinkWidthItem - { - /// - /// To be documented. - /// - public int Index; - - /// - /// To be documented. - /// - public float Width; - - /// - /// To be documented. - /// - public float InitialWidth; - - - /// - /// To be documented. - /// - public unsafe ImGuiShrinkWidthItem(int index = default, float width = default, float initialWidth = default) - { - Index = index; - Width = width; - InitialWidth = initialWidth; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiShrinkWidthItemPtr : IEquatable - { - public ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* handle) { Handle = handle; } - - public ImGuiShrinkWidthItem* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiShrinkWidthItemPtr Null => new ImGuiShrinkWidthItemPtr(null); - - public ImGuiShrinkWidthItem this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* handle) => new ImGuiShrinkWidthItemPtr(handle); - - public static implicit operator ImGuiShrinkWidthItem*(ImGuiShrinkWidthItemPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItemPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItemPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItem* right) => left.Handle == right; - - public static bool operator !=(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItem* right) => left.Handle != right; - - public bool Equals(ImGuiShrinkWidthItemPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiShrinkWidthItemPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiShrinkWidthItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int Index => ref Unsafe.AsRef(&Handle->Index); - /// - /// To be documented. - /// - public ref float Width => ref Unsafe.AsRef(&Handle->Width); - /// - /// To be documented. - /// - public ref float InitialWidth => ref Unsafe.AsRef(&Handle->InitialWidth); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs deleted file mode 100644 index 2a12f980e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiSizeCallbackData.cs +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().
- /// NB: For basic minmax size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiSizeCallbackData - { - /// - /// To be documented. - /// - public unsafe void* UserData; - - /// - /// To be documented. - /// - public Vector2 Pos; - - /// - /// To be documented. - /// - public Vector2 CurrentSize; - - /// - /// To be documented. - /// - public Vector2 DesiredSize; - - - /// - /// To be documented. - /// - public unsafe ImGuiSizeCallbackData(void* userData = default, Vector2 pos = default, Vector2 currentSize = default, Vector2 desiredSize = default) - { - UserData = userData; - Pos = pos; - CurrentSize = currentSize; - DesiredSize = desiredSize; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs deleted file mode 100644 index 5ded050ac..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStackLevelInfo.cs +++ /dev/null @@ -1,322 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiStackLevelInfo - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public byte QueryFrameCount; - - /// - /// To be documented. - /// - public byte QuerySuccess; - - /// - /// To be documented. - /// - public ImGuiDataType DataType; - - /// - /// To be documented. - /// - public byte Desc_0; - public byte Desc_1; - public byte Desc_2; - public byte Desc_3; - public byte Desc_4; - public byte Desc_5; - public byte Desc_6; - public byte Desc_7; - public byte Desc_8; - public byte Desc_9; - public byte Desc_10; - public byte Desc_11; - public byte Desc_12; - public byte Desc_13; - public byte Desc_14; - public byte Desc_15; - public byte Desc_16; - public byte Desc_17; - public byte Desc_18; - public byte Desc_19; - public byte Desc_20; - public byte Desc_21; - public byte Desc_22; - public byte Desc_23; - public byte Desc_24; - public byte Desc_25; - public byte Desc_26; - public byte Desc_27; - public byte Desc_28; - public byte Desc_29; - public byte Desc_30; - public byte Desc_31; - public byte Desc_32; - public byte Desc_33; - public byte Desc_34; - public byte Desc_35; - public byte Desc_36; - public byte Desc_37; - public byte Desc_38; - public byte Desc_39; - public byte Desc_40; - public byte Desc_41; - public byte Desc_42; - public byte Desc_43; - public byte Desc_44; - public byte Desc_45; - public byte Desc_46; - public byte Desc_47; - public byte Desc_48; - public byte Desc_49; - public byte Desc_50; - public byte Desc_51; - public byte Desc_52; - public byte Desc_53; - public byte Desc_54; - public byte Desc_55; - public byte Desc_56; - - - /// - /// To be documented. - /// - public unsafe ImGuiStackLevelInfo(uint id = default, byte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, byte* desc = default) - { - ID = id; - QueryFrameCount = queryFrameCount; - QuerySuccess = querySuccess ? (byte)1 : (byte)0; - DataType = dataType; - if (desc != default(byte*)) - { - Desc_0 = desc[0]; - Desc_1 = desc[1]; - Desc_2 = desc[2]; - Desc_3 = desc[3]; - Desc_4 = desc[4]; - Desc_5 = desc[5]; - Desc_6 = desc[6]; - Desc_7 = desc[7]; - Desc_8 = desc[8]; - Desc_9 = desc[9]; - Desc_10 = desc[10]; - Desc_11 = desc[11]; - Desc_12 = desc[12]; - Desc_13 = desc[13]; - Desc_14 = desc[14]; - Desc_15 = desc[15]; - Desc_16 = desc[16]; - Desc_17 = desc[17]; - Desc_18 = desc[18]; - Desc_19 = desc[19]; - Desc_20 = desc[20]; - Desc_21 = desc[21]; - Desc_22 = desc[22]; - Desc_23 = desc[23]; - Desc_24 = desc[24]; - Desc_25 = desc[25]; - Desc_26 = desc[26]; - Desc_27 = desc[27]; - Desc_28 = desc[28]; - Desc_29 = desc[29]; - Desc_30 = desc[30]; - Desc_31 = desc[31]; - Desc_32 = desc[32]; - Desc_33 = desc[33]; - Desc_34 = desc[34]; - Desc_35 = desc[35]; - Desc_36 = desc[36]; - Desc_37 = desc[37]; - Desc_38 = desc[38]; - Desc_39 = desc[39]; - Desc_40 = desc[40]; - Desc_41 = desc[41]; - Desc_42 = desc[42]; - Desc_43 = desc[43]; - Desc_44 = desc[44]; - Desc_45 = desc[45]; - Desc_46 = desc[46]; - Desc_47 = desc[47]; - Desc_48 = desc[48]; - Desc_49 = desc[49]; - Desc_50 = desc[50]; - Desc_51 = desc[51]; - Desc_52 = desc[52]; - Desc_53 = desc[53]; - Desc_54 = desc[54]; - Desc_55 = desc[55]; - Desc_56 = desc[56]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiStackLevelInfo(uint id = default, byte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, Span desc = default) - { - ID = id; - QueryFrameCount = queryFrameCount; - QuerySuccess = querySuccess ? (byte)1 : (byte)0; - DataType = dataType; - if (desc != default(Span)) - { - Desc_0 = desc[0]; - Desc_1 = desc[1]; - Desc_2 = desc[2]; - Desc_3 = desc[3]; - Desc_4 = desc[4]; - Desc_5 = desc[5]; - Desc_6 = desc[6]; - Desc_7 = desc[7]; - Desc_8 = desc[8]; - Desc_9 = desc[9]; - Desc_10 = desc[10]; - Desc_11 = desc[11]; - Desc_12 = desc[12]; - Desc_13 = desc[13]; - Desc_14 = desc[14]; - Desc_15 = desc[15]; - Desc_16 = desc[16]; - Desc_17 = desc[17]; - Desc_18 = desc[18]; - Desc_19 = desc[19]; - Desc_20 = desc[20]; - Desc_21 = desc[21]; - Desc_22 = desc[22]; - Desc_23 = desc[23]; - Desc_24 = desc[24]; - Desc_25 = desc[25]; - Desc_26 = desc[26]; - Desc_27 = desc[27]; - Desc_28 = desc[28]; - Desc_29 = desc[29]; - Desc_30 = desc[30]; - Desc_31 = desc[31]; - Desc_32 = desc[32]; - Desc_33 = desc[33]; - Desc_34 = desc[34]; - Desc_35 = desc[35]; - Desc_36 = desc[36]; - Desc_37 = desc[37]; - Desc_38 = desc[38]; - Desc_39 = desc[39]; - Desc_40 = desc[40]; - Desc_41 = desc[41]; - Desc_42 = desc[42]; - Desc_43 = desc[43]; - Desc_44 = desc[44]; - Desc_45 = desc[45]; - Desc_46 = desc[46]; - Desc_47 = desc[47]; - Desc_48 = desc[48]; - Desc_49 = desc[49]; - Desc_50 = desc[50]; - Desc_51 = desc[51]; - Desc_52 = desc[52]; - Desc_53 = desc[53]; - Desc_54 = desc[54]; - Desc_55 = desc[55]; - Desc_56 = desc[56]; - } - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiStackLevelInfoPtr : IEquatable - { - public ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* handle) { Handle = handle; } - - public ImGuiStackLevelInfo* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiStackLevelInfoPtr Null => new ImGuiStackLevelInfoPtr(null); - - public ImGuiStackLevelInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* handle) => new ImGuiStackLevelInfoPtr(handle); - - public static implicit operator ImGuiStackLevelInfo*(ImGuiStackLevelInfoPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfoPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfoPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfo* right) => left.Handle == right; - - public static bool operator !=(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfo* right) => left.Handle != right; - - public bool Equals(ImGuiStackLevelInfoPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiStackLevelInfoPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiStackLevelInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref byte QueryFrameCount => ref Unsafe.AsRef(&Handle->QueryFrameCount); - /// - /// To be documented. - /// - public ref bool QuerySuccess => ref Unsafe.AsRef(&Handle->QuerySuccess); - /// - /// To be documented. - /// - public ref ImGuiDataType DataType => ref Unsafe.AsRef(&Handle->DataType); - /// - /// To be documented. - /// - public unsafe Span Desc - - { - get - { - return new Span(&Handle->Desc_0, 57); - } - } - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStorage.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStorage.cs deleted file mode 100644 index d6914873a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStorage.cs +++ /dev/null @@ -1,544 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: Key->Value storage
- /// Typically you don't have to worry about this since a storage is held within each Window.
- /// We use it to e.g. store collapse state for a tree (Int 01)
- /// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame)
- /// You can use it as custom user storage for temporary values. Declare your own storage if, for example:
- /// - You want to manipulate the openclose state of a particular sub-tree in your interface (tree node uses Int 01 to store their state).
- /// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient)
- /// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiStorage - { - /// - /// To be documented. - /// - public ImVector Data; - - - /// - /// To be documented. - /// - public unsafe ImGuiStorage(ImVector data = default) - { - Data = data; - } - - - /// - /// To be documented. - /// - public unsafe void BuildSortByKey() - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.BuildSortByKeyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool GetBool(uint key, bool defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - byte ret = ImGui.GetBoolNative(@this, key, defaultVal ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool GetBool(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - byte ret = ImGui.GetBoolNative(@this, key, (byte)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool* GetBoolRef(uint key, bool defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - bool* ret = ImGui.GetBoolRefNative(@this, key, defaultVal ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe bool* GetBoolRef(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - bool* ret = ImGui.GetBoolRefNative(@this, key, (byte)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe float GetFloat(uint key, float defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - float ret = ImGui.GetFloatNative(@this, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe float GetFloat(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - float ret = ImGui.GetFloatNative(@this, key, (float)(0.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe float* GetFloatRef(uint key, float defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - float* ret = ImGui.GetFloatRefNative(@this, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe float* GetFloatRef(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - float* ret = ImGui.GetFloatRefNative(@this, key, (float)(0.0f)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetInt(uint key, int defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - int ret = ImGui.GetIntNative(@this, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetInt(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - int ret = ImGui.GetIntNative(@this, key, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int* GetIntRef(uint key, int defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - int* ret = ImGui.GetIntRefNative(@this, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int* GetIntRef(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - int* ret = ImGui.GetIntRefNative(@this, key, (int)(0)); - return ret; - } - } - - /// - /// default_val is NULL
- ///
- public unsafe void* GetVoidPtr(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - void* ret = ImGui.GetVoidPtrNative(@this, key); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void** GetVoidPtrRef(uint key, void* defaultVal) - { - fixed (ImGuiStorage* @this = &this) - { - void** ret = ImGui.GetVoidPtrRefNative(@this, key, defaultVal); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void** GetVoidPtrRef(uint key) - { - fixed (ImGuiStorage* @this = &this) - { - void** ret = ImGui.GetVoidPtrRefNative(@this, key, (void*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void SetAllInt(int val) - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.SetAllIntNative(@this, val); - } - } - - /// - /// To be documented. - /// - public unsafe void SetBool(uint key, bool val) - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.SetBoolNative(@this, key, val ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public unsafe void SetFloat(uint key, float val) - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.SetFloatNative(@this, key, val); - } - } - - /// - /// To be documented. - /// - public unsafe void SetInt(uint key, int val) - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.SetIntNative(@this, key, val); - } - } - - /// - /// To be documented. - /// - public unsafe void SetVoidPtr(uint key, void* val) - { - fixed (ImGuiStorage* @this = &this) - { - ImGui.SetVoidPtrNative(@this, key, val); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiStoragePtr : IEquatable - { - public ImGuiStoragePtr(ImGuiStorage* handle) { Handle = handle; } - - public ImGuiStorage* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiStoragePtr Null => new ImGuiStoragePtr(null); - - public ImGuiStorage this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiStoragePtr(ImGuiStorage* handle) => new ImGuiStoragePtr(handle); - - public static implicit operator ImGuiStorage*(ImGuiStoragePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiStoragePtr left, ImGuiStoragePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiStoragePtr left, ImGuiStoragePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiStoragePtr left, ImGuiStorage* right) => left.Handle == right; - - public static bool operator !=(ImGuiStoragePtr left, ImGuiStorage* right) => left.Handle != right; - - public bool Equals(ImGuiStoragePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiStoragePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiStoragePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Data => ref Unsafe.AsRef>(&Handle->Data); - /// - /// To be documented. - /// - public unsafe void BuildSortByKey() - { - ImGui.BuildSortByKeyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool GetBool(uint key, bool defaultVal) - { - byte ret = ImGui.GetBoolNative(Handle, key, defaultVal ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool GetBool(uint key) - { - byte ret = ImGui.GetBoolNative(Handle, key, (byte)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool* GetBoolRef(uint key, bool defaultVal) - { - bool* ret = ImGui.GetBoolRefNative(Handle, key, defaultVal ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public unsafe bool* GetBoolRef(uint key) - { - bool* ret = ImGui.GetBoolRefNative(Handle, key, (byte)(0)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe float GetFloat(uint key, float defaultVal) - { - float ret = ImGui.GetFloatNative(Handle, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public unsafe float GetFloat(uint key) - { - float ret = ImGui.GetFloatNative(Handle, key, (float)(0.0f)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe float* GetFloatRef(uint key, float defaultVal) - { - float* ret = ImGui.GetFloatRefNative(Handle, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public unsafe float* GetFloatRef(uint key) - { - float* ret = ImGui.GetFloatRefNative(Handle, key, (float)(0.0f)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetInt(uint key, int defaultVal) - { - int ret = ImGui.GetIntNative(Handle, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetInt(uint key) - { - int ret = ImGui.GetIntNative(Handle, key, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int* GetIntRef(uint key, int defaultVal) - { - int* ret = ImGui.GetIntRefNative(Handle, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int* GetIntRef(uint key) - { - int* ret = ImGui.GetIntRefNative(Handle, key, (int)(0)); - return ret; - } - - /// - /// default_val is NULL
- ///
- public unsafe void* GetVoidPtr(uint key) - { - void* ret = ImGui.GetVoidPtrNative(Handle, key); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void** GetVoidPtrRef(uint key, void* defaultVal) - { - void** ret = ImGui.GetVoidPtrRefNative(Handle, key, defaultVal); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void** GetVoidPtrRef(uint key) - { - void** ret = ImGui.GetVoidPtrRefNative(Handle, key, (void*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void SetAllInt(int val) - { - ImGui.SetAllIntNative(Handle, val); - } - - /// - /// To be documented. - /// - public unsafe void SetBool(uint key, bool val) - { - ImGui.SetBoolNative(Handle, key, val ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public unsafe void SetFloat(uint key, float val) - { - ImGui.SetFloatNative(Handle, key, val); - } - - /// - /// To be documented. - /// - public unsafe void SetInt(uint key, int val) - { - ImGui.SetIntNative(Handle, key, val); - } - - /// - /// To be documented. - /// - public unsafe void SetVoidPtr(uint key, void* val) - { - ImGui.SetVoidPtrNative(Handle, key, val); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStoragePair.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStoragePair.cs deleted file mode 100644 index bced3c009..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStoragePair.cs +++ /dev/null @@ -1,156 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [Internal] Key+Value for ImGuiStorage
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiStoragePair - { - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Explicit)] - public partial struct ImGuiStoragePairUnion - { - /// - /// To be documented. - /// - [FieldOffset(0)] - public int ValI; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public float ValF; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public unsafe void* ValP; - - - /// - /// To be documented. - /// - public unsafe ImGuiStoragePairUnion(int valI = default, float valF = default, void* valP = default) - { - ValI = valI; - ValF = valF; - ValP = valP; - } - - - } - - /// - /// To be documented. - /// - public uint Key; - - /// - /// To be documented. - /// - public ImGuiStoragePairUnion Union; - - - /// - /// To be documented. - /// - public unsafe ImGuiStoragePair(uint key = default, ImGuiStoragePairUnion union = default) - { - Key = key; - Union = union; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiStoragePair* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiStoragePairPtr : IEquatable - { - public ImGuiStoragePairPtr(ImGuiStoragePair* handle) { Handle = handle; } - - public ImGuiStoragePair* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiStoragePairPtr Null => new ImGuiStoragePairPtr(null); - - public ImGuiStoragePair this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiStoragePairPtr(ImGuiStoragePair* handle) => new ImGuiStoragePairPtr(handle); - - public static implicit operator ImGuiStoragePair*(ImGuiStoragePairPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiStoragePairPtr left, ImGuiStoragePairPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiStoragePairPtr left, ImGuiStoragePairPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiStoragePairPtr left, ImGuiStoragePair* right) => left.Handle == right; - - public static bool operator !=(ImGuiStoragePairPtr left, ImGuiStoragePair* right) => left.Handle != right; - - public bool Equals(ImGuiStoragePairPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiStoragePairPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiStoragePairPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint Key => ref Unsafe.AsRef(&Handle->Key); - /// - /// To be documented. - /// - public ref ImGuiStoragePair.ImGuiStoragePairUnion Union => ref Unsafe.AsRef(&Handle->Union); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyle.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyle.cs deleted file mode 100644 index f17c37523..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyle.cs +++ /dev/null @@ -1,949 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiStyle - { - /// - /// To be documented. - /// - public float Alpha; - - /// - /// To be documented. - /// - public float DisabledAlpha; - - /// - /// To be documented. - /// - public Vector2 WindowPadding; - - /// - /// To be documented. - /// - public float WindowRounding; - - /// - /// To be documented. - /// - public float WindowBorderSize; - - /// - /// To be documented. - /// - public float WindowBorderHoverPadding; - - /// - /// To be documented. - /// - public Vector2 WindowMinSize; - - /// - /// To be documented. - /// - public Vector2 WindowTitleAlign; - - /// - /// To be documented. - /// - public ImGuiDir WindowMenuButtonPosition; - - /// - /// To be documented. - /// - public float ChildRounding; - - /// - /// To be documented. - /// - public float ChildBorderSize; - - /// - /// To be documented. - /// - public float PopupRounding; - - /// - /// To be documented. - /// - public float PopupBorderSize; - - /// - /// To be documented. - /// - public Vector2 FramePadding; - - /// - /// To be documented. - /// - public float FrameRounding; - - /// - /// To be documented. - /// - public float FrameBorderSize; - - /// - /// To be documented. - /// - public Vector2 ItemSpacing; - - /// - /// To be documented. - /// - public Vector2 ItemInnerSpacing; - - /// - /// To be documented. - /// - public Vector2 CellPadding; - - /// - /// To be documented. - /// - public Vector2 TouchExtraPadding; - - /// - /// To be documented. - /// - public float IndentSpacing; - - /// - /// To be documented. - /// - public float ColumnsMinSpacing; - - /// - /// To be documented. - /// - public float ScrollbarSize; - - /// - /// To be documented. - /// - public float ScrollbarRounding; - - /// - /// To be documented. - /// - public float GrabMinSize; - - /// - /// To be documented. - /// - public float GrabRounding; - - /// - /// To be documented. - /// - public float LogSliderDeadzone; - - /// - /// To be documented. - /// - public float ImageBorderSize; - - /// - /// To be documented. - /// - public float TabRounding; - - /// - /// To be documented. - /// - public float TabBorderSize; - - /// - /// To be documented. - /// - public float TabCloseButtonMinWidthSelected; - - /// - /// To be documented. - /// - public float TabCloseButtonMinWidthUnselected; - - /// - /// To be documented. - /// - public float TabBarBorderSize; - - /// - /// To be documented. - /// - public float TabBarOverlineSize; - - /// - /// To be documented. - /// - public float TableAngledHeadersAngle; - - /// - /// To be documented. - /// - public Vector2 TableAngledHeadersTextAlign; - - /// - /// To be documented. - /// - public ImGuiDir ColorButtonPosition; - - /// - /// To be documented. - /// - public Vector2 ButtonTextAlign; - - /// - /// To be documented. - /// - public Vector2 SelectableTextAlign; - - /// - /// To be documented. - /// - public float SeparatorTextBorderSize; - - /// - /// To be documented. - /// - public Vector2 SeparatorTextAlign; - - /// - /// To be documented. - /// - public Vector2 SeparatorTextPadding; - - /// - /// To be documented. - /// - public Vector2 DisplayWindowPadding; - - /// - /// To be documented. - /// - public Vector2 DisplaySafeAreaPadding; - - /// - /// To be documented. - /// - public float DockingSeparatorSize; - - /// - /// To be documented. - /// - public float MouseCursorScale; - - /// - /// To be documented. - /// - public byte AntiAliasedLines; - - /// - /// To be documented. - /// - public byte AntiAliasedLinesUseTex; - - /// - /// To be documented. - /// - public byte AntiAliasedFill; - - /// - /// To be documented. - /// - public float CurveTessellationTol; - - /// - /// To be documented. - /// - public float CircleTessellationMaxError; - - /// - /// To be documented. - /// - public Vector4 Colors_0; - public Vector4 Colors_1; - public Vector4 Colors_2; - public Vector4 Colors_3; - public Vector4 Colors_4; - public Vector4 Colors_5; - public Vector4 Colors_6; - public Vector4 Colors_7; - public Vector4 Colors_8; - public Vector4 Colors_9; - public Vector4 Colors_10; - public Vector4 Colors_11; - public Vector4 Colors_12; - public Vector4 Colors_13; - public Vector4 Colors_14; - public Vector4 Colors_15; - public Vector4 Colors_16; - public Vector4 Colors_17; - public Vector4 Colors_18; - public Vector4 Colors_19; - public Vector4 Colors_20; - public Vector4 Colors_21; - public Vector4 Colors_22; - public Vector4 Colors_23; - public Vector4 Colors_24; - public Vector4 Colors_25; - public Vector4 Colors_26; - public Vector4 Colors_27; - public Vector4 Colors_28; - public Vector4 Colors_29; - public Vector4 Colors_30; - public Vector4 Colors_31; - public Vector4 Colors_32; - public Vector4 Colors_33; - public Vector4 Colors_34; - public Vector4 Colors_35; - public Vector4 Colors_36; - public Vector4 Colors_37; - public Vector4 Colors_38; - public Vector4 Colors_39; - public Vector4 Colors_40; - public Vector4 Colors_41; - public Vector4 Colors_42; - public Vector4 Colors_43; - public Vector4 Colors_44; - public Vector4 Colors_45; - public Vector4 Colors_46; - public Vector4 Colors_47; - public Vector4 Colors_48; - public Vector4 Colors_49; - public Vector4 Colors_50; - public Vector4 Colors_51; - public Vector4 Colors_52; - public Vector4 Colors_53; - public Vector4 Colors_54; - public Vector4 Colors_55; - public Vector4 Colors_56; - public Vector4 Colors_57; - - /// - /// To be documented. - /// - public float HoverStationaryDelay; - - /// - /// To be documented. - /// - public float HoverDelayShort; - - /// - /// To be documented. - /// - public float HoverDelayNormal; - - /// - /// To be documented. - /// - public ImGuiHoveredFlags HoverFlagsForTooltipMouse; - - /// - /// To be documented. - /// - public ImGuiHoveredFlags HoverFlagsForTooltipNav; - - - /// - /// To be documented. - /// - public unsafe ImGuiStyle(float alpha = default, float disabledAlpha = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, float windowBorderHoverPadding = default, Vector2 windowMinSize = default, Vector2 windowTitleAlign = default, ImGuiDir windowMenuButtonPosition = default, float childRounding = default, float childBorderSize = default, float popupRounding = default, float popupBorderSize = default, Vector2 framePadding = default, float frameRounding = default, float frameBorderSize = default, Vector2 itemSpacing = default, Vector2 itemInnerSpacing = default, Vector2 cellPadding = default, Vector2 touchExtraPadding = default, float indentSpacing = default, float columnsMinSpacing = default, float scrollbarSize = default, float scrollbarRounding = default, float grabMinSize = default, float grabRounding = default, float logSliderDeadzone = default, float imageBorderSize = default, float tabRounding = default, float tabBorderSize = default, float tabCloseButtonMinWidthSelected = default, float tabCloseButtonMinWidthUnselected = default, float tabBarBorderSize = default, float tabBarOverlineSize = default, float tableAngledHeadersAngle = default, Vector2 tableAngledHeadersTextAlign = default, ImGuiDir colorButtonPosition = default, Vector2 buttonTextAlign = default, Vector2 selectableTextAlign = default, float separatorTextBorderSize = default, Vector2 separatorTextAlign = default, Vector2 separatorTextPadding = default, Vector2 displayWindowPadding = default, Vector2 displaySafeAreaPadding = default, float dockingSeparatorSize = default, float mouseCursorScale = default, bool antiAliasedLines = default, bool antiAliasedLinesUseTex = default, bool antiAliasedFill = default, float curveTessellationTol = default, float circleTessellationMaxError = default, Vector4* colors = default, float hoverStationaryDelay = default, float hoverDelayShort = default, float hoverDelayNormal = default, ImGuiHoveredFlags hoverFlagsForTooltipMouse = default, ImGuiHoveredFlags hoverFlagsForTooltipNav = default) - { - Alpha = alpha; - DisabledAlpha = disabledAlpha; - WindowPadding = windowPadding; - WindowRounding = windowRounding; - WindowBorderSize = windowBorderSize; - WindowBorderHoverPadding = windowBorderHoverPadding; - WindowMinSize = windowMinSize; - WindowTitleAlign = windowTitleAlign; - WindowMenuButtonPosition = windowMenuButtonPosition; - ChildRounding = childRounding; - ChildBorderSize = childBorderSize; - PopupRounding = popupRounding; - PopupBorderSize = popupBorderSize; - FramePadding = framePadding; - FrameRounding = frameRounding; - FrameBorderSize = frameBorderSize; - ItemSpacing = itemSpacing; - ItemInnerSpacing = itemInnerSpacing; - CellPadding = cellPadding; - TouchExtraPadding = touchExtraPadding; - IndentSpacing = indentSpacing; - ColumnsMinSpacing = columnsMinSpacing; - ScrollbarSize = scrollbarSize; - ScrollbarRounding = scrollbarRounding; - GrabMinSize = grabMinSize; - GrabRounding = grabRounding; - LogSliderDeadzone = logSliderDeadzone; - ImageBorderSize = imageBorderSize; - TabRounding = tabRounding; - TabBorderSize = tabBorderSize; - TabCloseButtonMinWidthSelected = tabCloseButtonMinWidthSelected; - TabCloseButtonMinWidthUnselected = tabCloseButtonMinWidthUnselected; - TabBarBorderSize = tabBarBorderSize; - TabBarOverlineSize = tabBarOverlineSize; - TableAngledHeadersAngle = tableAngledHeadersAngle; - TableAngledHeadersTextAlign = tableAngledHeadersTextAlign; - ColorButtonPosition = colorButtonPosition; - ButtonTextAlign = buttonTextAlign; - SelectableTextAlign = selectableTextAlign; - SeparatorTextBorderSize = separatorTextBorderSize; - SeparatorTextAlign = separatorTextAlign; - SeparatorTextPadding = separatorTextPadding; - DisplayWindowPadding = displayWindowPadding; - DisplaySafeAreaPadding = displaySafeAreaPadding; - DockingSeparatorSize = dockingSeparatorSize; - MouseCursorScale = mouseCursorScale; - AntiAliasedLines = antiAliasedLines ? (byte)1 : (byte)0; - AntiAliasedLinesUseTex = antiAliasedLinesUseTex ? (byte)1 : (byte)0; - AntiAliasedFill = antiAliasedFill ? (byte)1 : (byte)0; - CurveTessellationTol = curveTessellationTol; - CircleTessellationMaxError = circleTessellationMaxError; - if (colors != default(Vector4*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - Colors_19 = colors[19]; - Colors_20 = colors[20]; - Colors_21 = colors[21]; - Colors_22 = colors[22]; - Colors_23 = colors[23]; - Colors_24 = colors[24]; - Colors_25 = colors[25]; - Colors_26 = colors[26]; - Colors_27 = colors[27]; - Colors_28 = colors[28]; - Colors_29 = colors[29]; - Colors_30 = colors[30]; - Colors_31 = colors[31]; - Colors_32 = colors[32]; - Colors_33 = colors[33]; - Colors_34 = colors[34]; - Colors_35 = colors[35]; - Colors_36 = colors[36]; - Colors_37 = colors[37]; - Colors_38 = colors[38]; - Colors_39 = colors[39]; - Colors_40 = colors[40]; - Colors_41 = colors[41]; - Colors_42 = colors[42]; - Colors_43 = colors[43]; - Colors_44 = colors[44]; - Colors_45 = colors[45]; - Colors_46 = colors[46]; - Colors_47 = colors[47]; - Colors_48 = colors[48]; - Colors_49 = colors[49]; - Colors_50 = colors[50]; - Colors_51 = colors[51]; - Colors_52 = colors[52]; - Colors_53 = colors[53]; - Colors_54 = colors[54]; - Colors_55 = colors[55]; - Colors_56 = colors[56]; - Colors_57 = colors[57]; - } - HoverStationaryDelay = hoverStationaryDelay; - HoverDelayShort = hoverDelayShort; - HoverDelayNormal = hoverDelayNormal; - HoverFlagsForTooltipMouse = hoverFlagsForTooltipMouse; - HoverFlagsForTooltipNav = hoverFlagsForTooltipNav; - } - - /// - /// To be documented. - /// - public unsafe ImGuiStyle(float alpha = default, float disabledAlpha = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, float windowBorderHoverPadding = default, Vector2 windowMinSize = default, Vector2 windowTitleAlign = default, ImGuiDir windowMenuButtonPosition = default, float childRounding = default, float childBorderSize = default, float popupRounding = default, float popupBorderSize = default, Vector2 framePadding = default, float frameRounding = default, float frameBorderSize = default, Vector2 itemSpacing = default, Vector2 itemInnerSpacing = default, Vector2 cellPadding = default, Vector2 touchExtraPadding = default, float indentSpacing = default, float columnsMinSpacing = default, float scrollbarSize = default, float scrollbarRounding = default, float grabMinSize = default, float grabRounding = default, float logSliderDeadzone = default, float imageBorderSize = default, float tabRounding = default, float tabBorderSize = default, float tabCloseButtonMinWidthSelected = default, float tabCloseButtonMinWidthUnselected = default, float tabBarBorderSize = default, float tabBarOverlineSize = default, float tableAngledHeadersAngle = default, Vector2 tableAngledHeadersTextAlign = default, ImGuiDir colorButtonPosition = default, Vector2 buttonTextAlign = default, Vector2 selectableTextAlign = default, float separatorTextBorderSize = default, Vector2 separatorTextAlign = default, Vector2 separatorTextPadding = default, Vector2 displayWindowPadding = default, Vector2 displaySafeAreaPadding = default, float dockingSeparatorSize = default, float mouseCursorScale = default, bool antiAliasedLines = default, bool antiAliasedLinesUseTex = default, bool antiAliasedFill = default, float curveTessellationTol = default, float circleTessellationMaxError = default, Span colors = default, float hoverStationaryDelay = default, float hoverDelayShort = default, float hoverDelayNormal = default, ImGuiHoveredFlags hoverFlagsForTooltipMouse = default, ImGuiHoveredFlags hoverFlagsForTooltipNav = default) - { - Alpha = alpha; - DisabledAlpha = disabledAlpha; - WindowPadding = windowPadding; - WindowRounding = windowRounding; - WindowBorderSize = windowBorderSize; - WindowBorderHoverPadding = windowBorderHoverPadding; - WindowMinSize = windowMinSize; - WindowTitleAlign = windowTitleAlign; - WindowMenuButtonPosition = windowMenuButtonPosition; - ChildRounding = childRounding; - ChildBorderSize = childBorderSize; - PopupRounding = popupRounding; - PopupBorderSize = popupBorderSize; - FramePadding = framePadding; - FrameRounding = frameRounding; - FrameBorderSize = frameBorderSize; - ItemSpacing = itemSpacing; - ItemInnerSpacing = itemInnerSpacing; - CellPadding = cellPadding; - TouchExtraPadding = touchExtraPadding; - IndentSpacing = indentSpacing; - ColumnsMinSpacing = columnsMinSpacing; - ScrollbarSize = scrollbarSize; - ScrollbarRounding = scrollbarRounding; - GrabMinSize = grabMinSize; - GrabRounding = grabRounding; - LogSliderDeadzone = logSliderDeadzone; - ImageBorderSize = imageBorderSize; - TabRounding = tabRounding; - TabBorderSize = tabBorderSize; - TabCloseButtonMinWidthSelected = tabCloseButtonMinWidthSelected; - TabCloseButtonMinWidthUnselected = tabCloseButtonMinWidthUnselected; - TabBarBorderSize = tabBarBorderSize; - TabBarOverlineSize = tabBarOverlineSize; - TableAngledHeadersAngle = tableAngledHeadersAngle; - TableAngledHeadersTextAlign = tableAngledHeadersTextAlign; - ColorButtonPosition = colorButtonPosition; - ButtonTextAlign = buttonTextAlign; - SelectableTextAlign = selectableTextAlign; - SeparatorTextBorderSize = separatorTextBorderSize; - SeparatorTextAlign = separatorTextAlign; - SeparatorTextPadding = separatorTextPadding; - DisplayWindowPadding = displayWindowPadding; - DisplaySafeAreaPadding = displaySafeAreaPadding; - DockingSeparatorSize = dockingSeparatorSize; - MouseCursorScale = mouseCursorScale; - AntiAliasedLines = antiAliasedLines ? (byte)1 : (byte)0; - AntiAliasedLinesUseTex = antiAliasedLinesUseTex ? (byte)1 : (byte)0; - AntiAliasedFill = antiAliasedFill ? (byte)1 : (byte)0; - CurveTessellationTol = curveTessellationTol; - CircleTessellationMaxError = circleTessellationMaxError; - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - Colors_19 = colors[19]; - Colors_20 = colors[20]; - Colors_21 = colors[21]; - Colors_22 = colors[22]; - Colors_23 = colors[23]; - Colors_24 = colors[24]; - Colors_25 = colors[25]; - Colors_26 = colors[26]; - Colors_27 = colors[27]; - Colors_28 = colors[28]; - Colors_29 = colors[29]; - Colors_30 = colors[30]; - Colors_31 = colors[31]; - Colors_32 = colors[32]; - Colors_33 = colors[33]; - Colors_34 = colors[34]; - Colors_35 = colors[35]; - Colors_36 = colors[36]; - Colors_37 = colors[37]; - Colors_38 = colors[38]; - Colors_39 = colors[39]; - Colors_40 = colors[40]; - Colors_41 = colors[41]; - Colors_42 = colors[42]; - Colors_43 = colors[43]; - Colors_44 = colors[44]; - Colors_45 = colors[45]; - Colors_46 = colors[46]; - Colors_47 = colors[47]; - Colors_48 = colors[48]; - Colors_49 = colors[49]; - Colors_50 = colors[50]; - Colors_51 = colors[51]; - Colors_52 = colors[52]; - Colors_53 = colors[53]; - Colors_54 = colors[54]; - Colors_55 = colors[55]; - Colors_56 = colors[56]; - Colors_57 = colors[57]; - } - HoverStationaryDelay = hoverStationaryDelay; - HoverDelayShort = hoverDelayShort; - HoverDelayNormal = hoverDelayNormal; - HoverFlagsForTooltipMouse = hoverFlagsForTooltipMouse; - HoverFlagsForTooltipNav = hoverFlagsForTooltipNav; - } - - - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - fixed (Vector4* p = &this.Colors_0) - { - return new Span(p, 58); - } - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiStyle* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void ScaleAllSizes(float scaleFactor) - { - fixed (ImGuiStyle* @this = &this) - { - ImGui.ScaleAllSizesNative(@this, scaleFactor); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiStylePtr : IEquatable - { - public ImGuiStylePtr(ImGuiStyle* handle) { Handle = handle; } - - public ImGuiStyle* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiStylePtr Null => new ImGuiStylePtr(null); - - public ImGuiStyle this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiStylePtr(ImGuiStyle* handle) => new ImGuiStylePtr(handle); - - public static implicit operator ImGuiStyle*(ImGuiStylePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiStylePtr left, ImGuiStylePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiStylePtr left, ImGuiStylePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiStylePtr left, ImGuiStyle* right) => left.Handle == right; - - public static bool operator !=(ImGuiStylePtr left, ImGuiStyle* right) => left.Handle != right; - - public bool Equals(ImGuiStylePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiStylePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiStylePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float Alpha => ref Unsafe.AsRef(&Handle->Alpha); - /// - /// To be documented. - /// - public ref float DisabledAlpha => ref Unsafe.AsRef(&Handle->DisabledAlpha); - /// - /// To be documented. - /// - public ref Vector2 WindowPadding => ref Unsafe.AsRef(&Handle->WindowPadding); - /// - /// To be documented. - /// - public ref float WindowRounding => ref Unsafe.AsRef(&Handle->WindowRounding); - /// - /// To be documented. - /// - public ref float WindowBorderSize => ref Unsafe.AsRef(&Handle->WindowBorderSize); - /// - /// To be documented. - /// - public ref float WindowBorderHoverPadding => ref Unsafe.AsRef(&Handle->WindowBorderHoverPadding); - /// - /// To be documented. - /// - public ref Vector2 WindowMinSize => ref Unsafe.AsRef(&Handle->WindowMinSize); - /// - /// To be documented. - /// - public ref Vector2 WindowTitleAlign => ref Unsafe.AsRef(&Handle->WindowTitleAlign); - /// - /// To be documented. - /// - public ref ImGuiDir WindowMenuButtonPosition => ref Unsafe.AsRef(&Handle->WindowMenuButtonPosition); - /// - /// To be documented. - /// - public ref float ChildRounding => ref Unsafe.AsRef(&Handle->ChildRounding); - /// - /// To be documented. - /// - public ref float ChildBorderSize => ref Unsafe.AsRef(&Handle->ChildBorderSize); - /// - /// To be documented. - /// - public ref float PopupRounding => ref Unsafe.AsRef(&Handle->PopupRounding); - /// - /// To be documented. - /// - public ref float PopupBorderSize => ref Unsafe.AsRef(&Handle->PopupBorderSize); - /// - /// To be documented. - /// - public ref Vector2 FramePadding => ref Unsafe.AsRef(&Handle->FramePadding); - /// - /// To be documented. - /// - public ref float FrameRounding => ref Unsafe.AsRef(&Handle->FrameRounding); - /// - /// To be documented. - /// - public ref float FrameBorderSize => ref Unsafe.AsRef(&Handle->FrameBorderSize); - /// - /// To be documented. - /// - public ref Vector2 ItemSpacing => ref Unsafe.AsRef(&Handle->ItemSpacing); - /// - /// To be documented. - /// - public ref Vector2 ItemInnerSpacing => ref Unsafe.AsRef(&Handle->ItemInnerSpacing); - /// - /// To be documented. - /// - public ref Vector2 CellPadding => ref Unsafe.AsRef(&Handle->CellPadding); - /// - /// To be documented. - /// - public ref Vector2 TouchExtraPadding => ref Unsafe.AsRef(&Handle->TouchExtraPadding); - /// - /// To be documented. - /// - public ref float IndentSpacing => ref Unsafe.AsRef(&Handle->IndentSpacing); - /// - /// To be documented. - /// - public ref float ColumnsMinSpacing => ref Unsafe.AsRef(&Handle->ColumnsMinSpacing); - /// - /// To be documented. - /// - public ref float ScrollbarSize => ref Unsafe.AsRef(&Handle->ScrollbarSize); - /// - /// To be documented. - /// - public ref float ScrollbarRounding => ref Unsafe.AsRef(&Handle->ScrollbarRounding); - /// - /// To be documented. - /// - public ref float GrabMinSize => ref Unsafe.AsRef(&Handle->GrabMinSize); - /// - /// To be documented. - /// - public ref float GrabRounding => ref Unsafe.AsRef(&Handle->GrabRounding); - /// - /// To be documented. - /// - public ref float LogSliderDeadzone => ref Unsafe.AsRef(&Handle->LogSliderDeadzone); - /// - /// To be documented. - /// - public ref float ImageBorderSize => ref Unsafe.AsRef(&Handle->ImageBorderSize); - /// - /// To be documented. - /// - public ref float TabRounding => ref Unsafe.AsRef(&Handle->TabRounding); - /// - /// To be documented. - /// - public ref float TabBorderSize => ref Unsafe.AsRef(&Handle->TabBorderSize); - /// - /// To be documented. - /// - public ref float TabCloseButtonMinWidthSelected => ref Unsafe.AsRef(&Handle->TabCloseButtonMinWidthSelected); - /// - /// To be documented. - /// - public ref float TabCloseButtonMinWidthUnselected => ref Unsafe.AsRef(&Handle->TabCloseButtonMinWidthUnselected); - /// - /// To be documented. - /// - public ref float TabBarBorderSize => ref Unsafe.AsRef(&Handle->TabBarBorderSize); - /// - /// To be documented. - /// - public ref float TabBarOverlineSize => ref Unsafe.AsRef(&Handle->TabBarOverlineSize); - /// - /// To be documented. - /// - public ref float TableAngledHeadersAngle => ref Unsafe.AsRef(&Handle->TableAngledHeadersAngle); - /// - /// To be documented. - /// - public ref Vector2 TableAngledHeadersTextAlign => ref Unsafe.AsRef(&Handle->TableAngledHeadersTextAlign); - /// - /// To be documented. - /// - public ref ImGuiDir ColorButtonPosition => ref Unsafe.AsRef(&Handle->ColorButtonPosition); - /// - /// To be documented. - /// - public ref Vector2 ButtonTextAlign => ref Unsafe.AsRef(&Handle->ButtonTextAlign); - /// - /// To be documented. - /// - public ref Vector2 SelectableTextAlign => ref Unsafe.AsRef(&Handle->SelectableTextAlign); - /// - /// To be documented. - /// - public ref float SeparatorTextBorderSize => ref Unsafe.AsRef(&Handle->SeparatorTextBorderSize); - /// - /// To be documented. - /// - public ref Vector2 SeparatorTextAlign => ref Unsafe.AsRef(&Handle->SeparatorTextAlign); - /// - /// To be documented. - /// - public ref Vector2 SeparatorTextPadding => ref Unsafe.AsRef(&Handle->SeparatorTextPadding); - /// - /// To be documented. - /// - public ref Vector2 DisplayWindowPadding => ref Unsafe.AsRef(&Handle->DisplayWindowPadding); - /// - /// To be documented. - /// - public ref Vector2 DisplaySafeAreaPadding => ref Unsafe.AsRef(&Handle->DisplaySafeAreaPadding); - /// - /// To be documented. - /// - public ref float DockingSeparatorSize => ref Unsafe.AsRef(&Handle->DockingSeparatorSize); - /// - /// To be documented. - /// - public ref float MouseCursorScale => ref Unsafe.AsRef(&Handle->MouseCursorScale); - /// - /// To be documented. - /// - public ref bool AntiAliasedLines => ref Unsafe.AsRef(&Handle->AntiAliasedLines); - /// - /// To be documented. - /// - public ref bool AntiAliasedLinesUseTex => ref Unsafe.AsRef(&Handle->AntiAliasedLinesUseTex); - /// - /// To be documented. - /// - public ref bool AntiAliasedFill => ref Unsafe.AsRef(&Handle->AntiAliasedFill); - /// - /// To be documented. - /// - public ref float CurveTessellationTol => ref Unsafe.AsRef(&Handle->CurveTessellationTol); - /// - /// To be documented. - /// - public ref float CircleTessellationMaxError => ref Unsafe.AsRef(&Handle->CircleTessellationMaxError); - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - return new Span(&Handle->Colors_0, 58); - } - } - /// - /// To be documented. - /// - public ref float HoverStationaryDelay => ref Unsafe.AsRef(&Handle->HoverStationaryDelay); - /// - /// To be documented. - /// - public ref float HoverDelayShort => ref Unsafe.AsRef(&Handle->HoverDelayShort); - /// - /// To be documented. - /// - public ref float HoverDelayNormal => ref Unsafe.AsRef(&Handle->HoverDelayNormal); - /// - /// To be documented. - /// - public ref ImGuiHoveredFlags HoverFlagsForTooltipMouse => ref Unsafe.AsRef(&Handle->HoverFlagsForTooltipMouse); - /// - /// To be documented. - /// - public ref ImGuiHoveredFlags HoverFlagsForTooltipNav => ref Unsafe.AsRef(&Handle->HoverFlagsForTooltipNav); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void ScaleAllSizes(float scaleFactor) - { - ImGui.ScaleAllSizesNative(Handle, scaleFactor); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleMod.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleMod.cs deleted file mode 100644 index c64062df9..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleMod.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiStyleMod - { - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Explicit)] - public partial struct ImGuiStyleModUnion - { - /// - /// To be documented. - /// - [FieldOffset(0)] - public int BackupInt_0; - [FieldOffset(8)] - public int BackupInt_1; - - /// - /// To be documented. - /// - [FieldOffset(0)] - public float BackupFloat_0; - [FieldOffset(8)] - public float BackupFloat_1; - - - /// - /// To be documented. - /// - public unsafe ImGuiStyleModUnion(int* backupInt = default, float* backupFloat = default) - { - if (backupInt != default(int*)) - { - BackupInt_0 = backupInt[0]; - BackupInt_1 = backupInt[1]; - } - if (backupFloat != default(float*)) - { - BackupFloat_0 = backupFloat[0]; - BackupFloat_1 = backupFloat[1]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiStyleModUnion(Span backupInt = default, Span backupFloat = default) - { - if (backupInt != default(Span)) - { - BackupInt_0 = backupInt[0]; - BackupInt_1 = backupInt[1]; - } - if (backupFloat != default(Span)) - { - BackupFloat_0 = backupFloat[0]; - BackupFloat_1 = backupFloat[1]; - } - } - - - } - - /// - /// To be documented. - /// - public ImGuiStyleVar VarIdx; - - /// - /// To be documented. - /// - public ImGuiStyleModUnion Union; - - - /// - /// To be documented. - /// - public unsafe ImGuiStyleMod(ImGuiStyleVar varIdx = default, ImGuiStyleModUnion union = default) - { - VarIdx = varIdx; - Union = union; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiStyleModPtr : IEquatable - { - public ImGuiStyleModPtr(ImGuiStyleMod* handle) { Handle = handle; } - - public ImGuiStyleMod* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiStyleModPtr Null => new ImGuiStyleModPtr(null); - - public ImGuiStyleMod this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiStyleModPtr(ImGuiStyleMod* handle) => new ImGuiStyleModPtr(handle); - - public static implicit operator ImGuiStyleMod*(ImGuiStyleModPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiStyleModPtr left, ImGuiStyleModPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiStyleModPtr left, ImGuiStyleModPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiStyleModPtr left, ImGuiStyleMod* right) => left.Handle == right; - - public static bool operator !=(ImGuiStyleModPtr left, ImGuiStyleMod* right) => left.Handle != right; - - public bool Equals(ImGuiStyleModPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiStyleModPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiStyleModPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiStyleVar VarIdx => ref Unsafe.AsRef(&Handle->VarIdx); - /// - /// To be documented. - /// - public ref ImGuiStyleMod.ImGuiStyleModUnion Union => ref Unsafe.AsRef(&Handle->Union); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleVarInfo.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleVarInfo.cs deleted file mode 100644 index 059523e9c..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiStyleVarInfo.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiStyleVarInfo - { - /// - /// To be documented. - /// - public uint Count; - - /// - /// To be documented. - /// - public ImGuiDataType DataType; - - /// - /// To be documented. - /// - public uint Offset; - - - /// - /// To be documented. - /// - public unsafe ImGuiStyleVarInfo(uint count = default, ImGuiDataType dataType = default, uint offset = default) - { - Count = count; - DataType = dataType; - Offset = offset; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiStyleVarInfoPtr : IEquatable - { - public ImGuiStyleVarInfoPtr(ImGuiStyleVarInfo* handle) { Handle = handle; } - - public ImGuiStyleVarInfo* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiStyleVarInfoPtr Null => new ImGuiStyleVarInfoPtr(null); - - public ImGuiStyleVarInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiStyleVarInfoPtr(ImGuiStyleVarInfo* handle) => new ImGuiStyleVarInfoPtr(handle); - - public static implicit operator ImGuiStyleVarInfo*(ImGuiStyleVarInfoPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiStyleVarInfoPtr left, ImGuiStyleVarInfoPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiStyleVarInfoPtr left, ImGuiStyleVarInfoPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiStyleVarInfoPtr left, ImGuiStyleVarInfo* right) => left.Handle == right; - - public static bool operator !=(ImGuiStyleVarInfoPtr left, ImGuiStyleVarInfo* right) => left.Handle != right; - - public bool Equals(ImGuiStyleVarInfoPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiStyleVarInfoPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiStyleVarInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint Count => ref Unsafe.AsRef(&Handle->Count); - /// - /// To be documented. - /// - public ref ImGuiDataType DataType => ref Unsafe.AsRef(&Handle->DataType); - /// - /// To be documented. - /// - public ref uint Offset => ref Unsafe.AsRef(&Handle->Offset); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabBar.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabBar.cs deleted file mode 100644 index 263fe4e99..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabBar.cs +++ /dev/null @@ -1,419 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for a tab bar (sizeof() 160 bytes)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTabBar - { - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public ImVector Tabs; - - /// - /// To be documented. - /// - public ImGuiTabBarFlags Flags; - - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public uint SelectedTabId; - - /// - /// To be documented. - /// - public uint NextSelectedTabId; - - /// - /// To be documented. - /// - public uint VisibleTabId; - - /// - /// To be documented. - /// - public int CurrFrameVisible; - - /// - /// To be documented. - /// - public int PrevFrameVisible; - - /// - /// To be documented. - /// - public ImRect BarRect; - - /// - /// To be documented. - /// - public float CurrTabsContentsHeight; - - /// - /// To be documented. - /// - public float PrevTabsContentsHeight; - - /// - /// To be documented. - /// - public float WidthAllTabs; - - /// - /// To be documented. - /// - public float WidthAllTabsIdeal; - - /// - /// To be documented. - /// - public float ScrollingAnim; - - /// - /// To be documented. - /// - public float ScrollingTarget; - - /// - /// To be documented. - /// - public float ScrollingTargetDistToVisibility; - - /// - /// To be documented. - /// - public float ScrollingSpeed; - - /// - /// To be documented. - /// - public float ScrollingRectMinX; - - /// - /// To be documented. - /// - public float ScrollingRectMaxX; - - /// - /// To be documented. - /// - public float SeparatorMinX; - - /// - /// To be documented. - /// - public float SeparatorMaxX; - - /// - /// To be documented. - /// - public uint ReorderRequestTabId; - - /// - /// To be documented. - /// - public short ReorderRequestOffset; - - /// - /// To be documented. - /// - public byte BeginCount; - - /// - /// To be documented. - /// - public byte WantLayout; - - /// - /// To be documented. - /// - public byte VisibleTabWasSubmitted; - - /// - /// To be documented. - /// - public byte TabsAddedNew; - - /// - /// To be documented. - /// - public short TabsActiveCount; - - /// - /// To be documented. - /// - public short LastTabItemIdx; - - /// - /// To be documented. - /// - public float ItemSpacingY; - - /// - /// To be documented. - /// - public Vector2 FramePadding; - - /// - /// To be documented. - /// - public Vector2 BackupCursorPos; - - /// - /// To be documented. - /// - public ImGuiTextBuffer TabsNames; - - - /// - /// To be documented. - /// - public unsafe ImGuiTabBar(ImGuiWindowPtr window = default, ImVector tabs = default, ImGuiTabBarFlags flags = default, uint id = default, uint selectedTabId = default, uint nextSelectedTabId = default, uint visibleTabId = default, int currFrameVisible = default, int prevFrameVisible = default, ImRect barRect = default, float currTabsContentsHeight = default, float prevTabsContentsHeight = default, float widthAllTabs = default, float widthAllTabsIdeal = default, float scrollingAnim = default, float scrollingTarget = default, float scrollingTargetDistToVisibility = default, float scrollingSpeed = default, float scrollingRectMinX = default, float scrollingRectMaxX = default, float separatorMinX = default, float separatorMaxX = default, uint reorderRequestTabId = default, short reorderRequestOffset = default, byte beginCount = default, bool wantLayout = default, bool visibleTabWasSubmitted = default, bool tabsAddedNew = default, short tabsActiveCount = default, short lastTabItemIdx = default, float itemSpacingY = default, Vector2 framePadding = default, Vector2 backupCursorPos = default, ImGuiTextBuffer tabsNames = default) - { - Window = window; - Tabs = tabs; - Flags = flags; - ID = id; - SelectedTabId = selectedTabId; - NextSelectedTabId = nextSelectedTabId; - VisibleTabId = visibleTabId; - CurrFrameVisible = currFrameVisible; - PrevFrameVisible = prevFrameVisible; - BarRect = barRect; - CurrTabsContentsHeight = currTabsContentsHeight; - PrevTabsContentsHeight = prevTabsContentsHeight; - WidthAllTabs = widthAllTabs; - WidthAllTabsIdeal = widthAllTabsIdeal; - ScrollingAnim = scrollingAnim; - ScrollingTarget = scrollingTarget; - ScrollingTargetDistToVisibility = scrollingTargetDistToVisibility; - ScrollingSpeed = scrollingSpeed; - ScrollingRectMinX = scrollingRectMinX; - ScrollingRectMaxX = scrollingRectMaxX; - SeparatorMinX = separatorMinX; - SeparatorMaxX = separatorMaxX; - ReorderRequestTabId = reorderRequestTabId; - ReorderRequestOffset = reorderRequestOffset; - BeginCount = beginCount; - WantLayout = wantLayout ? (byte)1 : (byte)0; - VisibleTabWasSubmitted = visibleTabWasSubmitted ? (byte)1 : (byte)0; - TabsAddedNew = tabsAddedNew ? (byte)1 : (byte)0; - TabsActiveCount = tabsActiveCount; - LastTabItemIdx = lastTabItemIdx; - ItemSpacingY = itemSpacingY; - FramePadding = framePadding; - BackupCursorPos = backupCursorPos; - TabsNames = tabsNames; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTabBarPtr : IEquatable - { - public ImGuiTabBarPtr(ImGuiTabBar* handle) { Handle = handle; } - - public ImGuiTabBar* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTabBarPtr Null => new ImGuiTabBarPtr(null); - - public ImGuiTabBar this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTabBarPtr(ImGuiTabBar* handle) => new ImGuiTabBarPtr(handle); - - public static implicit operator ImGuiTabBar*(ImGuiTabBarPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTabBarPtr left, ImGuiTabBarPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTabBarPtr left, ImGuiTabBarPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTabBarPtr left, ImGuiTabBar* right) => left.Handle == right; - - public static bool operator !=(ImGuiTabBarPtr left, ImGuiTabBar* right) => left.Handle != right; - - public bool Equals(ImGuiTabBarPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTabBarPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTabBarPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref ImVector Tabs => ref Unsafe.AsRef>(&Handle->Tabs); - /// - /// To be documented. - /// - public ref ImGuiTabBarFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref uint SelectedTabId => ref Unsafe.AsRef(&Handle->SelectedTabId); - /// - /// To be documented. - /// - public ref uint NextSelectedTabId => ref Unsafe.AsRef(&Handle->NextSelectedTabId); - /// - /// To be documented. - /// - public ref uint VisibleTabId => ref Unsafe.AsRef(&Handle->VisibleTabId); - /// - /// To be documented. - /// - public ref int CurrFrameVisible => ref Unsafe.AsRef(&Handle->CurrFrameVisible); - /// - /// To be documented. - /// - public ref int PrevFrameVisible => ref Unsafe.AsRef(&Handle->PrevFrameVisible); - /// - /// To be documented. - /// - public ref ImRect BarRect => ref Unsafe.AsRef(&Handle->BarRect); - /// - /// To be documented. - /// - public ref float CurrTabsContentsHeight => ref Unsafe.AsRef(&Handle->CurrTabsContentsHeight); - /// - /// To be documented. - /// - public ref float PrevTabsContentsHeight => ref Unsafe.AsRef(&Handle->PrevTabsContentsHeight); - /// - /// To be documented. - /// - public ref float WidthAllTabs => ref Unsafe.AsRef(&Handle->WidthAllTabs); - /// - /// To be documented. - /// - public ref float WidthAllTabsIdeal => ref Unsafe.AsRef(&Handle->WidthAllTabsIdeal); - /// - /// To be documented. - /// - public ref float ScrollingAnim => ref Unsafe.AsRef(&Handle->ScrollingAnim); - /// - /// To be documented. - /// - public ref float ScrollingTarget => ref Unsafe.AsRef(&Handle->ScrollingTarget); - /// - /// To be documented. - /// - public ref float ScrollingTargetDistToVisibility => ref Unsafe.AsRef(&Handle->ScrollingTargetDistToVisibility); - /// - /// To be documented. - /// - public ref float ScrollingSpeed => ref Unsafe.AsRef(&Handle->ScrollingSpeed); - /// - /// To be documented. - /// - public ref float ScrollingRectMinX => ref Unsafe.AsRef(&Handle->ScrollingRectMinX); - /// - /// To be documented. - /// - public ref float ScrollingRectMaxX => ref Unsafe.AsRef(&Handle->ScrollingRectMaxX); - /// - /// To be documented. - /// - public ref float SeparatorMinX => ref Unsafe.AsRef(&Handle->SeparatorMinX); - /// - /// To be documented. - /// - public ref float SeparatorMaxX => ref Unsafe.AsRef(&Handle->SeparatorMaxX); - /// - /// To be documented. - /// - public ref uint ReorderRequestTabId => ref Unsafe.AsRef(&Handle->ReorderRequestTabId); - /// - /// To be documented. - /// - public ref short ReorderRequestOffset => ref Unsafe.AsRef(&Handle->ReorderRequestOffset); - /// - /// To be documented. - /// - public ref byte BeginCount => ref Unsafe.AsRef(&Handle->BeginCount); - /// - /// To be documented. - /// - public ref bool WantLayout => ref Unsafe.AsRef(&Handle->WantLayout); - /// - /// To be documented. - /// - public ref bool VisibleTabWasSubmitted => ref Unsafe.AsRef(&Handle->VisibleTabWasSubmitted); - /// - /// To be documented. - /// - public ref bool TabsAddedNew => ref Unsafe.AsRef(&Handle->TabsAddedNew); - /// - /// To be documented. - /// - public ref short TabsActiveCount => ref Unsafe.AsRef(&Handle->TabsActiveCount); - /// - /// To be documented. - /// - public ref short LastTabItemIdx => ref Unsafe.AsRef(&Handle->LastTabItemIdx); - /// - /// To be documented. - /// - public ref float ItemSpacingY => ref Unsafe.AsRef(&Handle->ItemSpacingY); - /// - /// To be documented. - /// - public ref Vector2 FramePadding => ref Unsafe.AsRef(&Handle->FramePadding); - /// - /// To be documented. - /// - public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer TabsNames => ref Unsafe.AsRef(&Handle->TabsNames); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabItem.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabItem.cs deleted file mode 100644 index df3e37bb4..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTabItem.cs +++ /dev/null @@ -1,209 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for one active tab item (sizeof() 48 bytes)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTabItem - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiTabItemFlags Flags; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public int LastFrameVisible; - - /// - /// To be documented. - /// - public int LastFrameSelected; - - /// - /// To be documented. - /// - public float Offset; - - /// - /// To be documented. - /// - public float Width; - - /// - /// To be documented. - /// - public float ContentWidth; - - /// - /// To be documented. - /// - public float RequestedWidth; - - /// - /// To be documented. - /// - public int NameOffset; - - /// - /// To be documented. - /// - public short BeginOrder; - - /// - /// To be documented. - /// - public short IndexDuringLayout; - - /// - /// To be documented. - /// - public byte WantClose; - - - /// - /// To be documented. - /// - public unsafe ImGuiTabItem(uint id = default, ImGuiTabItemFlags flags = default, ImGuiWindowPtr window = default, int lastFrameVisible = default, int lastFrameSelected = default, float offset = default, float width = default, float contentWidth = default, float requestedWidth = default, int nameOffset = default, short beginOrder = default, short indexDuringLayout = default, bool wantClose = default) - { - ID = id; - Flags = flags; - Window = window; - LastFrameVisible = lastFrameVisible; - LastFrameSelected = lastFrameSelected; - Offset = offset; - Width = width; - ContentWidth = contentWidth; - RequestedWidth = requestedWidth; - NameOffset = nameOffset; - BeginOrder = beginOrder; - IndexDuringLayout = indexDuringLayout; - WantClose = wantClose ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTabItemPtr : IEquatable - { - public ImGuiTabItemPtr(ImGuiTabItem* handle) { Handle = handle; } - - public ImGuiTabItem* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTabItemPtr Null => new ImGuiTabItemPtr(null); - - public ImGuiTabItem this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTabItemPtr(ImGuiTabItem* handle) => new ImGuiTabItemPtr(handle); - - public static implicit operator ImGuiTabItem*(ImGuiTabItemPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTabItemPtr left, ImGuiTabItemPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTabItemPtr left, ImGuiTabItemPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTabItemPtr left, ImGuiTabItem* right) => left.Handle == right; - - public static bool operator !=(ImGuiTabItemPtr left, ImGuiTabItem* right) => left.Handle != right; - - public bool Equals(ImGuiTabItemPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTabItemPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTabItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiTabItemFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref int LastFrameVisible => ref Unsafe.AsRef(&Handle->LastFrameVisible); - /// - /// To be documented. - /// - public ref int LastFrameSelected => ref Unsafe.AsRef(&Handle->LastFrameSelected); - /// - /// To be documented. - /// - public ref float Offset => ref Unsafe.AsRef(&Handle->Offset); - /// - /// To be documented. - /// - public ref float Width => ref Unsafe.AsRef(&Handle->Width); - /// - /// To be documented. - /// - public ref float ContentWidth => ref Unsafe.AsRef(&Handle->ContentWidth); - /// - /// To be documented. - /// - public ref float RequestedWidth => ref Unsafe.AsRef(&Handle->RequestedWidth); - /// - /// To be documented. - /// - public ref int NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); - /// - /// To be documented. - /// - public ref short BeginOrder => ref Unsafe.AsRef(&Handle->BeginOrder); - /// - /// To be documented. - /// - public ref short IndexDuringLayout => ref Unsafe.AsRef(&Handle->IndexDuringLayout); - /// - /// To be documented. - /// - public ref bool WantClose => ref Unsafe.AsRef(&Handle->WantClose); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTable.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTable.cs deleted file mode 100644 index d57bfa104..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTable.cs +++ /dev/null @@ -1,1345 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// sizeof() ~ 592 bytes + heap allocs described in TableBeginInitMemory()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTable - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiTableFlags Flags; - - /// - /// To be documented. - /// - public unsafe void* RawData; - - /// - /// To be documented. - /// - public unsafe ImGuiTableTempData* TempData; - - /// - /// To be documented. - /// - public ImSpanImGuiTableColumn Columns; - - /// - /// To be documented. - /// - public ImSpanImGuiTableColumnIdx DisplayOrderToIndex; - - /// - /// To be documented. - /// - public ImSpanImGuiTableCellData RowCellData; - - /// - /// To be documented. - /// - public ImBitArrayPtr EnabledMaskByDisplayOrder; - - /// - /// To be documented. - /// - public ImBitArrayPtr EnabledMaskByIndex; - - /// - /// To be documented. - /// - public ImBitArrayPtr VisibleMaskByIndex; - - /// - /// To be documented. - /// - public ImGuiTableFlags SettingsLoadedFlags; - - /// - /// To be documented. - /// - public int SettingsOffset; - - /// - /// To be documented. - /// - public int LastFrameActive; - - /// - /// To be documented. - /// - public int ColumnsCount; - - /// - /// To be documented. - /// - public int CurrentRow; - - /// - /// To be documented. - /// - public int CurrentColumn; - - /// - /// To be documented. - /// - public short InstanceCurrent; - - /// - /// To be documented. - /// - public short InstanceInteracted; - - /// - /// To be documented. - /// - public float RowPosY1; - - /// - /// To be documented. - /// - public float RowPosY2; - - /// - /// To be documented. - /// - public float RowMinHeight; - - /// - /// To be documented. - /// - public float RowCellPaddingY; - - /// - /// To be documented. - /// - public float RowTextBaseline; - - /// - /// To be documented. - /// - public float RowIndentOffsetX; - - /// - /// To be documented. - /// - public ImGuiTableRowFlags RowFlags; - - /// - /// To be documented. - /// - public ImGuiTableRowFlags LastRowFlags; - - /// - /// To be documented. - /// - public int RowBgColorCounter; - - /// - /// To be documented. - /// - public uint RowBgColor_0; - public uint RowBgColor_1; - - /// - /// To be documented. - /// - public uint BorderColorStrong; - - /// - /// To be documented. - /// - public uint BorderColorLight; - - /// - /// To be documented. - /// - public float BorderX1; - - /// - /// To be documented. - /// - public float BorderX2; - - /// - /// To be documented. - /// - public float HostIndentX; - - /// - /// To be documented. - /// - public float MinColumnWidth; - - /// - /// To be documented. - /// - public float OuterPaddingX; - - /// - /// To be documented. - /// - public float CellPaddingX; - - /// - /// To be documented. - /// - public float CellSpacingX1; - - /// - /// To be documented. - /// - public float CellSpacingX2; - - /// - /// To be documented. - /// - public float InnerWidth; - - /// - /// To be documented. - /// - public float ColumnsGivenWidth; - - /// - /// To be documented. - /// - public float ColumnsAutoFitWidth; - - /// - /// To be documented. - /// - public float ColumnsStretchSumWeights; - - /// - /// To be documented. - /// - public float ResizedColumnNextWidth; - - /// - /// To be documented. - /// - public float ResizeLockMinContentsX2; - - /// - /// To be documented. - /// - public float RefScale; - - /// - /// To be documented. - /// - public float AngledHeadersHeight; - - /// - /// To be documented. - /// - public float AngledHeadersSlope; - - /// - /// To be documented. - /// - public ImRect OuterRect; - - /// - /// To be documented. - /// - public ImRect InnerRect; - - /// - /// To be documented. - /// - public ImRect WorkRect; - - /// - /// To be documented. - /// - public ImRect InnerClipRect; - - /// - /// To be documented. - /// - public ImRect BgClipRect; - - /// - /// To be documented. - /// - public ImRect Bg0ClipRectForDrawCmd; - - /// - /// To be documented. - /// - public ImRect Bg2ClipRectForDrawCmd; - - /// - /// To be documented. - /// - public ImRect HostClipRect; - - /// - /// To be documented. - /// - public ImRect HostBackupInnerClipRect; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* OuterWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* InnerWindow; - - /// - /// To be documented. - /// - public ImGuiTextBuffer ColumnsNames; - - /// - /// To be documented. - /// - public unsafe ImDrawListSplitter* DrawSplitter; - - /// - /// To be documented. - /// - public ImGuiTableInstanceData InstanceDataFirst; - - /// - /// To be documented. - /// - public ImVector InstanceDataExtra; - - /// - /// To be documented. - /// - public ImGuiTableColumnSortSpecs SortSpecsSingle; - - /// - /// To be documented. - /// - public ImVector SortSpecsMulti; - - /// - /// To be documented. - /// - public ImGuiTableSortSpecs SortSpecs; - - /// - /// To be documented. - /// - public sbyte SortSpecsCount; - - /// - /// To be documented. - /// - public sbyte ColumnsEnabledCount; - - /// - /// To be documented. - /// - public sbyte ColumnsEnabledFixedCount; - - /// - /// To be documented. - /// - public sbyte DeclColumnsCount; - - /// - /// To be documented. - /// - public sbyte AngledHeadersCount; - - /// - /// To be documented. - /// - public sbyte HoveredColumnBody; - - /// - /// To be documented. - /// - public sbyte HoveredColumnBorder; - - /// - /// To be documented. - /// - public sbyte HighlightColumnHeader; - - /// - /// To be documented. - /// - public sbyte AutoFitSingleColumn; - - /// - /// To be documented. - /// - public sbyte ResizedColumn; - - /// - /// To be documented. - /// - public sbyte LastResizedColumn; - - /// - /// To be documented. - /// - public sbyte HeldHeaderColumn; - - /// - /// To be documented. - /// - public sbyte ReorderColumn; - - /// - /// To be documented. - /// - public sbyte ReorderColumnDir; - - /// - /// To be documented. - /// - public sbyte LeftMostEnabledColumn; - - /// - /// To be documented. - /// - public sbyte RightMostEnabledColumn; - - /// - /// To be documented. - /// - public sbyte LeftMostStretchedColumn; - - /// - /// To be documented. - /// - public sbyte RightMostStretchedColumn; - - /// - /// To be documented. - /// - public sbyte ContextPopupColumn; - - /// - /// To be documented. - /// - public sbyte FreezeRowsRequest; - - /// - /// To be documented. - /// - public sbyte FreezeRowsCount; - - /// - /// To be documented. - /// - public sbyte FreezeColumnsRequest; - - /// - /// To be documented. - /// - public sbyte FreezeColumnsCount; - - /// - /// To be documented. - /// - public sbyte RowCellDataCurrent; - - /// - /// To be documented. - /// - public byte DummyDrawChannel; - - /// - /// To be documented. - /// - public byte Bg2DrawChannelCurrent; - - /// - /// To be documented. - /// - public byte Bg2DrawChannelUnfrozen; - - /// - /// To be documented. - /// - public byte NavLayer; - - /// - /// To be documented. - /// - public byte IsLayoutLocked; - - /// - /// To be documented. - /// - public byte IsInsideRow; - - /// - /// To be documented. - /// - public byte IsInitializing; - - /// - /// To be documented. - /// - public byte IsSortSpecsDirty; - - /// - /// To be documented. - /// - public byte IsUsingHeaders; - - /// - /// To be documented. - /// - public byte IsContextPopupOpen; - - /// - /// To be documented. - /// - public byte DisableDefaultContextMenu; - - /// - /// To be documented. - /// - public byte IsSettingsRequestLoad; - - /// - /// To be documented. - /// - public byte IsSettingsDirty; - - /// - /// To be documented. - /// - public byte IsDefaultDisplayOrder; - - /// - /// To be documented. - /// - public byte IsResetAllRequest; - - /// - /// To be documented. - /// - public byte IsResetDisplayOrderRequest; - - /// - /// To be documented. - /// - public byte IsUnfrozenRows; - - /// - /// To be documented. - /// - public byte IsDefaultSizingPolicy; - - /// - /// To be documented. - /// - public byte IsActiveIdAliveBeforeTable; - - /// - /// To be documented. - /// - public byte IsActiveIdInTable; - - /// - /// To be documented. - /// - public byte HasScrollbarYCurr; - - /// - /// To be documented. - /// - public byte HasScrollbarYPrev; - - /// - /// To be documented. - /// - public byte MemoryCompacted; - - /// - /// To be documented. - /// - public byte HostSkipItems; - - - /// - /// To be documented. - /// - public unsafe ImGuiTable(uint id = default, ImGuiTableFlags flags = default, void* rawData = default, ImGuiTableTempData* tempData = default, ImSpanImGuiTableColumn columns = default, ImSpanImGuiTableColumnIdx displayOrderToIndex = default, ImSpanImGuiTableCellData rowCellData = default, ImBitArrayPtr enabledMaskByDisplayOrder = default, ImBitArrayPtr enabledMaskByIndex = default, ImBitArrayPtr visibleMaskByIndex = default, ImGuiTableFlags settingsLoadedFlags = default, int settingsOffset = default, int lastFrameActive = default, int columnsCount = default, int currentRow = default, int currentColumn = default, short instanceCurrent = default, short instanceInteracted = default, float rowPosY1 = default, float rowPosY2 = default, float rowMinHeight = default, float rowCellPaddingY = default, float rowTextBaseline = default, float rowIndentOffsetX = default, ImGuiTableRowFlags rowFlags = default, ImGuiTableRowFlags lastRowFlags = default, int rowBgColorCounter = default, uint* rowBgColor = default, uint borderColorStrong = default, uint borderColorLight = default, float borderX1 = default, float borderX2 = default, float hostIndentX = default, float minColumnWidth = default, float outerPaddingX = default, float cellPaddingX = default, float cellSpacingX1 = default, float cellSpacingX2 = default, float innerWidth = default, float columnsGivenWidth = default, float columnsAutoFitWidth = default, float columnsStretchSumWeights = default, float resizedColumnNextWidth = default, float resizeLockMinContentsX2 = default, float refScale = default, float angledHeadersHeight = default, float angledHeadersSlope = default, ImRect outerRect = default, ImRect innerRect = default, ImRect workRect = default, ImRect innerClipRect = default, ImRect bgClipRect = default, ImRect bg0ClipRectForDrawCmd = default, ImRect bg2ClipRectForDrawCmd = default, ImRect hostClipRect = default, ImRect hostBackupInnerClipRect = default, ImGuiWindowPtr outerWindow = default, ImGuiWindowPtr innerWindow = default, ImGuiTextBuffer columnsNames = default, ImDrawListSplitterPtr drawSplitter = default, ImGuiTableInstanceData instanceDataFirst = default, ImVector instanceDataExtra = default, ImGuiTableColumnSortSpecs sortSpecsSingle = default, ImVector sortSpecsMulti = default, ImGuiTableSortSpecs sortSpecs = default, sbyte sortSpecsCount = default, sbyte columnsEnabledCount = default, sbyte columnsEnabledFixedCount = default, sbyte declColumnsCount = default, sbyte angledHeadersCount = default, sbyte hoveredColumnBody = default, sbyte hoveredColumnBorder = default, sbyte highlightColumnHeader = default, sbyte autoFitSingleColumn = default, sbyte resizedColumn = default, sbyte lastResizedColumn = default, sbyte heldHeaderColumn = default, sbyte reorderColumn = default, sbyte reorderColumnDir = default, sbyte leftMostEnabledColumn = default, sbyte rightMostEnabledColumn = default, sbyte leftMostStretchedColumn = default, sbyte rightMostStretchedColumn = default, sbyte contextPopupColumn = default, sbyte freezeRowsRequest = default, sbyte freezeRowsCount = default, sbyte freezeColumnsRequest = default, sbyte freezeColumnsCount = default, sbyte rowCellDataCurrent = default, byte dummyDrawChannel = default, byte bg2DrawChannelCurrent = default, byte bg2DrawChannelUnfrozen = default, byte navLayer = default, bool isLayoutLocked = default, bool isInsideRow = default, bool isInitializing = default, bool isSortSpecsDirty = default, bool isUsingHeaders = default, bool isContextPopupOpen = default, bool disableDefaultContextMenu = default, bool isSettingsRequestLoad = default, bool isSettingsDirty = default, bool isDefaultDisplayOrder = default, bool isResetAllRequest = default, bool isResetDisplayOrderRequest = default, bool isUnfrozenRows = default, bool isDefaultSizingPolicy = default, bool isActiveIdAliveBeforeTable = default, bool isActiveIdInTable = default, bool hasScrollbarYCurr = default, bool hasScrollbarYPrev = default, bool memoryCompacted = default, bool hostSkipItems = default) - { - ID = id; - Flags = flags; - RawData = rawData; - TempData = tempData; - Columns = columns; - DisplayOrderToIndex = displayOrderToIndex; - RowCellData = rowCellData; - EnabledMaskByDisplayOrder = enabledMaskByDisplayOrder; - EnabledMaskByIndex = enabledMaskByIndex; - VisibleMaskByIndex = visibleMaskByIndex; - SettingsLoadedFlags = settingsLoadedFlags; - SettingsOffset = settingsOffset; - LastFrameActive = lastFrameActive; - ColumnsCount = columnsCount; - CurrentRow = currentRow; - CurrentColumn = currentColumn; - InstanceCurrent = instanceCurrent; - InstanceInteracted = instanceInteracted; - RowPosY1 = rowPosY1; - RowPosY2 = rowPosY2; - RowMinHeight = rowMinHeight; - RowCellPaddingY = rowCellPaddingY; - RowTextBaseline = rowTextBaseline; - RowIndentOffsetX = rowIndentOffsetX; - RowFlags = rowFlags; - LastRowFlags = lastRowFlags; - RowBgColorCounter = rowBgColorCounter; - if (rowBgColor != default(uint*)) - { - RowBgColor_0 = rowBgColor[0]; - RowBgColor_1 = rowBgColor[1]; - } - BorderColorStrong = borderColorStrong; - BorderColorLight = borderColorLight; - BorderX1 = borderX1; - BorderX2 = borderX2; - HostIndentX = hostIndentX; - MinColumnWidth = minColumnWidth; - OuterPaddingX = outerPaddingX; - CellPaddingX = cellPaddingX; - CellSpacingX1 = cellSpacingX1; - CellSpacingX2 = cellSpacingX2; - InnerWidth = innerWidth; - ColumnsGivenWidth = columnsGivenWidth; - ColumnsAutoFitWidth = columnsAutoFitWidth; - ColumnsStretchSumWeights = columnsStretchSumWeights; - ResizedColumnNextWidth = resizedColumnNextWidth; - ResizeLockMinContentsX2 = resizeLockMinContentsX2; - RefScale = refScale; - AngledHeadersHeight = angledHeadersHeight; - AngledHeadersSlope = angledHeadersSlope; - OuterRect = outerRect; - InnerRect = innerRect; - WorkRect = workRect; - InnerClipRect = innerClipRect; - BgClipRect = bgClipRect; - Bg0ClipRectForDrawCmd = bg0ClipRectForDrawCmd; - Bg2ClipRectForDrawCmd = bg2ClipRectForDrawCmd; - HostClipRect = hostClipRect; - HostBackupInnerClipRect = hostBackupInnerClipRect; - OuterWindow = outerWindow; - InnerWindow = innerWindow; - ColumnsNames = columnsNames; - DrawSplitter = drawSplitter; - InstanceDataFirst = instanceDataFirst; - InstanceDataExtra = instanceDataExtra; - SortSpecsSingle = sortSpecsSingle; - SortSpecsMulti = sortSpecsMulti; - SortSpecs = sortSpecs; - SortSpecsCount = sortSpecsCount; - ColumnsEnabledCount = columnsEnabledCount; - ColumnsEnabledFixedCount = columnsEnabledFixedCount; - DeclColumnsCount = declColumnsCount; - AngledHeadersCount = angledHeadersCount; - HoveredColumnBody = hoveredColumnBody; - HoveredColumnBorder = hoveredColumnBorder; - HighlightColumnHeader = highlightColumnHeader; - AutoFitSingleColumn = autoFitSingleColumn; - ResizedColumn = resizedColumn; - LastResizedColumn = lastResizedColumn; - HeldHeaderColumn = heldHeaderColumn; - ReorderColumn = reorderColumn; - ReorderColumnDir = reorderColumnDir; - LeftMostEnabledColumn = leftMostEnabledColumn; - RightMostEnabledColumn = rightMostEnabledColumn; - LeftMostStretchedColumn = leftMostStretchedColumn; - RightMostStretchedColumn = rightMostStretchedColumn; - ContextPopupColumn = contextPopupColumn; - FreezeRowsRequest = freezeRowsRequest; - FreezeRowsCount = freezeRowsCount; - FreezeColumnsRequest = freezeColumnsRequest; - FreezeColumnsCount = freezeColumnsCount; - RowCellDataCurrent = rowCellDataCurrent; - DummyDrawChannel = dummyDrawChannel; - Bg2DrawChannelCurrent = bg2DrawChannelCurrent; - Bg2DrawChannelUnfrozen = bg2DrawChannelUnfrozen; - NavLayer = navLayer; - IsLayoutLocked = isLayoutLocked ? (byte)1 : (byte)0; - IsInsideRow = isInsideRow ? (byte)1 : (byte)0; - IsInitializing = isInitializing ? (byte)1 : (byte)0; - IsSortSpecsDirty = isSortSpecsDirty ? (byte)1 : (byte)0; - IsUsingHeaders = isUsingHeaders ? (byte)1 : (byte)0; - IsContextPopupOpen = isContextPopupOpen ? (byte)1 : (byte)0; - DisableDefaultContextMenu = disableDefaultContextMenu ? (byte)1 : (byte)0; - IsSettingsRequestLoad = isSettingsRequestLoad ? (byte)1 : (byte)0; - IsSettingsDirty = isSettingsDirty ? (byte)1 : (byte)0; - IsDefaultDisplayOrder = isDefaultDisplayOrder ? (byte)1 : (byte)0; - IsResetAllRequest = isResetAllRequest ? (byte)1 : (byte)0; - IsResetDisplayOrderRequest = isResetDisplayOrderRequest ? (byte)1 : (byte)0; - IsUnfrozenRows = isUnfrozenRows ? (byte)1 : (byte)0; - IsDefaultSizingPolicy = isDefaultSizingPolicy ? (byte)1 : (byte)0; - IsActiveIdAliveBeforeTable = isActiveIdAliveBeforeTable ? (byte)1 : (byte)0; - IsActiveIdInTable = isActiveIdInTable ? (byte)1 : (byte)0; - HasScrollbarYCurr = hasScrollbarYCurr ? (byte)1 : (byte)0; - HasScrollbarYPrev = hasScrollbarYPrev ? (byte)1 : (byte)0; - MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; - HostSkipItems = hostSkipItems ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImGuiTable(uint id = default, ImGuiTableFlags flags = default, void* rawData = default, ImGuiTableTempData* tempData = default, ImSpanImGuiTableColumn columns = default, ImSpanImGuiTableColumnIdx displayOrderToIndex = default, ImSpanImGuiTableCellData rowCellData = default, ImBitArrayPtr enabledMaskByDisplayOrder = default, ImBitArrayPtr enabledMaskByIndex = default, ImBitArrayPtr visibleMaskByIndex = default, ImGuiTableFlags settingsLoadedFlags = default, int settingsOffset = default, int lastFrameActive = default, int columnsCount = default, int currentRow = default, int currentColumn = default, short instanceCurrent = default, short instanceInteracted = default, float rowPosY1 = default, float rowPosY2 = default, float rowMinHeight = default, float rowCellPaddingY = default, float rowTextBaseline = default, float rowIndentOffsetX = default, ImGuiTableRowFlags rowFlags = default, ImGuiTableRowFlags lastRowFlags = default, int rowBgColorCounter = default, Span rowBgColor = default, uint borderColorStrong = default, uint borderColorLight = default, float borderX1 = default, float borderX2 = default, float hostIndentX = default, float minColumnWidth = default, float outerPaddingX = default, float cellPaddingX = default, float cellSpacingX1 = default, float cellSpacingX2 = default, float innerWidth = default, float columnsGivenWidth = default, float columnsAutoFitWidth = default, float columnsStretchSumWeights = default, float resizedColumnNextWidth = default, float resizeLockMinContentsX2 = default, float refScale = default, float angledHeadersHeight = default, float angledHeadersSlope = default, ImRect outerRect = default, ImRect innerRect = default, ImRect workRect = default, ImRect innerClipRect = default, ImRect bgClipRect = default, ImRect bg0ClipRectForDrawCmd = default, ImRect bg2ClipRectForDrawCmd = default, ImRect hostClipRect = default, ImRect hostBackupInnerClipRect = default, ImGuiWindowPtr outerWindow = default, ImGuiWindowPtr innerWindow = default, ImGuiTextBuffer columnsNames = default, ImDrawListSplitterPtr drawSplitter = default, ImGuiTableInstanceData instanceDataFirst = default, ImVector instanceDataExtra = default, ImGuiTableColumnSortSpecs sortSpecsSingle = default, ImVector sortSpecsMulti = default, ImGuiTableSortSpecs sortSpecs = default, sbyte sortSpecsCount = default, sbyte columnsEnabledCount = default, sbyte columnsEnabledFixedCount = default, sbyte declColumnsCount = default, sbyte angledHeadersCount = default, sbyte hoveredColumnBody = default, sbyte hoveredColumnBorder = default, sbyte highlightColumnHeader = default, sbyte autoFitSingleColumn = default, sbyte resizedColumn = default, sbyte lastResizedColumn = default, sbyte heldHeaderColumn = default, sbyte reorderColumn = default, sbyte reorderColumnDir = default, sbyte leftMostEnabledColumn = default, sbyte rightMostEnabledColumn = default, sbyte leftMostStretchedColumn = default, sbyte rightMostStretchedColumn = default, sbyte contextPopupColumn = default, sbyte freezeRowsRequest = default, sbyte freezeRowsCount = default, sbyte freezeColumnsRequest = default, sbyte freezeColumnsCount = default, sbyte rowCellDataCurrent = default, byte dummyDrawChannel = default, byte bg2DrawChannelCurrent = default, byte bg2DrawChannelUnfrozen = default, byte navLayer = default, bool isLayoutLocked = default, bool isInsideRow = default, bool isInitializing = default, bool isSortSpecsDirty = default, bool isUsingHeaders = default, bool isContextPopupOpen = default, bool disableDefaultContextMenu = default, bool isSettingsRequestLoad = default, bool isSettingsDirty = default, bool isDefaultDisplayOrder = default, bool isResetAllRequest = default, bool isResetDisplayOrderRequest = default, bool isUnfrozenRows = default, bool isDefaultSizingPolicy = default, bool isActiveIdAliveBeforeTable = default, bool isActiveIdInTable = default, bool hasScrollbarYCurr = default, bool hasScrollbarYPrev = default, bool memoryCompacted = default, bool hostSkipItems = default) - { - ID = id; - Flags = flags; - RawData = rawData; - TempData = tempData; - Columns = columns; - DisplayOrderToIndex = displayOrderToIndex; - RowCellData = rowCellData; - EnabledMaskByDisplayOrder = enabledMaskByDisplayOrder; - EnabledMaskByIndex = enabledMaskByIndex; - VisibleMaskByIndex = visibleMaskByIndex; - SettingsLoadedFlags = settingsLoadedFlags; - SettingsOffset = settingsOffset; - LastFrameActive = lastFrameActive; - ColumnsCount = columnsCount; - CurrentRow = currentRow; - CurrentColumn = currentColumn; - InstanceCurrent = instanceCurrent; - InstanceInteracted = instanceInteracted; - RowPosY1 = rowPosY1; - RowPosY2 = rowPosY2; - RowMinHeight = rowMinHeight; - RowCellPaddingY = rowCellPaddingY; - RowTextBaseline = rowTextBaseline; - RowIndentOffsetX = rowIndentOffsetX; - RowFlags = rowFlags; - LastRowFlags = lastRowFlags; - RowBgColorCounter = rowBgColorCounter; - if (rowBgColor != default(Span)) - { - RowBgColor_0 = rowBgColor[0]; - RowBgColor_1 = rowBgColor[1]; - } - BorderColorStrong = borderColorStrong; - BorderColorLight = borderColorLight; - BorderX1 = borderX1; - BorderX2 = borderX2; - HostIndentX = hostIndentX; - MinColumnWidth = minColumnWidth; - OuterPaddingX = outerPaddingX; - CellPaddingX = cellPaddingX; - CellSpacingX1 = cellSpacingX1; - CellSpacingX2 = cellSpacingX2; - InnerWidth = innerWidth; - ColumnsGivenWidth = columnsGivenWidth; - ColumnsAutoFitWidth = columnsAutoFitWidth; - ColumnsStretchSumWeights = columnsStretchSumWeights; - ResizedColumnNextWidth = resizedColumnNextWidth; - ResizeLockMinContentsX2 = resizeLockMinContentsX2; - RefScale = refScale; - AngledHeadersHeight = angledHeadersHeight; - AngledHeadersSlope = angledHeadersSlope; - OuterRect = outerRect; - InnerRect = innerRect; - WorkRect = workRect; - InnerClipRect = innerClipRect; - BgClipRect = bgClipRect; - Bg0ClipRectForDrawCmd = bg0ClipRectForDrawCmd; - Bg2ClipRectForDrawCmd = bg2ClipRectForDrawCmd; - HostClipRect = hostClipRect; - HostBackupInnerClipRect = hostBackupInnerClipRect; - OuterWindow = outerWindow; - InnerWindow = innerWindow; - ColumnsNames = columnsNames; - DrawSplitter = drawSplitter; - InstanceDataFirst = instanceDataFirst; - InstanceDataExtra = instanceDataExtra; - SortSpecsSingle = sortSpecsSingle; - SortSpecsMulti = sortSpecsMulti; - SortSpecs = sortSpecs; - SortSpecsCount = sortSpecsCount; - ColumnsEnabledCount = columnsEnabledCount; - ColumnsEnabledFixedCount = columnsEnabledFixedCount; - DeclColumnsCount = declColumnsCount; - AngledHeadersCount = angledHeadersCount; - HoveredColumnBody = hoveredColumnBody; - HoveredColumnBorder = hoveredColumnBorder; - HighlightColumnHeader = highlightColumnHeader; - AutoFitSingleColumn = autoFitSingleColumn; - ResizedColumn = resizedColumn; - LastResizedColumn = lastResizedColumn; - HeldHeaderColumn = heldHeaderColumn; - ReorderColumn = reorderColumn; - ReorderColumnDir = reorderColumnDir; - LeftMostEnabledColumn = leftMostEnabledColumn; - RightMostEnabledColumn = rightMostEnabledColumn; - LeftMostStretchedColumn = leftMostStretchedColumn; - RightMostStretchedColumn = rightMostStretchedColumn; - ContextPopupColumn = contextPopupColumn; - FreezeRowsRequest = freezeRowsRequest; - FreezeRowsCount = freezeRowsCount; - FreezeColumnsRequest = freezeColumnsRequest; - FreezeColumnsCount = freezeColumnsCount; - RowCellDataCurrent = rowCellDataCurrent; - DummyDrawChannel = dummyDrawChannel; - Bg2DrawChannelCurrent = bg2DrawChannelCurrent; - Bg2DrawChannelUnfrozen = bg2DrawChannelUnfrozen; - NavLayer = navLayer; - IsLayoutLocked = isLayoutLocked ? (byte)1 : (byte)0; - IsInsideRow = isInsideRow ? (byte)1 : (byte)0; - IsInitializing = isInitializing ? (byte)1 : (byte)0; - IsSortSpecsDirty = isSortSpecsDirty ? (byte)1 : (byte)0; - IsUsingHeaders = isUsingHeaders ? (byte)1 : (byte)0; - IsContextPopupOpen = isContextPopupOpen ? (byte)1 : (byte)0; - DisableDefaultContextMenu = disableDefaultContextMenu ? (byte)1 : (byte)0; - IsSettingsRequestLoad = isSettingsRequestLoad ? (byte)1 : (byte)0; - IsSettingsDirty = isSettingsDirty ? (byte)1 : (byte)0; - IsDefaultDisplayOrder = isDefaultDisplayOrder ? (byte)1 : (byte)0; - IsResetAllRequest = isResetAllRequest ? (byte)1 : (byte)0; - IsResetDisplayOrderRequest = isResetDisplayOrderRequest ? (byte)1 : (byte)0; - IsUnfrozenRows = isUnfrozenRows ? (byte)1 : (byte)0; - IsDefaultSizingPolicy = isDefaultSizingPolicy ? (byte)1 : (byte)0; - IsActiveIdAliveBeforeTable = isActiveIdAliveBeforeTable ? (byte)1 : (byte)0; - IsActiveIdInTable = isActiveIdInTable ? (byte)1 : (byte)0; - HasScrollbarYCurr = hasScrollbarYCurr ? (byte)1 : (byte)0; - HasScrollbarYPrev = hasScrollbarYPrev ? (byte)1 : (byte)0; - MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; - HostSkipItems = hostSkipItems ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTablePtr : IEquatable - { - public ImGuiTablePtr(ImGuiTable* handle) { Handle = handle; } - - public ImGuiTable* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTablePtr Null => new ImGuiTablePtr(null); - - public ImGuiTable this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTablePtr(ImGuiTable* handle) => new ImGuiTablePtr(handle); - - public static implicit operator ImGuiTable*(ImGuiTablePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTablePtr left, ImGuiTablePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTablePtr left, ImGuiTablePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTablePtr left, ImGuiTable* right) => left.Handle == right; - - public static bool operator !=(ImGuiTablePtr left, ImGuiTable* right) => left.Handle != right; - - public bool Equals(ImGuiTablePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTablePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTablePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiTableFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public void* RawData { get => Handle->RawData; set => Handle->RawData = value; } - /// - /// To be documented. - /// - public ref ImGuiTableTempDataPtr TempData => ref Unsafe.AsRef(&Handle->TempData); - /// - /// To be documented. - /// - public ref ImSpanImGuiTableColumn Columns => ref Unsafe.AsRef(&Handle->Columns); - /// - /// To be documented. - /// - public ref ImSpanImGuiTableColumnIdx DisplayOrderToIndex => ref Unsafe.AsRef(&Handle->DisplayOrderToIndex); - /// - /// To be documented. - /// - public ref ImSpanImGuiTableCellData RowCellData => ref Unsafe.AsRef(&Handle->RowCellData); - /// - /// To be documented. - /// - public ref ImBitArrayPtr EnabledMaskByDisplayOrder => ref Unsafe.AsRef(&Handle->EnabledMaskByDisplayOrder); - /// - /// To be documented. - /// - public ref ImBitArrayPtr EnabledMaskByIndex => ref Unsafe.AsRef(&Handle->EnabledMaskByIndex); - /// - /// To be documented. - /// - public ref ImBitArrayPtr VisibleMaskByIndex => ref Unsafe.AsRef(&Handle->VisibleMaskByIndex); - /// - /// To be documented. - /// - public ref ImGuiTableFlags SettingsLoadedFlags => ref Unsafe.AsRef(&Handle->SettingsLoadedFlags); - /// - /// To be documented. - /// - public ref int SettingsOffset => ref Unsafe.AsRef(&Handle->SettingsOffset); - /// - /// To be documented. - /// - public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); - /// - /// To be documented. - /// - public ref int ColumnsCount => ref Unsafe.AsRef(&Handle->ColumnsCount); - /// - /// To be documented. - /// - public ref int CurrentRow => ref Unsafe.AsRef(&Handle->CurrentRow); - /// - /// To be documented. - /// - public ref int CurrentColumn => ref Unsafe.AsRef(&Handle->CurrentColumn); - /// - /// To be documented. - /// - public ref short InstanceCurrent => ref Unsafe.AsRef(&Handle->InstanceCurrent); - /// - /// To be documented. - /// - public ref short InstanceInteracted => ref Unsafe.AsRef(&Handle->InstanceInteracted); - /// - /// To be documented. - /// - public ref float RowPosY1 => ref Unsafe.AsRef(&Handle->RowPosY1); - /// - /// To be documented. - /// - public ref float RowPosY2 => ref Unsafe.AsRef(&Handle->RowPosY2); - /// - /// To be documented. - /// - public ref float RowMinHeight => ref Unsafe.AsRef(&Handle->RowMinHeight); - /// - /// To be documented. - /// - public ref float RowCellPaddingY => ref Unsafe.AsRef(&Handle->RowCellPaddingY); - /// - /// To be documented. - /// - public ref float RowTextBaseline => ref Unsafe.AsRef(&Handle->RowTextBaseline); - /// - /// To be documented. - /// - public ref float RowIndentOffsetX => ref Unsafe.AsRef(&Handle->RowIndentOffsetX); - /// - /// To be documented. - /// - public ref ImGuiTableRowFlags RowFlags => ref Unsafe.AsRef(&Handle->RowFlags); - /// - /// To be documented. - /// - public ref ImGuiTableRowFlags LastRowFlags => ref Unsafe.AsRef(&Handle->LastRowFlags); - /// - /// To be documented. - /// - public ref int RowBgColorCounter => ref Unsafe.AsRef(&Handle->RowBgColorCounter); - /// - /// To be documented. - /// - public unsafe Span RowBgColor - - { - get - { - return new Span(&Handle->RowBgColor_0, 2); - } - } - /// - /// To be documented. - /// - public ref uint BorderColorStrong => ref Unsafe.AsRef(&Handle->BorderColorStrong); - /// - /// To be documented. - /// - public ref uint BorderColorLight => ref Unsafe.AsRef(&Handle->BorderColorLight); - /// - /// To be documented. - /// - public ref float BorderX1 => ref Unsafe.AsRef(&Handle->BorderX1); - /// - /// To be documented. - /// - public ref float BorderX2 => ref Unsafe.AsRef(&Handle->BorderX2); - /// - /// To be documented. - /// - public ref float HostIndentX => ref Unsafe.AsRef(&Handle->HostIndentX); - /// - /// To be documented. - /// - public ref float MinColumnWidth => ref Unsafe.AsRef(&Handle->MinColumnWidth); - /// - /// To be documented. - /// - public ref float OuterPaddingX => ref Unsafe.AsRef(&Handle->OuterPaddingX); - /// - /// To be documented. - /// - public ref float CellPaddingX => ref Unsafe.AsRef(&Handle->CellPaddingX); - /// - /// To be documented. - /// - public ref float CellSpacingX1 => ref Unsafe.AsRef(&Handle->CellSpacingX1); - /// - /// To be documented. - /// - public ref float CellSpacingX2 => ref Unsafe.AsRef(&Handle->CellSpacingX2); - /// - /// To be documented. - /// - public ref float InnerWidth => ref Unsafe.AsRef(&Handle->InnerWidth); - /// - /// To be documented. - /// - public ref float ColumnsGivenWidth => ref Unsafe.AsRef(&Handle->ColumnsGivenWidth); - /// - /// To be documented. - /// - public ref float ColumnsAutoFitWidth => ref Unsafe.AsRef(&Handle->ColumnsAutoFitWidth); - /// - /// To be documented. - /// - public ref float ColumnsStretchSumWeights => ref Unsafe.AsRef(&Handle->ColumnsStretchSumWeights); - /// - /// To be documented. - /// - public ref float ResizedColumnNextWidth => ref Unsafe.AsRef(&Handle->ResizedColumnNextWidth); - /// - /// To be documented. - /// - public ref float ResizeLockMinContentsX2 => ref Unsafe.AsRef(&Handle->ResizeLockMinContentsX2); - /// - /// To be documented. - /// - public ref float RefScale => ref Unsafe.AsRef(&Handle->RefScale); - /// - /// To be documented. - /// - public ref float AngledHeadersHeight => ref Unsafe.AsRef(&Handle->AngledHeadersHeight); - /// - /// To be documented. - /// - public ref float AngledHeadersSlope => ref Unsafe.AsRef(&Handle->AngledHeadersSlope); - /// - /// To be documented. - /// - public ref ImRect OuterRect => ref Unsafe.AsRef(&Handle->OuterRect); - /// - /// To be documented. - /// - public ref ImRect InnerRect => ref Unsafe.AsRef(&Handle->InnerRect); - /// - /// To be documented. - /// - public ref ImRect WorkRect => ref Unsafe.AsRef(&Handle->WorkRect); - /// - /// To be documented. - /// - public ref ImRect InnerClipRect => ref Unsafe.AsRef(&Handle->InnerClipRect); - /// - /// To be documented. - /// - public ref ImRect BgClipRect => ref Unsafe.AsRef(&Handle->BgClipRect); - /// - /// To be documented. - /// - public ref ImRect Bg0ClipRectForDrawCmd => ref Unsafe.AsRef(&Handle->Bg0ClipRectForDrawCmd); - /// - /// To be documented. - /// - public ref ImRect Bg2ClipRectForDrawCmd => ref Unsafe.AsRef(&Handle->Bg2ClipRectForDrawCmd); - /// - /// To be documented. - /// - public ref ImRect HostClipRect => ref Unsafe.AsRef(&Handle->HostClipRect); - /// - /// To be documented. - /// - public ref ImRect HostBackupInnerClipRect => ref Unsafe.AsRef(&Handle->HostBackupInnerClipRect); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr OuterWindow => ref Unsafe.AsRef(&Handle->OuterWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr InnerWindow => ref Unsafe.AsRef(&Handle->InnerWindow); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer ColumnsNames => ref Unsafe.AsRef(&Handle->ColumnsNames); - /// - /// To be documented. - /// - public ref ImDrawListSplitterPtr DrawSplitter => ref Unsafe.AsRef(&Handle->DrawSplitter); - /// - /// To be documented. - /// - public ref ImGuiTableInstanceData InstanceDataFirst => ref Unsafe.AsRef(&Handle->InstanceDataFirst); - /// - /// To be documented. - /// - public ref ImVector InstanceDataExtra => ref Unsafe.AsRef>(&Handle->InstanceDataExtra); - /// - /// To be documented. - /// - public ref ImGuiTableColumnSortSpecs SortSpecsSingle => ref Unsafe.AsRef(&Handle->SortSpecsSingle); - /// - /// To be documented. - /// - public ref ImVector SortSpecsMulti => ref Unsafe.AsRef>(&Handle->SortSpecsMulti); - /// - /// To be documented. - /// - public ref ImGuiTableSortSpecs SortSpecs => ref Unsafe.AsRef(&Handle->SortSpecs); - /// - /// To be documented. - /// - public ref sbyte SortSpecsCount => ref Unsafe.AsRef(&Handle->SortSpecsCount); - /// - /// To be documented. - /// - public ref sbyte ColumnsEnabledCount => ref Unsafe.AsRef(&Handle->ColumnsEnabledCount); - /// - /// To be documented. - /// - public ref sbyte ColumnsEnabledFixedCount => ref Unsafe.AsRef(&Handle->ColumnsEnabledFixedCount); - /// - /// To be documented. - /// - public ref sbyte DeclColumnsCount => ref Unsafe.AsRef(&Handle->DeclColumnsCount); - /// - /// To be documented. - /// - public ref sbyte AngledHeadersCount => ref Unsafe.AsRef(&Handle->AngledHeadersCount); - /// - /// To be documented. - /// - public ref sbyte HoveredColumnBody => ref Unsafe.AsRef(&Handle->HoveredColumnBody); - /// - /// To be documented. - /// - public ref sbyte HoveredColumnBorder => ref Unsafe.AsRef(&Handle->HoveredColumnBorder); - /// - /// To be documented. - /// - public ref sbyte HighlightColumnHeader => ref Unsafe.AsRef(&Handle->HighlightColumnHeader); - /// - /// To be documented. - /// - public ref sbyte AutoFitSingleColumn => ref Unsafe.AsRef(&Handle->AutoFitSingleColumn); - /// - /// To be documented. - /// - public ref sbyte ResizedColumn => ref Unsafe.AsRef(&Handle->ResizedColumn); - /// - /// To be documented. - /// - public ref sbyte LastResizedColumn => ref Unsafe.AsRef(&Handle->LastResizedColumn); - /// - /// To be documented. - /// - public ref sbyte HeldHeaderColumn => ref Unsafe.AsRef(&Handle->HeldHeaderColumn); - /// - /// To be documented. - /// - public ref sbyte ReorderColumn => ref Unsafe.AsRef(&Handle->ReorderColumn); - /// - /// To be documented. - /// - public ref sbyte ReorderColumnDir => ref Unsafe.AsRef(&Handle->ReorderColumnDir); - /// - /// To be documented. - /// - public ref sbyte LeftMostEnabledColumn => ref Unsafe.AsRef(&Handle->LeftMostEnabledColumn); - /// - /// To be documented. - /// - public ref sbyte RightMostEnabledColumn => ref Unsafe.AsRef(&Handle->RightMostEnabledColumn); - /// - /// To be documented. - /// - public ref sbyte LeftMostStretchedColumn => ref Unsafe.AsRef(&Handle->LeftMostStretchedColumn); - /// - /// To be documented. - /// - public ref sbyte RightMostStretchedColumn => ref Unsafe.AsRef(&Handle->RightMostStretchedColumn); - /// - /// To be documented. - /// - public ref sbyte ContextPopupColumn => ref Unsafe.AsRef(&Handle->ContextPopupColumn); - /// - /// To be documented. - /// - public ref sbyte FreezeRowsRequest => ref Unsafe.AsRef(&Handle->FreezeRowsRequest); - /// - /// To be documented. - /// - public ref sbyte FreezeRowsCount => ref Unsafe.AsRef(&Handle->FreezeRowsCount); - /// - /// To be documented. - /// - public ref sbyte FreezeColumnsRequest => ref Unsafe.AsRef(&Handle->FreezeColumnsRequest); - /// - /// To be documented. - /// - public ref sbyte FreezeColumnsCount => ref Unsafe.AsRef(&Handle->FreezeColumnsCount); - /// - /// To be documented. - /// - public ref sbyte RowCellDataCurrent => ref Unsafe.AsRef(&Handle->RowCellDataCurrent); - /// - /// To be documented. - /// - public ref byte DummyDrawChannel => ref Unsafe.AsRef(&Handle->DummyDrawChannel); - /// - /// To be documented. - /// - public ref byte Bg2DrawChannelCurrent => ref Unsafe.AsRef(&Handle->Bg2DrawChannelCurrent); - /// - /// To be documented. - /// - public ref byte Bg2DrawChannelUnfrozen => ref Unsafe.AsRef(&Handle->Bg2DrawChannelUnfrozen); - /// - /// To be documented. - /// - public ref byte NavLayer => ref Unsafe.AsRef(&Handle->NavLayer); - /// - /// To be documented. - /// - public ref bool IsLayoutLocked => ref Unsafe.AsRef(&Handle->IsLayoutLocked); - /// - /// To be documented. - /// - public ref bool IsInsideRow => ref Unsafe.AsRef(&Handle->IsInsideRow); - /// - /// To be documented. - /// - public ref bool IsInitializing => ref Unsafe.AsRef(&Handle->IsInitializing); - /// - /// To be documented. - /// - public ref bool IsSortSpecsDirty => ref Unsafe.AsRef(&Handle->IsSortSpecsDirty); - /// - /// To be documented. - /// - public ref bool IsUsingHeaders => ref Unsafe.AsRef(&Handle->IsUsingHeaders); - /// - /// To be documented. - /// - public ref bool IsContextPopupOpen => ref Unsafe.AsRef(&Handle->IsContextPopupOpen); - /// - /// To be documented. - /// - public ref bool DisableDefaultContextMenu => ref Unsafe.AsRef(&Handle->DisableDefaultContextMenu); - /// - /// To be documented. - /// - public ref bool IsSettingsRequestLoad => ref Unsafe.AsRef(&Handle->IsSettingsRequestLoad); - /// - /// To be documented. - /// - public ref bool IsSettingsDirty => ref Unsafe.AsRef(&Handle->IsSettingsDirty); - /// - /// To be documented. - /// - public ref bool IsDefaultDisplayOrder => ref Unsafe.AsRef(&Handle->IsDefaultDisplayOrder); - /// - /// To be documented. - /// - public ref bool IsResetAllRequest => ref Unsafe.AsRef(&Handle->IsResetAllRequest); - /// - /// To be documented. - /// - public ref bool IsResetDisplayOrderRequest => ref Unsafe.AsRef(&Handle->IsResetDisplayOrderRequest); - /// - /// To be documented. - /// - public ref bool IsUnfrozenRows => ref Unsafe.AsRef(&Handle->IsUnfrozenRows); - /// - /// To be documented. - /// - public ref bool IsDefaultSizingPolicy => ref Unsafe.AsRef(&Handle->IsDefaultSizingPolicy); - /// - /// To be documented. - /// - public ref bool IsActiveIdAliveBeforeTable => ref Unsafe.AsRef(&Handle->IsActiveIdAliveBeforeTable); - /// - /// To be documented. - /// - public ref bool IsActiveIdInTable => ref Unsafe.AsRef(&Handle->IsActiveIdInTable); - /// - /// To be documented. - /// - public ref bool HasScrollbarYCurr => ref Unsafe.AsRef(&Handle->HasScrollbarYCurr); - /// - /// To be documented. - /// - public ref bool HasScrollbarYPrev => ref Unsafe.AsRef(&Handle->HasScrollbarYPrev); - /// - /// To be documented. - /// - public ref bool MemoryCompacted => ref Unsafe.AsRef(&Handle->MemoryCompacted); - /// - /// To be documented. - /// - public ref bool HostSkipItems => ref Unsafe.AsRef(&Handle->HostSkipItems); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableCellData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableCellData.cs deleted file mode 100644 index 4b8d17d60..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableCellData.cs +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Transient cell data stored per row.
- /// sizeof() ~ 6 bytes
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableCellData - { - /// - /// To be documented. - /// - public uint BgColor; - - /// - /// To be documented. - /// - public sbyte Column; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableCellData(uint bgColor = default, sbyte column = default) - { - BgColor = bgColor; - Column = column; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableCellDataPtr : IEquatable - { - public ImGuiTableCellDataPtr(ImGuiTableCellData* handle) { Handle = handle; } - - public ImGuiTableCellData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableCellDataPtr Null => new ImGuiTableCellDataPtr(null); - - public ImGuiTableCellData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableCellDataPtr(ImGuiTableCellData* handle) => new ImGuiTableCellDataPtr(handle); - - public static implicit operator ImGuiTableCellData*(ImGuiTableCellDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableCellDataPtr left, ImGuiTableCellDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableCellDataPtr left, ImGuiTableCellDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableCellDataPtr left, ImGuiTableCellData* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableCellDataPtr left, ImGuiTableCellData* right) => left.Handle != right; - - public bool Equals(ImGuiTableCellDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableCellDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableCellDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint BgColor => ref Unsafe.AsRef(&Handle->BgColor); - /// - /// To be documented. - /// - public ref sbyte Column => ref Unsafe.AsRef(&Handle->Column); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumn.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumn.cs deleted file mode 100644 index f5b9c11fc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumn.cs +++ /dev/null @@ -1,502 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [Internal] sizeof() ~ 112
- /// We use the terminology "Enabled" to refer to a column that is not Hidden by userapi.
- /// We use the terminology "Clipped" to refer to a column that is out of sight because of scrollingclipping.
- /// This is in contrast with some user-facing api such as IsItemVisible() IsRectVisible() which use "Visible" to mean "not clipped".
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableColumn - { - /// - /// To be documented. - /// - public ImGuiTableColumnFlags Flags; - - /// - /// To be documented. - /// - public float WidthGiven; - - /// - /// To be documented. - /// - public float MinX; - - /// - /// To be documented. - /// - public float MaxX; - - /// - /// To be documented. - /// - public float WidthRequest; - - /// - /// To be documented. - /// - public float WidthAuto; - - /// - /// To be documented. - /// - public float WidthMax; - - /// - /// To be documented. - /// - public float StretchWeight; - - /// - /// To be documented. - /// - public float InitStretchWeightOrWidth; - - /// - /// To be documented. - /// - public ImRect ClipRect; - - /// - /// To be documented. - /// - public uint UserID; - - /// - /// To be documented. - /// - public float WorkMinX; - - /// - /// To be documented. - /// - public float WorkMaxX; - - /// - /// To be documented. - /// - public float ItemWidth; - - /// - /// To be documented. - /// - public float ContentMaxXFrozen; - - /// - /// To be documented. - /// - public float ContentMaxXUnfrozen; - - /// - /// To be documented. - /// - public float ContentMaxXHeadersUsed; - - /// - /// To be documented. - /// - public float ContentMaxXHeadersIdeal; - - /// - /// To be documented. - /// - public short NameOffset; - - /// - /// To be documented. - /// - public sbyte DisplayOrder; - - /// - /// To be documented. - /// - public sbyte IndexWithinEnabledSet; - - /// - /// To be documented. - /// - public sbyte PrevEnabledColumn; - - /// - /// To be documented. - /// - public sbyte NextEnabledColumn; - - /// - /// To be documented. - /// - public sbyte SortOrder; - - /// - /// To be documented. - /// - public byte DrawChannelCurrent; - - /// - /// To be documented. - /// - public byte DrawChannelFrozen; - - /// - /// To be documented. - /// - public byte DrawChannelUnfrozen; - - /// - /// To be documented. - /// - public byte IsEnabled; - - /// - /// To be documented. - /// - public byte IsUserEnabled; - - /// - /// To be documented. - /// - public byte IsUserEnabledNextFrame; - - /// - /// To be documented. - /// - public byte IsVisibleX; - - /// - /// To be documented. - /// - public byte IsVisibleY; - - /// - /// To be documented. - /// - public byte IsRequestOutput; - - /// - /// To be documented. - /// - public byte IsSkipItems; - - /// - /// To be documented. - /// - public byte IsPreserveWidthAuto; - - /// - /// To be documented. - /// - public byte NavLayerCurrent; - - /// - /// To be documented. - /// - public byte AutoFitQueue; - - /// - /// To be documented. - /// - public byte CannotSkipItemsQueue; - - /// - /// To be documented. - /// - public byte SortDirection; - - /// - /// To be documented. - /// - public byte SortDirectionsAvailCount; - - /// - /// To be documented. - /// - public byte SortDirectionsAvailMask; - - /// - /// To be documented. - /// - public byte SortDirectionsAvailList; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableColumn(ImGuiTableColumnFlags flags = default, float widthGiven = default, float minX = default, float maxX = default, float widthRequest = default, float widthAuto = default, float widthMax = default, float stretchWeight = default, float initStretchWeightOrWidth = default, ImRect clipRect = default, uint userId = default, float workMinX = default, float workMaxX = default, float itemWidth = default, float contentMaxXFrozen = default, float contentMaxXUnfrozen = default, float contentMaxXHeadersUsed = default, float contentMaxXHeadersIdeal = default, short nameOffset = default, sbyte displayOrder = default, sbyte indexWithinEnabledSet = default, sbyte prevEnabledColumn = default, sbyte nextEnabledColumn = default, sbyte sortOrder = default, byte drawChannelCurrent = default, byte drawChannelFrozen = default, byte drawChannelUnfrozen = default, bool isEnabled = default, bool isUserEnabled = default, bool isUserEnabledNextFrame = default, bool isVisibleX = default, bool isVisibleY = default, bool isRequestOutput = default, bool isSkipItems = default, bool isPreserveWidthAuto = default, byte navLayerCurrent = default, byte autoFitQueue = default, byte cannotSkipItemsQueue = default, byte sortDirection = default, byte sortDirectionsAvailCount = default, byte sortDirectionsAvailMask = default, byte sortDirectionsAvailList = default) - { - Flags = flags; - WidthGiven = widthGiven; - MinX = minX; - MaxX = maxX; - WidthRequest = widthRequest; - WidthAuto = widthAuto; - WidthMax = widthMax; - StretchWeight = stretchWeight; - InitStretchWeightOrWidth = initStretchWeightOrWidth; - ClipRect = clipRect; - UserID = userId; - WorkMinX = workMinX; - WorkMaxX = workMaxX; - ItemWidth = itemWidth; - ContentMaxXFrozen = contentMaxXFrozen; - ContentMaxXUnfrozen = contentMaxXUnfrozen; - ContentMaxXHeadersUsed = contentMaxXHeadersUsed; - ContentMaxXHeadersIdeal = contentMaxXHeadersIdeal; - NameOffset = nameOffset; - DisplayOrder = displayOrder; - IndexWithinEnabledSet = indexWithinEnabledSet; - PrevEnabledColumn = prevEnabledColumn; - NextEnabledColumn = nextEnabledColumn; - SortOrder = sortOrder; - DrawChannelCurrent = drawChannelCurrent; - DrawChannelFrozen = drawChannelFrozen; - DrawChannelUnfrozen = drawChannelUnfrozen; - IsEnabled = isEnabled ? (byte)1 : (byte)0; - IsUserEnabled = isUserEnabled ? (byte)1 : (byte)0; - IsUserEnabledNextFrame = isUserEnabledNextFrame ? (byte)1 : (byte)0; - IsVisibleX = isVisibleX ? (byte)1 : (byte)0; - IsVisibleY = isVisibleY ? (byte)1 : (byte)0; - IsRequestOutput = isRequestOutput ? (byte)1 : (byte)0; - IsSkipItems = isSkipItems ? (byte)1 : (byte)0; - IsPreserveWidthAuto = isPreserveWidthAuto ? (byte)1 : (byte)0; - NavLayerCurrent = navLayerCurrent; - AutoFitQueue = autoFitQueue; - CannotSkipItemsQueue = cannotSkipItemsQueue; - SortDirection = sortDirection; - SortDirectionsAvailCount = sortDirectionsAvailCount; - SortDirectionsAvailMask = sortDirectionsAvailMask; - SortDirectionsAvailList = sortDirectionsAvailList; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableColumnPtr : IEquatable - { - public ImGuiTableColumnPtr(ImGuiTableColumn* handle) { Handle = handle; } - - public ImGuiTableColumn* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableColumnPtr Null => new ImGuiTableColumnPtr(null); - - public ImGuiTableColumn this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableColumnPtr(ImGuiTableColumn* handle) => new ImGuiTableColumnPtr(handle); - - public static implicit operator ImGuiTableColumn*(ImGuiTableColumnPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableColumnPtr left, ImGuiTableColumnPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableColumnPtr left, ImGuiTableColumnPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableColumnPtr left, ImGuiTableColumn* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableColumnPtr left, ImGuiTableColumn* right) => left.Handle != right; - - public bool Equals(ImGuiTableColumnPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableColumnPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableColumnPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiTableColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref float WidthGiven => ref Unsafe.AsRef(&Handle->WidthGiven); - /// - /// To be documented. - /// - public ref float MinX => ref Unsafe.AsRef(&Handle->MinX); - /// - /// To be documented. - /// - public ref float MaxX => ref Unsafe.AsRef(&Handle->MaxX); - /// - /// To be documented. - /// - public ref float WidthRequest => ref Unsafe.AsRef(&Handle->WidthRequest); - /// - /// To be documented. - /// - public ref float WidthAuto => ref Unsafe.AsRef(&Handle->WidthAuto); - /// - /// To be documented. - /// - public ref float WidthMax => ref Unsafe.AsRef(&Handle->WidthMax); - /// - /// To be documented. - /// - public ref float StretchWeight => ref Unsafe.AsRef(&Handle->StretchWeight); - /// - /// To be documented. - /// - public ref float InitStretchWeightOrWidth => ref Unsafe.AsRef(&Handle->InitStretchWeightOrWidth); - /// - /// To be documented. - /// - public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); - /// - /// To be documented. - /// - public ref uint UserID => ref Unsafe.AsRef(&Handle->UserID); - /// - /// To be documented. - /// - public ref float WorkMinX => ref Unsafe.AsRef(&Handle->WorkMinX); - /// - /// To be documented. - /// - public ref float WorkMaxX => ref Unsafe.AsRef(&Handle->WorkMaxX); - /// - /// To be documented. - /// - public ref float ItemWidth => ref Unsafe.AsRef(&Handle->ItemWidth); - /// - /// To be documented. - /// - public ref float ContentMaxXFrozen => ref Unsafe.AsRef(&Handle->ContentMaxXFrozen); - /// - /// To be documented. - /// - public ref float ContentMaxXUnfrozen => ref Unsafe.AsRef(&Handle->ContentMaxXUnfrozen); - /// - /// To be documented. - /// - public ref float ContentMaxXHeadersUsed => ref Unsafe.AsRef(&Handle->ContentMaxXHeadersUsed); - /// - /// To be documented. - /// - public ref float ContentMaxXHeadersIdeal => ref Unsafe.AsRef(&Handle->ContentMaxXHeadersIdeal); - /// - /// To be documented. - /// - public ref short NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); - /// - /// To be documented. - /// - public ref sbyte DisplayOrder => ref Unsafe.AsRef(&Handle->DisplayOrder); - /// - /// To be documented. - /// - public ref sbyte IndexWithinEnabledSet => ref Unsafe.AsRef(&Handle->IndexWithinEnabledSet); - /// - /// To be documented. - /// - public ref sbyte PrevEnabledColumn => ref Unsafe.AsRef(&Handle->PrevEnabledColumn); - /// - /// To be documented. - /// - public ref sbyte NextEnabledColumn => ref Unsafe.AsRef(&Handle->NextEnabledColumn); - /// - /// To be documented. - /// - public ref sbyte SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); - /// - /// To be documented. - /// - public ref byte DrawChannelCurrent => ref Unsafe.AsRef(&Handle->DrawChannelCurrent); - /// - /// To be documented. - /// - public ref byte DrawChannelFrozen => ref Unsafe.AsRef(&Handle->DrawChannelFrozen); - /// - /// To be documented. - /// - public ref byte DrawChannelUnfrozen => ref Unsafe.AsRef(&Handle->DrawChannelUnfrozen); - /// - /// To be documented. - /// - public ref bool IsEnabled => ref Unsafe.AsRef(&Handle->IsEnabled); - /// - /// To be documented. - /// - public ref bool IsUserEnabled => ref Unsafe.AsRef(&Handle->IsUserEnabled); - /// - /// To be documented. - /// - public ref bool IsUserEnabledNextFrame => ref Unsafe.AsRef(&Handle->IsUserEnabledNextFrame); - /// - /// To be documented. - /// - public ref bool IsVisibleX => ref Unsafe.AsRef(&Handle->IsVisibleX); - /// - /// To be documented. - /// - public ref bool IsVisibleY => ref Unsafe.AsRef(&Handle->IsVisibleY); - /// - /// To be documented. - /// - public ref bool IsRequestOutput => ref Unsafe.AsRef(&Handle->IsRequestOutput); - /// - /// To be documented. - /// - public ref bool IsSkipItems => ref Unsafe.AsRef(&Handle->IsSkipItems); - /// - /// To be documented. - /// - public ref bool IsPreserveWidthAuto => ref Unsafe.AsRef(&Handle->IsPreserveWidthAuto); - /// - /// To be documented. - /// - public ref byte NavLayerCurrent => ref Unsafe.AsRef(&Handle->NavLayerCurrent); - /// - /// To be documented. - /// - public ref byte AutoFitQueue => ref Unsafe.AsRef(&Handle->AutoFitQueue); - /// - /// To be documented. - /// - public ref byte CannotSkipItemsQueue => ref Unsafe.AsRef(&Handle->CannotSkipItemsQueue); - /// - /// To be documented. - /// - public ref byte SortDirection => ref Unsafe.AsRef(&Handle->SortDirection); - /// - /// To be documented. - /// - public ref byte SortDirectionsAvailCount => ref Unsafe.AsRef(&Handle->SortDirectionsAvailCount); - /// - /// To be documented. - /// - public ref byte SortDirectionsAvailMask => ref Unsafe.AsRef(&Handle->SortDirectionsAvailMask); - /// - /// To be documented. - /// - public ref byte SortDirectionsAvailList => ref Unsafe.AsRef(&Handle->SortDirectionsAvailList); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs deleted file mode 100644 index 6bbc8dfe7..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSettings.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// sizeof() ~ 16
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableColumnSettings - { - /// - /// To be documented. - /// - public float WidthOrWeight; - - /// - /// To be documented. - /// - public uint UserID; - - /// - /// To be documented. - /// - public sbyte Index; - - /// - /// To be documented. - /// - public sbyte DisplayOrder; - - /// - /// To be documented. - /// - public sbyte SortOrder; - - /// - /// To be documented. - /// - public byte SortDirection; - - /// - /// To be documented. - /// - public byte IsEnabled; - - /// - /// To be documented. - /// - public byte IsStretch; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableColumnSettings(float widthOrWeight = default, uint userId = default, sbyte index = default, sbyte displayOrder = default, sbyte sortOrder = default, byte sortDirection = default, byte isEnabled = default, byte isStretch = default) - { - WidthOrWeight = widthOrWeight; - UserID = userId; - Index = index; - DisplayOrder = displayOrder; - SortOrder = sortOrder; - SortDirection = sortDirection; - IsEnabled = isEnabled; - IsStretch = isStretch; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableColumnSettingsPtr : IEquatable - { - public ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* handle) { Handle = handle; } - - public ImGuiTableColumnSettings* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableColumnSettingsPtr Null => new ImGuiTableColumnSettingsPtr(null); - - public ImGuiTableColumnSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* handle) => new ImGuiTableColumnSettingsPtr(handle); - - public static implicit operator ImGuiTableColumnSettings*(ImGuiTableColumnSettingsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettingsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettingsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettings* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettings* right) => left.Handle != right; - - public bool Equals(ImGuiTableColumnSettingsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableColumnSettingsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableColumnSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float WidthOrWeight => ref Unsafe.AsRef(&Handle->WidthOrWeight); - /// - /// To be documented. - /// - public ref uint UserID => ref Unsafe.AsRef(&Handle->UserID); - /// - /// To be documented. - /// - public ref sbyte Index => ref Unsafe.AsRef(&Handle->Index); - /// - /// To be documented. - /// - public ref sbyte DisplayOrder => ref Unsafe.AsRef(&Handle->DisplayOrder); - /// - /// To be documented. - /// - public ref sbyte SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); - /// - /// To be documented. - /// - public ref byte SortDirection => ref Unsafe.AsRef(&Handle->SortDirection); - /// - /// To be documented. - /// - public ref byte IsEnabled => ref Unsafe.AsRef(&Handle->IsEnabled); - /// - /// To be documented. - /// - public ref byte IsStretch => ref Unsafe.AsRef(&Handle->IsStretch); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs deleted file mode 100644 index c18257fe3..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnSortSpecs.cs +++ /dev/null @@ -1,138 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Sorting specification for one column of a table (sizeof == 12 bytes)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableColumnSortSpecs - { - /// - /// To be documented. - /// - public uint ColumnUserID; - - /// - /// To be documented. - /// - public short ColumnIndex; - - /// - /// To be documented. - /// - public short SortOrder; - - /// - /// To be documented. - /// - public ImGuiSortDirection SortDirection; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableColumnSortSpecs(uint columnUserId = default, short columnIndex = default, short sortOrder = default, ImGuiSortDirection sortDirection = default) - { - ColumnUserID = columnUserId; - ColumnIndex = columnIndex; - SortOrder = sortOrder; - SortDirection = sortDirection; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiTableColumnSortSpecs* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableColumnSortSpecsPtr : IEquatable - { - public ImGuiTableColumnSortSpecsPtr(ImGuiTableColumnSortSpecs* handle) { Handle = handle; } - - public ImGuiTableColumnSortSpecs* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableColumnSortSpecsPtr Null => new ImGuiTableColumnSortSpecsPtr(null); - - public ImGuiTableColumnSortSpecs this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableColumnSortSpecsPtr(ImGuiTableColumnSortSpecs* handle) => new ImGuiTableColumnSortSpecsPtr(handle); - - public static implicit operator ImGuiTableColumnSortSpecs*(ImGuiTableColumnSortSpecsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecs* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecs* right) => left.Handle != right; - - public bool Equals(ImGuiTableColumnSortSpecsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableColumnSortSpecsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableColumnSortSpecsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ColumnUserID => ref Unsafe.AsRef(&Handle->ColumnUserID); - /// - /// To be documented. - /// - public ref short ColumnIndex => ref Unsafe.AsRef(&Handle->ColumnIndex); - /// - /// To be documented. - /// - public ref short SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); - /// - /// To be documented. - /// - public ref ImGuiSortDirection SortDirection => ref Unsafe.AsRef(&Handle->SortDirection); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs deleted file mode 100644 index d6c967ffe..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableColumnsSettings.cs +++ /dev/null @@ -1,29 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableColumnsSettings - { - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableHeaderData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableHeaderData.cs deleted file mode 100644 index fc1b2b995..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableHeaderData.cs +++ /dev/null @@ -1,121 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Parameters for TableAngledHeadersRowEx()
- /// This may end up being refactored for more general purpose.
- /// sizeof() ~ 12 bytes
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableHeaderData - { - /// - /// To be documented. - /// - public sbyte Index; - - /// - /// To be documented. - /// - public uint TextColor; - - /// - /// To be documented. - /// - public uint BgColor0; - - /// - /// To be documented. - /// - public uint BgColor1; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableHeaderData(sbyte index = default, uint textColor = default, uint bgColor0 = default, uint bgColor1 = default) - { - Index = index; - TextColor = textColor; - BgColor0 = bgColor0; - BgColor1 = bgColor1; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableHeaderDataPtr : IEquatable - { - public ImGuiTableHeaderDataPtr(ImGuiTableHeaderData* handle) { Handle = handle; } - - public ImGuiTableHeaderData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableHeaderDataPtr Null => new ImGuiTableHeaderDataPtr(null); - - public ImGuiTableHeaderData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableHeaderDataPtr(ImGuiTableHeaderData* handle) => new ImGuiTableHeaderDataPtr(handle); - - public static implicit operator ImGuiTableHeaderData*(ImGuiTableHeaderDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableHeaderDataPtr left, ImGuiTableHeaderDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableHeaderDataPtr left, ImGuiTableHeaderDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableHeaderDataPtr left, ImGuiTableHeaderData* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableHeaderDataPtr left, ImGuiTableHeaderData* right) => left.Handle != right; - - public bool Equals(ImGuiTableHeaderDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableHeaderDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableHeaderDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref sbyte Index => ref Unsafe.AsRef(&Handle->Index); - /// - /// To be documented. - /// - public ref uint TextColor => ref Unsafe.AsRef(&Handle->TextColor); - /// - /// To be documented. - /// - public ref uint BgColor0 => ref Unsafe.AsRef(&Handle->BgColor0); - /// - /// To be documented. - /// - public ref uint BgColor1 => ref Unsafe.AsRef(&Handle->BgColor1); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableInstanceData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableInstanceData.cs deleted file mode 100644 index 5c62ed548..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableInstanceData.cs +++ /dev/null @@ -1,140 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)
- /// sizeof() ~ 24 bytes
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableInstanceData - { - /// - /// To be documented. - /// - public uint TableInstanceID; - - /// - /// To be documented. - /// - public float LastOuterHeight; - - /// - /// To be documented. - /// - public float LastTopHeadersRowHeight; - - /// - /// To be documented. - /// - public float LastFrozenHeight; - - /// - /// To be documented. - /// - public int HoveredRowLast; - - /// - /// To be documented. - /// - public int HoveredRowNext; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableInstanceData(uint tableInstanceId = default, float lastOuterHeight = default, float lastTopHeadersRowHeight = default, float lastFrozenHeight = default, int hoveredRowLast = default, int hoveredRowNext = default) - { - TableInstanceID = tableInstanceId; - LastOuterHeight = lastOuterHeight; - LastTopHeadersRowHeight = lastTopHeadersRowHeight; - LastFrozenHeight = lastFrozenHeight; - HoveredRowLast = hoveredRowLast; - HoveredRowNext = hoveredRowNext; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableInstanceDataPtr : IEquatable - { - public ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* handle) { Handle = handle; } - - public ImGuiTableInstanceData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableInstanceDataPtr Null => new ImGuiTableInstanceDataPtr(null); - - public ImGuiTableInstanceData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* handle) => new ImGuiTableInstanceDataPtr(handle); - - public static implicit operator ImGuiTableInstanceData*(ImGuiTableInstanceDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceData* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceData* right) => left.Handle != right; - - public bool Equals(ImGuiTableInstanceDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableInstanceDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableInstanceDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint TableInstanceID => ref Unsafe.AsRef(&Handle->TableInstanceID); - /// - /// To be documented. - /// - public ref float LastOuterHeight => ref Unsafe.AsRef(&Handle->LastOuterHeight); - /// - /// To be documented. - /// - public ref float LastTopHeadersRowHeight => ref Unsafe.AsRef(&Handle->LastTopHeadersRowHeight); - /// - /// To be documented. - /// - public ref float LastFrozenHeight => ref Unsafe.AsRef(&Handle->LastFrozenHeight); - /// - /// To be documented. - /// - public ref int HoveredRowLast => ref Unsafe.AsRef(&Handle->HoveredRowLast); - /// - /// To be documented. - /// - public ref int HoveredRowNext => ref Unsafe.AsRef(&Handle->HoveredRowNext); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSettings.cs deleted file mode 100644 index f99f09880..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSettings.cs +++ /dev/null @@ -1,139 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// This is designed to be stored in a single ImChunkStream (1 header followed by N ImGuiTableColumnSettings, etc.)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableSettings - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiTableFlags SaveFlags; - - /// - /// To be documented. - /// - public float RefScale; - - /// - /// To be documented. - /// - public sbyte ColumnsCount; - - /// - /// To be documented. - /// - public sbyte ColumnsCountMax; - - /// - /// To be documented. - /// - public byte WantApply; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableSettings(uint id = default, ImGuiTableFlags saveFlags = default, float refScale = default, sbyte columnsCount = default, sbyte columnsCountMax = default, bool wantApply = default) - { - ID = id; - SaveFlags = saveFlags; - RefScale = refScale; - ColumnsCount = columnsCount; - ColumnsCountMax = columnsCountMax; - WantApply = wantApply ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableSettingsPtr : IEquatable - { - public ImGuiTableSettingsPtr(ImGuiTableSettings* handle) { Handle = handle; } - - public ImGuiTableSettings* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableSettingsPtr Null => new ImGuiTableSettingsPtr(null); - - public ImGuiTableSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableSettingsPtr(ImGuiTableSettings* handle) => new ImGuiTableSettingsPtr(handle); - - public static implicit operator ImGuiTableSettings*(ImGuiTableSettingsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableSettingsPtr left, ImGuiTableSettingsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableSettingsPtr left, ImGuiTableSettingsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableSettingsPtr left, ImGuiTableSettings* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableSettingsPtr left, ImGuiTableSettings* right) => left.Handle != right; - - public bool Equals(ImGuiTableSettingsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableSettingsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiTableFlags SaveFlags => ref Unsafe.AsRef(&Handle->SaveFlags); - /// - /// To be documented. - /// - public ref float RefScale => ref Unsafe.AsRef(&Handle->RefScale); - /// - /// To be documented. - /// - public ref sbyte ColumnsCount => ref Unsafe.AsRef(&Handle->ColumnsCount); - /// - /// To be documented. - /// - public ref sbyte ColumnsCountMax => ref Unsafe.AsRef(&Handle->ColumnsCountMax); - /// - /// To be documented. - /// - public ref bool WantApply => ref Unsafe.AsRef(&Handle->WantApply); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs deleted file mode 100644 index b9283f90b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableSortSpecs.cs +++ /dev/null @@ -1,131 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Sorting specifications for a table (often handling sort specs for a single column, occasionally more)
- /// Obtained by calling TableGetSortSpecs().
- /// When 'SpecsDirty == true' you can sort your data. It will be true with sorting specs have changed since last call, or the first time.
- /// Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame!
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableSortSpecs - { - /// - /// To be documented. - /// - public unsafe ImGuiTableColumnSortSpecs* Specs; - - /// - /// To be documented. - /// - public int SpecsCount; - - /// - /// To be documented. - /// - public byte SpecsDirty; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableSortSpecs(ImGuiTableColumnSortSpecsPtr specs = default, int specsCount = default, bool specsDirty = default) - { - Specs = specs; - SpecsCount = specsCount; - SpecsDirty = specsDirty ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiTableSortSpecs* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableSortSpecsPtr : IEquatable - { - public ImGuiTableSortSpecsPtr(ImGuiTableSortSpecs* handle) { Handle = handle; } - - public ImGuiTableSortSpecs* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableSortSpecsPtr Null => new ImGuiTableSortSpecsPtr(null); - - public ImGuiTableSortSpecs this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableSortSpecsPtr(ImGuiTableSortSpecs* handle) => new ImGuiTableSortSpecsPtr(handle); - - public static implicit operator ImGuiTableSortSpecs*(ImGuiTableSortSpecsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecs* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecs* right) => left.Handle != right; - - public bool Equals(ImGuiTableSortSpecsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableSortSpecsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableSortSpecsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiTableColumnSortSpecsPtr Specs => ref Unsafe.AsRef(&Handle->Specs); - /// - /// To be documented. - /// - public ref int SpecsCount => ref Unsafe.AsRef(&Handle->SpecsCount); - /// - /// To be documented. - /// - public ref bool SpecsDirty => ref Unsafe.AsRef(&Handle->SpecsDirty); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableTempData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableTempData.cs deleted file mode 100644 index 01d8d718f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTableTempData.cs +++ /dev/null @@ -1,223 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).
- /// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.
- /// - We also leave out of this structure data that tend to be particularly useful for debuggingmetrics.
- /// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.
- /// sizeof() ~ 136 bytes.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTableTempData - { - /// - /// To be documented. - /// - public int TableIndex; - - /// - /// To be documented. - /// - public float LastTimeActive; - - /// - /// To be documented. - /// - public float AngledHeadersExtraWidth; - - /// - /// To be documented. - /// - public ImVector AngledHeadersRequests; - - /// - /// To be documented. - /// - public Vector2 UserOuterSize; - - /// - /// To be documented. - /// - public ImDrawListSplitter DrawSplitter; - - /// - /// To be documented. - /// - public ImRect HostBackupWorkRect; - - /// - /// To be documented. - /// - public ImRect HostBackupParentWorkRect; - - /// - /// To be documented. - /// - public Vector2 HostBackupPrevLineSize; - - /// - /// To be documented. - /// - public Vector2 HostBackupCurrLineSize; - - /// - /// To be documented. - /// - public Vector2 HostBackupCursorMaxPos; - - /// - /// To be documented. - /// - public ImVec1 HostBackupColumnsOffset; - - /// - /// To be documented. - /// - public float HostBackupItemWidth; - - /// - /// To be documented. - /// - public int HostBackupItemWidthStackSize; - - - /// - /// To be documented. - /// - public unsafe ImGuiTableTempData(int tableIndex = default, float lastTimeActive = default, float angledHeadersExtraWidth = default, ImVector angledHeadersRequests = default, Vector2 userOuterSize = default, ImDrawListSplitter drawSplitter = default, ImRect hostBackupWorkRect = default, ImRect hostBackupParentWorkRect = default, Vector2 hostBackupPrevLineSize = default, Vector2 hostBackupCurrLineSize = default, Vector2 hostBackupCursorMaxPos = default, ImVec1 hostBackupColumnsOffset = default, float hostBackupItemWidth = default, int hostBackupItemWidthStackSize = default) - { - TableIndex = tableIndex; - LastTimeActive = lastTimeActive; - AngledHeadersExtraWidth = angledHeadersExtraWidth; - AngledHeadersRequests = angledHeadersRequests; - UserOuterSize = userOuterSize; - DrawSplitter = drawSplitter; - HostBackupWorkRect = hostBackupWorkRect; - HostBackupParentWorkRect = hostBackupParentWorkRect; - HostBackupPrevLineSize = hostBackupPrevLineSize; - HostBackupCurrLineSize = hostBackupCurrLineSize; - HostBackupCursorMaxPos = hostBackupCursorMaxPos; - HostBackupColumnsOffset = hostBackupColumnsOffset; - HostBackupItemWidth = hostBackupItemWidth; - HostBackupItemWidthStackSize = hostBackupItemWidthStackSize; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTableTempDataPtr : IEquatable - { - public ImGuiTableTempDataPtr(ImGuiTableTempData* handle) { Handle = handle; } - - public ImGuiTableTempData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTableTempDataPtr Null => new ImGuiTableTempDataPtr(null); - - public ImGuiTableTempData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTableTempDataPtr(ImGuiTableTempData* handle) => new ImGuiTableTempDataPtr(handle); - - public static implicit operator ImGuiTableTempData*(ImGuiTableTempDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTableTempDataPtr left, ImGuiTableTempDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTableTempDataPtr left, ImGuiTableTempDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTableTempDataPtr left, ImGuiTableTempData* right) => left.Handle == right; - - public static bool operator !=(ImGuiTableTempDataPtr left, ImGuiTableTempData* right) => left.Handle != right; - - public bool Equals(ImGuiTableTempDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTableTempDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTableTempDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref int TableIndex => ref Unsafe.AsRef(&Handle->TableIndex); - /// - /// To be documented. - /// - public ref float LastTimeActive => ref Unsafe.AsRef(&Handle->LastTimeActive); - /// - /// To be documented. - /// - public ref float AngledHeadersExtraWidth => ref Unsafe.AsRef(&Handle->AngledHeadersExtraWidth); - /// - /// To be documented. - /// - public ref ImVector AngledHeadersRequests => ref Unsafe.AsRef>(&Handle->AngledHeadersRequests); - /// - /// To be documented. - /// - public ref Vector2 UserOuterSize => ref Unsafe.AsRef(&Handle->UserOuterSize); - /// - /// To be documented. - /// - public ref ImDrawListSplitter DrawSplitter => ref Unsafe.AsRef(&Handle->DrawSplitter); - /// - /// To be documented. - /// - public ref ImRect HostBackupWorkRect => ref Unsafe.AsRef(&Handle->HostBackupWorkRect); - /// - /// To be documented. - /// - public ref ImRect HostBackupParentWorkRect => ref Unsafe.AsRef(&Handle->HostBackupParentWorkRect); - /// - /// To be documented. - /// - public ref Vector2 HostBackupPrevLineSize => ref Unsafe.AsRef(&Handle->HostBackupPrevLineSize); - /// - /// To be documented. - /// - public ref Vector2 HostBackupCurrLineSize => ref Unsafe.AsRef(&Handle->HostBackupCurrLineSize); - /// - /// To be documented. - /// - public ref Vector2 HostBackupCursorMaxPos => ref Unsafe.AsRef(&Handle->HostBackupCursorMaxPos); - /// - /// To be documented. - /// - public ref ImVec1 HostBackupColumnsOffset => ref Unsafe.AsRef(&Handle->HostBackupColumnsOffset); - /// - /// To be documented. - /// - public ref float HostBackupItemWidth => ref Unsafe.AsRef(&Handle->HostBackupItemWidth); - /// - /// To be documented. - /// - public ref int HostBackupItemWidthStackSize => ref Unsafe.AsRef(&Handle->HostBackupItemWidthStackSize); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextBuffer.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextBuffer.cs deleted file mode 100644 index 8175025fd..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextBuffer.cs +++ /dev/null @@ -1,1460 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: Growable text buffer for loggingaccumulating text
- /// (this could be called 'ImGuiTextBuilder' 'ImGuiStringBuilder')
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTextBuffer - { - /// - /// To be documented. - /// - public ImVector Buf; - - - /// - /// To be documented. - /// - public unsafe ImGuiTextBuffer(ImVector buf = default) - { - Buf = buf; - } - - - /// - /// To be documented. - /// - public unsafe void append(byte* str, byte* strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.appendNative(@this, str, strEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str) - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.appendNative(@this, str, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, byte* strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = &str) - { - ImGui.appendNative(@this, (byte*)pstr, strEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = &str) - { - ImGui.appendNative(@this, (byte*)pstr, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, byte* strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = str) - { - ImGui.appendNative(@this, (byte*)pstr, strEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = str) - { - ImGui.appendNative(@this, (byte*)pstr, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, byte* strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(@this, pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(@this, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(@this, str, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(@this, str, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str, string strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(@this, str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, string strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.appendNative(@this, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, string strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(@this, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(@this, (byte*)pstr, (byte*)pstrEnd); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, string strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(@this, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, ref byte strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(@this, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, ReadOnlySpan strEnd) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(@this, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(byte* fmt) - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.appendfNative(@this, fmt); - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(ref byte fmt) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pfmt = &fmt) - { - ImGui.appendfNative(@this, (byte*)pfmt); - } - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(ReadOnlySpan fmt) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pfmt = fmt) - { - ImGui.appendfNative(@this, (byte*)pfmt); - } - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(string fmt) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendfNative(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(byte* fmt, nuint args) - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.appendfvNative(@this, fmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(ref byte fmt, nuint args) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pfmt = &fmt) - { - ImGui.appendfvNative(@this, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(ReadOnlySpan fmt, nuint args) - { - fixed (ImGuiTextBuffer* @this = &this) - { - fixed (byte* pfmt = fmt) - { - ImGui.appendfvNative(@this, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(string fmt, nuint args) - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendfvNative(@this, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe byte* begin() - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* ret = ImGui.beginNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string beginS() - { - fixed (ImGuiTextBuffer* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImGui.beginNative(@this)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* c_str() - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* ret = ImGui.c_strNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string c_strS() - { - fixed (ImGuiTextBuffer* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImGui.c_strNative(@this)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void clear() - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.clearNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool empty() - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte ret = ImGui.emptyNative(@this); - return ret != 0; - } - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public unsafe byte* end() - { - fixed (ImGuiTextBuffer* @this = &this) - { - byte* ret = ImGui.endNative(@this); - return ret; - } - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public unsafe string endS() - { - fixed (ImGuiTextBuffer* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImGui.endNative(@this)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void reserve(int capacity) - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.reserveNative(@this, capacity); - } - } - - /// - /// Similar to resize(0) on ImVector: empty string but don't free buffer.
- ///
- public unsafe void resize(int size) - { - fixed (ImGuiTextBuffer* @this = &this) - { - ImGui.resizeNative(@this, size); - } - } - - /// - /// To be documented. - /// - public unsafe int size() - { - fixed (ImGuiTextBuffer* @this = &this) - { - int ret = ImGui.sizeNative(@this); - return ret; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTextBufferPtr : IEquatable - { - public ImGuiTextBufferPtr(ImGuiTextBuffer* handle) { Handle = handle; } - - public ImGuiTextBuffer* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTextBufferPtr Null => new ImGuiTextBufferPtr(null); - - public ImGuiTextBuffer this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTextBufferPtr(ImGuiTextBuffer* handle) => new ImGuiTextBufferPtr(handle); - - public static implicit operator ImGuiTextBuffer*(ImGuiTextBufferPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTextBufferPtr left, ImGuiTextBufferPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTextBufferPtr left, ImGuiTextBufferPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTextBufferPtr left, ImGuiTextBuffer* right) => left.Handle == right; - - public static bool operator !=(ImGuiTextBufferPtr left, ImGuiTextBuffer* right) => left.Handle != right; - - public bool Equals(ImGuiTextBufferPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTextBufferPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTextBufferPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Buf => ref Unsafe.AsRef>(&Handle->Buf); - /// - /// To be documented. - /// - public unsafe void append(byte* str, byte* strEnd) - { - ImGui.appendNative(Handle, str, strEnd); - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str) - { - ImGui.appendNative(Handle, str, (byte*)(default)); - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, byte* strEnd) - { - fixed (byte* pstr = &str) - { - ImGui.appendNative(Handle, (byte*)pstr, strEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str) - { - fixed (byte* pstr = &str) - { - ImGui.appendNative(Handle, (byte*)pstr, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, byte* strEnd) - { - fixed (byte* pstr = str) - { - ImGui.appendNative(Handle, (byte*)pstr, strEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - ImGui.appendNative(Handle, (byte*)pstr, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, byte* strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(Handle, pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(Handle, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str, ref byte strEnd) - { - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(Handle, str, (byte*)pstrEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str, ReadOnlySpan strEnd) - { - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(Handle, str, (byte*)pstrEnd); - } - } - - /// - /// To be documented. - /// - public unsafe void append(byte* str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(Handle, str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, ref byte strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImGui.appendNative(Handle, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ref byte str, string strEnd) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(Handle, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, ref byte strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(Handle, (byte*)pstr, (byte*)pstrEnd); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(ReadOnlySpan str, string strEnd) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendNative(Handle, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, ref byte strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - ImGui.appendNative(Handle, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void append(string str, ReadOnlySpan strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - ImGui.appendNative(Handle, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(byte* fmt) - { - ImGui.appendfNative(Handle, fmt); - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - ImGui.appendfNative(Handle, (byte*)pfmt); - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - ImGui.appendfNative(Handle, (byte*)pfmt); - } - } - - /// - /// no appendfV
- ///
- public unsafe void appendf(string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendfNative(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(byte* fmt, nuint args) - { - ImGui.appendfvNative(Handle, fmt, args); - } - - /// - /// To be documented. - /// - public unsafe void appendfv(ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - ImGui.appendfvNative(Handle, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - ImGui.appendfvNative(Handle, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void appendfv(string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGui.appendfvNative(Handle, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe byte* begin() - { - byte* ret = ImGui.beginNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string beginS() - { - string ret = Utils.DecodeStringUTF8(ImGui.beginNative(Handle)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* c_str() - { - byte* ret = ImGui.c_strNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string c_strS() - { - string ret = Utils.DecodeStringUTF8(ImGui.c_strNative(Handle)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void clear() - { - ImGui.clearNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool empty() - { - byte ret = ImGui.emptyNative(Handle); - return ret != 0; - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public unsafe byte* end() - { - byte* ret = ImGui.endNative(Handle); - return ret; - } - - /// - /// Buf is zero-terminated, so end() will point on the zero-terminator
- ///
- public unsafe string endS() - { - string ret = Utils.DecodeStringUTF8(ImGui.endNative(Handle)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void reserve(int capacity) - { - ImGui.reserveNative(Handle, capacity); - } - - /// - /// Similar to resize(0) on ImVector: empty string but don't free buffer.
- ///
- public unsafe void resize(int size) - { - ImGui.resizeNative(Handle, size); - } - - /// - /// To be documented. - /// - public unsafe int size() - { - int ret = ImGui.sizeNative(Handle); - return ret; - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextFilter.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextFilter.cs deleted file mode 100644 index 77530d338..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextFilter.cs +++ /dev/null @@ -1,2199 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTextFilter - { - /// - /// To be documented. - /// - public byte InputBuf_0; - public byte InputBuf_1; - public byte InputBuf_2; - public byte InputBuf_3; - public byte InputBuf_4; - public byte InputBuf_5; - public byte InputBuf_6; - public byte InputBuf_7; - public byte InputBuf_8; - public byte InputBuf_9; - public byte InputBuf_10; - public byte InputBuf_11; - public byte InputBuf_12; - public byte InputBuf_13; - public byte InputBuf_14; - public byte InputBuf_15; - public byte InputBuf_16; - public byte InputBuf_17; - public byte InputBuf_18; - public byte InputBuf_19; - public byte InputBuf_20; - public byte InputBuf_21; - public byte InputBuf_22; - public byte InputBuf_23; - public byte InputBuf_24; - public byte InputBuf_25; - public byte InputBuf_26; - public byte InputBuf_27; - public byte InputBuf_28; - public byte InputBuf_29; - public byte InputBuf_30; - public byte InputBuf_31; - public byte InputBuf_32; - public byte InputBuf_33; - public byte InputBuf_34; - public byte InputBuf_35; - public byte InputBuf_36; - public byte InputBuf_37; - public byte InputBuf_38; - public byte InputBuf_39; - public byte InputBuf_40; - public byte InputBuf_41; - public byte InputBuf_42; - public byte InputBuf_43; - public byte InputBuf_44; - public byte InputBuf_45; - public byte InputBuf_46; - public byte InputBuf_47; - public byte InputBuf_48; - public byte InputBuf_49; - public byte InputBuf_50; - public byte InputBuf_51; - public byte InputBuf_52; - public byte InputBuf_53; - public byte InputBuf_54; - public byte InputBuf_55; - public byte InputBuf_56; - public byte InputBuf_57; - public byte InputBuf_58; - public byte InputBuf_59; - public byte InputBuf_60; - public byte InputBuf_61; - public byte InputBuf_62; - public byte InputBuf_63; - public byte InputBuf_64; - public byte InputBuf_65; - public byte InputBuf_66; - public byte InputBuf_67; - public byte InputBuf_68; - public byte InputBuf_69; - public byte InputBuf_70; - public byte InputBuf_71; - public byte InputBuf_72; - public byte InputBuf_73; - public byte InputBuf_74; - public byte InputBuf_75; - public byte InputBuf_76; - public byte InputBuf_77; - public byte InputBuf_78; - public byte InputBuf_79; - public byte InputBuf_80; - public byte InputBuf_81; - public byte InputBuf_82; - public byte InputBuf_83; - public byte InputBuf_84; - public byte InputBuf_85; - public byte InputBuf_86; - public byte InputBuf_87; - public byte InputBuf_88; - public byte InputBuf_89; - public byte InputBuf_90; - public byte InputBuf_91; - public byte InputBuf_92; - public byte InputBuf_93; - public byte InputBuf_94; - public byte InputBuf_95; - public byte InputBuf_96; - public byte InputBuf_97; - public byte InputBuf_98; - public byte InputBuf_99; - public byte InputBuf_100; - public byte InputBuf_101; - public byte InputBuf_102; - public byte InputBuf_103; - public byte InputBuf_104; - public byte InputBuf_105; - public byte InputBuf_106; - public byte InputBuf_107; - public byte InputBuf_108; - public byte InputBuf_109; - public byte InputBuf_110; - public byte InputBuf_111; - public byte InputBuf_112; - public byte InputBuf_113; - public byte InputBuf_114; - public byte InputBuf_115; - public byte InputBuf_116; - public byte InputBuf_117; - public byte InputBuf_118; - public byte InputBuf_119; - public byte InputBuf_120; - public byte InputBuf_121; - public byte InputBuf_122; - public byte InputBuf_123; - public byte InputBuf_124; - public byte InputBuf_125; - public byte InputBuf_126; - public byte InputBuf_127; - public byte InputBuf_128; - public byte InputBuf_129; - public byte InputBuf_130; - public byte InputBuf_131; - public byte InputBuf_132; - public byte InputBuf_133; - public byte InputBuf_134; - public byte InputBuf_135; - public byte InputBuf_136; - public byte InputBuf_137; - public byte InputBuf_138; - public byte InputBuf_139; - public byte InputBuf_140; - public byte InputBuf_141; - public byte InputBuf_142; - public byte InputBuf_143; - public byte InputBuf_144; - public byte InputBuf_145; - public byte InputBuf_146; - public byte InputBuf_147; - public byte InputBuf_148; - public byte InputBuf_149; - public byte InputBuf_150; - public byte InputBuf_151; - public byte InputBuf_152; - public byte InputBuf_153; - public byte InputBuf_154; - public byte InputBuf_155; - public byte InputBuf_156; - public byte InputBuf_157; - public byte InputBuf_158; - public byte InputBuf_159; - public byte InputBuf_160; - public byte InputBuf_161; - public byte InputBuf_162; - public byte InputBuf_163; - public byte InputBuf_164; - public byte InputBuf_165; - public byte InputBuf_166; - public byte InputBuf_167; - public byte InputBuf_168; - public byte InputBuf_169; - public byte InputBuf_170; - public byte InputBuf_171; - public byte InputBuf_172; - public byte InputBuf_173; - public byte InputBuf_174; - public byte InputBuf_175; - public byte InputBuf_176; - public byte InputBuf_177; - public byte InputBuf_178; - public byte InputBuf_179; - public byte InputBuf_180; - public byte InputBuf_181; - public byte InputBuf_182; - public byte InputBuf_183; - public byte InputBuf_184; - public byte InputBuf_185; - public byte InputBuf_186; - public byte InputBuf_187; - public byte InputBuf_188; - public byte InputBuf_189; - public byte InputBuf_190; - public byte InputBuf_191; - public byte InputBuf_192; - public byte InputBuf_193; - public byte InputBuf_194; - public byte InputBuf_195; - public byte InputBuf_196; - public byte InputBuf_197; - public byte InputBuf_198; - public byte InputBuf_199; - public byte InputBuf_200; - public byte InputBuf_201; - public byte InputBuf_202; - public byte InputBuf_203; - public byte InputBuf_204; - public byte InputBuf_205; - public byte InputBuf_206; - public byte InputBuf_207; - public byte InputBuf_208; - public byte InputBuf_209; - public byte InputBuf_210; - public byte InputBuf_211; - public byte InputBuf_212; - public byte InputBuf_213; - public byte InputBuf_214; - public byte InputBuf_215; - public byte InputBuf_216; - public byte InputBuf_217; - public byte InputBuf_218; - public byte InputBuf_219; - public byte InputBuf_220; - public byte InputBuf_221; - public byte InputBuf_222; - public byte InputBuf_223; - public byte InputBuf_224; - public byte InputBuf_225; - public byte InputBuf_226; - public byte InputBuf_227; - public byte InputBuf_228; - public byte InputBuf_229; - public byte InputBuf_230; - public byte InputBuf_231; - public byte InputBuf_232; - public byte InputBuf_233; - public byte InputBuf_234; - public byte InputBuf_235; - public byte InputBuf_236; - public byte InputBuf_237; - public byte InputBuf_238; - public byte InputBuf_239; - public byte InputBuf_240; - public byte InputBuf_241; - public byte InputBuf_242; - public byte InputBuf_243; - public byte InputBuf_244; - public byte InputBuf_245; - public byte InputBuf_246; - public byte InputBuf_247; - public byte InputBuf_248; - public byte InputBuf_249; - public byte InputBuf_250; - public byte InputBuf_251; - public byte InputBuf_252; - public byte InputBuf_253; - public byte InputBuf_254; - public byte InputBuf_255; - - /// - /// To be documented. - /// - public ImVector Filters; - - /// - /// To be documented. - /// - public int CountGrep; - - - /// - /// To be documented. - /// - public unsafe ImGuiTextFilter(byte* inputBuf = default, ImVector filters = default, int countGrep = default) - { - if (inputBuf != default(byte*)) - { - InputBuf_0 = inputBuf[0]; - InputBuf_1 = inputBuf[1]; - InputBuf_2 = inputBuf[2]; - InputBuf_3 = inputBuf[3]; - InputBuf_4 = inputBuf[4]; - InputBuf_5 = inputBuf[5]; - InputBuf_6 = inputBuf[6]; - InputBuf_7 = inputBuf[7]; - InputBuf_8 = inputBuf[8]; - InputBuf_9 = inputBuf[9]; - InputBuf_10 = inputBuf[10]; - InputBuf_11 = inputBuf[11]; - InputBuf_12 = inputBuf[12]; - InputBuf_13 = inputBuf[13]; - InputBuf_14 = inputBuf[14]; - InputBuf_15 = inputBuf[15]; - InputBuf_16 = inputBuf[16]; - InputBuf_17 = inputBuf[17]; - InputBuf_18 = inputBuf[18]; - InputBuf_19 = inputBuf[19]; - InputBuf_20 = inputBuf[20]; - InputBuf_21 = inputBuf[21]; - InputBuf_22 = inputBuf[22]; - InputBuf_23 = inputBuf[23]; - InputBuf_24 = inputBuf[24]; - InputBuf_25 = inputBuf[25]; - InputBuf_26 = inputBuf[26]; - InputBuf_27 = inputBuf[27]; - InputBuf_28 = inputBuf[28]; - InputBuf_29 = inputBuf[29]; - InputBuf_30 = inputBuf[30]; - InputBuf_31 = inputBuf[31]; - InputBuf_32 = inputBuf[32]; - InputBuf_33 = inputBuf[33]; - InputBuf_34 = inputBuf[34]; - InputBuf_35 = inputBuf[35]; - InputBuf_36 = inputBuf[36]; - InputBuf_37 = inputBuf[37]; - InputBuf_38 = inputBuf[38]; - InputBuf_39 = inputBuf[39]; - InputBuf_40 = inputBuf[40]; - InputBuf_41 = inputBuf[41]; - InputBuf_42 = inputBuf[42]; - InputBuf_43 = inputBuf[43]; - InputBuf_44 = inputBuf[44]; - InputBuf_45 = inputBuf[45]; - InputBuf_46 = inputBuf[46]; - InputBuf_47 = inputBuf[47]; - InputBuf_48 = inputBuf[48]; - InputBuf_49 = inputBuf[49]; - InputBuf_50 = inputBuf[50]; - InputBuf_51 = inputBuf[51]; - InputBuf_52 = inputBuf[52]; - InputBuf_53 = inputBuf[53]; - InputBuf_54 = inputBuf[54]; - InputBuf_55 = inputBuf[55]; - InputBuf_56 = inputBuf[56]; - InputBuf_57 = inputBuf[57]; - InputBuf_58 = inputBuf[58]; - InputBuf_59 = inputBuf[59]; - InputBuf_60 = inputBuf[60]; - InputBuf_61 = inputBuf[61]; - InputBuf_62 = inputBuf[62]; - InputBuf_63 = inputBuf[63]; - InputBuf_64 = inputBuf[64]; - InputBuf_65 = inputBuf[65]; - InputBuf_66 = inputBuf[66]; - InputBuf_67 = inputBuf[67]; - InputBuf_68 = inputBuf[68]; - InputBuf_69 = inputBuf[69]; - InputBuf_70 = inputBuf[70]; - InputBuf_71 = inputBuf[71]; - InputBuf_72 = inputBuf[72]; - InputBuf_73 = inputBuf[73]; - InputBuf_74 = inputBuf[74]; - InputBuf_75 = inputBuf[75]; - InputBuf_76 = inputBuf[76]; - InputBuf_77 = inputBuf[77]; - InputBuf_78 = inputBuf[78]; - InputBuf_79 = inputBuf[79]; - InputBuf_80 = inputBuf[80]; - InputBuf_81 = inputBuf[81]; - InputBuf_82 = inputBuf[82]; - InputBuf_83 = inputBuf[83]; - InputBuf_84 = inputBuf[84]; - InputBuf_85 = inputBuf[85]; - InputBuf_86 = inputBuf[86]; - InputBuf_87 = inputBuf[87]; - InputBuf_88 = inputBuf[88]; - InputBuf_89 = inputBuf[89]; - InputBuf_90 = inputBuf[90]; - InputBuf_91 = inputBuf[91]; - InputBuf_92 = inputBuf[92]; - InputBuf_93 = inputBuf[93]; - InputBuf_94 = inputBuf[94]; - InputBuf_95 = inputBuf[95]; - InputBuf_96 = inputBuf[96]; - InputBuf_97 = inputBuf[97]; - InputBuf_98 = inputBuf[98]; - InputBuf_99 = inputBuf[99]; - InputBuf_100 = inputBuf[100]; - InputBuf_101 = inputBuf[101]; - InputBuf_102 = inputBuf[102]; - InputBuf_103 = inputBuf[103]; - InputBuf_104 = inputBuf[104]; - InputBuf_105 = inputBuf[105]; - InputBuf_106 = inputBuf[106]; - InputBuf_107 = inputBuf[107]; - InputBuf_108 = inputBuf[108]; - InputBuf_109 = inputBuf[109]; - InputBuf_110 = inputBuf[110]; - InputBuf_111 = inputBuf[111]; - InputBuf_112 = inputBuf[112]; - InputBuf_113 = inputBuf[113]; - InputBuf_114 = inputBuf[114]; - InputBuf_115 = inputBuf[115]; - InputBuf_116 = inputBuf[116]; - InputBuf_117 = inputBuf[117]; - InputBuf_118 = inputBuf[118]; - InputBuf_119 = inputBuf[119]; - InputBuf_120 = inputBuf[120]; - InputBuf_121 = inputBuf[121]; - InputBuf_122 = inputBuf[122]; - InputBuf_123 = inputBuf[123]; - InputBuf_124 = inputBuf[124]; - InputBuf_125 = inputBuf[125]; - InputBuf_126 = inputBuf[126]; - InputBuf_127 = inputBuf[127]; - InputBuf_128 = inputBuf[128]; - InputBuf_129 = inputBuf[129]; - InputBuf_130 = inputBuf[130]; - InputBuf_131 = inputBuf[131]; - InputBuf_132 = inputBuf[132]; - InputBuf_133 = inputBuf[133]; - InputBuf_134 = inputBuf[134]; - InputBuf_135 = inputBuf[135]; - InputBuf_136 = inputBuf[136]; - InputBuf_137 = inputBuf[137]; - InputBuf_138 = inputBuf[138]; - InputBuf_139 = inputBuf[139]; - InputBuf_140 = inputBuf[140]; - InputBuf_141 = inputBuf[141]; - InputBuf_142 = inputBuf[142]; - InputBuf_143 = inputBuf[143]; - InputBuf_144 = inputBuf[144]; - InputBuf_145 = inputBuf[145]; - InputBuf_146 = inputBuf[146]; - InputBuf_147 = inputBuf[147]; - InputBuf_148 = inputBuf[148]; - InputBuf_149 = inputBuf[149]; - InputBuf_150 = inputBuf[150]; - InputBuf_151 = inputBuf[151]; - InputBuf_152 = inputBuf[152]; - InputBuf_153 = inputBuf[153]; - InputBuf_154 = inputBuf[154]; - InputBuf_155 = inputBuf[155]; - InputBuf_156 = inputBuf[156]; - InputBuf_157 = inputBuf[157]; - InputBuf_158 = inputBuf[158]; - InputBuf_159 = inputBuf[159]; - InputBuf_160 = inputBuf[160]; - InputBuf_161 = inputBuf[161]; - InputBuf_162 = inputBuf[162]; - InputBuf_163 = inputBuf[163]; - InputBuf_164 = inputBuf[164]; - InputBuf_165 = inputBuf[165]; - InputBuf_166 = inputBuf[166]; - InputBuf_167 = inputBuf[167]; - InputBuf_168 = inputBuf[168]; - InputBuf_169 = inputBuf[169]; - InputBuf_170 = inputBuf[170]; - InputBuf_171 = inputBuf[171]; - InputBuf_172 = inputBuf[172]; - InputBuf_173 = inputBuf[173]; - InputBuf_174 = inputBuf[174]; - InputBuf_175 = inputBuf[175]; - InputBuf_176 = inputBuf[176]; - InputBuf_177 = inputBuf[177]; - InputBuf_178 = inputBuf[178]; - InputBuf_179 = inputBuf[179]; - InputBuf_180 = inputBuf[180]; - InputBuf_181 = inputBuf[181]; - InputBuf_182 = inputBuf[182]; - InputBuf_183 = inputBuf[183]; - InputBuf_184 = inputBuf[184]; - InputBuf_185 = inputBuf[185]; - InputBuf_186 = inputBuf[186]; - InputBuf_187 = inputBuf[187]; - InputBuf_188 = inputBuf[188]; - InputBuf_189 = inputBuf[189]; - InputBuf_190 = inputBuf[190]; - InputBuf_191 = inputBuf[191]; - InputBuf_192 = inputBuf[192]; - InputBuf_193 = inputBuf[193]; - InputBuf_194 = inputBuf[194]; - InputBuf_195 = inputBuf[195]; - InputBuf_196 = inputBuf[196]; - InputBuf_197 = inputBuf[197]; - InputBuf_198 = inputBuf[198]; - InputBuf_199 = inputBuf[199]; - InputBuf_200 = inputBuf[200]; - InputBuf_201 = inputBuf[201]; - InputBuf_202 = inputBuf[202]; - InputBuf_203 = inputBuf[203]; - InputBuf_204 = inputBuf[204]; - InputBuf_205 = inputBuf[205]; - InputBuf_206 = inputBuf[206]; - InputBuf_207 = inputBuf[207]; - InputBuf_208 = inputBuf[208]; - InputBuf_209 = inputBuf[209]; - InputBuf_210 = inputBuf[210]; - InputBuf_211 = inputBuf[211]; - InputBuf_212 = inputBuf[212]; - InputBuf_213 = inputBuf[213]; - InputBuf_214 = inputBuf[214]; - InputBuf_215 = inputBuf[215]; - InputBuf_216 = inputBuf[216]; - InputBuf_217 = inputBuf[217]; - InputBuf_218 = inputBuf[218]; - InputBuf_219 = inputBuf[219]; - InputBuf_220 = inputBuf[220]; - InputBuf_221 = inputBuf[221]; - InputBuf_222 = inputBuf[222]; - InputBuf_223 = inputBuf[223]; - InputBuf_224 = inputBuf[224]; - InputBuf_225 = inputBuf[225]; - InputBuf_226 = inputBuf[226]; - InputBuf_227 = inputBuf[227]; - InputBuf_228 = inputBuf[228]; - InputBuf_229 = inputBuf[229]; - InputBuf_230 = inputBuf[230]; - InputBuf_231 = inputBuf[231]; - InputBuf_232 = inputBuf[232]; - InputBuf_233 = inputBuf[233]; - InputBuf_234 = inputBuf[234]; - InputBuf_235 = inputBuf[235]; - InputBuf_236 = inputBuf[236]; - InputBuf_237 = inputBuf[237]; - InputBuf_238 = inputBuf[238]; - InputBuf_239 = inputBuf[239]; - InputBuf_240 = inputBuf[240]; - InputBuf_241 = inputBuf[241]; - InputBuf_242 = inputBuf[242]; - InputBuf_243 = inputBuf[243]; - InputBuf_244 = inputBuf[244]; - InputBuf_245 = inputBuf[245]; - InputBuf_246 = inputBuf[246]; - InputBuf_247 = inputBuf[247]; - InputBuf_248 = inputBuf[248]; - InputBuf_249 = inputBuf[249]; - InputBuf_250 = inputBuf[250]; - InputBuf_251 = inputBuf[251]; - InputBuf_252 = inputBuf[252]; - InputBuf_253 = inputBuf[253]; - InputBuf_254 = inputBuf[254]; - InputBuf_255 = inputBuf[255]; - } - Filters = filters; - CountGrep = countGrep; - } - - /// - /// To be documented. - /// - public unsafe ImGuiTextFilter(Span inputBuf = default, ImVector filters = default, int countGrep = default) - { - if (inputBuf != default(Span)) - { - InputBuf_0 = inputBuf[0]; - InputBuf_1 = inputBuf[1]; - InputBuf_2 = inputBuf[2]; - InputBuf_3 = inputBuf[3]; - InputBuf_4 = inputBuf[4]; - InputBuf_5 = inputBuf[5]; - InputBuf_6 = inputBuf[6]; - InputBuf_7 = inputBuf[7]; - InputBuf_8 = inputBuf[8]; - InputBuf_9 = inputBuf[9]; - InputBuf_10 = inputBuf[10]; - InputBuf_11 = inputBuf[11]; - InputBuf_12 = inputBuf[12]; - InputBuf_13 = inputBuf[13]; - InputBuf_14 = inputBuf[14]; - InputBuf_15 = inputBuf[15]; - InputBuf_16 = inputBuf[16]; - InputBuf_17 = inputBuf[17]; - InputBuf_18 = inputBuf[18]; - InputBuf_19 = inputBuf[19]; - InputBuf_20 = inputBuf[20]; - InputBuf_21 = inputBuf[21]; - InputBuf_22 = inputBuf[22]; - InputBuf_23 = inputBuf[23]; - InputBuf_24 = inputBuf[24]; - InputBuf_25 = inputBuf[25]; - InputBuf_26 = inputBuf[26]; - InputBuf_27 = inputBuf[27]; - InputBuf_28 = inputBuf[28]; - InputBuf_29 = inputBuf[29]; - InputBuf_30 = inputBuf[30]; - InputBuf_31 = inputBuf[31]; - InputBuf_32 = inputBuf[32]; - InputBuf_33 = inputBuf[33]; - InputBuf_34 = inputBuf[34]; - InputBuf_35 = inputBuf[35]; - InputBuf_36 = inputBuf[36]; - InputBuf_37 = inputBuf[37]; - InputBuf_38 = inputBuf[38]; - InputBuf_39 = inputBuf[39]; - InputBuf_40 = inputBuf[40]; - InputBuf_41 = inputBuf[41]; - InputBuf_42 = inputBuf[42]; - InputBuf_43 = inputBuf[43]; - InputBuf_44 = inputBuf[44]; - InputBuf_45 = inputBuf[45]; - InputBuf_46 = inputBuf[46]; - InputBuf_47 = inputBuf[47]; - InputBuf_48 = inputBuf[48]; - InputBuf_49 = inputBuf[49]; - InputBuf_50 = inputBuf[50]; - InputBuf_51 = inputBuf[51]; - InputBuf_52 = inputBuf[52]; - InputBuf_53 = inputBuf[53]; - InputBuf_54 = inputBuf[54]; - InputBuf_55 = inputBuf[55]; - InputBuf_56 = inputBuf[56]; - InputBuf_57 = inputBuf[57]; - InputBuf_58 = inputBuf[58]; - InputBuf_59 = inputBuf[59]; - InputBuf_60 = inputBuf[60]; - InputBuf_61 = inputBuf[61]; - InputBuf_62 = inputBuf[62]; - InputBuf_63 = inputBuf[63]; - InputBuf_64 = inputBuf[64]; - InputBuf_65 = inputBuf[65]; - InputBuf_66 = inputBuf[66]; - InputBuf_67 = inputBuf[67]; - InputBuf_68 = inputBuf[68]; - InputBuf_69 = inputBuf[69]; - InputBuf_70 = inputBuf[70]; - InputBuf_71 = inputBuf[71]; - InputBuf_72 = inputBuf[72]; - InputBuf_73 = inputBuf[73]; - InputBuf_74 = inputBuf[74]; - InputBuf_75 = inputBuf[75]; - InputBuf_76 = inputBuf[76]; - InputBuf_77 = inputBuf[77]; - InputBuf_78 = inputBuf[78]; - InputBuf_79 = inputBuf[79]; - InputBuf_80 = inputBuf[80]; - InputBuf_81 = inputBuf[81]; - InputBuf_82 = inputBuf[82]; - InputBuf_83 = inputBuf[83]; - InputBuf_84 = inputBuf[84]; - InputBuf_85 = inputBuf[85]; - InputBuf_86 = inputBuf[86]; - InputBuf_87 = inputBuf[87]; - InputBuf_88 = inputBuf[88]; - InputBuf_89 = inputBuf[89]; - InputBuf_90 = inputBuf[90]; - InputBuf_91 = inputBuf[91]; - InputBuf_92 = inputBuf[92]; - InputBuf_93 = inputBuf[93]; - InputBuf_94 = inputBuf[94]; - InputBuf_95 = inputBuf[95]; - InputBuf_96 = inputBuf[96]; - InputBuf_97 = inputBuf[97]; - InputBuf_98 = inputBuf[98]; - InputBuf_99 = inputBuf[99]; - InputBuf_100 = inputBuf[100]; - InputBuf_101 = inputBuf[101]; - InputBuf_102 = inputBuf[102]; - InputBuf_103 = inputBuf[103]; - InputBuf_104 = inputBuf[104]; - InputBuf_105 = inputBuf[105]; - InputBuf_106 = inputBuf[106]; - InputBuf_107 = inputBuf[107]; - InputBuf_108 = inputBuf[108]; - InputBuf_109 = inputBuf[109]; - InputBuf_110 = inputBuf[110]; - InputBuf_111 = inputBuf[111]; - InputBuf_112 = inputBuf[112]; - InputBuf_113 = inputBuf[113]; - InputBuf_114 = inputBuf[114]; - InputBuf_115 = inputBuf[115]; - InputBuf_116 = inputBuf[116]; - InputBuf_117 = inputBuf[117]; - InputBuf_118 = inputBuf[118]; - InputBuf_119 = inputBuf[119]; - InputBuf_120 = inputBuf[120]; - InputBuf_121 = inputBuf[121]; - InputBuf_122 = inputBuf[122]; - InputBuf_123 = inputBuf[123]; - InputBuf_124 = inputBuf[124]; - InputBuf_125 = inputBuf[125]; - InputBuf_126 = inputBuf[126]; - InputBuf_127 = inputBuf[127]; - InputBuf_128 = inputBuf[128]; - InputBuf_129 = inputBuf[129]; - InputBuf_130 = inputBuf[130]; - InputBuf_131 = inputBuf[131]; - InputBuf_132 = inputBuf[132]; - InputBuf_133 = inputBuf[133]; - InputBuf_134 = inputBuf[134]; - InputBuf_135 = inputBuf[135]; - InputBuf_136 = inputBuf[136]; - InputBuf_137 = inputBuf[137]; - InputBuf_138 = inputBuf[138]; - InputBuf_139 = inputBuf[139]; - InputBuf_140 = inputBuf[140]; - InputBuf_141 = inputBuf[141]; - InputBuf_142 = inputBuf[142]; - InputBuf_143 = inputBuf[143]; - InputBuf_144 = inputBuf[144]; - InputBuf_145 = inputBuf[145]; - InputBuf_146 = inputBuf[146]; - InputBuf_147 = inputBuf[147]; - InputBuf_148 = inputBuf[148]; - InputBuf_149 = inputBuf[149]; - InputBuf_150 = inputBuf[150]; - InputBuf_151 = inputBuf[151]; - InputBuf_152 = inputBuf[152]; - InputBuf_153 = inputBuf[153]; - InputBuf_154 = inputBuf[154]; - InputBuf_155 = inputBuf[155]; - InputBuf_156 = inputBuf[156]; - InputBuf_157 = inputBuf[157]; - InputBuf_158 = inputBuf[158]; - InputBuf_159 = inputBuf[159]; - InputBuf_160 = inputBuf[160]; - InputBuf_161 = inputBuf[161]; - InputBuf_162 = inputBuf[162]; - InputBuf_163 = inputBuf[163]; - InputBuf_164 = inputBuf[164]; - InputBuf_165 = inputBuf[165]; - InputBuf_166 = inputBuf[166]; - InputBuf_167 = inputBuf[167]; - InputBuf_168 = inputBuf[168]; - InputBuf_169 = inputBuf[169]; - InputBuf_170 = inputBuf[170]; - InputBuf_171 = inputBuf[171]; - InputBuf_172 = inputBuf[172]; - InputBuf_173 = inputBuf[173]; - InputBuf_174 = inputBuf[174]; - InputBuf_175 = inputBuf[175]; - InputBuf_176 = inputBuf[176]; - InputBuf_177 = inputBuf[177]; - InputBuf_178 = inputBuf[178]; - InputBuf_179 = inputBuf[179]; - InputBuf_180 = inputBuf[180]; - InputBuf_181 = inputBuf[181]; - InputBuf_182 = inputBuf[182]; - InputBuf_183 = inputBuf[183]; - InputBuf_184 = inputBuf[184]; - InputBuf_185 = inputBuf[185]; - InputBuf_186 = inputBuf[186]; - InputBuf_187 = inputBuf[187]; - InputBuf_188 = inputBuf[188]; - InputBuf_189 = inputBuf[189]; - InputBuf_190 = inputBuf[190]; - InputBuf_191 = inputBuf[191]; - InputBuf_192 = inputBuf[192]; - InputBuf_193 = inputBuf[193]; - InputBuf_194 = inputBuf[194]; - InputBuf_195 = inputBuf[195]; - InputBuf_196 = inputBuf[196]; - InputBuf_197 = inputBuf[197]; - InputBuf_198 = inputBuf[198]; - InputBuf_199 = inputBuf[199]; - InputBuf_200 = inputBuf[200]; - InputBuf_201 = inputBuf[201]; - InputBuf_202 = inputBuf[202]; - InputBuf_203 = inputBuf[203]; - InputBuf_204 = inputBuf[204]; - InputBuf_205 = inputBuf[205]; - InputBuf_206 = inputBuf[206]; - InputBuf_207 = inputBuf[207]; - InputBuf_208 = inputBuf[208]; - InputBuf_209 = inputBuf[209]; - InputBuf_210 = inputBuf[210]; - InputBuf_211 = inputBuf[211]; - InputBuf_212 = inputBuf[212]; - InputBuf_213 = inputBuf[213]; - InputBuf_214 = inputBuf[214]; - InputBuf_215 = inputBuf[215]; - InputBuf_216 = inputBuf[216]; - InputBuf_217 = inputBuf[217]; - InputBuf_218 = inputBuf[218]; - InputBuf_219 = inputBuf[219]; - InputBuf_220 = inputBuf[220]; - InputBuf_221 = inputBuf[221]; - InputBuf_222 = inputBuf[222]; - InputBuf_223 = inputBuf[223]; - InputBuf_224 = inputBuf[224]; - InputBuf_225 = inputBuf[225]; - InputBuf_226 = inputBuf[226]; - InputBuf_227 = inputBuf[227]; - InputBuf_228 = inputBuf[228]; - InputBuf_229 = inputBuf[229]; - InputBuf_230 = inputBuf[230]; - InputBuf_231 = inputBuf[231]; - InputBuf_232 = inputBuf[232]; - InputBuf_233 = inputBuf[233]; - InputBuf_234 = inputBuf[234]; - InputBuf_235 = inputBuf[235]; - InputBuf_236 = inputBuf[236]; - InputBuf_237 = inputBuf[237]; - InputBuf_238 = inputBuf[238]; - InputBuf_239 = inputBuf[239]; - InputBuf_240 = inputBuf[240]; - InputBuf_241 = inputBuf[241]; - InputBuf_242 = inputBuf[242]; - InputBuf_243 = inputBuf[243]; - InputBuf_244 = inputBuf[244]; - InputBuf_245 = inputBuf[245]; - InputBuf_246 = inputBuf[246]; - InputBuf_247 = inputBuf[247]; - InputBuf_248 = inputBuf[248]; - InputBuf_249 = inputBuf[249]; - InputBuf_250 = inputBuf[250]; - InputBuf_251 = inputBuf[251]; - InputBuf_252 = inputBuf[252]; - InputBuf_253 = inputBuf[253]; - InputBuf_254 = inputBuf[254]; - InputBuf_255 = inputBuf[255]; - } - Filters = filters; - CountGrep = countGrep; - } - - - /// - /// To be documented. - /// - public unsafe void Build() - { - fixed (ImGuiTextFilter* @this = &this) - { - ImGui.BuildNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - fixed (ImGuiTextFilter* @this = &this) - { - ImGui.ClearNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiTextFilter* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(byte* label, float width) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte ret = ImGui.DrawNative(@this, label, width); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(byte* label) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte ret = ImGui.DrawNative(@this, label, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw() - { - fixed (ImGuiTextFilter* @this = &this) - { - bool ret = ImGui.Draw(@this, (string)"Filter(inc,-exc)", (float)(0.0f)); - return ret; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(float width) - { - fixed (ImGuiTextFilter* @this = &this) - { - bool ret = ImGui.Draw(@this, (string)"Filter(inc,-exc)", width); - return ret; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ref byte label, float width) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* plabel = &label) - { - byte ret = ImGui.DrawNative(@this, (byte*)plabel, width); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ref byte label) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* plabel = &label) - { - byte ret = ImGui.DrawNative(@this, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ReadOnlySpan label, float width) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* plabel = label) - { - byte ret = ImGui.DrawNative(@this, (byte*)plabel, width); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ReadOnlySpan label) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* plabel = label) - { - byte ret = ImGui.DrawNative(@this, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(string label, float width) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.DrawNative(@this, pStr0, width); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(string label) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.DrawNative(@this, pStr0, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsActive() - { - fixed (ImGuiTextFilter* @this = &this) - { - byte ret = ImGui.IsActiveNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, byte* textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte ret = ImGui.PassFilterNative(@this, text, textEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte ret = ImGui.PassFilterNative(@this, text, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, byte* textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = &text) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, textEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = &text) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, byte* textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = text) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, textEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = text) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, byte* textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(@this, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(@this, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, ref byte textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(@this, text, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(@this, text, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, string textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(@this, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, ref byte textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, string textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ImGui.PassFilterNative(@this, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, string textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, ref byte textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, string textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(@this, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, ref byte textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(@this, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, ReadOnlySpan textEnd) - { - fixed (ImGuiTextFilter* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(@this, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTextFilterPtr : IEquatable - { - public ImGuiTextFilterPtr(ImGuiTextFilter* handle) { Handle = handle; } - - public ImGuiTextFilter* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTextFilterPtr Null => new ImGuiTextFilterPtr(null); - - public ImGuiTextFilter this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTextFilterPtr(ImGuiTextFilter* handle) => new ImGuiTextFilterPtr(handle); - - public static implicit operator ImGuiTextFilter*(ImGuiTextFilterPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTextFilterPtr left, ImGuiTextFilterPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTextFilterPtr left, ImGuiTextFilterPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTextFilterPtr left, ImGuiTextFilter* right) => left.Handle == right; - - public static bool operator !=(ImGuiTextFilterPtr left, ImGuiTextFilter* right) => left.Handle != right; - - public bool Equals(ImGuiTextFilterPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTextFilterPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTextFilterPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public unsafe Span InputBuf - - { - get - { - return new Span(&Handle->InputBuf_0, 256); - } - } - /// - /// To be documented. - /// - public ref ImVector Filters => ref Unsafe.AsRef>(&Handle->Filters); - /// - /// To be documented. - /// - public ref int CountGrep => ref Unsafe.AsRef(&Handle->CountGrep); - /// - /// To be documented. - /// - public unsafe void Build() - { - ImGui.BuildNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Clear() - { - ImGui.ClearNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(byte* label, float width) - { - byte ret = ImGui.DrawNative(Handle, label, width); - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(byte* label) - { - byte ret = ImGui.DrawNative(Handle, label, (float)(0.0f)); - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw() - { - bool ret = ImGui.Draw(Handle, (string)"Filter(inc,-exc)", (float)(0.0f)); - return ret; - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(float width) - { - bool ret = ImGui.Draw(Handle, (string)"Filter(inc,-exc)", width); - return ret; - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ref byte label, float width) - { - fixed (byte* plabel = &label) - { - byte ret = ImGui.DrawNative(Handle, (byte*)plabel, width); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ImGui.DrawNative(Handle, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ReadOnlySpan label, float width) - { - fixed (byte* plabel = label) - { - byte ret = ImGui.DrawNative(Handle, (byte*)plabel, width); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ImGui.DrawNative(Handle, (byte*)plabel, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(string label, float width) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.DrawNative(Handle, pStr0, width); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// Helper calling InputText+Build
- ///
- public unsafe bool Draw(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.DrawNative(Handle, pStr0, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsActive() - { - byte ret = ImGui.IsActiveNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, byte* textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, text, textEnd); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text) - { - byte ret = ImGui.PassFilterNative(Handle, text, (byte*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, textEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text) - { - fixed (byte* ptext = &text) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, textEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(Handle, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(Handle, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, text, (byte*)ptextEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, text, (byte*)ptextEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(Handle, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ImGui.PassFilterNative(Handle, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, (byte*)ptextEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ImGui.PassFilterNative(Handle, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool PassFilter(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte ret = ImGui.PassFilterNative(Handle, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextIndex.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextIndex.cs deleted file mode 100644 index ff22a517e..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextIndex.cs +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: ImGuiTextIndex
- /// Maintain a line index for a text buffer. This is a strong candidate to be moved into the public API.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTextIndex - { - /// - /// To be documented. - /// - public ImVector LineOffsets; - - /// - /// To be documented. - /// - public int EndOffset; - - - /// - /// To be documented. - /// - public unsafe ImGuiTextIndex(ImVector lineOffsets = default, int endOffset = default) - { - LineOffsets = lineOffsets; - EndOffset = endOffset; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTextIndexPtr : IEquatable - { - public ImGuiTextIndexPtr(ImGuiTextIndex* handle) { Handle = handle; } - - public ImGuiTextIndex* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTextIndexPtr Null => new ImGuiTextIndexPtr(null); - - public ImGuiTextIndex this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTextIndexPtr(ImGuiTextIndex* handle) => new ImGuiTextIndexPtr(handle); - - public static implicit operator ImGuiTextIndex*(ImGuiTextIndexPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTextIndexPtr left, ImGuiTextIndexPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTextIndexPtr left, ImGuiTextIndexPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTextIndexPtr left, ImGuiTextIndex* right) => left.Handle == right; - - public static bool operator !=(ImGuiTextIndexPtr left, ImGuiTextIndex* right) => left.Handle != right; - - public bool Equals(ImGuiTextIndexPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTextIndexPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTextIndexPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector LineOffsets => ref Unsafe.AsRef>(&Handle->LineOffsets); - /// - /// To be documented. - /// - public ref int EndOffset => ref Unsafe.AsRef(&Handle->EndOffset); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextRange.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextRange.cs deleted file mode 100644 index f2d4d2ba2..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTextRange.cs +++ /dev/null @@ -1,183 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [Internal]
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTextRange - { - /// - /// To be documented. - /// - public unsafe byte* B; - - /// - /// To be documented. - /// - public unsafe byte* E; - - - /// - /// To be documented. - /// - public unsafe ImGuiTextRange(byte* b = default, byte* e = default) - { - B = b; - E = e; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiTextRange* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool empty() - { - fixed (ImGuiTextRange* @this = &this) - { - byte ret = ImGui.emptyNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void split(byte separator, ImVector* output) - { - fixed (ImGuiTextRange* @this = &this) - { - ImGui.splitNative(@this, separator, output); - } - } - - /// - /// To be documented. - /// - public unsafe void split(byte separator, ref ImVector output) - { - fixed (ImGuiTextRange* @this = &this) - { - fixed (ImVector* poutput = &output) - { - ImGui.splitNative(@this, separator, (ImVector*)poutput); - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTextRangePtr : IEquatable - { - public ImGuiTextRangePtr(ImGuiTextRange* handle) { Handle = handle; } - - public ImGuiTextRange* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTextRangePtr Null => new ImGuiTextRangePtr(null); - - public ImGuiTextRange this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTextRangePtr(ImGuiTextRange* handle) => new ImGuiTextRangePtr(handle); - - public static implicit operator ImGuiTextRange*(ImGuiTextRangePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTextRangePtr left, ImGuiTextRangePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTextRangePtr left, ImGuiTextRangePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTextRangePtr left, ImGuiTextRange* right) => left.Handle == right; - - public static bool operator !=(ImGuiTextRangePtr left, ImGuiTextRange* right) => left.Handle != right; - - public bool Equals(ImGuiTextRangePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTextRangePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTextRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public byte* B { get => Handle->B; set => Handle->B = value; } - /// - /// To be documented. - /// - public byte* E { get => Handle->E; set => Handle->E = value; } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool empty() - { - byte ret = ImGui.emptyNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void split(byte separator, ImVector* output) - { - ImGui.splitNative(Handle, separator, output); - } - - /// - /// To be documented. - /// - public unsafe void split(byte separator, ref ImVector output) - { - fixed (ImVector* poutput = &output) - { - ImGui.splitNative(Handle, separator, (ImVector*)poutput); - } - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTreeNodeStackData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTreeNodeStackData.cs deleted file mode 100644 index 21e431a55..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTreeNodeStackData.cs +++ /dev/null @@ -1,122 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Store data emitted by TreeNode() for usage by TreePop()
- /// - To implement ImGuiTreeNodeFlags_NavLeftJumpsBackHere: store the minimum amount of data
- /// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
- /// Only stored when the node is a potential candidate for landing on a Left arrow jump.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTreeNodeStackData - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiTreeNodeFlags TreeFlags; - - /// - /// To be documented. - /// - public ImGuiItemFlags ItemFlags; - - /// - /// To be documented. - /// - public ImRect NavRect; - - - /// - /// To be documented. - /// - public unsafe ImGuiTreeNodeStackData(uint id = default, ImGuiTreeNodeFlags treeFlags = default, ImGuiItemFlags itemFlags = default, ImRect navRect = default) - { - ID = id; - TreeFlags = treeFlags; - ItemFlags = itemFlags; - NavRect = navRect; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTreeNodeStackDataPtr : IEquatable - { - public ImGuiTreeNodeStackDataPtr(ImGuiTreeNodeStackData* handle) { Handle = handle; } - - public ImGuiTreeNodeStackData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTreeNodeStackDataPtr Null => new ImGuiTreeNodeStackDataPtr(null); - - public ImGuiTreeNodeStackData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTreeNodeStackDataPtr(ImGuiTreeNodeStackData* handle) => new ImGuiTreeNodeStackDataPtr(handle); - - public static implicit operator ImGuiTreeNodeStackData*(ImGuiTreeNodeStackDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTreeNodeStackDataPtr left, ImGuiTreeNodeStackDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTreeNodeStackDataPtr left, ImGuiTreeNodeStackDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTreeNodeStackDataPtr left, ImGuiTreeNodeStackData* right) => left.Handle == right; - - public static bool operator !=(ImGuiTreeNodeStackDataPtr left, ImGuiTreeNodeStackData* right) => left.Handle != right; - - public bool Equals(ImGuiTreeNodeStackDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTreeNodeStackDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTreeNodeStackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiTreeNodeFlags TreeFlags => ref Unsafe.AsRef(&Handle->TreeFlags); - /// - /// To be documented. - /// - public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef(&Handle->ItemFlags); - /// - /// To be documented. - /// - public ref ImRect NavRect => ref Unsafe.AsRef(&Handle->NavRect); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectRequest.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectRequest.cs deleted file mode 100644 index 96fef0a46..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectRequest.cs +++ /dev/null @@ -1,139 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Returned by GetTypingSelectRequest(), designed to eventually be public.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTypingSelectRequest - { - /// - /// To be documented. - /// - public ImGuiTypingSelectFlags Flags; - - /// - /// To be documented. - /// - public int SearchBufferLen; - - /// - /// To be documented. - /// - public unsafe byte* SearchBuffer; - - /// - /// To be documented. - /// - public byte SelectRequest; - - /// - /// To be documented. - /// - public byte SingleCharMode; - - /// - /// To be documented. - /// - public byte SingleCharSize; - - - /// - /// To be documented. - /// - public unsafe ImGuiTypingSelectRequest(ImGuiTypingSelectFlags flags = default, int searchBufferLen = default, byte* searchBuffer = default, bool selectRequest = default, bool singleCharMode = default, byte singleCharSize = default) - { - Flags = flags; - SearchBufferLen = searchBufferLen; - SearchBuffer = searchBuffer; - SelectRequest = selectRequest ? (byte)1 : (byte)0; - SingleCharMode = singleCharMode ? (byte)1 : (byte)0; - SingleCharSize = singleCharSize; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTypingSelectRequestPtr : IEquatable - { - public ImGuiTypingSelectRequestPtr(ImGuiTypingSelectRequest* handle) { Handle = handle; } - - public ImGuiTypingSelectRequest* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTypingSelectRequestPtr Null => new ImGuiTypingSelectRequestPtr(null); - - public ImGuiTypingSelectRequest this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTypingSelectRequestPtr(ImGuiTypingSelectRequest* handle) => new ImGuiTypingSelectRequestPtr(handle); - - public static implicit operator ImGuiTypingSelectRequest*(ImGuiTypingSelectRequestPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTypingSelectRequestPtr left, ImGuiTypingSelectRequestPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTypingSelectRequestPtr left, ImGuiTypingSelectRequestPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTypingSelectRequestPtr left, ImGuiTypingSelectRequest* right) => left.Handle == right; - - public static bool operator !=(ImGuiTypingSelectRequestPtr left, ImGuiTypingSelectRequest* right) => left.Handle != right; - - public bool Equals(ImGuiTypingSelectRequestPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTypingSelectRequestPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTypingSelectRequestPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiTypingSelectFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref int SearchBufferLen => ref Unsafe.AsRef(&Handle->SearchBufferLen); - /// - /// To be documented. - /// - public byte* SearchBuffer { get => Handle->SearchBuffer; set => Handle->SearchBuffer = value; } - /// - /// To be documented. - /// - public ref bool SelectRequest => ref Unsafe.AsRef(&Handle->SelectRequest); - /// - /// To be documented. - /// - public ref bool SingleCharMode => ref Unsafe.AsRef(&Handle->SingleCharMode); - /// - /// To be documented. - /// - public ref byte SingleCharSize => ref Unsafe.AsRef(&Handle->SingleCharSize); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectState.cs deleted file mode 100644 index 81bd43b6f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiTypingSelectState.cs +++ /dev/null @@ -1,354 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for GetTypingSelectRequest()
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiTypingSelectState - { - /// - /// To be documented. - /// - public ImGuiTypingSelectRequest Request; - - /// - /// To be documented. - /// - public byte SearchBuffer_0; - public byte SearchBuffer_1; - public byte SearchBuffer_2; - public byte SearchBuffer_3; - public byte SearchBuffer_4; - public byte SearchBuffer_5; - public byte SearchBuffer_6; - public byte SearchBuffer_7; - public byte SearchBuffer_8; - public byte SearchBuffer_9; - public byte SearchBuffer_10; - public byte SearchBuffer_11; - public byte SearchBuffer_12; - public byte SearchBuffer_13; - public byte SearchBuffer_14; - public byte SearchBuffer_15; - public byte SearchBuffer_16; - public byte SearchBuffer_17; - public byte SearchBuffer_18; - public byte SearchBuffer_19; - public byte SearchBuffer_20; - public byte SearchBuffer_21; - public byte SearchBuffer_22; - public byte SearchBuffer_23; - public byte SearchBuffer_24; - public byte SearchBuffer_25; - public byte SearchBuffer_26; - public byte SearchBuffer_27; - public byte SearchBuffer_28; - public byte SearchBuffer_29; - public byte SearchBuffer_30; - public byte SearchBuffer_31; - public byte SearchBuffer_32; - public byte SearchBuffer_33; - public byte SearchBuffer_34; - public byte SearchBuffer_35; - public byte SearchBuffer_36; - public byte SearchBuffer_37; - public byte SearchBuffer_38; - public byte SearchBuffer_39; - public byte SearchBuffer_40; - public byte SearchBuffer_41; - public byte SearchBuffer_42; - public byte SearchBuffer_43; - public byte SearchBuffer_44; - public byte SearchBuffer_45; - public byte SearchBuffer_46; - public byte SearchBuffer_47; - public byte SearchBuffer_48; - public byte SearchBuffer_49; - public byte SearchBuffer_50; - public byte SearchBuffer_51; - public byte SearchBuffer_52; - public byte SearchBuffer_53; - public byte SearchBuffer_54; - public byte SearchBuffer_55; - public byte SearchBuffer_56; - public byte SearchBuffer_57; - public byte SearchBuffer_58; - public byte SearchBuffer_59; - public byte SearchBuffer_60; - public byte SearchBuffer_61; - public byte SearchBuffer_62; - public byte SearchBuffer_63; - - /// - /// To be documented. - /// - public uint FocusScope; - - /// - /// To be documented. - /// - public int LastRequestFrame; - - /// - /// To be documented. - /// - public float LastRequestTime; - - /// - /// To be documented. - /// - public byte SingleCharModeLock; - - - /// - /// To be documented. - /// - public unsafe ImGuiTypingSelectState(ImGuiTypingSelectRequest request = default, byte* searchBuffer = default, uint focusScope = default, int lastRequestFrame = default, float lastRequestTime = default, bool singleCharModeLock = default) - { - Request = request; - if (searchBuffer != default(byte*)) - { - SearchBuffer_0 = searchBuffer[0]; - SearchBuffer_1 = searchBuffer[1]; - SearchBuffer_2 = searchBuffer[2]; - SearchBuffer_3 = searchBuffer[3]; - SearchBuffer_4 = searchBuffer[4]; - SearchBuffer_5 = searchBuffer[5]; - SearchBuffer_6 = searchBuffer[6]; - SearchBuffer_7 = searchBuffer[7]; - SearchBuffer_8 = searchBuffer[8]; - SearchBuffer_9 = searchBuffer[9]; - SearchBuffer_10 = searchBuffer[10]; - SearchBuffer_11 = searchBuffer[11]; - SearchBuffer_12 = searchBuffer[12]; - SearchBuffer_13 = searchBuffer[13]; - SearchBuffer_14 = searchBuffer[14]; - SearchBuffer_15 = searchBuffer[15]; - SearchBuffer_16 = searchBuffer[16]; - SearchBuffer_17 = searchBuffer[17]; - SearchBuffer_18 = searchBuffer[18]; - SearchBuffer_19 = searchBuffer[19]; - SearchBuffer_20 = searchBuffer[20]; - SearchBuffer_21 = searchBuffer[21]; - SearchBuffer_22 = searchBuffer[22]; - SearchBuffer_23 = searchBuffer[23]; - SearchBuffer_24 = searchBuffer[24]; - SearchBuffer_25 = searchBuffer[25]; - SearchBuffer_26 = searchBuffer[26]; - SearchBuffer_27 = searchBuffer[27]; - SearchBuffer_28 = searchBuffer[28]; - SearchBuffer_29 = searchBuffer[29]; - SearchBuffer_30 = searchBuffer[30]; - SearchBuffer_31 = searchBuffer[31]; - SearchBuffer_32 = searchBuffer[32]; - SearchBuffer_33 = searchBuffer[33]; - SearchBuffer_34 = searchBuffer[34]; - SearchBuffer_35 = searchBuffer[35]; - SearchBuffer_36 = searchBuffer[36]; - SearchBuffer_37 = searchBuffer[37]; - SearchBuffer_38 = searchBuffer[38]; - SearchBuffer_39 = searchBuffer[39]; - SearchBuffer_40 = searchBuffer[40]; - SearchBuffer_41 = searchBuffer[41]; - SearchBuffer_42 = searchBuffer[42]; - SearchBuffer_43 = searchBuffer[43]; - SearchBuffer_44 = searchBuffer[44]; - SearchBuffer_45 = searchBuffer[45]; - SearchBuffer_46 = searchBuffer[46]; - SearchBuffer_47 = searchBuffer[47]; - SearchBuffer_48 = searchBuffer[48]; - SearchBuffer_49 = searchBuffer[49]; - SearchBuffer_50 = searchBuffer[50]; - SearchBuffer_51 = searchBuffer[51]; - SearchBuffer_52 = searchBuffer[52]; - SearchBuffer_53 = searchBuffer[53]; - SearchBuffer_54 = searchBuffer[54]; - SearchBuffer_55 = searchBuffer[55]; - SearchBuffer_56 = searchBuffer[56]; - SearchBuffer_57 = searchBuffer[57]; - SearchBuffer_58 = searchBuffer[58]; - SearchBuffer_59 = searchBuffer[59]; - SearchBuffer_60 = searchBuffer[60]; - SearchBuffer_61 = searchBuffer[61]; - SearchBuffer_62 = searchBuffer[62]; - SearchBuffer_63 = searchBuffer[63]; - } - FocusScope = focusScope; - LastRequestFrame = lastRequestFrame; - LastRequestTime = lastRequestTime; - SingleCharModeLock = singleCharModeLock ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImGuiTypingSelectState(ImGuiTypingSelectRequest request = default, Span searchBuffer = default, uint focusScope = default, int lastRequestFrame = default, float lastRequestTime = default, bool singleCharModeLock = default) - { - Request = request; - if (searchBuffer != default(Span)) - { - SearchBuffer_0 = searchBuffer[0]; - SearchBuffer_1 = searchBuffer[1]; - SearchBuffer_2 = searchBuffer[2]; - SearchBuffer_3 = searchBuffer[3]; - SearchBuffer_4 = searchBuffer[4]; - SearchBuffer_5 = searchBuffer[5]; - SearchBuffer_6 = searchBuffer[6]; - SearchBuffer_7 = searchBuffer[7]; - SearchBuffer_8 = searchBuffer[8]; - SearchBuffer_9 = searchBuffer[9]; - SearchBuffer_10 = searchBuffer[10]; - SearchBuffer_11 = searchBuffer[11]; - SearchBuffer_12 = searchBuffer[12]; - SearchBuffer_13 = searchBuffer[13]; - SearchBuffer_14 = searchBuffer[14]; - SearchBuffer_15 = searchBuffer[15]; - SearchBuffer_16 = searchBuffer[16]; - SearchBuffer_17 = searchBuffer[17]; - SearchBuffer_18 = searchBuffer[18]; - SearchBuffer_19 = searchBuffer[19]; - SearchBuffer_20 = searchBuffer[20]; - SearchBuffer_21 = searchBuffer[21]; - SearchBuffer_22 = searchBuffer[22]; - SearchBuffer_23 = searchBuffer[23]; - SearchBuffer_24 = searchBuffer[24]; - SearchBuffer_25 = searchBuffer[25]; - SearchBuffer_26 = searchBuffer[26]; - SearchBuffer_27 = searchBuffer[27]; - SearchBuffer_28 = searchBuffer[28]; - SearchBuffer_29 = searchBuffer[29]; - SearchBuffer_30 = searchBuffer[30]; - SearchBuffer_31 = searchBuffer[31]; - SearchBuffer_32 = searchBuffer[32]; - SearchBuffer_33 = searchBuffer[33]; - SearchBuffer_34 = searchBuffer[34]; - SearchBuffer_35 = searchBuffer[35]; - SearchBuffer_36 = searchBuffer[36]; - SearchBuffer_37 = searchBuffer[37]; - SearchBuffer_38 = searchBuffer[38]; - SearchBuffer_39 = searchBuffer[39]; - SearchBuffer_40 = searchBuffer[40]; - SearchBuffer_41 = searchBuffer[41]; - SearchBuffer_42 = searchBuffer[42]; - SearchBuffer_43 = searchBuffer[43]; - SearchBuffer_44 = searchBuffer[44]; - SearchBuffer_45 = searchBuffer[45]; - SearchBuffer_46 = searchBuffer[46]; - SearchBuffer_47 = searchBuffer[47]; - SearchBuffer_48 = searchBuffer[48]; - SearchBuffer_49 = searchBuffer[49]; - SearchBuffer_50 = searchBuffer[50]; - SearchBuffer_51 = searchBuffer[51]; - SearchBuffer_52 = searchBuffer[52]; - SearchBuffer_53 = searchBuffer[53]; - SearchBuffer_54 = searchBuffer[54]; - SearchBuffer_55 = searchBuffer[55]; - SearchBuffer_56 = searchBuffer[56]; - SearchBuffer_57 = searchBuffer[57]; - SearchBuffer_58 = searchBuffer[58]; - SearchBuffer_59 = searchBuffer[59]; - SearchBuffer_60 = searchBuffer[60]; - SearchBuffer_61 = searchBuffer[61]; - SearchBuffer_62 = searchBuffer[62]; - SearchBuffer_63 = searchBuffer[63]; - } - FocusScope = focusScope; - LastRequestFrame = lastRequestFrame; - LastRequestTime = lastRequestTime; - SingleCharModeLock = singleCharModeLock ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiTypingSelectStatePtr : IEquatable - { - public ImGuiTypingSelectStatePtr(ImGuiTypingSelectState* handle) { Handle = handle; } - - public ImGuiTypingSelectState* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiTypingSelectStatePtr Null => new ImGuiTypingSelectStatePtr(null); - - public ImGuiTypingSelectState this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiTypingSelectStatePtr(ImGuiTypingSelectState* handle) => new ImGuiTypingSelectStatePtr(handle); - - public static implicit operator ImGuiTypingSelectState*(ImGuiTypingSelectStatePtr handle) => handle.Handle; - - public static bool operator ==(ImGuiTypingSelectStatePtr left, ImGuiTypingSelectStatePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiTypingSelectStatePtr left, ImGuiTypingSelectStatePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiTypingSelectStatePtr left, ImGuiTypingSelectState* right) => left.Handle == right; - - public static bool operator !=(ImGuiTypingSelectStatePtr left, ImGuiTypingSelectState* right) => left.Handle != right; - - public bool Equals(ImGuiTypingSelectStatePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiTypingSelectStatePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiTypingSelectStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiTypingSelectRequest Request => ref Unsafe.AsRef(&Handle->Request); - /// - /// To be documented. - /// - public unsafe Span SearchBuffer - - { - get - { - return new Span(&Handle->SearchBuffer_0, 64); - } - } - /// - /// To be documented. - /// - public ref uint FocusScope => ref Unsafe.AsRef(&Handle->FocusScope); - /// - /// To be documented. - /// - public ref int LastRequestFrame => ref Unsafe.AsRef(&Handle->LastRequestFrame); - /// - /// To be documented. - /// - public ref float LastRequestTime => ref Unsafe.AsRef(&Handle->LastRequestTime); - /// - /// To be documented. - /// - public ref bool SingleCharModeLock => ref Unsafe.AsRef(&Handle->SingleCharModeLock); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewport.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewport.cs deleted file mode 100644 index 3e98b1118..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewport.cs +++ /dev/null @@ -1,317 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
- /// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
- /// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
- /// - About Main Area vs Work Area:
- /// - Main Area = entire viewport.
- /// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
- /// - Windows are generally trying to stay within the Work Area of their host viewport.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiViewport - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiViewportFlags Flags; - - /// - /// To be documented. - /// - public Vector2 Pos; - - /// - /// To be documented. - /// - public Vector2 Size; - - /// - /// To be documented. - /// - public Vector2 WorkPos; - - /// - /// To be documented. - /// - public Vector2 WorkSize; - - /// - /// To be documented. - /// - public float DpiScale; - - /// - /// To be documented. - /// - public uint ParentViewportId; - - /// - /// To be documented. - /// - public unsafe ImDrawData* DrawData; - - /// - /// To be documented. - /// - public unsafe void* RendererUserData; - - /// - /// To be documented. - /// - public unsafe void* PlatformUserData; - - /// - /// To be documented. - /// - public unsafe void* PlatformHandle; - - /// - /// To be documented. - /// - public unsafe void* PlatformHandleRaw; - - /// - /// To be documented. - /// - public byte PlatformWindowCreated; - - /// - /// To be documented. - /// - public byte PlatformRequestMove; - - /// - /// To be documented. - /// - public byte PlatformRequestResize; - - /// - /// To be documented. - /// - public byte PlatformRequestClose; - - - /// - /// To be documented. - /// - public unsafe ImGuiViewport(uint id = default, ImGuiViewportFlags flags = default, Vector2 pos = default, Vector2 size = default, Vector2 workPos = default, Vector2 workSize = default, float dpiScale = default, uint parentViewportId = default, ImDrawDataPtr drawData = default, void* rendererUserData = default, void* platformUserData = default, void* platformHandle = default, void* platformHandleRaw = default, bool platformWindowCreated = default, bool platformRequestMove = default, bool platformRequestResize = default, bool platformRequestClose = default) - { - ID = id; - Flags = flags; - Pos = pos; - Size = size; - WorkPos = workPos; - WorkSize = workSize; - DpiScale = dpiScale; - ParentViewportId = parentViewportId; - DrawData = drawData; - RendererUserData = rendererUserData; - PlatformUserData = platformUserData; - PlatformHandle = platformHandle; - PlatformHandleRaw = platformHandleRaw; - PlatformWindowCreated = platformWindowCreated ? (byte)1 : (byte)0; - PlatformRequestMove = platformRequestMove ? (byte)1 : (byte)0; - PlatformRequestResize = platformRequestResize ? (byte)1 : (byte)0; - PlatformRequestClose = platformRequestClose ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiViewport* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiViewportPtr : IEquatable - { - public ImGuiViewportPtr(ImGuiViewport* handle) { Handle = handle; } - - public ImGuiViewport* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiViewportPtr Null => new ImGuiViewportPtr(null); - - public ImGuiViewport this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiViewportPtr(ImGuiViewport* handle) => new ImGuiViewportPtr(handle); - - public static implicit operator ImGuiViewport*(ImGuiViewportPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiViewportPtr left, ImGuiViewportPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiViewportPtr left, ImGuiViewportPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiViewportPtr left, ImGuiViewport* right) => left.Handle == right; - - public static bool operator !=(ImGuiViewportPtr left, ImGuiViewport* right) => left.Handle != right; - - public bool Equals(ImGuiViewportPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiViewportPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiViewportPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiViewportFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public ref Vector2 WorkPos => ref Unsafe.AsRef(&Handle->WorkPos); - /// - /// To be documented. - /// - public ref Vector2 WorkSize => ref Unsafe.AsRef(&Handle->WorkSize); - /// - /// To be documented. - /// - public ref float DpiScale => ref Unsafe.AsRef(&Handle->DpiScale); - /// - /// To be documented. - /// - public ref uint ParentViewportId => ref Unsafe.AsRef(&Handle->ParentViewportId); - /// - /// To be documented. - /// - public ref ImDrawDataPtr DrawData => ref Unsafe.AsRef(&Handle->DrawData); - /// - /// To be documented. - /// - public void* RendererUserData { get => Handle->RendererUserData; set => Handle->RendererUserData = value; } - /// - /// To be documented. - /// - public void* PlatformUserData { get => Handle->PlatformUserData; set => Handle->PlatformUserData = value; } - /// - /// To be documented. - /// - public void* PlatformHandle { get => Handle->PlatformHandle; set => Handle->PlatformHandle = value; } - /// - /// To be documented. - /// - public void* PlatformHandleRaw { get => Handle->PlatformHandleRaw; set => Handle->PlatformHandleRaw = value; } - /// - /// To be documented. - /// - public ref bool PlatformWindowCreated => ref Unsafe.AsRef(&Handle->PlatformWindowCreated); - /// - /// To be documented. - /// - public ref bool PlatformRequestMove => ref Unsafe.AsRef(&Handle->PlatformRequestMove); - /// - /// To be documented. - /// - public ref bool PlatformRequestResize => ref Unsafe.AsRef(&Handle->PlatformRequestResize); - /// - /// To be documented. - /// - public ref bool PlatformRequestClose => ref Unsafe.AsRef(&Handle->PlatformRequestClose); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiViewportPtrPtr : IEquatable - { - public ImGuiViewportPtrPtr(ImGuiViewport** handle) { Handle = handle; } - - public ImGuiViewport** Handle; - - public bool IsNull => Handle == null; - - public static ImGuiViewportPtrPtr Null => new ImGuiViewportPtrPtr(null); - - public ImGuiViewport* this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiViewportPtrPtr(ImGuiViewport** handle) => new ImGuiViewportPtrPtr(handle); - - public static implicit operator ImGuiViewport**(ImGuiViewportPtrPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiViewportPtrPtr left, ImGuiViewportPtrPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiViewportPtrPtr left, ImGuiViewportPtrPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiViewportPtrPtr left, ImGuiViewport** right) => left.Handle == right; - - public static bool operator !=(ImGuiViewportPtrPtr left, ImGuiViewport** right) => left.Handle != right; - - public bool Equals(ImGuiViewportPtrPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiViewportPtrPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiViewportPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewportP.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewportP.cs deleted file mode 100644 index 385feef6d..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiViewportP.cs +++ /dev/null @@ -1,421 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// ImGuiViewport PrivateInternals fields (cardinal sin: we are using inheritance!)
- /// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiViewportP - { - /// - /// To be documented. - /// - public ImGuiViewport ImGuiViewport; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public int Idx; - - /// - /// To be documented. - /// - public int LastFrameActive; - - /// - /// To be documented. - /// - public int LastFocusedStampCount; - - /// - /// To be documented. - /// - public uint LastNameHash; - - /// - /// To be documented. - /// - public Vector2 LastPos; - - /// - /// To be documented. - /// - public Vector2 LastSize; - - /// - /// To be documented. - /// - public float Alpha; - - /// - /// To be documented. - /// - public float LastAlpha; - - /// - /// To be documented. - /// - public byte LastFocusedHadNavWindow; - - /// - /// To be documented. - /// - public short PlatformMonitor; - - /// - /// To be documented. - /// - public int BgFgDrawListsLastFrame_0; - public int BgFgDrawListsLastFrame_1; - - /// - /// To be documented. - /// - public unsafe ImDrawList* BgFgDrawLists_0; - public unsafe ImDrawList* BgFgDrawLists_1; - - /// - /// To be documented. - /// - public ImDrawData DrawDataP; - - /// - /// To be documented. - /// - public ImDrawDataBuilder DrawDataBuilder; - - /// - /// To be documented. - /// - public Vector2 LastPlatformPos; - - /// - /// To be documented. - /// - public Vector2 LastPlatformSize; - - /// - /// To be documented. - /// - public Vector2 LastRendererSize; - - /// - /// To be documented. - /// - public Vector2 WorkInsetMin; - - /// - /// To be documented. - /// - public Vector2 WorkInsetMax; - - /// - /// To be documented. - /// - public Vector2 BuildWorkInsetMin; - - /// - /// To be documented. - /// - public Vector2 BuildWorkInsetMax; - - - /// - /// To be documented. - /// - public unsafe ImGuiViewportP(ImGuiViewport imGuiViewport = default, ImGuiWindowPtr window = default, int idx = default, int lastFrameActive = default, int lastFocusedStampCount = default, uint lastNameHash = default, Vector2 lastPos = default, Vector2 lastSize = default, float alpha = default, float lastAlpha = default, bool lastFocusedHadNavWindow = default, short platformMonitor = default, int* bgFgDrawListsLastFrame = default, ImDrawListPtrPtr bgFgDrawLists = default, ImDrawData drawDataP = default, ImDrawDataBuilder drawDataBuilder = default, Vector2 lastPlatformPos = default, Vector2 lastPlatformSize = default, Vector2 lastRendererSize = default, Vector2 workInsetMin = default, Vector2 workInsetMax = default, Vector2 buildWorkInsetMin = default, Vector2 buildWorkInsetMax = default) - { - ImGuiViewport = imGuiViewport; - Window = window; - Idx = idx; - LastFrameActive = lastFrameActive; - LastFocusedStampCount = lastFocusedStampCount; - LastNameHash = lastNameHash; - LastPos = lastPos; - LastSize = lastSize; - Alpha = alpha; - LastAlpha = lastAlpha; - LastFocusedHadNavWindow = lastFocusedHadNavWindow ? (byte)1 : (byte)0; - PlatformMonitor = platformMonitor; - if (bgFgDrawListsLastFrame != default(int*)) - { - BgFgDrawListsLastFrame_0 = bgFgDrawListsLastFrame[0]; - BgFgDrawListsLastFrame_1 = bgFgDrawListsLastFrame[1]; - } - if (bgFgDrawLists != default(ImDrawListPtrPtr)) - { - BgFgDrawLists_0 = bgFgDrawLists[0]; - BgFgDrawLists_1 = bgFgDrawLists[1]; - } - DrawDataP = drawDataP; - DrawDataBuilder = drawDataBuilder; - LastPlatformPos = lastPlatformPos; - LastPlatformSize = lastPlatformSize; - LastRendererSize = lastRendererSize; - WorkInsetMin = workInsetMin; - WorkInsetMax = workInsetMax; - BuildWorkInsetMin = buildWorkInsetMin; - BuildWorkInsetMax = buildWorkInsetMax; - } - - /// - /// To be documented. - /// - public unsafe ImGuiViewportP(ImGuiViewport imGuiViewport = default, ImGuiWindowPtr window = default, int idx = default, int lastFrameActive = default, int lastFocusedStampCount = default, uint lastNameHash = default, Vector2 lastPos = default, Vector2 lastSize = default, float alpha = default, float lastAlpha = default, bool lastFocusedHadNavWindow = default, short platformMonitor = default, Span bgFgDrawListsLastFrame = default, Span> bgFgDrawLists = default, ImDrawData drawDataP = default, ImDrawDataBuilder drawDataBuilder = default, Vector2 lastPlatformPos = default, Vector2 lastPlatformSize = default, Vector2 lastRendererSize = default, Vector2 workInsetMin = default, Vector2 workInsetMax = default, Vector2 buildWorkInsetMin = default, Vector2 buildWorkInsetMax = default) - { - ImGuiViewport = imGuiViewport; - Window = window; - Idx = idx; - LastFrameActive = lastFrameActive; - LastFocusedStampCount = lastFocusedStampCount; - LastNameHash = lastNameHash; - LastPos = lastPos; - LastSize = lastSize; - Alpha = alpha; - LastAlpha = lastAlpha; - LastFocusedHadNavWindow = lastFocusedHadNavWindow ? (byte)1 : (byte)0; - PlatformMonitor = platformMonitor; - if (bgFgDrawListsLastFrame != default(Span)) - { - BgFgDrawListsLastFrame_0 = bgFgDrawListsLastFrame[0]; - BgFgDrawListsLastFrame_1 = bgFgDrawListsLastFrame[1]; - } - if (bgFgDrawLists != default(Span>)) - { - BgFgDrawLists_0 = bgFgDrawLists[0]; - BgFgDrawLists_1 = bgFgDrawLists[1]; - } - DrawDataP = drawDataP; - DrawDataBuilder = drawDataBuilder; - LastPlatformPos = lastPlatformPos; - LastPlatformSize = lastPlatformSize; - LastRendererSize = lastRendererSize; - WorkInsetMin = workInsetMin; - WorkInsetMax = workInsetMax; - BuildWorkInsetMin = buildWorkInsetMin; - BuildWorkInsetMax = buildWorkInsetMax; - } - - - /// - /// To be documented. - /// - public unsafe Span> BgFgDrawLists - - { - get - { - fixed (ImDrawList** p = &this.BgFgDrawLists_0) - { - return new Span>(p, 2); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiViewportPPtr : IEquatable - { - public ImGuiViewportPPtr(ImGuiViewportP* handle) { Handle = handle; } - - public ImGuiViewportP* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiViewportPPtr Null => new ImGuiViewportPPtr(null); - - public ImGuiViewportP this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiViewportPPtr(ImGuiViewportP* handle) => new ImGuiViewportPPtr(handle); - - public static implicit operator ImGuiViewportP*(ImGuiViewportPPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiViewportPPtr left, ImGuiViewportPPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiViewportPPtr left, ImGuiViewportPPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiViewportPPtr left, ImGuiViewportP* right) => left.Handle == right; - - public static bool operator !=(ImGuiViewportPPtr left, ImGuiViewportP* right) => left.Handle != right; - - public bool Equals(ImGuiViewportPPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiViewportPPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiViewportPPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiViewport ImGuiViewport => ref Unsafe.AsRef(&Handle->ImGuiViewport); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref int Idx => ref Unsafe.AsRef(&Handle->Idx); - /// - /// To be documented. - /// - public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); - /// - /// To be documented. - /// - public ref int LastFocusedStampCount => ref Unsafe.AsRef(&Handle->LastFocusedStampCount); - /// - /// To be documented. - /// - public ref uint LastNameHash => ref Unsafe.AsRef(&Handle->LastNameHash); - /// - /// To be documented. - /// - public ref Vector2 LastPos => ref Unsafe.AsRef(&Handle->LastPos); - /// - /// To be documented. - /// - public ref Vector2 LastSize => ref Unsafe.AsRef(&Handle->LastSize); - /// - /// To be documented. - /// - public ref float Alpha => ref Unsafe.AsRef(&Handle->Alpha); - /// - /// To be documented. - /// - public ref float LastAlpha => ref Unsafe.AsRef(&Handle->LastAlpha); - /// - /// To be documented. - /// - public ref bool LastFocusedHadNavWindow => ref Unsafe.AsRef(&Handle->LastFocusedHadNavWindow); - /// - /// To be documented. - /// - public ref short PlatformMonitor => ref Unsafe.AsRef(&Handle->PlatformMonitor); - /// - /// To be documented. - /// - public unsafe Span BgFgDrawListsLastFrame - - { - get - { - return new Span(&Handle->BgFgDrawListsLastFrame_0, 2); - } - } - /// - /// To be documented. - /// - /// - /// To be documented. - /// - public ref ImDrawData DrawDataP => ref Unsafe.AsRef(&Handle->DrawDataP); - /// - /// To be documented. - /// - public ref ImDrawDataBuilder DrawDataBuilder => ref Unsafe.AsRef(&Handle->DrawDataBuilder); - /// - /// To be documented. - /// - public ref Vector2 LastPlatformPos => ref Unsafe.AsRef(&Handle->LastPlatformPos); - /// - /// To be documented. - /// - public ref Vector2 LastPlatformSize => ref Unsafe.AsRef(&Handle->LastPlatformSize); - /// - /// To be documented. - /// - public ref Vector2 LastRendererSize => ref Unsafe.AsRef(&Handle->LastRendererSize); - /// - /// To be documented. - /// - public ref Vector2 WorkInsetMin => ref Unsafe.AsRef(&Handle->WorkInsetMin); - /// - /// To be documented. - /// - public ref Vector2 WorkInsetMax => ref Unsafe.AsRef(&Handle->WorkInsetMax); - /// - /// To be documented. - /// - public ref Vector2 BuildWorkInsetMin => ref Unsafe.AsRef(&Handle->BuildWorkInsetMin); - /// - /// To be documented. - /// - public ref Vector2 BuildWorkInsetMax => ref Unsafe.AsRef(&Handle->BuildWorkInsetMax); - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiViewportPPtrPtr : IEquatable - { - public ImGuiViewportPPtrPtr(ImGuiViewportP** handle) { Handle = handle; } - - public ImGuiViewportP** Handle; - - public bool IsNull => Handle == null; - - public static ImGuiViewportPPtrPtr Null => new ImGuiViewportPPtrPtr(null); - - public ImGuiViewportP* this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiViewportPPtrPtr(ImGuiViewportP** handle) => new ImGuiViewportPPtrPtr(handle); - - public static implicit operator ImGuiViewportP**(ImGuiViewportPPtrPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiViewportPPtrPtr left, ImGuiViewportPPtrPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiViewportPPtrPtr left, ImGuiViewportPPtrPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiViewportPPtrPtr left, ImGuiViewportP** right) => left.Handle == right; - - public static bool operator !=(ImGuiViewportPPtrPtr left, ImGuiViewportP** right) => left.Handle != right; - - public bool Equals(ImGuiViewportPPtrPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiViewportPPtrPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiViewportPPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindow.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindow.cs deleted file mode 100644 index c42137903..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindow.cs +++ /dev/null @@ -1,1591 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Storage for one window
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiWindow - { - /// - /// To be documented. - /// - public unsafe ImGuiContext* Ctx; - - /// - /// To be documented. - /// - public unsafe byte* Name; - - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImGuiWindowFlags Flags; - - /// - /// To be documented. - /// - public ImGuiWindowFlags FlagsPreviousFrame; - - /// - /// To be documented. - /// - public ImGuiChildFlags ChildFlags; - - /// - /// To be documented. - /// - public ImGuiWindowClass WindowClass; - - /// - /// To be documented. - /// - public unsafe ImGuiViewportP* Viewport; - - /// - /// To be documented. - /// - public uint ViewportId; - - /// - /// To be documented. - /// - public Vector2 ViewportPos; - - /// - /// To be documented. - /// - public int ViewportAllowPlatformMonitorExtend; - - /// - /// To be documented. - /// - public Vector2 Pos; - - /// - /// To be documented. - /// - public Vector2 Size; - - /// - /// To be documented. - /// - public Vector2 SizeFull; - - /// - /// To be documented. - /// - public Vector2 ContentSize; - - /// - /// To be documented. - /// - public Vector2 ContentSizeIdeal; - - /// - /// To be documented. - /// - public Vector2 ContentSizeExplicit; - - /// - /// To be documented. - /// - public Vector2 WindowPadding; - - /// - /// To be documented. - /// - public float WindowRounding; - - /// - /// To be documented. - /// - public float WindowBorderSize; - - /// - /// To be documented. - /// - public float TitleBarHeight; - - /// - /// To be documented. - /// - public float MenuBarHeight; - - /// - /// To be documented. - /// - public float DecoOuterSizeX1; - - /// - /// To be documented. - /// - public float DecoOuterSizeY1; - - /// - /// To be documented. - /// - public float DecoOuterSizeX2; - - /// - /// To be documented. - /// - public float DecoOuterSizeY2; - - /// - /// To be documented. - /// - public float DecoInnerSizeX1; - - /// - /// To be documented. - /// - public float DecoInnerSizeY1; - - /// - /// To be documented. - /// - public int NameBufLen; - - /// - /// To be documented. - /// - public uint MoveId; - - /// - /// To be documented. - /// - public uint TabId; - - /// - /// To be documented. - /// - public uint ChildId; - - /// - /// To be documented. - /// - public uint PopupId; - - /// - /// To be documented. - /// - public Vector2 Scroll; - - /// - /// To be documented. - /// - public Vector2 ScrollMax; - - /// - /// To be documented. - /// - public Vector2 ScrollTarget; - - /// - /// To be documented. - /// - public Vector2 ScrollTargetCenterRatio; - - /// - /// To be documented. - /// - public Vector2 ScrollTargetEdgeSnapDist; - - /// - /// To be documented. - /// - public Vector2 ScrollbarSizes; - - /// - /// To be documented. - /// - public byte ScrollbarX; - - /// - /// To be documented. - /// - public byte ScrollbarY; - - /// - /// To be documented. - /// - public byte ScrollbarXStabilizeEnabled; - - /// - /// To be documented. - /// - public byte ScrollbarXStabilizeToggledHistory; - - /// - /// To be documented. - /// - public byte ViewportOwned; - - /// - /// To be documented. - /// - public byte Active; - - /// - /// To be documented. - /// - public byte WasActive; - - /// - /// To be documented. - /// - public byte WriteAccessed; - - /// - /// To be documented. - /// - public byte Collapsed; - - /// - /// To be documented. - /// - public byte WantCollapseToggle; - - /// - /// To be documented. - /// - public byte SkipItems; - - /// - /// To be documented. - /// - public byte SkipRefresh; - - /// - /// To be documented. - /// - public byte Appearing; - - /// - /// To be documented. - /// - public byte Hidden; - - /// - /// To be documented. - /// - public byte IsFallbackWindow; - - /// - /// To be documented. - /// - public byte IsExplicitChild; - - /// - /// To be documented. - /// - public byte HasCloseButton; - - /// - /// To be documented. - /// - public byte ResizeBorderHovered; - - /// - /// To be documented. - /// - public byte ResizeBorderHeld; - - /// - /// To be documented. - /// - public short BeginCount; - - /// - /// To be documented. - /// - public short BeginCountPreviousFrame; - - /// - /// To be documented. - /// - public short BeginOrderWithinParent; - - /// - /// To be documented. - /// - public short BeginOrderWithinContext; - - /// - /// To be documented. - /// - public short FocusOrder; - - /// - /// To be documented. - /// - public byte AutoFitFramesX; - - /// - /// To be documented. - /// - public byte AutoFitFramesY; - - /// - /// To be documented. - /// - public byte AutoFitOnlyGrows; - - /// - /// To be documented. - /// - public ImGuiDir AutoPosLastDirection; - - /// - /// To be documented. - /// - public byte HiddenFramesCanSkipItems; - - /// - /// To be documented. - /// - public byte HiddenFramesCannotSkipItems; - - /// - /// To be documented. - /// - public byte HiddenFramesForRenderOnly; - - /// - /// To be documented. - /// - public byte DisableInputsFrames; - - /// - /// To be documented. - /// - public ImGuiCond SetWindowPosAllowFlags; - - /// - /// To be documented. - /// - public ImGuiCond SetWindowSizeAllowFlags; - - /// - /// To be documented. - /// - public ImGuiCond SetWindowCollapsedAllowFlags; - - /// - /// To be documented. - /// - public ImGuiCond SetWindowDockAllowFlags; - - /// - /// To be documented. - /// - public Vector2 SetWindowPosVal; - - /// - /// To be documented. - /// - public Vector2 SetWindowPosPivot; - - /// - /// To be documented. - /// - public ImVector IDStack; - - /// - /// To be documented. - /// - public ImGuiWindowTempData DC; - - /// - /// To be documented. - /// - public ImRect OuterRectClipped; - - /// - /// To be documented. - /// - public ImRect InnerRect; - - /// - /// To be documented. - /// - public ImRect InnerClipRect; - - /// - /// To be documented. - /// - public ImRect WorkRect; - - /// - /// To be documented. - /// - public ImRect ParentWorkRect; - - /// - /// To be documented. - /// - public ImRect ClipRect; - - /// - /// To be documented. - /// - public ImRect ContentRegionRect; - - /// - /// To be documented. - /// - public ImVec2Ih HitTestHoleSize; - - /// - /// To be documented. - /// - public ImVec2Ih HitTestHoleOffset; - - /// - /// To be documented. - /// - public int LastFrameActive; - - /// - /// To be documented. - /// - public int LastFrameJustFocused; - - /// - /// To be documented. - /// - public float LastTimeActive; - - /// - /// To be documented. - /// - public float ItemWidthDefault; - - /// - /// To be documented. - /// - public ImGuiStorage StateStorage; - - /// - /// To be documented. - /// - public ImVector ColumnsStorage; - - /// - /// To be documented. - /// - public float FontWindowScale; - - /// - /// To be documented. - /// - public float FontWindowScaleParents; - - /// - /// To be documented. - /// - public float FontDpiScale; - - /// - /// To be documented. - /// - public float FontRefSize; - - /// - /// To be documented. - /// - public int SettingsOffset; - - /// - /// To be documented. - /// - public unsafe ImDrawList* DrawList; - - /// - /// To be documented. - /// - public ImDrawList DrawListInst; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* ParentWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* ParentWindowInBeginStack; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* RootWindow; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* RootWindowPopupTree; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* RootWindowDockTree; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* RootWindowForTitleBarHighlight; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* RootWindowForNav; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* ParentWindowForFocusRoute; - - /// - /// To be documented. - /// - public unsafe ImGuiWindow* NavLastChildNavWindow; - - /// - /// To be documented. - /// - public uint NavLastIds_0; - public uint NavLastIds_1; - - /// - /// To be documented. - /// - public ImRect NavRectRel_0; - public ImRect NavRectRel_1; - - /// - /// To be documented. - /// - public Vector2 NavPreferredScoringPosRel_0; - public Vector2 NavPreferredScoringPosRel_1; - - /// - /// To be documented. - /// - public uint NavRootFocusScopeId; - - /// - /// To be documented. - /// - public int MemoryDrawListIdxCapacity; - - /// - /// To be documented. - /// - public int MemoryDrawListVtxCapacity; - - /// - /// To be documented. - /// - public byte MemoryCompacted; - - /// - /// To be documented. - /// - public byte DockIsActive; - - /// - /// To be documented. - /// - public byte DockNodeIsVisible; - - /// - /// To be documented. - /// - public byte DockTabIsVisible; - - /// - /// To be documented. - /// - public byte DockTabWantClose; - - /// - /// To be documented. - /// - public short DockOrder; - - /// - /// To be documented. - /// - public ImGuiWindowDockStyle DockStyle; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* DockNode; - - /// - /// To be documented. - /// - public unsafe ImGuiDockNode* DockNodeAsHost; - - /// - /// To be documented. - /// - public uint DockId; - - - /// - /// To be documented. - /// - public unsafe ImGuiWindow(ImGuiContextPtr ctx = default, byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiChildFlags childFlags = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, float titleBarHeight = default, float menuBarHeight = default, float decoOuterSizeX1 = default, float decoOuterSizeY1 = default, float decoOuterSizeX2 = default, float decoOuterSizeY2 = default, float decoInnerSizeX1 = default, float decoInnerSizeY1 = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, uint popupId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool scrollbarXStabilizeEnabled = default, byte scrollbarXStabilizeToggledHistory = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool skipRefresh = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHovered = default, byte resizeBorderHeld = default, short beginCount = default, short beginCountPreviousFrame = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, byte autoFitFramesX = default, byte autoFitFramesY = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, byte hiddenFramesCanSkipItems = default, byte hiddenFramesCannotSkipItems = default, byte hiddenFramesForRenderOnly = default, byte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector columnsStorage = default, float fontWindowScale = default, float fontWindowScaleParents = default, float fontDpiScale = default, float fontRefSize = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* parentWindowForFocusRoute = default, ImGuiWindow* navLastChildNavWindow = default, uint* navLastIds = default, ImRect* navRectRel = default, Vector2* navPreferredScoringPosRel = default, uint navRootFocusScopeId = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default) - { - Ctx = ctx; - Name = name; - ID = id; - Flags = flags; - FlagsPreviousFrame = flagsPreviousFrame; - ChildFlags = childFlags; - WindowClass = windowClass; - Viewport = viewport; - ViewportId = viewportId; - ViewportPos = viewportPos; - ViewportAllowPlatformMonitorExtend = viewportAllowPlatformMonitorExtend; - Pos = pos; - Size = size; - SizeFull = sizeFull; - ContentSize = contentSize; - ContentSizeIdeal = contentSizeIdeal; - ContentSizeExplicit = contentSizeExplicit; - WindowPadding = windowPadding; - WindowRounding = windowRounding; - WindowBorderSize = windowBorderSize; - TitleBarHeight = titleBarHeight; - MenuBarHeight = menuBarHeight; - DecoOuterSizeX1 = decoOuterSizeX1; - DecoOuterSizeY1 = decoOuterSizeY1; - DecoOuterSizeX2 = decoOuterSizeX2; - DecoOuterSizeY2 = decoOuterSizeY2; - DecoInnerSizeX1 = decoInnerSizeX1; - DecoInnerSizeY1 = decoInnerSizeY1; - NameBufLen = nameBufLen; - MoveId = moveId; - TabId = tabId; - ChildId = childId; - PopupId = popupId; - Scroll = scroll; - ScrollMax = scrollMax; - ScrollTarget = scrollTarget; - ScrollTargetCenterRatio = scrollTargetCenterRatio; - ScrollTargetEdgeSnapDist = scrollTargetEdgeSnapDist; - ScrollbarSizes = scrollbarSizes; - ScrollbarX = scrollbarX ? (byte)1 : (byte)0; - ScrollbarY = scrollbarY ? (byte)1 : (byte)0; - ScrollbarXStabilizeEnabled = scrollbarXStabilizeEnabled ? (byte)1 : (byte)0; - ScrollbarXStabilizeToggledHistory = scrollbarXStabilizeToggledHistory; - ViewportOwned = viewportOwned ? (byte)1 : (byte)0; - Active = active ? (byte)1 : (byte)0; - WasActive = wasActive ? (byte)1 : (byte)0; - WriteAccessed = writeAccessed ? (byte)1 : (byte)0; - Collapsed = collapsed ? (byte)1 : (byte)0; - WantCollapseToggle = wantCollapseToggle ? (byte)1 : (byte)0; - SkipItems = skipItems ? (byte)1 : (byte)0; - SkipRefresh = skipRefresh ? (byte)1 : (byte)0; - Appearing = appearing ? (byte)1 : (byte)0; - Hidden = hidden ? (byte)1 : (byte)0; - IsFallbackWindow = isFallbackWindow ? (byte)1 : (byte)0; - IsExplicitChild = isExplicitChild ? (byte)1 : (byte)0; - HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; - ResizeBorderHovered = resizeBorderHovered; - ResizeBorderHeld = resizeBorderHeld; - BeginCount = beginCount; - BeginCountPreviousFrame = beginCountPreviousFrame; - BeginOrderWithinParent = beginOrderWithinParent; - BeginOrderWithinContext = beginOrderWithinContext; - FocusOrder = focusOrder; - AutoFitFramesX = autoFitFramesX; - AutoFitFramesY = autoFitFramesY; - AutoFitOnlyGrows = autoFitOnlyGrows ? (byte)1 : (byte)0; - AutoPosLastDirection = autoPosLastDirection; - HiddenFramesCanSkipItems = hiddenFramesCanSkipItems; - HiddenFramesCannotSkipItems = hiddenFramesCannotSkipItems; - HiddenFramesForRenderOnly = hiddenFramesForRenderOnly; - DisableInputsFrames = disableInputsFrames; - SetWindowPosAllowFlags = setWindowPosAllowFlags; - SetWindowSizeAllowFlags = setWindowSizeAllowFlags; - SetWindowCollapsedAllowFlags = setWindowCollapsedAllowFlags; - SetWindowDockAllowFlags = setWindowDockAllowFlags; - SetWindowPosVal = setWindowPosVal; - SetWindowPosPivot = setWindowPosPivot; - IDStack = idStack; - DC = dc; - OuterRectClipped = outerRectClipped; - InnerRect = innerRect; - InnerClipRect = innerClipRect; - WorkRect = workRect; - ParentWorkRect = parentWorkRect; - ClipRect = clipRect; - ContentRegionRect = contentRegionRect; - HitTestHoleSize = hitTestHoleSize; - HitTestHoleOffset = hitTestHoleOffset; - LastFrameActive = lastFrameActive; - LastFrameJustFocused = lastFrameJustFocused; - LastTimeActive = lastTimeActive; - ItemWidthDefault = itemWidthDefault; - StateStorage = stateStorage; - ColumnsStorage = columnsStorage; - FontWindowScale = fontWindowScale; - FontWindowScaleParents = fontWindowScaleParents; - FontDpiScale = fontDpiScale; - FontRefSize = fontRefSize; - SettingsOffset = settingsOffset; - DrawList = drawList; - DrawListInst = drawListInst; - ParentWindow = parentWindow; - ParentWindowInBeginStack = parentWindowInBeginStack; - RootWindow = rootWindow; - RootWindowPopupTree = rootWindowPopupTree; - RootWindowDockTree = rootWindowDockTree; - RootWindowForTitleBarHighlight = rootWindowForTitleBarHighlight; - RootWindowForNav = rootWindowForNav; - ParentWindowForFocusRoute = parentWindowForFocusRoute; - NavLastChildNavWindow = navLastChildNavWindow; - if (navLastIds != default(uint*)) - { - NavLastIds_0 = navLastIds[0]; - NavLastIds_1 = navLastIds[1]; - } - if (navRectRel != default(ImRect*)) - { - NavRectRel_0 = navRectRel[0]; - NavRectRel_1 = navRectRel[1]; - } - if (navPreferredScoringPosRel != default(Vector2*)) - { - NavPreferredScoringPosRel_0 = navPreferredScoringPosRel[0]; - NavPreferredScoringPosRel_1 = navPreferredScoringPosRel[1]; - } - NavRootFocusScopeId = navRootFocusScopeId; - MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity; - MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity; - MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; - DockIsActive = dockIsActive ? (byte)1 : (byte)0; - DockNodeIsVisible = dockNodeIsVisible ? (byte)1 : (byte)0; - DockTabIsVisible = dockTabIsVisible ? (byte)1 : (byte)0; - DockTabWantClose = dockTabWantClose ? (byte)1 : (byte)0; - DockOrder = dockOrder; - DockStyle = dockStyle; - DockNode = dockNode; - DockNodeAsHost = dockNodeAsHost; - DockId = dockId; - } - - /// - /// To be documented. - /// - public unsafe ImGuiWindow(ImGuiContextPtr ctx = default, byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiChildFlags childFlags = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, float titleBarHeight = default, float menuBarHeight = default, float decoOuterSizeX1 = default, float decoOuterSizeY1 = default, float decoOuterSizeX2 = default, float decoOuterSizeY2 = default, float decoInnerSizeX1 = default, float decoInnerSizeY1 = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, uint popupId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool scrollbarXStabilizeEnabled = default, byte scrollbarXStabilizeToggledHistory = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool skipRefresh = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHovered = default, byte resizeBorderHeld = default, short beginCount = default, short beginCountPreviousFrame = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, byte autoFitFramesX = default, byte autoFitFramesY = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, byte hiddenFramesCanSkipItems = default, byte hiddenFramesCannotSkipItems = default, byte hiddenFramesForRenderOnly = default, byte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector columnsStorage = default, float fontWindowScale = default, float fontWindowScaleParents = default, float fontDpiScale = default, float fontRefSize = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* parentWindowForFocusRoute = default, ImGuiWindow* navLastChildNavWindow = default, Span navLastIds = default, Span navRectRel = default, Span navPreferredScoringPosRel = default, uint navRootFocusScopeId = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default) - { - Ctx = ctx; - Name = name; - ID = id; - Flags = flags; - FlagsPreviousFrame = flagsPreviousFrame; - ChildFlags = childFlags; - WindowClass = windowClass; - Viewport = viewport; - ViewportId = viewportId; - ViewportPos = viewportPos; - ViewportAllowPlatformMonitorExtend = viewportAllowPlatformMonitorExtend; - Pos = pos; - Size = size; - SizeFull = sizeFull; - ContentSize = contentSize; - ContentSizeIdeal = contentSizeIdeal; - ContentSizeExplicit = contentSizeExplicit; - WindowPadding = windowPadding; - WindowRounding = windowRounding; - WindowBorderSize = windowBorderSize; - TitleBarHeight = titleBarHeight; - MenuBarHeight = menuBarHeight; - DecoOuterSizeX1 = decoOuterSizeX1; - DecoOuterSizeY1 = decoOuterSizeY1; - DecoOuterSizeX2 = decoOuterSizeX2; - DecoOuterSizeY2 = decoOuterSizeY2; - DecoInnerSizeX1 = decoInnerSizeX1; - DecoInnerSizeY1 = decoInnerSizeY1; - NameBufLen = nameBufLen; - MoveId = moveId; - TabId = tabId; - ChildId = childId; - PopupId = popupId; - Scroll = scroll; - ScrollMax = scrollMax; - ScrollTarget = scrollTarget; - ScrollTargetCenterRatio = scrollTargetCenterRatio; - ScrollTargetEdgeSnapDist = scrollTargetEdgeSnapDist; - ScrollbarSizes = scrollbarSizes; - ScrollbarX = scrollbarX ? (byte)1 : (byte)0; - ScrollbarY = scrollbarY ? (byte)1 : (byte)0; - ScrollbarXStabilizeEnabled = scrollbarXStabilizeEnabled ? (byte)1 : (byte)0; - ScrollbarXStabilizeToggledHistory = scrollbarXStabilizeToggledHistory; - ViewportOwned = viewportOwned ? (byte)1 : (byte)0; - Active = active ? (byte)1 : (byte)0; - WasActive = wasActive ? (byte)1 : (byte)0; - WriteAccessed = writeAccessed ? (byte)1 : (byte)0; - Collapsed = collapsed ? (byte)1 : (byte)0; - WantCollapseToggle = wantCollapseToggle ? (byte)1 : (byte)0; - SkipItems = skipItems ? (byte)1 : (byte)0; - SkipRefresh = skipRefresh ? (byte)1 : (byte)0; - Appearing = appearing ? (byte)1 : (byte)0; - Hidden = hidden ? (byte)1 : (byte)0; - IsFallbackWindow = isFallbackWindow ? (byte)1 : (byte)0; - IsExplicitChild = isExplicitChild ? (byte)1 : (byte)0; - HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; - ResizeBorderHovered = resizeBorderHovered; - ResizeBorderHeld = resizeBorderHeld; - BeginCount = beginCount; - BeginCountPreviousFrame = beginCountPreviousFrame; - BeginOrderWithinParent = beginOrderWithinParent; - BeginOrderWithinContext = beginOrderWithinContext; - FocusOrder = focusOrder; - AutoFitFramesX = autoFitFramesX; - AutoFitFramesY = autoFitFramesY; - AutoFitOnlyGrows = autoFitOnlyGrows ? (byte)1 : (byte)0; - AutoPosLastDirection = autoPosLastDirection; - HiddenFramesCanSkipItems = hiddenFramesCanSkipItems; - HiddenFramesCannotSkipItems = hiddenFramesCannotSkipItems; - HiddenFramesForRenderOnly = hiddenFramesForRenderOnly; - DisableInputsFrames = disableInputsFrames; - SetWindowPosAllowFlags = setWindowPosAllowFlags; - SetWindowSizeAllowFlags = setWindowSizeAllowFlags; - SetWindowCollapsedAllowFlags = setWindowCollapsedAllowFlags; - SetWindowDockAllowFlags = setWindowDockAllowFlags; - SetWindowPosVal = setWindowPosVal; - SetWindowPosPivot = setWindowPosPivot; - IDStack = idStack; - DC = dc; - OuterRectClipped = outerRectClipped; - InnerRect = innerRect; - InnerClipRect = innerClipRect; - WorkRect = workRect; - ParentWorkRect = parentWorkRect; - ClipRect = clipRect; - ContentRegionRect = contentRegionRect; - HitTestHoleSize = hitTestHoleSize; - HitTestHoleOffset = hitTestHoleOffset; - LastFrameActive = lastFrameActive; - LastFrameJustFocused = lastFrameJustFocused; - LastTimeActive = lastTimeActive; - ItemWidthDefault = itemWidthDefault; - StateStorage = stateStorage; - ColumnsStorage = columnsStorage; - FontWindowScale = fontWindowScale; - FontWindowScaleParents = fontWindowScaleParents; - FontDpiScale = fontDpiScale; - FontRefSize = fontRefSize; - SettingsOffset = settingsOffset; - DrawList = drawList; - DrawListInst = drawListInst; - ParentWindow = parentWindow; - ParentWindowInBeginStack = parentWindowInBeginStack; - RootWindow = rootWindow; - RootWindowPopupTree = rootWindowPopupTree; - RootWindowDockTree = rootWindowDockTree; - RootWindowForTitleBarHighlight = rootWindowForTitleBarHighlight; - RootWindowForNav = rootWindowForNav; - ParentWindowForFocusRoute = parentWindowForFocusRoute; - NavLastChildNavWindow = navLastChildNavWindow; - if (navLastIds != default(Span)) - { - NavLastIds_0 = navLastIds[0]; - NavLastIds_1 = navLastIds[1]; - } - if (navRectRel != default(Span)) - { - NavRectRel_0 = navRectRel[0]; - NavRectRel_1 = navRectRel[1]; - } - if (navPreferredScoringPosRel != default(Span)) - { - NavPreferredScoringPosRel_0 = navPreferredScoringPosRel[0]; - NavPreferredScoringPosRel_1 = navPreferredScoringPosRel[1]; - } - NavRootFocusScopeId = navRootFocusScopeId; - MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity; - MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity; - MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; - DockIsActive = dockIsActive ? (byte)1 : (byte)0; - DockNodeIsVisible = dockNodeIsVisible ? (byte)1 : (byte)0; - DockTabIsVisible = dockTabIsVisible ? (byte)1 : (byte)0; - DockTabWantClose = dockTabWantClose ? (byte)1 : (byte)0; - DockOrder = dockOrder; - DockStyle = dockStyle; - DockNode = dockNode; - DockNodeAsHost = dockNodeAsHost; - DockId = dockId; - } - - - /// - /// To be documented. - /// - public unsafe Span NavRectRel - - { - get - { - fixed (ImRect* p = &this.NavRectRel_0) - { - return new Span(p, 2); - } - } - } - /// - /// To be documented. - /// - public unsafe Span NavPreferredScoringPosRel - - { - get - { - fixed (Vector2* p = &this.NavPreferredScoringPosRel_0) - { - return new Span(p, 2); - } - } - } - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiWindowPtr : IEquatable - { - public ImGuiWindowPtr(ImGuiWindow* handle) { Handle = handle; } - - public ImGuiWindow* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiWindowPtr Null => new ImGuiWindowPtr(null); - - public ImGuiWindow this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiWindowPtr(ImGuiWindow* handle) => new ImGuiWindowPtr(handle); - - public static implicit operator ImGuiWindow*(ImGuiWindowPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiWindowPtr left, ImGuiWindowPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiWindowPtr left, ImGuiWindowPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiWindowPtr left, ImGuiWindow* right) => left.Handle == right; - - public static bool operator !=(ImGuiWindowPtr left, ImGuiWindow* right) => left.Handle != right; - - public bool Equals(ImGuiWindowPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiWindowPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiWindowPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef(&Handle->Ctx); - /// - /// To be documented. - /// - public byte* Name { get => Handle->Name; set => Handle->Name = value; } - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImGuiWindowFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImGuiWindowFlags FlagsPreviousFrame => ref Unsafe.AsRef(&Handle->FlagsPreviousFrame); - /// - /// To be documented. - /// - public ref ImGuiChildFlags ChildFlags => ref Unsafe.AsRef(&Handle->ChildFlags); - /// - /// To be documented. - /// - public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); - /// - /// To be documented. - /// - public ref ImGuiViewportPPtr Viewport => ref Unsafe.AsRef(&Handle->Viewport); - /// - /// To be documented. - /// - public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); - /// - /// To be documented. - /// - public ref Vector2 ViewportPos => ref Unsafe.AsRef(&Handle->ViewportPos); - /// - /// To be documented. - /// - public ref int ViewportAllowPlatformMonitorExtend => ref Unsafe.AsRef(&Handle->ViewportAllowPlatformMonitorExtend); - /// - /// To be documented. - /// - public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public ref Vector2 SizeFull => ref Unsafe.AsRef(&Handle->SizeFull); - /// - /// To be documented. - /// - public ref Vector2 ContentSize => ref Unsafe.AsRef(&Handle->ContentSize); - /// - /// To be documented. - /// - public ref Vector2 ContentSizeIdeal => ref Unsafe.AsRef(&Handle->ContentSizeIdeal); - /// - /// To be documented. - /// - public ref Vector2 ContentSizeExplicit => ref Unsafe.AsRef(&Handle->ContentSizeExplicit); - /// - /// To be documented. - /// - public ref Vector2 WindowPadding => ref Unsafe.AsRef(&Handle->WindowPadding); - /// - /// To be documented. - /// - public ref float WindowRounding => ref Unsafe.AsRef(&Handle->WindowRounding); - /// - /// To be documented. - /// - public ref float WindowBorderSize => ref Unsafe.AsRef(&Handle->WindowBorderSize); - /// - /// To be documented. - /// - public ref float TitleBarHeight => ref Unsafe.AsRef(&Handle->TitleBarHeight); - /// - /// To be documented. - /// - public ref float MenuBarHeight => ref Unsafe.AsRef(&Handle->MenuBarHeight); - /// - /// To be documented. - /// - public ref float DecoOuterSizeX1 => ref Unsafe.AsRef(&Handle->DecoOuterSizeX1); - /// - /// To be documented. - /// - public ref float DecoOuterSizeY1 => ref Unsafe.AsRef(&Handle->DecoOuterSizeY1); - /// - /// To be documented. - /// - public ref float DecoOuterSizeX2 => ref Unsafe.AsRef(&Handle->DecoOuterSizeX2); - /// - /// To be documented. - /// - public ref float DecoOuterSizeY2 => ref Unsafe.AsRef(&Handle->DecoOuterSizeY2); - /// - /// To be documented. - /// - public ref float DecoInnerSizeX1 => ref Unsafe.AsRef(&Handle->DecoInnerSizeX1); - /// - /// To be documented. - /// - public ref float DecoInnerSizeY1 => ref Unsafe.AsRef(&Handle->DecoInnerSizeY1); - /// - /// To be documented. - /// - public ref int NameBufLen => ref Unsafe.AsRef(&Handle->NameBufLen); - /// - /// To be documented. - /// - public ref uint MoveId => ref Unsafe.AsRef(&Handle->MoveId); - /// - /// To be documented. - /// - public ref uint TabId => ref Unsafe.AsRef(&Handle->TabId); - /// - /// To be documented. - /// - public ref uint ChildId => ref Unsafe.AsRef(&Handle->ChildId); - /// - /// To be documented. - /// - public ref uint PopupId => ref Unsafe.AsRef(&Handle->PopupId); - /// - /// To be documented. - /// - public ref Vector2 Scroll => ref Unsafe.AsRef(&Handle->Scroll); - /// - /// To be documented. - /// - public ref Vector2 ScrollMax => ref Unsafe.AsRef(&Handle->ScrollMax); - /// - /// To be documented. - /// - public ref Vector2 ScrollTarget => ref Unsafe.AsRef(&Handle->ScrollTarget); - /// - /// To be documented. - /// - public ref Vector2 ScrollTargetCenterRatio => ref Unsafe.AsRef(&Handle->ScrollTargetCenterRatio); - /// - /// To be documented. - /// - public ref Vector2 ScrollTargetEdgeSnapDist => ref Unsafe.AsRef(&Handle->ScrollTargetEdgeSnapDist); - /// - /// To be documented. - /// - public ref Vector2 ScrollbarSizes => ref Unsafe.AsRef(&Handle->ScrollbarSizes); - /// - /// To be documented. - /// - public ref bool ScrollbarX => ref Unsafe.AsRef(&Handle->ScrollbarX); - /// - /// To be documented. - /// - public ref bool ScrollbarY => ref Unsafe.AsRef(&Handle->ScrollbarY); - /// - /// To be documented. - /// - public ref bool ScrollbarXStabilizeEnabled => ref Unsafe.AsRef(&Handle->ScrollbarXStabilizeEnabled); - /// - /// To be documented. - /// - public ref byte ScrollbarXStabilizeToggledHistory => ref Unsafe.AsRef(&Handle->ScrollbarXStabilizeToggledHistory); - /// - /// To be documented. - /// - public ref bool ViewportOwned => ref Unsafe.AsRef(&Handle->ViewportOwned); - /// - /// To be documented. - /// - public ref bool Active => ref Unsafe.AsRef(&Handle->Active); - /// - /// To be documented. - /// - public ref bool WasActive => ref Unsafe.AsRef(&Handle->WasActive); - /// - /// To be documented. - /// - public ref bool WriteAccessed => ref Unsafe.AsRef(&Handle->WriteAccessed); - /// - /// To be documented. - /// - public ref bool Collapsed => ref Unsafe.AsRef(&Handle->Collapsed); - /// - /// To be documented. - /// - public ref bool WantCollapseToggle => ref Unsafe.AsRef(&Handle->WantCollapseToggle); - /// - /// To be documented. - /// - public ref bool SkipItems => ref Unsafe.AsRef(&Handle->SkipItems); - /// - /// To be documented. - /// - public ref bool SkipRefresh => ref Unsafe.AsRef(&Handle->SkipRefresh); - /// - /// To be documented. - /// - public ref bool Appearing => ref Unsafe.AsRef(&Handle->Appearing); - /// - /// To be documented. - /// - public ref bool Hidden => ref Unsafe.AsRef(&Handle->Hidden); - /// - /// To be documented. - /// - public ref bool IsFallbackWindow => ref Unsafe.AsRef(&Handle->IsFallbackWindow); - /// - /// To be documented. - /// - public ref bool IsExplicitChild => ref Unsafe.AsRef(&Handle->IsExplicitChild); - /// - /// To be documented. - /// - public ref bool HasCloseButton => ref Unsafe.AsRef(&Handle->HasCloseButton); - /// - /// To be documented. - /// - public ref byte ResizeBorderHovered => ref Unsafe.AsRef(&Handle->ResizeBorderHovered); - /// - /// To be documented. - /// - public ref byte ResizeBorderHeld => ref Unsafe.AsRef(&Handle->ResizeBorderHeld); - /// - /// To be documented. - /// - public ref short BeginCount => ref Unsafe.AsRef(&Handle->BeginCount); - /// - /// To be documented. - /// - public ref short BeginCountPreviousFrame => ref Unsafe.AsRef(&Handle->BeginCountPreviousFrame); - /// - /// To be documented. - /// - public ref short BeginOrderWithinParent => ref Unsafe.AsRef(&Handle->BeginOrderWithinParent); - /// - /// To be documented. - /// - public ref short BeginOrderWithinContext => ref Unsafe.AsRef(&Handle->BeginOrderWithinContext); - /// - /// To be documented. - /// - public ref short FocusOrder => ref Unsafe.AsRef(&Handle->FocusOrder); - /// - /// To be documented. - /// - public ref byte AutoFitFramesX => ref Unsafe.AsRef(&Handle->AutoFitFramesX); - /// - /// To be documented. - /// - public ref byte AutoFitFramesY => ref Unsafe.AsRef(&Handle->AutoFitFramesY); - /// - /// To be documented. - /// - public ref bool AutoFitOnlyGrows => ref Unsafe.AsRef(&Handle->AutoFitOnlyGrows); - /// - /// To be documented. - /// - public ref ImGuiDir AutoPosLastDirection => ref Unsafe.AsRef(&Handle->AutoPosLastDirection); - /// - /// To be documented. - /// - public ref byte HiddenFramesCanSkipItems => ref Unsafe.AsRef(&Handle->HiddenFramesCanSkipItems); - /// - /// To be documented. - /// - public ref byte HiddenFramesCannotSkipItems => ref Unsafe.AsRef(&Handle->HiddenFramesCannotSkipItems); - /// - /// To be documented. - /// - public ref byte HiddenFramesForRenderOnly => ref Unsafe.AsRef(&Handle->HiddenFramesForRenderOnly); - /// - /// To be documented. - /// - public ref byte DisableInputsFrames => ref Unsafe.AsRef(&Handle->DisableInputsFrames); - /// - /// To be documented. - /// - public ref ImGuiCond SetWindowPosAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowPosAllowFlags); - /// - /// To be documented. - /// - public ref ImGuiCond SetWindowSizeAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowSizeAllowFlags); - /// - /// To be documented. - /// - public ref ImGuiCond SetWindowCollapsedAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowCollapsedAllowFlags); - /// - /// To be documented. - /// - public ref ImGuiCond SetWindowDockAllowFlags => ref Unsafe.AsRef(&Handle->SetWindowDockAllowFlags); - /// - /// To be documented. - /// - public ref Vector2 SetWindowPosVal => ref Unsafe.AsRef(&Handle->SetWindowPosVal); - /// - /// To be documented. - /// - public ref Vector2 SetWindowPosPivot => ref Unsafe.AsRef(&Handle->SetWindowPosPivot); - /// - /// To be documented. - /// - public ref ImVector IDStack => ref Unsafe.AsRef>(&Handle->IDStack); - /// - /// To be documented. - /// - public ref ImGuiWindowTempData DC => ref Unsafe.AsRef(&Handle->DC); - /// - /// To be documented. - /// - public ref ImRect OuterRectClipped => ref Unsafe.AsRef(&Handle->OuterRectClipped); - /// - /// To be documented. - /// - public ref ImRect InnerRect => ref Unsafe.AsRef(&Handle->InnerRect); - /// - /// To be documented. - /// - public ref ImRect InnerClipRect => ref Unsafe.AsRef(&Handle->InnerClipRect); - /// - /// To be documented. - /// - public ref ImRect WorkRect => ref Unsafe.AsRef(&Handle->WorkRect); - /// - /// To be documented. - /// - public ref ImRect ParentWorkRect => ref Unsafe.AsRef(&Handle->ParentWorkRect); - /// - /// To be documented. - /// - public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); - /// - /// To be documented. - /// - public ref ImRect ContentRegionRect => ref Unsafe.AsRef(&Handle->ContentRegionRect); - /// - /// To be documented. - /// - public ref ImVec2Ih HitTestHoleSize => ref Unsafe.AsRef(&Handle->HitTestHoleSize); - /// - /// To be documented. - /// - public ref ImVec2Ih HitTestHoleOffset => ref Unsafe.AsRef(&Handle->HitTestHoleOffset); - /// - /// To be documented. - /// - public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); - /// - /// To be documented. - /// - public ref int LastFrameJustFocused => ref Unsafe.AsRef(&Handle->LastFrameJustFocused); - /// - /// To be documented. - /// - public ref float LastTimeActive => ref Unsafe.AsRef(&Handle->LastTimeActive); - /// - /// To be documented. - /// - public ref float ItemWidthDefault => ref Unsafe.AsRef(&Handle->ItemWidthDefault); - /// - /// To be documented. - /// - public ref ImGuiStorage StateStorage => ref Unsafe.AsRef(&Handle->StateStorage); - /// - /// To be documented. - /// - public ref ImVector ColumnsStorage => ref Unsafe.AsRef>(&Handle->ColumnsStorage); - /// - /// To be documented. - /// - public ref float FontWindowScale => ref Unsafe.AsRef(&Handle->FontWindowScale); - /// - /// To be documented. - /// - public ref float FontWindowScaleParents => ref Unsafe.AsRef(&Handle->FontWindowScaleParents); - /// - /// To be documented. - /// - public ref float FontDpiScale => ref Unsafe.AsRef(&Handle->FontDpiScale); - /// - /// To be documented. - /// - public ref float FontRefSize => ref Unsafe.AsRef(&Handle->FontRefSize); - /// - /// To be documented. - /// - public ref int SettingsOffset => ref Unsafe.AsRef(&Handle->SettingsOffset); - /// - /// To be documented. - /// - public ref ImDrawListPtr DrawList => ref Unsafe.AsRef(&Handle->DrawList); - /// - /// To be documented. - /// - public ref ImDrawList DrawListInst => ref Unsafe.AsRef(&Handle->DrawListInst); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr ParentWindow => ref Unsafe.AsRef(&Handle->ParentWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr ParentWindowInBeginStack => ref Unsafe.AsRef(&Handle->ParentWindowInBeginStack); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr RootWindow => ref Unsafe.AsRef(&Handle->RootWindow); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr RootWindowPopupTree => ref Unsafe.AsRef(&Handle->RootWindowPopupTree); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr RootWindowDockTree => ref Unsafe.AsRef(&Handle->RootWindowDockTree); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr RootWindowForTitleBarHighlight => ref Unsafe.AsRef(&Handle->RootWindowForTitleBarHighlight); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr RootWindowForNav => ref Unsafe.AsRef(&Handle->RootWindowForNav); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr ParentWindowForFocusRoute => ref Unsafe.AsRef(&Handle->ParentWindowForFocusRoute); - /// - /// To be documented. - /// - public ref ImGuiWindowPtr NavLastChildNavWindow => ref Unsafe.AsRef(&Handle->NavLastChildNavWindow); - /// - /// To be documented. - /// - public unsafe Span NavLastIds - - { - get - { - return new Span(&Handle->NavLastIds_0, 2); - } - } - /// - /// To be documented. - /// - public unsafe Span NavRectRel - - { - get - { - return new Span(&Handle->NavRectRel_0, 2); - } - } - /// - /// To be documented. - /// - public unsafe Span NavPreferredScoringPosRel - - { - get - { - return new Span(&Handle->NavPreferredScoringPosRel_0, 2); - } - } - /// - /// To be documented. - /// - public ref uint NavRootFocusScopeId => ref Unsafe.AsRef(&Handle->NavRootFocusScopeId); - /// - /// To be documented. - /// - public ref int MemoryDrawListIdxCapacity => ref Unsafe.AsRef(&Handle->MemoryDrawListIdxCapacity); - /// - /// To be documented. - /// - public ref int MemoryDrawListVtxCapacity => ref Unsafe.AsRef(&Handle->MemoryDrawListVtxCapacity); - /// - /// To be documented. - /// - public ref bool MemoryCompacted => ref Unsafe.AsRef(&Handle->MemoryCompacted); - /// - /// To be documented. - /// - public ref bool DockIsActive => ref Unsafe.AsRef(&Handle->DockIsActive); - /// - /// To be documented. - /// - public ref bool DockNodeIsVisible => ref Unsafe.AsRef(&Handle->DockNodeIsVisible); - /// - /// To be documented. - /// - public ref bool DockTabIsVisible => ref Unsafe.AsRef(&Handle->DockTabIsVisible); - /// - /// To be documented. - /// - public ref bool DockTabWantClose => ref Unsafe.AsRef(&Handle->DockTabWantClose); - /// - /// To be documented. - /// - public ref short DockOrder => ref Unsafe.AsRef(&Handle->DockOrder); - /// - /// To be documented. - /// - public ref ImGuiWindowDockStyle DockStyle => ref Unsafe.AsRef(&Handle->DockStyle); - /// - /// To be documented. - /// - public ref ImGuiDockNodePtr DockNode => ref Unsafe.AsRef(&Handle->DockNode); - /// - /// To be documented. - /// - public ref ImGuiDockNodePtr DockNodeAsHost => ref Unsafe.AsRef(&Handle->DockNodeAsHost); - /// - /// To be documented. - /// - public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiWindowPtrPtr : IEquatable - { - public ImGuiWindowPtrPtr(ImGuiWindow** handle) { Handle = handle; } - - public ImGuiWindow** Handle; - - public bool IsNull => Handle == null; - - public static ImGuiWindowPtrPtr Null => new ImGuiWindowPtrPtr(null); - - public ImGuiWindow* this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiWindowPtrPtr(ImGuiWindow** handle) => new ImGuiWindowPtrPtr(handle); - - public static implicit operator ImGuiWindow**(ImGuiWindowPtrPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiWindowPtrPtr left, ImGuiWindowPtrPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiWindowPtrPtr left, ImGuiWindowPtrPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiWindowPtrPtr left, ImGuiWindow** right) => left.Handle == right; - - public static bool operator !=(ImGuiWindowPtrPtr left, ImGuiWindow** right) => left.Handle != right; - - public bool Equals(ImGuiWindowPtrPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiWindowPtrPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiWindowPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowClass.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowClass.cs deleted file mode 100644 index ba6ec5541..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowClass.cs +++ /dev/null @@ -1,194 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// [ALPHA] Rarely used very advanced uses only. Use with SetNextWindowClass() and DockSpace() functions.
- /// Important: the content of this class is still highly WIP and likely to change and be refactored
- /// before we stabilize Docking features. Please be mindful if using this.
- /// Provide hints:
- /// - To the platform backend via altered viewport flags (enabledisable OS decoration, OS task bar icons, etc.)
- /// - To the platform backend for OS level parentchild relationships of viewport.
- /// - To the docking system for various options and filtering.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiWindowClass - { - /// - /// To be documented. - /// - public uint ClassId; - - /// - /// To be documented. - /// - public uint ParentViewportId; - - /// - /// To be documented. - /// - public uint FocusRouteParentWindowId; - - /// - /// To be documented. - /// - public ImGuiViewportFlags ViewportFlagsOverrideSet; - - /// - /// To be documented. - /// - public ImGuiViewportFlags ViewportFlagsOverrideClear; - - /// - /// To be documented. - /// - public ImGuiTabItemFlags TabItemFlagsOverrideSet; - - /// - /// To be documented. - /// - public ImGuiDockNodeFlags DockNodeFlagsOverrideSet; - - /// - /// To be documented. - /// - public byte DockingAlwaysTabBar; - - /// - /// To be documented. - /// - public byte DockingAllowUnclassed; - - - /// - /// To be documented. - /// - public unsafe ImGuiWindowClass(uint classId = default, uint parentViewportId = default, uint focusRouteParentWindowId = default, ImGuiViewportFlags viewportFlagsOverrideSet = default, ImGuiViewportFlags viewportFlagsOverrideClear = default, ImGuiTabItemFlags tabItemFlagsOverrideSet = default, ImGuiDockNodeFlags dockNodeFlagsOverrideSet = default, bool dockingAlwaysTabBar = default, bool dockingAllowUnclassed = default) - { - ClassId = classId; - ParentViewportId = parentViewportId; - FocusRouteParentWindowId = focusRouteParentWindowId; - ViewportFlagsOverrideSet = viewportFlagsOverrideSet; - ViewportFlagsOverrideClear = viewportFlagsOverrideClear; - TabItemFlagsOverrideSet = tabItemFlagsOverrideSet; - DockNodeFlagsOverrideSet = dockNodeFlagsOverrideSet; - DockingAlwaysTabBar = dockingAlwaysTabBar ? (byte)1 : (byte)0; - DockingAllowUnclassed = dockingAllowUnclassed ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImGuiWindowClass* @this = &this) - { - ImGui.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiWindowClassPtr : IEquatable - { - public ImGuiWindowClassPtr(ImGuiWindowClass* handle) { Handle = handle; } - - public ImGuiWindowClass* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiWindowClassPtr Null => new ImGuiWindowClassPtr(null); - - public ImGuiWindowClass this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiWindowClassPtr(ImGuiWindowClass* handle) => new ImGuiWindowClassPtr(handle); - - public static implicit operator ImGuiWindowClass*(ImGuiWindowClassPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiWindowClassPtr left, ImGuiWindowClassPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiWindowClassPtr left, ImGuiWindowClassPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiWindowClassPtr left, ImGuiWindowClass* right) => left.Handle == right; - - public static bool operator !=(ImGuiWindowClassPtr left, ImGuiWindowClass* right) => left.Handle != right; - - public bool Equals(ImGuiWindowClassPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiWindowClassPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiWindowClassPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ClassId => ref Unsafe.AsRef(&Handle->ClassId); - /// - /// To be documented. - /// - public ref uint ParentViewportId => ref Unsafe.AsRef(&Handle->ParentViewportId); - /// - /// To be documented. - /// - public ref uint FocusRouteParentWindowId => ref Unsafe.AsRef(&Handle->FocusRouteParentWindowId); - /// - /// To be documented. - /// - public ref ImGuiViewportFlags ViewportFlagsOverrideSet => ref Unsafe.AsRef(&Handle->ViewportFlagsOverrideSet); - /// - /// To be documented. - /// - public ref ImGuiViewportFlags ViewportFlagsOverrideClear => ref Unsafe.AsRef(&Handle->ViewportFlagsOverrideClear); - /// - /// To be documented. - /// - public ref ImGuiTabItemFlags TabItemFlagsOverrideSet => ref Unsafe.AsRef(&Handle->TabItemFlagsOverrideSet); - /// - /// To be documented. - /// - public ref ImGuiDockNodeFlags DockNodeFlagsOverrideSet => ref Unsafe.AsRef(&Handle->DockNodeFlagsOverrideSet); - /// - /// To be documented. - /// - public ref bool DockingAlwaysTabBar => ref Unsafe.AsRef(&Handle->DockingAlwaysTabBar); - /// - /// To be documented. - /// - public ref bool DockingAllowUnclassed => ref Unsafe.AsRef(&Handle->DockingAllowUnclassed); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGui.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs deleted file mode 100644 index 307884afc..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowDockStyle.cs +++ /dev/null @@ -1,77 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the docking tab, which intuitively I would say we don't want to.
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiWindowDockStyle - { - /// - /// To be documented. - /// - public uint Colors_0; - public uint Colors_1; - public uint Colors_2; - public uint Colors_3; - public uint Colors_4; - public uint Colors_5; - public uint Colors_6; - public uint Colors_7; - - - /// - /// To be documented. - /// - public unsafe ImGuiWindowDockStyle(uint* colors = default) - { - if (colors != default(uint*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - } - } - - /// - /// To be documented. - /// - public unsafe ImGuiWindowDockStyle(Span colors = default) - { - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - } - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowSettings.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowSettings.cs deleted file mode 100644 index ab7bba93f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowSettings.cs +++ /dev/null @@ -1,201 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Windows data saved in imgui.ini file
- /// Because we never destroy or rename ImGuiWindowSettings, we can store the names in a separate buffer easily.
- /// (this is designed to be stored in a ImChunkStream buffer, with the variable-length Name following our structure)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiWindowSettings - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImVec2Ih Pos; - - /// - /// To be documented. - /// - public ImVec2Ih Size; - - /// - /// To be documented. - /// - public ImVec2Ih ViewportPos; - - /// - /// To be documented. - /// - public uint ViewportId; - - /// - /// To be documented. - /// - public uint DockId; - - /// - /// To be documented. - /// - public uint ClassId; - - /// - /// To be documented. - /// - public short DockOrder; - - /// - /// To be documented. - /// - public byte Collapsed; - - /// - /// To be documented. - /// - public byte IsChild; - - /// - /// To be documented. - /// - public byte WantApply; - - /// - /// To be documented. - /// - public byte WantDelete; - - - /// - /// To be documented. - /// - public unsafe ImGuiWindowSettings(uint id = default, ImVec2Ih pos = default, ImVec2Ih size = default, ImVec2Ih viewportPos = default, uint viewportId = default, uint dockId = default, uint classId = default, short dockOrder = default, bool collapsed = default, bool isChild = default, bool wantApply = default, bool wantDelete = default) - { - ID = id; - Pos = pos; - Size = size; - ViewportPos = viewportPos; - ViewportId = viewportId; - DockId = dockId; - ClassId = classId; - DockOrder = dockOrder; - Collapsed = collapsed ? (byte)1 : (byte)0; - IsChild = isChild ? (byte)1 : (byte)0; - WantApply = wantApply ? (byte)1 : (byte)0; - WantDelete = wantDelete ? (byte)1 : (byte)0; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiWindowSettingsPtr : IEquatable - { - public ImGuiWindowSettingsPtr(ImGuiWindowSettings* handle) { Handle = handle; } - - public ImGuiWindowSettings* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiWindowSettingsPtr Null => new ImGuiWindowSettingsPtr(null); - - public ImGuiWindowSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiWindowSettingsPtr(ImGuiWindowSettings* handle) => new ImGuiWindowSettingsPtr(handle); - - public static implicit operator ImGuiWindowSettings*(ImGuiWindowSettingsPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiWindowSettingsPtr left, ImGuiWindowSettingsPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiWindowSettingsPtr left, ImGuiWindowSettingsPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiWindowSettingsPtr left, ImGuiWindowSettings* right) => left.Handle == right; - - public static bool operator !=(ImGuiWindowSettingsPtr left, ImGuiWindowSettings* right) => left.Handle != right; - - public bool Equals(ImGuiWindowSettingsPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiWindowSettingsPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiWindowSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImVec2Ih Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public ref ImVec2Ih Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public ref ImVec2Ih ViewportPos => ref Unsafe.AsRef(&Handle->ViewportPos); - /// - /// To be documented. - /// - public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); - /// - /// To be documented. - /// - public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); - /// - /// To be documented. - /// - public ref uint ClassId => ref Unsafe.AsRef(&Handle->ClassId); - /// - /// To be documented. - /// - public ref short DockOrder => ref Unsafe.AsRef(&Handle->DockOrder); - /// - /// To be documented. - /// - public ref bool Collapsed => ref Unsafe.AsRef(&Handle->Collapsed); - /// - /// To be documented. - /// - public ref bool IsChild => ref Unsafe.AsRef(&Handle->IsChild); - /// - /// To be documented. - /// - public ref bool WantApply => ref Unsafe.AsRef(&Handle->WantApply); - /// - /// To be documented. - /// - public ref bool WantDelete => ref Unsafe.AsRef(&Handle->WantDelete); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowStackData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowStackData.cs deleted file mode 100644 index e20d9f533..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowStackData.cs +++ /dev/null @@ -1,129 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Data saved for each window pushed into the stack
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiWindowStackData - { - /// - /// To be documented. - /// - public unsafe ImGuiWindow* Window; - - /// - /// To be documented. - /// - public ImGuiLastItemData ParentLastItemDataBackup; - - /// - /// To be documented. - /// - public ImGuiErrorRecoveryState StackSizesInBegin; - - /// - /// To be documented. - /// - public byte DisabledOverrideReenable; - - /// - /// To be documented. - /// - public float DisabledOverrideReenableAlphaBackup; - - - /// - /// To be documented. - /// - public unsafe ImGuiWindowStackData(ImGuiWindowPtr window = default, ImGuiLastItemData parentLastItemDataBackup = default, ImGuiErrorRecoveryState stackSizesInBegin = default, bool disabledOverrideReenable = default, float disabledOverrideReenableAlphaBackup = default) - { - Window = window; - ParentLastItemDataBackup = parentLastItemDataBackup; - StackSizesInBegin = stackSizesInBegin; - DisabledOverrideReenable = disabledOverrideReenable ? (byte)1 : (byte)0; - DisabledOverrideReenableAlphaBackup = disabledOverrideReenableAlphaBackup; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImGuiWindowStackDataPtr : IEquatable - { - public ImGuiWindowStackDataPtr(ImGuiWindowStackData* handle) { Handle = handle; } - - public ImGuiWindowStackData* Handle; - - public bool IsNull => Handle == null; - - public static ImGuiWindowStackDataPtr Null => new ImGuiWindowStackDataPtr(null); - - public ImGuiWindowStackData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImGuiWindowStackDataPtr(ImGuiWindowStackData* handle) => new ImGuiWindowStackDataPtr(handle); - - public static implicit operator ImGuiWindowStackData*(ImGuiWindowStackDataPtr handle) => handle.Handle; - - public static bool operator ==(ImGuiWindowStackDataPtr left, ImGuiWindowStackDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImGuiWindowStackDataPtr left, ImGuiWindowStackDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImGuiWindowStackDataPtr left, ImGuiWindowStackData* right) => left.Handle == right; - - public static bool operator !=(ImGuiWindowStackDataPtr left, ImGuiWindowStackData* right) => left.Handle != right; - - public bool Equals(ImGuiWindowStackDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImGuiWindowStackDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImGuiWindowStackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); - /// - /// To be documented. - /// - public ref ImGuiLastItemData ParentLastItemDataBackup => ref Unsafe.AsRef(&Handle->ParentLastItemDataBackup); - /// - /// To be documented. - /// - public ref ImGuiErrorRecoveryState StackSizesInBegin => ref Unsafe.AsRef(&Handle->StackSizesInBegin); - /// - /// To be documented. - /// - public ref bool DisabledOverrideReenable => ref Unsafe.AsRef(&Handle->DisabledOverrideReenable); - /// - /// To be documented. - /// - public ref float DisabledOverrideReenableAlphaBackup => ref Unsafe.AsRef(&Handle->DisabledOverrideReenableAlphaBackup); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowTempData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowTempData.cs deleted file mode 100644 index c308a7104..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImGuiWindowTempData.cs +++ /dev/null @@ -1,284 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Transient per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the DC variable name in ImGuiWindow.
- /// (That's theory, in practice the delimitation between ImGuiWindow and ImGuiWindowTempData is quite tenuous and could be reconsidered..)
- /// (This doesn't need a constructor because we zero-clear it as part of ImGuiWindow and all frame-temporary data are setup on Begin)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImGuiWindowTempData - { - /// - /// To be documented. - /// - public Vector2 CursorPos; - - /// - /// To be documented. - /// - public Vector2 CursorPosPrevLine; - - /// - /// To be documented. - /// - public Vector2 CursorStartPos; - - /// - /// To be documented. - /// - public Vector2 CursorMaxPos; - - /// - /// To be documented. - /// - public Vector2 IdealMaxPos; - - /// - /// To be documented. - /// - public Vector2 CurrLineSize; - - /// - /// To be documented. - /// - public Vector2 PrevLineSize; - - /// - /// To be documented. - /// - public float CurrLineTextBaseOffset; - - /// - /// To be documented. - /// - public float PrevLineTextBaseOffset; - - /// - /// To be documented. - /// - public byte IsSameLine; - - /// - /// To be documented. - /// - public byte IsSetPos; - - /// - /// To be documented. - /// - public ImVec1 Indent; - - /// - /// To be documented. - /// - public ImVec1 ColumnsOffset; - - /// - /// To be documented. - /// - public ImVec1 GroupOffset; - - /// - /// To be documented. - /// - public Vector2 CursorStartPosLossyness; - - /// - /// To be documented. - /// - public ImGuiNavLayer NavLayerCurrent; - - /// - /// To be documented. - /// - public short NavLayersActiveMask; - - /// - /// To be documented. - /// - public short NavLayersActiveMaskNext; - - /// - /// To be documented. - /// - public byte NavIsScrollPushableX; - - /// - /// To be documented. - /// - public byte NavHideHighlightOneFrame; - - /// - /// To be documented. - /// - public byte NavWindowHasScrollY; - - /// - /// To be documented. - /// - public byte MenuBarAppending; - - /// - /// To be documented. - /// - public Vector2 MenuBarOffset; - - /// - /// To be documented. - /// - public ImGuiMenuColumns MenuColumns; - - /// - /// To be documented. - /// - public int TreeDepth; - - /// - /// To be documented. - /// - public uint TreeHasStackDataDepthMask; - - /// - /// To be documented. - /// - public ImVector ChildWindows; - - /// - /// To be documented. - /// - public unsafe ImGuiStorage* StateStorage; - - /// - /// To be documented. - /// - public unsafe ImGuiOldColumns* CurrentColumns; - - /// - /// To be documented. - /// - public int CurrentTableIdx; - - /// - /// To be documented. - /// - public ImGuiLayoutType LayoutType; - - /// - /// To be documented. - /// - public ImGuiLayoutType ParentLayoutType; - - /// - /// To be documented. - /// - public uint ModalDimBgColor; - - /// - /// To be documented. - /// - public ImGuiItemStatusFlags WindowItemStatusFlags; - - /// - /// To be documented. - /// - public ImGuiItemStatusFlags ChildItemStatusFlags; - - /// - /// To be documented. - /// - public ImGuiItemStatusFlags DockTabItemStatusFlags; - - /// - /// To be documented. - /// - public ImRect DockTabItemRect; - - /// - /// To be documented. - /// - public float ItemWidth; - - /// - /// To be documented. - /// - public float TextWrapPos; - - /// - /// To be documented. - /// - public ImVector ItemWidthStack; - - /// - /// To be documented. - /// - public ImVector TextWrapPosStack; - - - /// - /// To be documented. - /// - public unsafe ImGuiWindowTempData(Vector2 cursorPos = default, Vector2 cursorPosPrevLine = default, Vector2 cursorStartPos = default, Vector2 cursorMaxPos = default, Vector2 idealMaxPos = default, Vector2 currLineSize = default, Vector2 prevLineSize = default, float currLineTextBaseOffset = default, float prevLineTextBaseOffset = default, bool isSameLine = default, bool isSetPos = default, ImVec1 indent = default, ImVec1 columnsOffset = default, ImVec1 groupOffset = default, Vector2 cursorStartPosLossyness = default, ImGuiNavLayer navLayerCurrent = default, short navLayersActiveMask = default, short navLayersActiveMaskNext = default, bool navIsScrollPushableX = default, bool navHideHighlightOneFrame = default, bool navWindowHasScrollY = default, bool menuBarAppending = default, Vector2 menuBarOffset = default, ImGuiMenuColumns menuColumns = default, int treeDepth = default, uint treeHasStackDataDepthMask = default, ImVector childWindows = default, ImGuiStorage* stateStorage = default, ImGuiOldColumns* currentColumns = default, int currentTableIdx = default, ImGuiLayoutType layoutType = default, ImGuiLayoutType parentLayoutType = default, uint modalDimBgColor = default, ImGuiItemStatusFlags windowItemStatusFlags = default, ImGuiItemStatusFlags childItemStatusFlags = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, float itemWidth = default, float textWrapPos = default, ImVector itemWidthStack = default, ImVector textWrapPosStack = default) - { - CursorPos = cursorPos; - CursorPosPrevLine = cursorPosPrevLine; - CursorStartPos = cursorStartPos; - CursorMaxPos = cursorMaxPos; - IdealMaxPos = idealMaxPos; - CurrLineSize = currLineSize; - PrevLineSize = prevLineSize; - CurrLineTextBaseOffset = currLineTextBaseOffset; - PrevLineTextBaseOffset = prevLineTextBaseOffset; - IsSameLine = isSameLine ? (byte)1 : (byte)0; - IsSetPos = isSetPos ? (byte)1 : (byte)0; - Indent = indent; - ColumnsOffset = columnsOffset; - GroupOffset = groupOffset; - CursorStartPosLossyness = cursorStartPosLossyness; - NavLayerCurrent = navLayerCurrent; - NavLayersActiveMask = navLayersActiveMask; - NavLayersActiveMaskNext = navLayersActiveMaskNext; - NavIsScrollPushableX = navIsScrollPushableX ? (byte)1 : (byte)0; - NavHideHighlightOneFrame = navHideHighlightOneFrame ? (byte)1 : (byte)0; - NavWindowHasScrollY = navWindowHasScrollY ? (byte)1 : (byte)0; - MenuBarAppending = menuBarAppending ? (byte)1 : (byte)0; - MenuBarOffset = menuBarOffset; - MenuColumns = menuColumns; - TreeDepth = treeDepth; - TreeHasStackDataDepthMask = treeHasStackDataDepthMask; - ChildWindows = childWindows; - StateStorage = stateStorage; - CurrentColumns = currentColumns; - CurrentTableIdx = currentTableIdx; - LayoutType = layoutType; - ParentLayoutType = parentLayoutType; - ModalDimBgColor = modalDimBgColor; - WindowItemStatusFlags = windowItemStatusFlags; - ChildItemStatusFlags = childItemStatusFlags; - DockTabItemStatusFlags = dockTabItemStatusFlags; - DockTabItemRect = dockTabItemRect; - ItemWidth = itemWidth; - TextWrapPos = textWrapPos; - ItemWidthStack = itemWidthStack; - TextWrapPosStack = textWrapPosStack; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiMultiSelectState.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiMultiSelectState.cs deleted file mode 100644 index 91bd9f9da..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiMultiSelectState.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImGuiMultiSelectState - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImGuiMultiSelectState(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs deleted file mode 100644 index c6e7b431a..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTabBar.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImGuiTabBar - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImGuiTabBar(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTable.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTable.cs deleted file mode 100644 index 914c54699..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImPoolImGuiTable.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImGuiTable - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImGuiTable(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImRect.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImRect.cs deleted file mode 100644 index a4ad6583f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImRect.cs +++ /dev/null @@ -1,100 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: ImRect (2D axis aligned bounding-box)
- /// NB: we can't rely on ImVec2 math operators being available here!
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImRect - { - /// - /// To be documented. - /// - public Vector2 Min; - - /// - /// To be documented. - /// - public Vector2 Max; - - - /// - /// To be documented. - /// - public unsafe ImRect(Vector2 min = default, Vector2 max = default) - { - Min = min; - Max = max; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImRectPtr : IEquatable - { - public ImRectPtr(ImRect* handle) { Handle = handle; } - - public ImRect* Handle; - - public bool IsNull => Handle == null; - - public static ImRectPtr Null => new ImRectPtr(null); - - public ImRect this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImRectPtr(ImRect* handle) => new ImRectPtr(handle); - - public static implicit operator ImRect*(ImRectPtr handle) => handle.Handle; - - public static bool operator ==(ImRectPtr left, ImRectPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImRectPtr left, ImRectPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImRectPtr left, ImRect* right) => left.Handle == right; - - public static bool operator !=(ImRectPtr left, ImRect* right) => left.Handle != right; - - public bool Equals(ImRectPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImRectPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector2 Min => ref Unsafe.AsRef(&Handle->Min); - /// - /// To be documented. - /// - public ref Vector2 Max => ref Unsafe.AsRef(&Handle->Max); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs deleted file mode 100644 index ffd029530..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableCellData.cs +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImSpanImGuiTableCellData - { - /// - /// To be documented. - /// - public unsafe ImGuiTableCellData* Data; - - /// - /// To be documented. - /// - public unsafe ImGuiTableCellData* DataEnd; - - - /// - /// To be documented. - /// - public unsafe ImSpanImGuiTableCellData(ImGuiTableCellData* data = default, ImGuiTableCellData* dataEnd = default) - { - Data = data; - DataEnd = dataEnd; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs deleted file mode 100644 index d5735e5a6..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumn.cs +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImSpanImGuiTableColumn - { - /// - /// To be documented. - /// - public unsafe ImGuiTableColumn* Data; - - /// - /// To be documented. - /// - public unsafe ImGuiTableColumn* DataEnd; - - - /// - /// To be documented. - /// - public unsafe ImSpanImGuiTableColumn(ImGuiTableColumn* data = default, ImGuiTableColumn* dataEnd = default) - { - Data = data; - DataEnd = dataEnd; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs deleted file mode 100644 index 8e1bc610f..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImSpanImGuiTableColumnIdx.cs +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImSpanImGuiTableColumnIdx - { - /// - /// To be documented. - /// - public unsafe sbyte* Data; - - /// - /// To be documented. - /// - public unsafe sbyte* DataEnd; - - - /// - /// To be documented. - /// - public unsafe ImSpanImGuiTableColumnIdx(sbyte* data = default, sbyte* dataEnd = default) - { - Data = data; - DataEnd = dataEnd; - } - - - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImVec1.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImVec1.cs deleted file mode 100644 index 2c14eab8b..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImVec1.cs +++ /dev/null @@ -1,89 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImVec1 - { - /// - /// To be documented. - /// - public float X; - - - /// - /// To be documented. - /// - public unsafe ImVec1(float x = default) - { - X = x; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImVec1Ptr : IEquatable - { - public ImVec1Ptr(ImVec1* handle) { Handle = handle; } - - public ImVec1* Handle; - - public bool IsNull => Handle == null; - - public static ImVec1Ptr Null => new ImVec1Ptr(null); - - public ImVec1 this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImVec1Ptr(ImVec1* handle) => new ImVec1Ptr(handle); - - public static implicit operator ImVec1*(ImVec1Ptr handle) => handle.Handle; - - public static bool operator ==(ImVec1Ptr left, ImVec1Ptr right) => left.Handle == right.Handle; - - public static bool operator !=(ImVec1Ptr left, ImVec1Ptr right) => left.Handle != right.Handle; - - public static bool operator ==(ImVec1Ptr left, ImVec1* right) => left.Handle == right; - - public static bool operator !=(ImVec1Ptr left, ImVec1* right) => left.Handle != right; - - public bool Equals(ImVec1Ptr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImVec1Ptr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImVec1Ptr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float X => ref Unsafe.AsRef(&Handle->X); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/ImVec2Ih.cs b/src/Hexa.NET.ImGui/Generated/Structs/ImVec2Ih.cs deleted file mode 100644 index 86bd25e44..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/ImVec2Ih.cs +++ /dev/null @@ -1,99 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage)
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct ImVec2Ih - { - /// - /// To be documented. - /// - public short X; - - /// - /// To be documented. - /// - public short Y; - - - /// - /// To be documented. - /// - public unsafe ImVec2Ih(short x = default, short y = default) - { - X = x; - Y = y; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImVec2IhPtr : IEquatable - { - public ImVec2IhPtr(ImVec2Ih* handle) { Handle = handle; } - - public ImVec2Ih* Handle; - - public bool IsNull => Handle == null; - - public static ImVec2IhPtr Null => new ImVec2IhPtr(null); - - public ImVec2Ih this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImVec2IhPtr(ImVec2Ih* handle) => new ImVec2IhPtr(handle); - - public static implicit operator ImVec2Ih*(ImVec2IhPtr handle) => handle.Handle; - - public static bool operator ==(ImVec2IhPtr left, ImVec2IhPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImVec2IhPtr left, ImVec2IhPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImVec2IhPtr left, ImVec2Ih* right) => left.Handle == right; - - public static bool operator !=(ImVec2IhPtr left, ImVec2Ih* right) => left.Handle != right; - - public bool Equals(ImVec2IhPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImVec2IhPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImVec2IhPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref short X => ref Unsafe.AsRef(&Handle->X); - /// - /// To be documented. - /// - public ref short Y => ref Unsafe.AsRef(&Handle->Y); - } - -} diff --git a/src/Hexa.NET.ImGui/Generated/Structs/STBTexteditState.cs b/src/Hexa.NET.ImGui/Generated/Structs/STBTexteditState.cs deleted file mode 100644 index d0a639871..000000000 --- a/src/Hexa.NET.ImGui/Generated/Structs/STBTexteditState.cs +++ /dev/null @@ -1,29 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct STBTexteditState - { - - - } - -} diff --git a/src/Hexa.NET.ImGui/Hexa.NET.ImGui.csproj b/src/Hexa.NET.ImGui/Hexa.NET.ImGui.csproj deleted file mode 100644 index 88ec7f6ca..000000000 --- a/src/Hexa.NET.ImGui/Hexa.NET.ImGui.csproj +++ /dev/null @@ -1,113 +0,0 @@ - - - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0 - enable - enable - true - - 12 - - true - true - true - true - - 1.91.9 - 2.2.7 - A .NET wrapper for the Dear ImGui library. (1.91.9b) - ImGui UI Immidate GUI Hexa HexaGen Source Generator C# .NET DotNet Sharp Windows macOS Android Bindings Wrapper Native - Juna Meinhold - Copyright (c) 2023 Juna Meinhold - https://github.com/HexaEngine/Hexa.NET.ImGui - https://github.com/HexaEngine/Hexa.NET.ImGui - git - LICENSE.txt - README.md - - true - $(NoWarn);1591 - - true - - - - - - - - - - - - - runtimes\android-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-x64/native - true - - - runtimes\android-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-arm64/native - true - - - runtimes\android-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-x64/native - true - - - runtimes\android-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-arm64/native - true - - - runtimes\osx-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-arm64/native - true - - - runtimes\osx-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-x64/native - true - - - runtimes\linux-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-arm64/native - true - - - runtimes\linux-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-x64/native - true - - - runtimes\win-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-arm64/native - true - - - runtimes\win-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x64/native - true - - - runtimes\win-x86\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x86/native - true - - - - - - - \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/ImGui.cs b/src/Hexa.NET.ImGui/ImGui.cs deleted file mode 100644 index fc1ce7226..000000000 --- a/src/Hexa.NET.ImGui/ImGui.cs +++ /dev/null @@ -1,34 +0,0 @@ -#nullable disable - -namespace Hexa.NET.ImGui -{ - using HexaGen.Runtime; - using System.Diagnostics; - - public static class ImGuiConfig - { - public static bool AotStaticLink; - } - - public static unsafe partial class ImGui - { - static ImGui() - { - if (ImGuiConfig.AotStaticLink) - { - InitApi(new NativeLibraryContext(Process.GetCurrentProcess().MainModule!.BaseAddress)); - } - else - { - InitApi(new NativeLibraryContext(LibraryLoader.LoadLibrary(GetLibraryName, null))); - } - } - - public static string GetLibraryName() - { - return "cimgui"; - } - - public const nint ImDrawCallbackResetRenderState = -8; - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/ImGuiP.cs b/src/Hexa.NET.ImGui/ImGuiP.cs deleted file mode 100644 index cee985032..000000000 --- a/src/Hexa.NET.ImGui/ImGuiP.cs +++ /dev/null @@ -1,16 +0,0 @@ -#nullable disable - -namespace Hexa.NET.ImGui -{ - using HexaGen.Runtime; - - public static unsafe partial class ImGuiP - { - internal static FunctionTable funcTable; - - static ImGuiP() - { - funcTable = ImGui.funcTable; - } - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/ImTextureID.cs b/src/Hexa.NET.ImGui/ImTextureID.cs deleted file mode 100644 index 6d202341a..000000000 --- a/src/Hexa.NET.ImGui/ImTextureID.cs +++ /dev/null @@ -1,47 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct ImTextureID : IEquatable - { - public ImTextureID(ulong handle) { Handle = handle; } - public ImTextureID(nint handle) { Handle = (ulong)handle; } - public ulong Handle { get; } - public bool IsNull => Handle == 0; - public static ImTextureID Null => new ImTextureID(0); - public static implicit operator ImTextureID(ulong handle) => new ImTextureID(handle); - public static bool operator ==(ImTextureID left, ImTextureID right) => left.Handle == right.Handle; - public static bool operator !=(ImTextureID left, ImTextureID right) => left.Handle != right.Handle; - public static bool operator ==(ImTextureID left, nint right) => left.Handle == (ulong)right; - public static bool operator !=(ImTextureID left, nint right) => left.Handle != (ulong)right; - public static bool operator ==(ImTextureID left, ulong right) => left.Handle == right; - public static bool operator !=(ImTextureID left, ulong right) => left.Handle != right; - public bool Equals(ImTextureID other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is ImTextureID handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImTextureID [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImGui/ImVector.cs b/src/Hexa.NET.ImGui/ImVector.cs deleted file mode 100644 index 143aecb49..000000000 --- a/src/Hexa.NET.ImGui/ImVector.cs +++ /dev/null @@ -1,187 +0,0 @@ -namespace Hexa.NET.ImGui -{ - /// - /// A structure representing a dynamic array for unmanaged types. - /// - /// The type of elements in the vector, must be unmanaged. - public unsafe struct ImVector where T : unmanaged - { - /// - /// Initializes a new instance of the struct with the specified size, capacity, and data pointer. - /// - /// The initial size of the vector. - /// The initial capacity of the vector. - /// Pointer to the initial data. - public ImVector(int size, int capacity, T* data) - { - this.size = size; - this.capacity = capacity; - this.data = data; - } - - private int size; - private int capacity; - private unsafe T* data; - - - /// - /// Gets or sets the element at the specified index. - /// - /// The zero-based index of the element to get or set. - /// The element at the specified index. - /// Thrown when the index is out of range. - public T this[int index] - { - get - { - if (index < 0 || index >= size) - { - throw new IndexOutOfRangeException(); - } - return data[index]; - } - set - { - if (index < 0 || index >= size) - { - throw new IndexOutOfRangeException(); - } - data[index] = value; - } - } - - /// - /// Gets a pointer to the first element of the vector. - /// - public readonly T* Data => data; - - /// - /// Gets a pointer to the first element of the vector. - /// - public readonly T* Front => data; - - /// - /// Gets a pointer to the last element of the vector. - /// - public readonly T* Back => size > 0 ? data + size - 1 : null; - - /// - /// Gets or sets the capacity of the vector. - /// - public int Capacity - { - readonly get => capacity; - set - { - if (capacity == value) - { - return; - } - - if (data == null) - { - data = (T*)ImGui.MemAlloc((nuint)(value * sizeof(T))); - } - else - { - int newSize = Math.Min(size, value); - T* newData = (T*)ImGui.MemAlloc((nuint)(value * sizeof(T))); - Buffer.MemoryCopy(data, newData, (nuint)(value * sizeof(T)), (nuint)(newSize * sizeof(T))); - ImGui.MemFree(data); - data = newData; - size = newSize; - } - - capacity = value; - - // Clear the rest of the data - for (int i = size; i < capacity; i++) - { - data[i] = default; - } - } - } - - /// - /// Gets the number of elements in the vector. - /// - public readonly int Size => size; - - /// - /// Grows the capacity of the vector to at least the specified value. - /// - /// The new capacity. - public void Grow(int newCapacity) - { - if (newCapacity > capacity) - { - Capacity = newCapacity * 2; - } - } - - /// - /// Ensures that the vector has at least the specified capacity. - /// - /// The minimum capacity required. - public void EnsureCapacity(int size) - { - if (size > capacity) - { - Grow(size); - } - } - - /// - /// Resizes the vector to the specified size. - /// - /// The new size of the vector. - public void Resize(int newSize) - { - EnsureCapacity(newSize); - size = newSize; - } - - /// - /// Clears all elements from the vector. - /// - public void Clear() - { - size = 0; - } - - /// - /// Adds an element to the end of the vector. - /// - /// The value to add. - public void PushBack(T value) - { - EnsureCapacity(size + 1); - data[size++] = value; - } - - /// - /// Removes the last element from the vector. - /// - public void PopBack() - { - if (size > 0) - { - size--; - } - } - - /// - /// Frees the memory allocated for the vector. - /// - public void Free() - { - if (data != null) - { - ImGui.MemFree(data); - data = null; - size = 0; - capacity = 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.000.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.000.cs deleted file mode 100644 index bcacb4067..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.000.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImHashDataNative(void* data, ulong dataSize, uint seed) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[695])(data, dataSize, seed); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[695])((nint)data, dataSize, seed); - #endif - } - - /// - /// To be documented. - /// - public static uint ImHashData(void* data, ulong dataSize, uint seed) - { - uint ret = ImHashDataNative(data, dataSize, seed); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashData(void* data, ulong dataSize) - { - uint ret = ImHashDataNative(data, dataSize, (uint)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashData(void* data, nuint dataSize, uint seed) - { - uint ret = ImHashDataNative(data, dataSize, seed); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashData(void* data, nuint dataSize) - { - uint ret = ImHashDataNative(data, dataSize, (uint)(0)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImHashStrNative(byte* data, ulong dataSize, uint seed) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[696])(data, dataSize, seed); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[696])((nint)data, dataSize, seed); - #endif - } - - /// - /// To be documented. - /// - public static uint ImHashStr(byte* data, ulong dataSize, uint seed) - { - uint ret = ImHashStrNative(data, dataSize, seed); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(byte* data, ulong dataSize) - { - uint ret = ImHashStrNative(data, dataSize, (uint)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(byte* data) - { - uint ret = ImHashStrNative(data, (ulong)(0), (uint)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(byte* data, uint seed) - { - uint ret = ImHashStrNative(data, (ulong)(0), seed); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ref byte data, ulong dataSize, uint seed) - { - fixed (byte* pdata = &data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ref byte data, ulong dataSize) - { - fixed (byte* pdata = &data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, (uint)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ref byte data) - { - fixed (byte* pdata = &data) - { - uint ret = ImHashStrNative((byte*)pdata, (ulong)(0), (uint)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ref byte data, uint seed) - { - fixed (byte* pdata = &data) - { - uint ret = ImHashStrNative((byte*)pdata, (ulong)(0), seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ReadOnlySpan data, ulong dataSize, uint seed) - { - fixed (byte* pdata = data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ReadOnlySpan data, ulong dataSize) - { - fixed (byte* pdata = data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, (uint)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ReadOnlySpan data) - { - fixed (byte* pdata = data) - { - uint ret = ImHashStrNative((byte*)pdata, (ulong)(0), (uint)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ReadOnlySpan data, uint seed) - { - fixed (byte* pdata = data) - { - uint ret = ImHashStrNative((byte*)pdata, (ulong)(0), seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(string data, ulong dataSize, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImHashStrNative(pStr0, dataSize, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(string data, ulong dataSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImHashStrNative(pStr0, dataSize, (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(string data) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImHashStrNative(pStr0, (ulong)(0), (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(string data, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImHashStrNative(pStr0, (ulong)(0), seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(byte* data, nuint dataSize, uint seed) - { - uint ret = ImHashStrNative(data, dataSize, seed); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(byte* data, nuint dataSize) - { - uint ret = ImHashStrNative(data, dataSize, (uint)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ref byte data, nuint dataSize, uint seed) - { - fixed (byte* pdata = &data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ref byte data, nuint dataSize) - { - fixed (byte* pdata = &data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, (uint)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ReadOnlySpan data, nuint dataSize, uint seed) - { - fixed (byte* pdata = data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(ReadOnlySpan data, nuint dataSize) - { - fixed (byte* pdata = data) - { - uint ret = ImHashStrNative((byte*)pdata, dataSize, (uint)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint ImHashStr(string data, nuint dataSize, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImHashStrNative(pStr0, dataSize, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint ImHashStr(string data, nuint dataSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImHashStrNative(pStr0, dataSize, (uint)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImQsortNative(void* baseValue, ulong count, ulong sizeOfElement, delegate*, int> compareFunc) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], int>, void>)funcTable[697])(baseValue, count, sizeOfElement, compareFunc); - #else - ((delegate* unmanaged[Cdecl])funcTable[697])((nint)baseValue, count, sizeOfElement, (nint)compareFunc); - #endif - } - - /// - /// To be documented. - /// - public static void ImQsort(void* baseValue, ulong count, ulong sizeOfElement, delegate*, int> compareFunc) - { - ImQsortNative(baseValue, count, sizeOfElement, compareFunc); - } - - /// - /// To be documented. - /// - public static void ImQsort(void* baseValue, nuint count, ulong sizeOfElement, delegate*, int> compareFunc) - { - ImQsortNative(baseValue, count, sizeOfElement, compareFunc); - } - - /// - /// To be documented. - /// - public static void ImQsort(void* baseValue, ulong count, nuint sizeOfElement, delegate*, int> compareFunc) - { - ImQsortNative(baseValue, count, sizeOfElement, compareFunc); - } - - /// - /// To be documented. - /// - public static void ImQsort(void* baseValue, nuint count, nuint sizeOfElement, delegate*, int> compareFunc) - { - ImQsortNative(baseValue, count, sizeOfElement, compareFunc); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImAlphaBlendColorsNative(uint colA, uint colB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[698])(colA, colB); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[698])(colA, colB); - #endif - } - - /// - /// To be documented. - /// - public static uint ImAlphaBlendColors(uint colA, uint colB) - { - uint ret = ImAlphaBlendColorsNative(colA, colB); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImIsPowerOfTwoNative(int v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[699])(v); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[699])(v); - #endif - } - - /// - /// To be documented. - /// - public static bool ImIsPowerOfTwo(int v) - { - byte ret = ImIsPowerOfTwoNative(v); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImIsPowerOfTwoNative(ulong v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[700])(v); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[700])(v); - #endif - } - - /// - /// To be documented. - /// - public static bool ImIsPowerOfTwo(ulong v) - { - byte ret = ImIsPowerOfTwoNative(v); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImUpperPowerOfTwoNative(int v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[701])(v); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[701])(v); - #endif - } - - /// - /// To be documented. - /// - public static int ImUpperPowerOfTwo(int v) - { - int ret = ImUpperPowerOfTwoNative(v); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImCountSetBitsNative(uint v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[702])(v); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[702])(v); - #endif - } - - /// - /// To be documented. - /// - public static uint ImCountSetBits(uint v) - { - uint ret = ImCountSetBitsNative(v); - return ret; - } - - /// - /// Case insensitive compare.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImStricmpNative(byte* str1, byte* str2) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[703])(str1, str2); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[703])((nint)str1, (nint)str2); - #endif - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(byte* str1, byte* str2) - { - int ret = ImStricmpNative(str1, str2); - return ret; - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ref byte str1, byte* str2) - { - fixed (byte* pstr1 = &str1) - { - int ret = ImStricmpNative((byte*)pstr1, str2); - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ReadOnlySpan str1, byte* str2) - { - fixed (byte* pstr1 = str1) - { - int ret = ImStricmpNative((byte*)pstr1, str2); - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(string str1, byte* str2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStricmpNative(pStr0, str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(byte* str1, ref byte str2) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStricmpNative(str1, (byte*)pstr2); - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(byte* str1, ReadOnlySpan str2) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStricmpNative(str1, (byte*)pstr2); - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(byte* str1, string str2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStricmpNative(str1, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ref byte str1, ref byte str2) - { - fixed (byte* pstr1 = &str1) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStricmpNative((byte*)pstr1, (byte*)pstr2); - return ret; - } - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ReadOnlySpan str1, ReadOnlySpan str2) - { - fixed (byte* pstr1 = str1) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStricmpNative((byte*)pstr1, (byte*)pstr2); - return ret; - } - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(string str1, string str2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (str2 != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str2); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str2, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImStricmpNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ref byte str1, ReadOnlySpan str2) - { - fixed (byte* pstr1 = &str1) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStricmpNative((byte*)pstr1, (byte*)pstr2); - return ret; - } - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ref byte str1, string str2) - { - fixed (byte* pstr1 = &str1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStricmpNative((byte*)pstr1, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ReadOnlySpan str1, ref byte str2) - { - fixed (byte* pstr1 = str1) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStricmpNative((byte*)pstr1, (byte*)pstr2); - return ret; - } - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(ReadOnlySpan str1, string str2) - { - fixed (byte* pstr1 = str1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStricmpNative((byte*)pstr1, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(string str1, ref byte str2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr2 = &str2) - { - int ret = ImStricmpNative(pStr0, (byte*)pstr2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare.
- ///
- public static int ImStricmp(string str1, ReadOnlySpan str2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr2 = str2) - { - int ret = ImStricmpNative(pStr0, (byte*)pstr2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImStrnicmpNative(byte* str1, byte* str2, ulong count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[704])(str1, str2, count); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[704])((nint)str1, (nint)str2, count); - #endif - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, byte* str2, ulong count) - { - int ret = ImStrnicmpNative(str1, str2, count); - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, byte* str2, ulong count) - { - fixed (byte* pstr1 = &str1) - { - int ret = ImStrnicmpNative((byte*)pstr1, str2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, byte* str2, ulong count) - { - fixed (byte* pstr1 = str1) - { - int ret = ImStrnicmpNative((byte*)pstr1, str2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, byte* str2, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative(pStr0, str2, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, ref byte str2, ulong count) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative(str1, (byte*)pstr2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, ReadOnlySpan str2, ulong count) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative(str1, (byte*)pstr2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, string str2, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative(str1, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, ref byte str2, ulong count) - { - fixed (byte* pstr1 = &str1) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, ReadOnlySpan str2, ulong count) - { - fixed (byte* pstr1 = str1) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, string str2, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (str2 != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str2); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str2, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImStrnicmpNative(pStr0, pStr1, count); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, ReadOnlySpan str2, ulong count) - { - fixed (byte* pstr1 = &str1) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, string str2, ulong count) - { - fixed (byte* pstr1 = &str1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative((byte*)pstr1, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, ref byte str2, ulong count) - { - fixed (byte* pstr1 = str1) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, string str2, ulong count) - { - fixed (byte* pstr1 = str1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative((byte*)pstr1, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, ref byte str2, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative(pStr0, (byte*)pstr2, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, ReadOnlySpan str2, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative(pStr0, (byte*)pstr2, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, byte* str2, nuint count) - { - int ret = ImStrnicmpNative(str1, str2, count); - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, byte* str2, nuint count) - { - fixed (byte* pstr1 = &str1) - { - int ret = ImStrnicmpNative((byte*)pstr1, str2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, byte* str2, nuint count) - { - fixed (byte* pstr1 = str1) - { - int ret = ImStrnicmpNative((byte*)pstr1, str2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, byte* str2, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative(pStr0, str2, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, ref byte str2, nuint count) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative(str1, (byte*)pstr2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, ReadOnlySpan str2, nuint count) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative(str1, (byte*)pstr2, count); - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(byte* str1, string str2, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative(str1, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, ref byte str2, nuint count) - { - fixed (byte* pstr1 = &str1) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, ReadOnlySpan str2, nuint count) - { - fixed (byte* pstr1 = str1) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, string str2, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (str2 != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str2); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str2, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImStrnicmpNative(pStr0, pStr1, count); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, ReadOnlySpan str2, nuint count) - { - fixed (byte* pstr1 = &str1) - { - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ref byte str1, string str2, nuint count) - { - fixed (byte* pstr1 = &str1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative((byte*)pstr1, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, ref byte str2, nuint count) - { - fixed (byte* pstr1 = str1) - { - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative((byte*)pstr1, (byte*)pstr2, count); - return ret; - } - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(ReadOnlySpan str1, string str2, nuint count) - { - fixed (byte* pstr1 = str1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str2 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str2, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImStrnicmpNative((byte*)pstr1, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, ref byte str2, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr2 = &str2) - { - int ret = ImStrnicmpNative(pStr0, (byte*)pstr2, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Case insensitive compare to a certain count.
- ///
- public static int ImStrnicmp(string str1, ReadOnlySpan str2, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str1 != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str1); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str1, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr2 = str2) - { - int ret = ImStrnicmpNative(pStr0, (byte*)pstr2, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImStrncpyNative(byte* dst, byte* src, ulong count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[705])(dst, src, count); - #else - ((delegate* unmanaged[Cdecl])funcTable[705])((nint)dst, (nint)src, count); - #endif - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, byte* src, ulong count) - { - ImStrncpyNative(dst, src, count); - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, byte* src, ulong count) - { - fixed (byte* pdst = &dst) - { - ImStrncpyNative((byte*)pdst, src, count); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, byte* src, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrncpyNative(pStr0, src, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, ref byte src, ulong count) - { - fixed (byte* psrc = &src) - { - ImStrncpyNative(dst, (byte*)psrc, count); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, ReadOnlySpan src, ulong count) - { - fixed (byte* psrc = src) - { - ImStrncpyNative(dst, (byte*)psrc, count); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, string src, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (src != null) - { - pStrSize0 = Utils.GetByteCountUTF8(src); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(src, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrncpyNative(dst, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, ref byte src, ulong count) - { - fixed (byte* pdst = &dst) - { - fixed (byte* psrc = &src) - { - ImStrncpyNative((byte*)pdst, (byte*)psrc, count); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, ReadOnlySpan src, ulong count) - { - fixed (byte* pdst = &dst) - { - fixed (byte* psrc = src) - { - ImStrncpyNative((byte*)pdst, (byte*)psrc, count); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, string src, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (src != null) - { - pStrSize1 = Utils.GetByteCountUTF8(src); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(src, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImStrncpyNative(pStr0, pStr1, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, string src, ulong count) - { - fixed (byte* pdst = &dst) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (src != null) - { - pStrSize0 = Utils.GetByteCountUTF8(src); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(src, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrncpyNative((byte*)pdst, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, ref byte src, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* psrc = &src) - { - ImStrncpyNative(pStr0, (byte*)psrc, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, ReadOnlySpan src, ulong count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* psrc = src) - { - ImStrncpyNative(pStr0, (byte*)psrc, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, byte* src, nuint count) - { - ImStrncpyNative(dst, src, count); - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, byte* src, nuint count) - { - fixed (byte* pdst = &dst) - { - ImStrncpyNative((byte*)pdst, src, count); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, byte* src, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrncpyNative(pStr0, src, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, ref byte src, nuint count) - { - fixed (byte* psrc = &src) - { - ImStrncpyNative(dst, (byte*)psrc, count); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, ReadOnlySpan src, nuint count) - { - fixed (byte* psrc = src) - { - ImStrncpyNative(dst, (byte*)psrc, count); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(byte* dst, string src, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (src != null) - { - pStrSize0 = Utils.GetByteCountUTF8(src); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(src, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrncpyNative(dst, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, ref byte src, nuint count) - { - fixed (byte* pdst = &dst) - { - fixed (byte* psrc = &src) - { - ImStrncpyNative((byte*)pdst, (byte*)psrc, count); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, ReadOnlySpan src, nuint count) - { - fixed (byte* pdst = &dst) - { - fixed (byte* psrc = src) - { - ImStrncpyNative((byte*)pdst, (byte*)psrc, count); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, string src, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (src != null) - { - pStrSize1 = Utils.GetByteCountUTF8(src); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(src, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImStrncpyNative(pStr0, pStr1, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref byte dst, string src, nuint count) - { - fixed (byte* pdst = &dst) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (src != null) - { - pStrSize0 = Utils.GetByteCountUTF8(src); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(src, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrncpyNative((byte*)pdst, pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, ref byte src, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* psrc = &src) - { - ImStrncpyNative(pStr0, (byte*)psrc, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Copy to a certain count and always zero terminate (strncpy doesn't).
- ///
- public static void ImStrncpy(ref string dst, ReadOnlySpan src, nuint count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* psrc = src) - { - ImStrncpyNative(pStr0, (byte*)psrc, count); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Duplicate a string.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStrdupNative(byte* str) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[706])(str); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[706])((nint)str); - #endif - } - - /// - /// Duplicate a string.
- ///
- public static byte* ImStrdup(byte* str) - { - byte* ret = ImStrdupNative(str); - return ret; - } - - /// - /// Duplicate a string.
- ///
- public static string ImStrdupS(byte* str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupNative(str)); - return ret; - } - - /// - /// Duplicate a string.
- ///
- public static byte* ImStrdup(ref byte str) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupNative((byte*)pstr); - return ret; - } - } - - /// - /// Duplicate a string.
- ///
- public static string ImStrdupS(ref byte str) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupNative((byte*)pstr)); - return ret; - } - } - - /// - /// Duplicate a string.
- ///
- public static byte* ImStrdup(ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrdupNative((byte*)pstr); - return ret; - } - } - - /// - /// Duplicate a string.
- ///
- public static string ImStrdupS(ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupNative((byte*)pstr)); - return ret; - } - } - - /// - /// Duplicate a string.
- ///
- public static byte* ImStrdup(string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrdupNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Duplicate a string.
- ///
- public static string ImStrdupS(string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupNative(pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStrdupcpyNative(byte* dst, ulong* pDstSize, byte* str) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[707])(dst, pDstSize, str); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[707])((nint)dst, (nint)pDstSize, (nint)str); - #endif - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ulong* pDstSize, byte* str) - { - byte* ret = ImStrdupcpyNative(dst, pDstSize, str); - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ulong* pDstSize, byte* str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, pDstSize, str)); - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ulong* pDstSize, byte* str) - { - fixed (byte* pdst = &dst) - { - byte* ret = ImStrdupcpyNative((byte*)pdst, pDstSize, str); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ulong* pDstSize, byte* str) - { - fixed (byte* pdst = &dst) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, pDstSize, str)); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ulong* pDstSize, byte* str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrdupcpyNative(pStr0, pDstSize, str); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ulong* pDstSize, byte* str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, pDstSize, str)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ref nuint pDstSize, byte* str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - byte* ret = ImStrdupcpyNative(dst, (ulong*)ppDstSize, str); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ref nuint pDstSize, byte* str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, (ulong*)ppDstSize, str)); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ref nuint pDstSize, byte* str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - byte* ret = ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, str); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ref nuint pDstSize, byte* str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, str)); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ref nuint pDstSize, byte* str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - byte* ret = ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, str); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ref nuint pDstSize, byte* str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, str)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ulong* pDstSize, ref byte str) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupcpyNative(dst, pDstSize, (byte*)pstr); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ulong* pDstSize, ref byte str) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, pDstSize, (byte*)pstr)); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ulong* pDstSize, ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrdupcpyNative(dst, pDstSize, (byte*)pstr); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ulong* pDstSize, ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, pDstSize, (byte*)pstr)); - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ulong* pDstSize, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrdupcpyNative(dst, pDstSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ulong* pDstSize, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, pDstSize, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ulong* pDstSize, ref byte str) - { - fixed (byte* pdst = &dst) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupcpyNative((byte*)pdst, pDstSize, (byte*)pstr); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ulong* pDstSize, ref byte str) - { - fixed (byte* pdst = &dst) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, pDstSize, (byte*)pstr)); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ulong* pDstSize, ReadOnlySpan str) - { - fixed (byte* pdst = &dst) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrdupcpyNative((byte*)pdst, pDstSize, (byte*)pstr); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ulong* pDstSize, ReadOnlySpan str) - { - fixed (byte* pdst = &dst) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, pDstSize, (byte*)pstr)); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ulong* pDstSize, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (str != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStrdupcpyNative(pStr0, pDstSize, pStr1); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ulong* pDstSize, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (str != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, pDstSize, pStr1)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ulong* pDstSize, string str) - { - fixed (byte* pdst = &dst) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrdupcpyNative((byte*)pdst, pDstSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ulong* pDstSize, string str) - { - fixed (byte* pdst = &dst) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, pDstSize, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ulong* pDstSize, ref byte str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupcpyNative(pStr0, pDstSize, (byte*)pstr); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ulong* pDstSize, ref byte str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, pDstSize, (byte*)pstr)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ulong* pDstSize, ReadOnlySpan str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr = str) - { - byte* ret = ImStrdupcpyNative(pStr0, pDstSize, (byte*)pstr); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ulong* pDstSize, ReadOnlySpan str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, pDstSize, (byte*)pstr)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ref nuint pDstSize, ref byte str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupcpyNative(dst, (ulong*)ppDstSize, (byte*)pstr); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ref nuint pDstSize, ref byte str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, (ulong*)ppDstSize, (byte*)pstr)); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ref nuint pDstSize, ReadOnlySpan str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrdupcpyNative(dst, (ulong*)ppDstSize, (byte*)pstr); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ref nuint pDstSize, ReadOnlySpan str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, (ulong*)ppDstSize, (byte*)pstr)); - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(byte* dst, ref nuint pDstSize, string str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrdupcpyNative(dst, (ulong*)ppDstSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(byte* dst, ref nuint pDstSize, string str) - { - fixed (nuint* ppDstSize = &pDstSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(dst, (ulong*)ppDstSize, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ref nuint pDstSize, ref byte str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, (byte*)pstr); - return ret; - } - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ref nuint pDstSize, ref byte str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, (byte*)pstr)); - return ret; - } - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ref nuint pDstSize, ReadOnlySpan str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, (byte*)pstr); - return ret; - } - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ref nuint pDstSize, ReadOnlySpan str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, (byte*)pstr)); - return ret; - } - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ref nuint pDstSize, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (str != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, pStr1); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ref nuint pDstSize, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (str != null) - { - pStrSize1 = Utils.GetByteCountUTF8(str); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(str, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, pStr1)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref byte dst, ref nuint pDstSize, string str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref byte dst, ref nuint pDstSize, string str) - { - fixed (byte* pdst = &dst) - { - fixed (nuint* ppDstSize = &pDstSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative((byte*)pdst, (ulong*)ppDstSize, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ref nuint pDstSize, ref byte str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, (byte*)pstr); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ref nuint pDstSize, ref byte str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, (byte*)pstr)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static byte* ImStrdupcpy(ref string dst, ref nuint pDstSize, ReadOnlySpan str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, (byte*)pstr); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Copy in provided buffer, recreate buffer if needed.
- ///
- public static string ImStrdupcpyS(ref string dst, ref nuint pDstSize, ReadOnlySpan str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dst != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dst); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dst, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* ppDstSize = &pDstSize) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrdupcpyNative(pStr0, (ulong*)ppDstSize, (byte*)pstr)); - dst = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStrchrRangeNative(byte* strBegin, byte* strEnd, byte c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[708])(strBegin, strEnd, c); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[708])((nint)strBegin, (nint)strEnd, c); - #endif - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(byte* strBegin, byte* strEnd, byte c) - { - byte* ret = ImStrchrRangeNative(strBegin, strEnd, c); - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(byte* strBegin, byte* strEnd, byte c) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(strBegin, strEnd, c)); - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ref byte strBegin, byte* strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, strEnd, c); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ref byte strBegin, byte* strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, strEnd, c)); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ReadOnlySpan strBegin, byte* strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, strEnd, c); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ReadOnlySpan strBegin, byte* strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, strEnd, c)); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(string strBegin, byte* strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrchrRangeNative(pStr0, strEnd, c); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(string strBegin, byte* strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(pStr0, strEnd, c)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(byte* strBegin, ref byte strEnd, byte c) - { - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStrchrRangeNative(strBegin, (byte*)pstrEnd, c); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(byte* strBegin, ref byte strEnd, byte c) - { - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(strBegin, (byte*)pstrEnd, c)); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(byte* strBegin, ReadOnlySpan strEnd, byte c) - { - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStrchrRangeNative(strBegin, (byte*)pstrEnd, c); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(byte* strBegin, ReadOnlySpan strEnd, byte c) - { - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(strBegin, (byte*)pstrEnd, c)); - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(byte* strBegin, string strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrchrRangeNative(strBegin, pStr0, c); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(byte* strBegin, string strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(strBegin, pStr0, c)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ref byte strBegin, ref byte strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ref byte strBegin, ref byte strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c)); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ReadOnlySpan strBegin, ReadOnlySpan strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ReadOnlySpan strBegin, ReadOnlySpan strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c)); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(string strBegin, string strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStrchrRangeNative(pStr0, pStr1, c); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(string strBegin, string strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(pStr0, pStr1, c)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ref byte strBegin, ReadOnlySpan strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ref byte strBegin, ReadOnlySpan strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c)); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ref byte strBegin, string strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, pStr0, c); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ref byte strBegin, string strEnd, byte c) - { - fixed (byte* pstrBegin = &strBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, pStr0, c)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ReadOnlySpan strBegin, ref byte strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ReadOnlySpan strBegin, ref byte strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, (byte*)pstrEnd, c)); - return ret; - } - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(ReadOnlySpan strBegin, string strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrchrRangeNative((byte*)pstrBegin, pStr0, c); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(ReadOnlySpan strBegin, string strEnd, byte c) - { - fixed (byte* pstrBegin = strBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative((byte*)pstrBegin, pStr0, c)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(string strBegin, ref byte strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStrchrRangeNative(pStr0, (byte*)pstrEnd, c); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(string strBegin, ref byte strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(pStr0, (byte*)pstrEnd, c)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static byte* ImStrchrRange(string strBegin, ReadOnlySpan strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStrchrRangeNative(pStr0, (byte*)pstrEnd, c); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find first occurrence of 'c' in string range.
- ///
- public static string ImStrchrRangeS(string strBegin, ReadOnlySpan strEnd, byte c) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStrchrRangeNative(pStr0, (byte*)pstrEnd, c)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStreolRangeNative(byte* str, byte* strEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[709])(str, strEnd); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[709])((nint)str, (nint)strEnd); - #endif - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(byte* str, byte* strEnd) - { - byte* ret = ImStreolRangeNative(str, strEnd); - return ret; - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(byte* str, byte* strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(str, strEnd)); - return ret; - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ref byte str, byte* strEnd) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStreolRangeNative((byte*)pstr, strEnd); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ref byte str, byte* strEnd) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, strEnd)); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ReadOnlySpan str, byte* strEnd) - { - fixed (byte* pstr = str) - { - byte* ret = ImStreolRangeNative((byte*)pstr, strEnd); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ReadOnlySpan str, byte* strEnd) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, strEnd)); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(string str, byte* strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStreolRangeNative(pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(string str, byte* strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(pStr0, strEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(byte* str, ref byte strEnd) - { - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStreolRangeNative(str, (byte*)pstrEnd); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(byte* str, ref byte strEnd) - { - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(str, (byte*)pstrEnd)); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(byte* str, ReadOnlySpan strEnd) - { - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStreolRangeNative(str, (byte*)pstrEnd); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(byte* str, ReadOnlySpan strEnd) - { - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(str, (byte*)pstrEnd)); - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(byte* str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStreolRangeNative(str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(byte* str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(str, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ref byte str, ref byte strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ref byte str, ref byte strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd)); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd)); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(string str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStreolRangeNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(string str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ref byte str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ref byte str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd)); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ref byte str, string strEnd) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStreolRangeNative((byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ref byte str, string strEnd) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ReadOnlySpan str, ref byte strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ReadOnlySpan str, ref byte strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, (byte*)pstrEnd)); - return ret; - } - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(ReadOnlySpan str, string strEnd) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStreolRangeNative((byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(ReadOnlySpan str, string strEnd) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative((byte*)pstr, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(string str, ref byte strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - byte* ret = ImStreolRangeNative(pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.001.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.001.cs deleted file mode 100644 index 8fcefe88e..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.001.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(string str, ref byte strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(pStr0, (byte*)pstrEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static byte* ImStreolRange(string str, ReadOnlySpan strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - byte* ret = ImStreolRangeNative(pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// End end-of-line
- ///
- public static string ImStreolRangeS(string str, ReadOnlySpan strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - string ret = Utils.DecodeStringUTF8(ImStreolRangeNative(pStr0, (byte*)pstrEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStristrNative(byte* haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[710])(haystack, haystackEnd, needle, needleEnd); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[710])((nint)haystack, (nint)haystackEnd, (nint)needle, (nint)needleEnd); - #endif - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, needle, needleEnd); - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, needle, needleEnd)); - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, needleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, needleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, needleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, needleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(pStr0, haystackEnd, needle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, needle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, needleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, needleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, needleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, needleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, pStr0, needle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, needle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, pStr1, needle, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, needle, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, byte* needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, byte* needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, haystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, haystackEnd, pStr1, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, pStr1, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, pStr0, pStr1, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, pStr1, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, pStr1, pStr2, needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, pStr2, needleEnd)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, string needle, byte* needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, needleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, string needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ref byte needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ReadOnlySpan needle, byte* needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, needleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, haystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, haystackEnd, needle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, needle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, pStr0, needle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, needle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.002.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.002.cs deleted file mode 100644 index 4a47adb55..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.002.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, pStr1, needle, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, needle, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, needle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, needle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, byte* needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, needle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, needle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, byte* needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, needle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, needle, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, byte* needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, needle, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, needle, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, byte* needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, needle, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, haystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, haystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, haystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, haystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, haystackEnd, pStr1, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, pStr1, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, byte* haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, byte* haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, byte* haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, haystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, byte* haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, haystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, haystackEnd, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, byte* haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, haystackEnd, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(haystack, pStr0, pStr1, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, pStr1, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ref byte haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ref byte haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.003.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.003.cs deleted file mode 100644 index eb935d6cf..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.003.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, (byte*)phaystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(haystack, pStr0, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(byte* haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(haystack, pStr0, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(byte* haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(haystack, pStr0, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* pStr3 = null; - int pStrSize3 = 0; - if (needleEnd != null) - { - pStrSize3 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize3 >= Utils.MaxStackallocSize) - { - pStr3 = Utils.Alloc(pStrSize3 + 1); - } - else - { - byte* pStrStack3 = stackalloc byte[pStrSize3 + 1]; - pStr3 = pStrStack3; - } - int pStrOffset3 = Utils.EncodeStringUTF8(needleEnd, pStr3, pStrSize3); - pStr3[pStrOffset3] = 0; - } - byte* ret = ImStristrNative(pStr0, pStr1, pStr2, pStr3); - if (pStrSize3 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr3); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* pStr3 = null; - int pStrSize3 = 0; - if (needleEnd != null) - { - pStrSize3 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize3 >= Utils.MaxStackallocSize) - { - pStr3 = Utils.Alloc(pStrSize3 + 1); - } - else - { - byte* pStrStack3 = stackalloc byte[pStrSize3 + 1]; - pStr3 = pStrStack3; - } - int pStrOffset3 = Utils.EncodeStringUTF8(needleEnd, pStr3, pStrSize3); - pStr3[pStrOffset3] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, pStr2, pStr3)); - if (pStrSize3 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr3); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ref byte haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ref byte haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ref byte haystack, string haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ref byte haystack, string haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = &haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ref byte haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ref byte haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - return ret; - } - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needleEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needleEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, (byte*)pneedle, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (needle != null) - { - pStrSize0 = Utils.GetByteCountUTF8(needle); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(needle, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, (byte*)phaystackEnd, pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ref byte needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.004.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.004.cs deleted file mode 100644 index fcf889a7e..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.004.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, string needle, ref byte needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(ReadOnlySpan haystack, string haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative((byte*)phaystack, pStr0, pStr1, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(ReadOnlySpan haystack, string haystackEnd, string needle, string needleEnd) - { - fixed (byte* phaystack = haystack) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystackEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystackEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative((byte*)phaystack, pStr0, pStr1, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ref byte haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ref byte haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = &haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = &needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - fixed (byte* pneedle = needle) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needleEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needleEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, (byte*)pneedle, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, ReadOnlySpan haystackEnd, string needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phaystackEnd = haystackEnd) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (needle != null) - { - pStrSize1 = Utils.GetByteCountUTF8(needle); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(needle, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, (byte*)phaystackEnd, pStr1, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ref byte needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ref byte needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ref byte needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = &needle) - { - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ReadOnlySpan needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ReadOnlySpan needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, (byte*)pneedleEnd)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte* ret = ImStristrNative(pStr0, pStr1, (byte*)pneedle, pStr2); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, ReadOnlySpan needle, string needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pneedle = needle) - { - byte* pStr2 = null; - int pStrSize2 = 0; - if (needleEnd != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needleEnd, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, (byte*)pneedle, pStr2)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, pStr2, (byte*)pneedleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, string needle, ref byte needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - fixed (byte* pneedleEnd = &needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, pStr2, (byte*)pneedleEnd)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static byte* ImStristr(string haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - byte* ret = ImStristrNative(pStr0, pStr1, pStr2, (byte*)pneedleEnd); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find a substring in a string range.
- ///
- public static string ImStristrS(string haystack, string haystackEnd, string needle, ReadOnlySpan needleEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (haystack != null) - { - pStrSize0 = Utils.GetByteCountUTF8(haystack); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(haystack, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (haystackEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(haystackEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(haystackEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (needle != null) - { - pStrSize2 = Utils.GetByteCountUTF8(needle); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(needle, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - fixed (byte* pneedleEnd = needleEnd) - { - string ret = Utils.DecodeStringUTF8(ImStristrNative(pStr0, pStr1, pStr2, (byte*)pneedleEnd)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Remove leading and trailing blanks from a buffer.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImStrTrimBlanksNative(byte* str) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[711])(str); - #else - ((delegate* unmanaged[Cdecl])funcTable[711])((nint)str); - #endif - } - - /// - /// Remove leading and trailing blanks from a buffer.
- ///
- public static void ImStrTrimBlanks(byte* str) - { - ImStrTrimBlanksNative(str); - } - - /// - /// Remove leading and trailing blanks from a buffer.
- ///
- public static void ImStrTrimBlanks(ref byte str) - { - fixed (byte* pstr = &str) - { - ImStrTrimBlanksNative((byte*)pstr); - } - } - - /// - /// Remove leading and trailing blanks from a buffer.
- ///
- public static void ImStrTrimBlanks(ref string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImStrTrimBlanksNative(pStr0); - str = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// Find first non-blank character.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStrSkipBlankNative(byte* str) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[712])(str); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[712])((nint)str); - #endif - } - - /// - /// Find first non-blank character.
- ///
- public static byte* ImStrSkipBlank(byte* str) - { - byte* ret = ImStrSkipBlankNative(str); - return ret; - } - - /// - /// Find first non-blank character.
- ///
- public static string ImStrSkipBlankS(byte* str) - { - string ret = Utils.DecodeStringUTF8(ImStrSkipBlankNative(str)); - return ret; - } - - /// - /// Find first non-blank character.
- ///
- public static byte* ImStrSkipBlank(ref byte str) - { - fixed (byte* pstr = &str) - { - byte* ret = ImStrSkipBlankNative((byte*)pstr); - return ret; - } - } - - /// - /// Find first non-blank character.
- ///
- public static string ImStrSkipBlankS(ref byte str) - { - fixed (byte* pstr = &str) - { - string ret = Utils.DecodeStringUTF8(ImStrSkipBlankNative((byte*)pstr)); - return ret; - } - } - - /// - /// Find first non-blank character.
- ///
- public static byte* ImStrSkipBlank(ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - byte* ret = ImStrSkipBlankNative((byte*)pstr); - return ret; - } - } - - /// - /// Find first non-blank character.
- ///
- public static string ImStrSkipBlankS(ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - string ret = Utils.DecodeStringUTF8(ImStrSkipBlankNative((byte*)pstr)); - return ret; - } - } - - /// - /// Find first non-blank character.
- ///
- public static byte* ImStrSkipBlank(string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrSkipBlankNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find first non-blank character.
- ///
- public static string ImStrSkipBlankS(string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrSkipBlankNative(pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Computer string length (ImWchar string)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImStrlenWNative(uint* str) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[713])(str); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[713])((nint)str); - #endif - } - - /// - /// Computer string length (ImWchar string)
- ///
- public static int ImStrlenW(uint* str) - { - int ret = ImStrlenWNative(str); - return ret; - } - - /// - /// Computer string length (ImWchar string)
- ///
- public static int ImStrlenW(ref uint str) - { - fixed (uint* pstr = &str) - { - int ret = ImStrlenWNative((uint*)pstr); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImStrbolNative(byte* bufMidLine, byte* bufBegin) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[714])(bufMidLine, bufBegin); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[714])((nint)bufMidLine, (nint)bufBegin); - #endif - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(byte* bufMidLine, byte* bufBegin) - { - byte* ret = ImStrbolNative(bufMidLine, bufBegin); - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(byte* bufMidLine, byte* bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative(bufMidLine, bufBegin)); - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ref byte bufMidLine, byte* bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - byte* ret = ImStrbolNative((byte*)pbufMidLine, bufBegin); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ref byte bufMidLine, byte* bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, bufBegin)); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ReadOnlySpan bufMidLine, byte* bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - byte* ret = ImStrbolNative((byte*)pbufMidLine, bufBegin); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ReadOnlySpan bufMidLine, byte* bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, bufBegin)); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(string bufMidLine, byte* bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrbolNative(pStr0, bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(string bufMidLine, byte* bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrbolNative(pStr0, bufBegin)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(byte* bufMidLine, ref byte bufBegin) - { - fixed (byte* pbufBegin = &bufBegin) - { - byte* ret = ImStrbolNative(bufMidLine, (byte*)pbufBegin); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(byte* bufMidLine, ref byte bufBegin) - { - fixed (byte* pbufBegin = &bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative(bufMidLine, (byte*)pbufBegin)); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(byte* bufMidLine, ReadOnlySpan bufBegin) - { - fixed (byte* pbufBegin = bufBegin) - { - byte* ret = ImStrbolNative(bufMidLine, (byte*)pbufBegin); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(byte* bufMidLine, ReadOnlySpan bufBegin) - { - fixed (byte* pbufBegin = bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative(bufMidLine, (byte*)pbufBegin)); - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(byte* bufMidLine, string bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrbolNative(bufMidLine, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(byte* bufMidLine, string bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrbolNative(bufMidLine, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ref byte bufMidLine, ref byte bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - fixed (byte* pbufBegin = &bufBegin) - { - byte* ret = ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ref byte bufMidLine, ref byte bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - fixed (byte* pbufBegin = &bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin)); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ReadOnlySpan bufMidLine, ReadOnlySpan bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - fixed (byte* pbufBegin = bufBegin) - { - byte* ret = ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ReadOnlySpan bufMidLine, ReadOnlySpan bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - fixed (byte* pbufBegin = bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin)); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(string bufMidLine, string bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (bufBegin != null) - { - pStrSize1 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(bufBegin, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImStrbolNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(string bufMidLine, string bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (bufBegin != null) - { - pStrSize1 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(bufBegin, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrbolNative(pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ref byte bufMidLine, ReadOnlySpan bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - fixed (byte* pbufBegin = bufBegin) - { - byte* ret = ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ref byte bufMidLine, ReadOnlySpan bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - fixed (byte* pbufBegin = bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin)); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ref byte bufMidLine, string bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrbolNative((byte*)pbufMidLine, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ref byte bufMidLine, string bufBegin) - { - fixed (byte* pbufMidLine = &bufMidLine) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ReadOnlySpan bufMidLine, ref byte bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - fixed (byte* pbufBegin = &bufBegin) - { - byte* ret = ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ReadOnlySpan bufMidLine, ref byte bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - fixed (byte* pbufBegin = &bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, (byte*)pbufBegin)); - return ret; - } - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(ReadOnlySpan bufMidLine, string bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImStrbolNative((byte*)pbufMidLine, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(ReadOnlySpan bufMidLine, string bufBegin) - { - fixed (byte* pbufMidLine = bufMidLine) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImStrbolNative((byte*)pbufMidLine, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(string bufMidLine, ref byte bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbufBegin = &bufBegin) - { - byte* ret = ImStrbolNative(pStr0, (byte*)pbufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(string bufMidLine, ref byte bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbufBegin = &bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative(pStr0, (byte*)pbufBegin)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static byte* ImStrbol(string bufMidLine, ReadOnlySpan bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbufBegin = bufBegin) - { - byte* ret = ImStrbolNative(pStr0, (byte*)pbufBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find beginning-of-line
- ///
- public static string ImStrbolS(string bufMidLine, ReadOnlySpan bufBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (bufMidLine != null) - { - pStrSize0 = Utils.GetByteCountUTF8(bufMidLine); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(bufMidLine, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbufBegin = bufBegin) - { - string ret = Utils.DecodeStringUTF8(ImStrbolNative(pStr0, (byte*)pbufBegin)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImToUpperNative(byte c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[715])(c); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[715])(c); - #endif - } - - /// - /// To be documented. - /// - public static byte ImToUpper(byte c) - { - byte ret = ImToUpperNative(c); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImCharIsBlankANative(byte c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[716])(c); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[716])(c); - #endif - } - - /// - /// To be documented. - /// - public static bool ImCharIsBlankA(byte c) - { - byte ret = ImCharIsBlankANative(c); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImCharIsBlankWNative(uint c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[717])(c); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[717])(c); - #endif - } - - /// - /// To be documented. - /// - public static bool ImCharIsBlankW(uint c) - { - byte ret = ImCharIsBlankWNative(c); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImCharIsXdigitANative(byte c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[718])(c); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[718])(c); - #endif - } - - /// - /// To be documented. - /// - public static bool ImCharIsXdigitA(byte c) - { - byte ret = ImCharIsXdigitANative(c); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFormatStringToTempBufferNative(byte** outBuf, byte** outBufEnd, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[719])(outBuf, outBufEnd, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[719])((nint)outBuf, (nint)outBufEnd, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, byte** outBufEnd, byte* fmt) - { - ImFormatStringToTempBufferNative(outBuf, outBufEnd, fmt); - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, byte** outBufEnd, byte* fmt) - { - fixed (byte** poutBuf = &outBuf) - { - ImFormatStringToTempBufferNative((byte**)poutBuf, outBufEnd, fmt); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, ref byte* outBufEnd, byte* fmt) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - ImFormatStringToTempBufferNative(outBuf, (byte**)poutBufEnd, fmt); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, ref byte* outBufEnd, byte* fmt) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - ImFormatStringToTempBufferNative((byte**)poutBuf, (byte**)poutBufEnd, fmt); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, byte** outBufEnd, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferNative(outBuf, outBufEnd, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, byte** outBufEnd, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferNative(outBuf, outBufEnd, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, byte** outBufEnd, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferNative(outBuf, outBufEnd, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, byte** outBufEnd, ref byte fmt) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferNative((byte**)poutBuf, outBufEnd, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, byte** outBufEnd, ReadOnlySpan fmt) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferNative((byte**)poutBuf, outBufEnd, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, byte** outBufEnd, string fmt) - { - fixed (byte** poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferNative((byte**)poutBuf, outBufEnd, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, ref byte* outBufEnd, ref byte fmt) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferNative(outBuf, (byte**)poutBufEnd, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, ref byte* outBufEnd, ReadOnlySpan fmt) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferNative(outBuf, (byte**)poutBufEnd, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(byte** outBuf, ref byte* outBufEnd, string fmt) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferNative(outBuf, (byte**)poutBufEnd, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, ref byte* outBufEnd, ref byte fmt) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferNative((byte**)poutBuf, (byte**)poutBufEnd, (byte*)pfmt); - } - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, ref byte* outBufEnd, ReadOnlySpan fmt) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferNative((byte**)poutBuf, (byte**)poutBufEnd, (byte*)pfmt); - } - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBuffer(ref byte* outBuf, ref byte* outBufEnd, string fmt) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferNative((byte**)poutBuf, (byte**)poutBufEnd, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFormatStringToTempBufferVNative(byte** outBuf, byte** outBufEnd, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[720])(outBuf, outBufEnd, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[720])((nint)outBuf, (nint)outBufEnd, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, byte** outBufEnd, byte* fmt, nuint args) - { - ImFormatStringToTempBufferVNative(outBuf, outBufEnd, fmt, args); - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, byte** outBufEnd, byte* fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - ImFormatStringToTempBufferVNative((byte**)poutBuf, outBufEnd, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, ref byte* outBufEnd, byte* fmt, nuint args) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - ImFormatStringToTempBufferVNative(outBuf, (byte**)poutBufEnd, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, ref byte* outBufEnd, byte* fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - ImFormatStringToTempBufferVNative((byte**)poutBuf, (byte**)poutBufEnd, fmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, byte** outBufEnd, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferVNative(outBuf, outBufEnd, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, byte** outBufEnd, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferVNative(outBuf, outBufEnd, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, byte** outBufEnd, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferVNative(outBuf, outBufEnd, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, byte** outBufEnd, ref byte fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferVNative((byte**)poutBuf, outBufEnd, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, byte** outBufEnd, ReadOnlySpan fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferVNative((byte**)poutBuf, outBufEnd, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, byte** outBufEnd, string fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferVNative((byte**)poutBuf, outBufEnd, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.005.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.005.cs deleted file mode 100644 index 67172e094..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.005.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, ref byte* outBufEnd, ref byte fmt, nuint args) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferVNative(outBuf, (byte**)poutBufEnd, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, ref byte* outBufEnd, ReadOnlySpan fmt, nuint args) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferVNative(outBuf, (byte**)poutBufEnd, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(byte** outBuf, ref byte* outBufEnd, string fmt, nuint args) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferVNative(outBuf, (byte**)poutBufEnd, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, ref byte* outBufEnd, ref byte fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = &fmt) - { - ImFormatStringToTempBufferVNative((byte**)poutBuf, (byte**)poutBufEnd, (byte*)pfmt, args); - } - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, ref byte* outBufEnd, ReadOnlySpan fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - fixed (byte* pfmt = fmt) - { - ImFormatStringToTempBufferVNative((byte**)poutBuf, (byte**)poutBufEnd, (byte*)pfmt, args); - } - } - } - } - - /// - /// To be documented. - /// - public static void ImFormatStringToTempBufferV(ref byte* outBuf, ref byte* outBufEnd, string fmt, nuint args) - { - fixed (byte** poutBuf = &outBuf) - { - fixed (byte** poutBufEnd = &outBufEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFormatStringToTempBufferVNative((byte**)poutBuf, (byte**)poutBufEnd, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImParseFormatFindStartNative(byte* format) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[721])(format); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[721])((nint)format); - #endif - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindStart(byte* format) - { - byte* ret = ImParseFormatFindStartNative(format); - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindStartS(byte* format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatFindStartNative(format)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindStart(ref byte format) - { - fixed (byte* pformat = &format) - { - byte* ret = ImParseFormatFindStartNative((byte*)pformat); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindStartS(ref byte format) - { - fixed (byte* pformat = &format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatFindStartNative((byte*)pformat)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindStart(ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte* ret = ImParseFormatFindStartNative((byte*)pformat); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindStartS(ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatFindStartNative((byte*)pformat)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindStart(string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatFindStartNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindStartS(string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatFindStartNative(pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImParseFormatFindEndNative(byte* format) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[722])(format); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[722])((nint)format); - #endif - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindEnd(byte* format) - { - byte* ret = ImParseFormatFindEndNative(format); - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindEndS(byte* format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatFindEndNative(format)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindEnd(ref byte format) - { - fixed (byte* pformat = &format) - { - byte* ret = ImParseFormatFindEndNative((byte*)pformat); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindEndS(ref byte format) - { - fixed (byte* pformat = &format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatFindEndNative((byte*)pformat)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindEnd(ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte* ret = ImParseFormatFindEndNative((byte*)pformat); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindEndS(ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatFindEndNative((byte*)pformat)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatFindEnd(string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatFindEndNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatFindEndS(string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatFindEndNative(pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImParseFormatSanitizeForPrintingNative(byte* fmtIn, byte* fmtOut, ulong fmtOutSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[723])(fmtIn, fmtOut, fmtOutSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[723])((nint)fmtIn, (nint)fmtOut, fmtOutSize); - #endif - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, byte* fmtOut, ulong fmtOutSize) - { - ImParseFormatSanitizeForPrintingNative(fmtIn, fmtOut, fmtOutSize); - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ref byte fmtIn, byte* fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, fmtOut, fmtOutSize); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, byte* fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, fmtOut, fmtOutSize); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(string fmtIn, byte* fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative(pStr0, fmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative(fmtIn, (byte*)pfmtOut, fmtOutSize); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, ref string fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative(fmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ref byte fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(string fmtIn, ref string fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmtOut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmtOut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImParseFormatSanitizeForPrintingNative(pStr0, pStr1, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ref byte fmtIn, ref string fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, ref string fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(string fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative(pStr0, (byte*)pfmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) - { - ImParseFormatSanitizeForPrintingNative(fmtIn, fmtOut, fmtOutSize); - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ref byte fmtIn, byte* fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, fmtOut, fmtOutSize); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, byte* fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, fmtOut, fmtOutSize); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(string fmtIn, byte* fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative(pStr0, fmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative(fmtIn, (byte*)pfmtOut, fmtOutSize); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, ref string fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative(fmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ref byte fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(string fmtIn, ref string fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmtOut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmtOut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImParseFormatSanitizeForPrintingNative(pStr0, pStr1, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ref byte fmtIn, ref string fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, ref string fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImParseFormatSanitizeForPrintingNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ImParseFormatSanitizeForPrinting(string fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmtOut = &fmtOut) - { - ImParseFormatSanitizeForPrintingNative(pStr0, (byte*)pfmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImParseFormatSanitizeForScanningNative(byte* fmtIn, byte* fmtOut, ulong fmtOutSize) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[724])(fmtIn, fmtOut, fmtOutSize); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[724])((nint)fmtIn, (nint)fmtOut, fmtOutSize); - #endif - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, byte* fmtOut, ulong fmtOutSize) - { - byte* ret = ImParseFormatSanitizeForScanningNative(fmtIn, fmtOut, fmtOutSize); - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(byte* fmtIn, byte* fmtOut, ulong fmtOutSize) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(fmtIn, fmtOut, fmtOutSize)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ref byte fmtIn, byte* fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ref byte fmtIn, byte* fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, byte* fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ReadOnlySpan fmtIn, byte* fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(string fmtIn, byte* fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative(pStr0, fmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(string fmtIn, byte* fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(pStr0, fmtOut, fmtOutSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative(fmtIn, (byte*)pfmtOut, fmtOutSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(byte* fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(fmtIn, (byte*)pfmtOut, fmtOutSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, ref string fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative(fmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(byte* fmtIn, ref string fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(fmtIn, pStr0, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ref byte fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ref byte fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ReadOnlySpan fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(string fmtIn, ref string fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmtOut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmtOut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative(pStr0, pStr1, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(string fmtIn, ref string fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmtOut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmtOut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(pStr0, pStr1, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ref byte fmtIn, ref string fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ref byte fmtIn, ref string fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, ref string fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ReadOnlySpan fmtIn, ref string fmtOut, ulong fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(string fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative(pStr0, (byte*)pfmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(string fmtIn, ref byte fmtOut, ulong fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(pStr0, (byte*)pfmtOut, fmtOutSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) - { - byte* ret = ImParseFormatSanitizeForScanningNative(fmtIn, fmtOut, fmtOutSize); - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(fmtIn, fmtOut, fmtOutSize)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ref byte fmtIn, byte* fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ref byte fmtIn, byte* fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, byte* fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ReadOnlySpan fmtIn, byte* fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, fmtOut, fmtOutSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(string fmtIn, byte* fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative(pStr0, fmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(string fmtIn, byte* fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(pStr0, fmtOut, fmtOutSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative(fmtIn, (byte*)pfmtOut, fmtOutSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(byte* fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(fmtIn, (byte*)pfmtOut, fmtOutSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, ref string fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative(fmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(byte* fmtIn, ref string fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(fmtIn, pStr0, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ref byte fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ref byte fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ReadOnlySpan fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, (byte*)pfmtOut, fmtOutSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(string fmtIn, ref string fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmtOut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmtOut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative(pStr0, pStr1, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(string fmtIn, ref string fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmtOut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmtOut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(pStr0, pStr1, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ref byte fmtIn, ref string fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ref byte fmtIn, ref string fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = &fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, ref string fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(ReadOnlySpan fmtIn, ref string fmtOut, nuint fmtOutSize) - { - fixed (byte* pfmtIn = fmtIn) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtOut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtOut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtOut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative((byte*)pfmtIn, pStr0, fmtOutSize)); - fmtOut = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatSanitizeForScanning(string fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmtOut = &fmtOut) - { - byte* ret = ImParseFormatSanitizeForScanningNative(pStr0, (byte*)pfmtOut, fmtOutSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatSanitizeForScanningS(string fmtIn, ref byte fmtOut, nuint fmtOutSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmtIn != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmtIn); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmtIn, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmtOut = &fmtOut) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatSanitizeForScanningNative(pStr0, (byte*)pfmtOut, fmtOutSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImParseFormatPrecisionNative(byte* format, int defaultValue) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[725])(format, defaultValue); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[725])((nint)format, defaultValue); - #endif - } - - /// - /// To be documented. - /// - public static int ImParseFormatPrecision(byte* format, int defaultValue) - { - int ret = ImParseFormatPrecisionNative(format, defaultValue); - return ret; - } - - /// - /// To be documented. - /// - public static int ImParseFormatPrecision(ref byte format, int defaultValue) - { - fixed (byte* pformat = &format) - { - int ret = ImParseFormatPrecisionNative((byte*)pformat, defaultValue); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImParseFormatPrecision(ReadOnlySpan format, int defaultValue) - { - fixed (byte* pformat = format) - { - int ret = ImParseFormatPrecisionNative((byte*)pformat, defaultValue); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImParseFormatPrecision(string format, int defaultValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImParseFormatPrecisionNative(pStr0, defaultValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return out_buf
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImTextCharToUtf8Native(byte* outBuf, uint c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[726])(outBuf, c); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[726])((nint)outBuf, c); - #endif - } - - /// - /// return out_buf
- ///
- public static byte* ImTextCharToUtf8(byte* outBuf, uint c) - { - byte* ret = ImTextCharToUtf8Native(outBuf, c); - return ret; - } - - /// - /// return out_buf
- ///
- public static string ImTextCharToUtf8S(byte* outBuf, uint c) - { - string ret = Utils.DecodeStringUTF8(ImTextCharToUtf8Native(outBuf, c)); - return ret; - } - - /// - /// return out_buf
- ///
- public static byte* ImTextCharToUtf8(ref byte outBuf, uint c) - { - fixed (byte* poutBuf = &outBuf) - { - byte* ret = ImTextCharToUtf8Native((byte*)poutBuf, c); - return ret; - } - } - - /// - /// return out_buf
- ///
- public static string ImTextCharToUtf8S(ref byte outBuf, uint c) - { - fixed (byte* poutBuf = &outBuf) - { - string ret = Utils.DecodeStringUTF8(ImTextCharToUtf8Native((byte*)poutBuf, c)); - return ret; - } - } - - /// - /// return out_buf
- ///
- public static byte* ImTextCharToUtf8(ReadOnlySpan outBuf, uint c) - { - fixed (byte* poutBuf = outBuf) - { - byte* ret = ImTextCharToUtf8Native((byte*)poutBuf, c); - return ret; - } - } - - /// - /// return out_buf
- ///
- public static string ImTextCharToUtf8S(ReadOnlySpan outBuf, uint c) - { - fixed (byte* poutBuf = outBuf) - { - string ret = Utils.DecodeStringUTF8(ImTextCharToUtf8Native((byte*)poutBuf, c)); - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextCharFromUtf8Native(uint* outChar, byte* inText, byte* inTextEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[727])(outChar, inText, inTextEnd); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[727])((nint)outChar, (nint)inText, (nint)inTextEnd); - #endif - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, byte* inText, byte* inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, inText, inTextEnd); - return ret; - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, byte* inText, byte* inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, inText, inTextEnd); - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ref byte inText, byte* inTextEnd) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ReadOnlySpan inText, byte* inTextEnd) - { - fixed (byte* pinText = inText) - { - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, string inText, byte* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native(outChar, pStr0, inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ref byte inText, byte* inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, inTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ReadOnlySpan inText, byte* inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = inText) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, inTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, string inText, byte* inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native((uint*)poutChar, pStr0, inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, byte* inText, ref byte inTextEnd) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, byte* inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, byte* inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native(outChar, inText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, byte* inText, ref byte inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, inText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, byte* inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, inText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, byte* inText, string inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native((uint*)poutChar, inText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ref byte inText, ref byte inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, string inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextCharFromUtf8Native(outChar, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ref byte inText, string inTextEnd) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, ReadOnlySpan inText, string inTextEnd) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native(outChar, (byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, string inText, ref byte inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(uint* outChar, string inText, ReadOnlySpan inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native(outChar, pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ref byte inText, ref byte inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, string inText, string inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextCharFromUtf8Native((uint*)poutChar, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ref byte inText, string inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, ReadOnlySpan inText, string inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCharFromUtf8Native((uint*)poutChar, (byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, string inText, ref byte inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// read one character. return input UTF-8 bytes count
- ///
- public static int ImTextCharFromUtf8(ref uint outChar, string inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutChar = &outChar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCharFromUtf8Native((uint*)poutChar, pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextCountCharsFromUtf8Native(byte* inText, byte* inTextEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[728])(inText, inTextEnd); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[728])((nint)inText, (nint)inTextEnd); - #endif - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(byte* inText, byte* inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native(inText, inTextEnd); - return ret; - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ref byte inText, byte* inTextEnd) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ReadOnlySpan inText, byte* inTextEnd) - { - fixed (byte* pinText = inText) - { - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(string inText, byte* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountCharsFromUtf8Native(pStr0, inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(byte* inText, ref byte inTextEnd) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native(inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(byte* inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native(inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(byte* inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountCharsFromUtf8Native(inText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ref byte inText, ref byte inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(string inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextCountCharsFromUtf8Native(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ref byte inText, string inTextEnd) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(ReadOnlySpan inText, string inTextEnd) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountCharsFromUtf8Native((byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(string inText, ref byte inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native(pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of UTF-8 code-points (NOT bytes count)
- ///
- public static int ImTextCountCharsFromUtf8(string inText, ReadOnlySpan inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountCharsFromUtf8Native(pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextCountUtf8BytesFromCharNative(byte* inText, byte* inTextEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[729])(inText, inTextEnd); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[729])((nint)inText, (nint)inTextEnd); - #endif - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(byte* inText, byte* inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative(inText, inTextEnd); - return ret; - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ref byte inText, byte* inTextEnd) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ReadOnlySpan inText, byte* inTextEnd) - { - fixed (byte* pinText = inText) - { - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(string inText, byte* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountUtf8BytesFromCharNative(pStr0, inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(byte* inText, ref byte inTextEnd) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative(inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(byte* inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative(inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(byte* inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountUtf8BytesFromCharNative(inText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ref byte inText, ref byte inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(string inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextCountUtf8BytesFromCharNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ref byte inText, string inTextEnd) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(ReadOnlySpan inText, string inTextEnd) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountUtf8BytesFromCharNative((byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(string inText, ref byte inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative(pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of bytes to express one char in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromChar(string inText, ReadOnlySpan inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountUtf8BytesFromCharNative(pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of bytes to express string in UTF-8
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextCountUtf8BytesFromStrNative(uint* inText, uint* inTextEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[730])(inText, inTextEnd); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[730])((nint)inText, (nint)inTextEnd); - #endif - } - - /// - /// return number of bytes to express string in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromStr(uint* inText, uint* inTextEnd) - { - int ret = ImTextCountUtf8BytesFromStrNative(inText, inTextEnd); - return ret; - } - - /// - /// return number of bytes to express string in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromStr(ref uint inText, uint* inTextEnd) - { - fixed (uint* pinText = &inText) - { - int ret = ImTextCountUtf8BytesFromStrNative((uint*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of bytes to express string in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromStr(uint* inText, ref uint inTextEnd) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountUtf8BytesFromStrNative(inText, (uint*)pinTextEnd); - return ret; - } - } - - /// - /// return number of bytes to express string in UTF-8
- ///
- public static int ImTextCountUtf8BytesFromStr(ref uint inText, ref uint inTextEnd) - { - fixed (uint* pinText = &inText) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountUtf8BytesFromStrNative((uint*)pinText, (uint*)pinTextEnd); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImTextFindPreviousUtf8CodepointNative(byte* inTextStart, byte* inTextCurr) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[731])(inTextStart, inTextCurr); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[731])((nint)inTextStart, (nint)inTextCurr); - #endif - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(byte* inTextStart, byte* inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative(inTextStart, inTextCurr); - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(byte* inTextStart, byte* inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(inTextStart, inTextCurr)); - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ref byte inTextStart, byte* inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, inTextCurr); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ref byte inTextStart, byte* inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, inTextCurr)); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ReadOnlySpan inTextStart, byte* inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, inTextCurr); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ReadOnlySpan inTextStart, byte* inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, inTextCurr)); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(string inTextStart, byte* inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImTextFindPreviousUtf8CodepointNative(pStr0, inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(string inTextStart, byte* inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(pStr0, inTextCurr)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(byte* inTextStart, ref byte inTextCurr) - { - fixed (byte* pinTextCurr = &inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative(inTextStart, (byte*)pinTextCurr); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(byte* inTextStart, ref byte inTextCurr) - { - fixed (byte* pinTextCurr = &inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(inTextStart, (byte*)pinTextCurr)); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(byte* inTextStart, ReadOnlySpan inTextCurr) - { - fixed (byte* pinTextCurr = inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative(inTextStart, (byte*)pinTextCurr); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(byte* inTextStart, ReadOnlySpan inTextCurr) - { - fixed (byte* pinTextCurr = inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(inTextStart, (byte*)pinTextCurr)); - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(byte* inTextStart, string inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextCurr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextCurr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImTextFindPreviousUtf8CodepointNative(inTextStart, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(byte* inTextStart, string inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextCurr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextCurr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(inTextStart, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ref byte inTextStart, ref byte inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - fixed (byte* pinTextCurr = &inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ref byte inTextStart, ref byte inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - fixed (byte* pinTextCurr = &inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr)); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ReadOnlySpan inTextStart, ReadOnlySpan inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - fixed (byte* pinTextCurr = inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ReadOnlySpan inTextStart, ReadOnlySpan inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - fixed (byte* pinTextCurr = inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr)); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(string inTextStart, string inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextCurr != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextCurr, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImTextFindPreviousUtf8CodepointNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(string inTextStart, string inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextCurr != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextCurr, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ref byte inTextStart, ReadOnlySpan inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - fixed (byte* pinTextCurr = inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ref byte inTextStart, ReadOnlySpan inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - fixed (byte* pinTextCurr = inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr)); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ref byte inTextStart, string inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextCurr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextCurr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ref byte inTextStart, string inTextCurr) - { - fixed (byte* pinTextStart = &inTextStart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextCurr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextCurr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ReadOnlySpan inTextStart, ref byte inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - fixed (byte* pinTextCurr = &inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ReadOnlySpan inTextStart, ref byte inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - fixed (byte* pinTextCurr = &inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, (byte*)pinTextCurr)); - return ret; - } - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(ReadOnlySpan inTextStart, string inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextCurr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextCurr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(ReadOnlySpan inTextStart, string inTextCurr) - { - fixed (byte* pinTextStart = inTextStart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextCurr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextCurr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative((byte*)pinTextStart, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(string inTextStart, ref byte inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextCurr = &inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative(pStr0, (byte*)pinTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(string inTextStart, ref byte inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextCurr = &inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(pStr0, (byte*)pinTextCurr)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static byte* ImTextFindPreviousUtf8Codepoint(string inTextStart, ReadOnlySpan inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextCurr = inTextCurr) - { - byte* ret = ImTextFindPreviousUtf8CodepointNative(pStr0, (byte*)pinTextCurr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return previous UTF-8 code-point.
- ///
- public static string ImTextFindPreviousUtf8CodepointS(string inTextStart, ReadOnlySpan inTextCurr) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextStart != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextStart); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextStart, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextCurr = inTextCurr) - { - string ret = Utils.DecodeStringUTF8(ImTextFindPreviousUtf8CodepointNative(pStr0, (byte*)pinTextCurr)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextCountLinesNative(byte* inText, byte* inTextEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[732])(inText, inTextEnd); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[732])((nint)inText, (nint)inTextEnd); - #endif - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(byte* inText, byte* inTextEnd) - { - int ret = ImTextCountLinesNative(inText, inTextEnd); - return ret; - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ref byte inText, byte* inTextEnd) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextCountLinesNative((byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ReadOnlySpan inText, byte* inTextEnd) - { - fixed (byte* pinText = inText) - { - int ret = ImTextCountLinesNative((byte*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(string inText, byte* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountLinesNative(pStr0, inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(byte* inText, ref byte inTextEnd) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountLinesNative(inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(byte* inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountLinesNative(inText, (byte*)pinTextEnd); - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(byte* inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountLinesNative(inText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ref byte inText, ref byte inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountLinesNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountLinesNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(string inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextCountLinesNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountLinesNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ref byte inText, string inTextEnd) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountLinesNative((byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountLinesNative((byte*)pinText, (byte*)pinTextEnd); - return ret; - } - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(ReadOnlySpan inText, string inTextEnd) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextCountLinesNative((byte*)pinText, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(string inText, ref byte inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextCountLinesNative(pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return number of lines taken by text. trailing carriage return doesn't count as an extra line.
- ///
- public static int ImTextCountLines(string inText, ReadOnlySpan inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextCountLinesNative(pStr0, (byte*)pinTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFileHandle ImFileOpenNative(byte* filename, byte* mode) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[733])(filename, mode); - #else - return (ImFileHandle)((delegate* unmanaged[Cdecl])funcTable[733])((nint)filename, (nint)mode); - #endif - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.006.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.006.cs deleted file mode 100644 index 7f823cee5..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.006.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(byte* filename, byte* mode) - { - ImFileHandle ret = ImFileOpenNative(filename, mode); - return ret; - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ref byte filename, byte* mode) - { - fixed (byte* pfilename = &filename) - { - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, mode); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ReadOnlySpan filename, byte* mode) - { - fixed (byte* pfilename = filename) - { - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, mode); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(string filename, byte* mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFileHandle ret = ImFileOpenNative(pStr0, mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(byte* filename, ref byte mode) - { - fixed (byte* pmode = &mode) - { - ImFileHandle ret = ImFileOpenNative(filename, (byte*)pmode); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(byte* filename, ReadOnlySpan mode) - { - fixed (byte* pmode = mode) - { - ImFileHandle ret = ImFileOpenNative(filename, (byte*)pmode); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(byte* filename, string mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFileHandle ret = ImFileOpenNative(filename, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ref byte filename, ref byte mode) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, (byte*)pmode); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ReadOnlySpan filename, ReadOnlySpan mode) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, (byte*)pmode); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(string filename, string mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ImFileHandle ret = ImFileOpenNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ref byte filename, ReadOnlySpan mode) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, (byte*)pmode); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ref byte filename, string mode) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ReadOnlySpan filename, ref byte mode) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, (byte*)pmode); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(ReadOnlySpan filename, string mode) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFileHandle ret = ImFileOpenNative((byte*)pfilename, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(string filename, ref byte mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - ImFileHandle ret = ImFileOpenNative(pStr0, (byte*)pmode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImFileHandle ImFileOpen(string filename, ReadOnlySpan mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - ImFileHandle ret = ImFileOpenNative(pStr0, (byte*)pmode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImFileCloseNative(ImFileHandle file) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[734])(file); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[734])(file); - #endif - } - - /// - /// To be documented. - /// - public static bool ImFileClose(ImFileHandle file) - { - byte ret = ImFileCloseNative(file); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImFileGetSizeNative(ImFileHandle file) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[735])(file); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[735])(file); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImFileGetSize(ImFileHandle file) - { - ulong ret = ImFileGetSizeNative(file); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImFileReadNative(void* data, ulong size, ulong count, ImFileHandle file) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[736])(data, size, count, file); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[736])((nint)data, size, count, file); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImFileRead(void* data, ulong size, ulong count, ImFileHandle file) - { - ulong ret = ImFileReadNative(data, size, count, file); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImFileWriteNative(void* data, ulong size, ulong count, ImFileHandle file) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[737])(data, size, count, file); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[737])((nint)data, size, count, file); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImFileWrite(void* data, ulong size, ulong count, ImFileHandle file) - { - ulong ret = ImFileWriteNative(data, size, count, file); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void* ImFileLoadToMemoryNative(byte* filename, byte* mode, ulong* outFileSize, int paddingBytes) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[738])(filename, mode, outFileSize, paddingBytes); - #else - return (void*)((delegate* unmanaged[Cdecl])funcTable[738])((nint)filename, (nint)mode, (nint)outFileSize, paddingBytes); - #endif - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, byte* mode, ulong* outFileSize, int paddingBytes) - { - void* ret = ImFileLoadToMemoryNative(filename, mode, outFileSize, paddingBytes); - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, byte* mode, ulong* outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, mode, outFileSize, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, byte* mode) - { - void* ret = ImFileLoadToMemoryNative(filename, mode, (ulong*)(default), (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, byte* mode, int paddingBytes) - { - void* ret = ImFileLoadToMemoryNative(filename, mode, (ulong*)(default), paddingBytes); - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, byte* mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, outFileSize, paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, byte* mode, ulong* outFileSize) - { - fixed (byte* pfilename = &filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, outFileSize, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, byte* mode) - { - fixed (byte* pfilename = &filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)(default), (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, byte* mode, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)(default), paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, outFileSize, paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, ulong* outFileSize) - { - fixed (byte* pfilename = filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, outFileSize, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode) - { - fixed (byte* pfilename = filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)(default), (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)(default), paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, byte* mode, ulong* outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, mode, outFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, byte* mode, ulong* outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, mode, outFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, byte* mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, mode, (ulong*)(default), (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, byte* mode, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, mode, (ulong*)(default), paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ref byte mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, outFileSize, paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ref byte mode, ulong* outFileSize) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, outFileSize, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ref byte mode) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)(default), (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ref byte mode, int paddingBytes) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)(default), paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, outFileSize, paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, ulong* outFileSize) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, outFileSize, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)(default), (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, int paddingBytes) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)(default), paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, string mode, ulong* outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(filename, pStr0, outFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, string mode, ulong* outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(filename, pStr0, outFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, string mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(filename, pStr0, (ulong*)(default), (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, string mode, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative(filename, pStr0, (ulong*)(default), paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, ulong* outFileSize) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ref byte mode) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, ulong* outFileSize) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, string mode, ulong* outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, outFileSize, paddingBytes); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, string mode, ulong* outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, outFileSize, (int)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, string mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, (ulong*)(default), (int)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, string mode, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, (ulong*)(default), paddingBytes); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, ulong* outFileSize) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, string mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, outFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, string mode, ulong* outFileSize) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, outFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, string mode) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)(default), (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, string mode, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)(default), paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, ulong* outFileSize) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, outFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)(default), paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, ulong* outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, outFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, ulong* outFileSize) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, outFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)(default), (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)(default), paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ref byte mode, ulong* outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, outFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ref byte mode, ulong* outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, outFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ref byte mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)(default), (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ref byte mode, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)(default), paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, ulong* outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, outFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, ulong* outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, outFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)(default), (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)(default), paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, byte* mode, ref nuint outFileSize, int paddingBytes) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, mode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, byte* mode, ref nuint outFileSize) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, mode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, byte* mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, byte* mode, ref nuint outFileSize) - { - fixed (byte* pfilename = &filename) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, byte* mode, ref nuint outFileSize) - { - fixed (byte* pfilename = filename) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, mode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, byte* mode, ref nuint outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, mode, (ulong*)poutFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, byte* mode, ref nuint outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, mode, (ulong*)poutFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ref byte mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ref byte mode, ref nuint outFileSize) - { - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, ReadOnlySpan mode, ref nuint outFileSize) - { - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, string mode, ref nuint outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, pStr0, (ulong*)poutFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(byte* filename, string mode, ref nuint outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(filename, pStr0, (ulong*)poutFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ref byte mode, ref nuint outFileSize) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ReadOnlySpan mode, ref nuint outFileSize) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, string mode, ref nuint outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, (ulong*)poutFileSize, paddingBytes); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, string mode, ref nuint outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (mode != null) - { - pStrSize1 = Utils.GetByteCountUTF8(mode); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(mode, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, pStr1, (ulong*)poutFileSize, (int)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, ReadOnlySpan mode, ref nuint outFileSize) - { - fixed (byte* pfilename = &filename) - { - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, string mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ref byte filename, string mode, ref nuint outFileSize) - { - fixed (byte* pfilename = &filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, ref byte mode, ref nuint outFileSize) - { - fixed (byte* pfilename = filename) - { - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, ref nuint outFileSize, int paddingBytes) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(ReadOnlySpan filename, string mode, ref nuint outFileSize) - { - fixed (byte* pfilename = filename) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (mode != null) - { - pStrSize0 = Utils.GetByteCountUTF8(mode); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(mode, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative((byte*)pfilename, pStr0, (ulong*)poutFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ref byte mode, ref nuint outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ref byte mode, ref nuint outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = &mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, ref nuint outFileSize, int paddingBytes) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, paddingBytes); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static void* ImFileLoadToMemory(string filename, ReadOnlySpan mode, ref nuint outFileSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (filename != null) - { - pStrSize0 = Utils.GetByteCountUTF8(filename); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(filename, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pmode = mode) - { - fixed (nuint* poutFileSize = &outFileSize) - { - void* ret = ImFileLoadToMemoryNative(pStr0, (byte*)pmode, (ulong*)poutFileSize, (int)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImPow with either floatdouble and need the precision
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImPowNative(float x, float y) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[739])(x, y); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[739])(x, y); - #endif - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImPow with either floatdouble and need the precision
- ///
- public static float ImPow(float x, float y) - { - float ret = ImPowNative(x, y); - return ret; - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImPow with either floatdouble and need the precision
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImPowNative(double x, double y) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[740])(x, y); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[740])(x, y); - #endif - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImPow with either floatdouble and need the precision
- ///
- public static double ImPow(double x, double y) - { - double ret = ImPowNative(x, y); - return ret; - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImLog with either floatdouble and need the precision
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImLogNative(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[741])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[741])(x); - #endif - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImLog with either floatdouble and need the precision
- ///
- public static float ImLog(float x) - { - float ret = ImLogNative(x); - return ret; - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImLog with either floatdouble and need the precision
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImLogNative(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[742])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[742])(x); - #endif - } - - /// - /// DragBehaviorTSliderBehaviorT uses ImLog with either floatdouble and need the precision
- ///
- public static double ImLog(double x) - { - double ret = ImLogNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImAbsNative(int x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[743])(x); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[743])(x); - #endif - } - - /// - /// To be documented. - /// - public static int ImAbs(int x) - { - int ret = ImAbsNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImAbsNative(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[744])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[744])(x); - #endif - } - - /// - /// To be documented. - /// - public static float ImAbs(float x) - { - float ret = ImAbsNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImAbsNative(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[745])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[745])(x); - #endif - } - - /// - /// To be documented. - /// - public static double ImAbs(double x) - { - double ret = ImAbsNative(x); - return ret; - } - - /// - /// Sign operator - returns -1, 0 or 1 based on sign of argument
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImSignNative(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[746])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[746])(x); - #endif - } - - /// - /// Sign operator - returns -1, 0 or 1 based on sign of argument
- ///
- public static float ImSign(float x) - { - float ret = ImSignNative(x); - return ret; - } - - /// - /// Sign operator - returns -1, 0 or 1 based on sign of argument
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImSignNative(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[747])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[747])(x); - #endif - } - - /// - /// Sign operator - returns -1, 0 or 1 based on sign of argument
- ///
- public static double ImSign(double x) - { - double ret = ImSignNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImRsqrtNative(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[748])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[748])(x); - #endif - } - - /// - /// To be documented. - /// - public static float ImRsqrt(float x) - { - float ret = ImRsqrtNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImRsqrtNative(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[749])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[749])(x); - #endif - } - - /// - /// To be documented. - /// - public static double ImRsqrt(double x) - { - double ret = ImRsqrtNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinNative(Vector2* pOut, Vector2 lhs, Vector2 rhs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[750])(pOut, lhs, rhs); - #else - ((delegate* unmanaged[Cdecl])funcTable[750])((nint)pOut, lhs, rhs); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImMin(Vector2 lhs, Vector2 rhs) - { - Vector2 ret; - ImMinNative(&ret, lhs, rhs); - return ret; - } - - /// - /// To be documented. - /// - public static void ImMin(Vector2* pOut, Vector2 lhs, Vector2 rhs) - { - ImMinNative(pOut, lhs, rhs); - } - - /// - /// To be documented. - /// - public static void ImMin(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) - { - fixed (Vector2* ppOut = &pOut) - { - ImMinNative((Vector2*)ppOut, lhs, rhs); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMaxNative(Vector2* pOut, Vector2 lhs, Vector2 rhs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[751])(pOut, lhs, rhs); - #else - ((delegate* unmanaged[Cdecl])funcTable[751])((nint)pOut, lhs, rhs); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImMax(Vector2 lhs, Vector2 rhs) - { - Vector2 ret; - ImMaxNative(&ret, lhs, rhs); - return ret; - } - - /// - /// To be documented. - /// - public static void ImMax(Vector2* pOut, Vector2 lhs, Vector2 rhs) - { - ImMaxNative(pOut, lhs, rhs); - } - - /// - /// To be documented. - /// - public static void ImMax(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) - { - fixed (Vector2* ppOut = &pOut) - { - ImMaxNative((Vector2*)ppOut, lhs, rhs); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImClampNative(Vector2* pOut, Vector2 v, Vector2 mn, Vector2 mx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[752])(pOut, v, mn, mx); - #else - ((delegate* unmanaged[Cdecl])funcTable[752])((nint)pOut, v, mn, mx); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImClamp(Vector2 v, Vector2 mn, Vector2 mx) - { - Vector2 ret; - ImClampNative(&ret, v, mn, mx); - return ret; - } - - /// - /// To be documented. - /// - public static void ImClamp(Vector2* pOut, Vector2 v, Vector2 mn, Vector2 mx) - { - ImClampNative(pOut, v, mn, mx); - } - - /// - /// To be documented. - /// - public static void ImClamp(ref Vector2 pOut, Vector2 v, Vector2 mn, Vector2 mx) - { - fixed (Vector2* ppOut = &pOut) - { - ImClampNative((Vector2*)ppOut, v, mn, mx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImLerpNative(Vector2* pOut, Vector2 a, Vector2 b, float t) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[753])(pOut, a, b, t); - #else - ((delegate* unmanaged[Cdecl])funcTable[753])((nint)pOut, a, b, t); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImLerp(Vector2 a, Vector2 b, float t) - { - Vector2 ret; - ImLerpNative(&ret, a, b, t); - return ret; - } - - /// - /// To be documented. - /// - public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, float t) - { - ImLerpNative(pOut, a, b, t); - } - - /// - /// To be documented. - /// - public static void ImLerp(ref Vector2 pOut, Vector2 a, Vector2 b, float t) - { - fixed (Vector2* ppOut = &pOut) - { - ImLerpNative((Vector2*)ppOut, a, b, t); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImLerpNative(Vector2* pOut, Vector2 a, Vector2 b, Vector2 t) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[754])(pOut, a, b, t); - #else - ((delegate* unmanaged[Cdecl])funcTable[754])((nint)pOut, a, b, t); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImLerp(Vector2 a, Vector2 b, Vector2 t) - { - Vector2 ret; - ImLerpNative(&ret, a, b, t); - return ret; - } - - /// - /// To be documented. - /// - public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, Vector2 t) - { - ImLerpNative(pOut, a, b, t); - } - - /// - /// To be documented. - /// - public static void ImLerp(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 t) - { - fixed (Vector2* ppOut = &pOut) - { - ImLerpNative((Vector2*)ppOut, a, b, t); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImLerpNative(Vector4* pOut, Vector4 a, Vector4 b, float t) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[755])(pOut, a, b, t); - #else - ((delegate* unmanaged[Cdecl])funcTable[755])((nint)pOut, a, b, t); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 ImLerp(Vector4 a, Vector4 b, float t) - { - Vector4 ret; - ImLerpNative(&ret, a, b, t); - return ret; - } - - /// - /// To be documented. - /// - public static void ImLerp(Vector4* pOut, Vector4 a, Vector4 b, float t) - { - ImLerpNative(pOut, a, b, t); - } - - /// - /// To be documented. - /// - public static void ImLerp(ref Vector4 pOut, Vector4 a, Vector4 b, float t) - { - fixed (Vector4* ppOut = &pOut) - { - ImLerpNative((Vector4*)ppOut, a, b, t); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImSaturateNative(float f) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[756])(f); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[756])(f); - #endif - } - - /// - /// To be documented. - /// - public static float ImSaturate(float f) - { - float ret = ImSaturateNative(f); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImLengthSqrNative(Vector2 lhs) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[757])(lhs); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[757])(lhs); - #endif - } - - /// - /// To be documented. - /// - public static float ImLengthSqr(Vector2 lhs) - { - float ret = ImLengthSqrNative(lhs); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImLengthSqrNative(Vector4 lhs) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[758])(lhs); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[758])(lhs); - #endif - } - - /// - /// To be documented. - /// - public static float ImLengthSqr(Vector4 lhs) - { - float ret = ImLengthSqrNative(lhs); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImInvLengthNative(Vector2 lhs, float failValue) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[759])(lhs, failValue); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[759])(lhs, failValue); - #endif - } - - /// - /// To be documented. - /// - public static float ImInvLength(Vector2 lhs, float failValue) - { - float ret = ImInvLengthNative(lhs, failValue); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImTruncNative(float f) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[760])(f); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[760])(f); - #endif - } - - /// - /// To be documented. - /// - public static float ImTrunc(float f) - { - float ret = ImTruncNative(f); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImTruncNative(Vector2* pOut, Vector2 v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[761])(pOut, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[761])((nint)pOut, v); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImTrunc(Vector2 v) - { - Vector2 ret; - ImTruncNative(&ret, v); - return ret; - } - - /// - /// To be documented. - /// - public static void ImTrunc(Vector2* pOut, Vector2 v) - { - ImTruncNative(pOut, v); - } - - /// - /// To be documented. - /// - public static void ImTrunc(ref Vector2 pOut, Vector2 v) - { - fixed (Vector2* ppOut = &pOut) - { - ImTruncNative((Vector2*)ppOut, v); - } - } - - /// - /// Decent replacement for floorf()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImFloorNative(float f) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[762])(f); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[762])(f); - #endif - } - - /// - /// Decent replacement for floorf()
- ///
- public static float ImFloor(float f) - { - float ret = ImFloorNative(f); - return ret; - } - - /// - /// Decent replacement for floorf()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFloorNative(Vector2* pOut, Vector2 v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[763])(pOut, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[763])((nint)pOut, v); - #endif - } - - /// - /// Decent replacement for floorf()
- ///
- public static Vector2 ImFloor(Vector2 v) - { - Vector2 ret; - ImFloorNative(&ret, v); - return ret; - } - - /// - /// Decent replacement for floorf()
- ///
- public static void ImFloor(Vector2* pOut, Vector2 v) - { - ImFloorNative(pOut, v); - } - - /// - /// Decent replacement for floorf()
- ///
- public static void ImFloor(ref Vector2 pOut, Vector2 v) - { - fixed (Vector2* ppOut = &pOut) - { - ImFloorNative((Vector2*)ppOut, v); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImModPositiveNative(int a, int b) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[764])(a, b); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[764])(a, b); - #endif - } - - /// - /// To be documented. - /// - public static int ImModPositive(int a, int b) - { - int ret = ImModPositiveNative(a, b); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImDotNative(Vector2 a, Vector2 b) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[765])(a, b); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[765])(a, b); - #endif - } - - /// - /// To be documented. - /// - public static float ImDot(Vector2 a, Vector2 b) - { - float ret = ImDotNative(a, b); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImRotateNative(Vector2* pOut, Vector2 v, float cosA, float sinA) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[766])(pOut, v, cosA, sinA); - #else - ((delegate* unmanaged[Cdecl])funcTable[766])((nint)pOut, v, cosA, sinA); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImRotate(Vector2 v, float cosA, float sinA) - { - Vector2 ret; - ImRotateNative(&ret, v, cosA, sinA); - return ret; - } - - /// - /// To be documented. - /// - public static void ImRotate(Vector2* pOut, Vector2 v, float cosA, float sinA) - { - ImRotateNative(pOut, v, cosA, sinA); - } - - /// - /// To be documented. - /// - public static void ImRotate(ref Vector2 pOut, Vector2 v, float cosA, float sinA) - { - fixed (Vector2* ppOut = &pOut) - { - ImRotateNative((Vector2*)ppOut, v, cosA, sinA); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImLinearSweepNative(float current, float target, float speed) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[767])(current, target, speed); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[767])(current, target, speed); - #endif - } - - /// - /// To be documented. - /// - public static float ImLinearSweep(float current, float target, float speed) - { - float ret = ImLinearSweepNative(current, target, speed); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImLinearRemapClampNative(float s0, float s1, float d0, float d1, float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[768])(s0, s1, d0, d1, x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[768])(s0, s1, d0, d1, x); - #endif - } - - /// - /// To be documented. - /// - public static float ImLinearRemapClamp(float s0, float s1, float d0, float d1, float x) - { - float ret = ImLinearRemapClampNative(s0, s1, d0, d1, x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMulNative(Vector2* pOut, Vector2 lhs, Vector2 rhs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[769])(pOut, lhs, rhs); - #else - ((delegate* unmanaged[Cdecl])funcTable[769])((nint)pOut, lhs, rhs); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImMul(Vector2 lhs, Vector2 rhs) - { - Vector2 ret; - ImMulNative(&ret, lhs, rhs); - return ret; - } - - /// - /// To be documented. - /// - public static void ImMul(Vector2* pOut, Vector2 lhs, Vector2 rhs) - { - ImMulNative(pOut, lhs, rhs); - } - - /// - /// To be documented. - /// - public static void ImMul(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) - { - fixed (Vector2* ppOut = &pOut) - { - ImMulNative((Vector2*)ppOut, lhs, rhs); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImIsFloatAboveGuaranteedIntegerPrecisionNative(float f) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[770])(f); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[770])(f); - #endif - } - - /// - /// To be documented. - /// - public static bool ImIsFloatAboveGuaranteedIntegerPrecision(float f) - { - byte ret = ImIsFloatAboveGuaranteedIntegerPrecisionNative(f); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImExponentialMovingAverageNative(float avg, float sample, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[771])(avg, sample, n); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[771])(avg, sample, n); - #endif - } - - /// - /// To be documented. - /// - public static float ImExponentialMovingAverage(float avg, float sample, int n) - { - float ret = ImExponentialMovingAverageNative(avg, sample, n); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBezierCubicCalcNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[772])(pOut, p1, p2, p3, p4, t); - #else - ((delegate* unmanaged[Cdecl])funcTable[772])((nint)pOut, p1, p2, p3, p4, t); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImBezierCubicCalc(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) - { - Vector2 ret; - ImBezierCubicCalcNative(&ret, p1, p2, p3, p4, t); - return ret; - } - - /// - /// To be documented. - /// - public static void ImBezierCubicCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) - { - ImBezierCubicCalcNative(pOut, p1, p2, p3, p4, t); - } - - /// - /// To be documented. - /// - public static void ImBezierCubicCalc(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) - { - fixed (Vector2* ppOut = &pOut) - { - ImBezierCubicCalcNative((Vector2*)ppOut, p1, p2, p3, p4, t); - } - } - - /// - /// For curves with explicit number of segments
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBezierCubicClosestPointNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[773])(pOut, p1, p2, p3, p4, p, numSegments); - #else - ((delegate* unmanaged[Cdecl])funcTable[773])((nint)pOut, p1, p2, p3, p4, p, numSegments); - #endif - } - - /// - /// For curves with explicit number of segments
- ///
- public static Vector2 ImBezierCubicClosestPoint(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) - { - Vector2 ret; - ImBezierCubicClosestPointNative(&ret, p1, p2, p3, p4, p, numSegments); - return ret; - } - - /// - /// For curves with explicit number of segments
- ///
- public static void ImBezierCubicClosestPoint(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) - { - ImBezierCubicClosestPointNative(pOut, p1, p2, p3, p4, p, numSegments); - } - - /// - /// For curves with explicit number of segments
- ///
- public static void ImBezierCubicClosestPoint(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) - { - fixed (Vector2* ppOut = &pOut) - { - ImBezierCubicClosestPointNative((Vector2*)ppOut, p1, p2, p3, p4, p, numSegments); - } - } - - /// - /// For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBezierCubicClosestPointCasteljauNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[774])(pOut, p1, p2, p3, p4, p, tessTol); - #else - ((delegate* unmanaged[Cdecl])funcTable[774])((nint)pOut, p1, p2, p3, p4, p, tessTol); - #endif - } - - /// - /// For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol
- ///
- public static Vector2 ImBezierCubicClosestPointCasteljau(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) - { - Vector2 ret; - ImBezierCubicClosestPointCasteljauNative(&ret, p1, p2, p3, p4, p, tessTol); - return ret; - } - - /// - /// For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol
- ///
- public static void ImBezierCubicClosestPointCasteljau(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) - { - ImBezierCubicClosestPointCasteljauNative(pOut, p1, p2, p3, p4, p, tessTol); - } - - /// - /// For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol
- ///
- public static void ImBezierCubicClosestPointCasteljau(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) - { - fixed (Vector2* ppOut = &pOut) - { - ImBezierCubicClosestPointCasteljauNative((Vector2*)ppOut, p1, p2, p3, p4, p, tessTol); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBezierQuadraticCalcNative(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[775])(pOut, p1, p2, p3, t); - #else - ((delegate* unmanaged[Cdecl])funcTable[775])((nint)pOut, p1, p2, p3, t); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImBezierQuadraticCalc(Vector2 p1, Vector2 p2, Vector2 p3, float t) - { - Vector2 ret; - ImBezierQuadraticCalcNative(&ret, p1, p2, p3, t); - return ret; - } - - /// - /// To be documented. - /// - public static void ImBezierQuadraticCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) - { - ImBezierQuadraticCalcNative(pOut, p1, p2, p3, t); - } - - /// - /// To be documented. - /// - public static void ImBezierQuadraticCalc(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) - { - fixed (Vector2* ppOut = &pOut) - { - ImBezierQuadraticCalcNative((Vector2*)ppOut, p1, p2, p3, t); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImLineClosestPointNative(Vector2* pOut, Vector2 a, Vector2 b, Vector2 p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[776])(pOut, a, b, p); - #else - ((delegate* unmanaged[Cdecl])funcTable[776])((nint)pOut, a, b, p); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImLineClosestPoint(Vector2 a, Vector2 b, Vector2 p) - { - Vector2 ret; - ImLineClosestPointNative(&ret, a, b, p); - return ret; - } - - /// - /// To be documented. - /// - public static void ImLineClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 p) - { - ImLineClosestPointNative(pOut, a, b, p); - } - - /// - /// To be documented. - /// - public static void ImLineClosestPoint(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 p) - { - fixed (Vector2* ppOut = &pOut) - { - ImLineClosestPointNative((Vector2*)ppOut, a, b, p); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImTriangleContainsPointNative(Vector2 a, Vector2 b, Vector2 c, Vector2 p) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[777])(a, b, c, p); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[777])(a, b, c, p); - #endif - } - - /// - /// To be documented. - /// - public static bool ImTriangleContainsPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) - { - byte ret = ImTriangleContainsPointNative(a, b, c, p); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImTriangleClosestPointNative(Vector2* pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[778])(pOut, a, b, c, p); - #else - ((delegate* unmanaged[Cdecl])funcTable[778])((nint)pOut, a, b, c, p); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ImTriangleClosestPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) - { - Vector2 ret; - ImTriangleClosestPointNative(&ret, a, b, c, p); - return ret; - } - - /// - /// To be documented. - /// - public static void ImTriangleClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) - { - ImTriangleClosestPointNative(pOut, a, b, c, p); - } - - /// - /// To be documented. - /// - public static void ImTriangleClosestPoint(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) - { - fixed (Vector2* ppOut = &pOut) - { - ImTriangleClosestPointNative((Vector2*)ppOut, a, b, c, p); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImTriangleBarycentricCoordsNative(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, float* outW) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[779])(a, b, c, p, outU, outV, outW); - #else - ((delegate* unmanaged[Cdecl])funcTable[779])(a, b, c, p, (nint)outU, (nint)outV, (nint)outW); - #endif - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, float* outW) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, outU, outV, outW); - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, float* outV, float* outW) - { - fixed (float* poutU = &outU) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, outV, outW); - } - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, ref float outV, float* outW) - { - fixed (float* poutV = &outV) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, outU, (float*)poutV, outW); - } - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, ref float outV, float* outW) - { - fixed (float* poutU = &outU) - { - fixed (float* poutV = &outV) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, (float*)poutV, outW); - } - } - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, ref float outW) - { - fixed (float* poutW = &outW) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, outU, outV, (float*)poutW); - } - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, float* outV, ref float outW) - { - fixed (float* poutU = &outU) - { - fixed (float* poutW = &outW) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, outV, (float*)poutW); - } - } - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, ref float outV, ref float outW) - { - fixed (float* poutV = &outV) - { - fixed (float* poutW = &outW) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, outU, (float*)poutV, (float*)poutW); - } - } - } - - /// - /// To be documented. - /// - public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, ref float outV, ref float outW) - { - fixed (float* poutU = &outU) - { - fixed (float* poutV = &outV) - { - fixed (float* poutW = &outW) - { - ImTriangleBarycentricCoordsNative(a, b, c, p, (float*)poutU, (float*)poutV, (float*)poutW); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImTriangleAreaNative(Vector2 a, Vector2 b, Vector2 c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[780])(a, b, c); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[780])(a, b, c); - #endif - } - - /// - /// To be documented. - /// - public static float ImTriangleArea(Vector2 a, Vector2 b, Vector2 c) - { - float ret = ImTriangleAreaNative(a, b, c); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImTriangleIsClockwiseNative(Vector2 a, Vector2 b, Vector2 c) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[781])(a, b, c); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[781])(a, b, c); - #endif - } - - /// - /// To be documented. - /// - public static bool ImTriangleIsClockwise(Vector2 a, Vector2 b, Vector2 c) - { - byte ret = ImTriangleIsClockwiseNative(a, b, c); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImVec1* ImVec1Native() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[782])(); - #else - return (ImVec1*)((delegate* unmanaged[Cdecl])funcTable[782])(); - #endif - } - - /// - /// To be documented. - /// - public static ImVec1Ptr ImVec1() - { - ImVec1Ptr ret = ImVec1Native(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImVec1* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[783])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[783])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImVec1Ptr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImVec1 self) - { - fixed (ImVec1* pself = &self) - { - DestroyNative((ImVec1*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImVec1* ImVec1Native(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[784])(x); - #else - return (ImVec1*)((delegate* unmanaged[Cdecl])funcTable[784])(x); - #endif - } - - /// - /// To be documented. - /// - public static ImVec1Ptr ImVec1(float x) - { - ImVec1Ptr ret = ImVec1Native(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImVec2Ih* ImVec2ihNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[785])(); - #else - return (ImVec2Ih*)((delegate* unmanaged[Cdecl])funcTable[785])(); - #endif - } - - /// - /// To be documented. - /// - public static ImVec2IhPtr ImVec2ih() - { - ImVec2IhPtr ret = ImVec2ihNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImVec2Ih* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[786])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[786])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImVec2IhPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImVec2Ih self) - { - fixed (ImVec2Ih* pself = &self) - { - DestroyNative((ImVec2Ih*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImVec2Ih* ImVec2ihNative(short x, short y) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[787])(x, y); - #else - return (ImVec2Ih*)((delegate* unmanaged[Cdecl])funcTable[787])(x, y); - #endif - } - - /// - /// To be documented. - /// - public static ImVec2IhPtr ImVec2ih(short x, short y) - { - ImVec2IhPtr ret = ImVec2ihNative(x, y); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImVec2Ih* ImVec2ihNative(Vector2 rhs) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[788])(rhs); - #else - return (ImVec2Ih*)((delegate* unmanaged[Cdecl])funcTable[788])(rhs); - #endif - } - - /// - /// To be documented. - /// - public static ImVec2IhPtr ImVec2ih(Vector2 rhs) - { - ImVec2IhPtr ret = ImVec2ihNative(rhs); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImRect* ImRectNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[789])(); - #else - return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[789])(); - #endif - } - - /// - /// To be documented. - /// - public static ImRectPtr ImRect() - { - ImRectPtr ret = ImRectNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[790])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[790])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImRectPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - DestroyNative((ImRect*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImRect* ImRectNative(Vector2 min, Vector2 max) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[791])(min, max); - #else - return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[791])(min, max); - #endif - } - - /// - /// To be documented. - /// - public static ImRectPtr ImRect(Vector2 min, Vector2 max) - { - ImRectPtr ret = ImRectNative(min, max); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImRect* ImRectNative(Vector4 v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[792])(v); - #else - return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[792])(v); - #endif - } - - /// - /// To be documented. - /// - public static ImRectPtr ImRect(Vector4 v) - { - ImRectPtr ret = ImRectNative(v); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImRect* ImRectNative(float x1, float y1, float x2, float y2) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[793])(x1, y1, x2, y2); - #else - return (ImRect*)((delegate* unmanaged[Cdecl])funcTable[793])(x1, y1, x2, y2); - #endif - } - - /// - /// To be documented. - /// - public static ImRectPtr ImRect(float x1, float y1, float x2, float y2) - { - ImRectPtr ret = ImRectNative(x1, y1, x2, y2); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetCenterNative(Vector2* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[794])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[794])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetCenter(ImRectPtr self) - { - Vector2 ret; - GetCenterNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetCenter(Vector2* pOut, ImRectPtr self) - { - GetCenterNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetCenter(ref Vector2 pOut, ImRectPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetCenterNative((Vector2*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector2 GetCenter(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector2 ret; - GetCenterNative(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetCenter(Vector2* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - GetCenterNative(pOut, (ImRect*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetCenter(ref Vector2 pOut, ref ImRect self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - GetCenterNative((Vector2*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetSizeNative(Vector2* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[795])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[795])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetSize(ImRectPtr self) - { - Vector2 ret; - GetSizeNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetSize(Vector2* pOut, ImRectPtr self) - { - GetSizeNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetSize(ref Vector2 pOut, ImRectPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetSizeNative((Vector2*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector2 GetSize(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector2 ret; - GetSizeNative(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetSize(Vector2* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - GetSizeNative(pOut, (ImRect*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetSize(ref Vector2 pOut, ref ImRect self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - GetSizeNative((Vector2*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetWidthNative(ImRect* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[796])(self); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[796])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static float GetWidth(ImRectPtr self) - { - float ret = GetWidthNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static float GetWidth(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - float ret = GetWidthNative((ImRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetHeightNative(ImRect* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[797])(self); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[797])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static float GetHeight(ImRectPtr self) - { - float ret = GetHeightNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static float GetHeight(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - float ret = GetHeightNative((ImRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetAreaNative(ImRect* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[798])(self); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[798])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static float GetArea(ImRectPtr self) - { - float ret = GetAreaNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static float GetArea(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - float ret = GetAreaNative((ImRect*)pself); - return ret; - } - } - - /// - /// Top-left
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetTLNative(Vector2* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[799])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[799])((nint)pOut, (nint)self); - #endif - } - - /// - /// Top-left
- ///
- public static Vector2 GetTL(ImRectPtr self) - { - Vector2 ret; - GetTLNative(&ret, self); - return ret; - } - - /// - /// Top-left
- ///
- public static void GetTL(Vector2* pOut, ImRectPtr self) - { - GetTLNative(pOut, self); - } - - /// - /// Top-left
- ///
- public static void GetTL(ref Vector2 pOut, ImRectPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetTLNative((Vector2*)ppOut, self); - } - } - - /// - /// Top-left
- ///
- public static Vector2 GetTL(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector2 ret; - GetTLNative(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// Top-left
- ///
- public static void GetTL(Vector2* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - GetTLNative(pOut, (ImRect*)pself); - } - } - - /// - /// Top-left
- ///
- public static void GetTL(ref Vector2 pOut, ref ImRect self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - GetTLNative((Vector2*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// Top-right
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetTRNative(Vector2* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[800])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[800])((nint)pOut, (nint)self); - #endif - } - - /// - /// Top-right
- ///
- public static Vector2 GetTR(ImRectPtr self) - { - Vector2 ret; - GetTRNative(&ret, self); - return ret; - } - - /// - /// Top-right
- ///
- public static void GetTR(Vector2* pOut, ImRectPtr self) - { - GetTRNative(pOut, self); - } - - /// - /// Top-right
- ///
- public static void GetTR(ref Vector2 pOut, ImRectPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetTRNative((Vector2*)ppOut, self); - } - } - - /// - /// Top-right
- ///
- public static Vector2 GetTR(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector2 ret; - GetTRNative(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// Top-right
- ///
- public static void GetTR(Vector2* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - GetTRNative(pOut, (ImRect*)pself); - } - } - - /// - /// Top-right
- ///
- public static void GetTR(ref Vector2 pOut, ref ImRect self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - GetTRNative((Vector2*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// Bottom-left
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetBLNative(Vector2* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[801])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[801])((nint)pOut, (nint)self); - #endif - } - - /// - /// Bottom-left
- ///
- public static Vector2 GetBL(ImRectPtr self) - { - Vector2 ret; - GetBLNative(&ret, self); - return ret; - } - - /// - /// Bottom-left
- ///
- public static void GetBL(Vector2* pOut, ImRectPtr self) - { - GetBLNative(pOut, self); - } - - /// - /// Bottom-left
- ///
- public static void GetBL(ref Vector2 pOut, ImRectPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetBLNative((Vector2*)ppOut, self); - } - } - - /// - /// Bottom-left
- ///
- public static Vector2 GetBL(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector2 ret; - GetBLNative(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// Bottom-left
- ///
- public static void GetBL(Vector2* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - GetBLNative(pOut, (ImRect*)pself); - } - } - - /// - /// Bottom-left
- ///
- public static void GetBL(ref Vector2 pOut, ref ImRect self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - GetBLNative((Vector2*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// Bottom-right
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetBRNative(Vector2* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[802])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[802])((nint)pOut, (nint)self); - #endif - } - - /// - /// Bottom-right
- ///
- public static Vector2 GetBR(ImRectPtr self) - { - Vector2 ret; - GetBRNative(&ret, self); - return ret; - } - - /// - /// Bottom-right
- ///
- public static void GetBR(Vector2* pOut, ImRectPtr self) - { - GetBRNative(pOut, self); - } - - /// - /// Bottom-right
- ///
- public static void GetBR(ref Vector2 pOut, ImRectPtr self) - { - fixed (Vector2* ppOut = &pOut) - { - GetBRNative((Vector2*)ppOut, self); - } - } - - /// - /// Bottom-right
- ///
- public static Vector2 GetBR(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector2 ret; - GetBRNative(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// Bottom-right
- ///
- public static void GetBR(Vector2* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - GetBRNative(pOut, (ImRect*)pself); - } - } - - /// - /// Bottom-right
- ///
- public static void GetBR(ref Vector2 pOut, ref ImRect self) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - GetBRNative((Vector2*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsNative(ImRect* self, Vector2 p) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[803])(self, p); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[803])((nint)self, p); - #endif - } - - /// - /// To be documented. - /// - public static bool Contains(ImRectPtr self, Vector2 p) - { - byte ret = ContainsNative(self, p); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Contains(ref ImRect self, Vector2 p) - { - fixed (ImRect* pself = &self) - { - byte ret = ContainsNative((ImRect*)pself, p); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsNative(ImRect* self, ImRect r) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[804])(self, r); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[804])((nint)self, r); - #endif - } - - /// - /// To be documented. - /// - public static bool Contains(ImRectPtr self, ImRect r) - { - byte ret = ContainsNative(self, r); - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.007.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.007.cs deleted file mode 100644 index 1e0c6ace3..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.007.cs +++ /dev/null @@ -1,5021 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static bool Contains(ref ImRect self, ImRect r) - { - fixed (ImRect* pself = &self) - { - byte ret = ContainsNative((ImRect*)pself, r); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsWithPadNative(ImRect* self, Vector2 p, Vector2 pad) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[805])(self, p, pad); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[805])((nint)self, p, pad); - #endif - } - - /// - /// To be documented. - /// - public static bool ContainsWithPad(ImRectPtr self, Vector2 p, Vector2 pad) - { - byte ret = ContainsWithPadNative(self, p, pad); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ContainsWithPad(ref ImRect self, Vector2 p, Vector2 pad) - { - fixed (ImRect* pself = &self) - { - byte ret = ContainsWithPadNative((ImRect*)pself, p, pad); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte OverlapsNative(ImRect* self, ImRect r) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[806])(self, r); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[806])((nint)self, r); - #endif - } - - /// - /// To be documented. - /// - public static bool Overlaps(ImRectPtr self, ImRect r) - { - byte ret = OverlapsNative(self, r); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Overlaps(ref ImRect self, ImRect r) - { - fixed (ImRect* pself = &self) - { - byte ret = OverlapsNative((ImRect*)pself, r); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddNative(ImRect* self, Vector2 p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[807])(self, p); - #else - ((delegate* unmanaged[Cdecl])funcTable[807])((nint)self, p); - #endif - } - - /// - /// To be documented. - /// - public static void Add(ImRectPtr self, Vector2 p) - { - AddNative(self, p); - } - - /// - /// To be documented. - /// - public static void Add(ref ImRect self, Vector2 p) - { - fixed (ImRect* pself = &self) - { - AddNative((ImRect*)pself, p); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddNative(ImRect* self, ImRect r) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[808])(self, r); - #else - ((delegate* unmanaged[Cdecl])funcTable[808])((nint)self, r); - #endif - } - - /// - /// To be documented. - /// - public static void Add(ImRectPtr self, ImRect r) - { - AddNative(self, r); - } - - /// - /// To be documented. - /// - public static void Add(ref ImRect self, ImRect r) - { - fixed (ImRect* pself = &self) - { - AddNative((ImRect*)pself, r); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ExpandNative(ImRect* self, float amount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[809])(self, amount); - #else - ((delegate* unmanaged[Cdecl])funcTable[809])((nint)self, amount); - #endif - } - - /// - /// To be documented. - /// - public static void Expand(ImRectPtr self, float amount) - { - ExpandNative(self, amount); - } - - /// - /// To be documented. - /// - public static void Expand(ref ImRect self, float amount) - { - fixed (ImRect* pself = &self) - { - ExpandNative((ImRect*)pself, amount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ExpandNative(ImRect* self, Vector2 amount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[810])(self, amount); - #else - ((delegate* unmanaged[Cdecl])funcTable[810])((nint)self, amount); - #endif - } - - /// - /// To be documented. - /// - public static void Expand(ImRectPtr self, Vector2 amount) - { - ExpandNative(self, amount); - } - - /// - /// To be documented. - /// - public static void Expand(ref ImRect self, Vector2 amount) - { - fixed (ImRect* pself = &self) - { - ExpandNative((ImRect*)pself, amount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TranslateNative(ImRect* self, Vector2 d) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[811])(self, d); - #else - ((delegate* unmanaged[Cdecl])funcTable[811])((nint)self, d); - #endif - } - - /// - /// To be documented. - /// - public static void Translate(ImRectPtr self, Vector2 d) - { - TranslateNative(self, d); - } - - /// - /// To be documented. - /// - public static void Translate(ref ImRect self, Vector2 d) - { - fixed (ImRect* pself = &self) - { - TranslateNative((ImRect*)pself, d); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TranslateXNative(ImRect* self, float dx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[812])(self, dx); - #else - ((delegate* unmanaged[Cdecl])funcTable[812])((nint)self, dx); - #endif - } - - /// - /// To be documented. - /// - public static void TranslateX(ImRectPtr self, float dx) - { - TranslateXNative(self, dx); - } - - /// - /// To be documented. - /// - public static void TranslateX(ref ImRect self, float dx) - { - fixed (ImRect* pself = &self) - { - TranslateXNative((ImRect*)pself, dx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TranslateYNative(ImRect* self, float dy) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[813])(self, dy); - #else - ((delegate* unmanaged[Cdecl])funcTable[813])((nint)self, dy); - #endif - } - - /// - /// To be documented. - /// - public static void TranslateY(ImRectPtr self, float dy) - { - TranslateYNative(self, dy); - } - - /// - /// To be documented. - /// - public static void TranslateY(ref ImRect self, float dy) - { - fixed (ImRect* pself = &self) - { - TranslateYNative((ImRect*)pself, dy); - } - } - - /// - /// Simple version, may lead to an inverted rectangle, which is fine for ContainsOverlaps test but not for display.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClipWithNative(ImRect* self, ImRect r) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[814])(self, r); - #else - ((delegate* unmanaged[Cdecl])funcTable[814])((nint)self, r); - #endif - } - - /// - /// Simple version, may lead to an inverted rectangle, which is fine for ContainsOverlaps test but not for display.
- ///
- public static void ClipWith(ImRectPtr self, ImRect r) - { - ClipWithNative(self, r); - } - - /// - /// Simple version, may lead to an inverted rectangle, which is fine for ContainsOverlaps test but not for display.
- ///
- public static void ClipWith(ref ImRect self, ImRect r) - { - fixed (ImRect* pself = &self) - { - ClipWithNative((ImRect*)pself, r); - } - } - - /// - /// Full version, ensure both points are fully clipped.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClipWithFullNative(ImRect* self, ImRect r) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[815])(self, r); - #else - ((delegate* unmanaged[Cdecl])funcTable[815])((nint)self, r); - #endif - } - - /// - /// Full version, ensure both points are fully clipped.
- ///
- public static void ClipWithFull(ImRectPtr self, ImRect r) - { - ClipWithFullNative(self, r); - } - - /// - /// Full version, ensure both points are fully clipped.
- ///
- public static void ClipWithFull(ref ImRect self, ImRect r) - { - fixed (ImRect* pself = &self) - { - ClipWithFullNative((ImRect*)pself, r); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FloorNative(ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[816])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[816])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Floor(ImRectPtr self) - { - FloorNative(self); - } - - /// - /// To be documented. - /// - public static void Floor(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - FloorNative((ImRect*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsInvertedNative(ImRect* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[817])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[817])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsInverted(ImRectPtr self) - { - byte ret = IsInvertedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsInverted(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - byte ret = IsInvertedNative((ImRect*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ToVec4Native(Vector4* pOut, ImRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[818])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[818])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 ToVec4(ImRectPtr self) - { - Vector4 ret; - ToVec4Native(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void ToVec4(Vector4* pOut, ImRectPtr self) - { - ToVec4Native(pOut, self); - } - - /// - /// To be documented. - /// - public static void ToVec4(ref Vector4 pOut, ImRectPtr self) - { - fixed (Vector4* ppOut = &pOut) - { - ToVec4Native((Vector4*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static Vector4 ToVec4(ref ImRect self) - { - fixed (ImRect* pself = &self) - { - Vector4 ret; - ToVec4Native(&ret, (ImRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void ToVec4(Vector4* pOut, ref ImRect self) - { - fixed (ImRect* pself = &self) - { - ToVec4Native(pOut, (ImRect*)pself); - } - } - - /// - /// To be documented. - /// - public static void ToVec4(ref Vector4 pOut, ref ImRect self) - { - fixed (Vector4* ppOut = &pOut) - { - fixed (ImRect* pself = &self) - { - ToVec4Native((Vector4*)ppOut, (ImRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImBitArrayGetStorageSizeInBytesNative(int bitcount) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[819])(bitcount); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[819])(bitcount); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImBitArrayGetStorageSizeInBytes(int bitcount) - { - ulong ret = ImBitArrayGetStorageSizeInBytesNative(bitcount); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBitArrayClearAllBitsNative(uint* arr, int bitcount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[820])(arr, bitcount); - #else - ((delegate* unmanaged[Cdecl])funcTable[820])((nint)arr, bitcount); - #endif - } - - /// - /// To be documented. - /// - public static void ImBitArrayClearAllBits(uint* arr, int bitcount) - { - ImBitArrayClearAllBitsNative(arr, bitcount); - } - - /// - /// To be documented. - /// - public static void ImBitArrayClearAllBits(ref uint arr, int bitcount) - { - fixed (uint* parr = &arr) - { - ImBitArrayClearAllBitsNative((uint*)parr, bitcount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImBitArrayTestBitNative(uint* arr, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[821])(arr, n); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[821])((nint)arr, n); - #endif - } - - /// - /// To be documented. - /// - public static bool ImBitArrayTestBit(uint* arr, int n) - { - byte ret = ImBitArrayTestBitNative(arr, n); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImBitArrayTestBit(ref uint arr, int n) - { - fixed (uint* parr = &arr) - { - byte ret = ImBitArrayTestBitNative((uint*)parr, n); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBitArrayClearBitNative(uint* arr, int n) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[822])(arr, n); - #else - ((delegate* unmanaged[Cdecl])funcTable[822])((nint)arr, n); - #endif - } - - /// - /// To be documented. - /// - public static void ImBitArrayClearBit(uint* arr, int n) - { - ImBitArrayClearBitNative(arr, n); - } - - /// - /// To be documented. - /// - public static void ImBitArrayClearBit(ref uint arr, int n) - { - fixed (uint* parr = &arr) - { - ImBitArrayClearBitNative((uint*)parr, n); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBitArraySetBitNative(uint* arr, int n) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[823])(arr, n); - #else - ((delegate* unmanaged[Cdecl])funcTable[823])((nint)arr, n); - #endif - } - - /// - /// To be documented. - /// - public static void ImBitArraySetBit(uint* arr, int n) - { - ImBitArraySetBitNative(arr, n); - } - - /// - /// To be documented. - /// - public static void ImBitArraySetBit(ref uint arr, int n) - { - fixed (uint* parr = &arr) - { - ImBitArraySetBitNative((uint*)parr, n); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImBitArraySetBitRangeNative(uint* arr, int n, int n2) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[824])(arr, n, n2); - #else - ((delegate* unmanaged[Cdecl])funcTable[824])((nint)arr, n, n2); - #endif - } - - /// - /// To be documented. - /// - public static void ImBitArraySetBitRange(uint* arr, int n, int n2) - { - ImBitArraySetBitRangeNative(arr, n, n2); - } - - /// - /// To be documented. - /// - public static void ImBitArraySetBitRange(ref uint arr, int n, int n2) - { - fixed (uint* parr = &arr) - { - ImBitArraySetBitRangeNative((uint*)parr, n, n2); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CreateNative(ImBitVector* self, int sz) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[825])(self, sz); - #else - ((delegate* unmanaged[Cdecl])funcTable[825])((nint)self, sz); - #endif - } - - /// - /// To be documented. - /// - public static void Create(ImBitVectorPtr self, int sz) - { - CreateNative(self, sz); - } - - /// - /// To be documented. - /// - public static void Create(ref ImBitVector self, int sz) - { - fixed (ImBitVector* pself = &self) - { - CreateNative((ImBitVector*)pself, sz); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImBitVector* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[826])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[826])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImBitVectorPtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImBitVector self) - { - fixed (ImBitVector* pself = &self) - { - ClearNative((ImBitVector*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TestBitNative(ImBitVector* self, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[827])(self, n); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[827])((nint)self, n); - #endif - } - - /// - /// To be documented. - /// - public static bool TestBit(ImBitVectorPtr self, int n) - { - byte ret = TestBitNative(self, n); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TestBit(ref ImBitVector self, int n) - { - fixed (ImBitVector* pself = &self) - { - byte ret = TestBitNative((ImBitVector*)pself, n); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetBitNative(ImBitVector* self, int n) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[828])(self, n); - #else - ((delegate* unmanaged[Cdecl])funcTable[828])((nint)self, n); - #endif - } - - /// - /// To be documented. - /// - public static void SetBit(ImBitVectorPtr self, int n) - { - SetBitNative(self, n); - } - - /// - /// To be documented. - /// - public static void SetBit(ref ImBitVector self, int n) - { - fixed (ImBitVector* pself = &self) - { - SetBitNative((ImBitVector*)pself, n); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearBitNative(ImBitVector* self, int n) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[829])(self, n); - #else - ((delegate* unmanaged[Cdecl])funcTable[829])((nint)self, n); - #endif - } - - /// - /// To be documented. - /// - public static void ClearBit(ImBitVectorPtr self, int n) - { - ClearBitNative(self, n); - } - - /// - /// To be documented. - /// - public static void ClearBit(ref ImBitVector self, int n) - { - fixed (ImBitVector* pself = &self) - { - ClearBitNative((ImBitVector*)pself, n); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void clearNative(ImGuiTextIndex* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[830])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[830])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void clear(ImGuiTextIndexPtr self) - { - clearNative(self); - } - - /// - /// To be documented. - /// - public static void clear(ref ImGuiTextIndex self) - { - fixed (ImGuiTextIndex* pself = &self) - { - clearNative((ImGuiTextIndex*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int sizeNative(ImGuiTextIndex* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[831])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[831])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int size(ImGuiTextIndexPtr self) - { - int ret = sizeNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int size(ref ImGuiTextIndex self) - { - fixed (ImGuiTextIndex* pself = &self) - { - int ret = sizeNative((ImGuiTextIndex*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* get_line_beginNative(ImGuiTextIndex* self, byte* baseValue, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[832])(self, baseValue, n); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[832])((nint)self, (nint)baseValue, n); - #endif - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ImGuiTextIndexPtr self, byte* baseValue, int n) - { - byte* ret = get_line_beginNative(self, baseValue, n); - return ret; - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ImGuiTextIndexPtr self, byte* baseValue, int n) - { - string ret = Utils.DecodeStringUTF8(get_line_beginNative(self, baseValue, n)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ref ImGuiTextIndex self, byte* baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* ret = get_line_beginNative((ImGuiTextIndex*)pself, baseValue, n); - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ref ImGuiTextIndex self, byte* baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - string ret = Utils.DecodeStringUTF8(get_line_beginNative((ImGuiTextIndex*)pself, baseValue, n)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ImGuiTextIndexPtr self, ref byte baseValue, int n) - { - fixed (byte* pbaseValue = &baseValue) - { - byte* ret = get_line_beginNative(self, (byte*)pbaseValue, n); - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ImGuiTextIndexPtr self, ref byte baseValue, int n) - { - fixed (byte* pbaseValue = &baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_beginNative(self, (byte*)pbaseValue, n)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ImGuiTextIndexPtr self, ReadOnlySpan baseValue, int n) - { - fixed (byte* pbaseValue = baseValue) - { - byte* ret = get_line_beginNative(self, (byte*)pbaseValue, n); - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ImGuiTextIndexPtr self, ReadOnlySpan baseValue, int n) - { - fixed (byte* pbaseValue = baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_beginNative(self, (byte*)pbaseValue, n)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ImGuiTextIndexPtr self, string baseValue, int n) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = get_line_beginNative(self, pStr0, n); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ImGuiTextIndexPtr self, string baseValue, int n) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(get_line_beginNative(self, pStr0, n)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ref ImGuiTextIndex self, ref byte baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = &baseValue) - { - byte* ret = get_line_beginNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ref ImGuiTextIndex self, ref byte baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = &baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_beginNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ref ImGuiTextIndex self, ReadOnlySpan baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = baseValue) - { - byte* ret = get_line_beginNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ref ImGuiTextIndex self, ReadOnlySpan baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_beginNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* get_line_begin(ref ImGuiTextIndex self, string baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = get_line_beginNative((ImGuiTextIndex*)pself, pStr0, n); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_beginS(ref ImGuiTextIndex self, string baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(get_line_beginNative((ImGuiTextIndex*)pself, pStr0, n)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* get_line_endNative(ImGuiTextIndex* self, byte* baseValue, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[833])(self, baseValue, n); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[833])((nint)self, (nint)baseValue, n); - #endif - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ImGuiTextIndexPtr self, byte* baseValue, int n) - { - byte* ret = get_line_endNative(self, baseValue, n); - return ret; - } - - /// - /// To be documented. - /// - public static string get_line_endS(ImGuiTextIndexPtr self, byte* baseValue, int n) - { - string ret = Utils.DecodeStringUTF8(get_line_endNative(self, baseValue, n)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ref ImGuiTextIndex self, byte* baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* ret = get_line_endNative((ImGuiTextIndex*)pself, baseValue, n); - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_endS(ref ImGuiTextIndex self, byte* baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - string ret = Utils.DecodeStringUTF8(get_line_endNative((ImGuiTextIndex*)pself, baseValue, n)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ImGuiTextIndexPtr self, ref byte baseValue, int n) - { - fixed (byte* pbaseValue = &baseValue) - { - byte* ret = get_line_endNative(self, (byte*)pbaseValue, n); - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_endS(ImGuiTextIndexPtr self, ref byte baseValue, int n) - { - fixed (byte* pbaseValue = &baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_endNative(self, (byte*)pbaseValue, n)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ImGuiTextIndexPtr self, ReadOnlySpan baseValue, int n) - { - fixed (byte* pbaseValue = baseValue) - { - byte* ret = get_line_endNative(self, (byte*)pbaseValue, n); - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_endS(ImGuiTextIndexPtr self, ReadOnlySpan baseValue, int n) - { - fixed (byte* pbaseValue = baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_endNative(self, (byte*)pbaseValue, n)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ImGuiTextIndexPtr self, string baseValue, int n) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = get_line_endNative(self, pStr0, n); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string get_line_endS(ImGuiTextIndexPtr self, string baseValue, int n) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(get_line_endNative(self, pStr0, n)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ref ImGuiTextIndex self, ref byte baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = &baseValue) - { - byte* ret = get_line_endNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string get_line_endS(ref ImGuiTextIndex self, ref byte baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = &baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_endNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ref ImGuiTextIndex self, ReadOnlySpan baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = baseValue) - { - byte* ret = get_line_endNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string get_line_endS(ref ImGuiTextIndex self, ReadOnlySpan baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = baseValue) - { - string ret = Utils.DecodeStringUTF8(get_line_endNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, n)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* get_line_end(ref ImGuiTextIndex self, string baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = get_line_endNative((ImGuiTextIndex*)pself, pStr0, n); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string get_line_endS(ref ImGuiTextIndex self, string baseValue, int n) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(get_line_endNative((ImGuiTextIndex*)pself, pStr0, n)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void appendNative(ImGuiTextIndex* self, byte* baseValue, int oldSize, int newSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[834])(self, baseValue, oldSize, newSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[834])((nint)self, (nint)baseValue, oldSize, newSize); - #endif - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextIndexPtr self, byte* baseValue, int oldSize, int newSize) - { - appendNative(self, baseValue, oldSize, newSize); - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextIndex self, byte* baseValue, int oldSize, int newSize) - { - fixed (ImGuiTextIndex* pself = &self) - { - appendNative((ImGuiTextIndex*)pself, baseValue, oldSize, newSize); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextIndexPtr self, ref byte baseValue, int oldSize, int newSize) - { - fixed (byte* pbaseValue = &baseValue) - { - appendNative(self, (byte*)pbaseValue, oldSize, newSize); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextIndexPtr self, ReadOnlySpan baseValue, int oldSize, int newSize) - { - fixed (byte* pbaseValue = baseValue) - { - appendNative(self, (byte*)pbaseValue, oldSize, newSize); - } - } - - /// - /// To be documented. - /// - public static void append(ImGuiTextIndexPtr self, string baseValue, int oldSize, int newSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative(self, pStr0, oldSize, newSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextIndex self, ref byte baseValue, int oldSize, int newSize) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = &baseValue) - { - appendNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, oldSize, newSize); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextIndex self, ReadOnlySpan baseValue, int oldSize, int newSize) - { - fixed (ImGuiTextIndex* pself = &self) - { - fixed (byte* pbaseValue = baseValue) - { - appendNative((ImGuiTextIndex*)pself, (byte*)pbaseValue, oldSize, newSize); - } - } - } - - /// - /// To be documented. - /// - public static void append(ref ImGuiTextIndex self, string baseValue, int oldSize, int newSize) - { - fixed (ImGuiTextIndex* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (baseValue != null) - { - pStrSize0 = Utils.GetByteCountUTF8(baseValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(baseValue, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - appendNative((ImGuiTextIndex*)pself, pStr0, oldSize, newSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStoragePair* ImLowerBoundNative(ImGuiStoragePair* inBegin, ImGuiStoragePair* inEnd, uint key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[835])(inBegin, inEnd, key); - #else - return (ImGuiStoragePair*)((delegate* unmanaged[Cdecl])funcTable[835])((nint)inBegin, (nint)inEnd, key); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImLowerBound(ImGuiStoragePairPtr inBegin, ImGuiStoragePairPtr inEnd, uint key) - { - ImGuiStoragePairPtr ret = ImLowerBoundNative(inBegin, inEnd, key); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImLowerBound(ref ImGuiStoragePair inBegin, ImGuiStoragePairPtr inEnd, uint key) - { - fixed (ImGuiStoragePair* pinBegin = &inBegin) - { - ImGuiStoragePairPtr ret = ImLowerBoundNative((ImGuiStoragePair*)pinBegin, inEnd, key); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImLowerBound(ImGuiStoragePairPtr inBegin, ref ImGuiStoragePair inEnd, uint key) - { - fixed (ImGuiStoragePair* pinEnd = &inEnd) - { - ImGuiStoragePairPtr ret = ImLowerBoundNative(inBegin, (ImGuiStoragePair*)pinEnd, key); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiStoragePairPtr ImLowerBound(ref ImGuiStoragePair inBegin, ref ImGuiStoragePair inEnd, uint key) - { - fixed (ImGuiStoragePair* pinBegin = &inBegin) - { - fixed (ImGuiStoragePair* pinEnd = &inEnd) - { - ImGuiStoragePairPtr ret = ImLowerBoundNative((ImGuiStoragePair*)pinBegin, (ImGuiStoragePair*)pinEnd, key); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawListSharedData* ImDrawListSharedDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[836])(); - #else - return (ImDrawListSharedData*)((delegate* unmanaged[Cdecl])funcTable[836])(); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawListSharedDataPtr ImDrawListSharedData() - { - ImDrawListSharedDataPtr ret = ImDrawListSharedDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImDrawListSharedData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[837])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[837])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImDrawListSharedDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImDrawListSharedData self) - { - fixed (ImDrawListSharedData* pself = &self) - { - DestroyNative((ImDrawListSharedData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCircleTessellationMaxErrorNative(ImDrawListSharedData* self, float maxError) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[838])(self, maxError); - #else - ((delegate* unmanaged[Cdecl])funcTable[838])((nint)self, maxError); - #endif - } - - /// - /// To be documented. - /// - public static void SetCircleTessellationMaxError(ImDrawListSharedDataPtr self, float maxError) - { - SetCircleTessellationMaxErrorNative(self, maxError); - } - - /// - /// To be documented. - /// - public static void SetCircleTessellationMaxError(ref ImDrawListSharedData self, float maxError) - { - fixed (ImDrawListSharedData* pself = &self) - { - SetCircleTessellationMaxErrorNative((ImDrawListSharedData*)pself, maxError); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawDataBuilder* ImDrawDataBuilderNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[839])(); - #else - return (ImDrawDataBuilder*)((delegate* unmanaged[Cdecl])funcTable[839])(); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawDataBuilderPtr ImDrawDataBuilder() - { - ImDrawDataBuilderPtr ret = ImDrawDataBuilderNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImDrawDataBuilder* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[840])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[840])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImDrawDataBuilderPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImDrawDataBuilder self) - { - fixed (ImDrawDataBuilder* pself = &self) - { - DestroyNative((ImDrawDataBuilder*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void* GetVarPtrNative(ImGuiStyleVarInfo* self, void* parent) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[841])(self, parent); - #else - return (void*)((delegate* unmanaged[Cdecl])funcTable[841])((nint)self, (nint)parent); - #endif - } - - /// - /// To be documented. - /// - public static void* GetVarPtr(ImGuiStyleVarInfoPtr self, void* parent) - { - void* ret = GetVarPtrNative(self, parent); - return ret; - } - - /// - /// To be documented. - /// - public static void* GetVarPtr(ref ImGuiStyleVarInfo self, void* parent) - { - fixed (ImGuiStyleVarInfo* pself = &self) - { - void* ret = GetVarPtrNative((ImGuiStyleVarInfo*)pself, parent); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStyleMod* ImGuiStyleModNative(ImGuiStyleVar idx, int v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[842])(idx, v); - #else - return (ImGuiStyleMod*)((delegate* unmanaged[Cdecl])funcTable[842])(idx, v); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, int v) - { - ImGuiStyleModPtr ret = ImGuiStyleModNative(idx, v); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiStyleMod* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[843])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[843])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiStyleModPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiStyleMod self) - { - fixed (ImGuiStyleMod* pself = &self) - { - DestroyNative((ImGuiStyleMod*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStyleMod* ImGuiStyleModNative(ImGuiStyleVar idx, float v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[844])(idx, v); - #else - return (ImGuiStyleMod*)((delegate* unmanaged[Cdecl])funcTable[844])(idx, v); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, float v) - { - ImGuiStyleModPtr ret = ImGuiStyleModNative(idx, v); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStyleMod* ImGuiStyleModNative(ImGuiStyleVar idx, Vector2 v) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[845])(idx, v); - #else - return (ImGuiStyleMod*)((delegate* unmanaged[Cdecl])funcTable[845])(idx, v); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, Vector2 v) - { - ImGuiStyleModPtr ret = ImGuiStyleModNative(idx, v); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiComboPreviewData* ImGuiComboPreviewDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[846])(); - #else - return (ImGuiComboPreviewData*)((delegate* unmanaged[Cdecl])funcTable[846])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiComboPreviewDataPtr ImGuiComboPreviewData() - { - ImGuiComboPreviewDataPtr ret = ImGuiComboPreviewDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiComboPreviewData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[847])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[847])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiComboPreviewDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiComboPreviewData self) - { - fixed (ImGuiComboPreviewData* pself = &self) - { - DestroyNative((ImGuiComboPreviewData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMenuColumns* ImGuiMenuColumnsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[848])(); - #else - return (ImGuiMenuColumns*)((delegate* unmanaged[Cdecl])funcTable[848])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiMenuColumnsPtr ImGuiMenuColumns() - { - ImGuiMenuColumnsPtr ret = ImGuiMenuColumnsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiMenuColumns* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[849])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[849])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiMenuColumnsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiMenuColumns self) - { - fixed (ImGuiMenuColumns* pself = &self) - { - DestroyNative((ImGuiMenuColumns*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateNative(ImGuiMenuColumns* self, float spacing, byte windowReappearing) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[850])(self, spacing, windowReappearing); - #else - ((delegate* unmanaged[Cdecl])funcTable[850])((nint)self, spacing, windowReappearing); - #endif - } - - /// - /// To be documented. - /// - public static void Update(ImGuiMenuColumnsPtr self, float spacing, bool windowReappearing) - { - UpdateNative(self, spacing, windowReappearing ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Update(ref ImGuiMenuColumns self, float spacing, bool windowReappearing) - { - fixed (ImGuiMenuColumns* pself = &self) - { - UpdateNative((ImGuiMenuColumns*)pself, spacing, windowReappearing ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float DeclColumnsNative(ImGuiMenuColumns* self, float wIcon, float wLabel, float wShortcut, float wMark) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[851])(self, wIcon, wLabel, wShortcut, wMark); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[851])((nint)self, wIcon, wLabel, wShortcut, wMark); - #endif - } - - /// - /// To be documented. - /// - public static float DeclColumns(ImGuiMenuColumnsPtr self, float wIcon, float wLabel, float wShortcut, float wMark) - { - float ret = DeclColumnsNative(self, wIcon, wLabel, wShortcut, wMark); - return ret; - } - - /// - /// To be documented. - /// - public static float DeclColumns(ref ImGuiMenuColumns self, float wIcon, float wLabel, float wShortcut, float wMark) - { - fixed (ImGuiMenuColumns* pself = &self) - { - float ret = DeclColumnsNative((ImGuiMenuColumns*)pself, wIcon, wLabel, wShortcut, wMark); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcNextTotalWidthNative(ImGuiMenuColumns* self, byte updateOffsets) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[852])(self, updateOffsets); - #else - ((delegate* unmanaged[Cdecl])funcTable[852])((nint)self, updateOffsets); - #endif - } - - /// - /// To be documented. - /// - public static void CalcNextTotalWidth(ImGuiMenuColumnsPtr self, bool updateOffsets) - { - CalcNextTotalWidthNative(self, updateOffsets ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void CalcNextTotalWidth(ref ImGuiMenuColumns self, bool updateOffsets) - { - fixed (ImGuiMenuColumns* pself = &self) - { - CalcNextTotalWidthNative((ImGuiMenuColumns*)pself, updateOffsets ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiInputTextDeactivatedState* ImGuiInputTextDeactivatedStateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[853])(); - #else - return (ImGuiInputTextDeactivatedState*)((delegate* unmanaged[Cdecl])funcTable[853])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiInputTextDeactivatedStatePtr ImGuiInputTextDeactivatedState() - { - ImGuiInputTextDeactivatedStatePtr ret = ImGuiInputTextDeactivatedStateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiInputTextDeactivatedState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[854])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[854])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiInputTextDeactivatedStatePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiInputTextDeactivatedState self) - { - fixed (ImGuiInputTextDeactivatedState* pself = &self) - { - DestroyNative((ImGuiInputTextDeactivatedState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearFreeMemoryNative(ImGuiInputTextDeactivatedState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[855])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[855])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearFreeMemory(ImGuiInputTextDeactivatedStatePtr self) - { - ClearFreeMemoryNative(self); - } - - /// - /// To be documented. - /// - public static void ClearFreeMemory(ref ImGuiInputTextDeactivatedState self) - { - fixed (ImGuiInputTextDeactivatedState* pself = &self) - { - ClearFreeMemoryNative((ImGuiInputTextDeactivatedState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiInputTextState* ImGuiInputTextStateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[856])(); - #else - return (ImGuiInputTextState*)((delegate* unmanaged[Cdecl])funcTable[856])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiInputTextStatePtr ImGuiInputTextState() - { - ImGuiInputTextStatePtr ret = ImGuiInputTextStateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[857])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[857])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiInputTextStatePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - DestroyNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearTextNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[858])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[858])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearText(ImGuiInputTextStatePtr self) - { - ClearTextNative(self); - } - - /// - /// To be documented. - /// - public static void ClearText(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - ClearTextNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearFreeMemoryNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[859])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[859])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearFreeMemory(ImGuiInputTextStatePtr self) - { - ClearFreeMemoryNative(self); - } - - /// - /// To be documented. - /// - public static void ClearFreeMemory(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - ClearFreeMemoryNative((ImGuiInputTextState*)pself); - } - } - - /// - /// Cannot be inline because we call in code in stb_textedit.h implementation
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OnKeyPressedNative(ImGuiInputTextState* self, int key) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[860])(self, key); - #else - ((delegate* unmanaged[Cdecl])funcTable[860])((nint)self, key); - #endif - } - - /// - /// Cannot be inline because we call in code in stb_textedit.h implementation
- ///
- public static void OnKeyPressed(ImGuiInputTextStatePtr self, int key) - { - OnKeyPressedNative(self, key); - } - - /// - /// Cannot be inline because we call in code in stb_textedit.h implementation
- ///
- public static void OnKeyPressed(ref ImGuiInputTextState self, int key) - { - fixed (ImGuiInputTextState* pself = &self) - { - OnKeyPressedNative((ImGuiInputTextState*)pself, key); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OnCharPressedNative(ImGuiInputTextState* self, uint c) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[861])(self, c); - #else - ((delegate* unmanaged[Cdecl])funcTable[861])((nint)self, c); - #endif - } - - /// - /// To be documented. - /// - public static void OnCharPressed(ImGuiInputTextStatePtr self, uint c) - { - OnCharPressedNative(self, c); - } - - /// - /// To be documented. - /// - public static void OnCharPressed(ref ImGuiInputTextState self, uint c) - { - fixed (ImGuiInputTextState* pself = &self) - { - OnCharPressedNative((ImGuiInputTextState*)pself, c); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CursorAnimResetNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[862])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[862])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void CursorAnimReset(ImGuiInputTextStatePtr self) - { - CursorAnimResetNative(self); - } - - /// - /// To be documented. - /// - public static void CursorAnimReset(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - CursorAnimResetNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CursorClampNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[863])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[863])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void CursorClamp(ImGuiInputTextStatePtr self) - { - CursorClampNative(self); - } - - /// - /// To be documented. - /// - public static void CursorClamp(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - CursorClampNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasSelectionNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[864])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[864])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasSelection(ImGuiInputTextStatePtr self) - { - byte ret = HasSelectionNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasSelection(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - byte ret = HasSelectionNative((ImGuiInputTextState*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearSelectionNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[865])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[865])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearSelection(ImGuiInputTextStatePtr self) - { - ClearSelectionNative(self); - } - - /// - /// To be documented. - /// - public static void ClearSelection(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - ClearSelectionNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetCursorPosNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[866])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[866])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int GetCursorPos(ImGuiInputTextStatePtr self) - { - int ret = GetCursorPosNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int GetCursorPos(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - int ret = GetCursorPosNative((ImGuiInputTextState*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetSelectionStartNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[867])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[867])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int GetSelectionStart(ImGuiInputTextStatePtr self) - { - int ret = GetSelectionStartNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int GetSelectionStart(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - int ret = GetSelectionStartNative((ImGuiInputTextState*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetSelectionEndNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[868])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[868])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int GetSelectionEnd(ImGuiInputTextStatePtr self) - { - int ret = GetSelectionEndNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int GetSelectionEnd(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - int ret = GetSelectionEndNative((ImGuiInputTextState*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SelectAllNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[869])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[869])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void SelectAll(ImGuiInputTextStatePtr self) - { - SelectAllNative(self); - } - - /// - /// To be documented. - /// - public static void SelectAll(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - SelectAllNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ReloadUserBufAndSelectAllNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[870])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[870])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ReloadUserBufAndSelectAll(ImGuiInputTextStatePtr self) - { - ReloadUserBufAndSelectAllNative(self); - } - - /// - /// To be documented. - /// - public static void ReloadUserBufAndSelectAll(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - ReloadUserBufAndSelectAllNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ReloadUserBufAndKeepSelectionNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[871])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[871])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ReloadUserBufAndKeepSelection(ImGuiInputTextStatePtr self) - { - ReloadUserBufAndKeepSelectionNative(self); - } - - /// - /// To be documented. - /// - public static void ReloadUserBufAndKeepSelection(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - ReloadUserBufAndKeepSelectionNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ReloadUserBufAndMoveToEndNative(ImGuiInputTextState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[872])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[872])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ReloadUserBufAndMoveToEnd(ImGuiInputTextStatePtr self) - { - ReloadUserBufAndMoveToEndNative(self); - } - - /// - /// To be documented. - /// - public static void ReloadUserBufAndMoveToEnd(ref ImGuiInputTextState self) - { - fixed (ImGuiInputTextState* pself = &self) - { - ReloadUserBufAndMoveToEndNative((ImGuiInputTextState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiNextWindowData* ImGuiNextWindowDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[873])(); - #else - return (ImGuiNextWindowData*)((delegate* unmanaged[Cdecl])funcTable[873])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiNextWindowDataPtr ImGuiNextWindowData() - { - ImGuiNextWindowDataPtr ret = ImGuiNextWindowDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiNextWindowData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[874])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[874])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiNextWindowDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiNextWindowData self) - { - fixed (ImGuiNextWindowData* pself = &self) - { - DestroyNative((ImGuiNextWindowData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearFlagsNative(ImGuiNextWindowData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[875])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[875])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearFlags(ImGuiNextWindowDataPtr self) - { - ClearFlagsNative(self); - } - - /// - /// To be documented. - /// - public static void ClearFlags(ref ImGuiNextWindowData self) - { - fixed (ImGuiNextWindowData* pself = &self) - { - ClearFlagsNative((ImGuiNextWindowData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiNextItemData* ImGuiNextItemDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[876])(); - #else - return (ImGuiNextItemData*)((delegate* unmanaged[Cdecl])funcTable[876])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiNextItemDataPtr ImGuiNextItemData() - { - ImGuiNextItemDataPtr ret = ImGuiNextItemDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiNextItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[877])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[877])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiNextItemDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiNextItemData self) - { - fixed (ImGuiNextItemData* pself = &self) - { - DestroyNative((ImGuiNextItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearFlagsNative(ImGuiNextItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[878])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[878])((nint)self); - #endif - } - - /// - /// Also cleared manually by ItemAdd()!
- ///
- public static void ClearFlags(ImGuiNextItemDataPtr self) - { - ClearFlagsNative(self); - } - - /// - /// Also cleared manually by ItemAdd()!
- ///
- public static void ClearFlags(ref ImGuiNextItemData self) - { - fixed (ImGuiNextItemData* pself = &self) - { - ClearFlagsNative((ImGuiNextItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiLastItemData* ImGuiLastItemDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[879])(); - #else - return (ImGuiLastItemData*)((delegate* unmanaged[Cdecl])funcTable[879])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiLastItemDataPtr ImGuiLastItemData() - { - ImGuiLastItemDataPtr ret = ImGuiLastItemDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiLastItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[880])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[880])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiLastItemDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiLastItemData self) - { - fixed (ImGuiLastItemData* pself = &self) - { - DestroyNative((ImGuiLastItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiErrorRecoveryState* ImGuiErrorRecoveryStateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[881])(); - #else - return (ImGuiErrorRecoveryState*)((delegate* unmanaged[Cdecl])funcTable[881])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiErrorRecoveryStatePtr ImGuiErrorRecoveryState() - { - ImGuiErrorRecoveryStatePtr ret = ImGuiErrorRecoveryStateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiErrorRecoveryState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[882])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[882])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiErrorRecoveryStatePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiErrorRecoveryState self) - { - fixed (ImGuiErrorRecoveryState* pself = &self) - { - DestroyNative((ImGuiErrorRecoveryState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPtrOrIndex* ImGuiPtrOrIndexNative(void* ptr) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[883])(ptr); - #else - return (ImGuiPtrOrIndex*)((delegate* unmanaged[Cdecl])funcTable[883])((nint)ptr); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPtrOrIndexPtr ImGuiPtrOrIndex(void* ptr) - { - ImGuiPtrOrIndexPtr ret = ImGuiPtrOrIndexNative(ptr); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiPtrOrIndex* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[884])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[884])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiPtrOrIndexPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiPtrOrIndex self) - { - fixed (ImGuiPtrOrIndex* pself = &self) - { - DestroyNative((ImGuiPtrOrIndex*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPtrOrIndex* ImGuiPtrOrIndexNative(int index) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[885])(index); - #else - return (ImGuiPtrOrIndex*)((delegate* unmanaged[Cdecl])funcTable[885])(index); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPtrOrIndexPtr ImGuiPtrOrIndex(int index) - { - ImGuiPtrOrIndexPtr ret = ImGuiPtrOrIndexNative(index); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPopupData* ImGuiPopupDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[886])(); - #else - return (ImGuiPopupData*)((delegate* unmanaged[Cdecl])funcTable[886])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPopupDataPtr ImGuiPopupData() - { - ImGuiPopupDataPtr ret = ImGuiPopupDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiPopupData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[887])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[887])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiPopupDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiPopupData self) - { - fixed (ImGuiPopupData* pself = &self) - { - DestroyNative((ImGuiPopupData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiInputEvent* ImGuiInputEventNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[888])(); - #else - return (ImGuiInputEvent*)((delegate* unmanaged[Cdecl])funcTable[888])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiInputEventPtr ImGuiInputEvent() - { - ImGuiInputEventPtr ret = ImGuiInputEventNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiInputEvent* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[889])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[889])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiInputEventPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiInputEvent self) - { - fixed (ImGuiInputEvent* pself = &self) - { - DestroyNative((ImGuiInputEvent*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyRoutingData* ImGuiKeyRoutingDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[890])(); - #else - return (ImGuiKeyRoutingData*)((delegate* unmanaged[Cdecl])funcTable[890])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyRoutingDataPtr ImGuiKeyRoutingData() - { - ImGuiKeyRoutingDataPtr ret = ImGuiKeyRoutingDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiKeyRoutingData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[891])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[891])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiKeyRoutingDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiKeyRoutingData self) - { - fixed (ImGuiKeyRoutingData* pself = &self) - { - DestroyNative((ImGuiKeyRoutingData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyRoutingTable* ImGuiKeyRoutingTableNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[892])(); - #else - return (ImGuiKeyRoutingTable*)((delegate* unmanaged[Cdecl])funcTable[892])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyRoutingTablePtr ImGuiKeyRoutingTable() - { - ImGuiKeyRoutingTablePtr ret = ImGuiKeyRoutingTableNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiKeyRoutingTable* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[893])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[893])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiKeyRoutingTablePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiKeyRoutingTable self) - { - fixed (ImGuiKeyRoutingTable* pself = &self) - { - DestroyNative((ImGuiKeyRoutingTable*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiKeyRoutingTable* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[894])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[894])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImGuiKeyRoutingTablePtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImGuiKeyRoutingTable self) - { - fixed (ImGuiKeyRoutingTable* pself = &self) - { - ClearNative((ImGuiKeyRoutingTable*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyOwnerData* ImGuiKeyOwnerDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[895])(); - #else - return (ImGuiKeyOwnerData*)((delegate* unmanaged[Cdecl])funcTable[895])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyOwnerDataPtr ImGuiKeyOwnerData() - { - ImGuiKeyOwnerDataPtr ret = ImGuiKeyOwnerDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiKeyOwnerData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[896])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[896])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiKeyOwnerDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiKeyOwnerData self) - { - fixed (ImGuiKeyOwnerData* pself = &self) - { - DestroyNative((ImGuiKeyOwnerData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiListClipperRange FromIndicesNative(int min, int max) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[897])(min, max); - #else - return (ImGuiListClipperRange)((delegate* unmanaged[Cdecl])funcTable[897])(min, max); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiListClipperRange FromIndices(int min, int max) - { - ImGuiListClipperRange ret = FromIndicesNative(min, max); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiListClipperRange FromPositionsNative(float y1, float y2, int offMin, int offMax) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[898])(y1, y2, offMin, offMax); - #else - return (ImGuiListClipperRange)((delegate* unmanaged[Cdecl])funcTable[898])(y1, y2, offMin, offMax); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiListClipperRange FromPositions(float y1, float y2, int offMin, int offMax) - { - ImGuiListClipperRange ret = FromPositionsNative(y1, y2, offMin, offMax); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiListClipperData* ImGuiListClipperDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[899])(); - #else - return (ImGuiListClipperData*)((delegate* unmanaged[Cdecl])funcTable[899])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiListClipperDataPtr ImGuiListClipperData() - { - ImGuiListClipperDataPtr ret = ImGuiListClipperDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiListClipperData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[900])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[900])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiListClipperDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiListClipperData self) - { - fixed (ImGuiListClipperData* pself = &self) - { - DestroyNative((ImGuiListClipperData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImGuiListClipperData* self, ImGuiListClipper* clipper) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[901])(self, clipper); - #else - ((delegate* unmanaged[Cdecl])funcTable[901])((nint)self, (nint)clipper); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImGuiListClipperDataPtr self, ImGuiListClipperPtr clipper) - { - ResetNative(self, clipper); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImGuiListClipperData self, ImGuiListClipperPtr clipper) - { - fixed (ImGuiListClipperData* pself = &self) - { - ResetNative((ImGuiListClipperData*)pself, clipper); - } - } - - /// - /// To be documented. - /// - public static void Reset(ImGuiListClipperDataPtr self, ref ImGuiListClipper clipper) - { - fixed (ImGuiListClipper* pclipper = &clipper) - { - ResetNative(self, (ImGuiListClipper*)pclipper); - } - } - - /// - /// To be documented. - /// - public static void Reset(ref ImGuiListClipperData self, ref ImGuiListClipper clipper) - { - fixed (ImGuiListClipperData* pself = &self) - { - fixed (ImGuiListClipper* pclipper = &clipper) - { - ResetNative((ImGuiListClipperData*)pself, (ImGuiListClipper*)pclipper); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiNavItemData* ImGuiNavItemDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[902])(); - #else - return (ImGuiNavItemData*)((delegate* unmanaged[Cdecl])funcTable[902])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiNavItemDataPtr ImGuiNavItemData() - { - ImGuiNavItemDataPtr ret = ImGuiNavItemDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiNavItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[903])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[903])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiNavItemDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiNavItemData self) - { - fixed (ImGuiNavItemData* pself = &self) - { - DestroyNative((ImGuiNavItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiNavItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[904])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[904])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Clear(ImGuiNavItemDataPtr self) - { - ClearNative(self); - } - - /// - /// To be documented. - /// - public static void Clear(ref ImGuiNavItemData self) - { - fixed (ImGuiNavItemData* pself = &self) - { - ClearNative((ImGuiNavItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTypingSelectState* ImGuiTypingSelectStateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[905])(); - #else - return (ImGuiTypingSelectState*)((delegate* unmanaged[Cdecl])funcTable[905])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTypingSelectStatePtr ImGuiTypingSelectState() - { - ImGuiTypingSelectStatePtr ret = ImGuiTypingSelectStateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTypingSelectState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[906])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[906])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTypingSelectStatePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTypingSelectState self) - { - fixed (ImGuiTypingSelectState* pself = &self) - { - DestroyNative((ImGuiTypingSelectState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiTypingSelectState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[907])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[907])((nint)self); - #endif - } - - /// - /// We preserve remaining data for easier debugging
- ///
- public static void Clear(ImGuiTypingSelectStatePtr self) - { - ClearNative(self); - } - - /// - /// We preserve remaining data for easier debugging
- ///
- public static void Clear(ref ImGuiTypingSelectState self) - { - fixed (ImGuiTypingSelectState* pself = &self) - { - ClearNative((ImGuiTypingSelectState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiOldColumnData* ImGuiOldColumnDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[908])(); - #else - return (ImGuiOldColumnData*)((delegate* unmanaged[Cdecl])funcTable[908])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiOldColumnDataPtr ImGuiOldColumnData() - { - ImGuiOldColumnDataPtr ret = ImGuiOldColumnDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiOldColumnData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[909])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[909])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiOldColumnDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiOldColumnData self) - { - fixed (ImGuiOldColumnData* pself = &self) - { - DestroyNative((ImGuiOldColumnData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiOldColumns* ImGuiOldColumnsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[910])(); - #else - return (ImGuiOldColumns*)((delegate* unmanaged[Cdecl])funcTable[910])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiOldColumnsPtr ImGuiOldColumns() - { - ImGuiOldColumnsPtr ret = ImGuiOldColumnsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiOldColumns* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[911])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[911])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiOldColumnsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiOldColumns self) - { - fixed (ImGuiOldColumns* pself = &self) - { - DestroyNative((ImGuiOldColumns*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiBoxSelectState* ImGuiBoxSelectStateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[912])(); - #else - return (ImGuiBoxSelectState*)((delegate* unmanaged[Cdecl])funcTable[912])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiBoxSelectStatePtr ImGuiBoxSelectState() - { - ImGuiBoxSelectStatePtr ret = ImGuiBoxSelectStateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiBoxSelectState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[913])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[913])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiBoxSelectStatePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiBoxSelectState self) - { - fixed (ImGuiBoxSelectState* pself = &self) - { - DestroyNative((ImGuiBoxSelectState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMultiSelectTempData* ImGuiMultiSelectTempDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[914])(); - #else - return (ImGuiMultiSelectTempData*)((delegate* unmanaged[Cdecl])funcTable[914])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectTempDataPtr ImGuiMultiSelectTempData() - { - ImGuiMultiSelectTempDataPtr ret = ImGuiMultiSelectTempDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiMultiSelectTempData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[915])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[915])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiMultiSelectTempDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiMultiSelectTempData self) - { - fixed (ImGuiMultiSelectTempData* pself = &self) - { - DestroyNative((ImGuiMultiSelectTempData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNative(ImGuiMultiSelectTempData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[916])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[916])((nint)self); - #endif - } - - /// - /// Zero-clear except IO as we preserve IO.Requests[] buffer allocation.
- ///
- public static void Clear(ImGuiMultiSelectTempDataPtr self) - { - ClearNative(self); - } - - /// - /// Zero-clear except IO as we preserve IO.Requests[] buffer allocation.
- ///
- public static void Clear(ref ImGuiMultiSelectTempData self) - { - fixed (ImGuiMultiSelectTempData* pself = &self) - { - ClearNative((ImGuiMultiSelectTempData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearIONative(ImGuiMultiSelectTempData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[917])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[917])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearIO(ImGuiMultiSelectTempDataPtr self) - { - ClearIONative(self); - } - - /// - /// To be documented. - /// - public static void ClearIO(ref ImGuiMultiSelectTempData self) - { - fixed (ImGuiMultiSelectTempData* pself = &self) - { - ClearIONative((ImGuiMultiSelectTempData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMultiSelectState* ImGuiMultiSelectStateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[918])(); - #else - return (ImGuiMultiSelectState*)((delegate* unmanaged[Cdecl])funcTable[918])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectStatePtr ImGuiMultiSelectState() - { - ImGuiMultiSelectStatePtr ret = ImGuiMultiSelectStateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiMultiSelectState* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[919])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[919])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiMultiSelectStatePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiMultiSelectState self) - { - fixed (ImGuiMultiSelectState* pself = &self) - { - DestroyNative((ImGuiMultiSelectState*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockNode* ImGuiDockNodeNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[920])(id); - #else - return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[920])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr ImGuiDockNode(uint id) - { - ImGuiDockNodePtr ret = ImGuiDockNodeNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[921])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[921])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiDockNodePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - DestroyNative((ImGuiDockNode*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsRootNodeNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[922])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[922])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsRootNode(ImGuiDockNodePtr self) - { - byte ret = IsRootNodeNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsRootNode(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsRootNodeNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsDockSpaceNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[923])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[923])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsDockSpace(ImGuiDockNodePtr self) - { - byte ret = IsDockSpaceNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsDockSpace(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsDockSpaceNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsFloatingNodeNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[924])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[924])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsFloatingNode(ImGuiDockNodePtr self) - { - byte ret = IsFloatingNodeNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsFloatingNode(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsFloatingNodeNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsCentralNodeNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[925])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[925])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsCentralNode(ImGuiDockNodePtr self) - { - byte ret = IsCentralNodeNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsCentralNode(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsCentralNodeNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// Hidden tab bar can be shown back by clicking the small triangle
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsHiddenTabBarNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[926])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[926])((nint)self); - #endif - } - - /// - /// Hidden tab bar can be shown back by clicking the small triangle
- ///
- public static bool IsHiddenTabBar(ImGuiDockNodePtr self) - { - byte ret = IsHiddenTabBarNative(self); - return ret != 0; - } - - /// - /// Hidden tab bar can be shown back by clicking the small triangle
- ///
- public static bool IsHiddenTabBar(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsHiddenTabBarNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// Never show a tab bar
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsNoTabBarNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[927])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[927])((nint)self); - #endif - } - - /// - /// Never show a tab bar
- ///
- public static bool IsNoTabBar(ImGuiDockNodePtr self) - { - byte ret = IsNoTabBarNative(self); - return ret != 0; - } - - /// - /// Never show a tab bar
- ///
- public static bool IsNoTabBar(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsNoTabBarNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsSplitNodeNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[928])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[928])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsSplitNode(ImGuiDockNodePtr self) - { - byte ret = IsSplitNodeNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsSplitNode(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsSplitNodeNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLeafNodeNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[929])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[929])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLeafNode(ImGuiDockNodePtr self) - { - byte ret = IsLeafNodeNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLeafNode(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsLeafNodeNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsEmptyNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[930])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[930])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsEmpty(ImGuiDockNodePtr self) - { - byte ret = IsEmptyNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsEmpty(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - byte ret = IsEmptyNative((ImGuiDockNode*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RectNative(ImRect* pOut, ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[931])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[931])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect Rect(ImGuiDockNodePtr self) - { - ImRect ret; - RectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void Rect(ImRectPtr pOut, ImGuiDockNodePtr self) - { - RectNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void Rect(ref ImRect pOut, ImGuiDockNodePtr self) - { - fixed (ImRect* ppOut = &pOut) - { - RectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect Rect(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - ImRect ret; - RectNative(&ret, (ImGuiDockNode*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Rect(ImRectPtr pOut, ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - RectNative(pOut, (ImGuiDockNode*)pself); - } - } - - /// - /// To be documented. - /// - public static void Rect(ref ImRect pOut, ref ImGuiDockNode self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiDockNode* pself = &self) - { - RectNative((ImRect*)ppOut, (ImGuiDockNode*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetLocalFlagsNative(ImGuiDockNode* self, ImGuiDockNodeFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[932])(self, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[932])((nint)self, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetLocalFlags(ImGuiDockNodePtr self, ImGuiDockNodeFlags flags) - { - SetLocalFlagsNative(self, flags); - } - - /// - /// To be documented. - /// - public static void SetLocalFlags(ref ImGuiDockNode self, ImGuiDockNodeFlags flags) - { - fixed (ImGuiDockNode* pself = &self) - { - SetLocalFlagsNative((ImGuiDockNode*)pself, flags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateMergedFlagsNative(ImGuiDockNode* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[933])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[933])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateMergedFlags(ImGuiDockNodePtr self) - { - UpdateMergedFlagsNative(self); - } - - /// - /// To be documented. - /// - public static void UpdateMergedFlags(ref ImGuiDockNode self) - { - fixed (ImGuiDockNode* pself = &self) - { - UpdateMergedFlagsNative((ImGuiDockNode*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockContext* ImGuiDockContextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[934])(); - #else - return (ImGuiDockContext*)((delegate* unmanaged[Cdecl])funcTable[934])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockContextPtr ImGuiDockContext() - { - ImGuiDockContextPtr ret = ImGuiDockContextNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiDockContext* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[935])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[935])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiDockContextPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiDockContext self) - { - fixed (ImGuiDockContext* pself = &self) - { - DestroyNative((ImGuiDockContext*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewportP* ImGuiViewportPNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[936])(); - #else - return (ImGuiViewportP*)((delegate* unmanaged[Cdecl])funcTable[936])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiViewportPPtr ImGuiViewportP() - { - ImGuiViewportPPtr ret = ImGuiViewportPNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiViewportP* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[937])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[937])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiViewportPPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - DestroyNative((ImGuiViewportP*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearRequestFlagsNative(ImGuiViewportP* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[938])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[938])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearRequestFlags(ImGuiViewportPPtr self) - { - ClearRequestFlagsNative(self); - } - - /// - /// To be documented. - /// - public static void ClearRequestFlags(ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - ClearRequestFlagsNative((ImGuiViewportP*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcWorkRectPosNative(Vector2* pOut, ImGuiViewportP* self, Vector2 insetMin) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[939])(pOut, self, insetMin); - #else - ((delegate* unmanaged[Cdecl])funcTable[939])((nint)pOut, (nint)self, insetMin); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcWorkRectPos(ImGuiViewportPPtr self, Vector2 insetMin) - { - Vector2 ret; - CalcWorkRectPosNative(&ret, self, insetMin); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcWorkRectPos(Vector2* pOut, ImGuiViewportPPtr self, Vector2 insetMin) - { - CalcWorkRectPosNative(pOut, self, insetMin); - } - - /// - /// To be documented. - /// - public static void CalcWorkRectPos(ref Vector2 pOut, ImGuiViewportPPtr self, Vector2 insetMin) - { - fixed (Vector2* ppOut = &pOut) - { - CalcWorkRectPosNative((Vector2*)ppOut, self, insetMin); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcWorkRectPos(ref ImGuiViewportP self, Vector2 insetMin) - { - fixed (ImGuiViewportP* pself = &self) - { - Vector2 ret; - CalcWorkRectPosNative(&ret, (ImGuiViewportP*)pself, insetMin); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcWorkRectPos(Vector2* pOut, ref ImGuiViewportP self, Vector2 insetMin) - { - fixed (ImGuiViewportP* pself = &self) - { - CalcWorkRectPosNative(pOut, (ImGuiViewportP*)pself, insetMin); - } - } - - /// - /// To be documented. - /// - public static void CalcWorkRectPos(ref Vector2 pOut, ref ImGuiViewportP self, Vector2 insetMin) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiViewportP* pself = &self) - { - CalcWorkRectPosNative((Vector2*)ppOut, (ImGuiViewportP*)pself, insetMin); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcWorkRectSizeNative(Vector2* pOut, ImGuiViewportP* self, Vector2 insetMin, Vector2 insetMax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[940])(pOut, self, insetMin, insetMax); - #else - ((delegate* unmanaged[Cdecl])funcTable[940])((nint)pOut, (nint)self, insetMin, insetMax); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcWorkRectSize(ImGuiViewportPPtr self, Vector2 insetMin, Vector2 insetMax) - { - Vector2 ret; - CalcWorkRectSizeNative(&ret, self, insetMin, insetMax); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcWorkRectSize(Vector2* pOut, ImGuiViewportPPtr self, Vector2 insetMin, Vector2 insetMax) - { - CalcWorkRectSizeNative(pOut, self, insetMin, insetMax); - } - - /// - /// To be documented. - /// - public static void CalcWorkRectSize(ref Vector2 pOut, ImGuiViewportPPtr self, Vector2 insetMin, Vector2 insetMax) - { - fixed (Vector2* ppOut = &pOut) - { - CalcWorkRectSizeNative((Vector2*)ppOut, self, insetMin, insetMax); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcWorkRectSize(ref ImGuiViewportP self, Vector2 insetMin, Vector2 insetMax) - { - fixed (ImGuiViewportP* pself = &self) - { - Vector2 ret; - CalcWorkRectSizeNative(&ret, (ImGuiViewportP*)pself, insetMin, insetMax); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcWorkRectSize(Vector2* pOut, ref ImGuiViewportP self, Vector2 insetMin, Vector2 insetMax) - { - fixed (ImGuiViewportP* pself = &self) - { - CalcWorkRectSizeNative(pOut, (ImGuiViewportP*)pself, insetMin, insetMax); - } - } - - /// - /// To be documented. - /// - public static void CalcWorkRectSize(ref Vector2 pOut, ref ImGuiViewportP self, Vector2 insetMin, Vector2 insetMax) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiViewportP* pself = &self) - { - CalcWorkRectSizeNative((Vector2*)ppOut, (ImGuiViewportP*)pself, insetMin, insetMax); - } - } - } - - /// - /// Update public fields
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateWorkRectNative(ImGuiViewportP* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[941])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[941])((nint)self); - #endif - } - - /// - /// Update public fields
- ///
- public static void UpdateWorkRect(ImGuiViewportPPtr self) - { - UpdateWorkRectNative(self); - } - - /// - /// Update public fields
- ///
- public static void UpdateWorkRect(ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - UpdateWorkRectNative((ImGuiViewportP*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetMainRectNative(ImRect* pOut, ImGuiViewportP* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[942])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[942])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect GetMainRect(ImGuiViewportPPtr self) - { - ImRect ret; - GetMainRectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetMainRect(ImRectPtr pOut, ImGuiViewportPPtr self) - { - GetMainRectNative(pOut, self); - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.008.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.008.cs deleted file mode 100644 index c25779873..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.008.cs +++ /dev/null @@ -1,5021 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void GetMainRect(ref ImRect pOut, ImGuiViewportPPtr self) - { - fixed (ImRect* ppOut = &pOut) - { - GetMainRectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect GetMainRect(ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - ImRect ret; - GetMainRectNative(&ret, (ImGuiViewportP*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetMainRect(ImRectPtr pOut, ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - GetMainRectNative(pOut, (ImGuiViewportP*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetMainRect(ref ImRect pOut, ref ImGuiViewportP self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiViewportP* pself = &self) - { - GetMainRectNative((ImRect*)ppOut, (ImGuiViewportP*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetWorkRectNative(ImRect* pOut, ImGuiViewportP* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[943])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[943])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect GetWorkRect(ImGuiViewportPPtr self) - { - ImRect ret; - GetWorkRectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetWorkRect(ImRectPtr pOut, ImGuiViewportPPtr self) - { - GetWorkRectNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetWorkRect(ref ImRect pOut, ImGuiViewportPPtr self) - { - fixed (ImRect* ppOut = &pOut) - { - GetWorkRectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect GetWorkRect(ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - ImRect ret; - GetWorkRectNative(&ret, (ImGuiViewportP*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetWorkRect(ImRectPtr pOut, ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - GetWorkRectNative(pOut, (ImGuiViewportP*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetWorkRect(ref ImRect pOut, ref ImGuiViewportP self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiViewportP* pself = &self) - { - GetWorkRectNative((ImRect*)ppOut, (ImGuiViewportP*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetBuildWorkRectNative(ImRect* pOut, ImGuiViewportP* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[944])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[944])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect GetBuildWorkRect(ImGuiViewportPPtr self) - { - ImRect ret; - GetBuildWorkRectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void GetBuildWorkRect(ImRectPtr pOut, ImGuiViewportPPtr self) - { - GetBuildWorkRectNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void GetBuildWorkRect(ref ImRect pOut, ImGuiViewportPPtr self) - { - fixed (ImRect* ppOut = &pOut) - { - GetBuildWorkRectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect GetBuildWorkRect(ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - ImRect ret; - GetBuildWorkRectNative(&ret, (ImGuiViewportP*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetBuildWorkRect(ImRectPtr pOut, ref ImGuiViewportP self) - { - fixed (ImGuiViewportP* pself = &self) - { - GetBuildWorkRectNative(pOut, (ImGuiViewportP*)pself); - } - } - - /// - /// To be documented. - /// - public static void GetBuildWorkRect(ref ImRect pOut, ref ImGuiViewportP self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiViewportP* pself = &self) - { - GetBuildWorkRectNative((ImRect*)ppOut, (ImGuiViewportP*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindowSettings* ImGuiWindowSettingsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[945])(); - #else - return (ImGuiWindowSettings*)((delegate* unmanaged[Cdecl])funcTable[945])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr ImGuiWindowSettings() - { - ImGuiWindowSettingsPtr ret = ImGuiWindowSettingsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiWindowSettings* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[946])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[946])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiWindowSettingsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiWindowSettings self) - { - fixed (ImGuiWindowSettings* pself = &self) - { - DestroyNative((ImGuiWindowSettings*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetNameNative(ImGuiWindowSettings* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[947])(self); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[947])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetName(ImGuiWindowSettingsPtr self) - { - byte* ret = GetNameNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static string GetNameS(ImGuiWindowSettingsPtr self) - { - string ret = Utils.DecodeStringUTF8(GetNameNative(self)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetName(ref ImGuiWindowSettings self) - { - fixed (ImGuiWindowSettings* pself = &self) - { - byte* ret = GetNameNative((ImGuiWindowSettings*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetNameS(ref ImGuiWindowSettings self) - { - fixed (ImGuiWindowSettings* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetNameNative((ImGuiWindowSettings*)pself)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiSettingsHandler* ImGuiSettingsHandlerNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[948])(); - #else - return (ImGuiSettingsHandler*)((delegate* unmanaged[Cdecl])funcTable[948])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiSettingsHandlerPtr ImGuiSettingsHandler() - { - ImGuiSettingsHandlerPtr ret = ImGuiSettingsHandlerNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiSettingsHandler* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[949])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[949])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiSettingsHandlerPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiSettingsHandler self) - { - fixed (ImGuiSettingsHandler* pself = &self) - { - DestroyNative((ImGuiSettingsHandler*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDebugAllocInfo* ImGuiDebugAllocInfoNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[950])(); - #else - return (ImGuiDebugAllocInfo*)((delegate* unmanaged[Cdecl])funcTable[950])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDebugAllocInfoPtr ImGuiDebugAllocInfo() - { - ImGuiDebugAllocInfoPtr ret = ImGuiDebugAllocInfoNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiDebugAllocInfo* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[951])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[951])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiDebugAllocInfoPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiDebugAllocInfo self) - { - fixed (ImGuiDebugAllocInfo* pself = &self) - { - DestroyNative((ImGuiDebugAllocInfo*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStackLevelInfo* ImGuiStackLevelInfoNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[952])(); - #else - return (ImGuiStackLevelInfo*)((delegate* unmanaged[Cdecl])funcTable[952])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStackLevelInfoPtr ImGuiStackLevelInfo() - { - ImGuiStackLevelInfoPtr ret = ImGuiStackLevelInfoNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiStackLevelInfo* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[953])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[953])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiStackLevelInfoPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiStackLevelInfo self) - { - fixed (ImGuiStackLevelInfo* pself = &self) - { - DestroyNative((ImGuiStackLevelInfo*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiIDStackTool* ImGuiIDStackToolNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[954])(); - #else - return (ImGuiIDStackTool*)((delegate* unmanaged[Cdecl])funcTable[954])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiIDStackToolPtr ImGuiIDStackTool() - { - ImGuiIDStackToolPtr ret = ImGuiIDStackToolNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiIDStackTool* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[955])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[955])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiIDStackToolPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiIDStackTool self) - { - fixed (ImGuiIDStackTool* pself = &self) - { - DestroyNative((ImGuiIDStackTool*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiContextHook* ImGuiContextHookNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[956])(); - #else - return (ImGuiContextHook*)((delegate* unmanaged[Cdecl])funcTable[956])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiContextHookPtr ImGuiContextHook() - { - ImGuiContextHookPtr ret = ImGuiContextHookNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiContextHook* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[957])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[957])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiContextHookPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiContextHook self) - { - fixed (ImGuiContextHook* pself = &self) - { - DestroyNative((ImGuiContextHook*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiContext* ImGuiContextNative(ImFontAtlas* sharedFontAtlas) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[958])(sharedFontAtlas); - #else - return (ImGuiContext*)((delegate* unmanaged[Cdecl])funcTable[958])((nint)sharedFontAtlas); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiContextPtr ImGuiContext(ImFontAtlasPtr sharedFontAtlas) - { - ImGuiContextPtr ret = ImGuiContextNative(sharedFontAtlas); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiContextPtr ImGuiContext(ref ImFontAtlas sharedFontAtlas) - { - fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas) - { - ImGuiContextPtr ret = ImGuiContextNative((ImFontAtlas*)psharedFontAtlas); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiContext* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[959])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[959])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiContextPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiContext self) - { - fixed (ImGuiContext* pself = &self) - { - DestroyNative((ImGuiContext*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* ImGuiWindowNative(ImGuiContext* context, byte* name) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[960])(context, name); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[960])((nint)context, (nint)name); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, byte* name) - { - ImGuiWindowPtr ret = ImGuiWindowNative(context, name); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, byte* name) - { - fixed (ImGuiContext* pcontext = &context) - { - ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, name); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, ref byte name) - { - fixed (byte* pname = &name) - { - ImGuiWindowPtr ret = ImGuiWindowNative(context, (byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ImGuiWindowPtr ret = ImGuiWindowNative(context, (byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiWindowPtr ret = ImGuiWindowNative(context, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, ref byte name) - { - fixed (ImGuiContext* pcontext = &context) - { - fixed (byte* pname = &name) - { - ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, (byte*)pname); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, ReadOnlySpan name) - { - fixed (ImGuiContext* pcontext = &context) - { - fixed (byte* pname = name) - { - ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, (byte*)pname); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr ImGuiWindow(ref ImGuiContext context, string name) - { - fixed (ImGuiContext* pcontext = &context) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiWindowPtr ret = ImGuiWindowNative((ImGuiContext*)pcontext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiWindow* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[961])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[961])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiWindowPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - DestroyNative((ImGuiWindow*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(ImGuiWindow* self, byte* str, byte* strEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[962])(self, str, strEnd); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[962])((nint)self, (nint)str, (nint)strEnd); - #endif - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, byte* str, byte* strEnd) - { - uint ret = GetIDNative(self, str, strEnd); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, byte* str) - { - uint ret = GetIDNative(self, str, (byte*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, byte* str, byte* strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - uint ret = GetIDNative((ImGuiWindow*)pself, str, strEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, byte* str) - { - fixed (ImGuiWindow* pself = &self) - { - uint ret = GetIDNative((ImGuiWindow*)pself, str, (byte*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ref byte str, byte* strEnd) - { - fixed (byte* pstr = &str) - { - uint ret = GetIDNative(self, (byte*)pstr, strEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ref byte str) - { - fixed (byte* pstr = &str) - { - uint ret = GetIDNative(self, (byte*)pstr, (byte*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, byte* strEnd) - { - fixed (byte* pstr = str) - { - uint ret = GetIDNative(self, (byte*)pstr, strEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str) - { - fixed (byte* pstr = str) - { - uint ret = GetIDNative(self, (byte*)pstr, (byte*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, string str, byte* strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(self, pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, string str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(self, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ref byte str, byte* strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = &str) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, strEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ref byte str) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = &str) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, byte* strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = str) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, strEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = str) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)(default)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, string str, byte* strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, string str) - { - fixed (ImGuiWindow* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, byte* str, ref byte strEnd) - { - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative(self, str, (byte*)pstrEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, byte* str, ReadOnlySpan strEnd) - { - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative(self, str, (byte*)pstrEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, byte* str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(self, str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, byte* str, ref byte strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, str, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, byte* str, ReadOnlySpan strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, str, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, byte* str, string strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((ImGuiWindow*)pself, str, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ref byte str, ref byte strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, string str, string strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - uint ret = GetIDNative(self, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ref byte str, ReadOnlySpan strEnd) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ref byte str, string strEnd) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(self, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, ref byte strEnd) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative(self, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, ReadOnlySpan str, string strEnd) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(self, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, string str, ref byte strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative(self, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, string str, ReadOnlySpan strEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative(self, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ref byte str, ref byte strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, ReadOnlySpan strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, string str, string strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ref byte str, ReadOnlySpan strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = &str) - { - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ref byte str, string strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = &str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, ref byte strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = str) - { - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, (byte*)pstrEnd); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, ReadOnlySpan str, string strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - fixed (byte* pstr = str) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((ImGuiWindow*)pself, (byte*)pstr, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, string str, ref byte strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = &strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, string str, ReadOnlySpan strEnd) - { - fixed (ImGuiWindow* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (str != null) - { - pStrSize0 = Utils.GetByteCountUTF8(str); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrEnd = strEnd) - { - uint ret = GetIDNative((ImGuiWindow*)pself, pStr0, (byte*)pstrEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(ImGuiWindow* self, void* ptr) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[963])(self, ptr); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[963])((nint)self, (nint)ptr); - #endif - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, void* ptr) - { - uint ret = GetIDNative(self, ptr); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, void* ptr) - { - fixed (ImGuiWindow* pself = &self) - { - uint ret = GetIDNative((ImGuiWindow*)pself, ptr); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(ImGuiWindow* self, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[964])(self, n); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[964])((nint)self, n); - #endif - } - - /// - /// To be documented. - /// - public static uint GetID(ImGuiWindowPtr self, int n) - { - uint ret = GetIDNative(self, n); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref ImGuiWindow self, int n) - { - fixed (ImGuiWindow* pself = &self) - { - uint ret = GetIDNative((ImGuiWindow*)pself, n); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDFromPosNative(ImGuiWindow* self, Vector2 pAbs) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[965])(self, pAbs); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[965])((nint)self, pAbs); - #endif - } - - /// - /// To be documented. - /// - public static uint GetIDFromPos(ImGuiWindowPtr self, Vector2 pAbs) - { - uint ret = GetIDFromPosNative(self, pAbs); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetIDFromPos(ref ImGuiWindow self, Vector2 pAbs) - { - fixed (ImGuiWindow* pself = &self) - { - uint ret = GetIDFromPosNative((ImGuiWindow*)pself, pAbs); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDFromRectangleNative(ImGuiWindow* self, ImRect rAbs) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[966])(self, rAbs); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[966])((nint)self, rAbs); - #endif - } - - /// - /// To be documented. - /// - public static uint GetIDFromRectangle(ImGuiWindowPtr self, ImRect rAbs) - { - uint ret = GetIDFromRectangleNative(self, rAbs); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetIDFromRectangle(ref ImGuiWindow self, ImRect rAbs) - { - fixed (ImGuiWindow* pself = &self) - { - uint ret = GetIDFromRectangleNative((ImGuiWindow*)pself, rAbs); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RectNative(ImRect* pOut, ImGuiWindow* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[967])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[967])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect Rect(ImGuiWindowPtr self) - { - ImRect ret; - RectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void Rect(ImRectPtr pOut, ImGuiWindowPtr self) - { - RectNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void Rect(ref ImRect pOut, ImGuiWindowPtr self) - { - fixed (ImRect* ppOut = &pOut) - { - RectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect Rect(ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - ImRect ret; - RectNative(&ret, (ImGuiWindow*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Rect(ImRectPtr pOut, ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - RectNative(pOut, (ImGuiWindow*)pself); - } - } - - /// - /// To be documented. - /// - public static void Rect(ref ImRect pOut, ref ImGuiWindow self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pself = &self) - { - RectNative((ImRect*)ppOut, (ImGuiWindow*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float CalcFontSizeNative(ImGuiWindow* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[968])(self); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[968])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static float CalcFontSize(ImGuiWindowPtr self) - { - float ret = CalcFontSizeNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static float CalcFontSize(ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - float ret = CalcFontSizeNative((ImGuiWindow*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TitleBarRectNative(ImRect* pOut, ImGuiWindow* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[969])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[969])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect TitleBarRect(ImGuiWindowPtr self) - { - ImRect ret; - TitleBarRectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void TitleBarRect(ImRectPtr pOut, ImGuiWindowPtr self) - { - TitleBarRectNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void TitleBarRect(ref ImRect pOut, ImGuiWindowPtr self) - { - fixed (ImRect* ppOut = &pOut) - { - TitleBarRectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect TitleBarRect(ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - ImRect ret; - TitleBarRectNative(&ret, (ImGuiWindow*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void TitleBarRect(ImRectPtr pOut, ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - TitleBarRectNative(pOut, (ImGuiWindow*)pself); - } - } - - /// - /// To be documented. - /// - public static void TitleBarRect(ref ImRect pOut, ref ImGuiWindow self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pself = &self) - { - TitleBarRectNative((ImRect*)ppOut, (ImGuiWindow*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MenuBarRectNative(ImRect* pOut, ImGuiWindow* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[970])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[970])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImRect MenuBarRect(ImGuiWindowPtr self) - { - ImRect ret; - MenuBarRectNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void MenuBarRect(ImRectPtr pOut, ImGuiWindowPtr self) - { - MenuBarRectNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void MenuBarRect(ref ImRect pOut, ImGuiWindowPtr self) - { - fixed (ImRect* ppOut = &pOut) - { - MenuBarRectNative((ImRect*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImRect MenuBarRect(ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - ImRect ret; - MenuBarRectNative(&ret, (ImGuiWindow*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void MenuBarRect(ImRectPtr pOut, ref ImGuiWindow self) - { - fixed (ImGuiWindow* pself = &self) - { - MenuBarRectNative(pOut, (ImGuiWindow*)pself); - } - } - - /// - /// To be documented. - /// - public static void MenuBarRect(ref ImRect pOut, ref ImGuiWindow self) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pself = &self) - { - MenuBarRectNative((ImRect*)ppOut, (ImGuiWindow*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabItem* ImGuiTabItemNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[971])(); - #else - return (ImGuiTabItem*)((delegate* unmanaged[Cdecl])funcTable[971])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr ImGuiTabItem() - { - ImGuiTabItemPtr ret = ImGuiTabItemNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTabItem* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[972])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[972])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTabItemPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTabItem self) - { - fixed (ImGuiTabItem* pself = &self) - { - DestroyNative((ImGuiTabItem*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabBar* ImGuiTabBarNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[973])(); - #else - return (ImGuiTabBar*)((delegate* unmanaged[Cdecl])funcTable[973])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabBarPtr ImGuiTabBar() - { - ImGuiTabBarPtr ret = ImGuiTabBarNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTabBar* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[974])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[974])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTabBarPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTabBar self) - { - fixed (ImGuiTabBar* pself = &self) - { - DestroyNative((ImGuiTabBar*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableColumn* ImGuiTableColumnNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[975])(); - #else - return (ImGuiTableColumn*)((delegate* unmanaged[Cdecl])funcTable[975])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableColumnPtr ImGuiTableColumn() - { - ImGuiTableColumnPtr ret = ImGuiTableColumnNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableColumn* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[976])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[976])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableColumnPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableColumn self) - { - fixed (ImGuiTableColumn* pself = &self) - { - DestroyNative((ImGuiTableColumn*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableInstanceData* ImGuiTableInstanceDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[977])(); - #else - return (ImGuiTableInstanceData*)((delegate* unmanaged[Cdecl])funcTable[977])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableInstanceDataPtr ImGuiTableInstanceData() - { - ImGuiTableInstanceDataPtr ret = ImGuiTableInstanceDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableInstanceData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[978])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[978])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableInstanceDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableInstanceData self) - { - fixed (ImGuiTableInstanceData* pself = &self) - { - DestroyNative((ImGuiTableInstanceData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTable* ImGuiTableNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[979])(); - #else - return (ImGuiTable*)((delegate* unmanaged[Cdecl])funcTable[979])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTablePtr ImGuiTable() - { - ImGuiTablePtr ret = ImGuiTableNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTable* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[980])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[980])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTablePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTable self) - { - fixed (ImGuiTable* pself = &self) - { - DestroyNative((ImGuiTable*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableTempData* ImGuiTableTempDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[981])(); - #else - return (ImGuiTableTempData*)((delegate* unmanaged[Cdecl])funcTable[981])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableTempDataPtr ImGuiTableTempData() - { - ImGuiTableTempDataPtr ret = ImGuiTableTempDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableTempData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[982])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[982])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableTempDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableTempData self) - { - fixed (ImGuiTableTempData* pself = &self) - { - DestroyNative((ImGuiTableTempData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableColumnSettings* ImGuiTableColumnSettingsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[983])(); - #else - return (ImGuiTableColumnSettings*)((delegate* unmanaged[Cdecl])funcTable[983])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableColumnSettingsPtr ImGuiTableColumnSettings() - { - ImGuiTableColumnSettingsPtr ret = ImGuiTableColumnSettingsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableColumnSettings* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[984])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[984])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableColumnSettingsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableColumnSettings self) - { - fixed (ImGuiTableColumnSettings* pself = &self) - { - DestroyNative((ImGuiTableColumnSettings*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableSettings* ImGuiTableSettingsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[985])(); - #else - return (ImGuiTableSettings*)((delegate* unmanaged[Cdecl])funcTable[985])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableSettingsPtr ImGuiTableSettings() - { - ImGuiTableSettingsPtr ret = ImGuiTableSettingsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImGuiTableSettings* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[986])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[986])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImGuiTableSettingsPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImGuiTableSettings self) - { - fixed (ImGuiTableSettings* pself = &self) - { - DestroyNative((ImGuiTableSettings*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableColumnSettings* GetColumnSettingsNative(ImGuiTableSettings* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[987])(self); - #else - return (ImGuiTableColumnSettings*)((delegate* unmanaged[Cdecl])funcTable[987])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableColumnSettingsPtr GetColumnSettings(ImGuiTableSettingsPtr self) - { - ImGuiTableColumnSettingsPtr ret = GetColumnSettingsNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTableColumnSettingsPtr GetColumnSettings(ref ImGuiTableSettings self) - { - fixed (ImGuiTableSettings* pself = &self) - { - ImGuiTableColumnSettingsPtr ret = GetColumnSettingsNative((ImGuiTableSettings*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiIO* GetIONative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[988])(ctx); - #else - return (ImGuiIO*)((delegate* unmanaged[Cdecl])funcTable[988])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiIOPtr GetIO(ImGuiContextPtr ctx) - { - ImGuiIOPtr ret = GetIONative(ctx); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiIOPtr GetIO(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - ImGuiIOPtr ret = GetIONative((ImGuiContext*)pctx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPlatformIO* GetPlatformIONative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[989])(ctx); - #else - return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[989])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPlatformIOPtr GetPlatformIO(ImGuiContextPtr ctx) - { - ImGuiPlatformIOPtr ret = GetPlatformIONative(ctx); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiPlatformIOPtr GetPlatformIO(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - ImGuiPlatformIOPtr ret = GetPlatformIONative((ImGuiContext*)pctx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* GetCurrentWindowReadNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[990])(); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[990])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr GetCurrentWindowRead() - { - ImGuiWindowPtr ret = GetCurrentWindowReadNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* GetCurrentWindowNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[991])(); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[991])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr GetCurrentWindow() - { - ImGuiWindowPtr ret = GetCurrentWindowNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* FindWindowByIDNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[992])(id); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[992])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindWindowByID(uint id) - { - ImGuiWindowPtr ret = FindWindowByIDNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* FindWindowByNameNative(byte* name) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[993])(name); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[993])((nint)name); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindWindowByName(byte* name) - { - ImGuiWindowPtr ret = FindWindowByNameNative(name); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindWindowByName(ref byte name) - { - fixed (byte* pname = &name) - { - ImGuiWindowPtr ret = FindWindowByNameNative((byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindWindowByName(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ImGuiWindowPtr ret = FindWindowByNameNative((byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindWindowByName(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiWindowPtr ret = FindWindowByNameNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateWindowParentAndRootLinksNative(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parentWindow) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[994])(window, flags, parentWindow); - #else - ((delegate* unmanaged[Cdecl])funcTable[994])((nint)window, flags, (nint)parentWindow); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateWindowParentAndRootLinks(ImGuiWindowPtr window, ImGuiWindowFlags flags, ImGuiWindowPtr parentWindow) - { - UpdateWindowParentAndRootLinksNative(window, flags, parentWindow); - } - - /// - /// To be documented. - /// - public static void UpdateWindowParentAndRootLinks(ref ImGuiWindow window, ImGuiWindowFlags flags, ImGuiWindowPtr parentWindow) - { - fixed (ImGuiWindow* pwindow = &window) - { - UpdateWindowParentAndRootLinksNative((ImGuiWindow*)pwindow, flags, parentWindow); - } - } - - /// - /// To be documented. - /// - public static void UpdateWindowParentAndRootLinks(ImGuiWindowPtr window, ImGuiWindowFlags flags, ref ImGuiWindow parentWindow) - { - fixed (ImGuiWindow* pparentWindow = &parentWindow) - { - UpdateWindowParentAndRootLinksNative(window, flags, (ImGuiWindow*)pparentWindow); - } - } - - /// - /// To be documented. - /// - public static void UpdateWindowParentAndRootLinks(ref ImGuiWindow window, ImGuiWindowFlags flags, ref ImGuiWindow parentWindow) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiWindow* pparentWindow = &parentWindow) - { - UpdateWindowParentAndRootLinksNative((ImGuiWindow*)pwindow, flags, (ImGuiWindow*)pparentWindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateWindowSkipRefreshNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[995])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[995])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateWindowSkipRefresh(ImGuiWindowPtr window) - { - UpdateWindowSkipRefreshNative(window); - } - - /// - /// To be documented. - /// - public static void UpdateWindowSkipRefresh(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - UpdateWindowSkipRefreshNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcWindowNextAutoFitSizeNative(Vector2* pOut, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[996])(pOut, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[996])((nint)pOut, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcWindowNextAutoFitSize(ImGuiWindowPtr window) - { - Vector2 ret; - CalcWindowNextAutoFitSizeNative(&ret, window); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcWindowNextAutoFitSize(Vector2* pOut, ImGuiWindowPtr window) - { - CalcWindowNextAutoFitSizeNative(pOut, window); - } - - /// - /// To be documented. - /// - public static void CalcWindowNextAutoFitSize(ref Vector2 pOut, ImGuiWindowPtr window) - { - fixed (Vector2* ppOut = &pOut) - { - CalcWindowNextAutoFitSizeNative((Vector2*)ppOut, window); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcWindowNextAutoFitSize(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - CalcWindowNextAutoFitSizeNative(&ret, (ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcWindowNextAutoFitSize(Vector2* pOut, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - CalcWindowNextAutoFitSizeNative(pOut, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - public static void CalcWindowNextAutoFitSize(ref Vector2 pOut, ref ImGuiWindow window) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - CalcWindowNextAutoFitSizeNative((Vector2*)ppOut, (ImGuiWindow*)pwindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowChildOfNative(ImGuiWindow* window, ImGuiWindow* potentialParent, byte popupHierarchy, byte dockHierarchy) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[997])(window, potentialParent, popupHierarchy, dockHierarchy); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[997])((nint)window, (nint)potentialParent, popupHierarchy, dockHierarchy); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowChildOf(ImGuiWindowPtr window, ImGuiWindowPtr potentialParent, bool popupHierarchy, bool dockHierarchy) - { - byte ret = IsWindowChildOfNative(window, potentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsWindowChildOf(ref ImGuiWindow window, ImGuiWindowPtr potentialParent, bool popupHierarchy, bool dockHierarchy) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = IsWindowChildOfNative((ImGuiWindow*)pwindow, potentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowChildOf(ImGuiWindowPtr window, ref ImGuiWindow potentialParent, bool popupHierarchy, bool dockHierarchy) - { - fixed (ImGuiWindow* ppotentialParent = &potentialParent) - { - byte ret = IsWindowChildOfNative(window, (ImGuiWindow*)ppotentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowChildOf(ref ImGuiWindow window, ref ImGuiWindow potentialParent, bool popupHierarchy, bool dockHierarchy) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiWindow* ppotentialParent = &potentialParent) - { - byte ret = IsWindowChildOfNative((ImGuiWindow*)pwindow, (ImGuiWindow*)ppotentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowWithinBeginStackOfNative(ImGuiWindow* window, ImGuiWindow* potentialParent) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[998])(window, potentialParent); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[998])((nint)window, (nint)potentialParent); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowWithinBeginStackOf(ImGuiWindowPtr window, ImGuiWindowPtr potentialParent) - { - byte ret = IsWindowWithinBeginStackOfNative(window, potentialParent); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsWindowWithinBeginStackOf(ref ImGuiWindow window, ImGuiWindowPtr potentialParent) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = IsWindowWithinBeginStackOfNative((ImGuiWindow*)pwindow, potentialParent); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowWithinBeginStackOf(ImGuiWindowPtr window, ref ImGuiWindow potentialParent) - { - fixed (ImGuiWindow* ppotentialParent = &potentialParent) - { - byte ret = IsWindowWithinBeginStackOfNative(window, (ImGuiWindow*)ppotentialParent); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowWithinBeginStackOf(ref ImGuiWindow window, ref ImGuiWindow potentialParent) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiWindow* ppotentialParent = &potentialParent) - { - byte ret = IsWindowWithinBeginStackOfNative((ImGuiWindow*)pwindow, (ImGuiWindow*)ppotentialParent); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowAboveNative(ImGuiWindow* potentialAbove, ImGuiWindow* potentialBelow) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[999])(potentialAbove, potentialBelow); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[999])((nint)potentialAbove, (nint)potentialBelow); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowAbove(ImGuiWindowPtr potentialAbove, ImGuiWindowPtr potentialBelow) - { - byte ret = IsWindowAboveNative(potentialAbove, potentialBelow); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsWindowAbove(ref ImGuiWindow potentialAbove, ImGuiWindowPtr potentialBelow) - { - fixed (ImGuiWindow* ppotentialAbove = &potentialAbove) - { - byte ret = IsWindowAboveNative((ImGuiWindow*)ppotentialAbove, potentialBelow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowAbove(ImGuiWindowPtr potentialAbove, ref ImGuiWindow potentialBelow) - { - fixed (ImGuiWindow* ppotentialBelow = &potentialBelow) - { - byte ret = IsWindowAboveNative(potentialAbove, (ImGuiWindow*)ppotentialBelow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowAbove(ref ImGuiWindow potentialAbove, ref ImGuiWindow potentialBelow) - { - fixed (ImGuiWindow* ppotentialAbove = &potentialAbove) - { - fixed (ImGuiWindow* ppotentialBelow = &potentialBelow) - { - byte ret = IsWindowAboveNative((ImGuiWindow*)ppotentialAbove, (ImGuiWindow*)ppotentialBelow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowNavFocusableNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1000])(window); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1000])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowNavFocusable(ImGuiWindowPtr window) - { - byte ret = IsWindowNavFocusableNative(window); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsWindowNavFocusable(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = IsWindowNavFocusableNative((ImGuiWindow*)pwindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowPosNative(ImGuiWindow* window, Vector2 pos, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1001])(window, pos, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[1001])((nint)window, pos, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowPos(ImGuiWindowPtr window, Vector2 pos, ImGuiCond cond) - { - SetWindowPosNative(window, pos, cond); - } - - /// - /// To be documented. - /// - public static void SetWindowPos(ImGuiWindowPtr window, Vector2 pos) - { - SetWindowPosNative(window, pos, (ImGuiCond)(0)); - } - - /// - /// To be documented. - /// - public static void SetWindowPos(ref ImGuiWindow window, Vector2 pos, ImGuiCond cond) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowPosNative((ImGuiWindow*)pwindow, pos, cond); - } - } - - /// - /// To be documented. - /// - public static void SetWindowPos(ref ImGuiWindow window, Vector2 pos) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowPosNative((ImGuiWindow*)pwindow, pos, (ImGuiCond)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowSizeNative(ImGuiWindow* window, Vector2 size, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1002])(window, size, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[1002])((nint)window, size, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowSize(ImGuiWindowPtr window, Vector2 size, ImGuiCond cond) - { - SetWindowSizeNative(window, size, cond); - } - - /// - /// To be documented. - /// - public static void SetWindowSize(ImGuiWindowPtr window, Vector2 size) - { - SetWindowSizeNative(window, size, (ImGuiCond)(0)); - } - - /// - /// To be documented. - /// - public static void SetWindowSize(ref ImGuiWindow window, Vector2 size, ImGuiCond cond) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowSizeNative((ImGuiWindow*)pwindow, size, cond); - } - } - - /// - /// To be documented. - /// - public static void SetWindowSize(ref ImGuiWindow window, Vector2 size) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowSizeNative((ImGuiWindow*)pwindow, size, (ImGuiCond)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowCollapsedNative(ImGuiWindow* window, byte collapsed, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1003])(window, collapsed, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[1003])((nint)window, collapsed, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowCollapsed(ImGuiWindowPtr window, bool collapsed, ImGuiCond cond) - { - SetWindowCollapsedNative(window, collapsed ? (byte)1 : (byte)0, cond); - } - - /// - /// To be documented. - /// - public static void SetWindowCollapsed(ImGuiWindowPtr window, bool collapsed) - { - SetWindowCollapsedNative(window, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - - /// - /// To be documented. - /// - public static void SetWindowCollapsed(ref ImGuiWindow window, bool collapsed, ImGuiCond cond) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowCollapsedNative((ImGuiWindow*)pwindow, collapsed ? (byte)1 : (byte)0, cond); - } - } - - /// - /// To be documented. - /// - public static void SetWindowCollapsed(ref ImGuiWindow window, bool collapsed) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowCollapsedNative((ImGuiWindow*)pwindow, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowHitTestHoleNative(ImGuiWindow* window, Vector2 pos, Vector2 size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1004])(window, pos, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[1004])((nint)window, pos, size); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowHitTestHole(ImGuiWindowPtr window, Vector2 pos, Vector2 size) - { - SetWindowHitTestHoleNative(window, pos, size); - } - - /// - /// To be documented. - /// - public static void SetWindowHitTestHole(ref ImGuiWindow window, Vector2 pos, Vector2 size) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowHitTestHoleNative((ImGuiWindow*)pwindow, pos, size); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowHiddenAndSkipItemsForCurrentFrameNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1005])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1005])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowHiddenAndSkipItemsForCurrentFrame(ImGuiWindowPtr window) - { - SetWindowHiddenAndSkipItemsForCurrentFrameNative(window); - } - - /// - /// To be documented. - /// - public static void SetWindowHiddenAndSkipItemsForCurrentFrame(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowHiddenAndSkipItemsForCurrentFrameNative((ImGuiWindow*)pwindow); - } - } - - /// - /// You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowParentWindowForFocusRouteNative(ImGuiWindow* window, ImGuiWindow* parentWindow) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1006])(window, parentWindow); - #else - ((delegate* unmanaged[Cdecl])funcTable[1006])((nint)window, (nint)parentWindow); - #endif - } - - /// - /// You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
- ///
- public static void SetWindowParentWindowForFocusRoute(ImGuiWindowPtr window, ImGuiWindowPtr parentWindow) - { - SetWindowParentWindowForFocusRouteNative(window, parentWindow); - } - - /// - /// You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
- ///
- public static void SetWindowParentWindowForFocusRoute(ref ImGuiWindow window, ImGuiWindowPtr parentWindow) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowParentWindowForFocusRouteNative((ImGuiWindow*)pwindow, parentWindow); - } - } - - /// - /// You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
- ///
- public static void SetWindowParentWindowForFocusRoute(ImGuiWindowPtr window, ref ImGuiWindow parentWindow) - { - fixed (ImGuiWindow* pparentWindow = &parentWindow) - { - SetWindowParentWindowForFocusRouteNative(window, (ImGuiWindow*)pparentWindow); - } - } - - /// - /// You may also use SetNextWindowClass()'s FocusRouteParentWindowId field.
- ///
- public static void SetWindowParentWindowForFocusRoute(ref ImGuiWindow window, ref ImGuiWindow parentWindow) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiWindow* pparentWindow = &parentWindow) - { - SetWindowParentWindowForFocusRouteNative((ImGuiWindow*)pwindow, (ImGuiWindow*)pparentWindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void WindowRectAbsToRelNative(ImRect* pOut, ImGuiWindow* window, ImRect r) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1007])(pOut, window, r); - #else - ((delegate* unmanaged[Cdecl])funcTable[1007])((nint)pOut, (nint)window, r); - #endif - } - - /// - /// To be documented. - /// - public static ImRect WindowRectAbsToRel(ImGuiWindowPtr window, ImRect r) - { - ImRect ret; - WindowRectAbsToRelNative(&ret, window, r); - return ret; - } - - /// - /// To be documented. - /// - public static void WindowRectAbsToRel(ImRectPtr pOut, ImGuiWindowPtr window, ImRect r) - { - WindowRectAbsToRelNative(pOut, window, r); - } - - /// - /// To be documented. - /// - public static void WindowRectAbsToRel(ref ImRect pOut, ImGuiWindowPtr window, ImRect r) - { - fixed (ImRect* ppOut = &pOut) - { - WindowRectAbsToRelNative((ImRect*)ppOut, window, r); - } - } - - /// - /// To be documented. - /// - public static ImRect WindowRectAbsToRel(ref ImGuiWindow window, ImRect r) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImRect ret; - WindowRectAbsToRelNative(&ret, (ImGuiWindow*)pwindow, r); - return ret; - } - } - - /// - /// To be documented. - /// - public static void WindowRectAbsToRel(ImRectPtr pOut, ref ImGuiWindow window, ImRect r) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowRectAbsToRelNative(pOut, (ImGuiWindow*)pwindow, r); - } - } - - /// - /// To be documented. - /// - public static void WindowRectAbsToRel(ref ImRect pOut, ref ImGuiWindow window, ImRect r) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowRectAbsToRelNative((ImRect*)ppOut, (ImGuiWindow*)pwindow, r); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void WindowRectRelToAbsNative(ImRect* pOut, ImGuiWindow* window, ImRect r) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1008])(pOut, window, r); - #else - ((delegate* unmanaged[Cdecl])funcTable[1008])((nint)pOut, (nint)window, r); - #endif - } - - /// - /// To be documented. - /// - public static ImRect WindowRectRelToAbs(ImGuiWindowPtr window, ImRect r) - { - ImRect ret; - WindowRectRelToAbsNative(&ret, window, r); - return ret; - } - - /// - /// To be documented. - /// - public static void WindowRectRelToAbs(ImRectPtr pOut, ImGuiWindowPtr window, ImRect r) - { - WindowRectRelToAbsNative(pOut, window, r); - } - - /// - /// To be documented. - /// - public static void WindowRectRelToAbs(ref ImRect pOut, ImGuiWindowPtr window, ImRect r) - { - fixed (ImRect* ppOut = &pOut) - { - WindowRectRelToAbsNative((ImRect*)ppOut, window, r); - } - } - - /// - /// To be documented. - /// - public static ImRect WindowRectRelToAbs(ref ImGuiWindow window, ImRect r) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImRect ret; - WindowRectRelToAbsNative(&ret, (ImGuiWindow*)pwindow, r); - return ret; - } - } - - /// - /// To be documented. - /// - public static void WindowRectRelToAbs(ImRectPtr pOut, ref ImGuiWindow window, ImRect r) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowRectRelToAbsNative(pOut, (ImGuiWindow*)pwindow, r); - } - } - - /// - /// To be documented. - /// - public static void WindowRectRelToAbs(ref ImRect pOut, ref ImGuiWindow window, ImRect r) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowRectRelToAbsNative((ImRect*)ppOut, (ImGuiWindow*)pwindow, r); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void WindowPosAbsToRelNative(Vector2* pOut, ImGuiWindow* window, Vector2 p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1009])(pOut, window, p); - #else - ((delegate* unmanaged[Cdecl])funcTable[1009])((nint)pOut, (nint)window, p); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 WindowPosAbsToRel(ImGuiWindowPtr window, Vector2 p) - { - Vector2 ret; - WindowPosAbsToRelNative(&ret, window, p); - return ret; - } - - /// - /// To be documented. - /// - public static void WindowPosAbsToRel(Vector2* pOut, ImGuiWindowPtr window, Vector2 p) - { - WindowPosAbsToRelNative(pOut, window, p); - } - - /// - /// To be documented. - /// - public static void WindowPosAbsToRel(ref Vector2 pOut, ImGuiWindowPtr window, Vector2 p) - { - fixed (Vector2* ppOut = &pOut) - { - WindowPosAbsToRelNative((Vector2*)ppOut, window, p); - } - } - - /// - /// To be documented. - /// - public static Vector2 WindowPosAbsToRel(ref ImGuiWindow window, Vector2 p) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - WindowPosAbsToRelNative(&ret, (ImGuiWindow*)pwindow, p); - return ret; - } - } - - /// - /// To be documented. - /// - public static void WindowPosAbsToRel(Vector2* pOut, ref ImGuiWindow window, Vector2 p) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowPosAbsToRelNative(pOut, (ImGuiWindow*)pwindow, p); - } - } - - /// - /// To be documented. - /// - public static void WindowPosAbsToRel(ref Vector2 pOut, ref ImGuiWindow window, Vector2 p) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowPosAbsToRelNative((Vector2*)ppOut, (ImGuiWindow*)pwindow, p); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void WindowPosRelToAbsNative(Vector2* pOut, ImGuiWindow* window, Vector2 p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1010])(pOut, window, p); - #else - ((delegate* unmanaged[Cdecl])funcTable[1010])((nint)pOut, (nint)window, p); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 WindowPosRelToAbs(ImGuiWindowPtr window, Vector2 p) - { - Vector2 ret; - WindowPosRelToAbsNative(&ret, window, p); - return ret; - } - - /// - /// To be documented. - /// - public static void WindowPosRelToAbs(Vector2* pOut, ImGuiWindowPtr window, Vector2 p) - { - WindowPosRelToAbsNative(pOut, window, p); - } - - /// - /// To be documented. - /// - public static void WindowPosRelToAbs(ref Vector2 pOut, ImGuiWindowPtr window, Vector2 p) - { - fixed (Vector2* ppOut = &pOut) - { - WindowPosRelToAbsNative((Vector2*)ppOut, window, p); - } - } - - /// - /// To be documented. - /// - public static Vector2 WindowPosRelToAbs(ref ImGuiWindow window, Vector2 p) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - WindowPosRelToAbsNative(&ret, (ImGuiWindow*)pwindow, p); - return ret; - } - } - - /// - /// To be documented. - /// - public static void WindowPosRelToAbs(Vector2* pOut, ref ImGuiWindow window, Vector2 p) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowPosRelToAbsNative(pOut, (ImGuiWindow*)pwindow, p); - } - } - - /// - /// To be documented. - /// - public static void WindowPosRelToAbs(ref Vector2 pOut, ref ImGuiWindow window, Vector2 p) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - WindowPosRelToAbsNative((Vector2*)ppOut, (ImGuiWindow*)pwindow, p); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FocusWindowNative(ImGuiWindow* window, ImGuiFocusRequestFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1011])(window, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1011])((nint)window, flags); - #endif - } - - /// - /// To be documented. - /// - public static void FocusWindow(ImGuiWindowPtr window, ImGuiFocusRequestFlags flags) - { - FocusWindowNative(window, flags); - } - - /// - /// To be documented. - /// - public static void FocusWindow(ImGuiWindowPtr window) - { - FocusWindowNative(window, (ImGuiFocusRequestFlags)(0)); - } - - /// - /// To be documented. - /// - public static void FocusWindow(ref ImGuiWindow window, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* pwindow = &window) - { - FocusWindowNative((ImGuiWindow*)pwindow, flags); - } - } - - /// - /// To be documented. - /// - public static void FocusWindow(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - FocusWindowNative((ImGuiWindow*)pwindow, (ImGuiFocusRequestFlags)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FocusTopMostWindowUnderOneNative(ImGuiWindow* underThisWindow, ImGuiWindow* ignoreWindow, ImGuiViewport* filterViewport, ImGuiFocusRequestFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1012])(underThisWindow, ignoreWindow, filterViewport, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1012])((nint)underThisWindow, (nint)ignoreWindow, (nint)filterViewport, flags); - #endif - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ImGuiWindowPtr ignoreWindow, ImGuiViewportPtr filterViewport, ImGuiFocusRequestFlags flags) - { - FocusTopMostWindowUnderOneNative(underThisWindow, ignoreWindow, filterViewport, flags); - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ImGuiWindowPtr ignoreWindow, ImGuiViewportPtr filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* punderThisWindow = &underThisWindow) - { - FocusTopMostWindowUnderOneNative((ImGuiWindow*)punderThisWindow, ignoreWindow, filterViewport, flags); - } - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ref ImGuiWindow ignoreWindow, ImGuiViewportPtr filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) - { - FocusTopMostWindowUnderOneNative(underThisWindow, (ImGuiWindow*)pignoreWindow, filterViewport, flags); - } - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ref ImGuiWindow ignoreWindow, ImGuiViewportPtr filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* punderThisWindow = &underThisWindow) - { - fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) - { - FocusTopMostWindowUnderOneNative((ImGuiWindow*)punderThisWindow, (ImGuiWindow*)pignoreWindow, filterViewport, flags); - } - } - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ImGuiWindowPtr ignoreWindow, ref ImGuiViewport filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiViewport* pfilterViewport = &filterViewport) - { - FocusTopMostWindowUnderOneNative(underThisWindow, ignoreWindow, (ImGuiViewport*)pfilterViewport, flags); - } - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ImGuiWindowPtr ignoreWindow, ref ImGuiViewport filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* punderThisWindow = &underThisWindow) - { - fixed (ImGuiViewport* pfilterViewport = &filterViewport) - { - FocusTopMostWindowUnderOneNative((ImGuiWindow*)punderThisWindow, ignoreWindow, (ImGuiViewport*)pfilterViewport, flags); - } - } - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ref ImGuiWindow ignoreWindow, ref ImGuiViewport filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) - { - fixed (ImGuiViewport* pfilterViewport = &filterViewport) - { - FocusTopMostWindowUnderOneNative(underThisWindow, (ImGuiWindow*)pignoreWindow, (ImGuiViewport*)pfilterViewport, flags); - } - } - } - - /// - /// To be documented. - /// - public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ref ImGuiWindow ignoreWindow, ref ImGuiViewport filterViewport, ImGuiFocusRequestFlags flags) - { - fixed (ImGuiWindow* punderThisWindow = &underThisWindow) - { - fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) - { - fixed (ImGuiViewport* pfilterViewport = &filterViewport) - { - FocusTopMostWindowUnderOneNative((ImGuiWindow*)punderThisWindow, (ImGuiWindow*)pignoreWindow, (ImGuiViewport*)pfilterViewport, flags); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BringWindowToFocusFrontNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1013])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1013])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void BringWindowToFocusFront(ImGuiWindowPtr window) - { - BringWindowToFocusFrontNative(window); - } - - /// - /// To be documented. - /// - public static void BringWindowToFocusFront(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - BringWindowToFocusFrontNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BringWindowToDisplayFrontNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1014])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1014])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayFront(ImGuiWindowPtr window) - { - BringWindowToDisplayFrontNative(window); - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayFront(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - BringWindowToDisplayFrontNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BringWindowToDisplayBackNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1015])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1015])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayBack(ImGuiWindowPtr window) - { - BringWindowToDisplayBackNative(window); - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayBack(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - BringWindowToDisplayBackNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BringWindowToDisplayBehindNative(ImGuiWindow* window, ImGuiWindow* aboveWindow) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1016])(window, aboveWindow); - #else - ((delegate* unmanaged[Cdecl])funcTable[1016])((nint)window, (nint)aboveWindow); - #endif - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayBehind(ImGuiWindowPtr window, ImGuiWindowPtr aboveWindow) - { - BringWindowToDisplayBehindNative(window, aboveWindow); - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayBehind(ref ImGuiWindow window, ImGuiWindowPtr aboveWindow) - { - fixed (ImGuiWindow* pwindow = &window) - { - BringWindowToDisplayBehindNative((ImGuiWindow*)pwindow, aboveWindow); - } - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayBehind(ImGuiWindowPtr window, ref ImGuiWindow aboveWindow) - { - fixed (ImGuiWindow* paboveWindow = &aboveWindow) - { - BringWindowToDisplayBehindNative(window, (ImGuiWindow*)paboveWindow); - } - } - - /// - /// To be documented. - /// - public static void BringWindowToDisplayBehind(ref ImGuiWindow window, ref ImGuiWindow aboveWindow) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiWindow* paboveWindow = &aboveWindow) - { - BringWindowToDisplayBehindNative((ImGuiWindow*)pwindow, (ImGuiWindow*)paboveWindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int FindWindowDisplayIndexNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1017])(window); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1017])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static int FindWindowDisplayIndex(ImGuiWindowPtr window) - { - int ret = FindWindowDisplayIndexNative(window); - return ret; - } - - /// - /// To be documented. - /// - public static int FindWindowDisplayIndex(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - int ret = FindWindowDisplayIndexNative((ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* FindBottomMostVisibleWindowWithinBeginStackNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1018])(window); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[1018])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindowPtr window) - { - ImGuiWindowPtr ret = FindBottomMostVisibleWindowWithinBeginStackNative(window); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindBottomMostVisibleWindowWithinBeginStack(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImGuiWindowPtr ret = FindBottomMostVisibleWindowWithinBeginStackNative((ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextWindowRefreshPolicyNative(ImGuiWindowRefreshFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1019])(flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1019])(flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags flags) - { - SetNextWindowRefreshPolicyNative(flags); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentFontNative(ImFont* font) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1020])(font); - #else - ((delegate* unmanaged[Cdecl])funcTable[1020])((nint)font); - #endif - } - - /// - /// To be documented. - /// - public static void SetCurrentFont(ImFontPtr font) - { - SetCurrentFontNative(font); - } - - /// - /// To be documented. - /// - public static void SetCurrentFont(ref ImFont font) - { - fixed (ImFont* pfont = &font) - { - SetCurrentFontNative((ImFont*)pfont); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFont* GetDefaultFontNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1021])(); - #else - return (ImFont*)((delegate* unmanaged[Cdecl])funcTable[1021])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontPtr GetDefaultFont() - { - ImFontPtr ret = GetDefaultFontNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushPasswordFontNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1022])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1022])(); - #endif - } - - /// - /// To be documented. - /// - public static void PushPasswordFont() - { - PushPasswordFontNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetForegroundDrawListNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1023])(window); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[1023])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawListPtr GetForegroundDrawList(ImGuiWindowPtr window) - { - ImDrawListPtr ret = GetForegroundDrawListNative(window); - return ret; - } - - /// - /// To be documented. - /// - public static ImDrawListPtr GetForegroundDrawList(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImDrawListPtr ret = GetForegroundDrawListNative((ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddDrawListToDrawDataExNative(ImDrawData* drawData, ImVector* outList, ImDrawList* drawList) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, ImDrawList*, void>)funcTable[1024])(drawData, outList, drawList); - #else - ((delegate* unmanaged[Cdecl])funcTable[1024])((nint)drawData, (nint)outList, (nint)drawList); - #endif - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ImDrawDataPtr drawData, ImVector* outList, ImDrawListPtr drawList) - { - AddDrawListToDrawDataExNative(drawData, outList, drawList); - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ref ImDrawData drawData, ImVector* outList, ImDrawListPtr drawList) - { - fixed (ImDrawData* pdrawData = &drawData) - { - AddDrawListToDrawDataExNative((ImDrawData*)pdrawData, outList, drawList); - } - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ImDrawDataPtr drawData, ref ImVector outList, ImDrawListPtr drawList) - { - fixed (ImVector* poutList = &outList) - { - AddDrawListToDrawDataExNative(drawData, (ImVector*)poutList, drawList); - } - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ref ImDrawData drawData, ref ImVector outList, ImDrawListPtr drawList) - { - fixed (ImDrawData* pdrawData = &drawData) - { - fixed (ImVector* poutList = &outList) - { - AddDrawListToDrawDataExNative((ImDrawData*)pdrawData, (ImVector*)poutList, drawList); - } - } - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ImDrawDataPtr drawData, ImVector* outList, ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddDrawListToDrawDataExNative(drawData, outList, (ImDrawList*)pdrawList); - } - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ref ImDrawData drawData, ImVector* outList, ref ImDrawList drawList) - { - fixed (ImDrawData* pdrawData = &drawData) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddDrawListToDrawDataExNative((ImDrawData*)pdrawData, outList, (ImDrawList*)pdrawList); - } - } - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ImDrawDataPtr drawData, ref ImVector outList, ref ImDrawList drawList) - { - fixed (ImVector* poutList = &outList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddDrawListToDrawDataExNative(drawData, (ImVector*)poutList, (ImDrawList*)pdrawList); - } - } - } - - /// - /// To be documented. - /// - public static void AddDrawListToDrawDataEx(ref ImDrawData drawData, ref ImVector outList, ref ImDrawList drawList) - { - fixed (ImDrawData* pdrawData = &drawData) - { - fixed (ImVector* poutList = &outList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddDrawListToDrawDataExNative((ImDrawData*)pdrawData, (ImVector*)poutList, (ImDrawList*)pdrawList); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void InitializeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1025])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1025])(); - #endif - } - - /// - /// To be documented. - /// - public static void Initialize() - { - InitializeNative(); - } - - /// - /// Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShutdownNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1026])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1026])(); - #endif - } - - /// - /// Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext().
- ///
- public static void Shutdown() - { - ShutdownNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateInputEventsNative(byte trickleFastInputs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1027])(trickleFastInputs); - #else - ((delegate* unmanaged[Cdecl])funcTable[1027])(trickleFastInputs); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateInputEvents(bool trickleFastInputs) - { - UpdateInputEventsNative(trickleFastInputs ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateHoveredWindowAndCaptureFlagsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1028])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1028])(); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateHoveredWindowAndCaptureFlags() - { - UpdateHoveredWindowAndCaptureFlagsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FindHoveredWindowExNative(Vector2 pos, byte findFirstAndInAnyViewport, ImGuiWindow** outHoveredWindow, ImGuiWindow** outHoveredWindowUnderMovingWindow) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1029])(pos, findFirstAndInAnyViewport, outHoveredWindow, outHoveredWindowUnderMovingWindow); - #else - ((delegate* unmanaged[Cdecl])funcTable[1029])(pos, findFirstAndInAnyViewport, (nint)outHoveredWindow, (nint)outHoveredWindowUnderMovingWindow); - #endif - } - - /// - /// To be documented. - /// - public static void FindHoveredWindowEx(Vector2 pos, bool findFirstAndInAnyViewport, ImGuiWindowPtrPtr outHoveredWindow, ImGuiWindowPtrPtr outHoveredWindowUnderMovingWindow) - { - FindHoveredWindowExNative(pos, findFirstAndInAnyViewport ? (byte)1 : (byte)0, outHoveredWindow, outHoveredWindowUnderMovingWindow); - } - - /// - /// To be documented. - /// - public static void FindHoveredWindowEx(Vector2 pos, bool findFirstAndInAnyViewport, ref ImGuiWindow* outHoveredWindow, ImGuiWindowPtrPtr outHoveredWindowUnderMovingWindow) - { - fixed (ImGuiWindow** poutHoveredWindow = &outHoveredWindow) - { - FindHoveredWindowExNative(pos, findFirstAndInAnyViewport ? (byte)1 : (byte)0, (ImGuiWindow**)poutHoveredWindow, outHoveredWindowUnderMovingWindow); - } - } - - /// - /// To be documented. - /// - public static void FindHoveredWindowEx(Vector2 pos, bool findFirstAndInAnyViewport, ImGuiWindowPtrPtr outHoveredWindow, ref ImGuiWindow* outHoveredWindowUnderMovingWindow) - { - fixed (ImGuiWindow** poutHoveredWindowUnderMovingWindow = &outHoveredWindowUnderMovingWindow) - { - FindHoveredWindowExNative(pos, findFirstAndInAnyViewport ? (byte)1 : (byte)0, outHoveredWindow, (ImGuiWindow**)poutHoveredWindowUnderMovingWindow); - } - } - - /// - /// To be documented. - /// - public static void FindHoveredWindowEx(Vector2 pos, bool findFirstAndInAnyViewport, ref ImGuiWindow* outHoveredWindow, ref ImGuiWindow* outHoveredWindowUnderMovingWindow) - { - fixed (ImGuiWindow** poutHoveredWindow = &outHoveredWindow) - { - fixed (ImGuiWindow** poutHoveredWindowUnderMovingWindow = &outHoveredWindowUnderMovingWindow) - { - FindHoveredWindowExNative(pos, findFirstAndInAnyViewport ? (byte)1 : (byte)0, (ImGuiWindow**)poutHoveredWindow, (ImGuiWindow**)poutHoveredWindowUnderMovingWindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StartMouseMovingWindowNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1030])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1030])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void StartMouseMovingWindow(ImGuiWindowPtr window) - { - StartMouseMovingWindowNative(window); - } - - /// - /// To be documented. - /// - public static void StartMouseMovingWindow(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - StartMouseMovingWindowNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StartMouseMovingWindowOrNodeNative(ImGuiWindow* window, ImGuiDockNode* node, byte undock) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1031])(window, node, undock); - #else - ((delegate* unmanaged[Cdecl])funcTable[1031])((nint)window, (nint)node, undock); - #endif - } - - /// - /// To be documented. - /// - public static void StartMouseMovingWindowOrNode(ImGuiWindowPtr window, ImGuiDockNodePtr node, bool undock) - { - StartMouseMovingWindowOrNodeNative(window, node, undock ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void StartMouseMovingWindowOrNode(ref ImGuiWindow window, ImGuiDockNodePtr node, bool undock) - { - fixed (ImGuiWindow* pwindow = &window) - { - StartMouseMovingWindowOrNodeNative((ImGuiWindow*)pwindow, node, undock ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void StartMouseMovingWindowOrNode(ImGuiWindowPtr window, ref ImGuiDockNode node, bool undock) - { - fixed (ImGuiDockNode* pnode = &node) - { - StartMouseMovingWindowOrNodeNative(window, (ImGuiDockNode*)pnode, undock ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void StartMouseMovingWindowOrNode(ref ImGuiWindow window, ref ImGuiDockNode node, bool undock) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiDockNode* pnode = &node) - { - StartMouseMovingWindowOrNodeNative((ImGuiWindow*)pwindow, (ImGuiDockNode*)pnode, undock ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateMouseMovingWindowNewFrameNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1032])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1032])(); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateMouseMovingWindowNewFrame() - { - UpdateMouseMovingWindowNewFrameNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateMouseMovingWindowEndFrameNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1033])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1033])(); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateMouseMovingWindowEndFrame() - { - UpdateMouseMovingWindowEndFrameNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint AddContextHookNative(ImGuiContext* context, ImGuiContextHook* hook) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1034])(context, hook); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1034])((nint)context, (nint)hook); - #endif - } - - /// - /// To be documented. - /// - public static uint AddContextHook(ImGuiContextPtr context, ImGuiContextHookPtr hook) - { - uint ret = AddContextHookNative(context, hook); - return ret; - } - - /// - /// To be documented. - /// - public static uint AddContextHook(ref ImGuiContext context, ImGuiContextHookPtr hook) - { - fixed (ImGuiContext* pcontext = &context) - { - uint ret = AddContextHookNative((ImGuiContext*)pcontext, hook); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint AddContextHook(ImGuiContextPtr context, ref ImGuiContextHook hook) - { - fixed (ImGuiContextHook* phook = &hook) - { - uint ret = AddContextHookNative(context, (ImGuiContextHook*)phook); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint AddContextHook(ref ImGuiContext context, ref ImGuiContextHook hook) - { - fixed (ImGuiContext* pcontext = &context) - { - fixed (ImGuiContextHook* phook = &hook) - { - uint ret = AddContextHookNative((ImGuiContext*)pcontext, (ImGuiContextHook*)phook); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RemoveContextHookNative(ImGuiContext* context, uint hookToRemove) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1035])(context, hookToRemove); - #else - ((delegate* unmanaged[Cdecl])funcTable[1035])((nint)context, hookToRemove); - #endif - } - - /// - /// To be documented. - /// - public static void RemoveContextHook(ImGuiContextPtr context, uint hookToRemove) - { - RemoveContextHookNative(context, hookToRemove); - } - - /// - /// To be documented. - /// - public static void RemoveContextHook(ref ImGuiContext context, uint hookToRemove) - { - fixed (ImGuiContext* pcontext = &context) - { - RemoveContextHookNative((ImGuiContext*)pcontext, hookToRemove); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CallContextHooksNative(ImGuiContext* context, ImGuiContextHookType type) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1036])(context, type); - #else - ((delegate* unmanaged[Cdecl])funcTable[1036])((nint)context, type); - #endif - } - - /// - /// To be documented. - /// - public static void CallContextHooks(ImGuiContextPtr context, ImGuiContextHookType type) - { - CallContextHooksNative(context, type); - } - - /// - /// To be documented. - /// - public static void CallContextHooks(ref ImGuiContext context, ImGuiContextHookType type) - { - fixed (ImGuiContext* pcontext = &context) - { - CallContextHooksNative((ImGuiContext*)pcontext, type); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TranslateWindowsInViewportNative(ImGuiViewportP* viewport, Vector2 oldPos, Vector2 newPos, Vector2 oldSize, Vector2 newSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1037])(viewport, oldPos, newPos, oldSize, newSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[1037])((nint)viewport, oldPos, newPos, oldSize, newSize); - #endif - } - - /// - /// To be documented. - /// - public static void TranslateWindowsInViewport(ImGuiViewportPPtr viewport, Vector2 oldPos, Vector2 newPos, Vector2 oldSize, Vector2 newSize) - { - TranslateWindowsInViewportNative(viewport, oldPos, newPos, oldSize, newSize); - } - - /// - /// To be documented. - /// - public static void TranslateWindowsInViewport(ref ImGuiViewportP viewport, Vector2 oldPos, Vector2 newPos, Vector2 oldSize, Vector2 newSize) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - TranslateWindowsInViewportNative((ImGuiViewportP*)pviewport, oldPos, newPos, oldSize, newSize); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScaleWindowsInViewportNative(ImGuiViewportP* viewport, float scale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1038])(viewport, scale); - #else - ((delegate* unmanaged[Cdecl])funcTable[1038])((nint)viewport, scale); - #endif - } - - /// - /// To be documented. - /// - public static void ScaleWindowsInViewport(ImGuiViewportPPtr viewport, float scale) - { - ScaleWindowsInViewportNative(viewport, scale); - } - - /// - /// To be documented. - /// - public static void ScaleWindowsInViewport(ref ImGuiViewportP viewport, float scale) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - ScaleWindowsInViewportNative((ImGuiViewportP*)pviewport, scale); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyPlatformWindowNative(ImGuiViewportP* viewport) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1039])(viewport); - #else - ((delegate* unmanaged[Cdecl])funcTable[1039])((nint)viewport); - #endif - } - - /// - /// To be documented. - /// - public static void DestroyPlatformWindow(ImGuiViewportPPtr viewport) - { - DestroyPlatformWindowNative(viewport); - } - - /// - /// To be documented. - /// - public static void DestroyPlatformWindow(ref ImGuiViewportP viewport) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - DestroyPlatformWindowNative((ImGuiViewportP*)pviewport); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowViewportNative(ImGuiWindow* window, ImGuiViewportP* viewport) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1040])(window, viewport); - #else - ((delegate* unmanaged[Cdecl])funcTable[1040])((nint)window, (nint)viewport); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowViewport(ImGuiWindowPtr window, ImGuiViewportPPtr viewport) - { - SetWindowViewportNative(window, viewport); - } - - /// - /// To be documented. - /// - public static void SetWindowViewport(ref ImGuiWindow window, ImGuiViewportPPtr viewport) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowViewportNative((ImGuiWindow*)pwindow, viewport); - } - } - - /// - /// To be documented. - /// - public static void SetWindowViewport(ImGuiWindowPtr window, ref ImGuiViewportP viewport) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - SetWindowViewportNative(window, (ImGuiViewportP*)pviewport); - } - } - - /// - /// To be documented. - /// - public static void SetWindowViewport(ref ImGuiWindow window, ref ImGuiViewportP viewport) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - SetWindowViewportNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport); - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.009.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.009.cs deleted file mode 100644 index 13b7713f1..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.009.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentViewportNative(ImGuiWindow* window, ImGuiViewportP* viewport) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1041])(window, viewport); - #else - ((delegate* unmanaged[Cdecl])funcTable[1041])((nint)window, (nint)viewport); - #endif - } - - /// - /// To be documented. - /// - public static void SetCurrentViewport(ImGuiWindowPtr window, ImGuiViewportPPtr viewport) - { - SetCurrentViewportNative(window, viewport); - } - - /// - /// To be documented. - /// - public static void SetCurrentViewport(ref ImGuiWindow window, ImGuiViewportPPtr viewport) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetCurrentViewportNative((ImGuiWindow*)pwindow, viewport); - } - } - - /// - /// To be documented. - /// - public static void SetCurrentViewport(ImGuiWindowPtr window, ref ImGuiViewportP viewport) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - SetCurrentViewportNative(window, (ImGuiViewportP*)pviewport); - } - } - - /// - /// To be documented. - /// - public static void SetCurrentViewport(ref ImGuiWindow window, ref ImGuiViewportP viewport) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - SetCurrentViewportNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiPlatformMonitor* GetViewportPlatformMonitorNative(ImGuiViewport* viewport) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1042])(viewport); - #else - return (ImGuiPlatformMonitor*)((delegate* unmanaged[Cdecl])funcTable[1042])((nint)viewport); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiPlatformMonitorPtr GetViewportPlatformMonitor(ImGuiViewportPtr viewport) - { - ImGuiPlatformMonitorPtr ret = GetViewportPlatformMonitorNative(viewport); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiPlatformMonitorPtr GetViewportPlatformMonitor(ref ImGuiViewport viewport) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - ImGuiPlatformMonitorPtr ret = GetViewportPlatformMonitorNative((ImGuiViewport*)pviewport); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiViewportP* FindHoveredViewportFromPlatformWindowStackNative(Vector2 mousePlatformPos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1043])(mousePlatformPos); - #else - return (ImGuiViewportP*)((delegate* unmanaged[Cdecl])funcTable[1043])(mousePlatformPos); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiViewportPPtr FindHoveredViewportFromPlatformWindowStack(Vector2 mousePlatformPos) - { - ImGuiViewportPPtr ret = FindHoveredViewportFromPlatformWindowStackNative(mousePlatformPos); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MarkIniSettingsDirtyNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1044])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1044])(); - #endif - } - - /// - /// To be documented. - /// - public static void MarkIniSettingsDirty() - { - MarkIniSettingsDirtyNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MarkIniSettingsDirtyNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1045])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1045])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void MarkIniSettingsDirty(ImGuiWindowPtr window) - { - MarkIniSettingsDirtyNative(window); - } - - /// - /// To be documented. - /// - public static void MarkIniSettingsDirty(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - MarkIniSettingsDirtyNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearIniSettingsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1046])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1046])(); - #endif - } - - /// - /// To be documented. - /// - public static void ClearIniSettings() - { - ClearIniSettingsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddSettingsHandlerNative(ImGuiSettingsHandler* handler) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1047])(handler); - #else - ((delegate* unmanaged[Cdecl])funcTable[1047])((nint)handler); - #endif - } - - /// - /// To be documented. - /// - public static void AddSettingsHandler(ImGuiSettingsHandlerPtr handler) - { - AddSettingsHandlerNative(handler); - } - - /// - /// To be documented. - /// - public static void AddSettingsHandler(ref ImGuiSettingsHandler handler) - { - fixed (ImGuiSettingsHandler* phandler = &handler) - { - AddSettingsHandlerNative((ImGuiSettingsHandler*)phandler); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RemoveSettingsHandlerNative(byte* typeName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1048])(typeName); - #else - ((delegate* unmanaged[Cdecl])funcTable[1048])((nint)typeName); - #endif - } - - /// - /// To be documented. - /// - public static void RemoveSettingsHandler(byte* typeName) - { - RemoveSettingsHandlerNative(typeName); - } - - /// - /// To be documented. - /// - public static void RemoveSettingsHandler(ref byte typeName) - { - fixed (byte* ptypeName = &typeName) - { - RemoveSettingsHandlerNative((byte*)ptypeName); - } - } - - /// - /// To be documented. - /// - public static void RemoveSettingsHandler(ReadOnlySpan typeName) - { - fixed (byte* ptypeName = typeName) - { - RemoveSettingsHandlerNative((byte*)ptypeName); - } - } - - /// - /// To be documented. - /// - public static void RemoveSettingsHandler(string typeName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (typeName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(typeName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(typeName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RemoveSettingsHandlerNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiSettingsHandler* FindSettingsHandlerNative(byte* typeName) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1049])(typeName); - #else - return (ImGuiSettingsHandler*)((delegate* unmanaged[Cdecl])funcTable[1049])((nint)typeName); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiSettingsHandlerPtr FindSettingsHandler(byte* typeName) - { - ImGuiSettingsHandlerPtr ret = FindSettingsHandlerNative(typeName); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiSettingsHandlerPtr FindSettingsHandler(ref byte typeName) - { - fixed (byte* ptypeName = &typeName) - { - ImGuiSettingsHandlerPtr ret = FindSettingsHandlerNative((byte*)ptypeName); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiSettingsHandlerPtr FindSettingsHandler(ReadOnlySpan typeName) - { - fixed (byte* ptypeName = typeName) - { - ImGuiSettingsHandlerPtr ret = FindSettingsHandlerNative((byte*)ptypeName); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiSettingsHandlerPtr FindSettingsHandler(string typeName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (typeName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(typeName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(typeName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiSettingsHandlerPtr ret = FindSettingsHandlerNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindowSettings* CreateNewWindowSettingsNative(byte* name) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1050])(name); - #else - return (ImGuiWindowSettings*)((delegate* unmanaged[Cdecl])funcTable[1050])((nint)name); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr CreateNewWindowSettings(byte* name) - { - ImGuiWindowSettingsPtr ret = CreateNewWindowSettingsNative(name); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr CreateNewWindowSettings(ref byte name) - { - fixed (byte* pname = &name) - { - ImGuiWindowSettingsPtr ret = CreateNewWindowSettingsNative((byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr CreateNewWindowSettings(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ImGuiWindowSettingsPtr ret = CreateNewWindowSettingsNative((byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr CreateNewWindowSettings(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImGuiWindowSettingsPtr ret = CreateNewWindowSettingsNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindowSettings* FindWindowSettingsByIDNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1051])(id); - #else - return (ImGuiWindowSettings*)((delegate* unmanaged[Cdecl])funcTable[1051])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr FindWindowSettingsByID(uint id) - { - ImGuiWindowSettingsPtr ret = FindWindowSettingsByIDNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindowSettings* FindWindowSettingsByWindowNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1052])(window); - #else - return (ImGuiWindowSettings*)((delegate* unmanaged[Cdecl])funcTable[1052])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr FindWindowSettingsByWindow(ImGuiWindowPtr window) - { - ImGuiWindowSettingsPtr ret = FindWindowSettingsByWindowNative(window); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowSettingsPtr FindWindowSettingsByWindow(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImGuiWindowSettingsPtr ret = FindWindowSettingsByWindowNative((ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearWindowSettingsNative(byte* name) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1053])(name); - #else - ((delegate* unmanaged[Cdecl])funcTable[1053])((nint)name); - #endif - } - - /// - /// To be documented. - /// - public static void ClearWindowSettings(byte* name) - { - ClearWindowSettingsNative(name); - } - - /// - /// To be documented. - /// - public static void ClearWindowSettings(ref byte name) - { - fixed (byte* pname = &name) - { - ClearWindowSettingsNative((byte*)pname); - } - } - - /// - /// To be documented. - /// - public static void ClearWindowSettings(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ClearWindowSettingsNative((byte*)pname); - } - } - - /// - /// To be documented. - /// - public static void ClearWindowSettings(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ClearWindowSettingsNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LocalizeRegisterEntriesNative(ImGuiLocEntry* entries, int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1054])(entries, count); - #else - ((delegate* unmanaged[Cdecl])funcTable[1054])((nint)entries, count); - #endif - } - - /// - /// To be documented. - /// - public static void LocalizeRegisterEntries(ImGuiLocEntryPtr entries, int count) - { - LocalizeRegisterEntriesNative(entries, count); - } - - /// - /// To be documented. - /// - public static void LocalizeRegisterEntries(ref ImGuiLocEntry entries, int count) - { - fixed (ImGuiLocEntry* pentries = &entries) - { - LocalizeRegisterEntriesNative((ImGuiLocEntry*)pentries, count); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* LocalizeGetMsgNative(ImGuiLocKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1055])(key); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[1055])(key); - #endif - } - - /// - /// To be documented. - /// - public static byte* LocalizeGetMsg(ImGuiLocKey key) - { - byte* ret = LocalizeGetMsgNative(key); - return ret; - } - - /// - /// To be documented. - /// - public static string LocalizeGetMsgS(ImGuiLocKey key) - { - string ret = Utils.DecodeStringUTF8(LocalizeGetMsgNative(key)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollXNative(ImGuiWindow* window, float scrollX) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1056])(window, scrollX); - #else - ((delegate* unmanaged[Cdecl])funcTable[1056])((nint)window, scrollX); - #endif - } - - /// - /// To be documented. - /// - public static void SetScrollX(ImGuiWindowPtr window, float scrollX) - { - SetScrollXNative(window, scrollX); - } - - /// - /// To be documented. - /// - public static void SetScrollX(ref ImGuiWindow window, float scrollX) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetScrollXNative((ImGuiWindow*)pwindow, scrollX); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollYNative(ImGuiWindow* window, float scrollY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1057])(window, scrollY); - #else - ((delegate* unmanaged[Cdecl])funcTable[1057])((nint)window, scrollY); - #endif - } - - /// - /// To be documented. - /// - public static void SetScrollY(ImGuiWindowPtr window, float scrollY) - { - SetScrollYNative(window, scrollY); - } - - /// - /// To be documented. - /// - public static void SetScrollY(ref ImGuiWindow window, float scrollY) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetScrollYNative((ImGuiWindow*)pwindow, scrollY); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollFromPosXNative(ImGuiWindow* window, float localX, float centerXRatio) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1058])(window, localX, centerXRatio); - #else - ((delegate* unmanaged[Cdecl])funcTable[1058])((nint)window, localX, centerXRatio); - #endif - } - - /// - /// To be documented. - /// - public static void SetScrollFromPosX(ImGuiWindowPtr window, float localX, float centerXRatio) - { - SetScrollFromPosXNative(window, localX, centerXRatio); - } - - /// - /// To be documented. - /// - public static void SetScrollFromPosX(ref ImGuiWindow window, float localX, float centerXRatio) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetScrollFromPosXNative((ImGuiWindow*)pwindow, localX, centerXRatio); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetScrollFromPosYNative(ImGuiWindow* window, float localY, float centerYRatio) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1059])(window, localY, centerYRatio); - #else - ((delegate* unmanaged[Cdecl])funcTable[1059])((nint)window, localY, centerYRatio); - #endif - } - - /// - /// To be documented. - /// - public static void SetScrollFromPosY(ImGuiWindowPtr window, float localY, float centerYRatio) - { - SetScrollFromPosYNative(window, localY, centerYRatio); - } - - /// - /// To be documented. - /// - public static void SetScrollFromPosY(ref ImGuiWindow window, float localY, float centerYRatio) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetScrollFromPosYNative((ImGuiWindow*)pwindow, localY, centerYRatio); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScrollToItemNative(ImGuiScrollFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1060])(flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1060])(flags); - #endif - } - - /// - /// To be documented. - /// - public static void ScrollToItem(ImGuiScrollFlags flags) - { - ScrollToItemNative(flags); - } - - /// - /// To be documented. - /// - public static void ScrollToItem() - { - ScrollToItemNative((ImGuiScrollFlags)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScrollToRectNative(ImGuiWindow* window, ImRect rect, ImGuiScrollFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1061])(window, rect, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1061])((nint)window, rect, flags); - #endif - } - - /// - /// To be documented. - /// - public static void ScrollToRect(ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) - { - ScrollToRectNative(window, rect, flags); - } - - /// - /// To be documented. - /// - public static void ScrollToRect(ImGuiWindowPtr window, ImRect rect) - { - ScrollToRectNative(window, rect, (ImGuiScrollFlags)(0)); - } - - /// - /// To be documented. - /// - public static void ScrollToRect(ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToRectNative((ImGuiWindow*)pwindow, rect, flags); - } - } - - /// - /// To be documented. - /// - public static void ScrollToRect(ref ImGuiWindow window, ImRect rect) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToRectNative((ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScrollToRectExNative(Vector2* pOut, ImGuiWindow* window, ImRect rect, ImGuiScrollFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1062])(pOut, window, rect, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1062])((nint)pOut, (nint)window, rect, flags); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ScrollToRectEx(ImGuiWindowPtr window, ImRect rect) - { - Vector2 ret; - ScrollToRectExNative(&ret, window, rect, (ImGuiScrollFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 ScrollToRectEx(ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) - { - Vector2 ret; - ScrollToRectExNative(&ret, window, rect, flags); - return ret; - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(Vector2* pOut, ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) - { - ScrollToRectExNative(pOut, window, rect, flags); - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(Vector2* pOut, ImGuiWindowPtr window, ImRect rect) - { - ScrollToRectExNative(pOut, window, rect, (ImGuiScrollFlags)(0)); - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(ref Vector2 pOut, ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) - { - fixed (Vector2* ppOut = &pOut) - { - ScrollToRectExNative((Vector2*)ppOut, window, rect, flags); - } - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(ref Vector2 pOut, ImGuiWindowPtr window, ImRect rect) - { - fixed (Vector2* ppOut = &pOut) - { - ScrollToRectExNative((Vector2*)ppOut, window, rect, (ImGuiScrollFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static Vector2 ScrollToRectEx(ref ImGuiWindow window, ImRect rect) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - ScrollToRectExNative(&ret, (ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 ScrollToRectEx(ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - ScrollToRectExNative(&ret, (ImGuiWindow*)pwindow, rect, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(Vector2* pOut, ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToRectExNative(pOut, (ImGuiWindow*)pwindow, rect, flags); - } - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(Vector2* pOut, ref ImGuiWindow window, ImRect rect) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToRectExNative(pOut, (ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(ref Vector2 pOut, ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToRectExNative((Vector2*)ppOut, (ImGuiWindow*)pwindow, rect, flags); - } - } - } - - /// - /// To be documented. - /// - public static void ScrollToRectEx(ref Vector2 pOut, ref ImGuiWindow window, ImRect rect) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToRectExNative((Vector2*)ppOut, (ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScrollToBringRectIntoViewNative(ImGuiWindow* window, ImRect rect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1063])(window, rect); - #else - ((delegate* unmanaged[Cdecl])funcTable[1063])((nint)window, rect); - #endif - } - - /// - /// To be documented. - /// - public static void ScrollToBringRectIntoView(ImGuiWindowPtr window, ImRect rect) - { - ScrollToBringRectIntoViewNative(window, rect); - } - - /// - /// To be documented. - /// - public static void ScrollToBringRectIntoView(ref ImGuiWindow window, ImRect rect) - { - fixed (ImGuiWindow* pwindow = &window) - { - ScrollToBringRectIntoViewNative((ImGuiWindow*)pwindow, rect); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiItemStatusFlags GetItemStatusFlagsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1064])(); - #else - return (ImGuiItemStatusFlags)((delegate* unmanaged[Cdecl])funcTable[1064])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiItemStatusFlags GetItemStatusFlags() - { - ImGuiItemStatusFlags ret = GetItemStatusFlagsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiItemFlags GetItemFlagsNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1065])(); - #else - return (ImGuiItemFlags)((delegate* unmanaged[Cdecl])funcTable[1065])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiItemFlags GetItemFlags() - { - ImGuiItemFlags ret = GetItemFlagsNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetActiveIDNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1066])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1066])(); - #endif - } - - /// - /// To be documented. - /// - public static uint GetActiveID() - { - uint ret = GetActiveIDNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetFocusIDNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1067])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1067])(); - #endif - } - - /// - /// To be documented. - /// - public static uint GetFocusID() - { - uint ret = GetFocusIDNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetActiveIDNative(uint id, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1068])(id, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1068])(id, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void SetActiveID(uint id, ImGuiWindowPtr window) - { - SetActiveIDNative(id, window); - } - - /// - /// To be documented. - /// - public static void SetActiveID(uint id, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetActiveIDNative(id, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetFocusIDNative(uint id, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1069])(id, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1069])(id, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void SetFocusID(uint id, ImGuiWindowPtr window) - { - SetFocusIDNative(id, window); - } - - /// - /// To be documented. - /// - public static void SetFocusID(uint id, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetFocusIDNative(id, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearActiveIDNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1070])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1070])(); - #endif - } - - /// - /// To be documented. - /// - public static void ClearActiveID() - { - ClearActiveIDNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetHoveredIDNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1071])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1071])(); - #endif - } - - /// - /// To be documented. - /// - public static uint GetHoveredID() - { - uint ret = GetHoveredIDNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetHoveredIDNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1072])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1072])(id); - #endif - } - - /// - /// To be documented. - /// - public static void SetHoveredID(uint id) - { - SetHoveredIDNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void KeepAliveIDNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1073])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1073])(id); - #endif - } - - /// - /// To be documented. - /// - public static void KeepAliveID(uint id) - { - KeepAliveIDNative(id); - } - - /// - /// Mark data associated to given item as "edited", used by IsItemDeactivatedAfterEdit() function.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MarkItemEditedNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1074])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1074])(id); - #endif - } - - /// - /// Mark data associated to given item as "edited", used by IsItemDeactivatedAfterEdit() function.
- ///
- public static void MarkItemEdited(uint id) - { - MarkItemEditedNative(id); - } - - /// - /// Push given value as-is at the top of the ID stack (whereas PushID combines old and new hashes)
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushOverrideIDNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1075])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1075])(id); - #endif - } - - /// - /// Push given value as-is at the top of the ID stack (whereas PushID combines old and new hashes)
- ///
- public static void PushOverrideID(uint id) - { - PushOverrideIDNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDWithSeedNative(byte* strIdBegin, byte* strIdEnd, uint seed) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1076])(strIdBegin, strIdEnd, seed); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1076])((nint)strIdBegin, (nint)strIdEnd, seed); - #endif - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(byte* strIdBegin, byte* strIdEnd, uint seed) - { - uint ret = GetIDWithSeedNative(strIdBegin, strIdEnd, seed); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ref byte strIdBegin, byte* strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, strIdEnd, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ReadOnlySpan strIdBegin, byte* strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, strIdEnd, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(string strIdBegin, byte* strIdEnd, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDWithSeedNative(pStr0, strIdEnd, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(byte* strIdBegin, ref byte strIdEnd, uint seed) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDWithSeedNative(strIdBegin, (byte*)pstrIdEnd, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(byte* strIdBegin, ReadOnlySpan strIdEnd, uint seed) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDWithSeedNative(strIdBegin, (byte*)pstrIdEnd, seed); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(byte* strIdBegin, string strIdEnd, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDWithSeedNative(strIdBegin, pStr0, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ref byte strIdBegin, ref byte strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, (byte*)pstrIdEnd, seed); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, (byte*)pstrIdEnd, seed); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(string strIdBegin, string strIdEnd, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strIdEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - uint ret = GetIDWithSeedNative(pStr0, pStr1, seed); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ref byte strIdBegin, ReadOnlySpan strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, (byte*)pstrIdEnd, seed); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ref byte strIdBegin, string strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, pStr0, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ReadOnlySpan strIdBegin, ref byte strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, (byte*)pstrIdEnd, seed); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(ReadOnlySpan strIdBegin, string strIdEnd, uint seed) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDWithSeedNative((byte*)pstrIdBegin, pStr0, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(string strIdBegin, ref byte strIdEnd, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDWithSeedNative(pStr0, (byte*)pstrIdEnd, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(string strIdBegin, ReadOnlySpan strIdEnd, uint seed) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDWithSeedNative(pStr0, (byte*)pstrIdEnd, seed); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDWithSeedNative(int n, uint seed) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1077])(n, seed); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1077])(n, seed); - #endif - } - - /// - /// To be documented. - /// - public static uint GetIDWithSeed(int n, uint seed) - { - uint ret = GetIDWithSeedNative(n, seed); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ItemSizeNative(Vector2 size, float textBaselineY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1078])(size, textBaselineY); - #else - ((delegate* unmanaged[Cdecl])funcTable[1078])(size, textBaselineY); - #endif - } - - /// - /// To be documented. - /// - public static void ItemSize(Vector2 size, float textBaselineY) - { - ItemSizeNative(size, textBaselineY); - } - - /// - /// To be documented. - /// - public static void ItemSize(Vector2 size) - { - ItemSizeNative(size, (float)(-1.0f)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ItemSizeNative(ImRect bb, float textBaselineY) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1079])(bb, textBaselineY); - #else - ((delegate* unmanaged[Cdecl])funcTable[1079])(bb, textBaselineY); - #endif - } - - /// - /// FIXME: This is a misleading API since we expect CursorPos to be bb.Min.
- ///
- public static void ItemSize(ImRect bb, float textBaselineY) - { - ItemSizeNative(bb, textBaselineY); - } - - /// - /// FIXME: This is a misleading API since we expect CursorPos to be bb.Min.
- ///
- public static void ItemSize(ImRect bb) - { - ItemSizeNative(bb, (float)(-1.0f)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ItemAddNative(ImRect bb, uint id, ImRect* navBb, ImGuiItemFlags extraFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1080])(bb, id, navBb, extraFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1080])(bb, id, (nint)navBb, extraFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool ItemAdd(ImRect bb, uint id, ImRectPtr navBb, ImGuiItemFlags extraFlags) - { - byte ret = ItemAddNative(bb, id, navBb, extraFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ItemAdd(ImRect bb, uint id, ImRectPtr navBb) - { - byte ret = ItemAddNative(bb, id, navBb, (ImGuiItemFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ItemAdd(ImRect bb, uint id) - { - byte ret = ItemAddNative(bb, id, (ImRect*)(default), (ImGuiItemFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ItemAdd(ImRect bb, uint id, ImGuiItemFlags extraFlags) - { - byte ret = ItemAddNative(bb, id, (ImRect*)(default), extraFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ItemAdd(ImRect bb, uint id, ref ImRect navBb, ImGuiItemFlags extraFlags) - { - fixed (ImRect* pnavBb = &navBb) - { - byte ret = ItemAddNative(bb, id, (ImRect*)pnavBb, extraFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ItemAdd(ImRect bb, uint id, ref ImRect navBb) - { - fixed (ImRect* pnavBb = &navBb) - { - byte ret = ItemAddNative(bb, id, (ImRect*)pnavBb, (ImGuiItemFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ItemHoverableNative(ImRect bb, uint id, ImGuiItemFlags itemFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1081])(bb, id, itemFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1081])(bb, id, itemFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool ItemHoverable(ImRect bb, uint id, ImGuiItemFlags itemFlags) - { - byte ret = ItemHoverableNative(bb, id, itemFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsWindowContentHoverableNative(ImGuiWindow* window, ImGuiHoveredFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1082])(window, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1082])((nint)window, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool IsWindowContentHoverable(ImGuiWindowPtr window, ImGuiHoveredFlags flags) - { - byte ret = IsWindowContentHoverableNative(window, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsWindowContentHoverable(ImGuiWindowPtr window) - { - byte ret = IsWindowContentHoverableNative(window, (ImGuiHoveredFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsWindowContentHoverable(ref ImGuiWindow window, ImGuiHoveredFlags flags) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = IsWindowContentHoverableNative((ImGuiWindow*)pwindow, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsWindowContentHoverable(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = IsWindowContentHoverableNative((ImGuiWindow*)pwindow, (ImGuiHoveredFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsClippedExNative(ImRect bb, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1083])(bb, id); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1083])(bb, id); - #endif - } - - /// - /// To be documented. - /// - public static bool IsClippedEx(ImRect bb, uint id) - { - byte ret = IsClippedExNative(bb, id); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetLastItemDataNative(uint itemId, ImGuiItemFlags itemFlags, ImGuiItemStatusFlags statusFlags, ImRect itemRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1084])(itemId, itemFlags, statusFlags, itemRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[1084])(itemId, itemFlags, statusFlags, itemRect); - #endif - } - - /// - /// To be documented. - /// - public static void SetLastItemData(uint itemId, ImGuiItemFlags itemFlags, ImGuiItemStatusFlags statusFlags, ImRect itemRect) - { - SetLastItemDataNative(itemId, itemFlags, statusFlags, itemRect); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcItemSizeNative(Vector2* pOut, Vector2 size, float defaultW, float defaultH) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1085])(pOut, size, defaultW, defaultH); - #else - ((delegate* unmanaged[Cdecl])funcTable[1085])((nint)pOut, size, defaultW, defaultH); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcItemSize(Vector2 size, float defaultW, float defaultH) - { - Vector2 ret; - CalcItemSizeNative(&ret, size, defaultW, defaultH); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcItemSize(Vector2* pOut, Vector2 size, float defaultW, float defaultH) - { - CalcItemSizeNative(pOut, size, defaultW, defaultH); - } - - /// - /// To be documented. - /// - public static void CalcItemSize(ref Vector2 pOut, Vector2 size, float defaultW, float defaultH) - { - fixed (Vector2* ppOut = &pOut) - { - CalcItemSizeNative((Vector2*)ppOut, size, defaultW, defaultH); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float CalcWrapWidthForPosNative(Vector2 pos, float wrapPosX) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1086])(pos, wrapPosX); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1086])(pos, wrapPosX); - #endif - } - - /// - /// To be documented. - /// - public static float CalcWrapWidthForPos(Vector2 pos, float wrapPosX) - { - float ret = CalcWrapWidthForPosNative(pos, wrapPosX); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushMultiItemsWidthsNative(int components, float widthFull) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1087])(components, widthFull); - #else - ((delegate* unmanaged[Cdecl])funcTable[1087])(components, widthFull); - #endif - } - - /// - /// To be documented. - /// - public static void PushMultiItemsWidths(int components, float widthFull) - { - PushMultiItemsWidthsNative(components, widthFull); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShrinkWidthsNative(ImGuiShrinkWidthItem* items, int count, float widthExcess) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1088])(items, count, widthExcess); - #else - ((delegate* unmanaged[Cdecl])funcTable[1088])((nint)items, count, widthExcess); - #endif - } - - /// - /// To be documented. - /// - public static void ShrinkWidths(ImGuiShrinkWidthItemPtr items, int count, float widthExcess) - { - ShrinkWidthsNative(items, count, widthExcess); - } - - /// - /// To be documented. - /// - public static void ShrinkWidths(ref ImGuiShrinkWidthItem items, int count, float widthExcess) - { - fixed (ImGuiShrinkWidthItem* pitems = &items) - { - ShrinkWidthsNative((ImGuiShrinkWidthItem*)pitems, count, widthExcess); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiStyleVarInfo* GetStyleVarInfoNative(ImGuiStyleVar idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1089])(idx); - #else - return (ImGuiStyleVarInfo*)((delegate* unmanaged[Cdecl])funcTable[1089])(idx); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiStyleVarInfoPtr GetStyleVarInfo(ImGuiStyleVar idx) - { - ImGuiStyleVarInfoPtr ret = GetStyleVarInfoNative(idx); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginDisabledOverrideReenableNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1090])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1090])(); - #endif - } - - /// - /// To be documented. - /// - public static void BeginDisabledOverrideReenable() - { - BeginDisabledOverrideReenableNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDisabledOverrideReenableNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1091])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1091])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndDisabledOverrideReenable() - { - EndDisabledOverrideReenableNative(); - } - - /// - /// -> BeginCapture() when we design v2 api, for now stay under the radar by using the old name.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogBeginNative(ImGuiLogFlags flags, int autoOpenDepth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1092])(flags, autoOpenDepth); - #else - ((delegate* unmanaged[Cdecl])funcTable[1092])(flags, autoOpenDepth); - #endif - } - - /// - /// -> BeginCapture() when we design v2 api, for now stay under the radar by using the old name.
- ///
- public static void LogBegin(ImGuiLogFlags flags, int autoOpenDepth) - { - LogBeginNative(flags, autoOpenDepth); - } - - /// - /// Start loggingcapturing to internal buffer
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogToBufferNative(int autoOpenDepth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1093])(autoOpenDepth); - #else - ((delegate* unmanaged[Cdecl])funcTable[1093])(autoOpenDepth); - #endif - } - - /// - /// Start loggingcapturing to internal buffer
- ///
- public static void LogToBuffer(int autoOpenDepth) - { - LogToBufferNative(autoOpenDepth); - } - - /// - /// Start loggingcapturing to internal buffer
- ///
- public static void LogToBuffer() - { - LogToBufferNative((int)(-1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogRenderedTextNative(Vector2* refPos, byte* text, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1094])(refPos, text, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[1094])((nint)refPos, (nint)text, (nint)textEnd); - #endif - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, byte* text, byte* textEnd) - { - LogRenderedTextNative(refPos, text, textEnd); - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, byte* text) - { - LogRenderedTextNative(refPos, text, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, byte* text, byte* textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - LogRenderedTextNative((Vector2*)prefPos, text, textEnd); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, byte* text) - { - fixed (Vector2* prefPos = &refPos) - { - LogRenderedTextNative((Vector2*)prefPos, text, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - LogRenderedTextNative(refPos, (byte*)ptext, textEnd); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ref byte text) - { - fixed (byte* ptext = &text) - { - LogRenderedTextNative(refPos, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - LogRenderedTextNative(refPos, (byte*)ptext, textEnd); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - LogRenderedTextNative(refPos, (byte*)ptext, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative(refPos, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative(refPos, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ref byte text, byte* textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = &text) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ref byte text) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = &text) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ReadOnlySpan text, byte* textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = text) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ReadOnlySpan text) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = text) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, string text, byte* textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative((Vector2*)prefPos, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, string text) - { - fixed (Vector2* prefPos = &refPos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative((Vector2*)prefPos, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative(refPos, text, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative(refPos, text, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative(refPos, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, byte* text, ref byte textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, text, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, byte* text, ReadOnlySpan textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, text, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, byte* text, string textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative((Vector2*)prefPos, text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative(refPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative(refPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - LogRenderedTextNative(refPos, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative(refPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative(refPos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative(refPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative(refPos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative(refPos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(Vector2* refPos, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative(refPos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ref byte text, ref byte textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, string text, string textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - LogRenderedTextNative((Vector2*)prefPos, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ref byte text, ReadOnlySpan textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ref byte text, string textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ReadOnlySpan text, ref byte textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, ReadOnlySpan text, string textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogRenderedTextNative((Vector2*)prefPos, (byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, string text, ref byte textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void LogRenderedText(ref Vector2 refPos, string text, ReadOnlySpan textEnd) - { - fixed (Vector2* prefPos = &refPos) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - LogRenderedTextNative((Vector2*)prefPos, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LogSetNextTextDecorationNative(byte* prefix, byte* suffix) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1095])(prefix, suffix); - #else - ((delegate* unmanaged[Cdecl])funcTable[1095])((nint)prefix, (nint)suffix); - #endif - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(byte* prefix, byte* suffix) - { - LogSetNextTextDecorationNative(prefix, suffix); - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ref byte prefix, byte* suffix) - { - fixed (byte* pprefix = &prefix) - { - LogSetNextTextDecorationNative((byte*)pprefix, suffix); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ReadOnlySpan prefix, byte* suffix) - { - fixed (byte* pprefix = prefix) - { - LogSetNextTextDecorationNative((byte*)pprefix, suffix); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(string prefix, byte* suffix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogSetNextTextDecorationNative(pStr0, suffix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(byte* prefix, ref byte suffix) - { - fixed (byte* psuffix = &suffix) - { - LogSetNextTextDecorationNative(prefix, (byte*)psuffix); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(byte* prefix, ReadOnlySpan suffix) - { - fixed (byte* psuffix = suffix) - { - LogSetNextTextDecorationNative(prefix, (byte*)psuffix); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(byte* prefix, string suffix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (suffix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(suffix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(suffix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogSetNextTextDecorationNative(prefix, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ref byte prefix, ref byte suffix) - { - fixed (byte* pprefix = &prefix) - { - fixed (byte* psuffix = &suffix) - { - LogSetNextTextDecorationNative((byte*)pprefix, (byte*)psuffix); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ReadOnlySpan prefix, ReadOnlySpan suffix) - { - fixed (byte* pprefix = prefix) - { - fixed (byte* psuffix = suffix) - { - LogSetNextTextDecorationNative((byte*)pprefix, (byte*)psuffix); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(string prefix, string suffix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (suffix != null) - { - pStrSize1 = Utils.GetByteCountUTF8(suffix); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(suffix, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - LogSetNextTextDecorationNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ref byte prefix, ReadOnlySpan suffix) - { - fixed (byte* pprefix = &prefix) - { - fixed (byte* psuffix = suffix) - { - LogSetNextTextDecorationNative((byte*)pprefix, (byte*)psuffix); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ref byte prefix, string suffix) - { - fixed (byte* pprefix = &prefix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (suffix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(suffix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(suffix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogSetNextTextDecorationNative((byte*)pprefix, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ReadOnlySpan prefix, ref byte suffix) - { - fixed (byte* pprefix = prefix) - { - fixed (byte* psuffix = &suffix) - { - LogSetNextTextDecorationNative((byte*)pprefix, (byte*)psuffix); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(ReadOnlySpan prefix, string suffix) - { - fixed (byte* pprefix = prefix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (suffix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(suffix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(suffix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LogSetNextTextDecorationNative((byte*)pprefix, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(string prefix, ref byte suffix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* psuffix = &suffix) - { - LogSetNextTextDecorationNative(pStr0, (byte*)psuffix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LogSetNextTextDecoration(string prefix, ReadOnlySpan suffix) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (prefix != null) - { - pStrSize0 = Utils.GetByteCountUTF8(prefix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(prefix, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* psuffix = suffix) - { - LogSetNextTextDecorationNative(pStr0, (byte*)psuffix); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginChildExNative(byte* name, uint id, Vector2 sizeArg, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1096])(name, id, sizeArg, childFlags, windowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1096])((nint)name, id, sizeArg, childFlags, windowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginChildEx(byte* name, uint id, Vector2 sizeArg, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte ret = BeginChildExNative(name, id, sizeArg, childFlags, windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginChildEx(ref byte name, uint id, Vector2 sizeArg, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - fixed (byte* pname = &name) - { - byte ret = BeginChildExNative((byte*)pname, id, sizeArg, childFlags, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChildEx(ReadOnlySpan name, uint id, Vector2 sizeArg, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - fixed (byte* pname = name) - { - byte ret = BeginChildExNative((byte*)pname, id, sizeArg, childFlags, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginChildEx(string name, uint id, Vector2 sizeArg, ImGuiChildFlags childFlags, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginChildExNative(pStr0, id, sizeArg, childFlags, windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupExNative(uint id, ImGuiWindowFlags extraWindowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1097])(id, extraWindowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1097])(id, extraWindowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginPopupEx(uint id, ImGuiWindowFlags extraWindowFlags) - { - byte ret = BeginPopupExNative(id, extraWindowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPopupMenuExNative(uint id, byte* label, ImGuiWindowFlags extraWindowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1098])(id, label, extraWindowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1098])(id, (nint)label, extraWindowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginPopupMenuEx(uint id, byte* label, ImGuiWindowFlags extraWindowFlags) - { - byte ret = BeginPopupMenuExNative(id, label, extraWindowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPopupMenuEx(uint id, ref byte label, ImGuiWindowFlags extraWindowFlags) - { - fixed (byte* plabel = &label) - { - byte ret = BeginPopupMenuExNative(id, (byte*)plabel, extraWindowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPopupMenuEx(uint id, ReadOnlySpan label, ImGuiWindowFlags extraWindowFlags) - { - fixed (byte* plabel = label) - { - byte ret = BeginPopupMenuExNative(id, (byte*)plabel, extraWindowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPopupMenuEx(uint id, string label, ImGuiWindowFlags extraWindowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPopupMenuExNative(id, pStr0, extraWindowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OpenPopupExNative(uint id, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1099])(id, popupFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1099])(id, popupFlags); - #endif - } - - /// - /// To be documented. - /// - public static void OpenPopupEx(uint id, ImGuiPopupFlags popupFlags) - { - OpenPopupExNative(id, popupFlags); - } - - /// - /// To be documented. - /// - public static void OpenPopupEx(uint id) - { - OpenPopupExNative(id, (ImGuiPopupFlags)(ImGuiPopupFlags.None)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClosePopupToLevelNative(int remaining, byte restoreFocusToWindowUnderPopup) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1100])(remaining, restoreFocusToWindowUnderPopup); - #else - ((delegate* unmanaged[Cdecl])funcTable[1100])(remaining, restoreFocusToWindowUnderPopup); - #endif - } - - /// - /// To be documented. - /// - public static void ClosePopupToLevel(int remaining, bool restoreFocusToWindowUnderPopup) - { - ClosePopupToLevelNative(remaining, restoreFocusToWindowUnderPopup ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClosePopupsOverWindowNative(ImGuiWindow* refWindow, byte restoreFocusToWindowUnderPopup) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1101])(refWindow, restoreFocusToWindowUnderPopup); - #else - ((delegate* unmanaged[Cdecl])funcTable[1101])((nint)refWindow, restoreFocusToWindowUnderPopup); - #endif - } - - /// - /// To be documented. - /// - public static void ClosePopupsOverWindow(ImGuiWindowPtr refWindow, bool restoreFocusToWindowUnderPopup) - { - ClosePopupsOverWindowNative(refWindow, restoreFocusToWindowUnderPopup ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void ClosePopupsOverWindow(ref ImGuiWindow refWindow, bool restoreFocusToWindowUnderPopup) - { - fixed (ImGuiWindow* prefWindow = &refWindow) - { - ClosePopupsOverWindowNative((ImGuiWindow*)prefWindow, restoreFocusToWindowUnderPopup ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClosePopupsExceptModalsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1102])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1102])(); - #endif - } - - /// - /// To be documented. - /// - public static void ClosePopupsExceptModals() - { - ClosePopupsExceptModalsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPopupOpenNative(uint id, ImGuiPopupFlags popupFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1103])(id, popupFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1103])(id, popupFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPopupOpen(uint id, ImGuiPopupFlags popupFlags) - { - byte ret = IsPopupOpenNative(id, popupFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetPopupAllowedExtentRectNative(ImRect* pOut, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1104])(pOut, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1104])((nint)pOut, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static ImRect GetPopupAllowedExtentRect(ImGuiWindowPtr window) - { - ImRect ret; - GetPopupAllowedExtentRectNative(&ret, window); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPopupAllowedExtentRect(ImRectPtr pOut, ImGuiWindowPtr window) - { - GetPopupAllowedExtentRectNative(pOut, window); - } - - /// - /// To be documented. - /// - public static void GetPopupAllowedExtentRect(ref ImRect pOut, ImGuiWindowPtr window) - { - fixed (ImRect* ppOut = &pOut) - { - GetPopupAllowedExtentRectNative((ImRect*)ppOut, window); - } - } - - /// - /// To be documented. - /// - public static ImRect GetPopupAllowedExtentRect(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImRect ret; - GetPopupAllowedExtentRectNative(&ret, (ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetPopupAllowedExtentRect(ImRectPtr pOut, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - GetPopupAllowedExtentRectNative(pOut, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - public static void GetPopupAllowedExtentRect(ref ImRect pOut, ref ImGuiWindow window) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - GetPopupAllowedExtentRectNative((ImRect*)ppOut, (ImGuiWindow*)pwindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* GetTopMostPopupModalNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1105])(); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[1105])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr GetTopMostPopupModal() - { - ImGuiWindowPtr ret = GetTopMostPopupModalNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* GetTopMostAndVisiblePopupModalNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1106])(); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[1106])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr GetTopMostAndVisiblePopupModal() - { - ImGuiWindowPtr ret = GetTopMostAndVisiblePopupModalNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiWindow* FindBlockingModalNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1107])(window); - #else - return (ImGuiWindow*)((delegate* unmanaged[Cdecl])funcTable[1107])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindBlockingModal(ImGuiWindowPtr window) - { - ImGuiWindowPtr ret = FindBlockingModalNative(window); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiWindowPtr FindBlockingModal(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImGuiWindowPtr ret = FindBlockingModalNative((ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FindBestWindowPosForPopupNative(Vector2* pOut, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1108])(pOut, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1108])((nint)pOut, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 FindBestWindowPosForPopup(ImGuiWindowPtr window) - { - Vector2 ret; - FindBestWindowPosForPopupNative(&ret, window); - return ret; - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopup(Vector2* pOut, ImGuiWindowPtr window) - { - FindBestWindowPosForPopupNative(pOut, window); - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopup(ref Vector2 pOut, ImGuiWindowPtr window) - { - fixed (Vector2* ppOut = &pOut) - { - FindBestWindowPosForPopupNative((Vector2*)ppOut, window); - } - } - - /// - /// To be documented. - /// - public static Vector2 FindBestWindowPosForPopup(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - FindBestWindowPosForPopupNative(&ret, (ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopup(Vector2* pOut, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - FindBestWindowPosForPopupNative(pOut, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopup(ref Vector2 pOut, ref ImGuiWindow window) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - FindBestWindowPosForPopupNative((Vector2*)ppOut, (ImGuiWindow*)pwindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FindBestWindowPosForPopupExNative(Vector2* pOut, Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1109])(pOut, refPos, size, lastDir, rOuter, rAvoid, policy); - #else - ((delegate* unmanaged[Cdecl])funcTable[1109])((nint)pOut, refPos, size, (nint)lastDir, rOuter, rAvoid, policy); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 FindBestWindowPosForPopupEx(Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - Vector2 ret; - FindBestWindowPosForPopupExNative(&ret, refPos, size, lastDir, rOuter, rAvoid, policy); - return ret; - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopupEx(Vector2* pOut, Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - FindBestWindowPosForPopupExNative(pOut, refPos, size, lastDir, rOuter, rAvoid, policy); - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopupEx(ref Vector2 pOut, Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - fixed (Vector2* ppOut = &pOut) - { - FindBestWindowPosForPopupExNative((Vector2*)ppOut, refPos, size, lastDir, rOuter, rAvoid, policy); - } - } - - /// - /// To be documented. - /// - public static Vector2 FindBestWindowPosForPopupEx(Vector2 refPos, Vector2 size, ref ImGuiDir lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - fixed (ImGuiDir* plastDir = &lastDir) - { - Vector2 ret; - FindBestWindowPosForPopupExNative(&ret, refPos, size, (ImGuiDir*)plastDir, rOuter, rAvoid, policy); - return ret; - } - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopupEx(Vector2* pOut, Vector2 refPos, Vector2 size, ref ImGuiDir lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - fixed (ImGuiDir* plastDir = &lastDir) - { - FindBestWindowPosForPopupExNative(pOut, refPos, size, (ImGuiDir*)plastDir, rOuter, rAvoid, policy); - } - } - - /// - /// To be documented. - /// - public static void FindBestWindowPosForPopupEx(ref Vector2 pOut, Vector2 refPos, Vector2 size, ref ImGuiDir lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiDir* plastDir = &lastDir) - { - FindBestWindowPosForPopupExNative((Vector2*)ppOut, refPos, size, (ImGuiDir*)plastDir, rOuter, rAvoid, policy); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTooltipExNative(ImGuiTooltipFlags tooltipFlags, ImGuiWindowFlags extraWindowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1110])(tooltipFlags, extraWindowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1110])(tooltipFlags, extraWindowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginTooltipEx(ImGuiTooltipFlags tooltipFlags, ImGuiWindowFlags extraWindowFlags) - { - byte ret = BeginTooltipExNative(tooltipFlags, extraWindowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTooltipHiddenNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1111])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1111])(); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginTooltipHidden() - { - byte ret = BeginTooltipHiddenNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginViewportSideBarNative(byte* name, ImGuiViewport* viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1112])(name, viewport, dir, size, windowFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1112])((nint)name, (nint)viewport, dir, size, windowFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(byte* name, ImGuiViewportPtr viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - byte ret = BeginViewportSideBarNative(name, viewport, dir, size, windowFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(ref byte name, ImGuiViewportPtr viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - fixed (byte* pname = &name) - { - byte ret = BeginViewportSideBarNative((byte*)pname, viewport, dir, size, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(ReadOnlySpan name, ImGuiViewportPtr viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - fixed (byte* pname = name) - { - byte ret = BeginViewportSideBarNative((byte*)pname, viewport, dir, size, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(string name, ImGuiViewportPtr viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginViewportSideBarNative(pStr0, viewport, dir, size, windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(byte* name, ref ImGuiViewport viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - byte ret = BeginViewportSideBarNative(name, (ImGuiViewport*)pviewport, dir, size, windowFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(ref byte name, ref ImGuiViewport viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - fixed (byte* pname = &name) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - byte ret = BeginViewportSideBarNative((byte*)pname, (ImGuiViewport*)pviewport, dir, size, windowFlags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(ReadOnlySpan name, ref ImGuiViewport viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - fixed (byte* pname = name) - { - fixed (ImGuiViewport* pviewport = &viewport) - { - byte ret = BeginViewportSideBarNative((byte*)pname, (ImGuiViewport*)pviewport, dir, size, windowFlags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginViewportSideBar(string name, ref ImGuiViewport viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImGuiViewport* pviewport = &viewport) - { - byte ret = BeginViewportSideBarNative(pStr0, (ImGuiViewport*)pviewport, dir, size, windowFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginMenuExNative(byte* label, byte* icon, byte enabled) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1113])(label, icon, enabled); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1113])((nint)label, (nint)icon, enabled); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, byte* icon, bool enabled) - { - byte ret = BeginMenuExNative(label, icon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, byte* icon) - { - byte ret = BeginMenuExNative(label, icon, (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, byte* icon, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = BeginMenuExNative((byte*)plabel, icon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, byte* icon) - { - fixed (byte* plabel = &label) - { - byte ret = BeginMenuExNative((byte*)plabel, icon, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, byte* icon, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = BeginMenuExNative((byte*)plabel, icon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, byte* icon) - { - fixed (byte* plabel = label) - { - byte ret = BeginMenuExNative((byte*)plabel, icon, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, byte* icon, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative(pStr0, icon, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, byte* icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative(pStr0, icon, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, ref byte icon, bool enabled) - { - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative(label, (byte*)picon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, ref byte icon) - { - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative(label, (byte*)picon, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, ReadOnlySpan icon, bool enabled) - { - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative(label, (byte*)picon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, ReadOnlySpan icon) - { - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative(label, (byte*)picon, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, string icon, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative(label, pStr0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(byte* label, string icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative(label, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, ref byte icon, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, ref byte icon) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, ReadOnlySpan icon, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, ReadOnlySpan icon) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, string icon, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = BeginMenuExNative(pStr0, pStr1, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, string icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = BeginMenuExNative(pStr0, pStr1, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, ReadOnlySpan icon, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, ReadOnlySpan icon) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, string icon, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative((byte*)plabel, pStr0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ref byte label, string icon) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative((byte*)plabel, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, ref byte icon, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, ref byte icon) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative((byte*)plabel, (byte*)picon, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, string icon, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative((byte*)plabel, pStr0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(ReadOnlySpan label, string icon) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginMenuExNative((byte*)plabel, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, ref byte icon, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative(pStr0, (byte*)picon, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, ref byte icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = BeginMenuExNative(pStr0, (byte*)picon, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, ReadOnlySpan icon, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative(pStr0, (byte*)picon, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginMenuEx(string label, ReadOnlySpan icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = BeginMenuExNative(pStr0, (byte*)picon, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte MenuItemExNative(byte* label, byte* icon, byte* shortcut, byte selected, byte enabled) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1114])(label, icon, shortcut, selected, enabled); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1114])((nint)label, (nint)icon, (nint)shortcut, selected, enabled); - #endif - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, byte* shortcut, bool selected, bool enabled) - { - byte ret = MenuItemExNative(label, icon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, byte* shortcut, bool selected) - { - byte ret = MenuItemExNative(label, icon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, byte* shortcut) - { - byte ret = MenuItemExNative(label, icon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon) - { - byte ret = MenuItemExNative(label, icon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.010.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.010.cs deleted file mode 100644 index 31c740956..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.010.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, bool selected) - { - byte ret = MenuItemExNative(label, icon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, bool selected, bool enabled) - { - byte ret = MenuItemExNative(label, icon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, byte* shortcut) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, bool selected) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, byte* shortcut) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, bool selected) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, byte* shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, byte* shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, byte* shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, byte* shortcut, bool selected) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, byte* shortcut) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, bool selected) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, bool selected, bool enabled) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, byte* shortcut, bool selected) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, byte* shortcut) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, bool selected) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, bool selected, bool enabled) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, byte* shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, pStr0, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, byte* shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, pStr0, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, byte* shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, pStr0, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, pStr0, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, byte* shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, byte* shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, byte* shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, byte* shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, byte* shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, shortcut, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, byte* shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, byte* shortcut) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, byte* shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, byte* shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, byte* shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, byte* shortcut) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, byte* shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, byte* shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, byte* shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, byte* shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, byte* shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, shortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, byte* shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, shortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)(default), (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)(default), selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, ref byte shortcut, bool selected) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, ref byte shortcut) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, ReadOnlySpan shortcut) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, icon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, icon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, byte* icon, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, icon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, ref byte shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, icon, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, icon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, string shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, icon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, byte* icon, string shortcut) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, icon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, ref byte shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, icon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, string shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, icon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, byte* icon, string shortcut) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, icon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, ref byte shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, ref byte shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, ref byte shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, ReadOnlySpan shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, icon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, byte* icon, ReadOnlySpan shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, icon, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, ref byte shortcut, bool selected) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, ref byte shortcut) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, ReadOnlySpan shortcut) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(label, pStr0, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(label, pStr0, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(label, pStr0, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, ReadOnlySpan shortcut) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, string shortcut, bool selected) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ref byte icon, string shortcut) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, (byte*)picon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, ref byte shortcut, bool selected) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, ref byte shortcut) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, string shortcut, bool selected) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, ReadOnlySpan icon, string shortcut) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative(label, (byte*)picon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, ref byte shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, ref byte shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, ref byte shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(label, pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, ReadOnlySpan shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(byte* label, string icon, ReadOnlySpan shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(label, pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, ref byte shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (shortcut != null) - { - pStrSize2 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(shortcut, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, pStr2, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (shortcut != null) - { - pStrSize2 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(shortcut, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, pStr2, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (shortcut != null) - { - pStrSize2 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(shortcut, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = MenuItemExNative(pStr0, pStr1, pStr2, (byte)(0), (byte)(1)); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, string shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ref byte icon, string shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, ref byte shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, string shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, ReadOnlySpan icon, string shortcut) - { - fixed (byte* plabel = &label) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, ref byte shortcut) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, string shortcut, bool selected) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ref byte label, string icon, string shortcut) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, ref byte shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, string shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.011.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.011.cs deleted file mode 100644 index 0e389624c..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.011.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ref byte icon, string shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = &icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, ref byte shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, string shortcut, bool selected) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, ReadOnlySpan icon, string shortcut) - { - fixed (byte* plabel = label) - { - fixed (byte* picon = icon) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (shortcut != null) - { - pStrSize0 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(shortcut, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, (byte*)picon, pStr0, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, ref byte shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, ref byte shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, ref byte shortcut) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, ReadOnlySpan shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, ReadOnlySpan shortcut) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative((byte*)plabel, pStr0, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, string shortcut, bool selected, bool enabled) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, string shortcut, bool selected) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(ReadOnlySpan label, string icon, string shortcut) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (icon != null) - { - pStrSize0 = Utils.GetByteCountUTF8(icon); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(icon, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative((byte*)plabel, pStr0, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, ref byte shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, ref byte shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, ref byte shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, ReadOnlySpan shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, ReadOnlySpan shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, (byte*)picon, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, (byte*)picon, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ref byte icon, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = &icon) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, (byte*)picon, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, ref byte shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, ref byte shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, ref byte shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, ReadOnlySpan shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, ReadOnlySpan shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, (byte*)picon, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, string shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, (byte*)picon, pStr1, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, string shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, (byte*)picon, pStr1, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, ReadOnlySpan icon, string shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* picon = icon) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (shortcut != null) - { - pStrSize1 = Utils.GetByteCountUTF8(shortcut); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(shortcut, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = MenuItemExNative(pStr0, (byte*)picon, pStr1, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, ref byte shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, ref byte shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, ref byte shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pshortcut = &shortcut) - { - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, ReadOnlySpan shortcut, bool selected, bool enabled) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)pshortcut, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, ReadOnlySpan shortcut, bool selected) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)pshortcut, selected ? (byte)1 : (byte)0, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool MenuItemEx(string label, string icon, ReadOnlySpan shortcut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (icon != null) - { - pStrSize1 = Utils.GetByteCountUTF8(icon); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(icon, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pshortcut = shortcut) - { - byte ret = MenuItemExNative(pStr0, pStr1, (byte*)pshortcut, (byte)(0), (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginComboPopupNative(uint popupId, ImRect bb, ImGuiComboFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1115])(popupId, bb, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1115])(popupId, bb, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginComboPopup(uint popupId, ImRect bb, ImGuiComboFlags flags) - { - byte ret = BeginComboPopupNative(popupId, bb, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginComboPreviewNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1116])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1116])(); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginComboPreview() - { - byte ret = BeginComboPreviewNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndComboPreviewNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1117])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1117])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndComboPreview() - { - EndComboPreviewNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavInitWindowNative(ImGuiWindow* window, byte forceReinit) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1118])(window, forceReinit); - #else - ((delegate* unmanaged[Cdecl])funcTable[1118])((nint)window, forceReinit); - #endif - } - - /// - /// To be documented. - /// - public static void NavInitWindow(ImGuiWindowPtr window, bool forceReinit) - { - NavInitWindowNative(window, forceReinit ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void NavInitWindow(ref ImGuiWindow window, bool forceReinit) - { - fixed (ImGuiWindow* pwindow = &window) - { - NavInitWindowNative((ImGuiWindow*)pwindow, forceReinit ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavInitRequestApplyResultNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1119])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1119])(); - #endif - } - - /// - /// To be documented. - /// - public static void NavInitRequestApplyResult() - { - NavInitRequestApplyResultNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte NavMoveRequestButNoResultYetNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1120])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1120])(); - #endif - } - - /// - /// To be documented. - /// - public static bool NavMoveRequestButNoResultYet() - { - byte ret = NavMoveRequestButNoResultYetNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestSubmitNative(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1121])(moveDir, clipDir, moveFlags, scrollFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1121])(moveDir, clipDir, moveFlags, scrollFlags); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestSubmit(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) - { - NavMoveRequestSubmitNative(moveDir, clipDir, moveFlags, scrollFlags); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestForwardNative(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1122])(moveDir, clipDir, moveFlags, scrollFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1122])(moveDir, clipDir, moveFlags, scrollFlags); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestForward(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) - { - NavMoveRequestForwardNative(moveDir, clipDir, moveFlags, scrollFlags); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestResolveWithLastItemNative(ImGuiNavItemData* result) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1123])(result); - #else - ((delegate* unmanaged[Cdecl])funcTable[1123])((nint)result); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestResolveWithLastItem(ImGuiNavItemDataPtr result) - { - NavMoveRequestResolveWithLastItemNative(result); - } - - /// - /// To be documented. - /// - public static void NavMoveRequestResolveWithLastItem(ref ImGuiNavItemData result) - { - fixed (ImGuiNavItemData* presult = &result) - { - NavMoveRequestResolveWithLastItemNative((ImGuiNavItemData*)presult); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestResolveWithPastTreeNodeNative(ImGuiNavItemData* result, ImGuiTreeNodeStackData* treeNodeData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1124])(result, treeNodeData); - #else - ((delegate* unmanaged[Cdecl])funcTable[1124])((nint)result, (nint)treeNodeData); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestResolveWithPastTreeNode(ImGuiNavItemDataPtr result, ImGuiTreeNodeStackDataPtr treeNodeData) - { - NavMoveRequestResolveWithPastTreeNodeNative(result, treeNodeData); - } - - /// - /// To be documented. - /// - public static void NavMoveRequestResolveWithPastTreeNode(ref ImGuiNavItemData result, ImGuiTreeNodeStackDataPtr treeNodeData) - { - fixed (ImGuiNavItemData* presult = &result) - { - NavMoveRequestResolveWithPastTreeNodeNative((ImGuiNavItemData*)presult, treeNodeData); - } - } - - /// - /// To be documented. - /// - public static void NavMoveRequestResolveWithPastTreeNode(ImGuiNavItemDataPtr result, ref ImGuiTreeNodeStackData treeNodeData) - { - fixed (ImGuiTreeNodeStackData* ptreeNodeData = &treeNodeData) - { - NavMoveRequestResolveWithPastTreeNodeNative(result, (ImGuiTreeNodeStackData*)ptreeNodeData); - } - } - - /// - /// To be documented. - /// - public static void NavMoveRequestResolveWithPastTreeNode(ref ImGuiNavItemData result, ref ImGuiTreeNodeStackData treeNodeData) - { - fixed (ImGuiNavItemData* presult = &result) - { - fixed (ImGuiTreeNodeStackData* ptreeNodeData = &treeNodeData) - { - NavMoveRequestResolveWithPastTreeNodeNative((ImGuiNavItemData*)presult, (ImGuiTreeNodeStackData*)ptreeNodeData); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestCancelNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1125])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1125])(); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestCancel() - { - NavMoveRequestCancelNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestApplyResultNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1126])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1126])(); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestApplyResult() - { - NavMoveRequestApplyResultNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavMoveRequestTryWrappingNative(ImGuiWindow* window, ImGuiNavMoveFlags moveFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1127])(window, moveFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1127])((nint)window, moveFlags); - #endif - } - - /// - /// To be documented. - /// - public static void NavMoveRequestTryWrapping(ImGuiWindowPtr window, ImGuiNavMoveFlags moveFlags) - { - NavMoveRequestTryWrappingNative(window, moveFlags); - } - - /// - /// To be documented. - /// - public static void NavMoveRequestTryWrapping(ref ImGuiWindow window, ImGuiNavMoveFlags moveFlags) - { - fixed (ImGuiWindow* pwindow = &window) - { - NavMoveRequestTryWrappingNative((ImGuiWindow*)pwindow, moveFlags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavHighlightActivatedNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1128])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1128])(id); - #endif - } - - /// - /// To be documented. - /// - public static void NavHighlightActivated(uint id) - { - NavHighlightActivatedNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavClearPreferredPosForAxisNative(ImGuiAxis axis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1129])(axis); - #else - ((delegate* unmanaged[Cdecl])funcTable[1129])(axis); - #endif - } - - /// - /// To be documented. - /// - public static void NavClearPreferredPosForAxis(ImGuiAxis axis) - { - NavClearPreferredPosForAxisNative(axis); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNavCursorVisibleAfterMoveNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1130])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1130])(); - #endif - } - - /// - /// To be documented. - /// - public static void SetNavCursorVisibleAfterMove() - { - SetNavCursorVisibleAfterMoveNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavUpdateCurrentWindowIsScrollPushableXNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1131])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1131])(); - #endif - } - - /// - /// To be documented. - /// - public static void NavUpdateCurrentWindowIsScrollPushableX() - { - NavUpdateCurrentWindowIsScrollPushableXNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNavWindowNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1132])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1132])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void SetNavWindow(ImGuiWindowPtr window) - { - SetNavWindowNative(window); - } - - /// - /// To be documented. - /// - public static void SetNavWindow(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetNavWindowNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNavIDNative(uint id, ImGuiNavLayer navLayer, uint focusScopeId, ImRect rectRel) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1133])(id, navLayer, focusScopeId, rectRel); - #else - ((delegate* unmanaged[Cdecl])funcTable[1133])(id, navLayer, focusScopeId, rectRel); - #endif - } - - /// - /// To be documented. - /// - public static void SetNavID(uint id, ImGuiNavLayer navLayer, uint focusScopeId, ImRect rectRel) - { - SetNavIDNative(id, navLayer, focusScopeId, rectRel); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNavFocusScopeNative(uint focusScopeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1134])(focusScopeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1134])(focusScopeId); - #endif - } - - /// - /// To be documented. - /// - public static void SetNavFocusScope(uint focusScopeId) - { - SetNavFocusScopeNative(focusScopeId); - } - - /// - /// Focus last item (no selectionactivation).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FocusItemNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1135])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1135])(); - #endif - } - - /// - /// Focus last item (no selectionactivation).
- ///
- public static void FocusItem() - { - FocusItemNative(); - } - - /// - /// Activate an item by ID (button, checkbox, tree node etc.). Activation is queued and processed on the next frame when the item is encountered again.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ActivateItemByIDNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1136])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1136])(id); - #endif - } - - /// - /// Activate an item by ID (button, checkbox, tree node etc.). Activation is queued and processed on the next frame when the item is encountered again.
- ///
- public static void ActivateItemByID(uint id) - { - ActivateItemByIDNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsNamedKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1137])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1137])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsNamedKey(ImGuiKey key) - { - byte ret = IsNamedKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsNamedKeyOrModNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1138])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1138])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsNamedKeyOrMod(ImGuiKey key) - { - byte ret = IsNamedKeyOrModNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLegacyKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1139])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1139])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLegacyKey(ImGuiKey key) - { - byte ret = IsLegacyKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyboardKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1140])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1140])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsKeyboardKey(ImGuiKey key) - { - byte ret = IsKeyboardKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsGamepadKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1141])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1141])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsGamepadKey(ImGuiKey key) - { - byte ret = IsGamepadKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1142])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1142])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsMouseKey(ImGuiKey key) - { - byte ret = IsMouseKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAliasKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1143])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1143])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsAliasKey(ImGuiKey key) - { - byte ret = IsAliasKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLRModKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1144])(key); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1144])(key); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLRModKey(ImGuiKey key) - { - byte ret = IsLRModKeyNative(key); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int FixupKeyChordNative(int keyChord) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1145])(keyChord); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1145])(keyChord); - #endif - } - - /// - /// To be documented. - /// - public static int FixupKeyChord(int keyChord) - { - int ret = FixupKeyChordNative(keyChord); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKey ConvertSingleModFlagToKeyNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1146])(key); - #else - return (ImGuiKey)((delegate* unmanaged[Cdecl])funcTable[1146])(key); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKey ConvertSingleModFlagToKey(ImGuiKey key) - { - ImGuiKey ret = ConvertSingleModFlagToKeyNative(key); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyData* GetKeyDataNative(ImGuiContext* ctx, ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1147])(ctx, key); - #else - return (ImGuiKeyData*)((delegate* unmanaged[Cdecl])funcTable[1147])((nint)ctx, key); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyDataPtr GetKeyData(ImGuiContextPtr ctx, ImGuiKey key) - { - ImGuiKeyDataPtr ret = GetKeyDataNative(ctx, key); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiKeyDataPtr GetKeyData(ref ImGuiContext ctx, ImGuiKey key) - { - fixed (ImGuiContext* pctx = &ctx) - { - ImGuiKeyDataPtr ret = GetKeyDataNative((ImGuiContext*)pctx, key); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyData* GetKeyDataNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1148])(key); - #else - return (ImGuiKeyData*)((delegate* unmanaged[Cdecl])funcTable[1148])(key); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyDataPtr GetKeyData(ImGuiKey key) - { - ImGuiKeyDataPtr ret = GetKeyDataNative(key); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKey MouseButtonToKeyNative(ImGuiMouseButton button) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1149])(button); - #else - return (ImGuiKey)((delegate* unmanaged[Cdecl])funcTable[1149])(button); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKey MouseButtonToKey(ImGuiMouseButton button) - { - ImGuiKey ret = MouseButtonToKeyNative(button); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseDragPastThresholdNative(ImGuiMouseButton button, float lockThreshold) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1150])(button, lockThreshold); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1150])(button, lockThreshold); - #endif - } - - /// - /// To be documented. - /// - public static bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lockThreshold) - { - byte ret = IsMouseDragPastThresholdNative(button, lockThreshold); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsMouseDragPastThreshold(ImGuiMouseButton button) - { - byte ret = IsMouseDragPastThresholdNative(button, (float)(-1.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetKeyMagnitude2dNative(Vector2* pOut, ImGuiKey keyLeft, ImGuiKey keyRight, ImGuiKey keyUp, ImGuiKey keyDown) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1151])(pOut, keyLeft, keyRight, keyUp, keyDown); - #else - ((delegate* unmanaged[Cdecl])funcTable[1151])((nint)pOut, keyLeft, keyRight, keyUp, keyDown); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetKeyMagnitude2d(ImGuiKey keyLeft, ImGuiKey keyRight, ImGuiKey keyUp, ImGuiKey keyDown) - { - Vector2 ret; - GetKeyMagnitude2dNative(&ret, keyLeft, keyRight, keyUp, keyDown); - return ret; - } - - /// - /// To be documented. - /// - public static void GetKeyMagnitude2d(Vector2* pOut, ImGuiKey keyLeft, ImGuiKey keyRight, ImGuiKey keyUp, ImGuiKey keyDown) - { - GetKeyMagnitude2dNative(pOut, keyLeft, keyRight, keyUp, keyDown); - } - - /// - /// To be documented. - /// - public static void GetKeyMagnitude2d(ref Vector2 pOut, ImGuiKey keyLeft, ImGuiKey keyRight, ImGuiKey keyUp, ImGuiKey keyDown) - { - fixed (Vector2* ppOut = &pOut) - { - GetKeyMagnitude2dNative((Vector2*)ppOut, keyLeft, keyRight, keyUp, keyDown); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetNavTweakPressedAmountNative(ImGuiAxis axis) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1152])(axis); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1152])(axis); - #endif - } - - /// - /// To be documented. - /// - public static float GetNavTweakPressedAmount(ImGuiAxis axis) - { - float ret = GetNavTweakPressedAmountNative(axis); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int CalcTypematicRepeatAmountNative(float t0, float t1, float repeatDelay, float repeatRate) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1153])(t0, t1, repeatDelay, repeatRate); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1153])(t0, t1, repeatDelay, repeatRate); - #endif - } - - /// - /// To be documented. - /// - public static int CalcTypematicRepeatAmount(float t0, float t1, float repeatDelay, float repeatRate) - { - int ret = CalcTypematicRepeatAmountNative(t0, t1, repeatDelay, repeatRate); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetTypematicRepeatRateNative(ImGuiInputFlags flags, float* repeatDelay, float* repeatRate) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1154])(flags, repeatDelay, repeatRate); - #else - ((delegate* unmanaged[Cdecl])funcTable[1154])(flags, (nint)repeatDelay, (nint)repeatRate); - #endif - } - - /// - /// To be documented. - /// - public static void GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeatDelay, float* repeatRate) - { - GetTypematicRepeatRateNative(flags, repeatDelay, repeatRate); - } - - /// - /// To be documented. - /// - public static void GetTypematicRepeatRate(ImGuiInputFlags flags, ref float repeatDelay, float* repeatRate) - { - fixed (float* prepeatDelay = &repeatDelay) - { - GetTypematicRepeatRateNative(flags, (float*)prepeatDelay, repeatRate); - } - } - - /// - /// To be documented. - /// - public static void GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeatDelay, ref float repeatRate) - { - fixed (float* prepeatRate = &repeatRate) - { - GetTypematicRepeatRateNative(flags, repeatDelay, (float*)prepeatRate); - } - } - - /// - /// To be documented. - /// - public static void GetTypematicRepeatRate(ImGuiInputFlags flags, ref float repeatDelay, ref float repeatRate) - { - fixed (float* prepeatDelay = &repeatDelay) - { - fixed (float* prepeatRate = &repeatRate) - { - GetTypematicRepeatRateNative(flags, (float*)prepeatDelay, (float*)prepeatRate); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TeleportMousePosNative(Vector2 pos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1155])(pos); - #else - ((delegate* unmanaged[Cdecl])funcTable[1155])(pos); - #endif - } - - /// - /// To be documented. - /// - public static void TeleportMousePos(Vector2 pos) - { - TeleportMousePosNative(pos); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetActiveIdUsingAllKeyboardKeysNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1156])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1156])(); - #endif - } - - /// - /// To be documented. - /// - public static void SetActiveIdUsingAllKeyboardKeys() - { - SetActiveIdUsingAllKeyboardKeysNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsActiveIdUsingNavDirNative(ImGuiDir dir) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1157])(dir); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1157])(dir); - #endif - } - - /// - /// To be documented. - /// - public static bool IsActiveIdUsingNavDir(ImGuiDir dir) - { - byte ret = IsActiveIdUsingNavDirNative(dir); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetKeyOwnerNative(ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1158])(key); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1158])(key); - #endif - } - - /// - /// To be documented. - /// - public static uint GetKeyOwner(ImGuiKey key) - { - uint ret = GetKeyOwnerNative(key); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetKeyOwnerNative(ImGuiKey key, uint ownerId, ImGuiInputFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1159])(key, ownerId, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1159])(key, ownerId, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetKeyOwner(ImGuiKey key, uint ownerId, ImGuiInputFlags flags) - { - SetKeyOwnerNative(key, ownerId, flags); - } - - /// - /// To be documented. - /// - public static void SetKeyOwner(ImGuiKey key, uint ownerId) - { - SetKeyOwnerNative(key, ownerId, (ImGuiInputFlags)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetKeyOwnersForKeyChordNative(int key, uint ownerId, ImGuiInputFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1160])(key, ownerId, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1160])(key, ownerId, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetKeyOwnersForKeyChord(int key, uint ownerId, ImGuiInputFlags flags) - { - SetKeyOwnersForKeyChordNative(key, ownerId, flags); - } - - /// - /// To be documented. - /// - public static void SetKeyOwnersForKeyChord(int key, uint ownerId) - { - SetKeyOwnersForKeyChordNative(key, ownerId, (ImGuiInputFlags)(0)); - } - - /// - /// Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetItemKeyOwnerNative(ImGuiKey key, ImGuiInputFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1161])(key, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1161])(key, flags); - #endif - } - - /// - /// Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'.
- ///
- public static void SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags) - { - SetItemKeyOwnerNative(key, flags); - } - - /// - /// Test that key is either not owned, either owned by 'owner_id'
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TestKeyOwnerNative(ImGuiKey key, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1162])(key, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1162])(key, ownerId); - #endif - } - - /// - /// Test that key is either not owned, either owned by 'owner_id'
- ///
- public static bool TestKeyOwner(ImGuiKey key, uint ownerId) - { - byte ret = TestKeyOwnerNative(key, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyOwnerData* GetKeyOwnerDataNative(ImGuiContext* ctx, ImGuiKey key) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1163])(ctx, key); - #else - return (ImGuiKeyOwnerData*)((delegate* unmanaged[Cdecl])funcTable[1163])((nint)ctx, key); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyOwnerDataPtr GetKeyOwnerData(ImGuiContextPtr ctx, ImGuiKey key) - { - ImGuiKeyOwnerDataPtr ret = GetKeyOwnerDataNative(ctx, key); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiKeyOwnerDataPtr GetKeyOwnerData(ref ImGuiContext ctx, ImGuiKey key) - { - fixed (ImGuiContext* pctx = &ctx) - { - ImGuiKeyOwnerDataPtr ret = GetKeyOwnerDataNative((ImGuiContext*)pctx, key); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyDownNative(ImGuiKey key, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1164])(key, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1164])(key, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsKeyDown(ImGuiKey key, uint ownerId) - { - byte ret = IsKeyDownNative(key, ownerId); - return ret != 0; - } - - /// - /// Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requiress explicit ImGuiInputFlags_Repeat.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyPressedNative(ImGuiKey key, ImGuiInputFlags flags, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1165])(key, flags, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1165])(key, flags, ownerId); - #endif - } - - /// - /// Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requiress explicit ImGuiInputFlags_Repeat.
- ///
- public static bool IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags, uint ownerId) - { - byte ret = IsKeyPressedNative(key, flags, ownerId); - return ret != 0; - } - - /// - /// Important: when transitioning from old to new IsKeyPressed(): old API has "bool repeat = true", so would default to repeat. New API requiress explicit ImGuiInputFlags_Repeat.
- ///
- public static bool IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags) - { - byte ret = IsKeyPressedNative(key, flags, (uint)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyReleasedNative(ImGuiKey key, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1166])(key, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1166])(key, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsKeyReleased(ImGuiKey key, uint ownerId) - { - byte ret = IsKeyReleasedNative(key, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsKeyChordPressedNative(int keyChord, ImGuiInputFlags flags, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1167])(keyChord, flags, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1167])(keyChord, flags, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsKeyChordPressed(int keyChord, ImGuiInputFlags flags, uint ownerId) - { - byte ret = IsKeyChordPressedNative(keyChord, flags, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsKeyChordPressed(int keyChord, ImGuiInputFlags flags) - { - byte ret = IsKeyChordPressedNative(keyChord, flags, (uint)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseDownNative(ImGuiMouseButton button, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1168])(button, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1168])(button, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsMouseDown(ImGuiMouseButton button, uint ownerId) - { - byte ret = IsMouseDownNative(button, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseClickedNative(ImGuiMouseButton button, ImGuiInputFlags flags, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1169])(button, flags, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1169])(button, flags, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsMouseClicked(ImGuiMouseButton button, ImGuiInputFlags flags, uint ownerId) - { - byte ret = IsMouseClickedNative(button, flags, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsMouseClicked(ImGuiMouseButton button, ImGuiInputFlags flags) - { - byte ret = IsMouseClickedNative(button, flags, (uint)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseReleasedNative(ImGuiMouseButton button, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1170])(button, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1170])(button, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsMouseReleased(ImGuiMouseButton button, uint ownerId) - { - byte ret = IsMouseReleasedNative(button, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsMouseDoubleClickedNative(ImGuiMouseButton button, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1171])(button, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1171])(button, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsMouseDoubleClicked(ImGuiMouseButton button, uint ownerId) - { - byte ret = IsMouseDoubleClickedNative(button, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShortcutNative(int keyChord, ImGuiInputFlags flags, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1172])(keyChord, flags, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1172])(keyChord, flags, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool Shortcut(int keyChord, ImGuiInputFlags flags, uint ownerId) - { - byte ret = ShortcutNative(keyChord, flags, ownerId); - return ret != 0; - } - - /// - /// owner_id needs to be explicit and cannot be 0
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SetShortcutRoutingNative(int keyChord, ImGuiInputFlags flags, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1173])(keyChord, flags, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1173])(keyChord, flags, ownerId); - #endif - } - - /// - /// owner_id needs to be explicit and cannot be 0
- ///
- public static bool SetShortcutRouting(int keyChord, ImGuiInputFlags flags, uint ownerId) - { - byte ret = SetShortcutRoutingNative(keyChord, flags, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TestShortcutRoutingNative(int keyChord, uint ownerId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1174])(keyChord, ownerId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1174])(keyChord, ownerId); - #endif - } - - /// - /// To be documented. - /// - public static bool TestShortcutRouting(int keyChord, uint ownerId) - { - byte ret = TestShortcutRoutingNative(keyChord, ownerId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiKeyRoutingData* GetShortcutRoutingDataNative(int keyChord) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1175])(keyChord); - #else - return (ImGuiKeyRoutingData*)((delegate* unmanaged[Cdecl])funcTable[1175])(keyChord); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiKeyRoutingDataPtr GetShortcutRoutingData(int keyChord) - { - ImGuiKeyRoutingDataPtr ret = GetShortcutRoutingDataNative(keyChord); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextInitializeNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1176])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1176])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextInitialize(ImGuiContextPtr ctx) - { - DockContextInitializeNative(ctx); - } - - /// - /// To be documented. - /// - public static void DockContextInitialize(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextInitializeNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextShutdownNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1177])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1177])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextShutdown(ImGuiContextPtr ctx) - { - DockContextShutdownNative(ctx); - } - - /// - /// To be documented. - /// - public static void DockContextShutdown(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextShutdownNative((ImGuiContext*)pctx); - } - } - - /// - /// Use root_id==0 to clear all
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextClearNodesNative(ImGuiContext* ctx, uint rootId, byte clearSettingsRefs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1178])(ctx, rootId, clearSettingsRefs); - #else - ((delegate* unmanaged[Cdecl])funcTable[1178])((nint)ctx, rootId, clearSettingsRefs); - #endif - } - - /// - /// Use root_id==0 to clear all
- ///
- public static void DockContextClearNodes(ImGuiContextPtr ctx, uint rootId, bool clearSettingsRefs) - { - DockContextClearNodesNative(ctx, rootId, clearSettingsRefs ? (byte)1 : (byte)0); - } - - /// - /// Use root_id==0 to clear all
- ///
- public static void DockContextClearNodes(ref ImGuiContext ctx, uint rootId, bool clearSettingsRefs) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextClearNodesNative((ImGuiContext*)pctx, rootId, clearSettingsRefs ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextRebuildNodesNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1179])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1179])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextRebuildNodes(ImGuiContextPtr ctx) - { - DockContextRebuildNodesNative(ctx); - } - - /// - /// To be documented. - /// - public static void DockContextRebuildNodes(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextRebuildNodesNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextNewFrameUpdateUndockingNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1180])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1180])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextNewFrameUpdateUndocking(ImGuiContextPtr ctx) - { - DockContextNewFrameUpdateUndockingNative(ctx); - } - - /// - /// To be documented. - /// - public static void DockContextNewFrameUpdateUndocking(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextNewFrameUpdateUndockingNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextNewFrameUpdateDockingNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1181])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1181])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextNewFrameUpdateDocking(ImGuiContextPtr ctx) - { - DockContextNewFrameUpdateDockingNative(ctx); - } - - /// - /// To be documented. - /// - public static void DockContextNewFrameUpdateDocking(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextNewFrameUpdateDockingNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextEndFrameNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1182])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1182])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextEndFrame(ImGuiContextPtr ctx) - { - DockContextEndFrameNative(ctx); - } - - /// - /// To be documented. - /// - public static void DockContextEndFrame(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextEndFrameNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint DockContextGenNodeIDNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1183])(ctx); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1183])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static uint DockContextGenNodeID(ImGuiContextPtr ctx) - { - uint ret = DockContextGenNodeIDNative(ctx); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockContextGenNodeID(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - uint ret = DockContextGenNodeIDNative((ImGuiContext*)pctx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextQueueDockNative(ImGuiContext* ctx, ImGuiWindow* target, ImGuiDockNode* targetNode, ImGuiWindow* payload, ImGuiDir splitDir, float splitRatio, byte splitOuter) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1184])(ctx, target, targetNode, payload, splitDir, splitRatio, splitOuter); - #else - ((delegate* unmanaged[Cdecl])funcTable[1184])((nint)ctx, (nint)target, (nint)targetNode, (nint)payload, splitDir, splitRatio, splitOuter); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - DockContextQueueDockNative(ctx, target, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextQueueDockNative((ImGuiContext*)pctx, target, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiWindow* ptarget = &target) - { - DockContextQueueDockNative(ctx, (ImGuiWindow*)ptarget, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* ptarget = &target) - { - DockContextQueueDockNative((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - DockContextQueueDockNative(ctx, target, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - DockContextQueueDockNative((ImGuiContext*)pctx, target, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - DockContextQueueDockNative(ctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - DockContextQueueDockNative((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative(ctx, target, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative((ImGuiContext*)pctx, target, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative(ctx, (ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative(ctx, target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative((ImGuiContext*)pctx, target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative(ctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayload = &payload) - { - DockContextQueueDockNative((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextQueueUndockWindowNative(ImGuiContext* ctx, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1185])(ctx, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1185])((nint)ctx, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockWindow(ImGuiContextPtr ctx, ImGuiWindowPtr window) - { - DockContextQueueUndockWindowNative(ctx, window); - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockWindow(ref ImGuiContext ctx, ImGuiWindowPtr window) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextQueueUndockWindowNative((ImGuiContext*)pctx, window); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockWindow(ImGuiContextPtr ctx, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - DockContextQueueUndockWindowNative(ctx, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockWindow(ref ImGuiContext ctx, ref ImGuiWindow window) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* pwindow = &window) - { - DockContextQueueUndockWindowNative((ImGuiContext*)pctx, (ImGuiWindow*)pwindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextQueueUndockNodeNative(ImGuiContext* ctx, ImGuiDockNode* node) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1186])(ctx, node); - #else - ((delegate* unmanaged[Cdecl])funcTable[1186])((nint)ctx, (nint)node); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockNode(ImGuiContextPtr ctx, ImGuiDockNodePtr node) - { - DockContextQueueUndockNodeNative(ctx, node); - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockNode(ref ImGuiContext ctx, ImGuiDockNodePtr node) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextQueueUndockNodeNative((ImGuiContext*)pctx, node); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockNode(ImGuiContextPtr ctx, ref ImGuiDockNode node) - { - fixed (ImGuiDockNode* pnode = &node) - { - DockContextQueueUndockNodeNative(ctx, (ImGuiDockNode*)pnode); - } - } - - /// - /// To be documented. - /// - public static void DockContextQueueUndockNode(ref ImGuiContext ctx, ref ImGuiDockNode node) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiDockNode* pnode = &node) - { - DockContextQueueUndockNodeNative((ImGuiContext*)pctx, (ImGuiDockNode*)pnode); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextProcessUndockWindowNative(ImGuiContext* ctx, ImGuiWindow* window, byte clearPersistentDockingRef) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1187])(ctx, window, clearPersistentDockingRef); - #else - ((delegate* unmanaged[Cdecl])funcTable[1187])((nint)ctx, (nint)window, clearPersistentDockingRef); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ImGuiContextPtr ctx, ImGuiWindowPtr window, bool clearPersistentDockingRef) - { - DockContextProcessUndockWindowNative(ctx, window, clearPersistentDockingRef ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ImGuiContextPtr ctx, ImGuiWindowPtr window) - { - DockContextProcessUndockWindowNative(ctx, window, (byte)(1)); - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ref ImGuiContext ctx, ImGuiWindowPtr window, bool clearPersistentDockingRef) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextProcessUndockWindowNative((ImGuiContext*)pctx, window, clearPersistentDockingRef ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ref ImGuiContext ctx, ImGuiWindowPtr window) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextProcessUndockWindowNative((ImGuiContext*)pctx, window, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ImGuiContextPtr ctx, ref ImGuiWindow window, bool clearPersistentDockingRef) - { - fixed (ImGuiWindow* pwindow = &window) - { - DockContextProcessUndockWindowNative(ctx, (ImGuiWindow*)pwindow, clearPersistentDockingRef ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ImGuiContextPtr ctx, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - DockContextProcessUndockWindowNative(ctx, (ImGuiWindow*)pwindow, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ref ImGuiContext ctx, ref ImGuiWindow window, bool clearPersistentDockingRef) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* pwindow = &window) - { - DockContextProcessUndockWindowNative((ImGuiContext*)pctx, (ImGuiWindow*)pwindow, clearPersistentDockingRef ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockWindow(ref ImGuiContext ctx, ref ImGuiWindow window) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiWindow* pwindow = &window) - { - DockContextProcessUndockWindowNative((ImGuiContext*)pctx, (ImGuiWindow*)pwindow, (byte)(1)); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockContextProcessUndockNodeNative(ImGuiContext* ctx, ImGuiDockNode* node) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1188])(ctx, node); - #else - ((delegate* unmanaged[Cdecl])funcTable[1188])((nint)ctx, (nint)node); - #endif - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockNode(ImGuiContextPtr ctx, ImGuiDockNodePtr node) - { - DockContextProcessUndockNodeNative(ctx, node); - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockNode(ref ImGuiContext ctx, ImGuiDockNodePtr node) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockContextProcessUndockNodeNative((ImGuiContext*)pctx, node); - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockNode(ImGuiContextPtr ctx, ref ImGuiDockNode node) - { - fixed (ImGuiDockNode* pnode = &node) - { - DockContextProcessUndockNodeNative(ctx, (ImGuiDockNode*)pnode); - } - } - - /// - /// To be documented. - /// - public static void DockContextProcessUndockNode(ref ImGuiContext ctx, ref ImGuiDockNode node) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiDockNode* pnode = &node) - { - DockContextProcessUndockNodeNative((ImGuiContext*)pctx, (ImGuiDockNode*)pnode); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DockContextCalcDropPosForDockingNative(ImGuiWindow* target, ImGuiDockNode* targetNode, ImGuiWindow* payloadWindow, ImGuiDockNode* payloadNode, ImGuiDir splitDir, byte splitOuter, Vector2* outPos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1189])(target, targetNode, payloadWindow, payloadNode, splitDir, splitOuter, outPos); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1189])((nint)target, (nint)targetNode, (nint)payloadWindow, (nint)payloadNode, splitDir, splitOuter, (nint)outPos); - #endif - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ImGuiDockNodePtr payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, payloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, targetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative(target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payloadWindow, ref ImGuiDockNode payloadNode, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) - { - fixed (ImGuiWindow* ptarget = &target) - { - fixed (ImGuiDockNode* ptargetNode = &targetNode) - { - fixed (ImGuiWindow* ppayloadWindow = &payloadWindow) - { - fixed (ImGuiDockNode* ppayloadNode = &payloadNode) - { - fixed (Vector2* poutPos = &outPos) - { - byte ret = DockContextCalcDropPosForDockingNative((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayloadWindow, (ImGuiDockNode*)ppayloadNode, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockNode* DockContextFindNodeByIDNative(ImGuiContext* ctx, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1190])(ctx, id); - #else - return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[1190])((nint)ctx, id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr DockContextFindNodeByID(ImGuiContextPtr ctx, uint id) - { - ImGuiDockNodePtr ret = DockContextFindNodeByIDNative(ctx, id); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr DockContextFindNodeByID(ref ImGuiContext ctx, uint id) - { - fixed (ImGuiContext* pctx = &ctx) - { - ImGuiDockNodePtr ret = DockContextFindNodeByIDNative((ImGuiContext*)pctx, id); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockNodeWindowMenuHandler_DefaultNative(ImGuiContext* ctx, ImGuiDockNode* node, ImGuiTabBar* tabBar) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1191])(ctx, node, tabBar); - #else - ((delegate* unmanaged[Cdecl])funcTable[1191])((nint)ctx, (nint)node, (nint)tabBar); - #endif - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ImGuiContextPtr ctx, ImGuiDockNodePtr node, ImGuiTabBarPtr tabBar) - { - DockNodeWindowMenuHandler_DefaultNative(ctx, node, tabBar); - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ref ImGuiContext ctx, ImGuiDockNodePtr node, ImGuiTabBarPtr tabBar) - { - fixed (ImGuiContext* pctx = &ctx) - { - DockNodeWindowMenuHandler_DefaultNative((ImGuiContext*)pctx, node, tabBar); - } - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ImGuiContextPtr ctx, ref ImGuiDockNode node, ImGuiTabBarPtr tabBar) - { - fixed (ImGuiDockNode* pnode = &node) - { - DockNodeWindowMenuHandler_DefaultNative(ctx, (ImGuiDockNode*)pnode, tabBar); - } - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ref ImGuiContext ctx, ref ImGuiDockNode node, ImGuiTabBarPtr tabBar) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiDockNode* pnode = &node) - { - DockNodeWindowMenuHandler_DefaultNative((ImGuiContext*)pctx, (ImGuiDockNode*)pnode, tabBar); - } - } - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ImGuiContextPtr ctx, ImGuiDockNodePtr node, ref ImGuiTabBar tabBar) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - DockNodeWindowMenuHandler_DefaultNative(ctx, node, (ImGuiTabBar*)ptabBar); - } - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ref ImGuiContext ctx, ImGuiDockNodePtr node, ref ImGuiTabBar tabBar) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - DockNodeWindowMenuHandler_DefaultNative((ImGuiContext*)pctx, node, (ImGuiTabBar*)ptabBar); - } - } - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ImGuiContextPtr ctx, ref ImGuiDockNode node, ref ImGuiTabBar tabBar) - { - fixed (ImGuiDockNode* pnode = &node) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - DockNodeWindowMenuHandler_DefaultNative(ctx, (ImGuiDockNode*)pnode, (ImGuiTabBar*)ptabBar); - } - } - } - - /// - /// To be documented. - /// - public static void DockNodeWindowMenuHandler_Default(ref ImGuiContext ctx, ref ImGuiDockNode node, ref ImGuiTabBar tabBar) - { - fixed (ImGuiContext* pctx = &ctx) - { - fixed (ImGuiDockNode* pnode = &node) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - DockNodeWindowMenuHandler_DefaultNative((ImGuiContext*)pctx, (ImGuiDockNode*)pnode, (ImGuiTabBar*)ptabBar); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DockNodeBeginAmendTabBarNative(ImGuiDockNode* node) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1192])(node); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1192])((nint)node); - #endif - } - - /// - /// To be documented. - /// - public static bool DockNodeBeginAmendTabBar(ImGuiDockNodePtr node) - { - byte ret = DockNodeBeginAmendTabBarNative(node); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DockNodeBeginAmendTabBar(ref ImGuiDockNode node) - { - fixed (ImGuiDockNode* pnode = &node) - { - byte ret = DockNodeBeginAmendTabBarNative((ImGuiDockNode*)pnode); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockNodeEndAmendTabBarNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1193])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1193])(); - #endif - } - - /// - /// To be documented. - /// - public static void DockNodeEndAmendTabBar() - { - DockNodeEndAmendTabBarNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockNode* DockNodeGetRootNodeNative(ImGuiDockNode* node) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1194])(node); - #else - return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[1194])((nint)node); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr DockNodeGetRootNode(ImGuiDockNodePtr node) - { - ImGuiDockNodePtr ret = DockNodeGetRootNodeNative(node); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr DockNodeGetRootNode(ref ImGuiDockNode node) - { - fixed (ImGuiDockNode* pnode = &node) - { - ImGuiDockNodePtr ret = DockNodeGetRootNodeNative((ImGuiDockNode*)pnode); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DockNodeIsInHierarchyOfNative(ImGuiDockNode* node, ImGuiDockNode* parent) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1195])(node, parent); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1195])((nint)node, (nint)parent); - #endif - } - - /// - /// To be documented. - /// - public static bool DockNodeIsInHierarchyOf(ImGuiDockNodePtr node, ImGuiDockNodePtr parent) - { - byte ret = DockNodeIsInHierarchyOfNative(node, parent); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DockNodeIsInHierarchyOf(ref ImGuiDockNode node, ImGuiDockNodePtr parent) - { - fixed (ImGuiDockNode* pnode = &node) - { - byte ret = DockNodeIsInHierarchyOfNative((ImGuiDockNode*)pnode, parent); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockNodeIsInHierarchyOf(ImGuiDockNodePtr node, ref ImGuiDockNode parent) - { - fixed (ImGuiDockNode* pparent = &parent) - { - byte ret = DockNodeIsInHierarchyOfNative(node, (ImGuiDockNode*)pparent); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DockNodeIsInHierarchyOf(ref ImGuiDockNode node, ref ImGuiDockNode parent) - { - fixed (ImGuiDockNode* pnode = &node) - { - fixed (ImGuiDockNode* pparent = &parent) - { - byte ret = DockNodeIsInHierarchyOfNative((ImGuiDockNode*)pnode, (ImGuiDockNode*)pparent); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int DockNodeGetDepthNative(ImGuiDockNode* node) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1196])(node); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1196])((nint)node); - #endif - } - - /// - /// To be documented. - /// - public static int DockNodeGetDepth(ImGuiDockNodePtr node) - { - int ret = DockNodeGetDepthNative(node); - return ret; - } - - /// - /// To be documented. - /// - public static int DockNodeGetDepth(ref ImGuiDockNode node) - { - fixed (ImGuiDockNode* pnode = &node) - { - int ret = DockNodeGetDepthNative((ImGuiDockNode*)pnode); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint DockNodeGetWindowMenuButtonIdNative(ImGuiDockNode* node) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1197])(node); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1197])((nint)node); - #endif - } - - /// - /// To be documented. - /// - public static uint DockNodeGetWindowMenuButtonId(ImGuiDockNodePtr node) - { - uint ret = DockNodeGetWindowMenuButtonIdNative(node); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockNodeGetWindowMenuButtonId(ref ImGuiDockNode node) - { - fixed (ImGuiDockNode* pnode = &node) - { - uint ret = DockNodeGetWindowMenuButtonIdNative((ImGuiDockNode*)pnode); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockNode* GetWindowDockNodeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1198])(); - #else - return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[1198])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr GetWindowDockNode() - { - ImGuiDockNodePtr ret = GetWindowDockNodeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte GetWindowAlwaysWantOwnTabBarNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1199])(window); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1199])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static bool GetWindowAlwaysWantOwnTabBar(ImGuiWindowPtr window) - { - byte ret = GetWindowAlwaysWantOwnTabBarNative(window); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool GetWindowAlwaysWantOwnTabBar(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = GetWindowAlwaysWantOwnTabBarNative((ImGuiWindow*)pwindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginDockedNative(ImGuiWindow* window, bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1200])(window, pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[1200])((nint)window, (nint)pOpen); - #endif - } - - /// - /// To be documented. - /// - public static void BeginDocked(ImGuiWindowPtr window, bool* pOpen) - { - BeginDockedNative(window, pOpen); - } - - /// - /// To be documented. - /// - public static void BeginDocked(ref ImGuiWindow window, bool* pOpen) - { - fixed (ImGuiWindow* pwindow = &window) - { - BeginDockedNative((ImGuiWindow*)pwindow, pOpen); - } - } - - /// - /// To be documented. - /// - public static void BeginDocked(ImGuiWindowPtr window, ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - BeginDockedNative(window, (bool*)ppOpen); - } - } - - /// - /// To be documented. - /// - public static void BeginDocked(ref ImGuiWindow window, ref bool pOpen) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (bool* ppOpen = &pOpen) - { - BeginDockedNative((ImGuiWindow*)pwindow, (bool*)ppOpen); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginDockableDragDropSourceNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1201])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1201])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void BeginDockableDragDropSource(ImGuiWindowPtr window) - { - BeginDockableDragDropSourceNative(window); - } - - /// - /// To be documented. - /// - public static void BeginDockableDragDropSource(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - BeginDockableDragDropSourceNative((ImGuiWindow*)pwindow); - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.012.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.012.cs deleted file mode 100644 index 0750fcfa0..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.012.cs +++ /dev/null @@ -1,5051 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginDockableDragDropTargetNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1202])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1202])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void BeginDockableDragDropTarget(ImGuiWindowPtr window) - { - BeginDockableDragDropTargetNative(window); - } - - /// - /// To be documented. - /// - public static void BeginDockableDragDropTarget(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - BeginDockableDragDropTargetNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowDockNative(ImGuiWindow* window, uint dockId, ImGuiCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1203])(window, dockId, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[1203])((nint)window, dockId, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowDock(ImGuiWindowPtr window, uint dockId, ImGuiCond cond) - { - SetWindowDockNative(window, dockId, cond); - } - - /// - /// To be documented. - /// - public static void SetWindowDock(ref ImGuiWindow window, uint dockId, ImGuiCond cond) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowDockNative((ImGuiWindow*)pwindow, dockId, cond); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderDockWindowNative(byte* windowName, uint nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1204])(windowName, nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1204])((nint)windowName, nodeId); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderDockWindow(byte* windowName, uint nodeId) - { - DockBuilderDockWindowNative(windowName, nodeId); - } - - /// - /// To be documented. - /// - public static void DockBuilderDockWindow(ref byte windowName, uint nodeId) - { - fixed (byte* pwindowName = &windowName) - { - DockBuilderDockWindowNative((byte*)pwindowName, nodeId); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderDockWindow(ReadOnlySpan windowName, uint nodeId) - { - fixed (byte* pwindowName = windowName) - { - DockBuilderDockWindowNative((byte*)pwindowName, nodeId); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderDockWindow(string windowName, uint nodeId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (windowName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(windowName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(windowName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DockBuilderDockWindowNative(pStr0, nodeId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockNode* DockBuilderGetNodeNative(uint nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1205])(nodeId); - #else - return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[1205])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr DockBuilderGetNode(uint nodeId) - { - ImGuiDockNodePtr ret = DockBuilderGetNodeNative(nodeId); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDockNode* DockBuilderGetCentralNodeNative(uint nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1206])(nodeId); - #else - return (ImGuiDockNode*)((delegate* unmanaged[Cdecl])funcTable[1206])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDockNodePtr DockBuilderGetCentralNode(uint nodeId) - { - ImGuiDockNodePtr ret = DockBuilderGetCentralNodeNative(nodeId); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint DockBuilderAddNodeNative(uint nodeId, ImGuiDockNodeFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1207])(nodeId, flags); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1207])(nodeId, flags); - #endif - } - - /// - /// To be documented. - /// - public static uint DockBuilderAddNode(uint nodeId, ImGuiDockNodeFlags flags) - { - uint ret = DockBuilderAddNodeNative(nodeId, flags); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockBuilderAddNode(uint nodeId) - { - uint ret = DockBuilderAddNodeNative(nodeId, (ImGuiDockNodeFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockBuilderAddNode() - { - uint ret = DockBuilderAddNodeNative((uint)(0), (ImGuiDockNodeFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint DockBuilderAddNode(ImGuiDockNodeFlags flags) - { - uint ret = DockBuilderAddNodeNative((uint)(0), flags); - return ret; - } - - /// - /// Remove node and all its child, undock all windows
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderRemoveNodeNative(uint nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1208])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1208])(nodeId); - #endif - } - - /// - /// Remove node and all its child, undock all windows
- ///
- public static void DockBuilderRemoveNode(uint nodeId) - { - DockBuilderRemoveNodeNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderRemoveNodeDockedWindowsNative(uint nodeId, byte clearSettingsRefs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1209])(nodeId, clearSettingsRefs); - #else - ((delegate* unmanaged[Cdecl])funcTable[1209])(nodeId, clearSettingsRefs); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderRemoveNodeDockedWindows(uint nodeId, bool clearSettingsRefs) - { - DockBuilderRemoveNodeDockedWindowsNative(nodeId, clearSettingsRefs ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void DockBuilderRemoveNodeDockedWindows(uint nodeId) - { - DockBuilderRemoveNodeDockedWindowsNative(nodeId, (byte)(1)); - } - - /// - /// Remove all splithierarchy. All remaining docked windows will be re-docked to the remaining root node (node_id).
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderRemoveNodeChildNodesNative(uint nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1210])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1210])(nodeId); - #endif - } - - /// - /// Remove all splithierarchy. All remaining docked windows will be re-docked to the remaining root node (node_id).
- ///
- public static void DockBuilderRemoveNodeChildNodes(uint nodeId) - { - DockBuilderRemoveNodeChildNodesNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderSetNodePosNative(uint nodeId, Vector2 pos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1211])(nodeId, pos); - #else - ((delegate* unmanaged[Cdecl])funcTable[1211])(nodeId, pos); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderSetNodePos(uint nodeId, Vector2 pos) - { - DockBuilderSetNodePosNative(nodeId, pos); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderSetNodeSizeNative(uint nodeId, Vector2 size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1212])(nodeId, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[1212])(nodeId, size); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderSetNodeSize(uint nodeId, Vector2 size) - { - DockBuilderSetNodeSizeNative(nodeId, size); - } - - /// - /// Create 2 child nodes in this parent node.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint DockBuilderSplitNodeNative(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, uint* outIdAtDir, uint* outIdAtOppositeDir) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1213])(nodeId, splitDir, sizeRatioForNodeAtDir, outIdAtDir, outIdAtOppositeDir); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1213])(nodeId, splitDir, sizeRatioForNodeAtDir, (nint)outIdAtDir, (nint)outIdAtOppositeDir); - #endif - } - - /// - /// Create 2 child nodes in this parent node.
- ///
- public static uint DockBuilderSplitNode(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, uint* outIdAtDir, uint* outIdAtOppositeDir) - { - uint ret = DockBuilderSplitNodeNative(nodeId, splitDir, sizeRatioForNodeAtDir, outIdAtDir, outIdAtOppositeDir); - return ret; - } - - /// - /// Create 2 child nodes in this parent node.
- ///
- public static uint DockBuilderSplitNode(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, ref uint outIdAtDir, uint* outIdAtOppositeDir) - { - fixed (uint* poutIdAtDir = &outIdAtDir) - { - uint ret = DockBuilderSplitNodeNative(nodeId, splitDir, sizeRatioForNodeAtDir, (uint*)poutIdAtDir, outIdAtOppositeDir); - return ret; - } - } - - /// - /// Create 2 child nodes in this parent node.
- ///
- public static uint DockBuilderSplitNode(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, uint* outIdAtDir, ref uint outIdAtOppositeDir) - { - fixed (uint* poutIdAtOppositeDir = &outIdAtOppositeDir) - { - uint ret = DockBuilderSplitNodeNative(nodeId, splitDir, sizeRatioForNodeAtDir, outIdAtDir, (uint*)poutIdAtOppositeDir); - return ret; - } - } - - /// - /// Create 2 child nodes in this parent node.
- ///
- public static uint DockBuilderSplitNode(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, ref uint outIdAtDir, ref uint outIdAtOppositeDir) - { - fixed (uint* poutIdAtDir = &outIdAtDir) - { - fixed (uint* poutIdAtOppositeDir = &outIdAtOppositeDir) - { - uint ret = DockBuilderSplitNodeNative(nodeId, splitDir, sizeRatioForNodeAtDir, (uint*)poutIdAtDir, (uint*)poutIdAtOppositeDir); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderCopyDockSpaceNative(uint srcDockspaceId, uint dstDockspaceId, ImVector>* inWindowRemapPairs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]>*, void>)funcTable[1214])(srcDockspaceId, dstDockspaceId, inWindowRemapPairs); - #else - ((delegate* unmanaged[Cdecl])funcTable[1214])(srcDockspaceId, dstDockspaceId, (nint)inWindowRemapPairs); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyDockSpace(uint srcDockspaceId, uint dstDockspaceId, ImVector>* inWindowRemapPairs) - { - DockBuilderCopyDockSpaceNative(srcDockspaceId, dstDockspaceId, inWindowRemapPairs); - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyDockSpace(uint srcDockspaceId, uint dstDockspaceId, ref ImVector> inWindowRemapPairs) - { - fixed (ImVector>* pinWindowRemapPairs = &inWindowRemapPairs) - { - DockBuilderCopyDockSpaceNative(srcDockspaceId, dstDockspaceId, (ImVector>*)pinWindowRemapPairs); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderCopyNodeNative(uint srcNodeId, uint dstNodeId, ImVector* outNodeRemapPairs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, void>)funcTable[1215])(srcNodeId, dstNodeId, outNodeRemapPairs); - #else - ((delegate* unmanaged[Cdecl])funcTable[1215])(srcNodeId, dstNodeId, (nint)outNodeRemapPairs); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyNode(uint srcNodeId, uint dstNodeId, ImVector* outNodeRemapPairs) - { - DockBuilderCopyNodeNative(srcNodeId, dstNodeId, outNodeRemapPairs); - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyNode(uint srcNodeId, uint dstNodeId, ref ImVector outNodeRemapPairs) - { - fixed (ImVector* poutNodeRemapPairs = &outNodeRemapPairs) - { - DockBuilderCopyNodeNative(srcNodeId, dstNodeId, (ImVector*)poutNodeRemapPairs); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderCopyWindowSettingsNative(byte* srcName, byte* dstName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1216])(srcName, dstName); - #else - ((delegate* unmanaged[Cdecl])funcTable[1216])((nint)srcName, (nint)dstName); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(byte* srcName, byte* dstName) - { - DockBuilderCopyWindowSettingsNative(srcName, dstName); - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ref byte srcName, byte* dstName) - { - fixed (byte* psrcName = &srcName) - { - DockBuilderCopyWindowSettingsNative((byte*)psrcName, dstName); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ReadOnlySpan srcName, byte* dstName) - { - fixed (byte* psrcName = srcName) - { - DockBuilderCopyWindowSettingsNative((byte*)psrcName, dstName); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(string srcName, byte* dstName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (srcName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(srcName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(srcName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DockBuilderCopyWindowSettingsNative(pStr0, dstName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(byte* srcName, ref byte dstName) - { - fixed (byte* pdstName = &dstName) - { - DockBuilderCopyWindowSettingsNative(srcName, (byte*)pdstName); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(byte* srcName, ReadOnlySpan dstName) - { - fixed (byte* pdstName = dstName) - { - DockBuilderCopyWindowSettingsNative(srcName, (byte*)pdstName); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(byte* srcName, string dstName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dstName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dstName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dstName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DockBuilderCopyWindowSettingsNative(srcName, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ref byte srcName, ref byte dstName) - { - fixed (byte* psrcName = &srcName) - { - fixed (byte* pdstName = &dstName) - { - DockBuilderCopyWindowSettingsNative((byte*)psrcName, (byte*)pdstName); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ReadOnlySpan srcName, ReadOnlySpan dstName) - { - fixed (byte* psrcName = srcName) - { - fixed (byte* pdstName = dstName) - { - DockBuilderCopyWindowSettingsNative((byte*)psrcName, (byte*)pdstName); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(string srcName, string dstName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (srcName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(srcName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(srcName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (dstName != null) - { - pStrSize1 = Utils.GetByteCountUTF8(dstName); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(dstName, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - DockBuilderCopyWindowSettingsNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ref byte srcName, ReadOnlySpan dstName) - { - fixed (byte* psrcName = &srcName) - { - fixed (byte* pdstName = dstName) - { - DockBuilderCopyWindowSettingsNative((byte*)psrcName, (byte*)pdstName); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ref byte srcName, string dstName) - { - fixed (byte* psrcName = &srcName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dstName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dstName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dstName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DockBuilderCopyWindowSettingsNative((byte*)psrcName, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ReadOnlySpan srcName, ref byte dstName) - { - fixed (byte* psrcName = srcName) - { - fixed (byte* pdstName = &dstName) - { - DockBuilderCopyWindowSettingsNative((byte*)psrcName, (byte*)pdstName); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(ReadOnlySpan srcName, string dstName) - { - fixed (byte* psrcName = srcName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (dstName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(dstName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(dstName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DockBuilderCopyWindowSettingsNative((byte*)psrcName, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(string srcName, ref byte dstName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (srcName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(srcName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(srcName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pdstName = &dstName) - { - DockBuilderCopyWindowSettingsNative(pStr0, (byte*)pdstName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DockBuilderCopyWindowSettings(string srcName, ReadOnlySpan dstName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (srcName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(srcName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(srcName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pdstName = dstName) - { - DockBuilderCopyWindowSettingsNative(pStr0, (byte*)pdstName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DockBuilderFinishNative(uint nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1217])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1217])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static void DockBuilderFinish(uint nodeId) - { - DockBuilderFinishNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushFocusScopeNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1218])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1218])(id); - #endif - } - - /// - /// To be documented. - /// - public static void PushFocusScope(uint id) - { - PushFocusScopeNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopFocusScopeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1219])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1219])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopFocusScope() - { - PopFocusScopeNative(); - } - - /// - /// Focus scope we are outputting into, set by PushFocusScope()
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetCurrentFocusScopeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1220])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1220])(); - #endif - } - - /// - /// Focus scope we are outputting into, set by PushFocusScope()
- ///
- public static uint GetCurrentFocusScope() - { - uint ret = GetCurrentFocusScopeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsDragDropActiveNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1221])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1221])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsDragDropActive() - { - byte ret = IsDragDropActiveNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropTargetCustomNative(ImRect bb, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1222])(bb, id); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1222])(bb, id); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropTargetCustom(ImRect bb, uint id) - { - byte ret = BeginDragDropTargetCustomNative(bb, id); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearDragDropNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1223])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1223])(); - #endif - } - - /// - /// To be documented. - /// - public static void ClearDragDrop() - { - ClearDragDropNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsDragDropPayloadBeingAcceptedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1224])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1224])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsDragDropPayloadBeingAccepted() - { - byte ret = IsDragDropPayloadBeingAcceptedNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderDragDropTargetRectNative(ImRect bb, ImRect itemClipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1225])(bb, itemClipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[1225])(bb, itemClipRect); - #endif - } - - /// - /// To be documented. - /// - public static void RenderDragDropTargetRect(ImRect bb, ImRect itemClipRect) - { - RenderDragDropTargetRectNative(bb, itemClipRect); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTypingSelectRequest* GetTypingSelectRequestNative(ImGuiTypingSelectFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1226])(flags); - #else - return (ImGuiTypingSelectRequest*)((delegate* unmanaged[Cdecl])funcTable[1226])(flags); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTypingSelectRequestPtr GetTypingSelectRequest(ImGuiTypingSelectFlags flags) - { - ImGuiTypingSelectRequestPtr ret = GetTypingSelectRequestNative(flags); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTypingSelectRequestPtr GetTypingSelectRequest() - { - ImGuiTypingSelectRequestPtr ret = GetTypingSelectRequestNative((ImGuiTypingSelectFlags)(ImGuiTypingSelectFlags.None)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TypingSelectFindMatchNative(ImGuiTypingSelectRequest* req, int itemsCount, delegate*, void*, int, byte*> getItemNameFunc, void* userData, int navItemIdx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, int, byte*>, void*, int, int>)funcTable[1227])(req, itemsCount, getItemNameFunc, userData, navItemIdx); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1227])((nint)req, itemsCount, (nint)getItemNameFunc, (nint)userData, navItemIdx); - #endif - } - - /// - /// To be documented. - /// - public static int TypingSelectFindMatch(ImGuiTypingSelectRequestPtr req, int itemsCount, delegate*, void*, int, byte*> getItemNameFunc, void* userData, int navItemIdx) - { - int ret = TypingSelectFindMatchNative(req, itemsCount, getItemNameFunc, userData, navItemIdx); - return ret; - } - - /// - /// To be documented. - /// - public static int TypingSelectFindMatch(ref ImGuiTypingSelectRequest req, int itemsCount, delegate*, void*, int, byte*> getItemNameFunc, void* userData, int navItemIdx) - { - fixed (ImGuiTypingSelectRequest* preq = &req) - { - int ret = TypingSelectFindMatchNative((ImGuiTypingSelectRequest*)preq, itemsCount, getItemNameFunc, userData, navItemIdx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TypingSelectFindNextSingleCharMatchNative(ImGuiTypingSelectRequest* req, int itemsCount, delegate*, void*, int, byte*> getItemNameFunc, void* userData, int navItemIdx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, int, byte*>, void*, int, int>)funcTable[1228])(req, itemsCount, getItemNameFunc, userData, navItemIdx); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1228])((nint)req, itemsCount, (nint)getItemNameFunc, (nint)userData, navItemIdx); - #endif - } - - /// - /// To be documented. - /// - public static int TypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequestPtr req, int itemsCount, delegate*, void*, int, byte*> getItemNameFunc, void* userData, int navItemIdx) - { - int ret = TypingSelectFindNextSingleCharMatchNative(req, itemsCount, getItemNameFunc, userData, navItemIdx); - return ret; - } - - /// - /// To be documented. - /// - public static int TypingSelectFindNextSingleCharMatch(ref ImGuiTypingSelectRequest req, int itemsCount, delegate*, void*, int, byte*> getItemNameFunc, void* userData, int navItemIdx) - { - fixed (ImGuiTypingSelectRequest* preq = &req) - { - int ret = TypingSelectFindNextSingleCharMatchNative((ImGuiTypingSelectRequest*)preq, itemsCount, getItemNameFunc, userData, navItemIdx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TypingSelectFindBestLeadingMatchNative(ImGuiTypingSelectRequest* req, int itemsCount, delegate*, void*, byte*> getItemNameFunc, void* userData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, byte*>, void*, int>)funcTable[1229])(req, itemsCount, getItemNameFunc, userData); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1229])((nint)req, itemsCount, (nint)getItemNameFunc, (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static int TypingSelectFindBestLeadingMatch(ImGuiTypingSelectRequestPtr req, int itemsCount, delegate*, void*, byte*> getItemNameFunc, void* userData) - { - int ret = TypingSelectFindBestLeadingMatchNative(req, itemsCount, getItemNameFunc, userData); - return ret; - } - - /// - /// To be documented. - /// - public static int TypingSelectFindBestLeadingMatch(ref ImGuiTypingSelectRequest req, int itemsCount, delegate*, void*, byte*> getItemNameFunc, void* userData) - { - fixed (ImGuiTypingSelectRequest* preq = &req) - { - int ret = TypingSelectFindBestLeadingMatchNative((ImGuiTypingSelectRequest*)preq, itemsCount, getItemNameFunc, userData); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginBoxSelectNative(ImRect scopeRect, ImGuiWindow* window, uint boxSelectId, ImGuiMultiSelectFlags msFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1230])(scopeRect, window, boxSelectId, msFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1230])(scopeRect, (nint)window, boxSelectId, msFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginBoxSelect(ImRect scopeRect, ImGuiWindowPtr window, uint boxSelectId, ImGuiMultiSelectFlags msFlags) - { - byte ret = BeginBoxSelectNative(scopeRect, window, boxSelectId, msFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginBoxSelect(ImRect scopeRect, ref ImGuiWindow window, uint boxSelectId, ImGuiMultiSelectFlags msFlags) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte ret = BeginBoxSelectNative(scopeRect, (ImGuiWindow*)pwindow, boxSelectId, msFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndBoxSelectNative(ImRect scopeRect, ImGuiMultiSelectFlags msFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1231])(scopeRect, msFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1231])(scopeRect, msFlags); - #endif - } - - /// - /// To be documented. - /// - public static void EndBoxSelect(ImRect scopeRect, ImGuiMultiSelectFlags msFlags) - { - EndBoxSelectNative(scopeRect, msFlags); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MultiSelectItemHeaderNative(uint id, bool* pSelected, ImGuiButtonFlags* pButtonFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1232])(id, pSelected, pButtonFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1232])(id, (nint)pSelected, (nint)pButtonFlags); - #endif - } - - /// - /// To be documented. - /// - public static void MultiSelectItemHeader(uint id, bool* pSelected, ImGuiButtonFlags* pButtonFlags) - { - MultiSelectItemHeaderNative(id, pSelected, pButtonFlags); - } - - /// - /// To be documented. - /// - public static void MultiSelectItemHeader(uint id, ref bool pSelected, ImGuiButtonFlags* pButtonFlags) - { - fixed (bool* ppSelected = &pSelected) - { - MultiSelectItemHeaderNative(id, (bool*)ppSelected, pButtonFlags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MultiSelectItemFooterNative(uint id, bool* pSelected, bool* pPressed) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1233])(id, pSelected, pPressed); - #else - ((delegate* unmanaged[Cdecl])funcTable[1233])(id, (nint)pSelected, (nint)pPressed); - #endif - } - - /// - /// To be documented. - /// - public static void MultiSelectItemFooter(uint id, bool* pSelected, bool* pPressed) - { - MultiSelectItemFooterNative(id, pSelected, pPressed); - } - - /// - /// To be documented. - /// - public static void MultiSelectItemFooter(uint id, ref bool pSelected, bool* pPressed) - { - fixed (bool* ppSelected = &pSelected) - { - MultiSelectItemFooterNative(id, (bool*)ppSelected, pPressed); - } - } - - /// - /// To be documented. - /// - public static void MultiSelectItemFooter(uint id, bool* pSelected, ref bool pPressed) - { - fixed (bool* ppPressed = &pPressed) - { - MultiSelectItemFooterNative(id, pSelected, (bool*)ppPressed); - } - } - - /// - /// To be documented. - /// - public static void MultiSelectItemFooter(uint id, ref bool pSelected, ref bool pPressed) - { - fixed (bool* ppSelected = &pSelected) - { - fixed (bool* ppPressed = &pPressed) - { - MultiSelectItemFooterNative(id, (bool*)ppSelected, (bool*)ppPressed); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MultiSelectAddSetAllNative(ImGuiMultiSelectTempData* ms, byte selected) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1234])(ms, selected); - #else - ((delegate* unmanaged[Cdecl])funcTable[1234])((nint)ms, selected); - #endif - } - - /// - /// To be documented. - /// - public static void MultiSelectAddSetAll(ImGuiMultiSelectTempDataPtr ms, bool selected) - { - MultiSelectAddSetAllNative(ms, selected ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void MultiSelectAddSetAll(ref ImGuiMultiSelectTempData ms, bool selected) - { - fixed (ImGuiMultiSelectTempData* pms = &ms) - { - MultiSelectAddSetAllNative((ImGuiMultiSelectTempData*)pms, selected ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MultiSelectAddSetRangeNative(ImGuiMultiSelectTempData* ms, byte selected, int rangeDir, long firstItem, long lastItem) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1235])(ms, selected, rangeDir, firstItem, lastItem); - #else - ((delegate* unmanaged[Cdecl])funcTable[1235])((nint)ms, selected, rangeDir, firstItem, lastItem); - #endif - } - - /// - /// To be documented. - /// - public static void MultiSelectAddSetRange(ImGuiMultiSelectTempDataPtr ms, bool selected, int rangeDir, long firstItem, long lastItem) - { - MultiSelectAddSetRangeNative(ms, selected ? (byte)1 : (byte)0, rangeDir, firstItem, lastItem); - } - - /// - /// To be documented. - /// - public static void MultiSelectAddSetRange(ref ImGuiMultiSelectTempData ms, bool selected, int rangeDir, long firstItem, long lastItem) - { - fixed (ImGuiMultiSelectTempData* pms = &ms) - { - MultiSelectAddSetRangeNative((ImGuiMultiSelectTempData*)pms, selected ? (byte)1 : (byte)0, rangeDir, firstItem, lastItem); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiBoxSelectState* GetBoxSelectStateNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1236])(id); - #else - return (ImGuiBoxSelectState*)((delegate* unmanaged[Cdecl])funcTable[1236])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiBoxSelectStatePtr GetBoxSelectState(uint id) - { - ImGuiBoxSelectStatePtr ret = GetBoxSelectStateNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiMultiSelectState* GetMultiSelectStateNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1237])(id); - #else - return (ImGuiMultiSelectState*)((delegate* unmanaged[Cdecl])funcTable[1237])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiMultiSelectStatePtr GetMultiSelectState(uint id) - { - ImGuiMultiSelectStatePtr ret = GetMultiSelectStateNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetWindowClipRectBeforeSetChannelNative(ImGuiWindow* window, ImRect clipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1238])(window, clipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[1238])((nint)window, clipRect); - #endif - } - - /// - /// To be documented. - /// - public static void SetWindowClipRectBeforeSetChannel(ImGuiWindowPtr window, ImRect clipRect) - { - SetWindowClipRectBeforeSetChannelNative(window, clipRect); - } - - /// - /// To be documented. - /// - public static void SetWindowClipRectBeforeSetChannel(ref ImGuiWindow window, ImRect clipRect) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetWindowClipRectBeforeSetChannelNative((ImGuiWindow*)pwindow, clipRect); - } - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginColumnsNative(byte* strId, int count, ImGuiOldColumnFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1239])(strId, count, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1239])((nint)strId, count, flags); - #endif - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(byte* strId, int count, ImGuiOldColumnFlags flags) - { - BeginColumnsNative(strId, count, flags); - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(byte* strId, int count) - { - BeginColumnsNative(strId, count, (ImGuiOldColumnFlags)(0)); - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(ref byte strId, int count, ImGuiOldColumnFlags flags) - { - fixed (byte* pstrId = &strId) - { - BeginColumnsNative((byte*)pstrId, count, flags); - } - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(ref byte strId, int count) - { - fixed (byte* pstrId = &strId) - { - BeginColumnsNative((byte*)pstrId, count, (ImGuiOldColumnFlags)(0)); - } - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(ReadOnlySpan strId, int count, ImGuiOldColumnFlags flags) - { - fixed (byte* pstrId = strId) - { - BeginColumnsNative((byte*)pstrId, count, flags); - } - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(ReadOnlySpan strId, int count) - { - fixed (byte* pstrId = strId) - { - BeginColumnsNative((byte*)pstrId, count, (ImGuiOldColumnFlags)(0)); - } - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(string strId, int count, ImGuiOldColumnFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - BeginColumnsNative(pStr0, count, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// setup number of columns. use an identifier to distinguish multiple column sets. close with EndColumns().
- ///
- public static void BeginColumns(string strId, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - BeginColumnsNative(pStr0, count, (ImGuiOldColumnFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// close columns
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndColumnsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1240])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1240])(); - #endif - } - - /// - /// close columns
- ///
- public static void EndColumns() - { - EndColumnsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushColumnClipRectNative(int columnIndex) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1241])(columnIndex); - #else - ((delegate* unmanaged[Cdecl])funcTable[1241])(columnIndex); - #endif - } - - /// - /// To be documented. - /// - public static void PushColumnClipRect(int columnIndex) - { - PushColumnClipRectNative(columnIndex); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushColumnsBackgroundNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1242])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1242])(); - #endif - } - - /// - /// To be documented. - /// - public static void PushColumnsBackground() - { - PushColumnsBackgroundNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopColumnsBackgroundNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1243])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1243])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopColumnsBackground() - { - PopColumnsBackgroundNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetColumnsIDNative(byte* strId, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1244])(strId, count); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1244])((nint)strId, count); - #endif - } - - /// - /// To be documented. - /// - public static uint GetColumnsID(byte* strId, int count) - { - uint ret = GetColumnsIDNative(strId, count); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetColumnsID(ref byte strId, int count) - { - fixed (byte* pstrId = &strId) - { - uint ret = GetColumnsIDNative((byte*)pstrId, count); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetColumnsID(ReadOnlySpan strId, int count) - { - fixed (byte* pstrId = strId) - { - uint ret = GetColumnsIDNative((byte*)pstrId, count); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetColumnsID(string strId, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetColumnsIDNative(pStr0, count); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiOldColumns* FindOrCreateColumnsNative(ImGuiWindow* window, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1245])(window, id); - #else - return (ImGuiOldColumns*)((delegate* unmanaged[Cdecl])funcTable[1245])((nint)window, id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiOldColumnsPtr FindOrCreateColumns(ImGuiWindowPtr window, uint id) - { - ImGuiOldColumnsPtr ret = FindOrCreateColumnsNative(window, id); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiOldColumnsPtr FindOrCreateColumns(ref ImGuiWindow window, uint id) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImGuiOldColumnsPtr ret = FindOrCreateColumnsNative((ImGuiWindow*)pwindow, id); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetColumnOffsetFromNormNative(ImGuiOldColumns* columns, float offsetNorm) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1246])(columns, offsetNorm); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1246])((nint)columns, offsetNorm); - #endif - } - - /// - /// To be documented. - /// - public static float GetColumnOffsetFromNorm(ImGuiOldColumnsPtr columns, float offsetNorm) - { - float ret = GetColumnOffsetFromNormNative(columns, offsetNorm); - return ret; - } - - /// - /// To be documented. - /// - public static float GetColumnOffsetFromNorm(ref ImGuiOldColumns columns, float offsetNorm) - { - fixed (ImGuiOldColumns* pcolumns = &columns) - { - float ret = GetColumnOffsetFromNormNative((ImGuiOldColumns*)pcolumns, offsetNorm); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetColumnNormFromOffsetNative(ImGuiOldColumns* columns, float offset) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1247])(columns, offset); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1247])((nint)columns, offset); - #endif - } - - /// - /// To be documented. - /// - public static float GetColumnNormFromOffset(ImGuiOldColumnsPtr columns, float offset) - { - float ret = GetColumnNormFromOffsetNative(columns, offset); - return ret; - } - - /// - /// To be documented. - /// - public static float GetColumnNormFromOffset(ref ImGuiOldColumns columns, float offset) - { - fixed (ImGuiOldColumns* pcolumns = &columns) - { - float ret = GetColumnNormFromOffsetNative((ImGuiOldColumns*)pcolumns, offset); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableOpenContextMenuNative(int columnN) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1248])(columnN); - #else - ((delegate* unmanaged[Cdecl])funcTable[1248])(columnN); - #endif - } - - /// - /// To be documented. - /// - public static void TableOpenContextMenu(int columnN) - { - TableOpenContextMenuNative(columnN); - } - - /// - /// To be documented. - /// - public static void TableOpenContextMenu() - { - TableOpenContextMenuNative((int)(-1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetColumnWidthNative(int columnN, float width) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1249])(columnN, width); - #else - ((delegate* unmanaged[Cdecl])funcTable[1249])(columnN, width); - #endif - } - - /// - /// To be documented. - /// - public static void TableSetColumnWidth(int columnN, float width) - { - TableSetColumnWidthNative(columnN, width); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetColumnSortDirectionNative(int columnN, ImGuiSortDirection sortDirection, byte appendToSortSpecs) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1250])(columnN, sortDirection, appendToSortSpecs); - #else - ((delegate* unmanaged[Cdecl])funcTable[1250])(columnN, sortDirection, appendToSortSpecs); - #endif - } - - /// - /// To be documented. - /// - public static void TableSetColumnSortDirection(int columnN, ImGuiSortDirection sortDirection, bool appendToSortSpecs) - { - TableSetColumnSortDirectionNative(columnN, sortDirection, appendToSortSpecs ? (byte)1 : (byte)0); - } - - /// - /// Retrieve *PREVIOUS FRAME* hovered row. This difference with TableGetHoveredColumn() is the reason why this is not public yet.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TableGetHoveredRowNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1251])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1251])(); - #endif - } - - /// - /// Retrieve *PREVIOUS FRAME* hovered row. This difference with TableGetHoveredColumn() is the reason why this is not public yet.
- ///
- public static int TableGetHoveredRow() - { - int ret = TableGetHoveredRowNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float TableGetHeaderRowHeightNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1252])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1252])(); - #endif - } - - /// - /// To be documented. - /// - public static float TableGetHeaderRowHeight() - { - float ret = TableGetHeaderRowHeightNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float TableGetHeaderAngledMaxLabelWidthNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1253])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1253])(); - #endif - } - - /// - /// To be documented. - /// - public static float TableGetHeaderAngledMaxLabelWidth() - { - float ret = TableGetHeaderAngledMaxLabelWidthNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TablePushBackgroundChannelNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1254])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1254])(); - #endif - } - - /// - /// To be documented. - /// - public static void TablePushBackgroundChannel() - { - TablePushBackgroundChannelNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TablePopBackgroundChannelNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1255])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1255])(); - #endif - } - - /// - /// To be documented. - /// - public static void TablePopBackgroundChannel() - { - TablePopBackgroundChannelNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableAngledHeadersRowExNative(uint rowId, float angle, float maxLabelWidth, ImGuiTableHeaderData* data, int dataCount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1256])(rowId, angle, maxLabelWidth, data, dataCount); - #else - ((delegate* unmanaged[Cdecl])funcTable[1256])(rowId, angle, maxLabelWidth, (nint)data, dataCount); - #endif - } - - /// - /// To be documented. - /// - public static void TableAngledHeadersRowEx(uint rowId, float angle, float maxLabelWidth, ImGuiTableHeaderDataPtr data, int dataCount) - { - TableAngledHeadersRowExNative(rowId, angle, maxLabelWidth, data, dataCount); - } - - /// - /// To be documented. - /// - public static void TableAngledHeadersRowEx(uint rowId, float angle, float maxLabelWidth, ref ImGuiTableHeaderData data, int dataCount) - { - fixed (ImGuiTableHeaderData* pdata = &data) - { - TableAngledHeadersRowExNative(rowId, angle, maxLabelWidth, (ImGuiTableHeaderData*)pdata, dataCount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTable* GetCurrentTableNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1257])(); - #else - return (ImGuiTable*)((delegate* unmanaged[Cdecl])funcTable[1257])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTablePtr GetCurrentTable() - { - ImGuiTablePtr ret = GetCurrentTableNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTable* TableFindByIDNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1258])(id); - #else - return (ImGuiTable*)((delegate* unmanaged[Cdecl])funcTable[1258])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTablePtr TableFindByID(uint id) - { - ImGuiTablePtr ret = TableFindByIDNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTableExNative(byte* name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1259])(name, id, columnsCount, flags, outerSize, innerWidth); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1259])((nint)name, id, columnsCount, flags, outerSize, innerWidth); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - byte ret = BeginTableExNative(name, id, columnsCount, flags, outerSize, innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize) - { - byte ret = BeginTableExNative(name, id, columnsCount, flags, outerSize, (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, ImGuiTableFlags flags) - { - byte ret = BeginTableExNative(name, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount) - { - byte ret = BeginTableExNative(name, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, Vector2 outerSize) - { - byte ret = BeginTableExNative(name, id, columnsCount, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, ImGuiTableFlags flags, float innerWidth) - { - byte ret = BeginTableExNative(name, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, float innerWidth) - { - byte ret = BeginTableExNative(name, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(byte* name, uint id, int columnsCount, Vector2 outerSize, float innerWidth) - { - byte ret = BeginTableExNative(name, id, columnsCount, (ImGuiTableFlags)(0), outerSize, innerWidth); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, ImGuiTableFlags flags) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, Vector2 outerSize) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, ImGuiTableFlags flags, float innerWidth) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, float innerWidth) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ref byte name, uint id, int columnsCount, Vector2 outerSize, float innerWidth) - { - fixed (byte* pname = &name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, ImGuiTableFlags flags) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, Vector2 outerSize) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, ImGuiTableFlags flags, float innerWidth) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, float innerWidth) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(ReadOnlySpan name, uint id, int columnsCount, Vector2 outerSize, float innerWidth) - { - fixed (byte* pname = name) - { - byte ret = BeginTableExNative((byte*)pname, id, columnsCount, (ImGuiTableFlags)(0), outerSize, innerWidth); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, flags, outerSize, innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, flags, outerSize, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, ImGuiTableFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, Vector2 outerSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, (ImGuiTableFlags)(0), outerSize, (float)(0.0f)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, ImGuiTableFlags flags, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, flags, (Vector2)(new Vector2(0,0)), innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, (ImGuiTableFlags)(0), (Vector2)(new Vector2(0,0)), innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTableEx(string name, uint id, int columnsCount, Vector2 outerSize, float innerWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginTableExNative(pStr0, id, columnsCount, (ImGuiTableFlags)(0), outerSize, innerWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableBeginInitMemoryNative(ImGuiTable* table, int columnsCount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1260])(table, columnsCount); - #else - ((delegate* unmanaged[Cdecl])funcTable[1260])((nint)table, columnsCount); - #endif - } - - /// - /// To be documented. - /// - public static void TableBeginInitMemory(ImGuiTablePtr table, int columnsCount) - { - TableBeginInitMemoryNative(table, columnsCount); - } - - /// - /// To be documented. - /// - public static void TableBeginInitMemory(ref ImGuiTable table, int columnsCount) - { - fixed (ImGuiTable* ptable = &table) - { - TableBeginInitMemoryNative((ImGuiTable*)ptable, columnsCount); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableBeginApplyRequestsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1261])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1261])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableBeginApplyRequests(ImGuiTablePtr table) - { - TableBeginApplyRequestsNative(table); - } - - /// - /// To be documented. - /// - public static void TableBeginApplyRequests(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableBeginApplyRequestsNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetupDrawChannelsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1262])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1262])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableSetupDrawChannels(ImGuiTablePtr table) - { - TableSetupDrawChannelsNative(table); - } - - /// - /// To be documented. - /// - public static void TableSetupDrawChannels(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableSetupDrawChannelsNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableUpdateLayoutNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1263])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1263])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableUpdateLayout(ImGuiTablePtr table) - { - TableUpdateLayoutNative(table); - } - - /// - /// To be documented. - /// - public static void TableUpdateLayout(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableUpdateLayoutNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableUpdateBordersNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1264])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1264])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableUpdateBorders(ImGuiTablePtr table) - { - TableUpdateBordersNative(table); - } - - /// - /// To be documented. - /// - public static void TableUpdateBorders(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableUpdateBordersNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableUpdateColumnsWeightFromWidthNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1265])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1265])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableUpdateColumnsWeightFromWidth(ImGuiTablePtr table) - { - TableUpdateColumnsWeightFromWidthNative(table); - } - - /// - /// To be documented. - /// - public static void TableUpdateColumnsWeightFromWidth(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableUpdateColumnsWeightFromWidthNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableDrawBordersNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1266])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1266])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableDrawBorders(ImGuiTablePtr table) - { - TableDrawBordersNative(table); - } - - /// - /// To be documented. - /// - public static void TableDrawBorders(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableDrawBordersNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableDrawDefaultContextMenuNative(ImGuiTable* table, ImGuiTableFlags flagsForSectionToDisplay) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1267])(table, flagsForSectionToDisplay); - #else - ((delegate* unmanaged[Cdecl])funcTable[1267])((nint)table, flagsForSectionToDisplay); - #endif - } - - /// - /// To be documented. - /// - public static void TableDrawDefaultContextMenu(ImGuiTablePtr table, ImGuiTableFlags flagsForSectionToDisplay) - { - TableDrawDefaultContextMenuNative(table, flagsForSectionToDisplay); - } - - /// - /// To be documented. - /// - public static void TableDrawDefaultContextMenu(ref ImGuiTable table, ImGuiTableFlags flagsForSectionToDisplay) - { - fixed (ImGuiTable* ptable = &table) - { - TableDrawDefaultContextMenuNative((ImGuiTable*)ptable, flagsForSectionToDisplay); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TableBeginContextMenuPopupNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1268])(table); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1268])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static bool TableBeginContextMenuPopup(ImGuiTablePtr table) - { - byte ret = TableBeginContextMenuPopupNative(table); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TableBeginContextMenuPopup(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - byte ret = TableBeginContextMenuPopupNative((ImGuiTable*)ptable); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableMergeDrawChannelsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1269])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1269])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableMergeDrawChannels(ImGuiTablePtr table) - { - TableMergeDrawChannelsNative(table); - } - - /// - /// To be documented. - /// - public static void TableMergeDrawChannels(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableMergeDrawChannelsNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableInstanceData* TableGetInstanceDataNative(ImGuiTable* table, int instanceNo) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1270])(table, instanceNo); - #else - return (ImGuiTableInstanceData*)((delegate* unmanaged[Cdecl])funcTable[1270])((nint)table, instanceNo); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableInstanceDataPtr TableGetInstanceData(ImGuiTablePtr table, int instanceNo) - { - ImGuiTableInstanceDataPtr ret = TableGetInstanceDataNative(table, instanceNo); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTableInstanceDataPtr TableGetInstanceData(ref ImGuiTable table, int instanceNo) - { - fixed (ImGuiTable* ptable = &table) - { - ImGuiTableInstanceDataPtr ret = TableGetInstanceDataNative((ImGuiTable*)ptable, instanceNo); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint TableGetInstanceIDNative(ImGuiTable* table, int instanceNo) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1271])(table, instanceNo); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1271])((nint)table, instanceNo); - #endif - } - - /// - /// To be documented. - /// - public static uint TableGetInstanceID(ImGuiTablePtr table, int instanceNo) - { - uint ret = TableGetInstanceIDNative(table, instanceNo); - return ret; - } - - /// - /// To be documented. - /// - public static uint TableGetInstanceID(ref ImGuiTable table, int instanceNo) - { - fixed (ImGuiTable* ptable = &table) - { - uint ret = TableGetInstanceIDNative((ImGuiTable*)ptable, instanceNo); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSortSpecsSanitizeNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1272])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1272])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableSortSpecsSanitize(ImGuiTablePtr table) - { - TableSortSpecsSanitizeNative(table); - } - - /// - /// To be documented. - /// - public static void TableSortSpecsSanitize(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableSortSpecsSanitizeNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSortSpecsBuildNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1273])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1273])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableSortSpecsBuild(ImGuiTablePtr table) - { - TableSortSpecsBuildNative(table); - } - - /// - /// To be documented. - /// - public static void TableSortSpecsBuild(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableSortSpecsBuildNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiSortDirection TableGetColumnNextSortDirectionNative(ImGuiTableColumn* column) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1274])(column); - #else - return (ImGuiSortDirection)((delegate* unmanaged[Cdecl])funcTable[1274])((nint)column); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiSortDirection TableGetColumnNextSortDirection(ImGuiTableColumnPtr column) - { - ImGuiSortDirection ret = TableGetColumnNextSortDirectionNative(column); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiSortDirection TableGetColumnNextSortDirection(ref ImGuiTableColumn column) - { - fixed (ImGuiTableColumn* pcolumn = &column) - { - ImGuiSortDirection ret = TableGetColumnNextSortDirectionNative((ImGuiTableColumn*)pcolumn); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableFixColumnSortDirectionNative(ImGuiTable* table, ImGuiTableColumn* column) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1275])(table, column); - #else - ((delegate* unmanaged[Cdecl])funcTable[1275])((nint)table, (nint)column); - #endif - } - - /// - /// To be documented. - /// - public static void TableFixColumnSortDirection(ImGuiTablePtr table, ImGuiTableColumnPtr column) - { - TableFixColumnSortDirectionNative(table, column); - } - - /// - /// To be documented. - /// - public static void TableFixColumnSortDirection(ref ImGuiTable table, ImGuiTableColumnPtr column) - { - fixed (ImGuiTable* ptable = &table) - { - TableFixColumnSortDirectionNative((ImGuiTable*)ptable, column); - } - } - - /// - /// To be documented. - /// - public static void TableFixColumnSortDirection(ImGuiTablePtr table, ref ImGuiTableColumn column) - { - fixed (ImGuiTableColumn* pcolumn = &column) - { - TableFixColumnSortDirectionNative(table, (ImGuiTableColumn*)pcolumn); - } - } - - /// - /// To be documented. - /// - public static void TableFixColumnSortDirection(ref ImGuiTable table, ref ImGuiTableColumn column) - { - fixed (ImGuiTable* ptable = &table) - { - fixed (ImGuiTableColumn* pcolumn = &column) - { - TableFixColumnSortDirectionNative((ImGuiTable*)ptable, (ImGuiTableColumn*)pcolumn); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float TableGetColumnWidthAutoNative(ImGuiTable* table, ImGuiTableColumn* column) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1276])(table, column); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1276])((nint)table, (nint)column); - #endif - } - - /// - /// To be documented. - /// - public static float TableGetColumnWidthAuto(ImGuiTablePtr table, ImGuiTableColumnPtr column) - { - float ret = TableGetColumnWidthAutoNative(table, column); - return ret; - } - - /// - /// To be documented. - /// - public static float TableGetColumnWidthAuto(ref ImGuiTable table, ImGuiTableColumnPtr column) - { - fixed (ImGuiTable* ptable = &table) - { - float ret = TableGetColumnWidthAutoNative((ImGuiTable*)ptable, column); - return ret; - } - } - - /// - /// To be documented. - /// - public static float TableGetColumnWidthAuto(ImGuiTablePtr table, ref ImGuiTableColumn column) - { - fixed (ImGuiTableColumn* pcolumn = &column) - { - float ret = TableGetColumnWidthAutoNative(table, (ImGuiTableColumn*)pcolumn); - return ret; - } - } - - /// - /// To be documented. - /// - public static float TableGetColumnWidthAuto(ref ImGuiTable table, ref ImGuiTableColumn column) - { - fixed (ImGuiTable* ptable = &table) - { - fixed (ImGuiTableColumn* pcolumn = &column) - { - float ret = TableGetColumnWidthAutoNative((ImGuiTable*)ptable, (ImGuiTableColumn*)pcolumn); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableBeginRowNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1277])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1277])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableBeginRow(ImGuiTablePtr table) - { - TableBeginRowNative(table); - } - - /// - /// To be documented. - /// - public static void TableBeginRow(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableBeginRowNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableEndRowNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1278])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1278])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableEndRow(ImGuiTablePtr table) - { - TableEndRowNative(table); - } - - /// - /// To be documented. - /// - public static void TableEndRow(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableEndRowNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableBeginCellNative(ImGuiTable* table, int columnN) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1279])(table, columnN); - #else - ((delegate* unmanaged[Cdecl])funcTable[1279])((nint)table, columnN); - #endif - } - - /// - /// To be documented. - /// - public static void TableBeginCell(ImGuiTablePtr table, int columnN) - { - TableBeginCellNative(table, columnN); - } - - /// - /// To be documented. - /// - public static void TableBeginCell(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - TableBeginCellNative((ImGuiTable*)ptable, columnN); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableEndCellNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1280])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1280])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableEndCell(ImGuiTablePtr table) - { - TableEndCellNative(table); - } - - /// - /// To be documented. - /// - public static void TableEndCell(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableEndCellNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableGetCellBgRectNative(ImRect* pOut, ImGuiTable* table, int columnN) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1281])(pOut, table, columnN); - #else - ((delegate* unmanaged[Cdecl])funcTable[1281])((nint)pOut, (nint)table, columnN); - #endif - } - - /// - /// To be documented. - /// - public static ImRect TableGetCellBgRect(ImGuiTablePtr table, int columnN) - { - ImRect ret; - TableGetCellBgRectNative(&ret, table, columnN); - return ret; - } - - /// - /// To be documented. - /// - public static void TableGetCellBgRect(ImRectPtr pOut, ImGuiTablePtr table, int columnN) - { - TableGetCellBgRectNative(pOut, table, columnN); - } - - /// - /// To be documented. - /// - public static void TableGetCellBgRect(ref ImRect pOut, ImGuiTablePtr table, int columnN) - { - fixed (ImRect* ppOut = &pOut) - { - TableGetCellBgRectNative((ImRect*)ppOut, table, columnN); - } - } - - /// - /// To be documented. - /// - public static ImRect TableGetCellBgRect(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - ImRect ret; - TableGetCellBgRectNative(&ret, (ImGuiTable*)ptable, columnN); - return ret; - } - } - - /// - /// To be documented. - /// - public static void TableGetCellBgRect(ImRectPtr pOut, ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - TableGetCellBgRectNative(pOut, (ImGuiTable*)ptable, columnN); - } - } - - /// - /// To be documented. - /// - public static void TableGetCellBgRect(ref ImRect pOut, ref ImGuiTable table, int columnN) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiTable* ptable = &table) - { - TableGetCellBgRectNative((ImRect*)ppOut, (ImGuiTable*)ptable, columnN); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* TableGetColumnNameNative(ImGuiTable* table, int columnN) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1282])(table, columnN); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[1282])((nint)table, columnN); - #endif - } - - /// - /// To be documented. - /// - public static byte* TableGetColumnName(ImGuiTablePtr table, int columnN) - { - byte* ret = TableGetColumnNameNative(table, columnN); - return ret; - } - - /// - /// To be documented. - /// - public static string TableGetColumnNameS(ImGuiTablePtr table, int columnN) - { - string ret = Utils.DecodeStringUTF8(TableGetColumnNameNative(table, columnN)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* TableGetColumnName(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - byte* ret = TableGetColumnNameNative((ImGuiTable*)ptable, columnN); - return ret; - } - } - - /// - /// To be documented. - /// - public static string TableGetColumnNameS(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - string ret = Utils.DecodeStringUTF8(TableGetColumnNameNative((ImGuiTable*)ptable, columnN)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint TableGetColumnResizeIDNative(ImGuiTable* table, int columnN, int instanceNo) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1283])(table, columnN, instanceNo); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1283])((nint)table, columnN, instanceNo); - #endif - } - - /// - /// To be documented. - /// - public static uint TableGetColumnResizeID(ImGuiTablePtr table, int columnN, int instanceNo) - { - uint ret = TableGetColumnResizeIDNative(table, columnN, instanceNo); - return ret; - } - - /// - /// To be documented. - /// - public static uint TableGetColumnResizeID(ImGuiTablePtr table, int columnN) - { - uint ret = TableGetColumnResizeIDNative(table, columnN, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static uint TableGetColumnResizeID(ref ImGuiTable table, int columnN, int instanceNo) - { - fixed (ImGuiTable* ptable = &table) - { - uint ret = TableGetColumnResizeIDNative((ImGuiTable*)ptable, columnN, instanceNo); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint TableGetColumnResizeID(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - uint ret = TableGetColumnResizeIDNative((ImGuiTable*)ptable, columnN, (int)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float TableCalcMaxColumnWidthNative(ImGuiTable* table, int columnN) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1284])(table, columnN); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[1284])((nint)table, columnN); - #endif - } - - /// - /// To be documented. - /// - public static float TableCalcMaxColumnWidth(ImGuiTablePtr table, int columnN) - { - float ret = TableCalcMaxColumnWidthNative(table, columnN); - return ret; - } - - /// - /// To be documented. - /// - public static float TableCalcMaxColumnWidth(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - float ret = TableCalcMaxColumnWidthNative((ImGuiTable*)ptable, columnN); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetColumnWidthAutoSingleNative(ImGuiTable* table, int columnN) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1285])(table, columnN); - #else - ((delegate* unmanaged[Cdecl])funcTable[1285])((nint)table, columnN); - #endif - } - - /// - /// To be documented. - /// - public static void TableSetColumnWidthAutoSingle(ImGuiTablePtr table, int columnN) - { - TableSetColumnWidthAutoSingleNative(table, columnN); - } - - /// - /// To be documented. - /// - public static void TableSetColumnWidthAutoSingle(ref ImGuiTable table, int columnN) - { - fixed (ImGuiTable* ptable = &table) - { - TableSetColumnWidthAutoSingleNative((ImGuiTable*)ptable, columnN); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSetColumnWidthAutoAllNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1286])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1286])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableSetColumnWidthAutoAll(ImGuiTablePtr table) - { - TableSetColumnWidthAutoAllNative(table); - } - - /// - /// To be documented. - /// - public static void TableSetColumnWidthAutoAll(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableSetColumnWidthAutoAllNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableRemoveNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1287])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1287])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableRemove(ImGuiTablePtr table) - { - TableRemoveNative(table); - } - - /// - /// To be documented. - /// - public static void TableRemove(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableRemoveNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableGcCompactTransientBuffersNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1288])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1288])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableGcCompactTransientBuffers(ImGuiTablePtr table) - { - TableGcCompactTransientBuffersNative(table); - } - - /// - /// To be documented. - /// - public static void TableGcCompactTransientBuffers(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableGcCompactTransientBuffersNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableGcCompactTransientBuffersNative(ImGuiTableTempData* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1289])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1289])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableGcCompactTransientBuffers(ImGuiTableTempDataPtr table) - { - TableGcCompactTransientBuffersNative(table); - } - - /// - /// To be documented. - /// - public static void TableGcCompactTransientBuffers(ref ImGuiTableTempData table) - { - fixed (ImGuiTableTempData* ptable = &table) - { - TableGcCompactTransientBuffersNative((ImGuiTableTempData*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableGcCompactSettingsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1290])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1290])(); - #endif - } - - /// - /// To be documented. - /// - public static void TableGcCompactSettings() - { - TableGcCompactSettingsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableLoadSettingsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1291])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1291])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableLoadSettings(ImGuiTablePtr table) - { - TableLoadSettingsNative(table); - } - - /// - /// To be documented. - /// - public static void TableLoadSettings(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableLoadSettingsNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSaveSettingsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1292])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1292])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableSaveSettings(ImGuiTablePtr table) - { - TableSaveSettingsNative(table); - } - - /// - /// To be documented. - /// - public static void TableSaveSettings(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableSaveSettingsNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableResetSettingsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1293])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1293])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void TableResetSettings(ImGuiTablePtr table) - { - TableResetSettingsNative(table); - } - - /// - /// To be documented. - /// - public static void TableResetSettings(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - TableResetSettingsNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableSettings* TableGetBoundSettingsNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1294])(table); - #else - return (ImGuiTableSettings*)((delegate* unmanaged[Cdecl])funcTable[1294])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableSettingsPtr TableGetBoundSettings(ImGuiTablePtr table) - { - ImGuiTableSettingsPtr ret = TableGetBoundSettingsNative(table); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTableSettingsPtr TableGetBoundSettings(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - ImGuiTableSettingsPtr ret = TableGetBoundSettingsNative((ImGuiTable*)ptable); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TableSettingsAddSettingsHandlerNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1295])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1295])(); - #endif - } - - /// - /// To be documented. - /// - public static void TableSettingsAddSettingsHandler() - { - TableSettingsAddSettingsHandlerNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableSettings* TableSettingsCreateNative(uint id, int columnsCount) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1296])(id, columnsCount); - #else - return (ImGuiTableSettings*)((delegate* unmanaged[Cdecl])funcTable[1296])(id, columnsCount); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableSettingsPtr TableSettingsCreate(uint id, int columnsCount) - { - ImGuiTableSettingsPtr ret = TableSettingsCreateNative(id, columnsCount); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTableSettings* TableSettingsFindByIDNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1297])(id); - #else - return (ImGuiTableSettings*)((delegate* unmanaged[Cdecl])funcTable[1297])(id); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTableSettingsPtr TableSettingsFindByID(uint id) - { - ImGuiTableSettingsPtr ret = TableSettingsFindByIDNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabBar* GetCurrentTabBarNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1298])(); - #else - return (ImGuiTabBar*)((delegate* unmanaged[Cdecl])funcTable[1298])(); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabBarPtr GetCurrentTabBar() - { - ImGuiTabBarPtr ret = GetCurrentTabBarNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginTabBarExNative(ImGuiTabBar* tabBar, ImRect bb, ImGuiTabBarFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1299])(tabBar, bb, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1299])((nint)tabBar, bb, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginTabBarEx(ImGuiTabBarPtr tabBar, ImRect bb, ImGuiTabBarFlags flags) - { - byte ret = BeginTabBarExNative(tabBar, bb, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginTabBarEx(ref ImGuiTabBar tabBar, ImRect bb, ImGuiTabBarFlags flags) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte ret = BeginTabBarExNative((ImGuiTabBar*)ptabBar, bb, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabItem* TabBarFindTabByIDNative(ImGuiTabBar* tabBar, uint tabId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1300])(tabBar, tabId); - #else - return (ImGuiTabItem*)((delegate* unmanaged[Cdecl])funcTable[1300])((nint)tabBar, tabId); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarFindTabByID(ImGuiTabBarPtr tabBar, uint tabId) - { - ImGuiTabItemPtr ret = TabBarFindTabByIDNative(tabBar, tabId); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarFindTabByID(ref ImGuiTabBar tabBar, uint tabId) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - ImGuiTabItemPtr ret = TabBarFindTabByIDNative((ImGuiTabBar*)ptabBar, tabId); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabItem* TabBarFindTabByOrderNative(ImGuiTabBar* tabBar, int order) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1301])(tabBar, order); - #else - return (ImGuiTabItem*)((delegate* unmanaged[Cdecl])funcTable[1301])((nint)tabBar, order); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarFindTabByOrder(ImGuiTabBarPtr tabBar, int order) - { - ImGuiTabItemPtr ret = TabBarFindTabByOrderNative(tabBar, order); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarFindTabByOrder(ref ImGuiTabBar tabBar, int order) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - ImGuiTabItemPtr ret = TabBarFindTabByOrderNative((ImGuiTabBar*)ptabBar, order); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabItem* TabBarFindMostRecentlySelectedTabForActiveWindowNative(ImGuiTabBar* tabBar) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1302])(tabBar); - #else - return (ImGuiTabItem*)((delegate* unmanaged[Cdecl])funcTable[1302])((nint)tabBar); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBarPtr tabBar) - { - ImGuiTabItemPtr ret = TabBarFindMostRecentlySelectedTabForActiveWindowNative(tabBar); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarFindMostRecentlySelectedTabForActiveWindow(ref ImGuiTabBar tabBar) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - ImGuiTabItemPtr ret = TabBarFindMostRecentlySelectedTabForActiveWindowNative((ImGuiTabBar*)ptabBar); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiTabItem* TabBarGetCurrentTabNative(ImGuiTabBar* tabBar) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1303])(tabBar); - #else - return (ImGuiTabItem*)((delegate* unmanaged[Cdecl])funcTable[1303])((nint)tabBar); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarGetCurrentTab(ImGuiTabBarPtr tabBar) - { - ImGuiTabItemPtr ret = TabBarGetCurrentTabNative(tabBar); - return ret; - } - - /// - /// To be documented. - /// - public static ImGuiTabItemPtr TabBarGetCurrentTab(ref ImGuiTabBar tabBar) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - ImGuiTabItemPtr ret = TabBarGetCurrentTabNative((ImGuiTabBar*)ptabBar); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TabBarGetTabOrderNative(ImGuiTabBar* tabBar, ImGuiTabItem* tab) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1304])(tabBar, tab); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1304])((nint)tabBar, (nint)tab); - #endif - } - - /// - /// To be documented. - /// - public static int TabBarGetTabOrder(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab) - { - int ret = TabBarGetTabOrderNative(tabBar, tab); - return ret; - } - - /// - /// To be documented. - /// - public static int TabBarGetTabOrder(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - int ret = TabBarGetTabOrderNative((ImGuiTabBar*)ptabBar, tab); - return ret; - } - } - - /// - /// To be documented. - /// - public static int TabBarGetTabOrder(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabItem* ptab = &tab) - { - int ret = TabBarGetTabOrderNative(tabBar, (ImGuiTabItem*)ptab); - return ret; - } - } - - /// - /// To be documented. - /// - public static int TabBarGetTabOrder(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - int ret = TabBarGetTabOrderNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* TabBarGetTabNameNative(ImGuiTabBar* tabBar, ImGuiTabItem* tab) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1305])(tabBar, tab); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[1305])((nint)tabBar, (nint)tab); - #endif - } - - /// - /// To be documented. - /// - public static byte* TabBarGetTabName(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab) - { - byte* ret = TabBarGetTabNameNative(tabBar, tab); - return ret; - } - - /// - /// To be documented. - /// - public static string TabBarGetTabNameS(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab) - { - string ret = Utils.DecodeStringUTF8(TabBarGetTabNameNative(tabBar, tab)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* TabBarGetTabName(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* ret = TabBarGetTabNameNative((ImGuiTabBar*)ptabBar, tab); - return ret; - } - } - - /// - /// To be documented. - /// - public static string TabBarGetTabNameS(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - string ret = Utils.DecodeStringUTF8(TabBarGetTabNameNative((ImGuiTabBar*)ptabBar, tab)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* TabBarGetTabName(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabItem* ptab = &tab) - { - byte* ret = TabBarGetTabNameNative(tabBar, (ImGuiTabItem*)ptab); - return ret; - } - } - - /// - /// To be documented. - /// - public static string TabBarGetTabNameS(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabItem* ptab = &tab) - { - string ret = Utils.DecodeStringUTF8(TabBarGetTabNameNative(tabBar, (ImGuiTabItem*)ptab)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* TabBarGetTabName(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - byte* ret = TabBarGetTabNameNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string TabBarGetTabNameS(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - string ret = Utils.DecodeStringUTF8(TabBarGetTabNameNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab)); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarAddTabNative(ImGuiTabBar* tabBar, ImGuiTabItemFlags tabFlags, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1306])(tabBar, tabFlags, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1306])((nint)tabBar, tabFlags, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarAddTab(ImGuiTabBarPtr tabBar, ImGuiTabItemFlags tabFlags, ImGuiWindowPtr window) - { - TabBarAddTabNative(tabBar, tabFlags, window); - } - - /// - /// To be documented. - /// - public static void TabBarAddTab(ref ImGuiTabBar tabBar, ImGuiTabItemFlags tabFlags, ImGuiWindowPtr window) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarAddTabNative((ImGuiTabBar*)ptabBar, tabFlags, window); - } - } - - /// - /// To be documented. - /// - public static void TabBarAddTab(ImGuiTabBarPtr tabBar, ImGuiTabItemFlags tabFlags, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - TabBarAddTabNative(tabBar, tabFlags, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - public static void TabBarAddTab(ref ImGuiTabBar tabBar, ImGuiTabItemFlags tabFlags, ref ImGuiWindow window) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiWindow* pwindow = &window) - { - TabBarAddTabNative((ImGuiTabBar*)ptabBar, tabFlags, (ImGuiWindow*)pwindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarRemoveTabNative(ImGuiTabBar* tabBar, uint tabId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1307])(tabBar, tabId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1307])((nint)tabBar, tabId); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarRemoveTab(ImGuiTabBarPtr tabBar, uint tabId) - { - TabBarRemoveTabNative(tabBar, tabId); - } - - /// - /// To be documented. - /// - public static void TabBarRemoveTab(ref ImGuiTabBar tabBar, uint tabId) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarRemoveTabNative((ImGuiTabBar*)ptabBar, tabId); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarCloseTabNative(ImGuiTabBar* tabBar, ImGuiTabItem* tab) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1308])(tabBar, tab); - #else - ((delegate* unmanaged[Cdecl])funcTable[1308])((nint)tabBar, (nint)tab); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarCloseTab(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab) - { - TabBarCloseTabNative(tabBar, tab); - } - - /// - /// To be documented. - /// - public static void TabBarCloseTab(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarCloseTabNative((ImGuiTabBar*)ptabBar, tab); - } - } - - /// - /// To be documented. - /// - public static void TabBarCloseTab(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarCloseTabNative(tabBar, (ImGuiTabItem*)ptab); - } - } - - /// - /// To be documented. - /// - public static void TabBarCloseTab(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarCloseTabNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarQueueFocusNative(ImGuiTabBar* tabBar, ImGuiTabItem* tab) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1309])(tabBar, tab); - #else - ((delegate* unmanaged[Cdecl])funcTable[1309])((nint)tabBar, (nint)tab); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab) - { - TabBarQueueFocusNative(tabBar, tab); - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarQueueFocusNative((ImGuiTabBar*)ptabBar, tab); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarQueueFocusNative(tabBar, (ImGuiTabItem*)ptab); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarQueueFocusNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarQueueFocusNative(ImGuiTabBar* tabBar, byte* tabName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1310])(tabBar, tabName); - #else - ((delegate* unmanaged[Cdecl])funcTable[1310])((nint)tabBar, (nint)tabName); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ImGuiTabBarPtr tabBar, byte* tabName) - { - TabBarQueueFocusNative(tabBar, tabName); - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ref ImGuiTabBar tabBar, byte* tabName) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarQueueFocusNative((ImGuiTabBar*)ptabBar, tabName); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ImGuiTabBarPtr tabBar, ref byte tabName) - { - fixed (byte* ptabName = &tabName) - { - TabBarQueueFocusNative(tabBar, (byte*)ptabName); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ImGuiTabBarPtr tabBar, ReadOnlySpan tabName) - { - fixed (byte* ptabName = tabName) - { - TabBarQueueFocusNative(tabBar, (byte*)ptabName); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ImGuiTabBarPtr tabBar, string tabName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (tabName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(tabName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(tabName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabBarQueueFocusNative(tabBar, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ref ImGuiTabBar tabBar, ref byte tabName) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* ptabName = &tabName) - { - TabBarQueueFocusNative((ImGuiTabBar*)ptabBar, (byte*)ptabName); - } - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ref ImGuiTabBar tabBar, ReadOnlySpan tabName) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* ptabName = tabName) - { - TabBarQueueFocusNative((ImGuiTabBar*)ptabBar, (byte*)ptabName); - } - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueFocus(ref ImGuiTabBar tabBar, string tabName) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (tabName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(tabName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(tabName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabBarQueueFocusNative((ImGuiTabBar*)ptabBar, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarQueueReorderNative(ImGuiTabBar* tabBar, ImGuiTabItem* tab, int offset) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1311])(tabBar, tab, offset); - #else - ((delegate* unmanaged[Cdecl])funcTable[1311])((nint)tabBar, (nint)tab, offset); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorder(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab, int offset) - { - TabBarQueueReorderNative(tabBar, tab, offset); - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorder(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab, int offset) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarQueueReorderNative((ImGuiTabBar*)ptabBar, tab, offset); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorder(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab, int offset) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarQueueReorderNative(tabBar, (ImGuiTabItem*)ptab, offset); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorder(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab, int offset) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarQueueReorderNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab, offset); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabBarQueueReorderFromMousePosNative(ImGuiTabBar* tabBar, ImGuiTabItem* tab, Vector2 mousePos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1312])(tabBar, tab, mousePos); - #else - ((delegate* unmanaged[Cdecl])funcTable[1312])((nint)tabBar, (nint)tab, mousePos); - #endif - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorderFromMousePos(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab, Vector2 mousePos) - { - TabBarQueueReorderFromMousePosNative(tabBar, tab, mousePos); - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorderFromMousePos(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab, Vector2 mousePos) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - TabBarQueueReorderFromMousePosNative((ImGuiTabBar*)ptabBar, tab, mousePos); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorderFromMousePos(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab, Vector2 mousePos) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarQueueReorderFromMousePosNative(tabBar, (ImGuiTabItem*)ptab, mousePos); - } - } - - /// - /// To be documented. - /// - public static void TabBarQueueReorderFromMousePos(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab, Vector2 mousePos) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiTabItem* ptab = &tab) - { - TabBarQueueReorderFromMousePosNative((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab, mousePos); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TabBarProcessReorderNative(ImGuiTabBar* tabBar) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1313])(tabBar); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1313])((nint)tabBar); - #endif - } - - /// - /// To be documented. - /// - public static bool TabBarProcessReorder(ImGuiTabBarPtr tabBar) - { - byte ret = TabBarProcessReorderNative(tabBar); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TabBarProcessReorder(ref ImGuiTabBar tabBar) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte ret = TabBarProcessReorderNative((ImGuiTabBar*)ptabBar); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TabItemExNative(ImGuiTabBar* tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindow* dockedWindow) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1314])(tabBar, label, pOpen, flags, dockedWindow); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1314])((nint)tabBar, (nint)label, (nint)pOpen, flags, (nint)dockedWindow); - #endif - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - byte ret = TabItemExNative(tabBar, label, pOpen, flags, dockedWindow); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, label, pOpen, flags, dockedWindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ref byte label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (byte* plabel = &label) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, pOpen, flags, dockedWindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ReadOnlySpan label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (byte* plabel = label) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, pOpen, flags, dockedWindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, string label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TabItemExNative(tabBar, pStr0, pOpen, flags, dockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ref byte label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = &label) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, pOpen, flags, dockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ReadOnlySpan label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = label) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, pOpen, flags, dockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, string label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, pStr0, pOpen, flags, dockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, byte* label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative(tabBar, label, (bool*)ppOpen, flags, dockedWindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, byte* label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, label, (bool*)ppOpen, flags, dockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ref byte label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, (bool*)ppOpen, flags, dockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ReadOnlySpan label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (byte* plabel = label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, (bool*)ppOpen, flags, dockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, string label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative(tabBar, pStr0, (bool*)ppOpen, flags, dockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.013.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.013.cs deleted file mode 100644 index 7ac671ff4..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.013.cs +++ /dev/null @@ -1,5039 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ref byte label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, (bool*)ppOpen, flags, dockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ReadOnlySpan label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = label) - { - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, (bool*)ppOpen, flags, dockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, string label, ref bool pOpen, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, pStr0, (bool*)ppOpen, flags, dockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, label, pOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, label, pOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ref byte label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (byte* plabel = &label) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, pOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ReadOnlySpan label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (byte* plabel = label) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, pOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, string label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, pStr0, pOpen, flags, (ImGuiWindow*)pdockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ref byte label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = &label) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, pOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ReadOnlySpan label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = label) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, pOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, string label, bool* pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, pStr0, pOpen, flags, (ImGuiWindow*)pdockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, byte* label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, label, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, byte* label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, label, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ref byte label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, ReadOnlySpan label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (byte* plabel = label) - { - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, (byte*)plabel, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ImGuiTabBarPtr tabBar, string label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative(tabBar, pStr0, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ref byte label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = &label) - { - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, ReadOnlySpan label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = label) - { - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, (byte*)plabel, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool TabItemEx(ref ImGuiTabBar tabBar, string label, ref bool pOpen, ImGuiTabItemFlags flags, ref ImGuiWindow dockedWindow) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* ppOpen = &pOpen) - { - fixed (ImGuiWindow* pdockedWindow = &dockedWindow) - { - byte ret = TabItemExNative((ImGuiTabBar*)ptabBar, pStr0, (bool*)ppOpen, flags, (ImGuiWindow*)pdockedWindow); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabItemSpacingNative(byte* strId, ImGuiTabItemFlags flags, float width) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1315])(strId, flags, width); - #else - ((delegate* unmanaged[Cdecl])funcTable[1315])((nint)strId, flags, width); - #endif - } - - /// - /// To be documented. - /// - public static void TabItemSpacing(byte* strId, ImGuiTabItemFlags flags, float width) - { - TabItemSpacingNative(strId, flags, width); - } - - /// - /// To be documented. - /// - public static void TabItemSpacing(ref byte strId, ImGuiTabItemFlags flags, float width) - { - fixed (byte* pstrId = &strId) - { - TabItemSpacingNative((byte*)pstrId, flags, width); - } - } - - /// - /// To be documented. - /// - public static void TabItemSpacing(ReadOnlySpan strId, ImGuiTabItemFlags flags, float width) - { - fixed (byte* pstrId = strId) - { - TabItemSpacingNative((byte*)pstrId, flags, width); - } - } - - /// - /// To be documented. - /// - public static void TabItemSpacing(string strId, ImGuiTabItemFlags flags, float width) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabItemSpacingNative(pStr0, flags, width); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabItemCalcSizeNative(Vector2* pOut, byte* label, byte hasCloseButtonOrUnsavedMarker) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1316])(pOut, label, hasCloseButtonOrUnsavedMarker); - #else - ((delegate* unmanaged[Cdecl])funcTable[1316])((nint)pOut, (nint)label, hasCloseButtonOrUnsavedMarker); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 TabItemCalcSize(byte* label, bool hasCloseButtonOrUnsavedMarker) - { - Vector2 ret; - TabItemCalcSizeNative(&ret, label, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(Vector2* pOut, byte* label, bool hasCloseButtonOrUnsavedMarker) - { - TabItemCalcSizeNative(pOut, label, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(ref Vector2 pOut, byte* label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (Vector2* ppOut = &pOut) - { - TabItemCalcSizeNative((Vector2*)ppOut, label, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static Vector2 TabItemCalcSize(ref byte label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (byte* plabel = &label) - { - Vector2 ret; - TabItemCalcSizeNative(&ret, (byte*)plabel, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 TabItemCalcSize(ReadOnlySpan label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (byte* plabel = label) - { - Vector2 ret; - TabItemCalcSizeNative(&ret, (byte*)plabel, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 TabItemCalcSize(string label, bool hasCloseButtonOrUnsavedMarker) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - TabItemCalcSizeNative(&ret, pStr0, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(ref Vector2 pOut, ref byte label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* plabel = &label) - { - TabItemCalcSizeNative((Vector2*)ppOut, (byte*)plabel, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(ref Vector2 pOut, ReadOnlySpan label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* plabel = label) - { - TabItemCalcSizeNative((Vector2*)ppOut, (byte*)plabel, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(ref Vector2 pOut, string label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabItemCalcSizeNative((Vector2*)ppOut, pStr0, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(Vector2* pOut, ref byte label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (byte* plabel = &label) - { - TabItemCalcSizeNative(pOut, (byte*)plabel, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(Vector2* pOut, ReadOnlySpan label, bool hasCloseButtonOrUnsavedMarker) - { - fixed (byte* plabel = label) - { - TabItemCalcSizeNative(pOut, (byte*)plabel, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(Vector2* pOut, string label, bool hasCloseButtonOrUnsavedMarker) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabItemCalcSizeNative(pOut, pStr0, hasCloseButtonOrUnsavedMarker ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabItemCalcSizeNative(Vector2* pOut, ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1317])(pOut, window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1317])((nint)pOut, (nint)window); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 TabItemCalcSize(ImGuiWindowPtr window) - { - Vector2 ret; - TabItemCalcSizeNative(&ret, window); - return ret; - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(Vector2* pOut, ImGuiWindowPtr window) - { - TabItemCalcSizeNative(pOut, window); - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(ref Vector2 pOut, ImGuiWindowPtr window) - { - fixed (Vector2* ppOut = &pOut) - { - TabItemCalcSizeNative((Vector2*)ppOut, window); - } - } - - /// - /// To be documented. - /// - public static Vector2 TabItemCalcSize(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - Vector2 ret; - TabItemCalcSizeNative(&ret, (ImGuiWindow*)pwindow); - return ret; - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(Vector2* pOut, ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - TabItemCalcSizeNative(pOut, (ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - public static void TabItemCalcSize(ref Vector2 pOut, ref ImGuiWindow window) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - TabItemCalcSizeNative((Vector2*)ppOut, (ImGuiWindow*)pwindow); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabItemBackgroundNative(ImDrawList* drawList, ImRect bb, ImGuiTabItemFlags flags, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1318])(drawList, bb, flags, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1318])((nint)drawList, bb, flags, col); - #endif - } - - /// - /// To be documented. - /// - public static void TabItemBackground(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, uint col) - { - TabItemBackgroundNative(drawList, bb, flags, col); - } - - /// - /// To be documented. - /// - public static void TabItemBackground(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, uint col) - { - fixed (ImDrawList* pdrawList = &drawList) - { - TabItemBackgroundNative((ImDrawList*)pdrawList, bb, flags, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TabItemLabelAndCloseButtonNative(ImDrawList* drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, byte isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1319])(drawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible, outJustClosed, outTextClipped); - #else - ((delegate* unmanaged[Cdecl])funcTable[1319])((nint)drawList, bb, flags, framePadding, (nint)label, tabId, closeButtonId, isContentsVisible, (nint)outJustClosed, (nint)outTextClipped); - #endif - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - fixed (byte* plabel = &label) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - fixed (byte* plabel = label) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, outTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (byte* plabel = &label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (byte* plabel = label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, bool* outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* poutJustClosed = &outJustClosed) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, outTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (byte* plabel = &label) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (byte* plabel = label) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, bool* outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, outJustClosed, (bool*)poutTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (byte* plabel = &label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (byte* plabel = label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative(drawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ref byte label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ReadOnlySpan label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, (byte*)plabel, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void TabItemLabelAndCloseButton(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, string label, uint tabId, uint closeButtonId, bool isContentsVisible, ref bool outJustClosed, ref bool outTextClipped) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* poutJustClosed = &outJustClosed) - { - fixed (bool* poutTextClipped = &outTextClipped) - { - TabItemLabelAndCloseButtonNative((ImDrawList*)pdrawList, bb, flags, framePadding, pStr0, tabId, closeButtonId, isContentsVisible ? (byte)1 : (byte)0, (bool*)poutJustClosed, (bool*)poutTextClipped); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderTextNative(Vector2 pos, byte* text, byte* textEnd, byte hideTextAfterHash) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1320])(pos, text, textEnd, hideTextAfterHash); - #else - ((delegate* unmanaged[Cdecl])funcTable[1320])(pos, (nint)text, (nint)textEnd, hideTextAfterHash); - #endif - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, byte* textEnd, bool hideTextAfterHash) - { - RenderTextNative(pos, text, textEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, byte* textEnd) - { - RenderTextNative(pos, text, textEnd, (byte)(1)); - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text) - { - RenderTextNative(pos, text, (byte*)(default), (byte)(1)); - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, bool hideTextAfterHash) - { - RenderTextNative(pos, text, (byte*)(default), hideTextAfterHash ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, byte* textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = &text) - { - RenderTextNative(pos, (byte*)ptext, textEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - RenderTextNative(pos, (byte*)ptext, textEnd, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text) - { - fixed (byte* ptext = &text) - { - RenderTextNative(pos, (byte*)ptext, (byte*)(default), (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, bool hideTextAfterHash) - { - fixed (byte* ptext = &text) - { - RenderTextNative(pos, (byte*)ptext, (byte*)(default), hideTextAfterHash ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, byte* textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = text) - { - RenderTextNative(pos, (byte*)ptext, textEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - RenderTextNative(pos, (byte*)ptext, textEnd, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - RenderTextNative(pos, (byte*)ptext, (byte*)(default), (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, bool hideTextAfterHash) - { - fixed (byte* ptext = text) - { - RenderTextNative(pos, (byte*)ptext, (byte*)(default), hideTextAfterHash ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, byte* textEnd, bool hideTextAfterHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, pStr0, textEnd, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, pStr0, textEnd, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, pStr0, (byte*)(default), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, bool hideTextAfterHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, pStr0, (byte*)(default), hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, ref byte textEnd, bool hideTextAfterHash) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, text, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, text, (byte*)ptextEnd, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, ReadOnlySpan textEnd, bool hideTextAfterHash) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, text, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, text, (byte*)ptextEnd, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, string textEnd, bool hideTextAfterHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, text, pStr0, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, text, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, ref byte textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, (byte)(1)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, ReadOnlySpan textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, (byte)(1)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, string textEnd, bool hideTextAfterHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(pos, pStr0, pStr1, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextNative(pos, pStr0, pStr1, (byte)(1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, ReadOnlySpan textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, (byte)(1)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, string textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, (byte*)ptext, pStr0, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, (byte*)ptext, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, ref byte textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, (byte*)ptext, (byte*)ptextEnd, (byte)(1)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, string textEnd, bool hideTextAfterHash) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, (byte*)ptext, pStr0, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextNative(pos, (byte*)ptext, pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, ref byte textEnd, bool hideTextAfterHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, pStr0, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextNative(pos, pStr0, (byte*)ptextEnd, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, ReadOnlySpan textEnd, bool hideTextAfterHash) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, pStr0, (byte*)ptextEnd, hideTextAfterHash ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderText(Vector2 pos, string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextNative(pos, pStr0, (byte*)ptextEnd, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderTextWrappedNative(Vector2 pos, byte* text, byte* textEnd, float wrapWidth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1321])(pos, text, textEnd, wrapWidth); - #else - ((delegate* unmanaged[Cdecl])funcTable[1321])(pos, (nint)text, (nint)textEnd, wrapWidth); - #endif - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, byte* text, byte* textEnd, float wrapWidth) - { - RenderTextWrappedNative(pos, text, textEnd, wrapWidth); - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ref byte text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - RenderTextWrappedNative(pos, (byte*)ptext, textEnd, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ReadOnlySpan text, byte* textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - RenderTextWrappedNative(pos, (byte*)ptext, textEnd, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, string text, byte* textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextWrappedNative(pos, pStr0, textEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, byte* text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextWrappedNative(pos, text, (byte*)ptextEnd, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, byte* text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextWrappedNative(pos, text, (byte*)ptextEnd, wrapWidth); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, byte* text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextWrappedNative(pos, text, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ref byte text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextWrappedNative(pos, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ReadOnlySpan text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextWrappedNative(pos, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, string text, string textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextWrappedNative(pos, pStr0, pStr1, wrapWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ref byte text, ReadOnlySpan textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextWrappedNative(pos, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ref byte text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextWrappedNative(pos, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ReadOnlySpan text, ref byte textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextWrappedNative(pos, (byte*)ptext, (byte*)ptextEnd, wrapWidth); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, ReadOnlySpan text, string textEnd, float wrapWidth) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextWrappedNative(pos, (byte*)ptext, pStr0, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, string text, ref byte textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextWrappedNative(pos, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextWrapped(Vector2 pos, string text, ReadOnlySpan textEnd, float wrapWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextWrappedNative(pos, pStr0, (byte*)ptextEnd, wrapWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderTextClippedNative(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRect* clipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1322])(posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[1322])(posMin, posMax, (nint)text, (nint)textEnd, (nint)textSizeIfKnown, align, (nint)clipRect); - #endif - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, text, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, text, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.014.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.014.cs deleted file mode 100644 index ff8f41629..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.014.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedNative(posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderTextClippedExNative(ImDrawList* drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRect* clipRect) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1323])(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); - #else - ((delegate* unmanaged[Cdecl])funcTable[1323])((nint)drawList, posMin, posMax, (nint)text, (nint)textEnd, (nint)textSizeIfKnown, align, (nint)clipRect); - #endif - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.015.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.015.cs deleted file mode 100644 index d092889c6..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.015.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ImRectPtr clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), clipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.016.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.016.cs deleted file mode 100644 index 101fcb5dc..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.016.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, textSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, byte* textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, textEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, byte* text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, text, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative(drawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, pStr1, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ref byte text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ref byte textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, Vector2 align, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, align, (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextClippedEx(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown, ref ImRect clipRect) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - fixed (ImRect* pclipRect = &clipRect) - { - RenderTextClippedExNative((ImDrawList*)pdrawList, posMin, posMax, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown, (Vector2)(new Vector2(0,0)), (ImRect*)pclipRect); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderTextEllipsisNative(ImDrawList* drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, Vector2* textSizeIfKnown) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1324])(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, textEnd, textSizeIfKnown); - #else - ((delegate* unmanaged[Cdecl])funcTable[1324])((nint)drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (nint)text, (nint)textEnd, (nint)textSizeIfKnown); - #endif - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, Vector2* textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, textEnd, textSizeIfKnown); - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, textEnd, textSizeIfKnown); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, textSizeIfKnown); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, textSizeIfKnown); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, byte* textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, textEnd, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, byte* textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, textEnd, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, textSizeIfKnown); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, textSizeIfKnown); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, string textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, pStr0, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, pStr0, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, string textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, pStr1, textSizeIfKnown); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ref byte textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, pStr1, textSizeIfKnown); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, textSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, string textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ref byte textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ReadOnlySpan textEnd, Vector2* textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, textSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, textEnd, (Vector2*)ptextSizeIfKnown); - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, textEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, textEnd, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, textEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, byte* textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, textEnd, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, string textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, pStr0, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, pStr0, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, string textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, pStr1, (Vector2*)ptextSizeIfKnown); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ImDrawListPtr drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, pStr1, (Vector2*)ptextSizeIfKnown); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ref byte text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, ReadOnlySpan text, string textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, (byte*)ptext, pStr0, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ref byte textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RenderTextEllipsis(ref ImDrawList drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, string text, ReadOnlySpan textEnd, ref Vector2 textSizeIfKnown) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - fixed (Vector2* ptextSizeIfKnown = &textSizeIfKnown) - { - RenderTextEllipsisNative((ImDrawList*)pdrawList, posMin, posMax, clipMaxX, ellipsisMaxX, pStr0, (byte*)ptextEnd, (Vector2*)ptextSizeIfKnown); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderFrameNative(Vector2 pMin, Vector2 pMax, uint fillCol, byte borders, float rounding) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1325])(pMin, pMax, fillCol, borders, rounding); - #else - ((delegate* unmanaged[Cdecl])funcTable[1325])(pMin, pMax, fillCol, borders, rounding); - #endif - } - - /// - /// To be documented. - /// - public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, bool borders, float rounding) - { - RenderFrameNative(pMin, pMax, fillCol, borders ? (byte)1 : (byte)0, rounding); - } - - /// - /// To be documented. - /// - public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, bool borders) - { - RenderFrameNative(pMin, pMax, fillCol, borders ? (byte)1 : (byte)0, (float)(0.0f)); - } - - /// - /// To be documented. - /// - public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol) - { - RenderFrameNative(pMin, pMax, fillCol, (byte)(1), (float)(0.0f)); - } - - /// - /// To be documented. - /// - public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, float rounding) - { - RenderFrameNative(pMin, pMax, fillCol, (byte)(1), rounding); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderFrameBorderNative(Vector2 pMin, Vector2 pMax, float rounding) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1326])(pMin, pMax, rounding); - #else - ((delegate* unmanaged[Cdecl])funcTable[1326])(pMin, pMax, rounding); - #endif - } - - /// - /// To be documented. - /// - public static void RenderFrameBorder(Vector2 pMin, Vector2 pMax, float rounding) - { - RenderFrameBorderNative(pMin, pMax, rounding); - } - - /// - /// To be documented. - /// - public static void RenderFrameBorder(Vector2 pMin, Vector2 pMax) - { - RenderFrameBorderNative(pMin, pMax, (float)(0.0f)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderColorRectWithAlphaCheckerboardNative(ImDrawList* drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding, ImDrawFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1327])(drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1327])((nint)drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); - #endif - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding, ImDrawFlags flags) - { - RenderColorRectWithAlphaCheckerboardNative(drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding) - { - RenderColorRectWithAlphaCheckerboardNative(drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff) - { - RenderColorRectWithAlphaCheckerboardNative(drawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), (ImDrawFlags)(0)); - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, ImDrawFlags flags) - { - RenderColorRectWithAlphaCheckerboardNative(drawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), flags); - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding, ImDrawFlags flags) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderColorRectWithAlphaCheckerboardNative((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); - } - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderColorRectWithAlphaCheckerboardNative((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderColorRectWithAlphaCheckerboardNative((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), (ImDrawFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, ImDrawFlags flags) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderColorRectWithAlphaCheckerboardNative((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), flags); - } - } - - /// - /// Navigation highlight
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderNavCursorNative(ImRect bb, uint id, ImGuiNavRenderCursorFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1328])(bb, id, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1328])(bb, id, flags); - #endif - } - - /// - /// Navigation highlight
- ///
- public static void RenderNavCursor(ImRect bb, uint id, ImGuiNavRenderCursorFlags flags) - { - RenderNavCursorNative(bb, id, flags); - } - - /// - /// Navigation highlight
- ///
- public static void RenderNavCursor(ImRect bb, uint id) - { - RenderNavCursorNative(bb, id, (ImGuiNavRenderCursorFlags)(ImGuiNavRenderCursorFlags.None)); - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* FindRenderedTextEndNative(byte* text, byte* textEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1329])(text, textEnd); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[1329])((nint)text, (nint)textEnd); - #endif - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(byte* text, byte* textEnd) - { - byte* ret = FindRenderedTextEndNative(text, textEnd); - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(byte* text) - { - byte* ret = FindRenderedTextEndNative(text, (byte*)(default)); - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(byte* text) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(text, (byte*)(default))); - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(byte* text, byte* textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(text, textEnd)); - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, textEnd); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ref byte text) - { - fixed (byte* ptext = &text) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, (byte*)(default)); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ref byte text) - { - fixed (byte* ptext = &text) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, (byte*)(default))); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, textEnd)); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, textEnd); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, (byte*)(default)); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, (byte*)(default))); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, textEnd)); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = FindRenderedTextEndNative(pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = FindRenderedTextEndNative(pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(pStr0, (byte*)(default))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(pStr0, textEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = FindRenderedTextEndNative(text, (byte*)ptextEnd); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(text, (byte*)ptextEnd)); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = FindRenderedTextEndNative(text, (byte*)ptextEnd); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(text, (byte*)ptextEnd)); - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = FindRenderedTextEndNative(text, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(text, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd)); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd)); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = FindRenderedTextEndNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(pStr0, pStr1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd)); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = FindRenderedTextEndNative((byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, (byte*)ptextEnd)); - return ret; - } - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = FindRenderedTextEndNative((byte*)ptext, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative((byte*)ptext, pStr0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - byte* ret = FindRenderedTextEndNative(pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(pStr0, (byte*)ptextEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static byte* FindRenderedTextEnd(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - byte* ret = FindRenderedTextEndNative(pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// Find the optional ## from which we stop displaying text.
- ///
- public static string FindRenderedTextEndS(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - string ret = Utils.DecodeStringUTF8(FindRenderedTextEndNative(pStr0, (byte*)ptextEnd)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderMouseCursorNative(Vector2 pos, float scale, ImGuiMouseCursor mouseCursor, uint colFill, uint colBorder, uint colShadow) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1330])(pos, scale, mouseCursor, colFill, colBorder, colShadow); - #else - ((delegate* unmanaged[Cdecl])funcTable[1330])(pos, scale, mouseCursor, colFill, colBorder, colShadow); - #endif - } - - /// - /// To be documented. - /// - public static void RenderMouseCursor(Vector2 pos, float scale, ImGuiMouseCursor mouseCursor, uint colFill, uint colBorder, uint colShadow) - { - RenderMouseCursorNative(pos, scale, mouseCursor, colFill, colBorder, colShadow); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderArrowNative(ImDrawList* drawList, Vector2 pos, uint col, ImGuiDir dir, float scale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1331])(drawList, pos, col, dir, scale); - #else - ((delegate* unmanaged[Cdecl])funcTable[1331])((nint)drawList, pos, col, dir, scale); - #endif - } - - /// - /// To be documented. - /// - public static void RenderArrow(ImDrawListPtr drawList, Vector2 pos, uint col, ImGuiDir dir, float scale) - { - RenderArrowNative(drawList, pos, col, dir, scale); - } - - /// - /// To be documented. - /// - public static void RenderArrow(ImDrawListPtr drawList, Vector2 pos, uint col, ImGuiDir dir) - { - RenderArrowNative(drawList, pos, col, dir, (float)(1.0f)); - } - - /// - /// To be documented. - /// - public static void RenderArrow(ref ImDrawList drawList, Vector2 pos, uint col, ImGuiDir dir, float scale) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderArrowNative((ImDrawList*)pdrawList, pos, col, dir, scale); - } - } - - /// - /// To be documented. - /// - public static void RenderArrow(ref ImDrawList drawList, Vector2 pos, uint col, ImGuiDir dir) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderArrowNative((ImDrawList*)pdrawList, pos, col, dir, (float)(1.0f)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderBulletNative(ImDrawList* drawList, Vector2 pos, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1332])(drawList, pos, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1332])((nint)drawList, pos, col); - #endif - } - - /// - /// To be documented. - /// - public static void RenderBullet(ImDrawListPtr drawList, Vector2 pos, uint col) - { - RenderBulletNative(drawList, pos, col); - } - - /// - /// To be documented. - /// - public static void RenderBullet(ref ImDrawList drawList, Vector2 pos, uint col) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderBulletNative((ImDrawList*)pdrawList, pos, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderCheckMarkNative(ImDrawList* drawList, Vector2 pos, uint col, float sz) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1333])(drawList, pos, col, sz); - #else - ((delegate* unmanaged[Cdecl])funcTable[1333])((nint)drawList, pos, col, sz); - #endif - } - - /// - /// To be documented. - /// - public static void RenderCheckMark(ImDrawListPtr drawList, Vector2 pos, uint col, float sz) - { - RenderCheckMarkNative(drawList, pos, col, sz); - } - - /// - /// To be documented. - /// - public static void RenderCheckMark(ref ImDrawList drawList, Vector2 pos, uint col, float sz) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderCheckMarkNative((ImDrawList*)pdrawList, pos, col, sz); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderArrowPointingAtNative(ImDrawList* drawList, Vector2 pos, Vector2 halfSz, ImGuiDir direction, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1334])(drawList, pos, halfSz, direction, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1334])((nint)drawList, pos, halfSz, direction, col); - #endif - } - - /// - /// To be documented. - /// - public static void RenderArrowPointingAt(ImDrawListPtr drawList, Vector2 pos, Vector2 halfSz, ImGuiDir direction, uint col) - { - RenderArrowPointingAtNative(drawList, pos, halfSz, direction, col); - } - - /// - /// To be documented. - /// - public static void RenderArrowPointingAt(ref ImDrawList drawList, Vector2 pos, Vector2 halfSz, ImGuiDir direction, uint col) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderArrowPointingAtNative((ImDrawList*)pdrawList, pos, halfSz, direction, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderArrowDockMenuNative(ImDrawList* drawList, Vector2 pMin, float sz, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1335])(drawList, pMin, sz, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1335])((nint)drawList, pMin, sz, col); - #endif - } - - /// - /// To be documented. - /// - public static void RenderArrowDockMenu(ImDrawListPtr drawList, Vector2 pMin, float sz, uint col) - { - RenderArrowDockMenuNative(drawList, pMin, sz, col); - } - - /// - /// To be documented. - /// - public static void RenderArrowDockMenu(ref ImDrawList drawList, Vector2 pMin, float sz, uint col) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderArrowDockMenuNative((ImDrawList*)pdrawList, pMin, sz, col); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderRectFilledRangeHNative(ImDrawList* drawList, ImRect rect, uint col, float xStartNorm, float xEndNorm, float rounding) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1336])(drawList, rect, col, xStartNorm, xEndNorm, rounding); - #else - ((delegate* unmanaged[Cdecl])funcTable[1336])((nint)drawList, rect, col, xStartNorm, xEndNorm, rounding); - #endif - } - - /// - /// To be documented. - /// - public static void RenderRectFilledRangeH(ImDrawListPtr drawList, ImRect rect, uint col, float xStartNorm, float xEndNorm, float rounding) - { - RenderRectFilledRangeHNative(drawList, rect, col, xStartNorm, xEndNorm, rounding); - } - - /// - /// To be documented. - /// - public static void RenderRectFilledRangeH(ref ImDrawList drawList, ImRect rect, uint col, float xStartNorm, float xEndNorm, float rounding) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderRectFilledRangeHNative((ImDrawList*)pdrawList, rect, col, xStartNorm, xEndNorm, rounding); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderRectFilledWithHoleNative(ImDrawList* drawList, ImRect outer, ImRect inner, uint col, float rounding) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1337])(drawList, outer, inner, col, rounding); - #else - ((delegate* unmanaged[Cdecl])funcTable[1337])((nint)drawList, outer, inner, col, rounding); - #endif - } - - /// - /// To be documented. - /// - public static void RenderRectFilledWithHole(ImDrawListPtr drawList, ImRect outer, ImRect inner, uint col, float rounding) - { - RenderRectFilledWithHoleNative(drawList, outer, inner, col, rounding); - } - - /// - /// To be documented. - /// - public static void RenderRectFilledWithHole(ref ImDrawList drawList, ImRect outer, ImRect inner, uint col, float rounding) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderRectFilledWithHoleNative((ImDrawList*)pdrawList, outer, inner, col, rounding); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawFlags CalcRoundingFlagsForRectInRectNative(ImRect rIn, ImRect rOuter, float threshold) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1338])(rIn, rOuter, threshold); - #else - return (ImDrawFlags)((delegate* unmanaged[Cdecl])funcTable[1338])(rIn, rOuter, threshold); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawFlags CalcRoundingFlagsForRectInRect(ImRect rIn, ImRect rOuter, float threshold) - { - ImDrawFlags ret = CalcRoundingFlagsForRectInRectNative(rIn, rOuter, threshold); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TextExNative(byte* text, byte* textEnd, ImGuiTextFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1339])(text, textEnd, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1339])((nint)text, (nint)textEnd, flags); - #endif - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, byte* textEnd, ImGuiTextFlags flags) - { - TextExNative(text, textEnd, flags); - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, byte* textEnd) - { - TextExNative(text, textEnd, (ImGuiTextFlags)(0)); - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text) - { - TextExNative(text, (byte*)(default), (ImGuiTextFlags)(0)); - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, ImGuiTextFlags flags) - { - TextExNative(text, (byte*)(default), flags); - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, byte* textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = &text) - { - TextExNative((byte*)ptext, textEnd, flags); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, byte* textEnd) - { - fixed (byte* ptext = &text) - { - TextExNative((byte*)ptext, textEnd, (ImGuiTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text) - { - fixed (byte* ptext = &text) - { - TextExNative((byte*)ptext, (byte*)(default), (ImGuiTextFlags)(0)); - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.017.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.017.cs deleted file mode 100644 index 7ce0c0764..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.017.cs +++ /dev/null @@ -1,5050 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, ImGuiTextFlags flags) - { - fixed (byte* ptext = &text) - { - TextExNative((byte*)ptext, (byte*)(default), flags); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, byte* textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = text) - { - TextExNative((byte*)ptext, textEnd, flags); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, byte* textEnd) - { - fixed (byte* ptext = text) - { - TextExNative((byte*)ptext, textEnd, (ImGuiTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - TextExNative((byte*)ptext, (byte*)(default), (ImGuiTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, ImGuiTextFlags flags) - { - fixed (byte* ptext = text) - { - TextExNative((byte*)ptext, (byte*)(default), flags); - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, byte* textEnd, ImGuiTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative(pStr0, textEnd, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative(pStr0, textEnd, (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative(pStr0, (byte*)(default), (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, ImGuiTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative(pStr0, (byte*)(default), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, ref byte textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptextEnd = &textEnd) - { - TextExNative(text, (byte*)ptextEnd, flags); - } - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - TextExNative(text, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, ReadOnlySpan textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptextEnd = textEnd) - { - TextExNative(text, (byte*)ptextEnd, flags); - } - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - TextExNative(text, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, string textEnd, ImGuiTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative(text, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(byte* text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative(text, pStr0, (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, ref byte textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, flags); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, ref byte textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = &textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, ReadOnlySpan textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, flags); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, string textEnd, ImGuiTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - TextExNative(pStr0, pStr1, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - TextExNative(pStr0, pStr1, (ImGuiTextFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, ReadOnlySpan textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, flags); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, ReadOnlySpan textEnd) - { - fixed (byte* ptext = &text) - { - fixed (byte* ptextEnd = textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, string textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative((byte*)ptext, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ref byte text, string textEnd) - { - fixed (byte* ptext = &text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative((byte*)ptext, pStr0, (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, ref byte textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, flags); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, ref byte textEnd) - { - fixed (byte* ptext = text) - { - fixed (byte* ptextEnd = &textEnd) - { - TextExNative((byte*)ptext, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, string textEnd, ImGuiTextFlags flags) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative((byte*)ptext, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(ReadOnlySpan text, string textEnd) - { - fixed (byte* ptext = text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TextExNative((byte*)ptext, pStr0, (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, ref byte textEnd, ImGuiTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - TextExNative(pStr0, (byte*)ptextEnd, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - TextExNative(pStr0, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, ReadOnlySpan textEnd, ImGuiTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - TextExNative(pStr0, (byte*)ptextEnd, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void TextEx(string text, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - TextExNative(pStr0, (byte*)ptextEnd, (ImGuiTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ButtonExNative(byte* label, Vector2 sizeArg, ImGuiButtonFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1340])(label, sizeArg, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1340])((nint)label, sizeArg, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ButtonEx(byte* label, Vector2 sizeArg, ImGuiButtonFlags flags) - { - byte ret = ButtonExNative(label, sizeArg, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(byte* label, Vector2 sizeArg) - { - byte ret = ButtonExNative(label, sizeArg, (ImGuiButtonFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(byte* label) - { - byte ret = ButtonExNative(label, (Vector2)(new Vector2(0,0)), (ImGuiButtonFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(byte* label, ImGuiButtonFlags flags) - { - byte ret = ButtonExNative(label, (Vector2)(new Vector2(0,0)), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ref byte label, Vector2 sizeArg, ImGuiButtonFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = ButtonExNative((byte*)plabel, sizeArg, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ref byte label, Vector2 sizeArg) - { - fixed (byte* plabel = &label) - { - byte ret = ButtonExNative((byte*)plabel, sizeArg, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ButtonExNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ref byte label, ImGuiButtonFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = ButtonExNative((byte*)plabel, (Vector2)(new Vector2(0,0)), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ReadOnlySpan label, Vector2 sizeArg, ImGuiButtonFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = ButtonExNative((byte*)plabel, sizeArg, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ReadOnlySpan label, Vector2 sizeArg) - { - fixed (byte* plabel = label) - { - byte ret = ButtonExNative((byte*)plabel, sizeArg, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ButtonExNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(ReadOnlySpan label, ImGuiButtonFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = ButtonExNative((byte*)plabel, (Vector2)(new Vector2(0,0)), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonEx(string label, Vector2 sizeArg, ImGuiButtonFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ButtonExNative(pStr0, sizeArg, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(string label, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ButtonExNative(pStr0, sizeArg, (ImGuiButtonFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ButtonExNative(pStr0, (Vector2)(new Vector2(0,0)), (ImGuiButtonFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonEx(string label, ImGuiButtonFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ButtonExNative(pStr0, (Vector2)(new Vector2(0,0)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ArrowButtonExNative(byte* strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1341])(strId, dir, sizeArg, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1341])((nint)strId, dir, sizeArg, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(byte* strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) - { - byte ret = ArrowButtonExNative(strId, dir, sizeArg, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(byte* strId, ImGuiDir dir, Vector2 sizeArg) - { - byte ret = ArrowButtonExNative(strId, dir, sizeArg, (ImGuiButtonFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(ref byte strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) - { - fixed (byte* pstrId = &strId) - { - byte ret = ArrowButtonExNative((byte*)pstrId, dir, sizeArg, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(ref byte strId, ImGuiDir dir, Vector2 sizeArg) - { - fixed (byte* pstrId = &strId) - { - byte ret = ArrowButtonExNative((byte*)pstrId, dir, sizeArg, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(ReadOnlySpan strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) - { - fixed (byte* pstrId = strId) - { - byte ret = ArrowButtonExNative((byte*)pstrId, dir, sizeArg, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(ReadOnlySpan strId, ImGuiDir dir, Vector2 sizeArg) - { - fixed (byte* pstrId = strId) - { - byte ret = ArrowButtonExNative((byte*)pstrId, dir, sizeArg, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(string strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ArrowButtonExNative(pStr0, dir, sizeArg, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ArrowButtonEx(string strId, ImGuiDir dir, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ArrowButtonExNative(pStr0, dir, sizeArg, (ImGuiButtonFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImageButtonExNative(uint id, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol, ImGuiButtonFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1342])(id, userTextureId, imageSize, uv0, uv1, bgCol, tintCol, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1342])(id, userTextureId, imageSize, uv0, uv1, bgCol, tintCol, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ImageButtonEx(uint id, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol, ImGuiButtonFlags flags) - { - byte ret = ImageButtonExNative(id, userTextureId, imageSize, uv0, uv1, bgCol, tintCol, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImageButtonEx(uint id, ImTextureID userTextureId, Vector2 imageSize, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) - { - byte ret = ImageButtonExNative(id, userTextureId, imageSize, uv0, uv1, bgCol, tintCol, (ImGuiButtonFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SeparatorExNative(ImGuiSeparatorFlags flags, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1343])(flags, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[1343])(flags, thickness); - #endif - } - - /// - /// To be documented. - /// - public static void SeparatorEx(ImGuiSeparatorFlags flags, float thickness) - { - SeparatorExNative(flags, thickness); - } - - /// - /// To be documented. - /// - public static void SeparatorEx(ImGuiSeparatorFlags flags) - { - SeparatorExNative(flags, (float)(1.0f)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SeparatorTextExNative(uint id, byte* label, byte* labelEnd, float extraWidth) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1344])(id, label, labelEnd, extraWidth); - #else - ((delegate* unmanaged[Cdecl])funcTable[1344])(id, (nint)label, (nint)labelEnd, extraWidth); - #endif - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, byte* label, byte* labelEnd, float extraWidth) - { - SeparatorTextExNative(id, label, labelEnd, extraWidth); - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ref byte label, byte* labelEnd, float extraWidth) - { - fixed (byte* plabel = &label) - { - SeparatorTextExNative(id, (byte*)plabel, labelEnd, extraWidth); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ReadOnlySpan label, byte* labelEnd, float extraWidth) - { - fixed (byte* plabel = label) - { - SeparatorTextExNative(id, (byte*)plabel, labelEnd, extraWidth); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, string label, byte* labelEnd, float extraWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SeparatorTextExNative(id, pStr0, labelEnd, extraWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, byte* label, ref byte labelEnd, float extraWidth) - { - fixed (byte* plabelEnd = &labelEnd) - { - SeparatorTextExNative(id, label, (byte*)plabelEnd, extraWidth); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, byte* label, ReadOnlySpan labelEnd, float extraWidth) - { - fixed (byte* plabelEnd = labelEnd) - { - SeparatorTextExNative(id, label, (byte*)plabelEnd, extraWidth); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, byte* label, string labelEnd, float extraWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SeparatorTextExNative(id, label, pStr0, extraWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ref byte label, ref byte labelEnd, float extraWidth) - { - fixed (byte* plabel = &label) - { - fixed (byte* plabelEnd = &labelEnd) - { - SeparatorTextExNative(id, (byte*)plabel, (byte*)plabelEnd, extraWidth); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ReadOnlySpan label, ReadOnlySpan labelEnd, float extraWidth) - { - fixed (byte* plabel = label) - { - fixed (byte* plabelEnd = labelEnd) - { - SeparatorTextExNative(id, (byte*)plabel, (byte*)plabelEnd, extraWidth); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, string label, string labelEnd, float extraWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - SeparatorTextExNative(id, pStr0, pStr1, extraWidth); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ref byte label, ReadOnlySpan labelEnd, float extraWidth) - { - fixed (byte* plabel = &label) - { - fixed (byte* plabelEnd = labelEnd) - { - SeparatorTextExNative(id, (byte*)plabel, (byte*)plabelEnd, extraWidth); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ref byte label, string labelEnd, float extraWidth) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SeparatorTextExNative(id, (byte*)plabel, pStr0, extraWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ReadOnlySpan label, ref byte labelEnd, float extraWidth) - { - fixed (byte* plabel = label) - { - fixed (byte* plabelEnd = &labelEnd) - { - SeparatorTextExNative(id, (byte*)plabel, (byte*)plabelEnd, extraWidth); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, ReadOnlySpan label, string labelEnd, float extraWidth) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SeparatorTextExNative(id, (byte*)plabel, pStr0, extraWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, string label, ref byte labelEnd, float extraWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelEnd = &labelEnd) - { - SeparatorTextExNative(id, pStr0, (byte*)plabelEnd, extraWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SeparatorTextEx(uint id, string label, ReadOnlySpan labelEnd, float extraWidth) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelEnd = labelEnd) - { - SeparatorTextExNative(id, pStr0, (byte*)plabelEnd, extraWidth); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CheckboxFlagsNative(byte* label, long* flags, long flagsValue) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1345])(label, flags, flagsValue); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1345])((nint)label, (nint)flags, flagsValue); - #endif - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, long* flags, long flagsValue) - { - byte ret = CheckboxFlagsNative(label, flags, flagsValue); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, long* flags, long flagsValue) - { - fixed (byte* plabel = &label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, long* flags, long flagsValue) - { - fixed (byte* plabel = label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, long* flags, long flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CheckboxFlagsNative(pStr0, flags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, ref long flags, long flagsValue) - { - fixed (long* pflags = &flags) - { - byte ret = CheckboxFlagsNative(label, (long*)pflags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, ref long flags, long flagsValue) - { - fixed (byte* plabel = &label) - { - fixed (long* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (long*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, ref long flags, long flagsValue) - { - fixed (byte* plabel = label) - { - fixed (long* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (long*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, ref long flags, long flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pflags = &flags) - { - byte ret = CheckboxFlagsNative(pStr0, (long*)pflags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CheckboxFlagsNative(byte* label, ulong* flags, ulong flagsValue) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1346])(label, flags, flagsValue); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1346])((nint)label, (nint)flags, flagsValue); - #endif - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, ulong* flags, ulong flagsValue) - { - byte ret = CheckboxFlagsNative(label, flags, flagsValue); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, ulong* flags, ulong flagsValue) - { - fixed (byte* plabel = &label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, ulong* flags, ulong flagsValue) - { - fixed (byte* plabel = label) - { - byte ret = CheckboxFlagsNative((byte*)plabel, flags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, ulong* flags, ulong flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = CheckboxFlagsNative(pStr0, flags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(byte* label, ref ulong flags, ulong flagsValue) - { - fixed (ulong* pflags = &flags) - { - byte ret = CheckboxFlagsNative(label, (ulong*)pflags, flagsValue); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ref byte label, ref ulong flags, ulong flagsValue) - { - fixed (byte* plabel = &label) - { - fixed (ulong* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (ulong*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(ReadOnlySpan label, ref ulong flags, ulong flagsValue) - { - fixed (byte* plabel = label) - { - fixed (ulong* pflags = &flags) - { - byte ret = CheckboxFlagsNative((byte*)plabel, (ulong*)pflags, flagsValue); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool CheckboxFlags(string label, ref ulong flags, ulong flagsValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pflags = &flags) - { - byte ret = CheckboxFlagsNative(pStr0, (ulong*)pflags, flagsValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CloseButtonNative(uint id, Vector2 pos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1347])(id, pos); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1347])(id, pos); - #endif - } - - /// - /// To be documented. - /// - public static bool CloseButton(uint id, Vector2 pos) - { - byte ret = CloseButtonNative(id, pos); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CollapseButtonNative(uint id, Vector2 pos, ImGuiDockNode* dockNode) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1348])(id, pos, dockNode); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1348])(id, pos, (nint)dockNode); - #endif - } - - /// - /// To be documented. - /// - public static bool CollapseButton(uint id, Vector2 pos, ImGuiDockNodePtr dockNode) - { - byte ret = CollapseButtonNative(id, pos, dockNode); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CollapseButton(uint id, Vector2 pos, ref ImGuiDockNode dockNode) - { - fixed (ImGuiDockNode* pdockNode = &dockNode) - { - byte ret = CollapseButtonNative(id, pos, (ImGuiDockNode*)pdockNode); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ScrollbarNative(ImGuiAxis axis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1349])(axis); - #else - ((delegate* unmanaged[Cdecl])funcTable[1349])(axis); - #endif - } - - /// - /// To be documented. - /// - public static void Scrollbar(ImGuiAxis axis) - { - ScrollbarNative(axis); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ScrollbarExNative(ImRect bb, uint id, ImGuiAxis axis, long* pScrollV, long availV, long contentsV, ImDrawFlags drawRoundingFlags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1350])(bb, id, axis, pScrollV, availV, contentsV, drawRoundingFlags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1350])(bb, id, axis, (nint)pScrollV, availV, contentsV, drawRoundingFlags); - #endif - } - - /// - /// To be documented. - /// - public static bool ScrollbarEx(ImRect bb, uint id, ImGuiAxis axis, long* pScrollV, long availV, long contentsV, ImDrawFlags drawRoundingFlags) - { - byte ret = ScrollbarExNative(bb, id, axis, pScrollV, availV, contentsV, drawRoundingFlags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ScrollbarEx(ImRect bb, uint id, ImGuiAxis axis, long* pScrollV, long availV, long contentsV) - { - byte ret = ScrollbarExNative(bb, id, axis, pScrollV, availV, contentsV, (ImDrawFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ScrollbarEx(ImRect bb, uint id, ImGuiAxis axis, ref long pScrollV, long availV, long contentsV, ImDrawFlags drawRoundingFlags) - { - fixed (long* ppScrollV = &pScrollV) - { - byte ret = ScrollbarExNative(bb, id, axis, (long*)ppScrollV, availV, contentsV, drawRoundingFlags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ScrollbarEx(ImRect bb, uint id, ImGuiAxis axis, ref long pScrollV, long availV, long contentsV) - { - fixed (long* ppScrollV = &pScrollV) - { - byte ret = ScrollbarExNative(bb, id, axis, (long*)ppScrollV, availV, contentsV, (ImDrawFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetWindowScrollbarRectNative(ImRect* pOut, ImGuiWindow* window, ImGuiAxis axis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1351])(pOut, window, axis); - #else - ((delegate* unmanaged[Cdecl])funcTable[1351])((nint)pOut, (nint)window, axis); - #endif - } - - /// - /// To be documented. - /// - public static ImRect GetWindowScrollbarRect(ImGuiWindowPtr window, ImGuiAxis axis) - { - ImRect ret; - GetWindowScrollbarRectNative(&ret, window, axis); - return ret; - } - - /// - /// To be documented. - /// - public static void GetWindowScrollbarRect(ImRectPtr pOut, ImGuiWindowPtr window, ImGuiAxis axis) - { - GetWindowScrollbarRectNative(pOut, window, axis); - } - - /// - /// To be documented. - /// - public static void GetWindowScrollbarRect(ref ImRect pOut, ImGuiWindowPtr window, ImGuiAxis axis) - { - fixed (ImRect* ppOut = &pOut) - { - GetWindowScrollbarRectNative((ImRect*)ppOut, window, axis); - } - } - - /// - /// To be documented. - /// - public static ImRect GetWindowScrollbarRect(ref ImGuiWindow window, ImGuiAxis axis) - { - fixed (ImGuiWindow* pwindow = &window) - { - ImRect ret; - GetWindowScrollbarRectNative(&ret, (ImGuiWindow*)pwindow, axis); - return ret; - } - } - - /// - /// To be documented. - /// - public static void GetWindowScrollbarRect(ImRectPtr pOut, ref ImGuiWindow window, ImGuiAxis axis) - { - fixed (ImGuiWindow* pwindow = &window) - { - GetWindowScrollbarRectNative(pOut, (ImGuiWindow*)pwindow, axis); - } - } - - /// - /// To be documented. - /// - public static void GetWindowScrollbarRect(ref ImRect pOut, ref ImGuiWindow window, ImGuiAxis axis) - { - fixed (ImRect* ppOut = &pOut) - { - fixed (ImGuiWindow* pwindow = &window) - { - GetWindowScrollbarRectNative((ImRect*)ppOut, (ImGuiWindow*)pwindow, axis); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetWindowScrollbarIDNative(ImGuiWindow* window, ImGuiAxis axis) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1352])(window, axis); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1352])((nint)window, axis); - #endif - } - - /// - /// To be documented. - /// - public static uint GetWindowScrollbarID(ImGuiWindowPtr window, ImGuiAxis axis) - { - uint ret = GetWindowScrollbarIDNative(window, axis); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetWindowScrollbarID(ref ImGuiWindow window, ImGuiAxis axis) - { - fixed (ImGuiWindow* pwindow = &window) - { - uint ret = GetWindowScrollbarIDNative((ImGuiWindow*)pwindow, axis); - return ret; - } - } - - /// - /// 0..3: corners
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetWindowResizeCornerIDNative(ImGuiWindow* window, int n) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1353])(window, n); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1353])((nint)window, n); - #endif - } - - /// - /// 0..3: corners
- ///
- public static uint GetWindowResizeCornerID(ImGuiWindowPtr window, int n) - { - uint ret = GetWindowResizeCornerIDNative(window, n); - return ret; - } - - /// - /// 0..3: corners
- ///
- public static uint GetWindowResizeCornerID(ref ImGuiWindow window, int n) - { - fixed (ImGuiWindow* pwindow = &window) - { - uint ret = GetWindowResizeCornerIDNative((ImGuiWindow*)pwindow, n); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetWindowResizeBorderIDNative(ImGuiWindow* window, ImGuiDir dir) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1354])(window, dir); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[1354])((nint)window, dir); - #endif - } - - /// - /// To be documented. - /// - public static uint GetWindowResizeBorderID(ImGuiWindowPtr window, ImGuiDir dir) - { - uint ret = GetWindowResizeBorderIDNative(window, dir); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetWindowResizeBorderID(ref ImGuiWindow window, ImGuiDir dir) - { - fixed (ImGuiWindow* pwindow = &window) - { - uint ret = GetWindowResizeBorderIDNative((ImGuiWindow*)pwindow, dir); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ButtonBehaviorNative(ImRect bb, uint id, bool* outHovered, bool* outHeld, ImGuiButtonFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1355])(bb, id, outHovered, outHeld, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1355])(bb, id, (nint)outHovered, (nint)outHeld, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, bool* outHeld, ImGuiButtonFlags flags) - { - byte ret = ButtonBehaviorNative(bb, id, outHovered, outHeld, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, bool* outHeld) - { - byte ret = ButtonBehaviorNative(bb, id, outHovered, outHeld, (ImGuiButtonFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, bool* outHeld, ImGuiButtonFlags flags) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = ButtonBehaviorNative(bb, id, (bool*)poutHovered, outHeld, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, bool* outHeld) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = ButtonBehaviorNative(bb, id, (bool*)poutHovered, outHeld, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, ref bool outHeld, ImGuiButtonFlags flags) - { - fixed (bool* poutHeld = &outHeld) - { - byte ret = ButtonBehaviorNative(bb, id, outHovered, (bool*)poutHeld, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, ref bool outHeld) - { - fixed (bool* poutHeld = &outHeld) - { - byte ret = ButtonBehaviorNative(bb, id, outHovered, (bool*)poutHeld, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, ref bool outHeld, ImGuiButtonFlags flags) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* poutHeld = &outHeld) - { - byte ret = ButtonBehaviorNative(bb, id, (bool*)poutHovered, (bool*)poutHeld, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, ref bool outHeld) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* poutHeld = &outHeld) - { - byte ret = ButtonBehaviorNative(bb, id, (bool*)poutHovered, (bool*)poutHeld, (ImGuiButtonFlags)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragBehaviorNative(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1356])(id, dataType, pV, vSpeed, pMin, pMax, format, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1356])(id, dataType, (nint)pV, vSpeed, (nint)pMin, (nint)pMax, (nint)format, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool DragBehavior(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) - { - byte ret = DragBehaviorNative(id, dataType, pV, vSpeed, pMin, pMax, format, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragBehavior(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = &format) - { - byte ret = DragBehaviorNative(id, dataType, pV, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragBehavior(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags) - { - fixed (byte* pformat = format) - { - byte ret = DragBehaviorNative(id, dataType, pV, vSpeed, pMin, pMax, (byte*)pformat, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragBehavior(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, string format, ImGuiSliderFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DragBehaviorNative(id, dataType, pV, vSpeed, pMin, pMax, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SliderBehaviorNative(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags, ImRect* outGrabBb) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1357])(bb, id, dataType, pV, pMin, pMax, format, flags, outGrabBb); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1357])(bb, id, dataType, (nint)pV, (nint)pMin, (nint)pMax, (nint)format, flags, (nint)outGrabBb); - #endif - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags, ImRectPtr outGrabBb) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, format, flags, outGrabBb); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags, ImRectPtr outGrabBb) - { - fixed (byte* pformat = &format) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, (byte*)pformat, flags, outGrabBb); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags, ImRectPtr outGrabBb) - { - fixed (byte* pformat = format) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, (byte*)pformat, flags, outGrabBb); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, string format, ImGuiSliderFlags flags, ImRectPtr outGrabBb) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, pStr0, flags, outGrabBb); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags, ref ImRect outGrabBb) - { - fixed (ImRect* poutGrabBb = &outGrabBb) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, format, flags, (ImRect*)poutGrabBb); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, ref byte format, ImGuiSliderFlags flags, ref ImRect outGrabBb) - { - fixed (byte* pformat = &format) - { - fixed (ImRect* poutGrabBb = &outGrabBb) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, (byte*)pformat, flags, (ImRect*)poutGrabBb); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, ReadOnlySpan format, ImGuiSliderFlags flags, ref ImRect outGrabBb) - { - fixed (byte* pformat = format) - { - fixed (ImRect* poutGrabBb = &outGrabBb) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, (byte*)pformat, flags, (ImRect*)poutGrabBb); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, string format, ImGuiSliderFlags flags, ref ImRect outGrabBb) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImRect* poutGrabBb = &outGrabBb) - { - byte ret = SliderBehaviorNative(bb, id, dataType, pV, pMin, pMax, pStr0, flags, (ImRect*)poutGrabBb); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SplitterBehaviorNative(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1358])(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1358])(bb, id, axis, (nint)size1, (nint)size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); - #endif - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, uint bgCol) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) - { - fixed (float* psize1 = &size1) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) - { - fixed (float* psize1 = &size1) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend) - { - fixed (float* psize1 = &size1) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2) - { - fixed (float* psize1 = &size1) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) - { - fixed (float* psize1 = &size1) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, uint bgCol) - { - fixed (float* psize1 = &size1) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, uint bgCol) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) - { - fixed (float* psize1 = &size1) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) - { - fixed (float* psize1 = &size1) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend) - { - fixed (float* psize1 = &size1) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2) - { - fixed (float* psize1 = &size1) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) - { - fixed (float* psize1 = &size1) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, uint bgCol) - { - fixed (float* psize1 = &size1) - { - fixed (float* psize2 = &size2) - { - byte ret = SplitterBehaviorNative(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeBehaviorNative(uint id, ImGuiTreeNodeFlags flags, byte* label, byte* labelEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1359])(id, flags, label, labelEnd); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1359])(id, flags, (nint)label, (nint)labelEnd); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, byte* label, byte* labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, label, labelEnd); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, byte* label) - { - byte ret = TreeNodeBehaviorNative(id, flags, label, (byte*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, byte* labelEnd) - { - fixed (byte* plabel = &label) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, labelEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan label, byte* labelEnd) - { - fixed (byte* plabel = label) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, labelEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, byte* labelEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeBehaviorNative(id, flags, pStr0, labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeBehaviorNative(id, flags, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, byte* label, ref byte labelEnd) - { - fixed (byte* plabelEnd = &labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, label, (byte*)plabelEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, byte* label, ReadOnlySpan labelEnd) - { - fixed (byte* plabelEnd = labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, label, (byte*)plabelEnd); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, byte* label, string labelEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeBehaviorNative(id, flags, label, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, ref byte labelEnd) - { - fixed (byte* plabel = &label) - { - fixed (byte* plabelEnd = &labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan label, ReadOnlySpan labelEnd) - { - fixed (byte* plabel = label) - { - fixed (byte* plabelEnd = labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, string labelEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TreeNodeBehaviorNative(id, flags, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, ReadOnlySpan labelEnd) - { - fixed (byte* plabel = &label) - { - fixed (byte* plabelEnd = labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ref byte label, string labelEnd) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan label, ref byte labelEnd) - { - fixed (byte* plabel = label) - { - fixed (byte* plabelEnd = &labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, (byte*)plabelEnd); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ReadOnlySpan label, string labelEnd) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TreeNodeBehaviorNative(id, flags, (byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, ref byte labelEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelEnd = &labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, pStr0, (byte*)plabelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, string label, ReadOnlySpan labelEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelEnd = labelEnd) - { - byte ret = TreeNodeBehaviorNative(id, flags, pStr0, (byte*)plabelEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TreePushOverrideIDNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1360])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1360])(id); - #endif - } - - /// - /// To be documented. - /// - public static void TreePushOverrideID(uint id) - { - TreePushOverrideIDNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeGetOpenNative(uint storageId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1361])(storageId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1361])(storageId); - #endif - } - - /// - /// To be documented. - /// - public static bool TreeNodeGetOpen(uint storageId) - { - byte ret = TreeNodeGetOpenNative(storageId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TreeNodeSetOpenNative(uint storageId, byte open) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1362])(storageId, open); - #else - ((delegate* unmanaged[Cdecl])funcTable[1362])(storageId, open); - #endif - } - - /// - /// To be documented. - /// - public static void TreeNodeSetOpen(uint storageId, bool open) - { - TreeNodeSetOpenNative(storageId, open ? (byte)1 : (byte)0); - } - - /// - /// Return open state. Consume previous SetNextItemOpen() data, if any. May return true when logging.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TreeNodeUpdateNextOpenNative(uint storageId, ImGuiTreeNodeFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1363])(storageId, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1363])(storageId, flags); - #endif - } - - /// - /// Return open state. Consume previous SetNextItemOpen() data, if any. May return true when logging.
- ///
- public static bool TreeNodeUpdateNextOpen(uint storageId, ImGuiTreeNodeFlags flags) - { - byte ret = TreeNodeUpdateNextOpenNative(storageId, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiDataTypeInfo* DataTypeGetInfoNative(ImGuiDataType dataType) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1364])(dataType); - #else - return (ImGuiDataTypeInfo*)((delegate* unmanaged[Cdecl])funcTable[1364])(dataType); - #endif - } - - /// - /// To be documented. - /// - public static ImGuiDataTypeInfoPtr DataTypeGetInfo(ImGuiDataType dataType) - { - ImGuiDataTypeInfoPtr ret = DataTypeGetInfoNative(dataType); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DataTypeApplyOpNative(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1365])(dataType, op, output, arg1, arg2); - #else - ((delegate* unmanaged[Cdecl])funcTable[1365])(dataType, op, (nint)output, (nint)arg1, (nint)arg2); - #endif - } - - /// - /// To be documented. - /// - public static void DataTypeApplyOp(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2) - { - DataTypeApplyOpNative(dataType, op, output, arg1, arg2); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DataTypeApplyFromTextNative(byte* buf, ImGuiDataType dataType, void* pData, byte* format, void* pDataWhenEmpty) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1366])(buf, dataType, pData, format, pDataWhenEmpty); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1366])((nint)buf, dataType, (nint)pData, (nint)format, (nint)pDataWhenEmpty); - #endif - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, byte* format, void* pDataWhenEmpty) - { - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, format, pDataWhenEmpty); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, byte* format) - { - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, format, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, byte* format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = &buf) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format, pDataWhenEmpty); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* pbuf = &buf) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, byte* format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = buf) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format, pDataWhenEmpty); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* pbuf = buf) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, format, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, byte* format, void* pDataWhenEmpty) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, format, pDataWhenEmpty); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, format, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ref byte format, void* pDataWhenEmpty) - { - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat, pDataWhenEmpty); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pDataWhenEmpty) - { - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat, pDataWhenEmpty); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, (byte*)pformat, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, string format, void* pDataWhenEmpty) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, pStr0, pDataWhenEmpty); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative(buf, dataType, pData, pStr0, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ref byte format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, pDataWhenEmpty); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = buf) - { - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, pDataWhenEmpty); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pbuf = buf) - { - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, string format, void* pDataWhenEmpty) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, pStr1, pDataWhenEmpty); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, pStr1, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, pDataWhenEmpty); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, string format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, pStr0, pDataWhenEmpty); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ref byte buf, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, pStr0, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, ref byte format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = buf) - { - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, pDataWhenEmpty); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pbuf = buf) - { - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, (byte*)pformat, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, string format, void* pDataWhenEmpty) - { - fixed (byte* pbuf = buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, pStr0, pDataWhenEmpty); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(ReadOnlySpan buf, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* pbuf = buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DataTypeApplyFromTextNative((byte*)pbuf, dataType, pData, pStr0, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ref byte format, void* pDataWhenEmpty) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, (byte*)pformat, pDataWhenEmpty); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, (byte*)pformat, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pDataWhenEmpty) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, (byte*)pformat, pDataWhenEmpty); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DataTypeApplyFromText(string buf, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = DataTypeApplyFromTextNative(pStr0, dataType, pData, (byte*)pformat, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int DataTypeCompareNative(ImGuiDataType dataType, void* arg1, void* arg2) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1367])(dataType, arg1, arg2); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1367])(dataType, (nint)arg1, (nint)arg2); - #endif - } - - /// - /// To be documented. - /// - public static int DataTypeCompare(ImGuiDataType dataType, void* arg1, void* arg2) - { - int ret = DataTypeCompareNative(dataType, arg1, arg2); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DataTypeClampNative(ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1368])(dataType, pData, pMin, pMax); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1368])(dataType, (nint)pData, (nint)pMin, (nint)pMax); - #endif - } - - /// - /// To be documented. - /// - public static bool DataTypeClamp(ImGuiDataType dataType, void* pData, void* pMin, void* pMax) - { - byte ret = DataTypeClampNative(dataType, pData, pMin, pMax); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DataTypeIsZeroNative(ImGuiDataType dataType, void* pData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1369])(dataType, pData); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1369])(dataType, (nint)pData); - #endif - } - - /// - /// To be documented. - /// - public static bool DataTypeIsZero(ImGuiDataType dataType, void* pData) - { - byte ret = DataTypeIsZeroNative(dataType, pData); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void InputTextDeactivateHookNative(uint id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1370])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[1370])(id); - #endif - } - - /// - /// To be documented. - /// - public static void InputTextDeactivateHook(uint id) - { - InputTextDeactivateHookNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TempInputScalarNative(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1371])(bb, id, label, dataType, pData, format, pClampMin, pClampMax); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1371])(bb, id, (nint)label, dataType, (nint)pData, (nint)format, (nint)pClampMin, (nint)pClampMax); - #endif - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, format, pClampMin, pClampMax); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, format, pClampMin, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, format, (void*)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = &label) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, pClampMax); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin) - { - fixed (byte* plabel = &label) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, (void*)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = label) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, pClampMax); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin) - { - fixed (byte* plabel = label) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, pClampMin, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, format, (void*)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, format, pClampMin, pClampMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, format, pClampMin, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, format, (void*)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin, void* pClampMax) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, pStr0, pClampMin, pClampMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, string format, void* pClampMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, pStr0, pClampMin, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, label, dataType, pData, pStr0, (void*)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, pStr1, pClampMin, pClampMax); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, string format, void* pClampMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, pStr1, pClampMin, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, pStr1, (void*)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, pClampMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, string format, void* pClampMin) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ref byte label, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, (void*)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format, void* pClampMin, void* pClampMax) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, pClampMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.018.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.018.cs deleted file mode 100644 index 38c42673b..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.018.cs +++ /dev/null @@ -1,5047 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format, void* pClampMin) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, pClampMin, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, ReadOnlySpan label, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputScalarNative(bb, id, (byte*)plabel, dataType, pData, pStr0, (void*)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin, void* pClampMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ref byte format, void* pClampMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin, void* pClampMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, pClampMax); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format, void* pClampMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, pClampMin, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputScalar(ImRect bb, uint id, string label, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = TempInputScalarNative(bb, id, pStr0, dataType, pData, (byte*)pformat, (void*)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TempInputIsActiveNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1372])(id); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1372])(id); - #endif - } - - /// - /// To be documented. - /// - public static bool TempInputIsActive(uint id) - { - byte ret = TempInputIsActiveNative(id); - return ret != 0; - } - - /// - /// Get input text state if active
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImGuiInputTextState* GetInputTextStateNative(uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1373])(id); - #else - return (ImGuiInputTextState*)((delegate* unmanaged[Cdecl])funcTable[1373])(id); - #endif - } - - /// - /// Get input text state if active
- ///
- public static ImGuiInputTextStatePtr GetInputTextState(uint id) - { - ImGuiInputTextStatePtr ret = GetInputTextStateNative(id); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextItemRefValNative(ImGuiDataType dataType, void* pData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1374])(dataType, pData); - #else - ((delegate* unmanaged[Cdecl])funcTable[1374])(dataType, (nint)pData); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextItemRefVal(ImGuiDataType dataType, void* pData) - { - SetNextItemRefValNative(dataType, pData); - } - - /// - /// This may be useful to apply workaround that a based on distinguish whenever an item is active as a text input field.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsItemActiveAsInputTextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1375])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1375])(); - #endif - } - - /// - /// This may be useful to apply workaround that a based on distinguish whenever an item is active as a text input field.
- ///
- public static bool IsItemActiveAsInputText() - { - byte ret = IsItemActiveAsInputTextNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColorTooltipNative(byte* text, float* col, ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1376])(text, col, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1376])((nint)text, (nint)col, flags); - #endif - } - - /// - /// To be documented. - /// - public static void ColorTooltip(byte* text, float* col, ImGuiColorEditFlags flags) - { - ColorTooltipNative(text, col, flags); - } - - /// - /// To be documented. - /// - public static void ColorTooltip(ref byte text, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* ptext = &text) - { - ColorTooltipNative((byte*)ptext, col, flags); - } - } - - /// - /// To be documented. - /// - public static void ColorTooltip(ReadOnlySpan text, float* col, ImGuiColorEditFlags flags) - { - fixed (byte* ptext = text) - { - ColorTooltipNative((byte*)ptext, col, flags); - } - } - - /// - /// To be documented. - /// - public static void ColorTooltip(string text, float* col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColorTooltipNative(pStr0, col, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColorTooltip(byte* text, ref float col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = &col) - { - ColorTooltipNative(text, (float*)pcol, flags); - } - } - - /// - /// To be documented. - /// - public static void ColorTooltip(ref byte text, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* ptext = &text) - { - fixed (float* pcol = &col) - { - ColorTooltipNative((byte*)ptext, (float*)pcol, flags); - } - } - } - - /// - /// To be documented. - /// - public static void ColorTooltip(ReadOnlySpan text, ref float col, ImGuiColorEditFlags flags) - { - fixed (byte* ptext = text) - { - fixed (float* pcol = &col) - { - ColorTooltipNative((byte*)ptext, (float*)pcol, flags); - } - } - } - - /// - /// To be documented. - /// - public static void ColorTooltip(string text, ref float col, ImGuiColorEditFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcol = &col) - { - ColorTooltipNative(pStr0, (float*)pcol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColorEditOptionsPopupNative(float* col, ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1377])(col, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1377])((nint)col, flags); - #endif - } - - /// - /// To be documented. - /// - public static void ColorEditOptionsPopup(float* col, ImGuiColorEditFlags flags) - { - ColorEditOptionsPopupNative(col, flags); - } - - /// - /// To be documented. - /// - public static void ColorEditOptionsPopup(ref float col, ImGuiColorEditFlags flags) - { - fixed (float* pcol = &col) - { - ColorEditOptionsPopupNative((float*)pcol, flags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColorPickerOptionsPopupNative(float* refCol, ImGuiColorEditFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1378])(refCol, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[1378])((nint)refCol, flags); - #endif - } - - /// - /// To be documented. - /// - public static void ColorPickerOptionsPopup(float* refCol, ImGuiColorEditFlags flags) - { - ColorPickerOptionsPopupNative(refCol, flags); - } - - /// - /// To be documented. - /// - public static void ColorPickerOptionsPopup(ref float refCol, ImGuiColorEditFlags flags) - { - fixed (float* prefCol = &refCol) - { - ColorPickerOptionsPopupNative((float*)prefCol, flags); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int PlotExNative(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, int>)funcTable[1379])(plotType, label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, sizeArg); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1379])(plotType, (nint)label, (nint)valuesGetter, (nint)data, valuesCount, valuesOffset, (nint)overlayText, scaleMin, scaleMax, sizeArg); - #endif - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = &label) - { - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = label) - { - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, sizeArg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* poverlayText = &overlayText) - { - int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* poverlayText = overlayText) - { - int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = PlotExNative(plotType, label, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, sizeArg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = &overlayText) - { - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = overlayText) - { - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (overlayText != null) - { - pStrSize1 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(overlayText, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, pStr1, scaleMin, scaleMax, sizeArg); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = &label) - { - fixed (byte* poverlayText = overlayText) - { - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ref byte label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, sizeArg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = label) - { - fixed (byte* poverlayText = &overlayText) - { - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, ReadOnlySpan label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (overlayText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(overlayText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(overlayText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = PlotExNative(plotType, (byte*)plabel, valuesGetter, data, valuesCount, valuesOffset, pStr0, scaleMin, scaleMax, sizeArg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ref byte overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = &overlayText) - { - int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int PlotEx(ImGuiPlotType plotType, string label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, ReadOnlySpan overlayText, float scaleMin, float scaleMax, Vector2 sizeArg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* poverlayText = overlayText) - { - int ret = PlotExNative(plotType, pStr0, valuesGetter, data, valuesCount, valuesOffset, (byte*)poverlayText, scaleMin, scaleMax, sizeArg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShadeVertsLinearColorGradientKeepAlphaNative(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1380])(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); - #else - ((delegate* unmanaged[Cdecl])funcTable[1380])((nint)drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); - #endif - } - - /// - /// To be documented. - /// - public static void ShadeVertsLinearColorGradientKeepAlpha(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1) - { - ShadeVertsLinearColorGradientKeepAlphaNative(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); - } - - /// - /// To be documented. - /// - public static void ShadeVertsLinearColorGradientKeepAlpha(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ShadeVertsLinearColorGradientKeepAlphaNative((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShadeVertsLinearUVNative(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, byte clamp) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1381])(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp); - #else - ((delegate* unmanaged[Cdecl])funcTable[1381])((nint)drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp); - #endif - } - - /// - /// To be documented. - /// - public static void ShadeVertsLinearUV(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, bool clamp) - { - ShadeVertsLinearUVNative(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void ShadeVertsLinearUV(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, bool clamp) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ShadeVertsLinearUVNative((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShadeVertsTransformPosNative(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 pivotIn, float cosA, float sinA, Vector2 pivotOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1382])(drawList, vertStartIdx, vertEndIdx, pivotIn, cosA, sinA, pivotOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[1382])((nint)drawList, vertStartIdx, vertEndIdx, pivotIn, cosA, sinA, pivotOut); - #endif - } - - /// - /// To be documented. - /// - public static void ShadeVertsTransformPos(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 pivotIn, float cosA, float sinA, Vector2 pivotOut) - { - ShadeVertsTransformPosNative(drawList, vertStartIdx, vertEndIdx, pivotIn, cosA, sinA, pivotOut); - } - - /// - /// To be documented. - /// - public static void ShadeVertsTransformPos(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 pivotIn, float cosA, float sinA, Vector2 pivotOut) - { - fixed (ImDrawList* pdrawList = &drawList) - { - ShadeVertsTransformPosNative((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, pivotIn, cosA, sinA, pivotOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GcCompactTransientMiscBuffersNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1383])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1383])(); - #endif - } - - /// - /// To be documented. - /// - public static void GcCompactTransientMiscBuffers() - { - GcCompactTransientMiscBuffersNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GcCompactTransientWindowBuffersNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1384])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1384])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void GcCompactTransientWindowBuffers(ImGuiWindowPtr window) - { - GcCompactTransientWindowBuffersNative(window); - } - - /// - /// To be documented. - /// - public static void GcCompactTransientWindowBuffers(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - GcCompactTransientWindowBuffersNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GcAwakeTransientWindowBuffersNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1385])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[1385])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void GcAwakeTransientWindowBuffers(ImGuiWindowPtr window) - { - GcAwakeTransientWindowBuffersNative(window); - } - - /// - /// To be documented. - /// - public static void GcAwakeTransientWindowBuffers(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - GcAwakeTransientWindowBuffersNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ErrorLogNative(byte* msg) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1386])(msg); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1386])((nint)msg); - #endif - } - - /// - /// To be documented. - /// - public static bool ErrorLog(byte* msg) - { - byte ret = ErrorLogNative(msg); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ErrorLog(ref byte msg) - { - fixed (byte* pmsg = &msg) - { - byte ret = ErrorLogNative((byte*)pmsg); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ErrorLog(ReadOnlySpan msg) - { - fixed (byte* pmsg = msg) - { - byte ret = ErrorLogNative((byte*)pmsg); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ErrorLog(string msg) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (msg != null) - { - pStrSize0 = Utils.GetByteCountUTF8(msg); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(msg, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ErrorLogNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ErrorRecoveryStoreStateNative(ImGuiErrorRecoveryState* stateOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1387])(stateOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[1387])((nint)stateOut); - #endif - } - - /// - /// To be documented. - /// - public static void ErrorRecoveryStoreState(ImGuiErrorRecoveryStatePtr stateOut) - { - ErrorRecoveryStoreStateNative(stateOut); - } - - /// - /// To be documented. - /// - public static void ErrorRecoveryStoreState(ref ImGuiErrorRecoveryState stateOut) - { - fixed (ImGuiErrorRecoveryState* pstateOut = &stateOut) - { - ErrorRecoveryStoreStateNative((ImGuiErrorRecoveryState*)pstateOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ErrorRecoveryTryToRecoverStateNative(ImGuiErrorRecoveryState* stateIn) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1388])(stateIn); - #else - ((delegate* unmanaged[Cdecl])funcTable[1388])((nint)stateIn); - #endif - } - - /// - /// To be documented. - /// - public static void ErrorRecoveryTryToRecoverState(ImGuiErrorRecoveryStatePtr stateIn) - { - ErrorRecoveryTryToRecoverStateNative(stateIn); - } - - /// - /// To be documented. - /// - public static void ErrorRecoveryTryToRecoverState(ref ImGuiErrorRecoveryState stateIn) - { - fixed (ImGuiErrorRecoveryState* pstateIn = &stateIn) - { - ErrorRecoveryTryToRecoverStateNative((ImGuiErrorRecoveryState*)pstateIn); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ErrorRecoveryTryToRecoverWindowStateNative(ImGuiErrorRecoveryState* stateIn) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1389])(stateIn); - #else - ((delegate* unmanaged[Cdecl])funcTable[1389])((nint)stateIn); - #endif - } - - /// - /// To be documented. - /// - public static void ErrorRecoveryTryToRecoverWindowState(ImGuiErrorRecoveryStatePtr stateIn) - { - ErrorRecoveryTryToRecoverWindowStateNative(stateIn); - } - - /// - /// To be documented. - /// - public static void ErrorRecoveryTryToRecoverWindowState(ref ImGuiErrorRecoveryState stateIn) - { - fixed (ImGuiErrorRecoveryState* pstateIn = &stateIn) - { - ErrorRecoveryTryToRecoverWindowStateNative((ImGuiErrorRecoveryState*)pstateIn); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ErrorCheckUsingSetCursorPosToExtendParentBoundariesNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1390])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1390])(); - #endif - } - - /// - /// To be documented. - /// - public static void ErrorCheckUsingSetCursorPosToExtendParentBoundaries() - { - ErrorCheckUsingSetCursorPosToExtendParentBoundariesNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ErrorCheckEndFrameFinalizeErrorTooltipNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1391])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1391])(); - #endif - } - - /// - /// To be documented. - /// - public static void ErrorCheckEndFrameFinalizeErrorTooltip() - { - ErrorCheckEndFrameFinalizeErrorTooltipNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginErrorTooltipNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1392])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1392])(); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginErrorTooltip() - { - byte ret = BeginErrorTooltipNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndErrorTooltipNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1393])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1393])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndErrorTooltip() - { - EndErrorTooltipNative(); - } - - /// - /// size >= 0 : alloc, size = -1 : free
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugAllocHookNative(ImGuiDebugAllocInfo* info, int frameCount, void* ptr, ulong size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1394])(info, frameCount, ptr, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[1394])((nint)info, frameCount, (nint)ptr, size); - #endif - } - - /// - /// size >= 0 : alloc, size = -1 : free
- ///
- public static void DebugAllocHook(ImGuiDebugAllocInfoPtr info, int frameCount, void* ptr, ulong size) - { - DebugAllocHookNative(info, frameCount, ptr, size); - } - - /// - /// size >= 0 : alloc, size = -1 : free
- ///
- public static void DebugAllocHook(ref ImGuiDebugAllocInfo info, int frameCount, void* ptr, ulong size) - { - fixed (ImGuiDebugAllocInfo* pinfo = &info) - { - DebugAllocHookNative((ImGuiDebugAllocInfo*)pinfo, frameCount, ptr, size); - } - } - - /// - /// size >= 0 : alloc, size = -1 : free
- ///
- public static void DebugAllocHook(ImGuiDebugAllocInfoPtr info, int frameCount, void* ptr, nuint size) - { - DebugAllocHookNative(info, frameCount, ptr, size); - } - - /// - /// size >= 0 : alloc, size = -1 : free
- ///
- public static void DebugAllocHook(ref ImGuiDebugAllocInfo info, int frameCount, void* ptr, nuint size) - { - fixed (ImGuiDebugAllocInfo* pinfo = &info) - { - DebugAllocHookNative((ImGuiDebugAllocInfo*)pinfo, frameCount, ptr, size); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugDrawCursorPosNative(uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1395])(col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1395])(col); - #endif - } - - /// - /// To be documented. - /// - public static void DebugDrawCursorPos(uint col) - { - DebugDrawCursorPosNative(col); - } - - /// - /// To be documented. - /// - public static void DebugDrawCursorPos() - { - DebugDrawCursorPosNative((uint)(4278190335)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugDrawLineExtentsNative(uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1396])(col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1396])(col); - #endif - } - - /// - /// To be documented. - /// - public static void DebugDrawLineExtents(uint col) - { - DebugDrawLineExtentsNative(col); - } - - /// - /// To be documented. - /// - public static void DebugDrawLineExtents() - { - DebugDrawLineExtentsNative((uint)(4278190335)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugDrawItemRectNative(uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1397])(col); - #else - ((delegate* unmanaged[Cdecl])funcTable[1397])(col); - #endif - } - - /// - /// To be documented. - /// - public static void DebugDrawItemRect(uint col) - { - DebugDrawItemRectNative(col); - } - - /// - /// To be documented. - /// - public static void DebugDrawItemRect() - { - DebugDrawItemRectNative((uint)(4278190335)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugTextUnformattedWithLocateItemNative(byte* lineBegin, byte* lineEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1398])(lineBegin, lineEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[1398])((nint)lineBegin, (nint)lineEnd); - #endif - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(byte* lineBegin, byte* lineEnd) - { - DebugTextUnformattedWithLocateItemNative(lineBegin, lineEnd); - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ref byte lineBegin, byte* lineEnd) - { - fixed (byte* plineBegin = &lineBegin) - { - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, lineEnd); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ReadOnlySpan lineBegin, byte* lineEnd) - { - fixed (byte* plineBegin = lineBegin) - { - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, lineEnd); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(string lineBegin, byte* lineEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugTextUnformattedWithLocateItemNative(pStr0, lineEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(byte* lineBegin, ref byte lineEnd) - { - fixed (byte* plineEnd = &lineEnd) - { - DebugTextUnformattedWithLocateItemNative(lineBegin, (byte*)plineEnd); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(byte* lineBegin, ReadOnlySpan lineEnd) - { - fixed (byte* plineEnd = lineEnd) - { - DebugTextUnformattedWithLocateItemNative(lineBegin, (byte*)plineEnd); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(byte* lineBegin, string lineEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugTextUnformattedWithLocateItemNative(lineBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ref byte lineBegin, ref byte lineEnd) - { - fixed (byte* plineBegin = &lineBegin) - { - fixed (byte* plineEnd = &lineEnd) - { - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, (byte*)plineEnd); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ReadOnlySpan lineBegin, ReadOnlySpan lineEnd) - { - fixed (byte* plineBegin = lineBegin) - { - fixed (byte* plineEnd = lineEnd) - { - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, (byte*)plineEnd); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(string lineBegin, string lineEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (lineEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(lineEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(lineEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - DebugTextUnformattedWithLocateItemNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ref byte lineBegin, ReadOnlySpan lineEnd) - { - fixed (byte* plineBegin = &lineBegin) - { - fixed (byte* plineEnd = lineEnd) - { - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, (byte*)plineEnd); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ref byte lineBegin, string lineEnd) - { - fixed (byte* plineBegin = &lineBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ReadOnlySpan lineBegin, ref byte lineEnd) - { - fixed (byte* plineBegin = lineBegin) - { - fixed (byte* plineEnd = &lineEnd) - { - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, (byte*)plineEnd); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(ReadOnlySpan lineBegin, string lineEnd) - { - fixed (byte* plineBegin = lineBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugTextUnformattedWithLocateItemNative((byte*)plineBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(string lineBegin, ref byte lineEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plineEnd = &lineEnd) - { - DebugTextUnformattedWithLocateItemNative(pStr0, (byte*)plineEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugTextUnformattedWithLocateItem(string lineBegin, ReadOnlySpan lineEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (lineBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(lineBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(lineBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plineEnd = lineEnd) - { - DebugTextUnformattedWithLocateItemNative(pStr0, (byte*)plineEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// Call sparingly: only 1 at the same time!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugLocateItemNative(uint targetId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1399])(targetId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1399])(targetId); - #endif - } - - /// - /// Call sparingly: only 1 at the same time!
- ///
- public static void DebugLocateItem(uint targetId) - { - DebugLocateItemNative(targetId); - } - - /// - /// Only call on reaction to a mouse Hover: because only 1 at the same time!
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugLocateItemOnHoverNative(uint targetId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1400])(targetId); - #else - ((delegate* unmanaged[Cdecl])funcTable[1400])(targetId); - #endif - } - - /// - /// Only call on reaction to a mouse Hover: because only 1 at the same time!
- ///
- public static void DebugLocateItemOnHover(uint targetId) - { - DebugLocateItemOnHoverNative(targetId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugLocateItemResolveWithLastItemNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1401])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1401])(); - #endif - } - - /// - /// To be documented. - /// - public static void DebugLocateItemResolveWithLastItem() - { - DebugLocateItemResolveWithLastItemNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugBreakClearDataNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1402])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1402])(); - #endif - } - - /// - /// To be documented. - /// - public static void DebugBreakClearData() - { - DebugBreakClearDataNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DebugBreakButtonNative(byte* label, byte* descriptionOfLocation) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1403])(label, descriptionOfLocation); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1403])((nint)label, (nint)descriptionOfLocation); - #endif - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(byte* label, byte* descriptionOfLocation) - { - byte ret = DebugBreakButtonNative(label, descriptionOfLocation); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ref byte label, byte* descriptionOfLocation) - { - fixed (byte* plabel = &label) - { - byte ret = DebugBreakButtonNative((byte*)plabel, descriptionOfLocation); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ReadOnlySpan label, byte* descriptionOfLocation) - { - fixed (byte* plabel = label) - { - byte ret = DebugBreakButtonNative((byte*)plabel, descriptionOfLocation); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(string label, byte* descriptionOfLocation) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugBreakButtonNative(pStr0, descriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(byte* label, ref byte descriptionOfLocation) - { - fixed (byte* pdescriptionOfLocation = &descriptionOfLocation) - { - byte ret = DebugBreakButtonNative(label, (byte*)pdescriptionOfLocation); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(byte* label, ReadOnlySpan descriptionOfLocation) - { - fixed (byte* pdescriptionOfLocation = descriptionOfLocation) - { - byte ret = DebugBreakButtonNative(label, (byte*)pdescriptionOfLocation); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(byte* label, string descriptionOfLocation) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descriptionOfLocation != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descriptionOfLocation, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugBreakButtonNative(label, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ref byte label, ref byte descriptionOfLocation) - { - fixed (byte* plabel = &label) - { - fixed (byte* pdescriptionOfLocation = &descriptionOfLocation) - { - byte ret = DebugBreakButtonNative((byte*)plabel, (byte*)pdescriptionOfLocation); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ReadOnlySpan label, ReadOnlySpan descriptionOfLocation) - { - fixed (byte* plabel = label) - { - fixed (byte* pdescriptionOfLocation = descriptionOfLocation) - { - byte ret = DebugBreakButtonNative((byte*)plabel, (byte*)pdescriptionOfLocation); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(string label, string descriptionOfLocation) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (descriptionOfLocation != null) - { - pStrSize1 = Utils.GetByteCountUTF8(descriptionOfLocation); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(descriptionOfLocation, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = DebugBreakButtonNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ref byte label, ReadOnlySpan descriptionOfLocation) - { - fixed (byte* plabel = &label) - { - fixed (byte* pdescriptionOfLocation = descriptionOfLocation) - { - byte ret = DebugBreakButtonNative((byte*)plabel, (byte*)pdescriptionOfLocation); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ref byte label, string descriptionOfLocation) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descriptionOfLocation != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descriptionOfLocation, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugBreakButtonNative((byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ReadOnlySpan label, ref byte descriptionOfLocation) - { - fixed (byte* plabel = label) - { - fixed (byte* pdescriptionOfLocation = &descriptionOfLocation) - { - byte ret = DebugBreakButtonNative((byte*)plabel, (byte*)pdescriptionOfLocation); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(ReadOnlySpan label, string descriptionOfLocation) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descriptionOfLocation != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descriptionOfLocation, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = DebugBreakButtonNative((byte*)plabel, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(string label, ref byte descriptionOfLocation) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pdescriptionOfLocation = &descriptionOfLocation) - { - byte ret = DebugBreakButtonNative(pStr0, (byte*)pdescriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DebugBreakButton(string label, ReadOnlySpan descriptionOfLocation) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pdescriptionOfLocation = descriptionOfLocation) - { - byte ret = DebugBreakButtonNative(pStr0, (byte*)pdescriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugBreakButtonTooltipNative(byte keyboardOnly, byte* descriptionOfLocation) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1404])(keyboardOnly, descriptionOfLocation); - #else - ((delegate* unmanaged[Cdecl])funcTable[1404])(keyboardOnly, (nint)descriptionOfLocation); - #endif - } - - /// - /// To be documented. - /// - public static void DebugBreakButtonTooltip(bool keyboardOnly, byte* descriptionOfLocation) - { - DebugBreakButtonTooltipNative(keyboardOnly ? (byte)1 : (byte)0, descriptionOfLocation); - } - - /// - /// To be documented. - /// - public static void DebugBreakButtonTooltip(bool keyboardOnly, ref byte descriptionOfLocation) - { - fixed (byte* pdescriptionOfLocation = &descriptionOfLocation) - { - DebugBreakButtonTooltipNative(keyboardOnly ? (byte)1 : (byte)0, (byte*)pdescriptionOfLocation); - } - } - - /// - /// To be documented. - /// - public static void DebugBreakButtonTooltip(bool keyboardOnly, ReadOnlySpan descriptionOfLocation) - { - fixed (byte* pdescriptionOfLocation = descriptionOfLocation) - { - DebugBreakButtonTooltipNative(keyboardOnly ? (byte)1 : (byte)0, (byte*)pdescriptionOfLocation); - } - } - - /// - /// To be documented. - /// - public static void DebugBreakButtonTooltip(bool keyboardOnly, string descriptionOfLocation) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (descriptionOfLocation != null) - { - pStrSize0 = Utils.GetByteCountUTF8(descriptionOfLocation); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(descriptionOfLocation, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugBreakButtonTooltipNative(keyboardOnly ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowFontAtlasNative(ImFontAtlas* atlas) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1405])(atlas); - #else - ((delegate* unmanaged[Cdecl])funcTable[1405])((nint)atlas); - #endif - } - - /// - /// To be documented. - /// - public static void ShowFontAtlas(ImFontAtlasPtr atlas) - { - ShowFontAtlasNative(atlas); - } - - /// - /// To be documented. - /// - public static void ShowFontAtlas(ref ImFontAtlas atlas) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ShowFontAtlasNative((ImFontAtlas*)patlas); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugHookIdInfoNative(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1406])(id, dataType, dataId, dataIdEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[1406])(id, dataType, (nint)dataId, (nint)dataIdEnd); - #endif - } - - /// - /// To be documented. - /// - public static void DebugHookIdInfo(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd) - { - DebugHookIdInfoNative(id, dataType, dataId, dataIdEnd); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeColumnsNative(ImGuiOldColumns* columns) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1407])(columns); - #else - ((delegate* unmanaged[Cdecl])funcTable[1407])((nint)columns); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeColumns(ImGuiOldColumnsPtr columns) - { - DebugNodeColumnsNative(columns); - } - - /// - /// To be documented. - /// - public static void DebugNodeColumns(ref ImGuiOldColumns columns) - { - fixed (ImGuiOldColumns* pcolumns = &columns) - { - DebugNodeColumnsNative((ImGuiOldColumns*)pcolumns); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeDockNodeNative(ImGuiDockNode* node, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1408])(node, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[1408])((nint)node, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ImGuiDockNodePtr node, byte* label) - { - DebugNodeDockNodeNative(node, label); - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ref ImGuiDockNode node, byte* label) - { - fixed (ImGuiDockNode* pnode = &node) - { - DebugNodeDockNodeNative((ImGuiDockNode*)pnode, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ImGuiDockNodePtr node, ref byte label) - { - fixed (byte* plabel = &label) - { - DebugNodeDockNodeNative(node, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ImGuiDockNodePtr node, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - DebugNodeDockNodeNative(node, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ImGuiDockNodePtr node, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDockNodeNative(node, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ref ImGuiDockNode node, ref byte label) - { - fixed (ImGuiDockNode* pnode = &node) - { - fixed (byte* plabel = &label) - { - DebugNodeDockNodeNative((ImGuiDockNode*)pnode, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ref ImGuiDockNode node, ReadOnlySpan label) - { - fixed (ImGuiDockNode* pnode = &node) - { - fixed (byte* plabel = label) - { - DebugNodeDockNodeNative((ImGuiDockNode*)pnode, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDockNode(ref ImGuiDockNode node, string label) - { - fixed (ImGuiDockNode* pnode = &node) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDockNodeNative((ImGuiDockNode*)pnode, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeDrawListNative(ImGuiWindow* window, ImGuiViewportP* viewport, ImDrawList* drawList, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1409])(window, viewport, drawList, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[1409])((nint)window, (nint)viewport, (nint)drawList, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, byte* label) - { - DebugNodeDrawListNative(window, viewport, drawList, label); - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, byte* label) - { - fixed (ImGuiWindow* pwindow = &window) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, byte* label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, byte* label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, label); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, byte* label) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, byte* label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, label); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, byte* label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, label); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, byte* label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, label); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ref byte label) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative(window, viewport, drawList, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative(window, viewport, drawList, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative(window, viewport, drawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ref byte label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ReadOnlySpan label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, string label) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, drawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ref byte label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ReadOnlySpan label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, string label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, drawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ref byte label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, ReadOnlySpan label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ImDrawListPtr drawList, string label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, drawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ref byte label) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ReadOnlySpan label) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, string label) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative(window, viewport, (ImDrawList*)pdrawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ref byte label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, ReadOnlySpan label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ImGuiViewportPPtr viewport, ref ImDrawList drawList, string label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative((ImGuiWindow*)pwindow, viewport, (ImDrawList*)pdrawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ref byte label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ReadOnlySpan label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ImGuiWindowPtr window, ref ImGuiViewportP viewport, ref ImDrawList drawList, string label) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative(window, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ref byte label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = &label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, ReadOnlySpan label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* plabel = label) - { - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, (byte*)plabel); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawList(ref ImGuiWindow window, ref ImGuiViewportP viewport, ref ImDrawList drawList, string label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeDrawListNative((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport, (ImDrawList*)pdrawList, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeDrawCmdShowMeshAndBoundingBoxNative(ImDrawList* outDrawList, ImDrawList* drawList, ImDrawCmd* drawCmd, byte showMesh, byte showAabb) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1410])(outDrawList, drawList, drawCmd, showMesh, showAabb); - #else - ((delegate* unmanaged[Cdecl])funcTable[1410])((nint)outDrawList, (nint)drawList, (nint)drawCmd, showMesh, showAabb); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ImDrawListPtr drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, drawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ImDrawListPtr drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawList* poutDrawList = &outDrawList) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, drawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ref ImDrawList drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, (ImDrawList*)pdrawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ref ImDrawList drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawList* poutDrawList = &outDrawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, (ImDrawList*)pdrawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ImDrawListPtr drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawCmd* pdrawCmd = &drawCmd) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, drawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ImDrawListPtr drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawList* poutDrawList = &outDrawList) - { - fixed (ImDrawCmd* pdrawCmd = &drawCmd) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, drawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ref ImDrawList drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (ImDrawCmd* pdrawCmd = &drawCmd) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative(outDrawList, (ImDrawList*)pdrawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ref ImDrawList drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) - { - fixed (ImDrawList* poutDrawList = &outDrawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (ImDrawCmd* pdrawCmd = &drawCmd) - { - DebugNodeDrawCmdShowMeshAndBoundingBoxNative((ImDrawList*)poutDrawList, (ImDrawList*)pdrawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeFontNative(ImFont* font) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1411])(font); - #else - ((delegate* unmanaged[Cdecl])funcTable[1411])((nint)font); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeFont(ImFontPtr font) - { - DebugNodeFontNative(font); - } - - /// - /// To be documented. - /// - public static void DebugNodeFont(ref ImFont font) - { - fixed (ImFont* pfont = &font) - { - DebugNodeFontNative((ImFont*)pfont); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeFontGlyphNative(ImFont* font, ImFontGlyph* glyph) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1412])(font, glyph); - #else - ((delegate* unmanaged[Cdecl])funcTable[1412])((nint)font, (nint)glyph); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeFontGlyph(ImFontPtr font, ImFontGlyphPtr glyph) - { - DebugNodeFontGlyphNative(font, glyph); - } - - /// - /// To be documented. - /// - public static void DebugNodeFontGlyph(ref ImFont font, ImFontGlyphPtr glyph) - { - fixed (ImFont* pfont = &font) - { - DebugNodeFontGlyphNative((ImFont*)pfont, glyph); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeFontGlyph(ImFontPtr font, ref ImFontGlyph glyph) - { - fixed (ImFontGlyph* pglyph = &glyph) - { - DebugNodeFontGlyphNative(font, (ImFontGlyph*)pglyph); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeFontGlyph(ref ImFont font, ref ImFontGlyph glyph) - { - fixed (ImFont* pfont = &font) - { - fixed (ImFontGlyph* pglyph = &glyph) - { - DebugNodeFontGlyphNative((ImFont*)pfont, (ImFontGlyph*)pglyph); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeStorageNative(ImGuiStorage* storage, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1413])(storage, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[1413])((nint)storage, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ImGuiStoragePtr storage, byte* label) - { - DebugNodeStorageNative(storage, label); - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ref ImGuiStorage storage, byte* label) - { - fixed (ImGuiStorage* pstorage = &storage) - { - DebugNodeStorageNative((ImGuiStorage*)pstorage, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ImGuiStoragePtr storage, ref byte label) - { - fixed (byte* plabel = &label) - { - DebugNodeStorageNative(storage, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ImGuiStoragePtr storage, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - DebugNodeStorageNative(storage, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ImGuiStoragePtr storage, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeStorageNative(storage, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ref ImGuiStorage storage, ref byte label) - { - fixed (ImGuiStorage* pstorage = &storage) - { - fixed (byte* plabel = &label) - { - DebugNodeStorageNative((ImGuiStorage*)pstorage, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ref ImGuiStorage storage, ReadOnlySpan label) - { - fixed (ImGuiStorage* pstorage = &storage) - { - fixed (byte* plabel = label) - { - DebugNodeStorageNative((ImGuiStorage*)pstorage, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeStorage(ref ImGuiStorage storage, string label) - { - fixed (ImGuiStorage* pstorage = &storage) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeStorageNative((ImGuiStorage*)pstorage, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeTabBarNative(ImGuiTabBar* tabBar, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1414])(tabBar, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[1414])((nint)tabBar, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, byte* label) - { - DebugNodeTabBarNative(tabBar, label); - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, byte* label) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ref byte label) - { - fixed (byte* plabel = &label) - { - DebugNodeTabBarNative(tabBar, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - DebugNodeTabBarNative(tabBar, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeTabBarNative(tabBar, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, ref byte label) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = &label) - { - DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, ReadOnlySpan label) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - fixed (byte* plabel = label) - { - DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeTabBar(ref ImGuiTabBar tabBar, string label) - { - fixed (ImGuiTabBar* ptabBar = &tabBar) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeTabBarNative((ImGuiTabBar*)ptabBar, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeTableNative(ImGuiTable* table) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1415])(table); - #else - ((delegate* unmanaged[Cdecl])funcTable[1415])((nint)table); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeTable(ImGuiTablePtr table) - { - DebugNodeTableNative(table); - } - - /// - /// To be documented. - /// - public static void DebugNodeTable(ref ImGuiTable table) - { - fixed (ImGuiTable* ptable = &table) - { - DebugNodeTableNative((ImGuiTable*)ptable); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeTableSettingsNative(ImGuiTableSettings* settings) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1416])(settings); - #else - ((delegate* unmanaged[Cdecl])funcTable[1416])((nint)settings); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeTableSettings(ImGuiTableSettingsPtr settings) - { - DebugNodeTableSettingsNative(settings); - } - - /// - /// To be documented. - /// - public static void DebugNodeTableSettings(ref ImGuiTableSettings settings) - { - fixed (ImGuiTableSettings* psettings = &settings) - { - DebugNodeTableSettingsNative((ImGuiTableSettings*)psettings); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeInputTextStateNative(ImGuiInputTextState* state) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1417])(state); - #else - ((delegate* unmanaged[Cdecl])funcTable[1417])((nint)state); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeInputTextState(ImGuiInputTextStatePtr state) - { - DebugNodeInputTextStateNative(state); - } - - /// - /// To be documented. - /// - public static void DebugNodeInputTextState(ref ImGuiInputTextState state) - { - fixed (ImGuiInputTextState* pstate = &state) - { - DebugNodeInputTextStateNative((ImGuiInputTextState*)pstate); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeTypingSelectStateNative(ImGuiTypingSelectState* state) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1418])(state); - #else - ((delegate* unmanaged[Cdecl])funcTable[1418])((nint)state); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeTypingSelectState(ImGuiTypingSelectStatePtr state) - { - DebugNodeTypingSelectStateNative(state); - } - - /// - /// To be documented. - /// - public static void DebugNodeTypingSelectState(ref ImGuiTypingSelectState state) - { - fixed (ImGuiTypingSelectState* pstate = &state) - { - DebugNodeTypingSelectStateNative((ImGuiTypingSelectState*)pstate); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeMultiSelectStateNative(ImGuiMultiSelectState* state) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1419])(state); - #else - ((delegate* unmanaged[Cdecl])funcTable[1419])((nint)state); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeMultiSelectState(ImGuiMultiSelectStatePtr state) - { - DebugNodeMultiSelectStateNative(state); - } - - /// - /// To be documented. - /// - public static void DebugNodeMultiSelectState(ref ImGuiMultiSelectState state) - { - fixed (ImGuiMultiSelectState* pstate = &state) - { - DebugNodeMultiSelectStateNative((ImGuiMultiSelectState*)pstate); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeWindowNative(ImGuiWindow* window, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1420])(window, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[1420])((nint)window, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ImGuiWindowPtr window, byte* label) - { - DebugNodeWindowNative(window, label); - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ref ImGuiWindow window, byte* label) - { - fixed (ImGuiWindow* pwindow = &window) - { - DebugNodeWindowNative((ImGuiWindow*)pwindow, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ImGuiWindowPtr window, ref byte label) - { - fixed (byte* plabel = &label) - { - DebugNodeWindowNative(window, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ImGuiWindowPtr window, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - DebugNodeWindowNative(window, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ImGuiWindowPtr window, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeWindowNative(window, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ref ImGuiWindow window, ref byte label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (byte* plabel = &label) - { - DebugNodeWindowNative((ImGuiWindow*)pwindow, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ref ImGuiWindow window, ReadOnlySpan label) - { - fixed (ImGuiWindow* pwindow = &window) - { - fixed (byte* plabel = label) - { - DebugNodeWindowNative((ImGuiWindow*)pwindow, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindow(ref ImGuiWindow window, string label) - { - fixed (ImGuiWindow* pwindow = &window) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeWindowNative((ImGuiWindow*)pwindow, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeWindowSettingsNative(ImGuiWindowSettings* settings) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1421])(settings); - #else - ((delegate* unmanaged[Cdecl])funcTable[1421])((nint)settings); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowSettings(ImGuiWindowSettingsPtr settings) - { - DebugNodeWindowSettingsNative(settings); - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowSettings(ref ImGuiWindowSettings settings) - { - fixed (ImGuiWindowSettings* psettings = &settings) - { - DebugNodeWindowSettingsNative((ImGuiWindowSettings*)psettings); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeWindowsListNative(ImVector* windows, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, byte*, void>)funcTable[1422])(windows, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[1422])((nint)windows, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ImVector* windows, byte* label) - { - DebugNodeWindowsListNative(windows, label); - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ref ImVector windows, byte* label) - { - fixed (ImVector* pwindows = &windows) - { - DebugNodeWindowsListNative((ImVector*)pwindows, label); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ImVector* windows, ref byte label) - { - fixed (byte* plabel = &label) - { - DebugNodeWindowsListNative(windows, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ImVector* windows, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - DebugNodeWindowsListNative(windows, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ImVector* windows, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeWindowsListNative(windows, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ref ImVector windows, ref byte label) - { - fixed (ImVector* pwindows = &windows) - { - fixed (byte* plabel = &label) - { - DebugNodeWindowsListNative((ImVector*)pwindows, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ref ImVector windows, ReadOnlySpan label) - { - fixed (ImVector* pwindows = &windows) - { - fixed (byte* plabel = label) - { - DebugNodeWindowsListNative((ImVector*)pwindows, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsList(ref ImVector windows, string label) - { - fixed (ImVector* pwindows = &windows) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodeWindowsListNative((ImVector*)pwindows, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeWindowsListByBeginStackParentNative(ImGuiWindow** windows, int windowsSize, ImGuiWindow* parentInBeginStack) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1423])(windows, windowsSize, parentInBeginStack); - #else - ((delegate* unmanaged[Cdecl])funcTable[1423])((nint)windows, windowsSize, (nint)parentInBeginStack); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindowPtrPtr windows, int windowsSize, ImGuiWindowPtr parentInBeginStack) - { - DebugNodeWindowsListByBeginStackParentNative(windows, windowsSize, parentInBeginStack); - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsListByBeginStackParent(ref ImGuiWindow* windows, int windowsSize, ImGuiWindowPtr parentInBeginStack) - { - fixed (ImGuiWindow** pwindows = &windows) - { - DebugNodeWindowsListByBeginStackParentNative((ImGuiWindow**)pwindows, windowsSize, parentInBeginStack); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindowPtrPtr windows, int windowsSize, ref ImGuiWindow parentInBeginStack) - { - fixed (ImGuiWindow* pparentInBeginStack = &parentInBeginStack) - { - DebugNodeWindowsListByBeginStackParentNative(windows, windowsSize, (ImGuiWindow*)pparentInBeginStack); - } - } - - /// - /// To be documented. - /// - public static void DebugNodeWindowsListByBeginStackParent(ref ImGuiWindow* windows, int windowsSize, ref ImGuiWindow parentInBeginStack) - { - fixed (ImGuiWindow** pwindows = &windows) - { - fixed (ImGuiWindow* pparentInBeginStack = &parentInBeginStack) - { - DebugNodeWindowsListByBeginStackParentNative((ImGuiWindow**)pwindows, windowsSize, (ImGuiWindow*)pparentInBeginStack); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodeViewportNative(ImGuiViewportP* viewport) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1424])(viewport); - #else - ((delegate* unmanaged[Cdecl])funcTable[1424])((nint)viewport); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodeViewport(ImGuiViewportPPtr viewport) - { - DebugNodeViewportNative(viewport); - } - - /// - /// To be documented. - /// - public static void DebugNodeViewport(ref ImGuiViewportP viewport) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - DebugNodeViewportNative((ImGuiViewportP*)pviewport); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugNodePlatformMonitorNative(ImGuiPlatformMonitor* monitor, byte* label, int idx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1425])(monitor, label, idx); - #else - ((delegate* unmanaged[Cdecl])funcTable[1425])((nint)monitor, (nint)label, idx); - #endif - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ImGuiPlatformMonitorPtr monitor, byte* label, int idx) - { - DebugNodePlatformMonitorNative(monitor, label, idx); - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ref ImGuiPlatformMonitor monitor, byte* label, int idx) - { - fixed (ImGuiPlatformMonitor* pmonitor = &monitor) - { - DebugNodePlatformMonitorNative((ImGuiPlatformMonitor*)pmonitor, label, idx); - } - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ImGuiPlatformMonitorPtr monitor, ref byte label, int idx) - { - fixed (byte* plabel = &label) - { - DebugNodePlatformMonitorNative(monitor, (byte*)plabel, idx); - } - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ImGuiPlatformMonitorPtr monitor, ReadOnlySpan label, int idx) - { - fixed (byte* plabel = label) - { - DebugNodePlatformMonitorNative(monitor, (byte*)plabel, idx); - } - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ImGuiPlatformMonitorPtr monitor, string label, int idx) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodePlatformMonitorNative(monitor, pStr0, idx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ref ImGuiPlatformMonitor monitor, ref byte label, int idx) - { - fixed (ImGuiPlatformMonitor* pmonitor = &monitor) - { - fixed (byte* plabel = &label) - { - DebugNodePlatformMonitorNative((ImGuiPlatformMonitor*)pmonitor, (byte*)plabel, idx); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ref ImGuiPlatformMonitor monitor, ReadOnlySpan label, int idx) - { - fixed (ImGuiPlatformMonitor* pmonitor = &monitor) - { - fixed (byte* plabel = label) - { - DebugNodePlatformMonitorNative((ImGuiPlatformMonitor*)pmonitor, (byte*)plabel, idx); - } - } - } - - /// - /// To be documented. - /// - public static void DebugNodePlatformMonitor(ref ImGuiPlatformMonitor monitor, string label, int idx) - { - fixed (ImGuiPlatformMonitor* pmonitor = &monitor) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - DebugNodePlatformMonitorNative((ImGuiPlatformMonitor*)pmonitor, pStr0, idx); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugRenderKeyboardPreviewNative(ImDrawList* drawList) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1426])(drawList); - #else - ((delegate* unmanaged[Cdecl])funcTable[1426])((nint)drawList); - #endif - } - - /// - /// To be documented. - /// - public static void DebugRenderKeyboardPreview(ImDrawListPtr drawList) - { - DebugRenderKeyboardPreviewNative(drawList); - } - - /// - /// To be documented. - /// - public static void DebugRenderKeyboardPreview(ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugRenderKeyboardPreviewNative((ImDrawList*)pdrawList); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DebugRenderViewportThumbnailNative(ImDrawList* drawList, ImGuiViewportP* viewport, ImRect bb) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1427])(drawList, viewport, bb); - #else - ((delegate* unmanaged[Cdecl])funcTable[1427])((nint)drawList, (nint)viewport, bb); - #endif - } - - /// - /// To be documented. - /// - public static void DebugRenderViewportThumbnail(ImDrawListPtr drawList, ImGuiViewportPPtr viewport, ImRect bb) - { - DebugRenderViewportThumbnailNative(drawList, viewport, bb); - } - - /// - /// To be documented. - /// - public static void DebugRenderViewportThumbnail(ref ImDrawList drawList, ImGuiViewportPPtr viewport, ImRect bb) - { - fixed (ImDrawList* pdrawList = &drawList) - { - DebugRenderViewportThumbnailNative((ImDrawList*)pdrawList, viewport, bb); - } - } - - /// - /// To be documented. - /// - public static void DebugRenderViewportThumbnail(ImDrawListPtr drawList, ref ImGuiViewportP viewport, ImRect bb) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - DebugRenderViewportThumbnailNative(drawList, (ImGuiViewportP*)pviewport, bb); - } - } - - /// - /// To be documented. - /// - public static void DebugRenderViewportThumbnail(ref ImDrawList drawList, ref ImGuiViewportP viewport, ImRect bb) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (ImGuiViewportP* pviewport = &viewport) - { - DebugRenderViewportThumbnailNative((ImDrawList*)pdrawList, (ImGuiViewportP*)pviewport, bb); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetypeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1428])(); - #else - return (ImFontBuilderIO*)((delegate* unmanaged[Cdecl])funcTable[1428])(); - #endif - } - - /// - /// To be documented. - /// - public static ImFontBuilderIOPtr ImFontAtlasGetBuilderForStbTruetype() - { - ImFontBuilderIOPtr ret = ImFontAtlasGetBuilderForStbTruetypeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasUpdateSourcesPointersNative(ImFontAtlas* atlas) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1429])(atlas); - #else - ((delegate* unmanaged[Cdecl])funcTable[1429])((nint)atlas); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasUpdateSourcesPointers(ImFontAtlasPtr atlas) - { - ImFontAtlasUpdateSourcesPointersNative(atlas); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasUpdateSourcesPointers(ref ImFontAtlas atlas) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasUpdateSourcesPointersNative((ImFontAtlas*)patlas); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildInitNative(ImFontAtlas* atlas) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1430])(atlas); - #else - ((delegate* unmanaged[Cdecl])funcTable[1430])((nint)atlas); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildInit(ImFontAtlasPtr atlas) - { - ImFontAtlasBuildInitNative(atlas); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildInit(ref ImFontAtlas atlas) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasBuildInitNative((ImFontAtlas*)patlas); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildSetupFontNative(ImFontAtlas* atlas, ImFont* font, ImFontConfig* src, float ascent, float descent) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1431])(atlas, font, src, ascent, descent); - #else - ((delegate* unmanaged[Cdecl])funcTable[1431])((nint)atlas, (nint)font, (nint)src, ascent, descent); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ImFontPtr font, ImFontConfigPtr src, float ascent, float descent) - { - ImFontAtlasBuildSetupFontNative(atlas, font, src, ascent, descent); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ImFontPtr font, ImFontConfigPtr src, float ascent, float descent) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, font, src, ascent, descent); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ref ImFont font, ImFontConfigPtr src, float ascent, float descent) - { - fixed (ImFont* pfont = &font) - { - ImFontAtlasBuildSetupFontNative(atlas, (ImFont*)pfont, src, ascent, descent); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ref ImFont font, ImFontConfigPtr src, float ascent, float descent) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (ImFont* pfont = &font) - { - ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, (ImFont*)pfont, src, ascent, descent); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ImFontPtr font, ref ImFontConfig src, float ascent, float descent) - { - fixed (ImFontConfig* psrc = &src) - { - ImFontAtlasBuildSetupFontNative(atlas, font, (ImFontConfig*)psrc, ascent, descent); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ImFontPtr font, ref ImFontConfig src, float ascent, float descent) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (ImFontConfig* psrc = &src) - { - ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, font, (ImFontConfig*)psrc, ascent, descent); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ref ImFont font, ref ImFontConfig src, float ascent, float descent) - { - fixed (ImFont* pfont = &font) - { - fixed (ImFontConfig* psrc = &src) - { - ImFontAtlasBuildSetupFontNative(atlas, (ImFont*)pfont, (ImFontConfig*)psrc, ascent, descent); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ref ImFont font, ref ImFontConfig src, float ascent, float descent) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (ImFont* pfont = &font) - { - fixed (ImFontConfig* psrc = &src) - { - ImFontAtlasBuildSetupFontNative((ImFontAtlas*)patlas, (ImFont*)pfont, (ImFontConfig*)psrc, ascent, descent); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildPackCustomRectsNative(ImFontAtlas* atlas, void* stbrpContextOpaque) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1432])(atlas, stbrpContextOpaque); - #else - ((delegate* unmanaged[Cdecl])funcTable[1432])((nint)atlas, (nint)stbrpContextOpaque); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildPackCustomRects(ImFontAtlasPtr atlas, void* stbrpContextOpaque) - { - ImFontAtlasBuildPackCustomRectsNative(atlas, stbrpContextOpaque); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildPackCustomRects(ref ImFontAtlas atlas, void* stbrpContextOpaque) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasBuildPackCustomRectsNative((ImFontAtlas*)patlas, stbrpContextOpaque); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildFinishNative(ImFontAtlas* atlas) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1433])(atlas); - #else - ((delegate* unmanaged[Cdecl])funcTable[1433])((nint)atlas); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildFinish(ImFontAtlasPtr atlas) - { - ImFontAtlasBuildFinishNative(atlas); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildFinish(ref ImFontAtlas atlas) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasBuildFinishNative((ImFontAtlas*)patlas); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildRender8bppRectFromStringNative(ImFontAtlas* atlas, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1434])(atlas, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); - #else - ((delegate* unmanaged[Cdecl])funcTable[1434])((nint)atlas, x, y, w, h, (nint)inStr, inMarkerChar, inMarkerPixelValue); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - ImFontAtlasBuildRender8bppRectFromStringNative(atlas, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasBuildRender8bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, ref byte inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - fixed (byte* pinStr = &inStr) - { - ImFontAtlasBuildRender8bppRectFromStringNative(atlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, ReadOnlySpan inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - fixed (byte* pinStr = inStr) - { - ImFontAtlasBuildRender8bppRectFromStringNative(atlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, string inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontAtlasBuildRender8bppRectFromStringNative(atlas, x, y, w, h, pStr0, inMarkerChar, inMarkerPixelValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, ref byte inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (byte* pinStr = &inStr) - { - ImFontAtlasBuildRender8bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, ReadOnlySpan inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (byte* pinStr = inStr) - { - ImFontAtlasBuildRender8bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender8bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, string inStr, byte inMarkerChar, byte inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontAtlasBuildRender8bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, pStr0, inMarkerChar, inMarkerPixelValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildRender32bppRectFromStringNative(ImFontAtlas* atlas, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1435])(atlas, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); - #else - ((delegate* unmanaged[Cdecl])funcTable[1435])((nint)atlas, x, y, w, h, (nint)inStr, inMarkerChar, inMarkerPixelValue); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - ImFontAtlasBuildRender32bppRectFromStringNative(atlas, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - ImFontAtlasBuildRender32bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, ref byte inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - fixed (byte* pinStr = &inStr) - { - ImFontAtlasBuildRender32bppRectFromStringNative(atlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, ReadOnlySpan inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - fixed (byte* pinStr = inStr) - { - ImFontAtlasBuildRender32bppRectFromStringNative(atlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlasPtr atlas, int x, int y, int w, int h, string inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontAtlasBuildRender32bppRectFromStringNative(atlas, x, y, w, h, pStr0, inMarkerChar, inMarkerPixelValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Internals/Functions/Functions.019.cs b/src/Hexa.NET.ImGui/Internals/Functions/Functions.019.cs deleted file mode 100644 index e2f42eafa..000000000 --- a/src/Hexa.NET.ImGui/Internals/Functions/Functions.019.cs +++ /dev/null @@ -1,1281 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGuiP - { - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, ref byte inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (byte* pinStr = &inStr) - { - ImFontAtlasBuildRender32bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, ReadOnlySpan inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (byte* pinStr = inStr) - { - ImFontAtlasBuildRender32bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, (byte*)pinStr, inMarkerChar, inMarkerPixelValue); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildRender32bppRectFromString(ref ImFontAtlas atlas, int x, int y, int w, int h, string inStr, byte inMarkerChar, uint inMarkerPixelValue) - { - fixed (ImFontAtlas* patlas = &atlas) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inStr != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inStr); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inStr, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImFontAtlasBuildRender32bppRectFromStringNative((ImFontAtlas*)patlas, x, y, w, h, pStr0, inMarkerChar, inMarkerPixelValue); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildMultiplyCalcLookupTableNative(byte* outTable, float inMultiplyFactor) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1436])(outTable, inMultiplyFactor); - #else - ((delegate* unmanaged[Cdecl])funcTable[1436])((nint)outTable, inMultiplyFactor); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyCalcLookupTable(byte* outTable, float inMultiplyFactor) - { - ImFontAtlasBuildMultiplyCalcLookupTableNative(outTable, inMultiplyFactor); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyCalcLookupTable(ref byte outTable, float inMultiplyFactor) - { - fixed (byte* poutTable = &outTable) - { - ImFontAtlasBuildMultiplyCalcLookupTableNative((byte*)poutTable, inMultiplyFactor); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyCalcLookupTable(ReadOnlySpan outTable, float inMultiplyFactor) - { - fixed (byte* poutTable = outTable) - { - ImFontAtlasBuildMultiplyCalcLookupTableNative((byte*)poutTable, inMultiplyFactor); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildMultiplyRectAlpha8Native(byte* table, byte* pixels, int x, int y, int w, int h, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1437])(table, pixels, x, y, w, h, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[1437])((nint)table, (nint)pixels, x, y, w, h, stride); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyRectAlpha8(byte* table, byte* pixels, int x, int y, int w, int h, int stride) - { - ImFontAtlasBuildMultiplyRectAlpha8Native(table, pixels, x, y, w, h, stride); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyRectAlpha8(ref byte table, byte* pixels, int x, int y, int w, int h, int stride) - { - fixed (byte* ptable = &table) - { - ImFontAtlasBuildMultiplyRectAlpha8Native((byte*)ptable, pixels, x, y, w, h, stride); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyRectAlpha8(ReadOnlySpan table, byte* pixels, int x, int y, int w, int h, int stride) - { - fixed (byte* ptable = table) - { - ImFontAtlasBuildMultiplyRectAlpha8Native((byte*)ptable, pixels, x, y, w, h, stride); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyRectAlpha8(byte* table, ref byte pixels, int x, int y, int w, int h, int stride) - { - fixed (byte* ppixels = &pixels) - { - ImFontAtlasBuildMultiplyRectAlpha8Native(table, (byte*)ppixels, x, y, w, h, stride); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyRectAlpha8(ref byte table, ref byte pixels, int x, int y, int w, int h, int stride) - { - fixed (byte* ptable = &table) - { - fixed (byte* ppixels = &pixels) - { - ImFontAtlasBuildMultiplyRectAlpha8Native((byte*)ptable, (byte*)ppixels, x, y, w, h, stride); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildMultiplyRectAlpha8(ReadOnlySpan table, ref byte pixels, int x, int y, int w, int h, int stride) - { - fixed (byte* ptable = table) - { - fixed (byte* ppixels = &pixels) - { - ImFontAtlasBuildMultiplyRectAlpha8Native((byte*)ptable, (byte*)ppixels, x, y, w, h, stride); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImFontAtlasBuildGetOversampleFactorsNative(ImFontConfig* src, int* outOversampleH, int* outOversampleV) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1438])(src, outOversampleH, outOversampleV); - #else - ((delegate* unmanaged[Cdecl])funcTable[1438])((nint)src, (nint)outOversampleH, (nint)outOversampleV); - #endif - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ImFontConfigPtr src, int* outOversampleH, int* outOversampleV) - { - ImFontAtlasBuildGetOversampleFactorsNative(src, outOversampleH, outOversampleV); - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ref ImFontConfig src, int* outOversampleH, int* outOversampleV) - { - fixed (ImFontConfig* psrc = &src) - { - ImFontAtlasBuildGetOversampleFactorsNative((ImFontConfig*)psrc, outOversampleH, outOversampleV); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ImFontConfigPtr src, ref int outOversampleH, int* outOversampleV) - { - fixed (int* poutOversampleH = &outOversampleH) - { - ImFontAtlasBuildGetOversampleFactorsNative(src, (int*)poutOversampleH, outOversampleV); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ref ImFontConfig src, ref int outOversampleH, int* outOversampleV) - { - fixed (ImFontConfig* psrc = &src) - { - fixed (int* poutOversampleH = &outOversampleH) - { - ImFontAtlasBuildGetOversampleFactorsNative((ImFontConfig*)psrc, (int*)poutOversampleH, outOversampleV); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ImFontConfigPtr src, int* outOversampleH, ref int outOversampleV) - { - fixed (int* poutOversampleV = &outOversampleV) - { - ImFontAtlasBuildGetOversampleFactorsNative(src, outOversampleH, (int*)poutOversampleV); - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ref ImFontConfig src, int* outOversampleH, ref int outOversampleV) - { - fixed (ImFontConfig* psrc = &src) - { - fixed (int* poutOversampleV = &outOversampleV) - { - ImFontAtlasBuildGetOversampleFactorsNative((ImFontConfig*)psrc, outOversampleH, (int*)poutOversampleV); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ImFontConfigPtr src, ref int outOversampleH, ref int outOversampleV) - { - fixed (int* poutOversampleH = &outOversampleH) - { - fixed (int* poutOversampleV = &outOversampleV) - { - ImFontAtlasBuildGetOversampleFactorsNative(src, (int*)poutOversampleH, (int*)poutOversampleV); - } - } - } - - /// - /// To be documented. - /// - public static void ImFontAtlasBuildGetOversampleFactors(ref ImFontConfig src, ref int outOversampleH, ref int outOversampleV) - { - fixed (ImFontConfig* psrc = &src) - { - fixed (int* poutOversampleH = &outOversampleH) - { - fixed (int* poutOversampleV = &outOversampleV) - { - ImFontAtlasBuildGetOversampleFactorsNative((ImFontConfig*)psrc, (int*)poutOversampleH, (int*)poutOversampleV); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImFontAtlasGetMouseCursorTexDataNative(ImFontAtlas* atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1439])(atlas, cursorType, outOffset, outSize, outUvBorder, outUvFill); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1439])((nint)atlas, cursorType, (nint)outOffset, (nint)outSize, (nint)outUvBorder, (nint)outUvFill); - #endif - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, outUvBorder, outUvFill); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, outUvBorder, outUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ImFontAtlasPtr atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative(atlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = &outUvBorder) - { - fixed (Vector2* poutUvFill = &outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ImFontAtlasGetMouseCursorTexData(ref ImFontAtlas atlas, ImGuiMouseCursor cursorType, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill) - { - fixed (ImFontAtlas* patlas = &atlas) - { - fixed (Vector2* poutOffset = &outOffset) - { - fixed (Vector2* poutSize = &outSize) - { - fixed (Vector2* poutUvBorder = outUvBorder) - { - fixed (Vector2* poutUvFill = outUvFill) - { - byte ret = ImFontAtlasGetMouseCursorTexDataNative((ImFontAtlas*)patlas, cursorType, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill); - return ret != 0; - } - } - } - } - } - } - - } -} diff --git a/src/Hexa.NET.ImGui/LICENSE.txt b/src/Hexa.NET.ImGui/LICENSE.txt deleted file mode 100644 index b5dae7ac2..000000000 --- a/src/Hexa.NET.ImGui/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 Juna Meinhold - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.000.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.000.cs deleted file mode 100644 index 4ad34edfb..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.000.cs +++ /dev/null @@ -1,5018 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputTextNative(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, byte>)funcTable[1440])(label, buf, bufSize, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1440])((nint)label, (nint)buf, bufSize, flags, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextNative(label, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte ret = InputTextNative(label, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextNative(label, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte ret = InputTextNative(label, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextNative(label, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextNative((byte*)plabel, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(label, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(byte* label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative(label, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative((byte*)plabel, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextNative(pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextNative((byte*)plabel, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputText(string label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextNative(pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputTextMultilineNative(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, byte>)funcTable[1441])(label, buf, bufSize, size, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1441])((nint)label, (nint)buf, bufSize, size, flags, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.001.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.001.cs deleted file mode 100644 index 2a2d1b140..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.001.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextMultilineNative(label, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.002.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.002.cs deleted file mode 100644 index 16d4ce7ff..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.002.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextMultilineNative((byte*)plabel, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(pStr0, buf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(label, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(byte* label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative(label, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative((byte*)plabel, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextMultilineNative(pStr0, pStr1, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ref byte label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(ReadOnlySpan label, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextMultilineNative((byte*)plabel, pStr0, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, Vector2 size, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, size, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextMultiline(string label, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextMultilineNative(pStr0, (byte*)pbuf, bufSize, (Vector2)(new Vector2(0,0)), flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputTextWithHintNative(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, byte>)funcTable[1442])(label, hint, buf, bufSize, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1442])((nint)label, (nint)hint, (nint)buf, bufSize, flags, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.003.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.003.cs deleted file mode 100644 index 82cb817ee..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.003.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.004.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.004.cs deleted file mode 100644 index 04c2651f5..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.004.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.005.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.005.cs deleted file mode 100644 index 93c4ab54f..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.005.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, ulong bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextWithHintNative(label, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, byte* buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, buf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.006.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.006.cs deleted file mode 100644 index ce96589f1..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.006.cs +++ /dev/null @@ -1,5044 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, hint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, byte* hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, hint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, byte* hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, hint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(label, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative(label, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(byte* label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(label, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextWithHintNative(pStr0, pStr1, pStr2, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.007.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.007.cs deleted file mode 100644 index 0e373f51b..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.007.cs +++ /dev/null @@ -1,5047 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ref byte label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, (byte*)phint, pStr0, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(ReadOnlySpan label, string hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative((byte*)plabel, pStr0, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ref byte hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, ReadOnlySpan hint, ref string buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextWithHintNative(pStr0, (byte*)phint, pStr1, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextWithHint(string label, string hint, ref byte buf, nuint bufSize, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextWithHintNative(pStr0, pStr1, (byte*)pbuf, bufSize, (ImGuiInputTextFlags)(0), callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImFormatStringNative(byte* buf, ulong bufSize, byte* fmt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1443])(buf, bufSize, fmt); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1443])((nint)buf, bufSize, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, ulong bufSize, byte* fmt) - { - int ret = ImFormatStringNative(buf, bufSize, fmt); - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, ulong bufSize, byte* fmt) - { - fixed (byte* pbuf = &buf) - { - int ret = ImFormatStringNative((byte*)pbuf, bufSize, fmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, ulong bufSize, byte* fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringNative(pStr0, bufSize, fmt); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, nuint bufSize, byte* fmt) - { - int ret = ImFormatStringNative(buf, bufSize, fmt); - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, nuint bufSize, byte* fmt) - { - fixed (byte* pbuf = &buf) - { - int ret = ImFormatStringNative((byte*)pbuf, bufSize, fmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, nuint bufSize, byte* fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringNative(pStr0, bufSize, fmt); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, ulong bufSize, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringNative(buf, bufSize, (byte*)pfmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, ulong bufSize, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringNative(buf, bufSize, (byte*)pfmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, ulong bufSize, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringNative(buf, bufSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, ulong bufSize, ref byte fmt) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringNative((byte*)pbuf, bufSize, (byte*)pfmt); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, ulong bufSize, ReadOnlySpan fmt) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringNative((byte*)pbuf, bufSize, (byte*)pfmt); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, ulong bufSize, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImFormatStringNative(pStr0, bufSize, pStr1); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, ulong bufSize, string fmt) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringNative((byte*)pbuf, bufSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, ulong bufSize, ref byte fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringNative(pStr0, bufSize, (byte*)pfmt); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, ulong bufSize, ReadOnlySpan fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringNative(pStr0, bufSize, (byte*)pfmt); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, nuint bufSize, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringNative(buf, bufSize, (byte*)pfmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, nuint bufSize, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringNative(buf, bufSize, (byte*)pfmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(byte* buf, nuint bufSize, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringNative(buf, bufSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, nuint bufSize, ref byte fmt) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringNative((byte*)pbuf, bufSize, (byte*)pfmt); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, nuint bufSize, ReadOnlySpan fmt) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringNative((byte*)pbuf, bufSize, (byte*)pfmt); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, nuint bufSize, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImFormatStringNative(pStr0, bufSize, pStr1); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref byte buf, nuint bufSize, string fmt) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringNative((byte*)pbuf, bufSize, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, nuint bufSize, ref byte fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringNative(pStr0, bufSize, (byte*)pfmt); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatString(ref string buf, nuint bufSize, ReadOnlySpan fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringNative(pStr0, bufSize, (byte*)pfmt); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImFormatStringVNative(byte* buf, ulong bufSize, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1444])(buf, bufSize, fmt, args); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1444])((nint)buf, bufSize, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, ulong bufSize, byte* fmt, nuint args) - { - int ret = ImFormatStringVNative(buf, bufSize, fmt, args); - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, ulong bufSize, byte* fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, fmt, args); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, ulong bufSize, byte* fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringVNative(pStr0, bufSize, fmt, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, nuint bufSize, byte* fmt, nuint args) - { - int ret = ImFormatStringVNative(buf, bufSize, fmt, args); - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, nuint bufSize, byte* fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, fmt, args); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, nuint bufSize, byte* fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringVNative(pStr0, bufSize, fmt, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, ulong bufSize, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringVNative(buf, bufSize, (byte*)pfmt, args); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, ulong bufSize, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringVNative(buf, bufSize, (byte*)pfmt, args); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, ulong bufSize, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringVNative(buf, bufSize, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, ulong bufSize, ref byte fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, (byte*)pfmt, args); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, ulong bufSize, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, (byte*)pfmt, args); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, ulong bufSize, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImFormatStringVNative(pStr0, bufSize, pStr1, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, ulong bufSize, string fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, ulong bufSize, ref byte fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringVNative(pStr0, bufSize, (byte*)pfmt, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, ulong bufSize, ReadOnlySpan fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringVNative(pStr0, bufSize, (byte*)pfmt, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, nuint bufSize, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringVNative(buf, bufSize, (byte*)pfmt, args); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, nuint bufSize, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringVNative(buf, bufSize, (byte*)pfmt, args); - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(byte* buf, nuint bufSize, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringVNative(buf, bufSize, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, nuint bufSize, ref byte fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, (byte*)pfmt, args); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, nuint bufSize, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, (byte*)pfmt, args); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, nuint bufSize, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (fmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(fmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(fmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImFormatStringVNative(pStr0, bufSize, pStr1, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref byte buf, nuint bufSize, string fmt, nuint args) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImFormatStringVNative((byte*)pbuf, bufSize, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, nuint bufSize, ref byte fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = &fmt) - { - int ret = ImFormatStringVNative(pStr0, bufSize, (byte*)pfmt, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.008.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.008.cs deleted file mode 100644 index bb6698e51..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.008.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static int ImFormatStringV(ref string buf, nuint bufSize, ReadOnlySpan fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pfmt = fmt) - { - int ret = ImFormatStringVNative(pStr0, bufSize, (byte*)pfmt, args); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* ImParseFormatTrimDecorationsNative(byte* format, byte* buf, ulong bufSize) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1445])(format, buf, bufSize); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[1445])((nint)format, (nint)buf, bufSize); - #endif - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(byte* format, byte* buf, ulong bufSize) - { - byte* ret = ImParseFormatTrimDecorationsNative(format, buf, bufSize); - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(byte* format, byte* buf, ulong bufSize) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(format, buf, bufSize)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ref byte format, byte* buf, ulong bufSize) - { - fixed (byte* pformat = &format) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ref byte format, byte* buf, ulong bufSize) - { - fixed (byte* pformat = &format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ReadOnlySpan format, byte* buf, ulong bufSize) - { - fixed (byte* pformat = format) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ReadOnlySpan format, byte* buf, ulong bufSize) - { - fixed (byte* pformat = format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(string format, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative(pStr0, buf, bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(string format, byte* buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(pStr0, buf, bufSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(byte* format, ref byte buf, ulong bufSize) - { - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative(format, (byte*)pbuf, bufSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(byte* format, ref byte buf, ulong bufSize) - { - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(format, (byte*)pbuf, bufSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(byte* format, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative(format, pStr0, bufSize); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(byte* format, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(format, pStr0, bufSize)); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ref byte format, ref byte buf, ulong bufSize) - { - fixed (byte* pformat = &format) - { - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ref byte format, ref byte buf, ulong bufSize) - { - fixed (byte* pformat = &format) - { - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ReadOnlySpan format, ref byte buf, ulong bufSize) - { - fixed (byte* pformat = format) - { - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ReadOnlySpan format, ref byte buf, ulong bufSize) - { - fixed (byte* pformat = format) - { - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(string format, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative(pStr0, pStr1, bufSize); - buf = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(string format, ref string buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(pStr0, pStr1, bufSize)); - buf = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ref byte format, ref string buf, ulong bufSize) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ref byte format, ref string buf, ulong bufSize) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize)); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ReadOnlySpan format, ref string buf, ulong bufSize) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ReadOnlySpan format, ref string buf, ulong bufSize) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize)); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(string format, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative(pStr0, (byte*)pbuf, bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(string format, ref byte buf, ulong bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(pStr0, (byte*)pbuf, bufSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(byte* format, byte* buf, nuint bufSize) - { - byte* ret = ImParseFormatTrimDecorationsNative(format, buf, bufSize); - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(byte* format, byte* buf, nuint bufSize) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(format, buf, bufSize)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ref byte format, byte* buf, nuint bufSize) - { - fixed (byte* pformat = &format) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ref byte format, byte* buf, nuint bufSize) - { - fixed (byte* pformat = &format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ReadOnlySpan format, byte* buf, nuint bufSize) - { - fixed (byte* pformat = format) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ReadOnlySpan format, byte* buf, nuint bufSize) - { - fixed (byte* pformat = format) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, buf, bufSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(string format, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative(pStr0, buf, bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(string format, byte* buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(pStr0, buf, bufSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(byte* format, ref byte buf, nuint bufSize) - { - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative(format, (byte*)pbuf, bufSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(byte* format, ref byte buf, nuint bufSize) - { - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(format, (byte*)pbuf, bufSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(byte* format, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative(format, pStr0, bufSize); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(byte* format, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(format, pStr0, bufSize)); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ref byte format, ref byte buf, nuint bufSize) - { - fixed (byte* pformat = &format) - { - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ref byte format, ref byte buf, nuint bufSize) - { - fixed (byte* pformat = &format) - { - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ReadOnlySpan format, ref byte buf, nuint bufSize) - { - fixed (byte* pformat = format) - { - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ReadOnlySpan format, ref byte buf, nuint bufSize) - { - fixed (byte* pformat = format) - { - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, (byte*)pbuf, bufSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(string format, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative(pStr0, pStr1, bufSize); - buf = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(string format, ref string buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(pStr0, pStr1, bufSize)); - buf = Utils.DecodeStringUTF8(pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ref byte format, ref string buf, nuint bufSize) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ref byte format, ref string buf, nuint bufSize) - { - fixed (byte* pformat = &format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize)); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(ReadOnlySpan format, ref string buf, nuint bufSize) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* ret = ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(ReadOnlySpan format, ref string buf, nuint bufSize) - { - fixed (byte* pformat = format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative((byte*)pformat, pStr0, bufSize)); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* ImParseFormatTrimDecorations(string format, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte* ret = ImParseFormatTrimDecorationsNative(pStr0, (byte*)pbuf, bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static string ImParseFormatTrimDecorationsS(string format, ref byte buf, nuint bufSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - string ret = Utils.DecodeStringUTF8(ImParseFormatTrimDecorationsNative(pStr0, (byte*)pbuf, bufSize)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return output UTF-8 bytes count
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextStrToUtf8Native(byte* outBuf, int outBufSize, uint* inText, uint* inTextEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1446])(outBuf, outBufSize, inText, inTextEnd); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1446])((nint)outBuf, outBufSize, (nint)inText, (nint)inTextEnd); - #endif - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(byte* outBuf, int outBufSize, uint* inText, uint* inTextEnd) - { - int ret = ImTextStrToUtf8Native(outBuf, outBufSize, inText, inTextEnd); - return ret; - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref byte outBuf, int outBufSize, uint* inText, uint* inTextEnd) - { - fixed (byte* poutBuf = &outBuf) - { - int ret = ImTextStrToUtf8Native((byte*)poutBuf, outBufSize, inText, inTextEnd); - return ret; - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref string outBuf, int outBufSize, uint* inText, uint* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (outBuf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(outBuf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(outBuf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrToUtf8Native(pStr0, outBufSize, inText, inTextEnd); - outBuf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(byte* outBuf, int outBufSize, ref uint inText, uint* inTextEnd) - { - fixed (uint* pinText = &inText) - { - int ret = ImTextStrToUtf8Native(outBuf, outBufSize, (uint*)pinText, inTextEnd); - return ret; - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref byte outBuf, int outBufSize, ref uint inText, uint* inTextEnd) - { - fixed (byte* poutBuf = &outBuf) - { - fixed (uint* pinText = &inText) - { - int ret = ImTextStrToUtf8Native((byte*)poutBuf, outBufSize, (uint*)pinText, inTextEnd); - return ret; - } - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref string outBuf, int outBufSize, ref uint inText, uint* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (outBuf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(outBuf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(outBuf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pinText = &inText) - { - int ret = ImTextStrToUtf8Native(pStr0, outBufSize, (uint*)pinText, inTextEnd); - outBuf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(byte* outBuf, int outBufSize, uint* inText, ref uint inTextEnd) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrToUtf8Native(outBuf, outBufSize, inText, (uint*)pinTextEnd); - return ret; - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref byte outBuf, int outBufSize, uint* inText, ref uint inTextEnd) - { - fixed (byte* poutBuf = &outBuf) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrToUtf8Native((byte*)poutBuf, outBufSize, inText, (uint*)pinTextEnd); - return ret; - } - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref string outBuf, int outBufSize, uint* inText, ref uint inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (outBuf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(outBuf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(outBuf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrToUtf8Native(pStr0, outBufSize, inText, (uint*)pinTextEnd); - outBuf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(byte* outBuf, int outBufSize, ref uint inText, ref uint inTextEnd) - { - fixed (uint* pinText = &inText) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrToUtf8Native(outBuf, outBufSize, (uint*)pinText, (uint*)pinTextEnd); - return ret; - } - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref byte outBuf, int outBufSize, ref uint inText, ref uint inTextEnd) - { - fixed (byte* poutBuf = &outBuf) - { - fixed (uint* pinText = &inText) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrToUtf8Native((byte*)poutBuf, outBufSize, (uint*)pinText, (uint*)pinTextEnd); - return ret; - } - } - } - } - - /// - /// return output UTF-8 bytes count
- ///
- public static int ImTextStrToUtf8(ref string outBuf, int outBufSize, ref uint inText, ref uint inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (outBuf != null) - { - pStrSize0 = Utils.GetByteCountUTF8(outBuf); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(outBuf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pinText = &inText) - { - fixed (uint* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrToUtf8Native(pStr0, outBufSize, (uint*)pinText, (uint*)pinTextEnd); - outBuf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImTextStrFromUtf8Native(uint* outBuf, int outBufSize, byte* inText, byte* inTextEnd, byte** inRemaining) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1447])(outBuf, outBufSize, inText, inTextEnd, inRemaining); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1447])((nint)outBuf, outBufSize, (nint)inText, (nint)inTextEnd, (nint)inRemaining); - #endif - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, byte* inTextEnd, byte** inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, inTextEnd, inRemaining); - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, byte* inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, inTextEnd, (byte**)(default)); - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, byte* inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, inTextEnd, inRemaining); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, byte* inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, inTextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, byte* inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, inTextEnd, inRemaining); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, byte* inTextEnd) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, byte* inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = inText) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, inTextEnd, inRemaining); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, byte* inTextEnd) - { - fixed (byte* pinText = inText) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, byte* inTextEnd, byte** inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, inTextEnd, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, byte* inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, inTextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, byte* inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, inTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, byte* inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, byte* inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, inTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, byte* inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, byte* inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, inTextEnd, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, byte* inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, inTextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, ref byte inTextEnd) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, string inTextEnd, byte** inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, pStr0, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, ref byte inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, string inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, pStr0, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, string inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, ref byte inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, string inTextEnd, byte** inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, pStr1, inRemaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, string inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, string inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, pStr0, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, string inTextEnd) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, string inTextEnd, byte** inRemaining) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, pStr0, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, string inTextEnd) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, ref byte inTextEnd, byte** inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, (byte*)pinTextEnd, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, ref byte inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, (byte*)pinTextEnd, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, ReadOnlySpan inTextEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, ref byte inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, string inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, pStr1, inRemaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, string inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, pStr1, (byte**)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, string inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, pStr0, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, string inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, inRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, ref byte inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)(default)); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, string inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, pStr0, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, string inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, pStr0, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, ref byte inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, (byte*)pinTextEnd, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, ref byte inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, ReadOnlySpan inTextEnd, byte** inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, (byte*)pinTextEnd, inRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, ReadOnlySpan inTextEnd) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, inTextEnd, (byte**)pinRemaining); - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, inTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = &inText) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = inText) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, byte* inTextEnd, ref byte* inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, inTextEnd, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, inTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, byte* inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, inTextEnd, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, byte* inText, string inTextEnd, ref byte* inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, inText, pStr0, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, byte* inText, string inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, inText, pStr0, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, string inTextEnd, ref byte* inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, pStr1, (byte**)pinRemaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ref byte inText, string inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, pStr0, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, ReadOnlySpan inText, string inTextEnd, ref byte* inRemaining) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, (byte*)pinText, pStr0, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, ref byte inTextEnd, ref byte* inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(uint* outBuf, int outBufSize, string inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native(outBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, string inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (inTextEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(inTextEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, pStr1, (byte**)pinRemaining); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ref byte inText, string inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = &inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, pStr0, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, (byte*)pinTextEnd, (byte**)pinRemaining); - return ret; - } - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, ReadOnlySpan inText, string inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - fixed (byte* pinText = inText) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inTextEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inTextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inTextEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, (byte*)pinText, pStr0, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, ref byte inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = &inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// return input UTF-8 bytes count
- ///
- public static int ImTextStrFromUtf8(ref uint outBuf, int outBufSize, string inText, ReadOnlySpan inTextEnd, ref byte* inRemaining) - { - fixed (uint* poutBuf = &outBuf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (inText != null) - { - pStrSize0 = Utils.GetByteCountUTF8(inText); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(inText, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pinTextEnd = inTextEnd) - { - fixed (byte** pinRemaining = &inRemaining) - { - int ret = ImTextStrFromUtf8Native((uint*)poutBuf, outBufSize, pStr0, (byte*)pinTextEnd, (byte**)pinRemaining); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetKeyChordNameNative(int keyChord) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1448])(keyChord); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[1448])(keyChord); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetKeyChordName(int keyChord) - { - byte* ret = GetKeyChordNameNative(keyChord); - return ret; - } - - /// - /// To be documented. - /// - public static string GetKeyChordNameS(int keyChord) - { - string ret = Utils.DecodeStringUTF8(GetKeyChordNameNative(keyChord)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int DataTypeFormatStringNative(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, byte* format) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1449])(buf, bufSize, dataType, pData, format); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[1449])((nint)buf, bufSize, dataType, (nint)pData, (nint)format); - #endif - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, byte* format) - { - int ret = DataTypeFormatStringNative(buf, bufSize, dataType, pData, format); - return ret; - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref byte buf, int bufSize, ImGuiDataType dataType, void* pData, byte* format) - { - fixed (byte* pbuf = &buf) - { - int ret = DataTypeFormatStringNative((byte*)pbuf, bufSize, dataType, pData, format); - return ret; - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref string buf, int bufSize, ImGuiDataType dataType, void* pData, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = DataTypeFormatStringNative(pStr0, bufSize, dataType, pData, format); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pformat = &format) - { - int ret = DataTypeFormatStringNative(buf, bufSize, dataType, pData, (byte*)pformat); - return ret; - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - int ret = DataTypeFormatStringNative(buf, bufSize, dataType, pData, (byte*)pformat); - return ret; - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = DataTypeFormatStringNative(buf, bufSize, dataType, pData, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref byte buf, int bufSize, ImGuiDataType dataType, void* pData, ref byte format) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pformat = &format) - { - int ret = DataTypeFormatStringNative((byte*)pbuf, bufSize, dataType, pData, (byte*)pformat); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref byte buf, int bufSize, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - fixed (byte* pbuf = &buf) - { - fixed (byte* pformat = format) - { - int ret = DataTypeFormatStringNative((byte*)pbuf, bufSize, dataType, pData, (byte*)pformat); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref string buf, int bufSize, ImGuiDataType dataType, void* pData, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - int ret = DataTypeFormatStringNative(pStr0, bufSize, dataType, pData, pStr1); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref byte buf, int bufSize, ImGuiDataType dataType, void* pData, string format) - { - fixed (byte* pbuf = &buf) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = DataTypeFormatStringNative((byte*)pbuf, bufSize, dataType, pData, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref string buf, int bufSize, ImGuiDataType dataType, void* pData, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - int ret = DataTypeFormatStringNative(pStr0, bufSize, dataType, pData, (byte*)pformat); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int DataTypeFormatString(ref string buf, int bufSize, ImGuiDataType dataType, void* pData, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - int ret = DataTypeFormatStringNative(pStr0, bufSize, dataType, pData, (byte*)pformat); - buf = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte InputTextExNative(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, byte>)funcTable[1450])(label, hint, buf, bufSize, sizeArg, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1450])((nint)label, (nint)hint, (nint)buf, bufSize, sizeArg, flags, (nint)Utils.GetFunctionPointerForDelegate(callback), (nint)userData); - #endif - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte ret = InputTextExNative(label, hint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte ret = InputTextExNative(label, hint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte ret = InputTextExNative(label, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte ret = InputTextExNative(label, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte ret = InputTextExNative((byte*)plabel, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(pStr0, hint, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(pStr0, hint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(pStr0, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(pStr0, hint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(label, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, pStr0, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, pStr0, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, pStr0, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, pStr0, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.009.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.009.cs deleted file mode 100644 index 31cfb6822..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.009.cs +++ /dev/null @@ -1,5067 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, buf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, hint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, hint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, hint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, hint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, hint, pStr1, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, hint, pStr1, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, hint, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, hint, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, byte* hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, hint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, hint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, byte* hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, hint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(label, pStr0, pStr1, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(label, pStr0, pStr1, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(label, pStr0, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(label, pStr0, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative(label, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(byte* label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(label, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, pStr2, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, pStr2, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, pStr2, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte* pStr2 = null; - int pStrSize2 = 0; - if (buf != null) - { - pStrSize2 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize2 >= Utils.MaxStackallocSize) - { - pStr2 = Utils.Alloc(pStrSize2 + 1); - } - else - { - byte* pStrStack2 = stackalloc byte[pStrSize2 + 1]; - pStr2 = pStrStack2; - } - int pStrOffset2 = Utils.EncodeStringUTF8(buf, pStr2, pStrSize2); - pStr2[pStrOffset2] = 0; - } - byte ret = InputTextExNative(pStr0, pStr1, pStr2, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr2); - } - if (pStrSize2 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr2); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ref byte label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = &hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - fixed (byte* phint = hint) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = InputTextExNative((byte*)plabel, (byte*)phint, pStr0, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative((byte*)plabel, pStr0, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(ReadOnlySpan label, string hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (hint != null) - { - pStrSize0 = Utils.GetByteCountUTF8(hint); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(hint, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative((byte*)plabel, pStr0, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ref byte hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = &hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, (byte*)phint, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, callback, userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, callback, (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImGui/Manual/Functions/Functions.010.cs b/src/Hexa.NET.ImGui/Manual/Functions/Functions.010.cs deleted file mode 100644 index bbd19df6e..000000000 --- a/src/Hexa.NET.ImGui/Manual/Functions/Functions.010.cs +++ /dev/null @@ -1,610 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGui -{ - public unsafe partial class ImGui - { - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, ReadOnlySpan hint, ref string buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* phint = hint) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = InputTextExNative(pStr0, (byte*)phint, pStr1, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, pStr1, (byte*)pbuf, bufSize, sizeArg, flags, callback, userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, pStr1, (byte*)pbuf, bufSize, sizeArg, flags, callback, (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, pStr1, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), (void*)(default)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool InputTextEx(string label, string hint, ref byte buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, void* userData) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (hint != null) - { - pStrSize1 = Utils.GetByteCountUTF8(hint); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(hint, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = InputTextExNative(pStr0, pStr1, (byte*)pbuf, bufSize, sizeArg, flags, (ImGuiInputTextCallback)(default), userData); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte TempInputTextNative(ImRect bb, uint id, byte* label, byte* buf, int bufSize, ImGuiInputTextFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1451])(bb, id, label, buf, bufSize, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[1451])(bb, id, (nint)label, (nint)buf, bufSize, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, byte* label, byte* buf, int bufSize, ImGuiInputTextFlags flags) - { - byte ret = TempInputTextNative(bb, id, label, buf, bufSize, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, ref byte label, byte* buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte ret = TempInputTextNative(bb, id, (byte*)plabel, buf, bufSize, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, ReadOnlySpan label, byte* buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte ret = TempInputTextNative(bb, id, (byte*)plabel, buf, bufSize, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, string label, byte* buf, int bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputTextNative(bb, id, pStr0, buf, bufSize, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, byte* label, ref byte buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* pbuf = &buf) - { - byte ret = TempInputTextNative(bb, id, label, (byte*)pbuf, bufSize, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, byte* label, ref string buf, int bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputTextNative(bb, id, label, pStr0, bufSize, flags); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, ref byte label, ref byte buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pbuf = &buf) - { - byte ret = TempInputTextNative(bb, id, (byte*)plabel, (byte*)pbuf, bufSize, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, ReadOnlySpan label, ref byte buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pbuf = &buf) - { - byte ret = TempInputTextNative(bb, id, (byte*)plabel, (byte*)pbuf, bufSize, flags); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, string label, ref string buf, int bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (buf != null) - { - pStrSize1 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(buf, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = TempInputTextNative(bb, id, pStr0, pStr1, bufSize, flags); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr1); - } - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, ref byte label, ref string buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputTextNative(bb, id, (byte*)plabel, pStr0, bufSize, flags); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, ReadOnlySpan label, ref string buf, int bufSize, ImGuiInputTextFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buf != null) - { - pStrSize0 = Math.Max(Utils.GetByteCountUTF8(buf), (int)bufSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buf, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = TempInputTextNative(bb, id, (byte*)plabel, pStr0, bufSize, flags); - if (ret != 0) - { - buf = Utils.DecodeStringUTF8(pStr0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool TempInputText(ImRect bb, uint id, string label, ref byte buf, int bufSize, ImGuiInputTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pbuf = &buf) - { - byte ret = TempInputTextNative(bb, id, pStr0, (byte*)pbuf, bufSize, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - } -} diff --git a/src/Hexa.NET.ImGui/README.md b/src/Hexa.NET.ImGui/README.md deleted file mode 100644 index 542427d27..000000000 --- a/src/Hexa.NET.ImGui/README.md +++ /dev/null @@ -1 +0,0 @@ -A .NET wrapper for the Dear ImGui library. \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/STBTexteditStatePtr.cs b/src/Hexa.NET.ImGui/STBTexteditStatePtr.cs deleted file mode 100644 index 8216f2e4c..000000000 --- a/src/Hexa.NET.ImGui/STBTexteditStatePtr.cs +++ /dev/null @@ -1,45 +0,0 @@ -#nullable disable - -namespace Hexa.NET.ImGui -{ - using System; - - public unsafe struct STBTexteditStatePtr : IEquatable - { - public STBTexteditState* Handle; - - public unsafe STBTexteditStatePtr(STBTexteditState* handle) - { - Handle = handle; - } - - public override readonly bool Equals(object obj) - { - return obj is STBTexteditStatePtr ptr && Equals(ptr); - } - - public readonly bool Equals(STBTexteditStatePtr other) - { - return Handle == other.Handle; - } - - public override readonly int GetHashCode() - { - return ((nint)Handle).GetHashCode(); - } - - public static bool operator ==(STBTexteditStatePtr left, STBTexteditStatePtr right) - { - return left.Equals(right); - } - - public static bool operator !=(STBTexteditStatePtr left, STBTexteditStatePtr right) - { - return !(left == right); - } - - public static implicit operator STBTexteditState*(STBTexteditStatePtr handle) => handle.Handle; - - public static implicit operator STBTexteditStatePtr(STBTexteditState* handle) => new(handle); - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/Utilities/ImGuiFontBuilder.cs b/src/Hexa.NET.ImGui/Utilities/ImGuiFontBuilder.cs deleted file mode 100644 index bd265643f..000000000 --- a/src/Hexa.NET.ImGui/Utilities/ImGuiFontBuilder.cs +++ /dev/null @@ -1,479 +0,0 @@ -namespace Hexa.NET.ImGui.Utilities -{ - using Hexa.NET.ImGui; - using System.IO; - using System.Reflection; - using System.Runtime.InteropServices; - - /// - /// Represents a structure for storing glyph ranges for font configurations. - /// - public unsafe struct GlyphRanges : IDisposable - { - private uint* glyphs; - - /// - /// Initializes a new instance of the struct with the specified glyphs. - /// - /// An array of glyphs to be stored as ranges. - public GlyphRanges(params uint[] glyphs) - { - int length = glyphs.Length; - if (glyphs[length - 1] != '\0') - { - length += 1; - } - this.glyphs = (uint*)Marshal.AllocHGlobal(sizeof(uint) * length); - for (int i = 0; i < glyphs.Length; i++) - { - this.glyphs[i] = glyphs[i]; - } - this.glyphs[length - 1] = '\0'; - } - - /// - /// Initializes a new instance of the struct using a read-only span of glyphs. - /// - /// A read-only span of glyphs to be stored as ranges. - public GlyphRanges(ReadOnlySpan glyphs) - { - int length = glyphs.Length; - if (glyphs[length - 1] != '\0') - { - length += 1; - } - this.glyphs = (uint*)Marshal.AllocHGlobal(sizeof(uint) * length); - for (int i = 0; i < glyphs.Length; i++) - { - this.glyphs[i] = glyphs[i]; - } - this.glyphs[length - 1] = '\0'; - } - - /// - /// Gets the glyph ranges as a pointer to a array. - /// - /// A pointer to the glyph ranges. - public readonly uint* GetRanges() - { - return glyphs; - } - - /// - /// Disposes the memory allocated for the glyph ranges. - /// - public void Dispose() - { - if (glyphs != null) - { - Marshal.FreeHGlobal((nint)glyphs); - glyphs = null; - } - } - } - - /// - /// Encapsulates a block of font data in unmanaged memory for use with ImGui or other rendering systems. - /// - public unsafe struct FontBlob : IDisposable - { - public void* Data; - public int Length; - - public FontBlob(void* data, int length) - { - Data = data; - Length = length; - } - - public FontBlob(ReadOnlySpan bytes) - { - Data = (void*)Marshal.AllocHGlobal(bytes.Length); - Length = bytes.Length; - Span span = this; - bytes.CopyTo(span); - } - - public static implicit operator Span(FontBlob blob) - { - return new Span(blob.Data, blob.Length); - } - - public void Dispose() - { - if (Data != null) - { - Marshal.FreeHGlobal((nint)Data); - Data = null; - Length = 0; - } - } - } - - /// - /// ImGuiFontBuilder is a utility for easily loading custom fonts. - /// - /// - /// ⚠️ Warning: If you use glyph ranges, do not dispose of this builder until after ImGui shutdown. - /// Disposing prematurely can cause dangling pointers, as ImGui may continue to reference glyph ranges during its lifetime. - /// - public unsafe class ImGuiFontBuilder : IDisposable - { - private ImFontAtlasPtr fontAtlas; - private ImFontConfigPtr config; - private ImFontPtr font; - private readonly List ranges = []; - private readonly List blobs = []; - - /// - /// Initializes a new instance of the class with the specified font atlas. - /// - /// Pointer to the ImGui font atlas. - public ImGuiFontBuilder(ImFontAtlasPtr fontAtlasPtr) - { - config = ImGui.ImFontConfig(); - config.FontDataOwnedByAtlas = false; - fontAtlas = fontAtlasPtr; - } - - /// - /// Initializes a new instance of the class with the default font atlas of . - /// - public ImGuiFontBuilder() - { - config = ImGui.ImFontConfig(); - config.FontDataOwnedByAtlas = false; - fontAtlas = ImGui.GetIO().Fonts; - } - - /// - /// Gets the configuration settings for the font. - /// - public ImFontConfigPtr Config => config; - - /// - /// Gets the constructed font after the build process is completed. - /// - public ImFontPtr Font => font; - - /// - /// Configures the font by applying specified options to the configuration. - /// - /// An action that applies custom configurations. - /// The current instance for method chaining. - public ImGuiFontBuilder SetOption(Action action) - { - action(config); - return this; - } - - /// - /// Adds the default font to the font atlas and enables merge mode for subsequent font additions. - /// - /// The current instance for method chaining. - public ImGuiFontBuilder AddDefaultFont() - { - font = fontAtlas.AddFontDefault(config); - config.MergeMode = true; - return this; - } - - /// - /// Adds a font from a TTF file with specified glyph ranges provided as a read-only span of . - /// - /// The path to the font file. - /// The desired font size. - /// The glyph ranges as a read-only span. - /// The current instance for method chaining. - public ImGuiFontBuilder AddFontFromFileTTF(string path, float size, ReadOnlySpan glyphRanges) - { - return AddFontFromFileTTF(path, size, new GlyphRanges(glyphRanges)); - } - - /// - /// Adds a font from a file with TrueType format (TTF) and specified glyph ranges to the font atlas. - /// - /// The path to the font file. - /// The desired font size. - /// The glyph ranges to be used. - /// The current instance for method chaining. - /// - /// ⚠️ Note: The provided become associated with this builder, transferring ownership to it. - /// The builder takes responsibility for managing and releasing the memory for these glyph ranges, - /// and they should not be used or modified externally after this call. - /// - public ImGuiFontBuilder AddFontFromFileTTF(string path, float size, GlyphRanges glyphRanges) - { - ranges.Add(glyphRanges); - return AddFontFromFileTTF(path, size, glyphRanges.GetRanges()); - } - - /// - /// Adds a font from a TTF file with glyph ranges provided as an unsafe pointer. - /// - /// The path to the font file. - /// The desired font size. - /// A pointer to the glyph ranges. - /// The current instance for method chaining. - /// - /// ⚠️ Important: The pointer must remain valid for the entire application or ImGui lifecycle. - /// Disposing or altering the memory before ImGui shutdown can lead to dangling pointers and undefined behavior - /// when ImGui accesses the font data. - /// - public ImGuiFontBuilder AddFontFromFileTTF(string path, float size, uint* pGlyphRanges) - { - var fullpath = Path.GetFullPath(path); - bool exists = File.Exists(fullpath); - if (!exists) - { - throw new FileNotFoundException($"Font file not found: {fullpath}"); - } - - FontBlob blob = new(File.ReadAllBytes(fullpath)); - blobs.Add(blob); - return AddFontFromMemoryTTF(blob.Data, blob.Length, size, pGlyphRanges); - } - - /// - /// Adds a font from a TTF file without specifying any glyph ranges. - /// - /// The path to the font file. - /// The desired font size. - /// The current instance for method chaining. - /// Thrown if the font file is not found. - public ImGuiFontBuilder AddFontFromFileTTF(string path, float size) - { - var fullpath = Path.GetFullPath(path); - bool exists = File.Exists(fullpath); - if (!exists) - { - throw new FileNotFoundException($"Font file not found: {fullpath}"); - } - FontBlob blob = new(File.ReadAllBytes(fullpath)); - blobs.Add(blob); - return AddFontFromMemoryTTF(blob.Data, blob.Length, size); - } - - /// - /// Adds a font from an embedded resource, using the specified path and font size. - /// - /// - /// The embedded resource path. - /// The desired font size. - /// The current instance for method chaining. - /// Thrown if the embedded resource is not found. - public ImGuiFontBuilder AddFontFromEmbeddedResource(Assembly assembly, string path, float size) - { - using var stream = assembly.GetManifestResourceStream(path) ?? throw new FileNotFoundException($"Embedded resource not found: {path}"); - byte[] buffer = new byte[stream.Length]; - stream.Read(buffer, 0, buffer.Length); - - FontBlob blob = new(buffer); - blobs.Add(blob); - return AddFontFromMemoryTTF(blob.Data, blob.Length, size); - } - - /// - /// Adds a font from an embedded resource with specified glyph ranges provided as a read-only span. - /// - /// - /// The embedded resource path. - /// The desired font size. - /// The glyph ranges as a read-only span. - /// The current instance for method chaining. - public ImGuiFontBuilder AddFontFromEmbeddedResource(Assembly assembly, string path, float size, ReadOnlySpan glyphRanges) - { - return AddFontFromEmbeddedResource(assembly, path, size, new GlyphRanges(glyphRanges)); - } - - /// - /// Adds a font from an embedded resource with specified glyph ranges. - /// - /// - /// The embedded resource path. - /// The desired font size. - /// The glyph ranges to be used. - /// The current instance for method chaining. - /// Thrown if the embedded resource is not found. - /// - /// ⚠️ Note: The provided become associated with this builder, transferring ownership to it. - /// The builder takes responsibility for managing and releasing the memory for these glyph ranges, - /// and they should not be used or modified externally after this call. - /// - public ImGuiFontBuilder AddFontFromEmbeddedResource(Assembly assembly, string path, float size, GlyphRanges glyphRanges) - { - ranges.Add(glyphRanges); - return AddFontFromEmbeddedResource(assembly, path, size, glyphRanges.GetRanges()); - } - - /// - /// Adds a font from an embedded resource with specified glyph ranges. - /// - /// - /// The embedded resource path. - /// The desired font size. - /// Pointer to the glyph ranges. - /// The current instance for method chaining. - /// Thrown if the embedded resource is not found. - /// - /// ⚠️ Important: The pointer must remain valid for the entire application or ImGui lifecycle. - /// Disposing or altering the memory before ImGui shutdown can lead to dangling pointers and undefined behavior - /// when ImGui accesses the font data. - /// - public ImGuiFontBuilder AddFontFromEmbeddedResource(Assembly assembly, string path, float size, uint* pGlyphRanges) - { - var stream = assembly.GetManifestResourceStream(path) ?? throw new FileNotFoundException($"Embedded resource not found: {path}"); - byte[] buffer = new byte[stream.Length]; - stream.Read(buffer, 0, buffer.Length); - FontBlob blob = new(buffer); - return AddFontFromMemoryTTF(blob.Data, blob.Length, size, pGlyphRanges); - } - - /// - /// Adds a font from memory using a pointer to the font data, along with the font data size and desired size. - /// - /// Pointer to the font data. - /// The size of the font data in bytes. - /// The desired font size. - /// The current instance for method chaining. - public ImGuiFontBuilder AddFontFromMemoryTTF(void* fontData, int fontDataSize, float size) - { - // IMPORTANT: AddFontFromMemoryTTF() by default transfer ownership of the data buffer to the font atlas, which will attempt to free it on destruction. - // This was to avoid an unnecessary copy, and is perhaps not a good API (a future version will redesign it). - font = fontAtlas.AddFontFromMemoryTTF(fontData, fontDataSize, size, config); - config.MergeMode = true; - return this; - } - - /// - /// Adds a font from memory using a read-only span for font data and specified glyph ranges. - /// - /// The font data as a read-only span of bytes. - /// The desired font size. - /// The glyph ranges as a read-only span. - /// The current instance for method chaining. - public ImGuiFontBuilder AddFontFromMemoryTTF(ReadOnlySpan fontData, float size, ReadOnlySpan glyphRanges) - { - return AddFontFromMemoryTTF(fontData, size, new GlyphRanges(glyphRanges)); - } - - /// - /// Adds a font from memory using a pointer to font data, font data size, and specified glyph ranges. - /// - /// Pointer to the font data. - /// The size of the font data in bytes. - /// The desired font size. - /// The glyph ranges as a read-only span. - /// The current instance for method chaining. - public ImGuiFontBuilder AddFontFromMemoryTTF(byte* fontData, int fontDataSize, float size, ReadOnlySpan glyphRanges) - { - return AddFontFromMemoryTTF(fontData, fontDataSize, size, new GlyphRanges(glyphRanges)); - } - - /// - /// Adds a font from memory using a read-only span for font data and specified glyph ranges. - /// - /// The font data as a read-only span of bytes. - /// The desired font size. - /// The glyph ranges to be used. - /// The current instance for method chaining. - /// - /// ⚠️ Note: The provided become associated with this builder, transferring ownership to it. - /// The builder takes responsibility for managing and releasing the memory for these glyph ranges, - /// and they should not be used or modified externally after this call. - /// - public ImGuiFontBuilder AddFontFromMemoryTTF(ReadOnlySpan fontData, float size, GlyphRanges glyphRanges) - { - ranges.Add(glyphRanges); - FontBlob blob = new(fontData); - blobs.Add(blob); - return AddFontFromMemoryTTF(blob.Data, blob.Length, size, glyphRanges.GetRanges()); - } - - /// - /// Adds a font from memory using a pointer to font data, font data size, and specified glyph ranges. - /// - /// Pointer to the font data. - /// The size of the font data in bytes. - /// The desired font size. - /// The glyph ranges to be used. - /// The current instance for method chaining. - /// - /// ⚠️ Note: The provided become associated with this builder, transferring ownership to it. - /// The builder takes responsibility for managing and releasing the memory for these glyph ranges, - /// and they should not be used or modified externally after this call. - /// - public ImGuiFontBuilder AddFontFromMemoryTTF(byte* fontData, int fontDataSize, float size, GlyphRanges glyphRanges) - { - ranges.Add(glyphRanges); - return AddFontFromMemoryTTF(fontData, fontDataSize, size, glyphRanges.GetRanges()); - } - - /// - /// Adds a font from memory using a pointer to font data, font data size, and a pointer to glyph ranges. - /// - /// Pointer to the font data. - /// The size of the font data in bytes. - /// The desired font size. - /// Pointer to the glyph ranges. - /// The current instance for method chaining. - /// - /// ⚠️ Important: The pointer must remain valid for the entire application or ImGui lifecycle. - /// Disposing or altering the memory before ImGui shutdown can lead to dangling pointers and undefined behavior - /// when ImGui accesses the font data. - /// - public ImGuiFontBuilder AddFontFromMemoryTTF(void* fontData, int fontDataSize, float size, uint* pGlyphRanges) - { - // IMPORTANT: AddFontFromMemoryTTF() by default transfer ownership of the data buffer to the font atlas, which will attempt to free it on destruction. - // This was to avoid an unnecessary copy, and is perhaps not a good API (a future version will redesign it). - font = fontAtlas.AddFontFromMemoryTTF(fontData, fontDataSize, size, config, pGlyphRanges); - - return this; - } - - /// - /// Builds the font atlas, making the fonts ready for use. - /// - /// The pointer to the constructed . - public ImFontPtr Build() - { - fontAtlas.Build(); - return Font; - } - - private unsafe void Destroy() - { - if (config.Handle == null) - { - return; - } - - for (int i = 0; i < ranges.Count; i++) - { - ranges[i].Dispose(); - } - - for (int i = 0; i < blobs.Count; i++) - { - blobs[i].Dispose(); - } - - config.Destroy(); - config = default; - fontAtlas = default; - } - - /// - /// Disposes the font builder, freeing resources and preventing further use. - /// - /// - /// ⚠️ Warning: Ensure that this method is called only after ImGui has completed its usage of any glyph ranges. - /// Disposing prematurely may cause dangling pointers and undefined behavior, as ImGui may continue referencing the glyph ranges. - /// - public void Dispose() - { - Destroy(); - GC.SuppressFinalize(this); - } - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImGui/buildTransitive/Hexa.NET.ImGui.targets b/src/Hexa.NET.ImGui/buildTransitive/Hexa.NET.ImGui.targets deleted file mode 100644 index 87e4d4c04..000000000 --- a/src/Hexa.NET.ImGui/buildTransitive/Hexa.NET.ImGui.targets +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Constants/Constants.000.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Constants/Constants.000.cs deleted file mode 100644 index 726eeabbe..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Constants/Constants.000.cs +++ /dev/null @@ -1,23 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - public unsafe partial class ImGuiNodeEditor - { - public const string IMGUI_NODE_EDITOR_VERSION = "0.9.4"; - - public const int IMGUI_NODE_EDITOR_VERSION_NUM = 000904; - - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Delegates/Delegates.000.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Delegates/Delegates.000.cs deleted file mode 100644 index ef14c8ad2..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Delegates/Delegates.000.cs +++ /dev/null @@ -1,129 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void BeginSaveSession([NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void BeginSaveSession([NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void EndSaveSession([NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void EndSaveSession([NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte SaveSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] byte* data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte SaveSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] nint data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong LoadSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] byte* data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong LoadSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] nint data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte SaveNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] byte* data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte SaveNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] nint data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong LoadNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] byte* data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong LoadNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] nint data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte ConfigSaveSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] byte* data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte ConfigSaveSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] nint data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong ConfigLoadSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] byte* data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong ConfigLoadSettings([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] nint data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte ConfigSaveNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] byte* data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate byte ConfigSaveNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "const char*")] nint data, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "size_t")] ulong size, [NativeName(NativeNameType.Param, "reason")] [NativeName(NativeNameType.Type, "SaveReasonFlags")] SaveReasonFlags reason, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong ConfigLoadNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] byte* data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ulong ConfigLoadNodeSettings([NativeName(NativeNameType.Param, "nodeId")] [NativeName(NativeNameType.Type, "NodeId")] NodeId nodeId, [NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "char*")] nint data, [NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - - #if NET5_0_OR_GREATER - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ConfigSession([NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] void* userPointer); - - #else - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ConfigSession([NativeName(NativeNameType.Param, "userPointer")] [NativeName(NativeNameType.Type, "void*")] nint userPointer); - - #endif - -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/CanvasSizeMode.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/CanvasSizeMode.cs deleted file mode 100644 index bb346f7c5..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/CanvasSizeMode.cs +++ /dev/null @@ -1,34 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - [Flags] - public enum CanvasSizeMode : int - { - /// - /// Previous view will be scaled to fit new view on Y axis
- ///
- FitVerticalView = unchecked(0), - - /// - /// Previous view will be scaled to fit new view on X axis
- ///
- FitHorizontalView = unchecked(1), - - /// - /// Previous view will be centered on new view
- ///
- CenterOnly = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/FlowDirection.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/FlowDirection.cs deleted file mode 100644 index 76ff506bc..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/FlowDirection.cs +++ /dev/null @@ -1,22 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - [Flags] - public enum FlowDirection : int - { - Forward = unchecked(0), - Backward = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/PinKind.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/PinKind.cs deleted file mode 100644 index acf3a16bf..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/PinKind.cs +++ /dev/null @@ -1,25 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - /// - /// ------------------------------------------------------------------------------
- ///
- [Flags] - public enum PinKind : int - { - Input = unchecked(0), - Output = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/SaveReasonFlags.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/SaveReasonFlags.cs deleted file mode 100644 index d58c9f163..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/SaveReasonFlags.cs +++ /dev/null @@ -1,31 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - /// - /// ------------------------------------------------------------------------------
- ///
- [Flags] - public enum SaveReasonFlags : uint - { - None = unchecked((int)0x00000000), - Navigation = unchecked((int)0x00000001), - Position = unchecked((int)0x00000002), - Size = unchecked((int)0x00000004), - Selection = unchecked((int)0x00000008), - AddNode = unchecked((int)0x00000010), - RemoveNode = unchecked((int)0x00000020), - User = unchecked((int)0x00000040), - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleColor.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleColor.cs deleted file mode 100644 index aad4de78f..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleColor.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - /// - /// ------------------------------------------------------------------------------
- ///
- [Flags] - public enum StyleColor : int - { - Bg = unchecked(0), - Grid = unchecked(1), - NodeBg = unchecked(2), - NodeBorder = unchecked(3), - HovNodeBorder = unchecked(4), - SelNodeBorder = unchecked(5), - NodeSelRect = unchecked(6), - NodeSelRectBorder = unchecked(7), - HovLinkBorder = unchecked(8), - SelLinkBorder = unchecked(9), - HighlightLinkBorder = unchecked(10), - LinkSelRect = unchecked(11), - LinkSelRectBorder = unchecked(12), - PinRect = unchecked(13), - PinRectBorder = unchecked(14), - Flow = unchecked(15), - FlowMarker = unchecked(16), - GroupBg = unchecked(17), - GroupBorder = unchecked(18), - Count = unchecked(19), - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleVar.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleVar.cs deleted file mode 100644 index 7b1f45f3d..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Enums/StyleVar.cs +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - [Flags] - public enum StyleVar : int - { - NodePadding = unchecked(0), - NodeRounding = unchecked(1), - NodeBorderWidth = unchecked(2), - HoveredNodeBorderWidth = unchecked(3), - SelectedNodeBorderWidth = unchecked(4), - PinRounding = unchecked(5), - PinBorderWidth = unchecked(6), - LinkStrength = unchecked(7), - SourceDirection = unchecked(8), - TargetDirection = unchecked(9), - ScrollDuration = unchecked(10), - FlowMarkerDistance = unchecked(11), - FlowSpeed = unchecked(12), - FlowDuration = unchecked(13), - PivotAlignment = unchecked(14), - PivotSize = unchecked(15), - PivotScale = unchecked(16), - PinCorners = unchecked(17), - PinRadius = unchecked(18), - PinArrowSize = unchecked(19), - PinArrowWidth = unchecked(20), - GroupRounding = unchecked(21), - GroupBorderWidth = unchecked(22), - HighlightConnectedLinks = unchecked(23), - SnapLinkToPinDir = unchecked(24), - HoveredNodeBorderOffset = unchecked(25), - SelectedNodeBorderOffset = unchecked(26), - Count = unchecked(27), - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Extensions/Extensions.000.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Extensions/Extensions.000.cs deleted file mode 100644 index ca460e50a..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Extensions/Extensions.000.cs +++ /dev/null @@ -1,229 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - public static unsafe partial class Extensions - { - public static void BeginNode(this NodeId id) - { - ImGuiNodeEditor.BeginNodeNative(id); - } - - public static bool BeginGroupHint(this NodeId nodeId) - { - byte ret = ImGuiNodeEditor.BeginGroupHintNative(nodeId); - return ret != 0; - } - - /// - /// TODO: Add a way to manage node background channels
- ///
- public static ImDrawList* GetNodeBackgroundDrawList(this NodeId nodeId) - { - ImDrawList* ret = ImGuiNodeEditor.GetNodeBackgroundDrawListNative(nodeId); - return ret; - } - - public static void SetNodePosition(this NodeId nodeId, Vector2* editorPosition) - { - ImGuiNodeEditor.SetNodePositionNative(nodeId, editorPosition); - } - - public static void SetNodePosition(this NodeId nodeId, ref Vector2 editorPosition) - { - fixed (Vector2* peditorPosition = &editorPosition) - { - ImGuiNodeEditor.SetNodePositionNative(nodeId, (Vector2*)peditorPosition); - } - } - - public static void SetGroupSize(this NodeId nodeId, Vector2* size) - { - ImGuiNodeEditor.SetGroupSizeNative(nodeId, size); - } - - public static void SetGroupSize(this NodeId nodeId, ref Vector2 size) - { - fixed (Vector2* psize = &size) - { - ImGuiNodeEditor.SetGroupSizeNative(nodeId, (Vector2*)psize); - } - } - - public static Vector2 GetNodePosition(this NodeId nodeId) - { - Vector2 ret = ImGuiNodeEditor.GetNodePositionNative(nodeId); - return ret; - } - - public static Vector2 GetNodeSize(this NodeId nodeId) - { - Vector2 ret = ImGuiNodeEditor.GetNodeSizeNative(nodeId); - return ret; - } - - public static void CenterNodeOnScreen(this NodeId nodeId) - { - ImGuiNodeEditor.CenterNodeOnScreenNative(nodeId); - } - - public static void SetNodeZPosition(this NodeId nodeId, float z) - { - ImGuiNodeEditor.SetNodeZPositionNative(nodeId, z); - } - - public static float GetNodeZPosition(this NodeId nodeId) - { - float ret = ImGuiNodeEditor.GetNodeZPositionNative(nodeId); - return ret; - } - - public static void RestoreNodeState(this NodeId nodeId) - { - ImGuiNodeEditor.RestoreNodeStateNative(nodeId); - } - - public static bool IsNodeSelected(this NodeId nodeId) - { - byte ret = ImGuiNodeEditor.IsNodeSelectedNative(nodeId); - return ret != 0; - } - - public static void SelectNode(this NodeId nodeId, bool append) - { - ImGuiNodeEditor.SelectNodeNative(nodeId, append ? (byte)1 : (byte)0); - } - - public static void DeselectNode(this NodeId nodeId) - { - ImGuiNodeEditor.DeselectNodeNative(nodeId); - } - - public static bool DeleteNode(this NodeId nodeId) - { - byte ret = ImGuiNodeEditor.DeleteNodeNative(nodeId); - return ret != 0; - } - - public static bool Link(this LinkId id, PinId startPinId, PinId endPinId, Vector4* color, float thickness) - { - byte ret = ImGuiNodeEditor.LinkNative(id, startPinId, endPinId, color, thickness); - return ret != 0; - } - - public static bool Link(this LinkId id, PinId startPinId, PinId endPinId, ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - byte ret = ImGuiNodeEditor.LinkNative(id, startPinId, endPinId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - - public static void Flow(this LinkId linkId, FlowDirection direction) - { - ImGuiNodeEditor.FlowNative(linkId, direction); - } - - public static bool IsLinkSelected(this LinkId linkId) - { - byte ret = ImGuiNodeEditor.IsLinkSelectedNative(linkId); - return ret != 0; - } - - public static void SelectLink(this LinkId linkId, bool append) - { - ImGuiNodeEditor.SelectLinkNative(linkId, append ? (byte)1 : (byte)0); - } - - public static void DeselectLink(this LinkId linkId) - { - ImGuiNodeEditor.DeselectLinkNative(linkId); - } - - public static bool DeleteLink(this LinkId linkId) - { - byte ret = ImGuiNodeEditor.DeleteLinkNative(linkId); - return ret != 0; - } - - public static bool GetLinkPins(this LinkId linkId, PinId* startPinId, PinId* endPinId) - { - byte ret = ImGuiNodeEditor.GetLinkPinsNative(linkId, startPinId, endPinId); - return ret != 0; - } - - public static bool GetLinkPins(this LinkId linkId, ref PinId startPinId, PinId* endPinId) - { - fixed (PinId* pstartPinId = &startPinId) - { - byte ret = ImGuiNodeEditor.GetLinkPinsNative(linkId, (PinId*)pstartPinId, endPinId); - return ret != 0; - } - } - - public static bool GetLinkPins(this LinkId linkId, PinId* startPinId, ref PinId endPinId) - { - fixed (PinId* pendPinId = &endPinId) - { - byte ret = ImGuiNodeEditor.GetLinkPinsNative(linkId, startPinId, (PinId*)pendPinId); - return ret != 0; - } - } - - public static bool GetLinkPins(this LinkId linkId, ref PinId startPinId, ref PinId endPinId) - { - fixed (PinId* pstartPinId = &startPinId) - { - fixed (PinId* pendPinId = &endPinId) - { - byte ret = ImGuiNodeEditor.GetLinkPinsNative(linkId, (PinId*)pstartPinId, (PinId*)pendPinId); - return ret != 0; - } - } - } - - public static void BeginPin(this PinId id, PinKind kind) - { - ImGuiNodeEditor.BeginPinNative(id, kind); - } - - /// - /// IMGUI_NODE_EDITOR_API bool HasAnyLinks(NodeId nodeId); // Returns true if node has any link connected
- ///
- public static bool HasAnyLinks(this PinId pinId) - { - byte ret = ImGuiNodeEditor.HasAnyLinksNative(pinId); - return ret != 0; - } - - /// - /// IMGUI_NODE_EDITOR_API int BreakLinks(NodeId nodeId); // Break all links connected to this node
- ///
- public static int BreakLinks(this PinId pinId) - { - int ret = ImGuiNodeEditor.BreakLinksNative(pinId); - return ret; - } - - public static bool HadAnyLinks(this PinId pinId) - { - byte ret = ImGuiNodeEditor.PinHadAnyLinksNative(pinId); - return ret != 0; - } - - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/FunctionTable.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/FunctionTable.cs deleted file mode 100644 index 01349fa64..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/FunctionTable.cs +++ /dev/null @@ -1,142 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - public unsafe partial class ImGuiNodeEditor - { - internal static FunctionTable funcTable; - - /// - /// Initializes the function table, automatically called. Do not call manually, only after . - /// - public static void InitApi(INativeContext context) - { - funcTable = new FunctionTable(context, 107); - funcTable.Load(0, "SetCurrentEditor"); - funcTable.Load(1, "GetCurrentEditor"); - funcTable.Load(2, "CreateEditor"); - funcTable.Load(3, "DestroyEditor"); - funcTable.Load(4, "GetConfig"); - funcTable.Load(5, "GetStyle"); - funcTable.Load(6, "GetStyleColorName"); - funcTable.Load(7, "PushStyleColor"); - funcTable.Load(8, "PopStyleColor"); - funcTable.Load(9, "PushStyleVar"); - funcTable.Load(10, "PopStyleVar"); - funcTable.Load(11, "Begin"); - funcTable.Load(12, "End"); - funcTable.Load(13, "BeginNode"); - funcTable.Load(14, "BeginPin"); - funcTable.Load(15, "PinRect"); - funcTable.Load(16, "PinPivotRect"); - funcTable.Load(17, "PinPivotSize"); - funcTable.Load(18, "PinPivotScale"); - funcTable.Load(19, "PinPivotAlignment"); - funcTable.Load(20, "EndPin"); - funcTable.Load(21, "Group"); - funcTable.Load(22, "EndNode"); - funcTable.Load(23, "BeginGroupHint"); - funcTable.Load(24, "GetGroupMin"); - funcTable.Load(25, "GetGroupMax"); - funcTable.Load(26, "GetHintForegroundDrawList"); - funcTable.Load(27, "GetHintBackgroundDrawList"); - funcTable.Load(28, "EndGroupHint"); - funcTable.Load(29, "GetNodeBackgroundDrawList"); - funcTable.Load(30, "Link"); - funcTable.Load(31, "Flow"); - funcTable.Load(32, "BeginCreate"); - funcTable.Load(33, "QueryNewLink"); - funcTable.Load(34, "QueryNewNode"); - funcTable.Load(35, "AcceptNewItem"); - funcTable.Load(36, "RejectNewItem"); - funcTable.Load(37, "EndCreate"); - funcTable.Load(38, "BeginDelete"); - funcTable.Load(39, "QueryDeletedLink"); - funcTable.Load(40, "QueryDeletedNode"); - funcTable.Load(41, "AcceptDeletedItem"); - funcTable.Load(42, "RejectDeletedItem"); - funcTable.Load(43, "EndDelete"); - funcTable.Load(44, "SetNodePosition"); - funcTable.Load(45, "SetGroupSize"); - funcTable.Load(46, "GetNodePosition"); - funcTable.Load(47, "GetNodeSize"); - funcTable.Load(48, "CenterNodeOnScreen"); - funcTable.Load(49, "SetNodeZPosition"); - funcTable.Load(50, "GetNodeZPosition"); - funcTable.Load(51, "RestoreNodeState"); - funcTable.Load(52, "Suspend"); - funcTable.Load(53, "Resume"); - funcTable.Load(54, "IsSuspended"); - funcTable.Load(55, "IsActive"); - funcTable.Load(56, "HasSelectionChanged"); - funcTable.Load(57, "GetSelectedObjectCount"); - funcTable.Load(58, "GetSelectedNodes"); - funcTable.Load(59, "GetSelectedLinks"); - funcTable.Load(60, "IsNodeSelected"); - funcTable.Load(61, "IsLinkSelected"); - funcTable.Load(62, "ClearSelection"); - funcTable.Load(63, "SelectNode"); - funcTable.Load(64, "SelectLink"); - funcTable.Load(65, "DeselectNode"); - funcTable.Load(66, "DeselectLink"); - funcTable.Load(67, "DeleteNode"); - funcTable.Load(68, "DeleteLink"); - funcTable.Load(69, "HasAnyLinks"); - funcTable.Load(70, "BreakLinks"); - funcTable.Load(71, "NavigateToContent"); - funcTable.Load(72, "NavigateToSelection"); - funcTable.Load(73, "ShowNodeContextMenu"); - funcTable.Load(74, "ShowPinContextMenu"); - funcTable.Load(75, "ShowLinkContextMenu"); - funcTable.Load(76, "ShowBackgroundContextMenu"); - funcTable.Load(77, "EnableShortcuts"); - funcTable.Load(78, "AreShortcutsEnabled"); - funcTable.Load(79, "BeginShortcut"); - funcTable.Load(80, "AcceptCut"); - funcTable.Load(81, "AcceptCopy"); - funcTable.Load(82, "AcceptPaste"); - funcTable.Load(83, "AcceptDuplicate"); - funcTable.Load(84, "AcceptCreateNode"); - funcTable.Load(85, "GetActionContextSize"); - funcTable.Load(86, "GetActionContextNodes"); - funcTable.Load(87, "GetActionContextLinks"); - funcTable.Load(88, "EndShortcut"); - funcTable.Load(89, "GetCurrentZoom"); - funcTable.Load(90, "GetHoveredNode"); - funcTable.Load(91, "GetHoveredPin"); - funcTable.Load(92, "GetHoveredLink"); - funcTable.Load(93, "GetDoubleClickedNode"); - funcTable.Load(94, "GetDoubleClickedPin"); - funcTable.Load(95, "GetDoubleClickedLink"); - funcTable.Load(96, "IsBackgroundClicked"); - funcTable.Load(97, "IsBackgroundDoubleClicked"); - funcTable.Load(98, "GetBackgroundClickButtonIndex"); - funcTable.Load(99, "GetBackgroundDoubleClickButtonIndex"); - funcTable.Load(100, "GetLinkPins"); - funcTable.Load(101, "PinHadAnyLinks"); - funcTable.Load(102, "GetScreenSize"); - funcTable.Load(103, "ScreenToCanvas"); - funcTable.Load(104, "CanvasToScreen"); - funcTable.Load(105, "GetNodeCount"); - funcTable.Load(106, "GetOrderedNodeIds"); - } - - public static void FreeApi() - { - funcTable.Free(); - } - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Functions/Functions.000.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Functions/Functions.000.cs deleted file mode 100644 index da8bda7a4..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Functions/Functions.000.cs +++ /dev/null @@ -1,2407 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - public unsafe partial class ImGuiNodeEditor - { - /// - /// ------------------------------------------------------------------------------
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentEditorNative(EditorContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[0])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[0])((nint)ctx); - #endif - } - - /// - /// ------------------------------------------------------------------------------
- ///
- public static void SetCurrentEditor(EditorContextPtr ctx) - { - SetCurrentEditorNative(ctx); - } - - /// - /// ------------------------------------------------------------------------------
- ///
- public static void SetCurrentEditor(ref EditorContext ctx) - { - fixed (EditorContext* pctx = &ctx) - { - SetCurrentEditorNative((EditorContext*)pctx); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static EditorContext* GetCurrentEditorNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[1])(); - #else - return (EditorContext*)((delegate* unmanaged[Cdecl])funcTable[1])(); - #endif - } - - public static EditorContextPtr GetCurrentEditor() - { - EditorContextPtr ret = GetCurrentEditorNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static EditorContext* CreateEditorNative(Config* config) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[2])(config); - #else - return (EditorContext*)((delegate* unmanaged[Cdecl])funcTable[2])((nint)config); - #endif - } - - public static EditorContextPtr CreateEditor(ConfigPtr config) - { - EditorContextPtr ret = CreateEditorNative(config); - return ret; - } - - public static EditorContextPtr CreateEditor(ref Config config) - { - fixed (Config* pconfig = &config) - { - EditorContextPtr ret = CreateEditorNative((Config*)pconfig); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyEditorNative(EditorContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[3])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[3])((nint)ctx); - #endif - } - - public static void DestroyEditor(EditorContextPtr ctx) - { - DestroyEditorNative(ctx); - } - - public static void DestroyEditor(ref EditorContext ctx) - { - fixed (EditorContext* pctx = &ctx) - { - DestroyEditorNative((EditorContext*)pctx); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Config* GetConfigNative(EditorContext* ctx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[4])(ctx); - #else - return (Config*)((delegate* unmanaged[Cdecl])funcTable[4])((nint)ctx); - #endif - } - - public static ConfigPtr GetConfig(EditorContextPtr ctx) - { - ConfigPtr ret = GetConfigNative(ctx); - return ret; - } - - public static ConfigPtr GetConfig(ref EditorContext ctx) - { - fixed (EditorContext* pctx = &ctx) - { - ConfigPtr ret = GetConfigNative((EditorContext*)pctx); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Style* GetStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[5])(); - #else - return (Style*)((delegate* unmanaged[Cdecl])funcTable[5])(); - #endif - } - - public static Style* GetStyle() - { - Style* ret = GetStyleNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetStyleColorNameNative(StyleColor colorIndex) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[6])(colorIndex); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[6])(colorIndex); - #endif - } - - public static byte* GetStyleColorName(StyleColor colorIndex) - { - byte* ret = GetStyleColorNameNative(colorIndex); - return ret; - } - - public static string GetStyleColorNameS(StyleColor colorIndex) - { - string ret = Utils.DecodeStringUTF8(GetStyleColorNameNative(colorIndex)); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleColorNative(StyleColor colorIndex, Vector4* color) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[7])(colorIndex, color); - #else - ((delegate* unmanaged[Cdecl])funcTable[7])(colorIndex, (nint)color); - #endif - } - - public static void PushStyleColor(StyleColor colorIndex, Vector4* color) - { - PushStyleColorNative(colorIndex, color); - } - - public static void PushStyleColor(StyleColor colorIndex, ref Vector4 color) - { - fixed (Vector4* pcolor = &color) - { - PushStyleColorNative(colorIndex, (Vector4*)pcolor); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleColorNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[8])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[8])(count); - #endif - } - - public static void PopStyleColor(int count) - { - PopStyleColorNative(count); - } - - /// - /// IMGUI_NODE_EDITOR_API void PushStyleVar(StyleVar varIndex, float value);
- /// IMGUI_NODE_EDITOR_API void PushStyleVar(StyleVar varIndex, const ImVec2
- /// &
- /// value);
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(StyleVar varIndex, Vector4* value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[9])(varIndex, value); - #else - ((delegate* unmanaged[Cdecl])funcTable[9])(varIndex, (nint)value); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API void PushStyleVar(StyleVar varIndex, float value);
- /// IMGUI_NODE_EDITOR_API void PushStyleVar(StyleVar varIndex, const ImVec2
- /// &
- /// value);
- ///
- public static void PushStyleVar(StyleVar varIndex, Vector4* value) - { - PushStyleVarNative(varIndex, value); - } - - /// - /// IMGUI_NODE_EDITOR_API void PushStyleVar(StyleVar varIndex, float value);
- /// IMGUI_NODE_EDITOR_API void PushStyleVar(StyleVar varIndex, const ImVec2
- /// &
- /// value);
- ///
- public static void PushStyleVar(StyleVar varIndex, ref Vector4 value) - { - fixed (Vector4* pvalue = &value) - { - PushStyleVarNative(varIndex, (Vector4*)pvalue); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleVarNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[10])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[10])(count); - #endif - } - - public static void PopStyleVar(int count) - { - PopStyleVarNative(count); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNative(byte* id, Vector2* size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[11])(id, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[11])((nint)id, (nint)size); - #endif - } - - public static void Begin(byte* id, Vector2* size) - { - BeginNative(id, size); - } - - public static void Begin(ref byte id, Vector2* size) - { - fixed (byte* pid = &id) - { - BeginNative((byte*)pid, size); - } - } - - public static void Begin(ReadOnlySpan id, Vector2* size) - { - fixed (byte* pid = id) - { - BeginNative((byte*)pid, size); - } - } - - public static void Begin(string id, Vector2* size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - BeginNative(pStr0, size); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - public static void Begin(byte* id, ref Vector2 size) - { - fixed (Vector2* psize = &size) - { - BeginNative(id, (Vector2*)psize); - } - } - - public static void Begin(ref byte id, ref Vector2 size) - { - fixed (byte* pid = &id) - { - fixed (Vector2* psize = &size) - { - BeginNative((byte*)pid, (Vector2*)psize); - } - } - } - - public static void Begin(ReadOnlySpan id, ref Vector2 size) - { - fixed (byte* pid = id) - { - fixed (Vector2* psize = &size) - { - BeginNative((byte*)pid, (Vector2*)psize); - } - } - } - - public static void Begin(string id, ref Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector2* psize = &size) - { - BeginNative(pStr0, (Vector2*)psize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[12])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[12])(); - #endif - } - - public static void End() - { - EndNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNodeNative(NodeId id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[13])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[13])(id); - #endif - } - - public static void BeginNode(NodeId id) - { - BeginNodeNative(id); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginPinNative(PinId id, PinKind kind) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[14])(id, kind); - #else - ((delegate* unmanaged[Cdecl])funcTable[14])(id, kind); - #endif - } - - public static void BeginPin(PinId id, PinKind kind) - { - BeginPinNative(id, kind); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PinRectNative(Vector2* a, Vector2* b) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[15])(a, b); - #else - ((delegate* unmanaged[Cdecl])funcTable[15])((nint)a, (nint)b); - #endif - } - - public static void PinRect(Vector2* a, Vector2* b) - { - PinRectNative(a, b); - } - - public static void PinRect(ref Vector2 a, Vector2* b) - { - fixed (Vector2* pa = &a) - { - PinRectNative((Vector2*)pa, b); - } - } - - public static void PinRect(Vector2* a, ref Vector2 b) - { - fixed (Vector2* pb = &b) - { - PinRectNative(a, (Vector2*)pb); - } - } - - public static void PinRect(ref Vector2 a, ref Vector2 b) - { - fixed (Vector2* pa = &a) - { - fixed (Vector2* pb = &b) - { - PinRectNative((Vector2*)pa, (Vector2*)pb); - } - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PinPivotRectNative(Vector2* a, Vector2* b) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[16])(a, b); - #else - ((delegate* unmanaged[Cdecl])funcTable[16])((nint)a, (nint)b); - #endif - } - - public static void PinPivotRect(Vector2* a, Vector2* b) - { - PinPivotRectNative(a, b); - } - - public static void PinPivotRect(ref Vector2 a, Vector2* b) - { - fixed (Vector2* pa = &a) - { - PinPivotRectNative((Vector2*)pa, b); - } - } - - public static void PinPivotRect(Vector2* a, ref Vector2 b) - { - fixed (Vector2* pb = &b) - { - PinPivotRectNative(a, (Vector2*)pb); - } - } - - public static void PinPivotRect(ref Vector2 a, ref Vector2 b) - { - fixed (Vector2* pa = &a) - { - fixed (Vector2* pb = &b) - { - PinPivotRectNative((Vector2*)pa, (Vector2*)pb); - } - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PinPivotSizeNative(Vector2* size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[17])(size); - #else - ((delegate* unmanaged[Cdecl])funcTable[17])((nint)size); - #endif - } - - public static void PinPivotSize(Vector2* size) - { - PinPivotSizeNative(size); - } - - public static void PinPivotSize(ref Vector2 size) - { - fixed (Vector2* psize = &size) - { - PinPivotSizeNative((Vector2*)psize); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PinPivotScaleNative(Vector2* scale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[18])(scale); - #else - ((delegate* unmanaged[Cdecl])funcTable[18])((nint)scale); - #endif - } - - public static void PinPivotScale(Vector2* scale) - { - PinPivotScaleNative(scale); - } - - public static void PinPivotScale(ref Vector2 scale) - { - fixed (Vector2* pscale = &scale) - { - PinPivotScaleNative((Vector2*)pscale); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PinPivotAlignmentNative(Vector2* alignment) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[19])(alignment); - #else - ((delegate* unmanaged[Cdecl])funcTable[19])((nint)alignment); - #endif - } - - public static void PinPivotAlignment(Vector2* alignment) - { - PinPivotAlignmentNative(alignment); - } - - public static void PinPivotAlignment(ref Vector2 alignment) - { - fixed (Vector2* palignment = &alignment) - { - PinPivotAlignmentNative((Vector2*)palignment); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndPinNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[20])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[20])(); - #endif - } - - public static void EndPin() - { - EndPinNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GroupNative(Vector2* size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[21])(size); - #else - ((delegate* unmanaged[Cdecl])funcTable[21])((nint)size); - #endif - } - - public static void Group(Vector2* size) - { - GroupNative(size); - } - - public static void Group(ref Vector2 size) - { - fixed (Vector2* psize = &size) - { - GroupNative((Vector2*)psize); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNodeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[22])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[22])(); - #endif - } - - public static void EndNode() - { - EndNodeNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginGroupHintNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[23])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[23])(nodeId); - #endif - } - - public static bool BeginGroupHint(NodeId nodeId) - { - byte ret = BeginGroupHintNative(nodeId); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 GetGroupMinNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[24])(); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[24])(); - #endif - } - - public static Vector2 GetGroupMin() - { - Vector2 ret = GetGroupMinNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 GetGroupMaxNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[25])(); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[25])(); - #endif - } - - public static Vector2 GetGroupMax() - { - Vector2 ret = GetGroupMaxNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetHintForegroundDrawListNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[26])(); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[26])(); - #endif - } - - public static ImDrawList* GetHintForegroundDrawList() - { - ImDrawList* ret = GetHintForegroundDrawListNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetHintBackgroundDrawListNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[27])(); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[27])(); - #endif - } - - public static ImDrawList* GetHintBackgroundDrawList() - { - ImDrawList* ret = GetHintBackgroundDrawListNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndGroupHintNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[28])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[28])(); - #endif - } - - public static void EndGroupHint() - { - EndGroupHintNative(); - } - - /// - /// TODO: Add a way to manage node background channels
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetNodeBackgroundDrawListNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[29])(nodeId); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[29])(nodeId); - #endif - } - - /// - /// TODO: Add a way to manage node background channels
- ///
- public static ImDrawList* GetNodeBackgroundDrawList(NodeId nodeId) - { - ImDrawList* ret = GetNodeBackgroundDrawListNative(nodeId); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte LinkNative(LinkId id, PinId startPinId, PinId endPinId, Vector4* color, float thickness) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[30])(id, startPinId, endPinId, color, thickness); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[30])(id, startPinId, endPinId, (nint)color, thickness); - #endif - } - - public static bool Link(LinkId id, PinId startPinId, PinId endPinId, Vector4* color, float thickness) - { - byte ret = LinkNative(id, startPinId, endPinId, color, thickness); - return ret != 0; - } - - public static bool Link(LinkId id, PinId startPinId, PinId endPinId, ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - byte ret = LinkNative(id, startPinId, endPinId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FlowNative(LinkId linkId, FlowDirection direction) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[31])(linkId, direction); - #else - ((delegate* unmanaged[Cdecl])funcTable[31])(linkId, direction); - #endif - } - - public static void Flow(LinkId linkId, FlowDirection direction) - { - FlowNative(linkId, direction); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginCreateNative(Vector4* color, float thickness) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[32])(color, thickness); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[32])((nint)color, thickness); - #endif - } - - public static bool BeginCreate(Vector4* color, float thickness) - { - byte ret = BeginCreateNative(color, thickness); - return ret != 0; - } - - public static bool BeginCreate(ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - byte ret = BeginCreateNative((Vector4*)pcolor, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte QueryNewLinkNative(PinId* startId, PinId* endId, Vector4* color, float thickness) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[33])(startId, endId, color, thickness); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[33])((nint)startId, (nint)endId, (nint)color, thickness); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(PinId* startId, PinId* endId, Vector4* color, float thickness) - { - byte ret = QueryNewLinkNative(startId, endId, color, thickness); - return ret != 0; - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(ref PinId startId, PinId* endId, Vector4* color, float thickness) - { - fixed (PinId* pstartId = &startId) - { - byte ret = QueryNewLinkNative((PinId*)pstartId, endId, color, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(PinId* startId, ref PinId endId, Vector4* color, float thickness) - { - fixed (PinId* pendId = &endId) - { - byte ret = QueryNewLinkNative(startId, (PinId*)pendId, color, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(ref PinId startId, ref PinId endId, Vector4* color, float thickness) - { - fixed (PinId* pstartId = &startId) - { - fixed (PinId* pendId = &endId) - { - byte ret = QueryNewLinkNative((PinId*)pstartId, (PinId*)pendId, color, thickness); - return ret != 0; - } - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(PinId* startId, PinId* endId, ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - byte ret = QueryNewLinkNative(startId, endId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(ref PinId startId, PinId* endId, ref Vector4 color, float thickness) - { - fixed (PinId* pstartId = &startId) - { - fixed (Vector4* pcolor = &color) - { - byte ret = QueryNewLinkNative((PinId*)pstartId, endId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(PinId* startId, ref PinId endId, ref Vector4 color, float thickness) - { - fixed (PinId* pendId = &endId) - { - fixed (Vector4* pcolor = &color) - { - byte ret = QueryNewLinkNative(startId, (PinId*)pendId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewLink(PinId* startId, PinId* endId);
- ///
- public static bool QueryNewLink(ref PinId startId, ref PinId endId, ref Vector4 color, float thickness) - { - fixed (PinId* pstartId = &startId) - { - fixed (PinId* pendId = &endId) - { - fixed (Vector4* pcolor = &color) - { - byte ret = QueryNewLinkNative((PinId*)pstartId, (PinId*)pendId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewNode(PinId* pinId);
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte QueryNewNodeNative(PinId* pinId, Vector4* color, float thickness) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[34])(pinId, color, thickness); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[34])((nint)pinId, (nint)color, thickness); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewNode(PinId* pinId);
- ///
- public static bool QueryNewNode(PinId* pinId, Vector4* color, float thickness) - { - byte ret = QueryNewNodeNative(pinId, color, thickness); - return ret != 0; - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewNode(PinId* pinId);
- ///
- public static bool QueryNewNode(ref PinId pinId, Vector4* color, float thickness) - { - fixed (PinId* ppinId = &pinId) - { - byte ret = QueryNewNodeNative((PinId*)ppinId, color, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewNode(PinId* pinId);
- ///
- public static bool QueryNewNode(PinId* pinId, ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - byte ret = QueryNewNodeNative(pinId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool QueryNewNode(PinId* pinId);
- ///
- public static bool QueryNewNode(ref PinId pinId, ref Vector4 color, float thickness) - { - fixed (PinId* ppinId = &pinId) - { - fixed (Vector4* pcolor = &color) - { - byte ret = QueryNewNodeNative((PinId*)ppinId, (Vector4*)pcolor, thickness); - return ret != 0; - } - } - } - - /// - /// IMGUI_NODE_EDITOR_API bool AcceptNewItem();
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptNewItemNative(Vector4* color, float thickness) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[35])(color, thickness); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[35])((nint)color, thickness); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API bool AcceptNewItem();
- ///
- public static bool AcceptNewItem(Vector4* color, float thickness) - { - byte ret = AcceptNewItemNative(color, thickness); - return ret != 0; - } - - /// - /// IMGUI_NODE_EDITOR_API bool AcceptNewItem();
- ///
- public static bool AcceptNewItem(ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - byte ret = AcceptNewItemNative((Vector4*)pcolor, thickness); - return ret != 0; - } - } - - /// - /// IMGUI_NODE_EDITOR_API void RejectNewItem();
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RejectNewItemNative(Vector4* color, float thickness) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[36])(color, thickness); - #else - ((delegate* unmanaged[Cdecl])funcTable[36])((nint)color, thickness); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API void RejectNewItem();
- ///
- public static void RejectNewItem(Vector4* color, float thickness) - { - RejectNewItemNative(color, thickness); - } - - /// - /// IMGUI_NODE_EDITOR_API void RejectNewItem();
- ///
- public static void RejectNewItem(ref Vector4 color, float thickness) - { - fixed (Vector4* pcolor = &color) - { - RejectNewItemNative((Vector4*)pcolor, thickness); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndCreateNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[37])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[37])(); - #endif - } - - public static void EndCreate() - { - EndCreateNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDeleteNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[38])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[38])(); - #endif - } - - public static bool BeginDelete() - { - byte ret = BeginDeleteNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte QueryDeletedLinkNative(LinkId* linkId, PinId* startId, PinId* endId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[39])(linkId, startId, endId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[39])((nint)linkId, (nint)startId, (nint)endId); - #endif - } - - public static bool QueryDeletedLink(LinkId* linkId, PinId* startId, PinId* endId) - { - byte ret = QueryDeletedLinkNative(linkId, startId, endId); - return ret != 0; - } - - public static bool QueryDeletedLink(ref LinkId linkId, PinId* startId, PinId* endId) - { - fixed (LinkId* plinkId = &linkId) - { - byte ret = QueryDeletedLinkNative((LinkId*)plinkId, startId, endId); - return ret != 0; - } - } - - public static bool QueryDeletedLink(LinkId* linkId, ref PinId startId, PinId* endId) - { - fixed (PinId* pstartId = &startId) - { - byte ret = QueryDeletedLinkNative(linkId, (PinId*)pstartId, endId); - return ret != 0; - } - } - - public static bool QueryDeletedLink(ref LinkId linkId, ref PinId startId, PinId* endId) - { - fixed (LinkId* plinkId = &linkId) - { - fixed (PinId* pstartId = &startId) - { - byte ret = QueryDeletedLinkNative((LinkId*)plinkId, (PinId*)pstartId, endId); - return ret != 0; - } - } - } - - public static bool QueryDeletedLink(LinkId* linkId, PinId* startId, ref PinId endId) - { - fixed (PinId* pendId = &endId) - { - byte ret = QueryDeletedLinkNative(linkId, startId, (PinId*)pendId); - return ret != 0; - } - } - - public static bool QueryDeletedLink(ref LinkId linkId, PinId* startId, ref PinId endId) - { - fixed (LinkId* plinkId = &linkId) - { - fixed (PinId* pendId = &endId) - { - byte ret = QueryDeletedLinkNative((LinkId*)plinkId, startId, (PinId*)pendId); - return ret != 0; - } - } - } - - public static bool QueryDeletedLink(LinkId* linkId, ref PinId startId, ref PinId endId) - { - fixed (PinId* pstartId = &startId) - { - fixed (PinId* pendId = &endId) - { - byte ret = QueryDeletedLinkNative(linkId, (PinId*)pstartId, (PinId*)pendId); - return ret != 0; - } - } - } - - public static bool QueryDeletedLink(ref LinkId linkId, ref PinId startId, ref PinId endId) - { - fixed (LinkId* plinkId = &linkId) - { - fixed (PinId* pstartId = &startId) - { - fixed (PinId* pendId = &endId) - { - byte ret = QueryDeletedLinkNative((LinkId*)plinkId, (PinId*)pstartId, (PinId*)pendId); - return ret != 0; - } - } - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte QueryDeletedNodeNative(NodeId* nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[40])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[40])((nint)nodeId); - #endif - } - - public static bool QueryDeletedNode(NodeId* nodeId) - { - byte ret = QueryDeletedNodeNative(nodeId); - return ret != 0; - } - - public static bool QueryDeletedNode(ref NodeId nodeId) - { - fixed (NodeId* pnodeId = &nodeId) - { - byte ret = QueryDeletedNodeNative((NodeId*)pnodeId); - return ret != 0; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptDeletedItemNative(byte deleteDependencies) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[41])(deleteDependencies); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[41])(deleteDependencies); - #endif - } - - public static bool AcceptDeletedItem(bool deleteDependencies) - { - byte ret = AcceptDeletedItemNative(deleteDependencies ? (byte)1 : (byte)0); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RejectDeletedItemNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[42])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[42])(); - #endif - } - - public static void RejectDeletedItem() - { - RejectDeletedItemNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDeleteNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[43])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[43])(); - #endif - } - - public static void EndDelete() - { - EndDeleteNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNodePositionNative(NodeId nodeId, Vector2* editorPosition) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[44])(nodeId, editorPosition); - #else - ((delegate* unmanaged[Cdecl])funcTable[44])(nodeId, (nint)editorPosition); - #endif - } - - public static void SetNodePosition(NodeId nodeId, Vector2* editorPosition) - { - SetNodePositionNative(nodeId, editorPosition); - } - - public static void SetNodePosition(NodeId nodeId, ref Vector2 editorPosition) - { - fixed (Vector2* peditorPosition = &editorPosition) - { - SetNodePositionNative(nodeId, (Vector2*)peditorPosition); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetGroupSizeNative(NodeId nodeId, Vector2* size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[45])(nodeId, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[45])(nodeId, (nint)size); - #endif - } - - public static void SetGroupSize(NodeId nodeId, Vector2* size) - { - SetGroupSizeNative(nodeId, size); - } - - public static void SetGroupSize(NodeId nodeId, ref Vector2 size) - { - fixed (Vector2* psize = &size) - { - SetGroupSizeNative(nodeId, (Vector2*)psize); - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 GetNodePositionNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[46])(nodeId); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[46])(nodeId); - #endif - } - - public static Vector2 GetNodePosition(NodeId nodeId) - { - Vector2 ret = GetNodePositionNative(nodeId); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 GetNodeSizeNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[47])(nodeId); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[47])(nodeId); - #endif - } - - public static Vector2 GetNodeSize(NodeId nodeId) - { - Vector2 ret = GetNodeSizeNative(nodeId); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CenterNodeOnScreenNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[48])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[48])(nodeId); - #endif - } - - public static void CenterNodeOnScreen(NodeId nodeId) - { - CenterNodeOnScreenNative(nodeId); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNodeZPositionNative(NodeId nodeId, float z) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[49])(nodeId, z); - #else - ((delegate* unmanaged[Cdecl])funcTable[49])(nodeId, z); - #endif - } - - public static void SetNodeZPosition(NodeId nodeId, float z) - { - SetNodeZPositionNative(nodeId, z); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetNodeZPositionNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[50])(nodeId); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[50])(nodeId); - #endif - } - - public static float GetNodeZPosition(NodeId nodeId) - { - float ret = GetNodeZPositionNative(nodeId); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RestoreNodeStateNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[51])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[51])(nodeId); - #endif - } - - public static void RestoreNodeState(NodeId nodeId) - { - RestoreNodeStateNative(nodeId); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SuspendNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[52])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[52])(); - #endif - } - - public static void Suspend() - { - SuspendNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResumeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[53])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[53])(); - #endif - } - - public static void Resume() - { - ResumeNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsSuspendedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[54])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[54])(); - #endif - } - - public static bool IsSuspended() - { - byte ret = IsSuspendedNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsActiveNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[55])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[55])(); - #endif - } - - public static bool IsActive() - { - byte ret = IsActiveNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasSelectionChangedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[56])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[56])(); - #endif - } - - public static bool HasSelectionChanged() - { - byte ret = HasSelectionChangedNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetSelectedObjectCountNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[57])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[57])(); - #endif - } - - public static int GetSelectedObjectCount() - { - int ret = GetSelectedObjectCountNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetSelectedNodesNative(NodeId* nodes, int size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[58])(nodes, size); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[58])((nint)nodes, size); - #endif - } - - public static int GetSelectedNodes(NodeId* nodes, int size) - { - int ret = GetSelectedNodesNative(nodes, size); - return ret; - } - - public static int GetSelectedNodes(ref NodeId nodes, int size) - { - fixed (NodeId* pnodes = &nodes) - { - int ret = GetSelectedNodesNative((NodeId*)pnodes, size); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetSelectedLinksNative(LinkId* links, int size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[59])(links, size); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[59])((nint)links, size); - #endif - } - - public static int GetSelectedLinks(LinkId* links, int size) - { - int ret = GetSelectedLinksNative(links, size); - return ret; - } - - public static int GetSelectedLinks(ref LinkId links, int size) - { - fixed (LinkId* plinks = &links) - { - int ret = GetSelectedLinksNative((LinkId*)plinks, size); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsNodeSelectedNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[60])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[60])(nodeId); - #endif - } - - public static bool IsNodeSelected(NodeId nodeId) - { - byte ret = IsNodeSelectedNative(nodeId); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkSelectedNative(LinkId linkId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[61])(linkId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[61])(linkId); - #endif - } - - public static bool IsLinkSelected(LinkId linkId) - { - byte ret = IsLinkSelectedNative(linkId); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearSelectionNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[62])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[62])(); - #endif - } - - public static void ClearSelection() - { - ClearSelectionNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SelectNodeNative(NodeId nodeId, byte append) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[63])(nodeId, append); - #else - ((delegate* unmanaged[Cdecl])funcTable[63])(nodeId, append); - #endif - } - - public static void SelectNode(NodeId nodeId, bool append) - { - SelectNodeNative(nodeId, append ? (byte)1 : (byte)0); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SelectLinkNative(LinkId linkId, byte append) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[64])(linkId, append); - #else - ((delegate* unmanaged[Cdecl])funcTable[64])(linkId, append); - #endif - } - - public static void SelectLink(LinkId linkId, bool append) - { - SelectLinkNative(linkId, append ? (byte)1 : (byte)0); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DeselectNodeNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[65])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[65])(nodeId); - #endif - } - - public static void DeselectNode(NodeId nodeId) - { - DeselectNodeNative(nodeId); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DeselectLinkNative(LinkId linkId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[66])(linkId); - #else - ((delegate* unmanaged[Cdecl])funcTable[66])(linkId); - #endif - } - - public static void DeselectLink(LinkId linkId) - { - DeselectLinkNative(linkId); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DeleteNodeNative(NodeId nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[67])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[67])(nodeId); - #endif - } - - public static bool DeleteNode(NodeId nodeId) - { - byte ret = DeleteNodeNative(nodeId); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DeleteLinkNative(LinkId linkId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[68])(linkId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[68])(linkId); - #endif - } - - public static bool DeleteLink(LinkId linkId) - { - byte ret = DeleteLinkNative(linkId); - return ret != 0; - } - - /// - /// IMGUI_NODE_EDITOR_API bool HasAnyLinks(NodeId nodeId); // Returns true if node has any link connected
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasAnyLinksNative(PinId pinId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[69])(pinId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[69])(pinId); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API bool HasAnyLinks(NodeId nodeId); // Returns true if node has any link connected
- ///
- public static bool HasAnyLinks(PinId pinId) - { - byte ret = HasAnyLinksNative(pinId); - return ret != 0; - } - - /// - /// IMGUI_NODE_EDITOR_API int BreakLinks(NodeId nodeId); // Break all links connected to this node
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int BreakLinksNative(PinId pinId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[70])(pinId); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[70])(pinId); - #endif - } - - /// - /// IMGUI_NODE_EDITOR_API int BreakLinks(NodeId nodeId); // Break all links connected to this node
- ///
- public static int BreakLinks(PinId pinId) - { - int ret = BreakLinksNative(pinId); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavigateToContentNative(float duration) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[71])(duration); - #else - ((delegate* unmanaged[Cdecl])funcTable[71])(duration); - #endif - } - - public static void NavigateToContent(float duration) - { - NavigateToContentNative(duration); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NavigateToSelectionNative(byte zoomIn, float duration) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[72])(zoomIn, duration); - #else - ((delegate* unmanaged[Cdecl])funcTable[72])(zoomIn, duration); - #endif - } - - public static void NavigateToSelection(bool zoomIn, float duration) - { - NavigateToSelectionNative(zoomIn ? (byte)1 : (byte)0, duration); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowNodeContextMenuNative(NodeId* nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[73])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[73])((nint)nodeId); - #endif - } - - public static bool ShowNodeContextMenu(NodeId* nodeId) - { - byte ret = ShowNodeContextMenuNative(nodeId); - return ret != 0; - } - - public static bool ShowNodeContextMenu(ref NodeId nodeId) - { - fixed (NodeId* pnodeId = &nodeId) - { - byte ret = ShowNodeContextMenuNative((NodeId*)pnodeId); - return ret != 0; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowPinContextMenuNative(PinId* pinId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[74])(pinId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[74])((nint)pinId); - #endif - } - - public static bool ShowPinContextMenu(PinId* pinId) - { - byte ret = ShowPinContextMenuNative(pinId); - return ret != 0; - } - - public static bool ShowPinContextMenu(ref PinId pinId) - { - fixed (PinId* ppinId = &pinId) - { - byte ret = ShowPinContextMenuNative((PinId*)ppinId); - return ret != 0; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowLinkContextMenuNative(LinkId* linkId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[75])(linkId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[75])((nint)linkId); - #endif - } - - public static bool ShowLinkContextMenu(LinkId* linkId) - { - byte ret = ShowLinkContextMenuNative(linkId); - return ret != 0; - } - - public static bool ShowLinkContextMenu(ref LinkId linkId) - { - fixed (LinkId* plinkId = &linkId) - { - byte ret = ShowLinkContextMenuNative((LinkId*)plinkId); - return ret != 0; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowBackgroundContextMenuNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[76])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[76])(); - #endif - } - - public static bool ShowBackgroundContextMenu() - { - byte ret = ShowBackgroundContextMenuNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EnableShortcutsNative(byte enable) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[77])(enable); - #else - ((delegate* unmanaged[Cdecl])funcTable[77])(enable); - #endif - } - - public static void EnableShortcuts(bool enable) - { - EnableShortcutsNative(enable ? (byte)1 : (byte)0); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AreShortcutsEnabledNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[78])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[78])(); - #endif - } - - public static bool AreShortcutsEnabled() - { - byte ret = AreShortcutsEnabledNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginShortcutNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[79])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[79])(); - #endif - } - - public static bool BeginShortcut() - { - byte ret = BeginShortcutNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptCutNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[80])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[80])(); - #endif - } - - public static bool AcceptCut() - { - byte ret = AcceptCutNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptCopyNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[81])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[81])(); - #endif - } - - public static bool AcceptCopy() - { - byte ret = AcceptCopyNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptPasteNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[82])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[82])(); - #endif - } - - public static bool AcceptPaste() - { - byte ret = AcceptPasteNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptDuplicateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[83])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[83])(); - #endif - } - - public static bool AcceptDuplicate() - { - byte ret = AcceptDuplicateNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AcceptCreateNodeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[84])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[84])(); - #endif - } - - public static bool AcceptCreateNode() - { - byte ret = AcceptCreateNodeNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetActionContextSizeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[85])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[85])(); - #endif - } - - public static int GetActionContextSize() - { - int ret = GetActionContextSizeNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetActionContextNodesNative(NodeId* nodes, int size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[86])(nodes, size); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[86])((nint)nodes, size); - #endif - } - - public static int GetActionContextNodes(NodeId* nodes, int size) - { - int ret = GetActionContextNodesNative(nodes, size); - return ret; - } - - public static int GetActionContextNodes(ref NodeId nodes, int size) - { - fixed (NodeId* pnodes = &nodes) - { - int ret = GetActionContextNodesNative((NodeId*)pnodes, size); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetActionContextLinksNative(LinkId* links, int size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[87])(links, size); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[87])((nint)links, size); - #endif - } - - public static int GetActionContextLinks(LinkId* links, int size) - { - int ret = GetActionContextLinksNative(links, size); - return ret; - } - - public static int GetActionContextLinks(ref LinkId links, int size) - { - fixed (LinkId* plinks = &links) - { - int ret = GetActionContextLinksNative((LinkId*)plinks, size); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndShortcutNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[88])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[88])(); - #endif - } - - public static void EndShortcut() - { - EndShortcutNative(); - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float GetCurrentZoomNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[89])(); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[89])(); - #endif - } - - public static float GetCurrentZoom() - { - float ret = GetCurrentZoomNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static NodeId GetHoveredNodeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[90])(); - #else - return (NodeId)((delegate* unmanaged[Cdecl])funcTable[90])(); - #endif - } - - public static NodeId GetHoveredNode() - { - NodeId ret = GetHoveredNodeNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static PinId GetHoveredPinNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[91])(); - #else - return (PinId)((delegate* unmanaged[Cdecl])funcTable[91])(); - #endif - } - - public static PinId GetHoveredPin() - { - PinId ret = GetHoveredPinNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static LinkId GetHoveredLinkNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[92])(); - #else - return (LinkId)((delegate* unmanaged[Cdecl])funcTable[92])(); - #endif - } - - public static LinkId GetHoveredLink() - { - LinkId ret = GetHoveredLinkNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static NodeId GetDoubleClickedNodeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[93])(); - #else - return (NodeId)((delegate* unmanaged[Cdecl])funcTable[93])(); - #endif - } - - public static NodeId GetDoubleClickedNode() - { - NodeId ret = GetDoubleClickedNodeNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static PinId GetDoubleClickedPinNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[94])(); - #else - return (PinId)((delegate* unmanaged[Cdecl])funcTable[94])(); - #endif - } - - public static PinId GetDoubleClickedPin() - { - PinId ret = GetDoubleClickedPinNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static LinkId GetDoubleClickedLinkNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[95])(); - #else - return (LinkId)((delegate* unmanaged[Cdecl])funcTable[95])(); - #endif - } - - public static LinkId GetDoubleClickedLink() - { - LinkId ret = GetDoubleClickedLinkNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsBackgroundClickedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[96])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[96])(); - #endif - } - - public static bool IsBackgroundClicked() - { - byte ret = IsBackgroundClickedNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsBackgroundDoubleClickedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[97])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[97])(); - #endif - } - - public static bool IsBackgroundDoubleClicked() - { - byte ret = IsBackgroundDoubleClickedNative(); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetBackgroundClickButtonIndexNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[98])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[98])(); - #endif - } - - public static int GetBackgroundClickButtonIndex() - { - int ret = GetBackgroundClickButtonIndexNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetBackgroundDoubleClickButtonIndexNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[99])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[99])(); - #endif - } - - public static int GetBackgroundDoubleClickButtonIndex() - { - int ret = GetBackgroundDoubleClickButtonIndexNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte GetLinkPinsNative(LinkId linkId, PinId* startPinId, PinId* endPinId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[100])(linkId, startPinId, endPinId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[100])(linkId, (nint)startPinId, (nint)endPinId); - #endif - } - - public static bool GetLinkPins(LinkId linkId, PinId* startPinId, PinId* endPinId) - { - byte ret = GetLinkPinsNative(linkId, startPinId, endPinId); - return ret != 0; - } - - public static bool GetLinkPins(LinkId linkId, ref PinId startPinId, PinId* endPinId) - { - fixed (PinId* pstartPinId = &startPinId) - { - byte ret = GetLinkPinsNative(linkId, (PinId*)pstartPinId, endPinId); - return ret != 0; - } - } - - public static bool GetLinkPins(LinkId linkId, PinId* startPinId, ref PinId endPinId) - { - fixed (PinId* pendPinId = &endPinId) - { - byte ret = GetLinkPinsNative(linkId, startPinId, (PinId*)pendPinId); - return ret != 0; - } - } - - public static bool GetLinkPins(LinkId linkId, ref PinId startPinId, ref PinId endPinId) - { - fixed (PinId* pstartPinId = &startPinId) - { - fixed (PinId* pendPinId = &endPinId) - { - byte ret = GetLinkPinsNative(linkId, (PinId*)pstartPinId, (PinId*)pendPinId); - return ret != 0; - } - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte PinHadAnyLinksNative(PinId pinId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[101])(pinId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[101])(pinId); - #endif - } - - public static bool PinHadAnyLinks(PinId pinId) - { - byte ret = PinHadAnyLinksNative(pinId); - return ret != 0; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 GetScreenSizeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[102])(); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[102])(); - #endif - } - - public static Vector2 GetScreenSize() - { - Vector2 ret = GetScreenSizeNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 ScreenToCanvasNative(Vector2* pos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[103])(pos); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[103])((nint)pos); - #endif - } - - public static Vector2 ScreenToCanvas(Vector2* pos) - { - Vector2 ret = ScreenToCanvasNative(pos); - return ret; - } - - public static Vector2 ScreenToCanvas(ref Vector2 pos) - { - fixed (Vector2* ppos = &pos) - { - Vector2 ret = ScreenToCanvasNative((Vector2*)ppos); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Vector2 CanvasToScreenNative(Vector2* pos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[104])(pos); - #else - return (Vector2)((delegate* unmanaged[Cdecl])funcTable[104])((nint)pos); - #endif - } - - public static Vector2 CanvasToScreen(Vector2* pos) - { - Vector2 ret = CanvasToScreenNative(pos); - return ret; - } - - public static Vector2 CanvasToScreen(ref Vector2 pos) - { - fixed (Vector2* ppos = &pos) - { - Vector2 ret = CanvasToScreenNative((Vector2*)ppos); - return ret; - } - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetNodeCountNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[105])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[105])(); - #endif - } - - public static int GetNodeCount() - { - int ret = GetNodeCountNative(); - return ret; - } - - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetOrderedNodeIdsNative(NodeId* nodes, int size) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[106])(nodes, size); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[106])((nint)nodes, size); - #endif - } - - public static int GetOrderedNodeIds(NodeId* nodes, int size) - { - int ret = GetOrderedNodeIdsNative(nodes, size); - return ret; - } - - public static int GetOrderedNodeIds(ref NodeId nodes, int size) - { - fixed (NodeId* pnodes = &nodes) - { - int ret = GetOrderedNodeIdsNative((NodeId*)pnodes, size); - return ret; - } - } - - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/LinkId.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/LinkId.cs deleted file mode 100644 index 07ed852a7..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/LinkId.cs +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct LinkId : IEquatable - { - public LinkId(nint handle) { Handle = handle; } - public nint Handle { get; } - public bool IsNull => Handle == 0; - public static LinkId Null => new LinkId(0); - public static implicit operator LinkId(nint handle) => new LinkId(handle); - public static bool operator ==(LinkId left, LinkId right) => left.Handle == right.Handle; - public static bool operator !=(LinkId left, LinkId right) => left.Handle != right.Handle; - public static bool operator ==(LinkId left, nint right) => left.Handle == right; - public static bool operator !=(LinkId left, nint right) => left.Handle != right; - public bool Equals(LinkId other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is LinkId handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("LinkId [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/NodeId.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/NodeId.cs deleted file mode 100644 index f34013a3c..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/NodeId.cs +++ /dev/null @@ -1,44 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - /// - /// ------------------------------------------------------------------------------
- ///
- #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct NodeId : IEquatable - { - public NodeId(nint handle) { Handle = handle; } - public nint Handle { get; } - public bool IsNull => Handle == 0; - public static NodeId Null => new NodeId(0); - public static implicit operator NodeId(nint handle) => new NodeId(handle); - public static bool operator ==(NodeId left, NodeId right) => left.Handle == right.Handle; - public static bool operator !=(NodeId left, NodeId right) => left.Handle != right.Handle; - public static bool operator ==(NodeId left, nint right) => left.Handle == right; - public static bool operator !=(NodeId left, nint right) => left.Handle != right; - public bool Equals(NodeId other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is NodeId handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("NodeId [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/PinId.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/PinId.cs deleted file mode 100644 index 0ca55ed8b..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Handles/PinId.cs +++ /dev/null @@ -1,41 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct PinId : IEquatable - { - public PinId(nint handle) { Handle = handle; } - public nint Handle { get; } - public bool IsNull => Handle == 0; - public static PinId Null => new PinId(0); - public static implicit operator PinId(nint handle) => new PinId(handle); - public static bool operator ==(PinId left, PinId right) => left.Handle == right.Handle; - public static bool operator !=(PinId left, PinId right) => left.Handle != right.Handle; - public static bool operator ==(PinId left, nint right) => left.Handle == right; - public static bool operator !=(PinId left, nint right) => left.Handle != right; - public bool Equals(PinId other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is PinId handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("PinId [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Config.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Config.cs deleted file mode 100644 index dbc96a02d..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Config.cs +++ /dev/null @@ -1,146 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - [StructLayout(LayoutKind.Sequential)] - public partial struct Config - { - public unsafe byte* SettingsFile; - public unsafe void* BeginSaveSession; - public unsafe void* EndSaveSession; - public unsafe void* SaveSettings; - public unsafe void* LoadSettings; - public unsafe void* SaveNodeSettings; - public unsafe void* LoadNodeSettings; - public unsafe void* UserPointer; - public ImVector CustomZoomLevels; - public CanvasSizeMode CanvasSizeMode; - /// - /// Mouse button index drag action will react to (0-left, 1-right, 2-middle)
- ///
- public int DragButtonIndex; - - /// - /// Mouse button index select action will react to (0-left, 1-right, 2-middle)
- ///
- public int SelectButtonIndex; - - /// - /// Mouse button index navigate action will react to (0-left, 1-right, 2-middle)
- ///
- public int NavigateButtonIndex; - - /// - /// Mouse button index context menu action will react to (0-left, 1-right, 2-middle)
- ///
- public int ContextMenuButtonIndex; - - public byte EnableSmoothZoom; - public float SmoothZoomPower; - - public unsafe Config(byte* settingsFile = default, ConfigSession beginSaveSession = default, ConfigSession endSaveSession = default, ConfigSaveSettings saveSettings = default, ConfigLoadSettings loadSettings = default, ConfigSaveNodeSettings saveNodeSettings = default, ConfigLoadNodeSettings loadNodeSettings = default, void* userPointer = default, ImVector customZoomLevels = default, CanvasSizeMode canvasSizeMode = default, int dragButtonIndex = default, int selectButtonIndex = default, int navigateButtonIndex = default, int contextMenuButtonIndex = default, bool enableSmoothZoom = default, float smoothZoomPower = default) - { - SettingsFile = settingsFile; - BeginSaveSession = (void*)Marshal.GetFunctionPointerForDelegate(beginSaveSession); - EndSaveSession = (void*)Marshal.GetFunctionPointerForDelegate(endSaveSession); - SaveSettings = (void*)Marshal.GetFunctionPointerForDelegate(saveSettings); - LoadSettings = (void*)Marshal.GetFunctionPointerForDelegate(loadSettings); - SaveNodeSettings = (void*)Marshal.GetFunctionPointerForDelegate(saveNodeSettings); - LoadNodeSettings = (void*)Marshal.GetFunctionPointerForDelegate(loadNodeSettings); - UserPointer = userPointer; - CustomZoomLevels = customZoomLevels; - CanvasSizeMode = canvasSizeMode; - DragButtonIndex = dragButtonIndex; - SelectButtonIndex = selectButtonIndex; - NavigateButtonIndex = navigateButtonIndex; - ContextMenuButtonIndex = contextMenuButtonIndex; - EnableSmoothZoom = enableSmoothZoom ? (byte)1 : (byte)0; - SmoothZoomPower = smoothZoomPower; - } - - - } - - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ConfigPtr : IEquatable - { - public ConfigPtr(Config* handle) { Handle = handle; } - - public Config* Handle; - - public bool IsNull => Handle == null; - - public static ConfigPtr Null => new ConfigPtr(null); - - public Config this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ConfigPtr(Config* handle) => new ConfigPtr(handle); - - public static implicit operator Config*(ConfigPtr handle) => handle.Handle; - - public static bool operator ==(ConfigPtr left, ConfigPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ConfigPtr left, ConfigPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ConfigPtr left, Config* right) => left.Handle == right; - - public static bool operator !=(ConfigPtr left, Config* right) => left.Handle != right; - - public bool Equals(ConfigPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ConfigPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ConfigPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - public byte* SettingsFile { get => Handle->SettingsFile; set => Handle->SettingsFile = value; } - public void* BeginSaveSession { get => Handle->BeginSaveSession; set => Handle->BeginSaveSession = value; } - public void* EndSaveSession { get => Handle->EndSaveSession; set => Handle->EndSaveSession = value; } - public void* SaveSettings { get => Handle->SaveSettings; set => Handle->SaveSettings = value; } - public void* LoadSettings { get => Handle->LoadSettings; set => Handle->LoadSettings = value; } - public void* SaveNodeSettings { get => Handle->SaveNodeSettings; set => Handle->SaveNodeSettings = value; } - public void* LoadNodeSettings { get => Handle->LoadNodeSettings; set => Handle->LoadNodeSettings = value; } - public void* UserPointer { get => Handle->UserPointer; set => Handle->UserPointer = value; } - public ref ImVector CustomZoomLevels => ref Unsafe.AsRef>(&Handle->CustomZoomLevels); - public ref CanvasSizeMode CanvasSizeMode => ref Unsafe.AsRef(&Handle->CanvasSizeMode); - /// - /// Mouse button index drag action will react to (0-left, 1-right, 2-middle)
- ///
- public ref int DragButtonIndex => ref Unsafe.AsRef(&Handle->DragButtonIndex); - /// - /// Mouse button index select action will react to (0-left, 1-right, 2-middle)
- ///
- public ref int SelectButtonIndex => ref Unsafe.AsRef(&Handle->SelectButtonIndex); - /// - /// Mouse button index navigate action will react to (0-left, 1-right, 2-middle)
- ///
- public ref int NavigateButtonIndex => ref Unsafe.AsRef(&Handle->NavigateButtonIndex); - /// - /// Mouse button index context menu action will react to (0-left, 1-right, 2-middle)
- ///
- public ref int ContextMenuButtonIndex => ref Unsafe.AsRef(&Handle->ContextMenuButtonIndex); - public ref bool EnableSmoothZoom => ref Unsafe.AsRef(&Handle->EnableSmoothZoom); - public ref float SmoothZoomPower => ref Unsafe.AsRef(&Handle->SmoothZoomPower); - } - -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/EditorContext.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/EditorContext.cs deleted file mode 100644 index 31cc8658b..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/EditorContext.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - /// - /// ------------------------------------------------------------------------------
- ///
- [StructLayout(LayoutKind.Sequential)] - public partial struct EditorContext - { - - - } - - /// - /// ------------------------------------------------------------------------------
- ///
- #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct EditorContextPtr : IEquatable - { - public EditorContextPtr(EditorContext* handle) { Handle = handle; } - - public EditorContext* Handle; - - public bool IsNull => Handle == null; - - public static EditorContextPtr Null => new EditorContextPtr(null); - - public EditorContext this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator EditorContextPtr(EditorContext* handle) => new EditorContextPtr(handle); - - public static implicit operator EditorContext*(EditorContextPtr handle) => handle.Handle; - - public static bool operator ==(EditorContextPtr left, EditorContextPtr right) => left.Handle == right.Handle; - - public static bool operator !=(EditorContextPtr left, EditorContextPtr right) => left.Handle != right.Handle; - - public static bool operator ==(EditorContextPtr left, EditorContext* right) => left.Handle == right; - - public static bool operator !=(EditorContextPtr left, EditorContext* right) => left.Handle != right; - - public bool Equals(EditorContextPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is EditorContextPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("EditorContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Style.cs b/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Style.cs deleted file mode 100644 index 8cf99ea00..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Generated/Structs/Style.cs +++ /dev/null @@ -1,193 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; - -namespace Hexa.NET.ImGuiNodeEditor -{ - [StructLayout(LayoutKind.Sequential)] - public partial struct Style - { - public Vector4 NodePadding; - public float NodeRounding; - public float NodeBorderWidth; - public float HoveredNodeBorderWidth; - public float HoverNodeBorderOffset; - public float SelectedNodeBorderWidth; - public float SelectedNodeBorderOffset; - public float PinRounding; - public float PinBorderWidth; - public float LinkStrength; - public Vector2 SourceDirection; - public Vector2 TargetDirection; - public float ScrollDuration; - public float FlowMarkerDistance; - public float FlowSpeed; - public float FlowDuration; - public Vector2 PivotAlignment; - public Vector2 PivotSize; - public Vector2 PivotScale; - public float PinCorners; - public float PinRadius; - public float PinArrowSize; - public float PinArrowWidth; - public float GroupRounding; - public float GroupBorderWidth; - public float HighlightConnectedLinks; - /// - /// when true link will start on the line defined by pin direction
- ///
- public float SnapLinkToPinDir; - - public Vector4 Colors_0; - public Vector4 Colors_1; - public Vector4 Colors_2; - public Vector4 Colors_3; - public Vector4 Colors_4; - public Vector4 Colors_5; - public Vector4 Colors_6; - public Vector4 Colors_7; - public Vector4 Colors_8; - public Vector4 Colors_9; - public Vector4 Colors_10; - public Vector4 Colors_11; - public Vector4 Colors_12; - public Vector4 Colors_13; - public Vector4 Colors_14; - public Vector4 Colors_15; - public Vector4 Colors_16; - public Vector4 Colors_17; - public Vector4 Colors_18; - - public unsafe Style(Vector4 nodePadding = default, float nodeRounding = default, float nodeBorderWidth = default, float hoveredNodeBorderWidth = default, float hoverNodeBorderOffset = default, float selectedNodeBorderWidth = default, float selectedNodeBorderOffset = default, float pinRounding = default, float pinBorderWidth = default, float linkStrength = default, Vector2 sourceDirection = default, Vector2 targetDirection = default, float scrollDuration = default, float flowMarkerDistance = default, float flowSpeed = default, float flowDuration = default, Vector2 pivotAlignment = default, Vector2 pivotSize = default, Vector2 pivotScale = default, float pinCorners = default, float pinRadius = default, float pinArrowSize = default, float pinArrowWidth = default, float groupRounding = default, float groupBorderWidth = default, float highlightConnectedLinks = default, float snapLinkToPinDir = default, Vector4* colors = default) - { - NodePadding = nodePadding; - NodeRounding = nodeRounding; - NodeBorderWidth = nodeBorderWidth; - HoveredNodeBorderWidth = hoveredNodeBorderWidth; - HoverNodeBorderOffset = hoverNodeBorderOffset; - SelectedNodeBorderWidth = selectedNodeBorderWidth; - SelectedNodeBorderOffset = selectedNodeBorderOffset; - PinRounding = pinRounding; - PinBorderWidth = pinBorderWidth; - LinkStrength = linkStrength; - SourceDirection = sourceDirection; - TargetDirection = targetDirection; - ScrollDuration = scrollDuration; - FlowMarkerDistance = flowMarkerDistance; - FlowSpeed = flowSpeed; - FlowDuration = flowDuration; - PivotAlignment = pivotAlignment; - PivotSize = pivotSize; - PivotScale = pivotScale; - PinCorners = pinCorners; - PinRadius = pinRadius; - PinArrowSize = pinArrowSize; - PinArrowWidth = pinArrowWidth; - GroupRounding = groupRounding; - GroupBorderWidth = groupBorderWidth; - HighlightConnectedLinks = highlightConnectedLinks; - SnapLinkToPinDir = snapLinkToPinDir; - if (colors != default(Vector4*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - } - } - - public unsafe Style(Vector4 nodePadding = default, float nodeRounding = default, float nodeBorderWidth = default, float hoveredNodeBorderWidth = default, float hoverNodeBorderOffset = default, float selectedNodeBorderWidth = default, float selectedNodeBorderOffset = default, float pinRounding = default, float pinBorderWidth = default, float linkStrength = default, Vector2 sourceDirection = default, Vector2 targetDirection = default, float scrollDuration = default, float flowMarkerDistance = default, float flowSpeed = default, float flowDuration = default, Vector2 pivotAlignment = default, Vector2 pivotSize = default, Vector2 pivotScale = default, float pinCorners = default, float pinRadius = default, float pinArrowSize = default, float pinArrowWidth = default, float groupRounding = default, float groupBorderWidth = default, float highlightConnectedLinks = default, float snapLinkToPinDir = default, Span colors = default) - { - NodePadding = nodePadding; - NodeRounding = nodeRounding; - NodeBorderWidth = nodeBorderWidth; - HoveredNodeBorderWidth = hoveredNodeBorderWidth; - HoverNodeBorderOffset = hoverNodeBorderOffset; - SelectedNodeBorderWidth = selectedNodeBorderWidth; - SelectedNodeBorderOffset = selectedNodeBorderOffset; - PinRounding = pinRounding; - PinBorderWidth = pinBorderWidth; - LinkStrength = linkStrength; - SourceDirection = sourceDirection; - TargetDirection = targetDirection; - ScrollDuration = scrollDuration; - FlowMarkerDistance = flowMarkerDistance; - FlowSpeed = flowSpeed; - FlowDuration = flowDuration; - PivotAlignment = pivotAlignment; - PivotSize = pivotSize; - PivotScale = pivotScale; - PinCorners = pinCorners; - PinRadius = pinRadius; - PinArrowSize = pinArrowSize; - PinArrowWidth = pinArrowWidth; - GroupRounding = groupRounding; - GroupBorderWidth = groupBorderWidth; - HighlightConnectedLinks = highlightConnectedLinks; - SnapLinkToPinDir = snapLinkToPinDir; - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - } - } - - - public unsafe Span Colors - - { - get - { - fixed (Vector4* p = &this.Colors_0) - { - return new Span(p, 19); - } - } - } - } - -} diff --git a/src/Hexa.NET.ImGuiNodeEditor/Globals.cs b/src/Hexa.NET.ImGuiNodeEditor/Globals.cs deleted file mode 100644 index 3a9e6a2d7..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Globals.cs +++ /dev/null @@ -1 +0,0 @@ -global using Hexa.NET.ImGui; \ No newline at end of file diff --git a/src/Hexa.NET.ImGuiNodeEditor/Hexa.NET.ImGuiNodeEditor.csproj b/src/Hexa.NET.ImGuiNodeEditor/Hexa.NET.ImGuiNodeEditor.csproj deleted file mode 100644 index 2d0770c6a..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/Hexa.NET.ImGuiNodeEditor.csproj +++ /dev/null @@ -1,28 +0,0 @@ - - - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0 - enable - enable - true - - 12 - - true - true - true - true - - - - - - - - - - - - - - - diff --git a/src/Hexa.NET.ImGuiNodeEditor/ImGuiNodeEditor.cs b/src/Hexa.NET.ImGuiNodeEditor/ImGuiNodeEditor.cs deleted file mode 100644 index be44430a6..000000000 --- a/src/Hexa.NET.ImGuiNodeEditor/ImGuiNodeEditor.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Hexa.NET.ImGuiNodeEditor -{ - using HexaGen.Runtime; - using System.Diagnostics; - - public static class ImGuiNodeEditorConfig - { - public static bool AotStaticLink; - } - - public static partial class ImGuiNodeEditor - { - static ImGuiNodeEditor() - { - if (ImGuiNodeEditorConfig.AotStaticLink) - { - InitApi(new NativeLibraryContext(Process.GetCurrentProcess().MainModule!.BaseAddress)); - } - else - { - InitApi(new NativeLibraryContext(LibraryLoader.LoadLibrary(GetLibraryName, null))); - } - } - - public static string GetLibraryName() - { - return "cimguinodeeditor"; - } - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImGuizmo/AssemblyInfo.cs b/src/Hexa.NET.ImGuizmo/AssemblyInfo.cs deleted file mode 100644 index 0fbfeb747..000000000 --- a/src/Hexa.NET.ImGuizmo/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -#if NET7_0_OR_GREATER - -using System.Runtime.CompilerServices; - -[assembly: DisableRuntimeMarshalling] -#endif \ No newline at end of file diff --git a/src/Hexa.NET.ImGuizmo/Generated/Constants/Constants.000.cs b/src/Hexa.NET.ImGuizmo/Generated/Constants/Constants.000.cs deleted file mode 100644 index fe800340d..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Constants/Constants.000.cs +++ /dev/null @@ -1,20 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - public unsafe partial class ImGuizmo - { - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Delegates/Delegates.000.cs b/src/Hexa.NET.ImGuizmo/Generated/Delegates/Delegates.000.cs deleted file mode 100644 index 8db96a603..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Delegates/Delegates.000.cs +++ /dev/null @@ -1,20 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoColor.cs b/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoColor.cs deleted file mode 100644 index 308c5edf5..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoColor.cs +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuizmoColor : int - { - /// - /// To be documented. - /// - DirectionX = unchecked(0), - - /// - /// To be documented. - /// - DirectionY = unchecked(1), - - /// - /// To be documented. - /// - DirectionZ = unchecked(2), - - /// - /// To be documented. - /// - PlaneX = unchecked(3), - - /// - /// To be documented. - /// - PlaneY = unchecked(4), - - /// - /// To be documented. - /// - PlaneZ = unchecked(5), - - /// - /// To be documented. - /// - Selection = unchecked(6), - - /// - /// To be documented. - /// - Inactive = unchecked(7), - - /// - /// To be documented. - /// - TranslationLine = unchecked(8), - - /// - /// To be documented. - /// - ScaleLine = unchecked(9), - - /// - /// To be documented. - /// - RotationUsingBorder = unchecked(10), - - /// - /// To be documented. - /// - RotationUsingFill = unchecked(11), - - /// - /// To be documented. - /// - HatchedAxisLines = unchecked(12), - - /// - /// To be documented. - /// - Text = unchecked(13), - - /// - /// To be documented. - /// - TextShadow = unchecked(14), - - /// - /// To be documented. - /// - Count = unchecked(15), - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoMode.cs b/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoMode.cs deleted file mode 100644 index 36b7232c8..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoMode.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuizmoMode : int - { - /// - /// To be documented. - /// - Local = unchecked(0), - - /// - /// To be documented. - /// - World = unchecked(1), - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs b/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs deleted file mode 100644 index 657deb3d2..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Enums/ImGuizmoOperation.cs +++ /dev/null @@ -1,118 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - /// - /// To be documented. - /// - [Flags] - public enum ImGuizmoOperation : int - { - /// - /// To be documented. - /// - TranslateX = unchecked((int)(1U<<0)), - - /// - /// To be documented. - /// - TranslateY = unchecked((int)(1U<<1)), - - /// - /// To be documented. - /// - TranslateZ = unchecked((int)(1U<<2)), - - /// - /// To be documented. - /// - RotateX = unchecked((int)(1U<<3)), - - /// - /// To be documented. - /// - RotateY = unchecked((int)(1U<<4)), - - /// - /// To be documented. - /// - RotateZ = unchecked((int)(1U<<5)), - - /// - /// To be documented. - /// - RotateScreen = unchecked((int)(1U<<6)), - - /// - /// To be documented. - /// - ScaleX = unchecked((int)(1U<<7)), - - /// - /// To be documented. - /// - ScaleY = unchecked((int)(1U<<8)), - - /// - /// To be documented. - /// - ScaleZ = unchecked((int)(1U<<9)), - - /// - /// To be documented. - /// - Bounds = unchecked((int)(1U<<10)), - - /// - /// To be documented. - /// - ScaleXu = unchecked((int)(1U<<11)), - - /// - /// To be documented. - /// - ScaleYu = unchecked((int)(1U<<12)), - - /// - /// To be documented. - /// - ScaleZu = unchecked((int)(1U<<13)), - - /// - /// To be documented. - /// - Translate = unchecked(7), - - /// - /// To be documented. - /// - Rotate = unchecked(120), - - /// - /// To be documented. - /// - Scale = unchecked(896), - - /// - /// To be documented. - /// - Scaleu = unchecked(14336), - - /// - /// To be documented. - /// - Universal = unchecked(14463), - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/FunctionTable.cs b/src/Hexa.NET.ImGuizmo/Generated/FunctionTable.cs deleted file mode 100644 index 016d523a4..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/FunctionTable.cs +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - public unsafe partial class ImGuizmo - { - internal static FunctionTable funcTable; - - /// - /// Initializes the function table, automatically called. Do not call manually, only after . - /// - public static void InitApi(INativeContext context) - { - funcTable = new FunctionTable(context, 38); - funcTable.Load(0, "ImGuizmo_SetDrawlist"); - funcTable.Load(1, "ImGuizmo_BeginFrame"); - funcTable.Load(2, "ImGuizmo_SetImGuiContext"); - funcTable.Load(3, "ImGuizmo_IsOver_Nil"); - funcTable.Load(4, "ImGuizmo_IsUsing"); - funcTable.Load(5, "ImGuizmo_IsUsingViewManipulate"); - funcTable.Load(6, "ImGuizmo_IsViewManipulateHovered"); - funcTable.Load(7, "ImGuizmo_IsUsingAny"); - funcTable.Load(8, "ImGuizmo_Enable"); - funcTable.Load(9, "ImGuizmo_DecomposeMatrixToComponents"); - funcTable.Load(10, "ImGuizmo_RecomposeMatrixFromComponents"); - funcTable.Load(11, "ImGuizmo_SetRect"); - funcTable.Load(12, "ImGuizmo_SetOrthographic"); - funcTable.Load(13, "ImGuizmo_DrawCubes"); - funcTable.Load(14, "ImGuizmo_DrawGrid"); - funcTable.Load(15, "ImGuizmo_Manipulate"); - funcTable.Load(16, "ImGuizmo_ViewManipulate_Float"); - funcTable.Load(17, "ImGuizmo_ViewManipulate_FloatPtr"); - funcTable.Load(18, "ImGuizmo_SetAlternativeWindow"); - funcTable.Load(19, "ImGuizmo_SetID"); - funcTable.Load(20, "ImGuizmo_PushID_Str"); - funcTable.Load(21, "ImGuizmo_PushID_StrStr"); - funcTable.Load(22, "ImGuizmo_PushID_Ptr"); - funcTable.Load(23, "ImGuizmo_PushID_Int"); - funcTable.Load(24, "ImGuizmo_PopID"); - funcTable.Load(25, "ImGuizmo_GetID_Str"); - funcTable.Load(26, "ImGuizmo_GetID_StrStr"); - funcTable.Load(27, "ImGuizmo_GetID_Ptr"); - funcTable.Load(28, "ImGuizmo_IsOver_OPERATION"); - funcTable.Load(29, "ImGuizmo_SetGizmoSizeClipSpace"); - funcTable.Load(30, "ImGuizmo_AllowAxisFlip"); - funcTable.Load(31, "ImGuizmo_SetAxisLimit"); - funcTable.Load(32, "ImGuizmo_SetAxisMask"); - funcTable.Load(33, "ImGuizmo_SetPlaneLimit"); - funcTable.Load(34, "ImGuizmo_IsOver_FloatPtr"); - funcTable.Load(35, "Style_Style"); - funcTable.Load(36, "Style_destroy"); - funcTable.Load(37, "ImGuizmo_GetStyle"); - } - - public static void FreeApi() - { - funcTable.Free(); - } - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.000.cs b/src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.000.cs deleted file mode 100644 index a6e752946..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.000.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - public unsafe partial class ImGuizmo - { - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetDrawlistNative(ImDrawList* drawlist) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[0])(drawlist); - #else - ((delegate* unmanaged[Cdecl])funcTable[0])((nint)drawlist); - #endif - } - - /// - /// To be documented. - /// - public static void SetDrawlist(ImDrawListPtr drawlist) - { - SetDrawlistNative(drawlist); - } - - /// - /// To be documented. - /// - public static void SetDrawlist() - { - SetDrawlistNative((ImDrawList*)(default)); - } - - /// - /// To be documented. - /// - public static void SetDrawlist(ref ImDrawList drawlist) - { - fixed (ImDrawList* pdrawlist = &drawlist) - { - SetDrawlistNative((ImDrawList*)pdrawlist); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginFrameNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[1])(); - #endif - } - - /// - /// To be documented. - /// - public static void BeginFrame() - { - BeginFrameNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetImGuiContextNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[2])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[2])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void SetImGuiContext(ImGuiContextPtr ctx) - { - SetImGuiContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void SetImGuiContext(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - SetImGuiContextNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsOverNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[3])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[3])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsOver() - { - byte ret = IsOverNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsUsingNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[4])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[4])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsUsing() - { - byte ret = IsUsingNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsUsingViewManipulateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[5])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[5])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsUsingViewManipulate() - { - byte ret = IsUsingViewManipulateNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsViewManipulateHoveredNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[6])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[6])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsViewManipulateHovered() - { - byte ret = IsViewManipulateHoveredNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsUsingAnyNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[7])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[7])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsUsingAny() - { - byte ret = IsUsingAnyNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EnableNative(byte enable) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[8])(enable); - #else - ((delegate* unmanaged[Cdecl])funcTable[8])(enable); - #endif - } - - /// - /// To be documented. - /// - public static void Enable(bool enable) - { - EnableNative(enable ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DecomposeMatrixToComponentsNative(float* matrix, float* translation, float* rotation, float* scale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[9])(matrix, translation, rotation, scale); - #else - ((delegate* unmanaged[Cdecl])funcTable[9])((nint)matrix, (nint)translation, (nint)rotation, (nint)scale); - #endif - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, float* translation, float* rotation, float* scale) - { - DecomposeMatrixToComponentsNative(matrix, translation, rotation, scale); - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref Matrix4x4 matrix, ref Matrix4x4 translation, ref Matrix4x4 rotation, ref Matrix4x4 scale) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (Matrix4x4* ptranslation = &translation) - { - fixed (Matrix4x4* protation = &rotation) - { - fixed (Matrix4x4* pscale = &scale) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, (float*)protation, (float*)pscale); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, float* translation, float* rotation, float* scale) - { - fixed (float* pmatrix = &matrix) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, translation, rotation, scale); - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, ref float translation, float* rotation, float* scale) - { - fixed (float* ptranslation = &translation) - { - DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, rotation, scale); - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, float* rotation, float* scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* ptranslation = &translation) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, rotation, scale); - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, float* translation, ref float rotation, float* scale) - { - fixed (float* protation = &rotation) - { - DecomposeMatrixToComponentsNative(matrix, translation, (float*)protation, scale); - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, float* translation, ref float rotation, float* scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* protation = &rotation) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, translation, (float*)protation, scale); - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, ref float translation, ref float rotation, float* scale) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, (float*)protation, scale); - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, ref float rotation, float* scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, (float*)protation, scale); - } - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, float* translation, float* rotation, ref float scale) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative(matrix, translation, rotation, (float*)pscale); - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, float* translation, float* rotation, ref float scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, translation, rotation, (float*)pscale); - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, ref float translation, float* rotation, ref float scale) - { - fixed (float* ptranslation = &translation) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, rotation, (float*)pscale); - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, float* rotation, ref float scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, rotation, (float*)pscale); - } - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, float* translation, ref float rotation, ref float scale) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative(matrix, translation, (float*)protation, (float*)pscale); - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, float* translation, ref float rotation, ref float scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, translation, (float*)protation, (float*)pscale); - } - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(float* matrix, ref float translation, ref float rotation, ref float scale) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative(matrix, (float*)ptranslation, (float*)protation, (float*)pscale); - } - } - } - } - - /// - /// To be documented. - /// - public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, ref float rotation, ref float scale) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - DecomposeMatrixToComponentsNative((float*)pmatrix, (float*)ptranslation, (float*)protation, (float*)pscale); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RecomposeMatrixFromComponentsNative(float* translation, float* rotation, float* scale, float* matrix) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[10])(translation, rotation, scale, matrix); - #else - ((delegate* unmanaged[Cdecl])funcTable[10])((nint)translation, (nint)rotation, (nint)scale, (nint)matrix); - #endif - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, float* rotation, float* scale, float* matrix) - { - RecomposeMatrixFromComponentsNative(translation, rotation, scale, matrix); - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref Matrix4x4 translation, ref Matrix4x4 rotation, ref Matrix4x4 scale, ref Matrix4x4 matrix) - { - fixed (Matrix4x4* ptranslation = &translation) - { - fixed (Matrix4x4* protation = &rotation) - { - fixed (Matrix4x4* pscale = &scale) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, (float*)pscale, (float*)pmatrix); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, float* scale, float* matrix) - { - fixed (float* ptranslation = &translation) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, scale, matrix); - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, float* scale, float* matrix) - { - fixed (float* protation = &rotation) - { - RecomposeMatrixFromComponentsNative(translation, (float*)protation, scale, matrix); - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, float* scale, float* matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, scale, matrix); - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, float* rotation, ref float scale, float* matrix) - { - fixed (float* pscale = &scale) - { - RecomposeMatrixFromComponentsNative(translation, rotation, (float*)pscale, matrix); - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, ref float scale, float* matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* pscale = &scale) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, (float*)pscale, matrix); - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, ref float scale, float* matrix) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - RecomposeMatrixFromComponentsNative(translation, (float*)protation, (float*)pscale, matrix); - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, ref float scale, float* matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, (float*)pscale, matrix); - } - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, float* rotation, float* scale, ref float matrix) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative(translation, rotation, scale, (float*)pmatrix); - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, float* scale, ref float matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, scale, (float*)pmatrix); - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, float* scale, ref float matrix) - { - fixed (float* protation = &rotation) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative(translation, (float*)protation, scale, (float*)pmatrix); - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, float* scale, ref float matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, scale, (float*)pmatrix); - } - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, float* rotation, ref float scale, ref float matrix) - { - fixed (float* pscale = &scale) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative(translation, rotation, (float*)pscale, (float*)pmatrix); - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, float* rotation, ref float scale, ref float matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* pscale = &scale) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, rotation, (float*)pscale, (float*)pmatrix); - } - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(float* translation, ref float rotation, ref float scale, ref float matrix) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative(translation, (float*)protation, (float*)pscale, (float*)pmatrix); - } - } - } - } - - /// - /// To be documented. - /// - public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, ref float scale, ref float matrix) - { - fixed (float* ptranslation = &translation) - { - fixed (float* protation = &rotation) - { - fixed (float* pscale = &scale) - { - fixed (float* pmatrix = &matrix) - { - RecomposeMatrixFromComponentsNative((float*)ptranslation, (float*)protation, (float*)pscale, (float*)pmatrix); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetRectNative(float x, float y, float width, float height) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[11])(x, y, width, height); - #else - ((delegate* unmanaged[Cdecl])funcTable[11])(x, y, width, height); - #endif - } - - /// - /// To be documented. - /// - public static void SetRect(float x, float y, float width, float height) - { - SetRectNative(x, y, width, height); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetOrthographicNative(byte isOrthographic) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[12])(isOrthographic); - #else - ((delegate* unmanaged[Cdecl])funcTable[12])(isOrthographic); - #endif - } - - /// - /// To be documented. - /// - public static void SetOrthographic(bool isOrthographic) - { - SetOrthographicNative(isOrthographic ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DrawCubesNative(float* view, float* projection, float* matrices, int matrixCount) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[13])(view, projection, matrices, matrixCount); - #else - ((delegate* unmanaged[Cdecl])funcTable[13])((nint)view, (nint)projection, (nint)matrices, matrixCount); - #endif - } - - /// - /// To be documented. - /// - public static void DrawCubes(float* view, float* projection, float* matrices, int matrixCount) - { - DrawCubesNative(view, projection, matrices, matrixCount); - } - - /// - /// To be documented. - /// - public static void DrawCubes(ref Matrix4x4 view, ref Matrix4x4 projection, Matrix4x4[] matrices, int matrixCount) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrices = matrices) - { - DrawCubesNative((float*)pview, (float*)pprojection, (float*)pmatrices, matrixCount); - } - } - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(ref Matrix4x4 view, ref Matrix4x4 projection, ref Matrix4x4 matrices, int matrixCount) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrices = &matrices) - { - DrawCubesNative((float*)pview, (float*)pprojection, (float*)pmatrices, matrixCount); - } - } - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(ref float view, float* projection, float* matrices, int matrixCount) - { - fixed (float* pview = &view) - { - DrawCubesNative((float*)pview, projection, matrices, matrixCount); - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(float* view, ref float projection, float* matrices, int matrixCount) - { - fixed (float* pprojection = &projection) - { - DrawCubesNative(view, (float*)pprojection, matrices, matrixCount); - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(ref float view, ref float projection, float* matrices, int matrixCount) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - DrawCubesNative((float*)pview, (float*)pprojection, matrices, matrixCount); - } - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(float* view, float* projection, ref float matrices, int matrixCount) - { - fixed (float* pmatrices = &matrices) - { - DrawCubesNative(view, projection, (float*)pmatrices, matrixCount); - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(ref float view, float* projection, ref float matrices, int matrixCount) - { - fixed (float* pview = &view) - { - fixed (float* pmatrices = &matrices) - { - DrawCubesNative((float*)pview, projection, (float*)pmatrices, matrixCount); - } - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(float* view, ref float projection, ref float matrices, int matrixCount) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrices = &matrices) - { - DrawCubesNative(view, (float*)pprojection, (float*)pmatrices, matrixCount); - } - } - } - - /// - /// To be documented. - /// - public static void DrawCubes(ref float view, ref float projection, ref float matrices, int matrixCount) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrices = &matrices) - { - DrawCubesNative((float*)pview, (float*)pprojection, (float*)pmatrices, matrixCount); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DrawGridNative(float* view, float* projection, float* matrix, float gridSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[14])(view, projection, matrix, gridSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[14])((nint)view, (nint)projection, (nint)matrix, gridSize); - #endif - } - - /// - /// To be documented. - /// - public static void DrawGrid(float* view, float* projection, float* matrix, float gridSize) - { - DrawGridNative(view, projection, matrix, gridSize); - } - - /// - /// To be documented. - /// - public static void DrawGrid(ref Matrix4x4 view, ref Matrix4x4 projection, ref Matrix4x4 matrix, float gridSize) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - DrawGridNative((float*)pview, (float*)pprojection, (float*)pmatrix, gridSize); - } - } - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(ref float view, float* projection, float* matrix, float gridSize) - { - fixed (float* pview = &view) - { - DrawGridNative((float*)pview, projection, matrix, gridSize); - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(float* view, ref float projection, float* matrix, float gridSize) - { - fixed (float* pprojection = &projection) - { - DrawGridNative(view, (float*)pprojection, matrix, gridSize); - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(ref float view, ref float projection, float* matrix, float gridSize) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - DrawGridNative((float*)pview, (float*)pprojection, matrix, gridSize); - } - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(float* view, float* projection, ref float matrix, float gridSize) - { - fixed (float* pmatrix = &matrix) - { - DrawGridNative(view, projection, (float*)pmatrix, gridSize); - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(ref float view, float* projection, ref float matrix, float gridSize) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - DrawGridNative((float*)pview, projection, (float*)pmatrix, gridSize); - } - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(float* view, ref float projection, ref float matrix, float gridSize) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - DrawGridNative(view, (float*)pprojection, (float*)pmatrix, gridSize); - } - } - } - - /// - /// To be documented. - /// - public static void DrawGrid(ref float view, ref float projection, ref float matrix, float gridSize) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - DrawGridNative((float*)pview, (float*)pprojection, (float*)pmatrix, gridSize); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ManipulateNative(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[15])(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[15])((nint)view, (nint)projection, operation, mode, (nint)matrix, (nint)deltaMatrix, (nint)snap, (nint)localBounds, (nint)boundsSnap); - #endif - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix, ref float snap, ref float localBounds) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, default); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix, ref float snap) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, default, default); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref Matrix4x4 deltaMatrix) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (Matrix4x4* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, default, default, default); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, default, default, default); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref float snap) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, (float*)psnap, default, default); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref float snap, ref float localBounds) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, (float*)psnap, (float*)plocalBounds, default); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, default, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) - { - fixed (float* pview = &view) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) - { - fixed (float* pview = &view) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)(default), (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)(default), (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)(default), (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, float* boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, boundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)(default)); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.001.cs b/src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.001.cs deleted file mode 100644 index e1ece5851..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Functions/Functions.001.cs +++ /dev/null @@ -1,2220 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - public unsafe partial class ImGuizmo - { - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, float* localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, localBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - fixed (float* pdeltaMatrix = &deltaMatrix) - { - fixed (float* psnap = &snap) - { - fixed (float* plocalBounds = &localBounds) - { - fixed (float* pboundsSnap = &boundsSnap) - { - byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap); - return ret != 0; - } - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ViewManipulateNative(float* view, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[16])(view, length, position, size, backgroundColor); - #else - ((delegate* unmanaged[Cdecl])funcTable[16])((nint)view, length, position, size, backgroundColor); - #endif - } - - /// - /// To be documented. - /// - public static void ViewManipulate(float* view, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - ViewManipulateNative(view, length, position, size, backgroundColor); - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref Matrix4x4 view, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (Matrix4x4* pview = &view) - { - ViewManipulateNative((float*)pview, length, position, size, backgroundColor); - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref float view, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pview = &view) - { - ViewManipulateNative((float*)pview, length, position, size, backgroundColor); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ViewManipulateNative(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[17])(view, projection, operation, mode, matrix, length, position, size, backgroundColor); - #else - ((delegate* unmanaged[Cdecl])funcTable[17])((nint)view, (nint)projection, operation, mode, (nint)matrix, length, position, size, backgroundColor); - #endif - } - - /// - /// To be documented. - /// - public static void ViewManipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - ViewManipulateNative(view, projection, operation, mode, matrix, length, position, size, backgroundColor); - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (Matrix4x4* pview = &view) - { - fixed (Matrix4x4* pprojection = &projection) - { - fixed (Matrix4x4* pmatrix = &matrix) - { - ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); - } - } - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pview = &view) - { - ViewManipulateNative((float*)pview, projection, operation, mode, matrix, length, position, size, backgroundColor); - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pprojection = &projection) - { - ViewManipulateNative(view, (float*)pprojection, operation, mode, matrix, length, position, size, backgroundColor); - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, length, position, size, backgroundColor); - } - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pmatrix = &matrix) - { - ViewManipulateNative(view, projection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pview = &view) - { - fixed (float* pmatrix = &matrix) - { - ViewManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); - } - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - ViewManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); - } - } - } - - /// - /// To be documented. - /// - public static void ViewManipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor) - { - fixed (float* pview = &view) - { - fixed (float* pprojection = &projection) - { - fixed (float* pmatrix = &matrix) - { - ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAlternativeWindowNative(ImGuiWindow* window) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[18])(window); - #else - ((delegate* unmanaged[Cdecl])funcTable[18])((nint)window); - #endif - } - - /// - /// To be documented. - /// - public static void SetAlternativeWindow(ImGuiWindowPtr window) - { - SetAlternativeWindowNative(window); - } - - /// - /// To be documented. - /// - public static void SetAlternativeWindow(ref ImGuiWindow window) - { - fixed (ImGuiWindow* pwindow = &window) - { - SetAlternativeWindowNative((ImGuiWindow*)pwindow); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetIDNative(int id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[19])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[19])(id); - #endif - } - - /// - /// To be documented. - /// - public static void SetID(int id) - { - SetIDNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(byte* strId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[20])(strId); - #else - ((delegate* unmanaged[Cdecl])funcTable[20])((nint)strId); - #endif - } - - /// - /// To be documented. - /// - public static void PushID(byte* strId) - { - PushIDNative(strId); - } - - /// - /// To be documented. - /// - public static void PushID(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - PushIDNative((byte*)pstrId); - } - } - - /// - /// To be documented. - /// - public static void PushID(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - PushIDNative((byte*)pstrId); - } - } - - /// - /// To be documented. - /// - public static void PushID(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(byte* strIdBegin, byte* strIdEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[21])(strIdBegin, strIdEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[21])((nint)strIdBegin, (nint)strIdEnd); - #endif - } - - /// - /// To be documented. - /// - public static void PushID(byte* strIdBegin, byte* strIdEnd) - { - PushIDNative(strIdBegin, strIdEnd); - } - - /// - /// To be documented. - /// - public static void PushID(ref byte strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - PushIDNative((byte*)pstrIdBegin, strIdEnd); - } - } - - /// - /// To be documented. - /// - public static void PushID(ReadOnlySpan strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - PushIDNative((byte*)pstrIdBegin, strIdEnd); - } - } - - /// - /// To be documented. - /// - public static void PushID(string strIdBegin, byte* strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative(pStr0, strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PushID(byte* strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative(strIdBegin, (byte*)pstrIdEnd); - } - } - - /// - /// To be documented. - /// - public static void PushID(byte* strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative(strIdBegin, (byte*)pstrIdEnd); - } - } - - /// - /// To be documented. - /// - public static void PushID(byte* strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative(strIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PushID(ref byte strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(string strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strIdEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PushIDNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PushID(ref byte strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(ref byte strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(ReadOnlySpan strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(ReadOnlySpan strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(string strIdBegin, ref byte strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = &strIdEnd) - { - PushIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PushID(string strIdBegin, ReadOnlySpan strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = strIdEnd) - { - PushIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(void* ptrId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[22])(ptrId); - #else - ((delegate* unmanaged[Cdecl])funcTable[22])((nint)ptrId); - #endif - } - - /// - /// To be documented. - /// - public static void PushID(void* ptrId) - { - PushIDNative(ptrId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushIDNative(int intId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[23])(intId); - #else - ((delegate* unmanaged[Cdecl])funcTable[23])(intId); - #endif - } - - /// - /// To be documented. - /// - public static void PushID(int intId) - { - PushIDNative(intId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopIDNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[24])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[24])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopID() - { - PopIDNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(byte* strId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[25])(strId); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[25])((nint)strId); - #endif - } - - /// - /// To be documented. - /// - public static uint GetID(byte* strId) - { - uint ret = GetIDNative(strId); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref byte strId) - { - fixed (byte* pstrId = &strId) - { - uint ret = GetIDNative((byte*)pstrId); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ReadOnlySpan strId) - { - fixed (byte* pstrId = strId) - { - uint ret = GetIDNative((byte*)pstrId); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(string strId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(byte* strIdBegin, byte* strIdEnd) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[26])(strIdBegin, strIdEnd); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[26])((nint)strIdBegin, (nint)strIdEnd); - #endif - } - - /// - /// To be documented. - /// - public static uint GetID(byte* strIdBegin, byte* strIdEnd) - { - uint ret = GetIDNative(strIdBegin, strIdEnd); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref byte strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - uint ret = GetIDNative((byte*)pstrIdBegin, strIdEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ReadOnlySpan strIdBegin, byte* strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - uint ret = GetIDNative((byte*)pstrIdBegin, strIdEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(string strIdBegin, byte* strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(pStr0, strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(byte* strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative(strIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(byte* strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative(strIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(byte* strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative(strIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref byte strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ReadOnlySpan strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(string strIdBegin, string strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (strIdEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(strIdEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - uint ret = GetIDNative(pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetID(ref byte strIdBegin, ReadOnlySpan strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ref byte strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = &strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(ReadOnlySpan strIdBegin, ref byte strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative((byte*)pstrIdBegin, (byte*)pstrIdEnd); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetID(ReadOnlySpan strIdBegin, string strIdEnd) - { - fixed (byte* pstrIdBegin = strIdBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetIDNative((byte*)pstrIdBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(string strIdBegin, ref byte strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = &strIdEnd) - { - uint ret = GetIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetID(string strIdBegin, ReadOnlySpan strIdEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (strIdBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(strIdBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(strIdBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pstrIdEnd = strIdEnd) - { - uint ret = GetIDNative(pStr0, (byte*)pstrIdEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetIDNative(void* ptrId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[27])(ptrId); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[27])((nint)ptrId); - #endif - } - - /// - /// To be documented. - /// - public static uint GetID(void* ptrId) - { - uint ret = GetIDNative(ptrId); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsOverNative(ImGuizmoOperation op) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[28])(op); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[28])(op); - #endif - } - - /// - /// To be documented. - /// - public static bool IsOver(ImGuizmoOperation op) - { - byte ret = IsOverNative(op); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetGizmoSizeClipSpaceNative(float value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[29])(value); - #else - ((delegate* unmanaged[Cdecl])funcTable[29])(value); - #endif - } - - /// - /// To be documented. - /// - public static void SetGizmoSizeClipSpace(float value) - { - SetGizmoSizeClipSpaceNative(value); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AllowAxisFlipNative(byte value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[30])(value); - #else - ((delegate* unmanaged[Cdecl])funcTable[30])(value); - #endif - } - - /// - /// To be documented. - /// - public static void AllowAxisFlip(bool value) - { - AllowAxisFlipNative(value ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAxisLimitNative(float value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[31])(value); - #else - ((delegate* unmanaged[Cdecl])funcTable[31])(value); - #endif - } - - /// - /// To be documented. - /// - public static void SetAxisLimit(float value) - { - SetAxisLimitNative(value); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAxisMaskNative(byte x, byte y, byte z) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[32])(x, y, z); - #else - ((delegate* unmanaged[Cdecl])funcTable[32])(x, y, z); - #endif - } - - /// - /// To be documented. - /// - public static void SetAxisMask(bool x, bool y, bool z) - { - SetAxisMaskNative(x ? (byte)1 : (byte)0, y ? (byte)1 : (byte)0, z ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetPlaneLimitNative(float value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[33])(value); - #else - ((delegate* unmanaged[Cdecl])funcTable[33])(value); - #endif - } - - /// - /// To be documented. - /// - public static void SetPlaneLimit(float value) - { - SetPlaneLimitNative(value); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsOverNative(float* position, float pixelRadius) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[34])(position, pixelRadius); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[34])((nint)position, pixelRadius); - #endif - } - - /// - /// To be documented. - /// - public static bool IsOver(float* position, float pixelRadius) - { - byte ret = IsOverNative(position, pixelRadius); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsOver(ref float position, float pixelRadius) - { - fixed (float* pposition = &position) - { - byte ret = IsOverNative((float*)pposition, pixelRadius); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Style* StyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[35])(); - #else - return (Style*)((delegate* unmanaged[Cdecl])funcTable[35])(); - #endif - } - - /// - /// To be documented. - /// - public static StylePtr Style() - { - StylePtr ret = StyleNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(Style* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[36])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[36])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(StylePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref Style self) - { - fixed (Style* pself = &self) - { - DestroyNative((Style*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Style* GetStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[37])(); - #else - return (Style*)((delegate* unmanaged[Cdecl])funcTable[37])(); - #endif - } - - /// - /// To be documented. - /// - public static StylePtr GetStyle() - { - StylePtr ret = GetStyleNative(); - return ret; - } - - } -} diff --git a/src/Hexa.NET.ImGuizmo/Generated/Structs/Style.cs b/src/Hexa.NET.ImGuizmo/Generated/Structs/Style.cs deleted file mode 100644 index a27fcc318..000000000 --- a/src/Hexa.NET.ImGuizmo/Generated/Structs/Style.cs +++ /dev/null @@ -1,274 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImGuizmo -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct Style - { - /// - /// To be documented. - /// - public float TranslationLineThickness; - - /// - /// To be documented. - /// - public float TranslationLineArrowSize; - - /// - /// To be documented. - /// - public float RotationLineThickness; - - /// - /// To be documented. - /// - public float RotationOuterLineThickness; - - /// - /// To be documented. - /// - public float ScaleLineThickness; - - /// - /// To be documented. - /// - public float ScaleLineCircleSize; - - /// - /// To be documented. - /// - public float HatchedAxisLineThickness; - - /// - /// To be documented. - /// - public float CenterCircleSize; - - /// - /// To be documented. - /// - public Vector4 Colors_0; - public Vector4 Colors_1; - public Vector4 Colors_2; - public Vector4 Colors_3; - public Vector4 Colors_4; - public Vector4 Colors_5; - public Vector4 Colors_6; - public Vector4 Colors_7; - public Vector4 Colors_8; - public Vector4 Colors_9; - public Vector4 Colors_10; - public Vector4 Colors_11; - public Vector4 Colors_12; - public Vector4 Colors_13; - public Vector4 Colors_14; - - - /// - /// To be documented. - /// - public unsafe Style(float translationLineThickness = default, float translationLineArrowSize = default, float rotationLineThickness = default, float rotationOuterLineThickness = default, float scaleLineThickness = default, float scaleLineCircleSize = default, float hatchedAxisLineThickness = default, float centerCircleSize = default, Vector4* colors = default) - { - TranslationLineThickness = translationLineThickness; - TranslationLineArrowSize = translationLineArrowSize; - RotationLineThickness = rotationLineThickness; - RotationOuterLineThickness = rotationOuterLineThickness; - ScaleLineThickness = scaleLineThickness; - ScaleLineCircleSize = scaleLineCircleSize; - HatchedAxisLineThickness = hatchedAxisLineThickness; - CenterCircleSize = centerCircleSize; - if (colors != default(Vector4*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - } - } - - /// - /// To be documented. - /// - public unsafe Style(float translationLineThickness = default, float translationLineArrowSize = default, float rotationLineThickness = default, float rotationOuterLineThickness = default, float scaleLineThickness = default, float scaleLineCircleSize = default, float hatchedAxisLineThickness = default, float centerCircleSize = default, Span colors = default) - { - TranslationLineThickness = translationLineThickness; - TranslationLineArrowSize = translationLineArrowSize; - RotationLineThickness = rotationLineThickness; - RotationOuterLineThickness = rotationOuterLineThickness; - ScaleLineThickness = scaleLineThickness; - ScaleLineCircleSize = scaleLineCircleSize; - HatchedAxisLineThickness = hatchedAxisLineThickness; - CenterCircleSize = centerCircleSize; - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - } - } - - - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - fixed (Vector4* p = &this.Colors_0) - { - return new Span(p, 15); - } - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (Style* @this = &this) - { - ImGuizmo.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct StylePtr : IEquatable - { - public StylePtr(Style* handle) { Handle = handle; } - - public Style* Handle; - - public bool IsNull => Handle == null; - - public static StylePtr Null => new StylePtr(null); - - public Style this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator StylePtr(Style* handle) => new StylePtr(handle); - - public static implicit operator Style*(StylePtr handle) => handle.Handle; - - public static bool operator ==(StylePtr left, StylePtr right) => left.Handle == right.Handle; - - public static bool operator !=(StylePtr left, StylePtr right) => left.Handle != right.Handle; - - public static bool operator ==(StylePtr left, Style* right) => left.Handle == right; - - public static bool operator !=(StylePtr left, Style* right) => left.Handle != right; - - public bool Equals(StylePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is StylePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("StylePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float TranslationLineThickness => ref Unsafe.AsRef(&Handle->TranslationLineThickness); - /// - /// To be documented. - /// - public ref float TranslationLineArrowSize => ref Unsafe.AsRef(&Handle->TranslationLineArrowSize); - /// - /// To be documented. - /// - public ref float RotationLineThickness => ref Unsafe.AsRef(&Handle->RotationLineThickness); - /// - /// To be documented. - /// - public ref float RotationOuterLineThickness => ref Unsafe.AsRef(&Handle->RotationOuterLineThickness); - /// - /// To be documented. - /// - public ref float ScaleLineThickness => ref Unsafe.AsRef(&Handle->ScaleLineThickness); - /// - /// To be documented. - /// - public ref float ScaleLineCircleSize => ref Unsafe.AsRef(&Handle->ScaleLineCircleSize); - /// - /// To be documented. - /// - public ref float HatchedAxisLineThickness => ref Unsafe.AsRef(&Handle->HatchedAxisLineThickness); - /// - /// To be documented. - /// - public ref float CenterCircleSize => ref Unsafe.AsRef(&Handle->CenterCircleSize); - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - return new Span(&Handle->Colors_0, 15); - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImGuizmo.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImGuizmo/Hexa.NET.ImGuizmo.csproj b/src/Hexa.NET.ImGuizmo/Hexa.NET.ImGuizmo.csproj deleted file mode 100644 index b48db5daf..000000000 --- a/src/Hexa.NET.ImGuizmo/Hexa.NET.ImGuizmo.csproj +++ /dev/null @@ -1,100 +0,0 @@ - - - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0 - enable - enable - true - - 12 - - true - true - true - true - - 1.91.3 - 2.2.7 - A .NET wrapper for the ImGuizmo library. (1.91.3 WIP) - ImGuizmo UI Immidate GUI Guizmo Hexa HexaGen Source Generator C# .NET DotNet Sharp Windows macOS Android Bindings Wrapper Native - Juna Meinhold - Copyright (c) 2023 Juna Meinhold - https://github.com/HexaEngine/Hexa.NET.ImGui - https://github.com/HexaEngine/Hexa.NET.ImGui - git - LICENSE.txt - README.md - - true - $(NoWarn);1591 - - true - - - - - - - - - runtimes\android-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-x64/native - true - - - runtimes\android-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-arm64/native - true - - - runtimes\osx-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-arm64/native - true - - - runtimes\osx-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-x64/native - true - - - runtimes\linux-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-arm64/native - true - - - runtimes\linux-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-x64/native - true - - - runtimes\win-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-arm64/native - true - - - runtimes\win-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x64/native - true - - - runtimes\win-x86\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x86/native - true - - - - - - - - - - \ No newline at end of file diff --git a/src/Hexa.NET.ImGuizmo/ImGuizmo.cs b/src/Hexa.NET.ImGuizmo/ImGuizmo.cs deleted file mode 100644 index 63cdf4c75..000000000 --- a/src/Hexa.NET.ImGuizmo/ImGuizmo.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Hexa.NET.ImGuizmo -{ - using HexaGen.Runtime; - using System.Diagnostics; - - public static class ImGuizmoConfig - { - public static bool AotStaticLink; - } - - public static unsafe partial class ImGuizmo - { - static ImGuizmo() - { - if (ImGuizmoConfig.AotStaticLink) - { - InitApi(new NativeLibraryContext(Process.GetCurrentProcess().MainModule!.BaseAddress)); - } - else - { - InitApi(new NativeLibraryContext(LibraryLoader.LoadLibrary(GetLibraryName, null))); - } - } - - public static string GetLibraryName() - { - return "cimguizmo"; - } - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImGuizmo/LICENSE.txt b/src/Hexa.NET.ImGuizmo/LICENSE.txt deleted file mode 100644 index b5dae7ac2..000000000 --- a/src/Hexa.NET.ImGuizmo/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 Juna Meinhold - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Hexa.NET.ImGuizmo/README.md b/src/Hexa.NET.ImGuizmo/README.md deleted file mode 100644 index 542427d27..000000000 --- a/src/Hexa.NET.ImGuizmo/README.md +++ /dev/null @@ -1 +0,0 @@ -A .NET wrapper for the Dear ImGui library. \ No newline at end of file diff --git a/src/Hexa.NET.ImNodes/AssemblyInfo.cs b/src/Hexa.NET.ImNodes/AssemblyInfo.cs deleted file mode 100644 index 0fbfeb747..000000000 --- a/src/Hexa.NET.ImNodes/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -#if NET7_0_OR_GREATER - -using System.Runtime.CompilerServices; - -[assembly: DisableRuntimeMarshalling] -#endif \ No newline at end of file diff --git a/src/Hexa.NET.ImNodes/Generated/Constants/Constants.000.cs b/src/Hexa.NET.ImNodes/Generated/Constants/Constants.000.cs deleted file mode 100644 index 16f7a233e..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Constants/Constants.000.cs +++ /dev/null @@ -1,20 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - public unsafe partial class ImNodes - { - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Delegates/Delegates.000.cs b/src/Hexa.NET.ImNodes/Generated/Delegates/Delegates.000.cs deleted file mode 100644 index ff1abd714..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Delegates/Delegates.000.cs +++ /dev/null @@ -1,36 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImNodesMiniMapNodeHoveringCallback([NativeName(NativeNameType.Param, "")] [NativeName(NativeNameType.Type, "int")] int unknown0, [NativeName(NativeNameType.Param, "")] [NativeName(NativeNameType.Type, "void*")] void* unknown1); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImNodesMiniMapNodeHoveringCallback([NativeName(NativeNameType.Param, "")] [NativeName(NativeNameType.Type, "int")] int unknown0, [NativeName(NativeNameType.Param, "")] [NativeName(NativeNameType.Type, "void*")] nint unknown1); - - #endif - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesAttributeFlags.cs b/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesAttributeFlags.cs deleted file mode 100644 index a588f131f..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesAttributeFlags.cs +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [Flags] - public enum ImNodesAttributeFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - EnableLinkDetachWithDragClick = unchecked(1), - - /// - /// To be documented. - /// - EnableLinkCreationOnSnap = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesCol.cs b/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesCol.cs deleted file mode 100644 index 26089fbe2..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesCol.cs +++ /dev/null @@ -1,173 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [Flags] - public enum ImNodesCol : int - { - /// - /// To be documented. - /// - NodeBackground = unchecked(0), - - /// - /// To be documented. - /// - NodeBackgroundHovered = unchecked(1), - - /// - /// To be documented. - /// - NodeBackgroundSelected = unchecked(2), - - /// - /// To be documented. - /// - NodeOutline = unchecked(3), - - /// - /// To be documented. - /// - TitleBar = unchecked(4), - - /// - /// To be documented. - /// - TitleBarHovered = unchecked(5), - - /// - /// To be documented. - /// - TitleBarSelected = unchecked(6), - - /// - /// To be documented. - /// - Link = unchecked(7), - - /// - /// To be documented. - /// - LinkHovered = unchecked(8), - - /// - /// To be documented. - /// - LinkSelected = unchecked(9), - - /// - /// To be documented. - /// - Pin = unchecked(10), - - /// - /// To be documented. - /// - PinHovered = unchecked(11), - - /// - /// To be documented. - /// - BoxSelector = unchecked(12), - - /// - /// To be documented. - /// - BoxSelectorOutline = unchecked(13), - - /// - /// To be documented. - /// - GridBackground = unchecked(14), - - /// - /// To be documented. - /// - GridLine = unchecked(15), - - /// - /// To be documented. - /// - GridLinePrimary = unchecked(16), - - /// - /// To be documented. - /// - MiniMapBackground = unchecked(17), - - /// - /// To be documented. - /// - MiniMapBackgroundHovered = unchecked(18), - - /// - /// To be documented. - /// - MiniMapOutline = unchecked(19), - - /// - /// To be documented. - /// - MiniMapOutlineHovered = unchecked(20), - - /// - /// To be documented. - /// - MiniMapNodeBackground = unchecked(21), - - /// - /// To be documented. - /// - MiniMapNodeBackgroundHovered = unchecked(22), - - /// - /// To be documented. - /// - MiniMapNodeBackgroundSelected = unchecked(23), - - /// - /// To be documented. - /// - MiniMapNodeOutline = unchecked(24), - - /// - /// To be documented. - /// - MiniMapLink = unchecked(25), - - /// - /// To be documented. - /// - MiniMapLinkSelected = unchecked(26), - - /// - /// To be documented. - /// - MiniMapCanvas = unchecked(27), - - /// - /// To be documented. - /// - MiniMapCanvasOutline = unchecked(28), - - /// - /// To be documented. - /// - Count = unchecked(29), - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesMiniMapLocation.cs b/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesMiniMapLocation.cs deleted file mode 100644 index 041a6c1b4..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesMiniMapLocation.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [Flags] - public enum ImNodesMiniMapLocation : int - { - /// - /// To be documented. - /// - BottomLeft = unchecked(0), - - /// - /// To be documented. - /// - BottomRight = unchecked(1), - - /// - /// To be documented. - /// - TopLeft = unchecked(2), - - /// - /// To be documented. - /// - TopRight = unchecked(3), - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesPinShape.cs b/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesPinShape.cs deleted file mode 100644 index cb0b7ea37..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesPinShape.cs +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [Flags] - public enum ImNodesPinShape : int - { - /// - /// To be documented. - /// - Circle = unchecked(0), - - /// - /// To be documented. - /// - CircleFilled = unchecked(1), - - /// - /// To be documented. - /// - Triangle = unchecked(2), - - /// - /// To be documented. - /// - TriangleFilled = unchecked(3), - - /// - /// To be documented. - /// - Quad = unchecked(4), - - /// - /// To be documented. - /// - QuadFilled = unchecked(5), - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleFlags.cs b/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleFlags.cs deleted file mode 100644 index caeef71cb..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleFlags.cs +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [Flags] - public enum ImNodesStyleFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NodeOutline = unchecked(1), - - /// - /// To be documented. - /// - GridLines = unchecked(4), - - /// - /// To be documented. - /// - GridLinesPrimary = unchecked(8), - - /// - /// To be documented. - /// - GridSnapping = unchecked(16), - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleVar.cs b/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleVar.cs deleted file mode 100644 index b8401c7e5..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Enums/ImNodesStyleVar.cs +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [Flags] - public enum ImNodesStyleVar : int - { - /// - /// To be documented. - /// - GridSpacing = unchecked(0), - - /// - /// To be documented. - /// - NodeCornerRounding = unchecked(1), - - /// - /// To be documented. - /// - NodePadding = unchecked(2), - - /// - /// To be documented. - /// - NodeBorderThickness = unchecked(3), - - /// - /// To be documented. - /// - LinkThickness = unchecked(4), - - /// - /// To be documented. - /// - LinkLineSegmentsPerLength = unchecked(5), - - /// - /// To be documented. - /// - LinkHoverDistance = unchecked(6), - - /// - /// To be documented. - /// - PinCircleRadius = unchecked(7), - - /// - /// To be documented. - /// - PinQuadSideLength = unchecked(8), - - /// - /// To be documented. - /// - PinTriangleSideLength = unchecked(9), - - /// - /// To be documented. - /// - PinLineThickness = unchecked(10), - - /// - /// To be documented. - /// - PinHoverRadius = unchecked(11), - - /// - /// To be documented. - /// - PinOffset = unchecked(12), - - /// - /// To be documented. - /// - MiniMapPadding = unchecked(13), - - /// - /// To be documented. - /// - MiniMapOffset = unchecked(14), - - /// - /// To be documented. - /// - Count = unchecked(15), - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/FunctionTable.cs b/src/Hexa.NET.ImNodes/Generated/FunctionTable.cs deleted file mode 100644 index 32861c0e0..000000000 --- a/src/Hexa.NET.ImNodes/Generated/FunctionTable.cs +++ /dev/null @@ -1,124 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - public unsafe partial class ImNodes - { - internal static FunctionTable funcTable; - - /// - /// Initializes the function table, automatically called. Do not call manually, only after . - /// - public static void InitApi(INativeContext context) - { - funcTable = new FunctionTable(context, 88); - funcTable.Load(0, "EmulateThreeButtonMouse_EmulateThreeButtonMouse"); - funcTable.Load(1, "EmulateThreeButtonMouse_destroy"); - funcTable.Load(2, "LinkDetachWithModifierClick_LinkDetachWithModifierClick"); - funcTable.Load(3, "LinkDetachWithModifierClick_destroy"); - funcTable.Load(4, "MultipleSelectModifier_MultipleSelectModifier"); - funcTable.Load(5, "MultipleSelectModifier_destroy"); - funcTable.Load(6, "ImNodesIO_ImNodesIO"); - funcTable.Load(7, "ImNodesIO_destroy"); - funcTable.Load(8, "ImNodesStyle_ImNodesStyle"); - funcTable.Load(9, "ImNodesStyle_destroy"); - funcTable.Load(10, "ImNodes_SetImGuiContext"); - funcTable.Load(11, "ImNodes_CreateContext"); - funcTable.Load(12, "ImNodes_DestroyContext"); - funcTable.Load(13, "ImNodes_GetCurrentContext"); - funcTable.Load(14, "ImNodes_SetCurrentContext"); - funcTable.Load(15, "ImNodes_EditorContextCreate"); - funcTable.Load(16, "ImNodes_EditorContextFree"); - funcTable.Load(17, "ImNodes_EditorContextSet"); - funcTable.Load(18, "ImNodes_EditorContextGetPanning"); - funcTable.Load(19, "ImNodes_EditorContextResetPanning"); - funcTable.Load(20, "ImNodes_EditorContextMoveToNode"); - funcTable.Load(21, "ImNodes_GetIO"); - funcTable.Load(22, "ImNodes_GetStyle"); - funcTable.Load(23, "ImNodes_StyleColorsDark"); - funcTable.Load(24, "ImNodes_StyleColorsClassic"); - funcTable.Load(25, "ImNodes_StyleColorsLight"); - funcTable.Load(26, "ImNodes_BeginNodeEditor"); - funcTable.Load(27, "ImNodes_EndNodeEditor"); - funcTable.Load(28, "ImNodes_MiniMap"); - funcTable.Load(29, "ImNodes_PushColorStyle"); - funcTable.Load(30, "ImNodes_PopColorStyle"); - funcTable.Load(31, "ImNodes_PushStyleVar_Float"); - funcTable.Load(32, "ImNodes_PushStyleVar_Vec2"); - funcTable.Load(33, "ImNodes_PopStyleVar"); - funcTable.Load(34, "ImNodes_BeginNode"); - funcTable.Load(35, "ImNodes_EndNode"); - funcTable.Load(36, "ImNodes_GetNodeDimensions"); - funcTable.Load(37, "ImNodes_BeginNodeTitleBar"); - funcTable.Load(38, "ImNodes_EndNodeTitleBar"); - funcTable.Load(39, "ImNodes_BeginInputAttribute"); - funcTable.Load(40, "ImNodes_EndInputAttribute"); - funcTable.Load(41, "ImNodes_BeginOutputAttribute"); - funcTable.Load(42, "ImNodes_EndOutputAttribute"); - funcTable.Load(43, "ImNodes_BeginStaticAttribute"); - funcTable.Load(44, "ImNodes_EndStaticAttribute"); - funcTable.Load(45, "ImNodes_PushAttributeFlag"); - funcTable.Load(46, "ImNodes_PopAttributeFlag"); - funcTable.Load(47, "ImNodes_Link"); - funcTable.Load(48, "ImNodes_SetNodeDraggable"); - funcTable.Load(49, "ImNodes_SetNodeScreenSpacePos"); - funcTable.Load(50, "ImNodes_SetNodeEditorSpacePos"); - funcTable.Load(51, "ImNodes_SetNodeGridSpacePos"); - funcTable.Load(52, "ImNodes_GetNodeScreenSpacePos"); - funcTable.Load(53, "ImNodes_GetNodeEditorSpacePos"); - funcTable.Load(54, "ImNodes_GetNodeGridSpacePos"); - funcTable.Load(55, "ImNodes_SnapNodeToGrid"); - funcTable.Load(56, "ImNodes_IsEditorHovered"); - funcTable.Load(57, "ImNodes_IsNodeHovered"); - funcTable.Load(58, "ImNodes_IsLinkHovered"); - funcTable.Load(59, "ImNodes_IsPinHovered"); - funcTable.Load(60, "ImNodes_NumSelectedNodes"); - funcTable.Load(61, "ImNodes_NumSelectedLinks"); - funcTable.Load(62, "ImNodes_GetSelectedNodes"); - funcTable.Load(63, "ImNodes_GetSelectedLinks"); - funcTable.Load(64, "ImNodes_ClearNodeSelection_Nil"); - funcTable.Load(65, "ImNodes_ClearLinkSelection_Nil"); - funcTable.Load(66, "ImNodes_SelectNode"); - funcTable.Load(67, "ImNodes_ClearNodeSelection_Int"); - funcTable.Load(68, "ImNodes_IsNodeSelected"); - funcTable.Load(69, "ImNodes_SelectLink"); - funcTable.Load(70, "ImNodes_ClearLinkSelection_Int"); - funcTable.Load(71, "ImNodes_IsLinkSelected"); - funcTable.Load(72, "ImNodes_IsAttributeActive"); - funcTable.Load(73, "ImNodes_IsAnyAttributeActive"); - funcTable.Load(74, "ImNodes_IsLinkStarted"); - funcTable.Load(75, "ImNodes_IsLinkDropped"); - funcTable.Load(76, "ImNodes_IsLinkCreated_BoolPtr"); - funcTable.Load(77, "ImNodes_IsLinkCreated_IntPtr"); - funcTable.Load(78, "ImNodes_IsLinkDestroyed"); - funcTable.Load(79, "ImNodes_SaveCurrentEditorStateToIniString"); - funcTable.Load(80, "ImNodes_SaveEditorStateToIniString"); - funcTable.Load(81, "ImNodes_LoadCurrentEditorStateFromIniString"); - funcTable.Load(82, "ImNodes_LoadEditorStateFromIniString"); - funcTable.Load(83, "ImNodes_SaveCurrentEditorStateToIniFile"); - funcTable.Load(84, "ImNodes_SaveEditorStateToIniFile"); - funcTable.Load(85, "ImNodes_LoadCurrentEditorStateFromIniFile"); - funcTable.Load(86, "ImNodes_LoadEditorStateFromIniFile"); - funcTable.Load(87, "getIOKeyCtrlPtr"); - } - - public static void FreeApi() - { - funcTable.Free(); - } - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Functions/Functions.000.cs b/src/Hexa.NET.ImNodes/Generated/Functions/Functions.000.cs deleted file mode 100644 index a707e21fd..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Functions/Functions.000.cs +++ /dev/null @@ -1,4274 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - public unsafe partial class ImNodes - { - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static EmulateThreeButtonMouse* EmulateThreeButtonMouseNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[0])(); - #else - return (EmulateThreeButtonMouse*)((delegate* unmanaged[Cdecl])funcTable[0])(); - #endif - } - - /// - /// To be documented. - /// - public static EmulateThreeButtonMousePtr EmulateThreeButtonMouse() - { - EmulateThreeButtonMousePtr ret = EmulateThreeButtonMouseNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(EmulateThreeButtonMouse* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[1])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(EmulateThreeButtonMousePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref EmulateThreeButtonMouse self) - { - fixed (EmulateThreeButtonMouse* pself = &self) - { - DestroyNative((EmulateThreeButtonMouse*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static LinkDetachWithModifierClick* LinkDetachWithModifierClickNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[2])(); - #else - return (LinkDetachWithModifierClick*)((delegate* unmanaged[Cdecl])funcTable[2])(); - #endif - } - - /// - /// To be documented. - /// - public static LinkDetachWithModifierClickPtr LinkDetachWithModifierClick() - { - LinkDetachWithModifierClickPtr ret = LinkDetachWithModifierClickNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(LinkDetachWithModifierClick* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[3])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[3])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(LinkDetachWithModifierClickPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref LinkDetachWithModifierClick self) - { - fixed (LinkDetachWithModifierClick* pself = &self) - { - DestroyNative((LinkDetachWithModifierClick*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static MultipleSelectModifier* MultipleSelectModifierNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[4])(); - #else - return (MultipleSelectModifier*)((delegate* unmanaged[Cdecl])funcTable[4])(); - #endif - } - - /// - /// To be documented. - /// - public static MultipleSelectModifierPtr MultipleSelectModifier() - { - MultipleSelectModifierPtr ret = MultipleSelectModifierNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(MultipleSelectModifier* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[5])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[5])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(MultipleSelectModifierPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref MultipleSelectModifier self) - { - fixed (MultipleSelectModifier* pself = &self) - { - DestroyNative((MultipleSelectModifier*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesIO* ImNodesIONative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[6])(); - #else - return (ImNodesIO*)((delegate* unmanaged[Cdecl])funcTable[6])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesIOPtr ImNodesIO() - { - ImNodesIOPtr ret = ImNodesIONative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImNodesIO* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[7])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[7])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImNodesIOPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImNodesIO self) - { - fixed (ImNodesIO* pself = &self) - { - DestroyNative((ImNodesIO*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesStyle* ImNodesStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[8])(); - #else - return (ImNodesStyle*)((delegate* unmanaged[Cdecl])funcTable[8])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesStylePtr ImNodesStyle() - { - ImNodesStylePtr ret = ImNodesStyleNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImNodesStyle* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[9])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[9])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImNodesStylePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImNodesStyle self) - { - fixed (ImNodesStyle* pself = &self) - { - DestroyNative((ImNodesStyle*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetImGuiContextNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[10])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[10])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void SetImGuiContext(ImGuiContextPtr ctx) - { - SetImGuiContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void SetImGuiContext(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - SetImGuiContextNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesContext* CreateContextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[11])(); - #else - return (ImNodesContext*)((delegate* unmanaged[Cdecl])funcTable[11])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesContextPtr CreateContext() - { - ImNodesContextPtr ret = CreateContextNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyContextNative(ImNodesContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[12])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[12])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DestroyContext(ImNodesContextPtr ctx) - { - DestroyContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void DestroyContext() - { - DestroyContextNative((ImNodesContext*)(default)); - } - - /// - /// To be documented. - /// - public static void DestroyContext(ref ImNodesContext ctx) - { - fixed (ImNodesContext* pctx = &ctx) - { - DestroyContextNative((ImNodesContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesContext* GetCurrentContextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[13])(); - #else - return (ImNodesContext*)((delegate* unmanaged[Cdecl])funcTable[13])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesContextPtr GetCurrentContext() - { - ImNodesContextPtr ret = GetCurrentContextNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentContextNative(ImNodesContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[14])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[14])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void SetCurrentContext(ImNodesContextPtr ctx) - { - SetCurrentContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void SetCurrentContext(ref ImNodesContext ctx) - { - fixed (ImNodesContext* pctx = &ctx) - { - SetCurrentContextNative((ImNodesContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesEditorContext* EditorContextCreateNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[15])(); - #else - return (ImNodesEditorContext*)((delegate* unmanaged[Cdecl])funcTable[15])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesEditorContextPtr EditorContextCreate() - { - ImNodesEditorContextPtr ret = EditorContextCreateNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EditorContextFreeNative(ImNodesEditorContext* noname1) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[16])(noname1); - #else - ((delegate* unmanaged[Cdecl])funcTable[16])((nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static void EditorContextFree(ImNodesEditorContextPtr noname1) - { - EditorContextFreeNative(noname1); - } - - /// - /// To be documented. - /// - public static void EditorContextFree(ref ImNodesEditorContext noname1) - { - fixed (ImNodesEditorContext* pnoname1 = &noname1) - { - EditorContextFreeNative((ImNodesEditorContext*)pnoname1); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EditorContextSetNative(ImNodesEditorContext* noname1) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[17])(noname1); - #else - ((delegate* unmanaged[Cdecl])funcTable[17])((nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static void EditorContextSet(ImNodesEditorContextPtr noname1) - { - EditorContextSetNative(noname1); - } - - /// - /// To be documented. - /// - public static void EditorContextSet(ref ImNodesEditorContext noname1) - { - fixed (ImNodesEditorContext* pnoname1 = &noname1) - { - EditorContextSetNative((ImNodesEditorContext*)pnoname1); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EditorContextGetPanningNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[18])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[18])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 EditorContextGetPanning() - { - Vector2 ret; - EditorContextGetPanningNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void EditorContextGetPanning(Vector2* pOut) - { - EditorContextGetPanningNative(pOut); - } - - /// - /// To be documented. - /// - public static void EditorContextGetPanning(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - EditorContextGetPanningNative((Vector2*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EditorContextResetPanningNative(Vector2 pos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[19])(pos); - #else - ((delegate* unmanaged[Cdecl])funcTable[19])(pos); - #endif - } - - /// - /// To be documented. - /// - public static void EditorContextResetPanning(Vector2 pos) - { - EditorContextResetPanningNative(pos); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EditorContextMoveToNodeNative(int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[20])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[20])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static void EditorContextMoveToNode(int nodeId) - { - EditorContextMoveToNodeNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesIO* GetIONative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[21])(); - #else - return (ImNodesIO*)((delegate* unmanaged[Cdecl])funcTable[21])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesIOPtr GetIO() - { - ImNodesIOPtr ret = GetIONative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImNodesStyle* GetStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[22])(); - #else - return (ImNodesStyle*)((delegate* unmanaged[Cdecl])funcTable[22])(); - #endif - } - - /// - /// To be documented. - /// - public static ImNodesStylePtr GetStyle() - { - ImNodesStylePtr ret = GetStyleNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsDarkNative(ImNodesStyle* dest) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[23])(dest); - #else - ((delegate* unmanaged[Cdecl])funcTable[23])((nint)dest); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsDark(ImNodesStylePtr dest) - { - StyleColorsDarkNative(dest); - } - - /// - /// To be documented. - /// - public static void StyleColorsDark() - { - StyleColorsDarkNative((ImNodesStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsDark(ref ImNodesStyle dest) - { - fixed (ImNodesStyle* pdest = &dest) - { - StyleColorsDarkNative((ImNodesStyle*)pdest); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsClassicNative(ImNodesStyle* dest) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[24])(dest); - #else - ((delegate* unmanaged[Cdecl])funcTable[24])((nint)dest); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsClassic(ImNodesStylePtr dest) - { - StyleColorsClassicNative(dest); - } - - /// - /// To be documented. - /// - public static void StyleColorsClassic() - { - StyleColorsClassicNative((ImNodesStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsClassic(ref ImNodesStyle dest) - { - fixed (ImNodesStyle* pdest = &dest) - { - StyleColorsClassicNative((ImNodesStyle*)pdest); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsLightNative(ImNodesStyle* dest) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[25])(dest); - #else - ((delegate* unmanaged[Cdecl])funcTable[25])((nint)dest); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsLight(ImNodesStylePtr dest) - { - StyleColorsLightNative(dest); - } - - /// - /// To be documented. - /// - public static void StyleColorsLight() - { - StyleColorsLightNative((ImNodesStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsLight(ref ImNodesStyle dest) - { - fixed (ImNodesStyle* pdest = &dest) - { - StyleColorsLightNative((ImNodesStyle*)pdest); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNodeEditorNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[26])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[26])(); - #endif - } - - /// - /// To be documented. - /// - public static void BeginNodeEditor() - { - BeginNodeEditorNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNodeEditorNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[27])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[27])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndNodeEditor() - { - EndNodeEditorNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MiniMapNative(float minimapSizeFraction, ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], ImNodesMiniMapNodeHoveringCallbackUserData, void>)funcTable[28])(minimapSizeFraction, location, (delegate*)Utils.GetFunctionPointerForDelegate(nodeHoveringCallback), nodeHoveringCallbackData); - #else - ((delegate* unmanaged[Cdecl])funcTable[28])(minimapSizeFraction, location, (nint)Utils.GetFunctionPointerForDelegate(nodeHoveringCallback), nodeHoveringCallbackData); - #endif - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative(minimapSizeFraction, location, nodeHoveringCallback, nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback) - { - MiniMapNative(minimapSizeFraction, location, nodeHoveringCallback, (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapLocation location) - { - MiniMapNative(minimapSizeFraction, location, (ImNodesMiniMapNodeHoveringCallback)(default), (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction) - { - MiniMapNative(minimapSizeFraction, (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), (ImNodesMiniMapNodeHoveringCallback)(default), (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap() - { - MiniMapNative((float)(0.2f), (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), (ImNodesMiniMapNodeHoveringCallback)(default), (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapLocation location) - { - MiniMapNative((float)(0.2f), location, (ImNodesMiniMapNodeHoveringCallback)(default), (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback) - { - MiniMapNative(minimapSizeFraction, (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), nodeHoveringCallback, (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback) - { - MiniMapNative((float)(0.2f), (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), nodeHoveringCallback, (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback) - { - MiniMapNative((float)(0.2f), location, nodeHoveringCallback, (ImNodesMiniMapNodeHoveringCallbackUserData)(default)); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative(minimapSizeFraction, location, (ImNodesMiniMapNodeHoveringCallback)(default), nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative(minimapSizeFraction, (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), (ImNodesMiniMapNodeHoveringCallback)(default), nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative((float)(0.2f), (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), (ImNodesMiniMapNodeHoveringCallback)(default), nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative((float)(0.2f), location, (ImNodesMiniMapNodeHoveringCallback)(default), nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(float minimapSizeFraction, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative(minimapSizeFraction, (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), nodeHoveringCallback, nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative((float)(0.2f), (ImNodesMiniMapLocation)(ImNodesMiniMapLocation.TopLeft), nodeHoveringCallback, nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - public static void MiniMap(ImNodesMiniMapLocation location, ImNodesMiniMapNodeHoveringCallback nodeHoveringCallback, ImNodesMiniMapNodeHoveringCallbackUserData nodeHoveringCallbackData) - { - MiniMapNative((float)(0.2f), location, nodeHoveringCallback, nodeHoveringCallbackData); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushColorStyleNative(ImNodesCol item, uint color) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[29])(item, color); - #else - ((delegate* unmanaged[Cdecl])funcTable[29])(item, color); - #endif - } - - /// - /// To be documented. - /// - public static void PushColorStyle(ImNodesCol item, uint color) - { - PushColorStyleNative(item, color); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopColorStyleNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[30])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[30])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopColorStyle() - { - PopColorStyleNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImNodesStyleVar styleItem, float value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[31])(styleItem, value); - #else - ((delegate* unmanaged[Cdecl])funcTable[31])(styleItem, value); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleVar(ImNodesStyleVar styleItem, float value) - { - PushStyleVarNative(styleItem, value); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImNodesStyleVar styleItem, Vector2 value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[32])(styleItem, value); - #else - ((delegate* unmanaged[Cdecl])funcTable[32])(styleItem, value); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleVar(ImNodesStyleVar styleItem, Vector2 value) - { - PushStyleVarNative(styleItem, value); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleVarNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[33])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[33])(count); - #endif - } - - /// - /// To be documented. - /// - public static void PopStyleVar(int count) - { - PopStyleVarNative(count); - } - - /// - /// To be documented. - /// - public static void PopStyleVar() - { - PopStyleVarNative((int)(1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNodeNative(int id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[34])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[34])(id); - #endif - } - - /// - /// To be documented. - /// - public static void BeginNode(int id) - { - BeginNodeNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNodeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[35])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[35])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndNode() - { - EndNodeNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetNodeDimensionsNative(Vector2* pOut, int id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[36])(pOut, id); - #else - ((delegate* unmanaged[Cdecl])funcTable[36])((nint)pOut, id); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetNodeDimensions(int id) - { - Vector2 ret; - GetNodeDimensionsNative(&ret, id); - return ret; - } - - /// - /// To be documented. - /// - public static void GetNodeDimensions(Vector2* pOut, int id) - { - GetNodeDimensionsNative(pOut, id); - } - - /// - /// To be documented. - /// - public static void GetNodeDimensions(ref Vector2 pOut, int id) - { - fixed (Vector2* ppOut = &pOut) - { - GetNodeDimensionsNative((Vector2*)ppOut, id); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNodeTitleBarNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[37])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[37])(); - #endif - } - - /// - /// To be documented. - /// - public static void BeginNodeTitleBar() - { - BeginNodeTitleBarNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNodeTitleBarNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[38])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[38])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndNodeTitleBar() - { - EndNodeTitleBarNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginInputAttributeNative(int id, ImNodesPinShape shape) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[39])(id, shape); - #else - ((delegate* unmanaged[Cdecl])funcTable[39])(id, shape); - #endif - } - - /// - /// To be documented. - /// - public static void BeginInputAttribute(int id, ImNodesPinShape shape) - { - BeginInputAttributeNative(id, shape); - } - - /// - /// To be documented. - /// - public static void BeginInputAttribute(int id) - { - BeginInputAttributeNative(id, (ImNodesPinShape)(ImNodesPinShape.CircleFilled)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndInputAttributeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[40])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[40])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndInputAttribute() - { - EndInputAttributeNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginOutputAttributeNative(int id, ImNodesPinShape shape) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[41])(id, shape); - #else - ((delegate* unmanaged[Cdecl])funcTable[41])(id, shape); - #endif - } - - /// - /// To be documented. - /// - public static void BeginOutputAttribute(int id, ImNodesPinShape shape) - { - BeginOutputAttributeNative(id, shape); - } - - /// - /// To be documented. - /// - public static void BeginOutputAttribute(int id) - { - BeginOutputAttributeNative(id, (ImNodesPinShape)(ImNodesPinShape.CircleFilled)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndOutputAttributeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[42])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[42])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndOutputAttribute() - { - EndOutputAttributeNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginStaticAttributeNative(int id) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[43])(id); - #else - ((delegate* unmanaged[Cdecl])funcTable[43])(id); - #endif - } - - /// - /// To be documented. - /// - public static void BeginStaticAttribute(int id) - { - BeginStaticAttributeNative(id); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndStaticAttributeNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[44])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[44])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndStaticAttribute() - { - EndStaticAttributeNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushAttributeFlagNative(ImNodesAttributeFlags flag) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[45])(flag); - #else - ((delegate* unmanaged[Cdecl])funcTable[45])(flag); - #endif - } - - /// - /// To be documented. - /// - public static void PushAttributeFlag(ImNodesAttributeFlags flag) - { - PushAttributeFlagNative(flag); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopAttributeFlagNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[46])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[46])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopAttributeFlag() - { - PopAttributeFlagNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LinkNative(int id, int startAttributeId, int endAttributeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[47])(id, startAttributeId, endAttributeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[47])(id, startAttributeId, endAttributeId); - #endif - } - - /// - /// To be documented. - /// - public static void Link(int id, int startAttributeId, int endAttributeId) - { - LinkNative(id, startAttributeId, endAttributeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNodeDraggableNative(int nodeId, byte draggable) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[48])(nodeId, draggable); - #else - ((delegate* unmanaged[Cdecl])funcTable[48])(nodeId, draggable); - #endif - } - - /// - /// To be documented. - /// - public static void SetNodeDraggable(int nodeId, bool draggable) - { - SetNodeDraggableNative(nodeId, draggable ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNodeScreenSpacePosNative(int nodeId, Vector2 screenSpacePos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[49])(nodeId, screenSpacePos); - #else - ((delegate* unmanaged[Cdecl])funcTable[49])(nodeId, screenSpacePos); - #endif - } - - /// - /// To be documented. - /// - public static void SetNodeScreenSpacePos(int nodeId, Vector2 screenSpacePos) - { - SetNodeScreenSpacePosNative(nodeId, screenSpacePos); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNodeEditorSpacePosNative(int nodeId, Vector2 editorSpacePos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[50])(nodeId, editorSpacePos); - #else - ((delegate* unmanaged[Cdecl])funcTable[50])(nodeId, editorSpacePos); - #endif - } - - /// - /// To be documented. - /// - public static void SetNodeEditorSpacePos(int nodeId, Vector2 editorSpacePos) - { - SetNodeEditorSpacePosNative(nodeId, editorSpacePos); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNodeGridSpacePosNative(int nodeId, Vector2 gridPos) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[51])(nodeId, gridPos); - #else - ((delegate* unmanaged[Cdecl])funcTable[51])(nodeId, gridPos); - #endif - } - - /// - /// To be documented. - /// - public static void SetNodeGridSpacePos(int nodeId, Vector2 gridPos) - { - SetNodeGridSpacePosNative(nodeId, gridPos); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetNodeScreenSpacePosNative(Vector2* pOut, int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[52])(pOut, nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[52])((nint)pOut, nodeId); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetNodeScreenSpacePos(int nodeId) - { - Vector2 ret; - GetNodeScreenSpacePosNative(&ret, nodeId); - return ret; - } - - /// - /// To be documented. - /// - public static void GetNodeScreenSpacePos(Vector2* pOut, int nodeId) - { - GetNodeScreenSpacePosNative(pOut, nodeId); - } - - /// - /// To be documented. - /// - public static void GetNodeScreenSpacePos(ref Vector2 pOut, int nodeId) - { - fixed (Vector2* ppOut = &pOut) - { - GetNodeScreenSpacePosNative((Vector2*)ppOut, nodeId); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetNodeEditorSpacePosNative(Vector2* pOut, int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[53])(pOut, nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[53])((nint)pOut, nodeId); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetNodeEditorSpacePos(int nodeId) - { - Vector2 ret; - GetNodeEditorSpacePosNative(&ret, nodeId); - return ret; - } - - /// - /// To be documented. - /// - public static void GetNodeEditorSpacePos(Vector2* pOut, int nodeId) - { - GetNodeEditorSpacePosNative(pOut, nodeId); - } - - /// - /// To be documented. - /// - public static void GetNodeEditorSpacePos(ref Vector2 pOut, int nodeId) - { - fixed (Vector2* ppOut = &pOut) - { - GetNodeEditorSpacePosNative((Vector2*)ppOut, nodeId); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetNodeGridSpacePosNative(Vector2* pOut, int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[54])(pOut, nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[54])((nint)pOut, nodeId); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetNodeGridSpacePos(int nodeId) - { - Vector2 ret; - GetNodeGridSpacePosNative(&ret, nodeId); - return ret; - } - - /// - /// To be documented. - /// - public static void GetNodeGridSpacePos(Vector2* pOut, int nodeId) - { - GetNodeGridSpacePosNative(pOut, nodeId); - } - - /// - /// To be documented. - /// - public static void GetNodeGridSpacePos(ref Vector2 pOut, int nodeId) - { - fixed (Vector2* ppOut = &pOut) - { - GetNodeGridSpacePosNative((Vector2*)ppOut, nodeId); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SnapNodeToGridNative(int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[55])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[55])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static void SnapNodeToGrid(int nodeId) - { - SnapNodeToGridNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsEditorHoveredNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[56])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[56])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsEditorHovered() - { - byte ret = IsEditorHoveredNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsNodeHoveredNative(int* nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[57])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[57])((nint)nodeId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsNodeHovered(int* nodeId) - { - byte ret = IsNodeHoveredNative(nodeId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsNodeHovered(ref int nodeId) - { - fixed (int* pnodeId = &nodeId) - { - byte ret = IsNodeHoveredNative((int*)pnodeId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkHoveredNative(int* linkId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[58])(linkId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[58])((nint)linkId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkHovered(int* linkId) - { - byte ret = IsLinkHoveredNative(linkId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkHovered(ref int linkId) - { - fixed (int* plinkId = &linkId) - { - byte ret = IsLinkHoveredNative((int*)plinkId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPinHoveredNative(int* attributeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[59])(attributeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[59])((nint)attributeId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPinHovered(int* attributeId) - { - byte ret = IsPinHoveredNative(attributeId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsPinHovered(ref int attributeId) - { - fixed (int* pattributeId = &attributeId) - { - byte ret = IsPinHoveredNative((int*)pattributeId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int NumSelectedNodesNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[60])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[60])(); - #endif - } - - /// - /// To be documented. - /// - public static int NumSelectedNodes() - { - int ret = NumSelectedNodesNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int NumSelectedLinksNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[61])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[61])(); - #endif - } - - /// - /// To be documented. - /// - public static int NumSelectedLinks() - { - int ret = NumSelectedLinksNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetSelectedNodesNative(int* nodeIds) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[62])(nodeIds); - #else - ((delegate* unmanaged[Cdecl])funcTable[62])((nint)nodeIds); - #endif - } - - /// - /// To be documented. - /// - public static void GetSelectedNodes(int* nodeIds) - { - GetSelectedNodesNative(nodeIds); - } - - /// - /// To be documented. - /// - public static void GetSelectedNodes(ref int nodeIds) - { - fixed (int* pnodeIds = &nodeIds) - { - GetSelectedNodesNative((int*)pnodeIds); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetSelectedLinksNative(int* linkIds) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[63])(linkIds); - #else - ((delegate* unmanaged[Cdecl])funcTable[63])((nint)linkIds); - #endif - } - - /// - /// To be documented. - /// - public static void GetSelectedLinks(int* linkIds) - { - GetSelectedLinksNative(linkIds); - } - - /// - /// To be documented. - /// - public static void GetSelectedLinks(ref int linkIds) - { - fixed (int* plinkIds = &linkIds) - { - GetSelectedLinksNative((int*)plinkIds); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNodeSelectionNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[64])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[64])(); - #endif - } - - /// - /// To be documented. - /// - public static void ClearNodeSelection() - { - ClearNodeSelectionNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearLinkSelectionNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[65])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[65])(); - #endif - } - - /// - /// To be documented. - /// - public static void ClearLinkSelection() - { - ClearLinkSelectionNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SelectNodeNative(int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[66])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[66])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static void SelectNode(int nodeId) - { - SelectNodeNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearNodeSelectionNative(int nodeId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[67])(nodeId); - #else - ((delegate* unmanaged[Cdecl])funcTable[67])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static void ClearNodeSelection(int nodeId) - { - ClearNodeSelectionNative(nodeId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsNodeSelectedNative(int nodeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[68])(nodeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[68])(nodeId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsNodeSelected(int nodeId) - { - byte ret = IsNodeSelectedNative(nodeId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SelectLinkNative(int linkId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[69])(linkId); - #else - ((delegate* unmanaged[Cdecl])funcTable[69])(linkId); - #endif - } - - /// - /// To be documented. - /// - public static void SelectLink(int linkId) - { - SelectLinkNative(linkId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearLinkSelectionNative(int linkId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[70])(linkId); - #else - ((delegate* unmanaged[Cdecl])funcTable[70])(linkId); - #endif - } - - /// - /// To be documented. - /// - public static void ClearLinkSelection(int linkId) - { - ClearLinkSelectionNative(linkId); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkSelectedNative(int linkId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[71])(linkId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[71])(linkId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkSelected(int linkId) - { - byte ret = IsLinkSelectedNative(linkId); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAttributeActiveNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[72])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[72])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsAttributeActive() - { - byte ret = IsAttributeActiveNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAnyAttributeActiveNative(int* attributeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[73])(attributeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[73])((nint)attributeId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsAnyAttributeActive(int* attributeId) - { - byte ret = IsAnyAttributeActiveNative(attributeId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsAnyAttributeActive() - { - byte ret = IsAnyAttributeActiveNative((int*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsAnyAttributeActive(ref int attributeId) - { - fixed (int* pattributeId = &attributeId) - { - byte ret = IsAnyAttributeActiveNative((int*)pattributeId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkStartedNative(int* startedAtAttributeId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[74])(startedAtAttributeId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[74])((nint)startedAtAttributeId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkStarted(int* startedAtAttributeId) - { - byte ret = IsLinkStartedNative(startedAtAttributeId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkStarted(ref int startedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkStartedNative((int*)pstartedAtAttributeId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkDroppedNative(int* startedAtAttributeId, byte includingDetachedLinks) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[75])(startedAtAttributeId, includingDetachedLinks); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[75])((nint)startedAtAttributeId, includingDetachedLinks); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkDropped(int* startedAtAttributeId, bool includingDetachedLinks) - { - byte ret = IsLinkDroppedNative(startedAtAttributeId, includingDetachedLinks ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkDropped(int* startedAtAttributeId) - { - byte ret = IsLinkDroppedNative(startedAtAttributeId, (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkDropped() - { - byte ret = IsLinkDroppedNative((int*)(default), (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkDropped(bool includingDetachedLinks) - { - byte ret = IsLinkDroppedNative((int*)(default), includingDetachedLinks ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkDropped(ref int startedAtAttributeId, bool includingDetachedLinks) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkDroppedNative((int*)pstartedAtAttributeId, includingDetachedLinks ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkDropped(ref int startedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkDroppedNative((int*)pstartedAtAttributeId, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkCreatedNative(int* startedAtAttributeId, int* endedAtAttributeId, bool* createdFromSnap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[76])(startedAtAttributeId, endedAtAttributeId, createdFromSnap); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[76])((nint)startedAtAttributeId, (nint)endedAtAttributeId, (nint)createdFromSnap); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtAttributeId, int* endedAtAttributeId, bool* createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtAttributeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtAttributeId, int* endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtAttributeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtAttributeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtAttributeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtAttributeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtAttributeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtAttributeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtAttributeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtAttributeId, ref int endedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtAttributeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtAttributeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtAttributeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtAttributeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtAttributeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtAttributeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtAttributeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtAttributeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtAttributeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtAttributeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtAttributeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtAttributeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtAttributeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkCreatedNative(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[77])(startedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, createdFromSnap); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[77])((nint)startedAtNodeId, (nint)startedAtAttributeId, (nint)endedAtNodeId, (nint)endedAtAttributeId, (nint)createdFromSnap); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, bool* createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, createdFromSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, int* endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, endedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, int* endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, endedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, int* startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, startedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(int* startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative(startedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool IsLinkCreated(ref int startedAtNodeId, ref int startedAtAttributeId, ref int endedAtNodeId, ref int endedAtAttributeId, ref bool createdFromSnap) - { - fixed (int* pstartedAtNodeId = &startedAtNodeId) - { - fixed (int* pstartedAtAttributeId = &startedAtAttributeId) - { - fixed (int* pendedAtNodeId = &endedAtNodeId) - { - fixed (int* pendedAtAttributeId = &endedAtAttributeId) - { - fixed (bool* pcreatedFromSnap = &createdFromSnap) - { - byte ret = IsLinkCreatedNative((int*)pstartedAtNodeId, (int*)pstartedAtAttributeId, (int*)pendedAtNodeId, (int*)pendedAtAttributeId, (bool*)pcreatedFromSnap); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLinkDestroyedNative(int* linkId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[78])(linkId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[78])((nint)linkId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLinkDestroyed(int* linkId) - { - byte ret = IsLinkDestroyedNative(linkId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLinkDestroyed(ref int linkId) - { - fixed (int* plinkId = &linkId) - { - byte ret = IsLinkDestroyedNative((int*)plinkId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* SaveCurrentEditorStateToIniStringNative(ulong* dataSize) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[79])(dataSize); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[79])((nint)dataSize); - #endif - } - - /// - /// To be documented. - /// - public static byte* SaveCurrentEditorStateToIniString(ulong* dataSize) - { - byte* ret = SaveCurrentEditorStateToIniStringNative(dataSize); - return ret; - } - - /// - /// To be documented. - /// - public static byte* SaveCurrentEditorStateToIniString() - { - byte* ret = SaveCurrentEditorStateToIniStringNative((ulong*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static string SaveCurrentEditorStateToIniStringS() - { - string ret = Utils.DecodeStringUTF8(SaveCurrentEditorStateToIniStringNative((ulong*)(default))); - return ret; - } - - /// - /// To be documented. - /// - public static string SaveCurrentEditorStateToIniStringS(ulong* dataSize) - { - string ret = Utils.DecodeStringUTF8(SaveCurrentEditorStateToIniStringNative(dataSize)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* SaveCurrentEditorStateToIniString(ref nuint dataSize) - { - fixed (nuint* pdataSize = &dataSize) - { - byte* ret = SaveCurrentEditorStateToIniStringNative((ulong*)pdataSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string SaveCurrentEditorStateToIniStringS(ref nuint dataSize) - { - fixed (nuint* pdataSize = &dataSize) - { - string ret = Utils.DecodeStringUTF8(SaveCurrentEditorStateToIniStringNative((ulong*)pdataSize)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* SaveEditorStateToIniStringNative(ImNodesEditorContext* editor, ulong* dataSize) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[80])(editor, dataSize); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[80])((nint)editor, (nint)dataSize); - #endif - } - - /// - /// To be documented. - /// - public static byte* SaveEditorStateToIniString(ImNodesEditorContextPtr editor, ulong* dataSize) - { - byte* ret = SaveEditorStateToIniStringNative(editor, dataSize); - return ret; - } - - /// - /// To be documented. - /// - public static byte* SaveEditorStateToIniString(ImNodesEditorContextPtr editor) - { - byte* ret = SaveEditorStateToIniStringNative(editor, (ulong*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static string SaveEditorStateToIniStringS(ImNodesEditorContextPtr editor) - { - string ret = Utils.DecodeStringUTF8(SaveEditorStateToIniStringNative(editor, (ulong*)(default))); - return ret; - } - - /// - /// To be documented. - /// - public static string SaveEditorStateToIniStringS(ImNodesEditorContextPtr editor, ulong* dataSize) - { - string ret = Utils.DecodeStringUTF8(SaveEditorStateToIniStringNative(editor, dataSize)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* SaveEditorStateToIniString(ref ImNodesEditorContext editor, ulong* dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - byte* ret = SaveEditorStateToIniStringNative((ImNodesEditorContext*)peditor, dataSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* SaveEditorStateToIniString(ref ImNodesEditorContext editor) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - byte* ret = SaveEditorStateToIniStringNative((ImNodesEditorContext*)peditor, (ulong*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static string SaveEditorStateToIniStringS(ref ImNodesEditorContext editor) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - string ret = Utils.DecodeStringUTF8(SaveEditorStateToIniStringNative((ImNodesEditorContext*)peditor, (ulong*)(default))); - return ret; - } - } - - /// - /// To be documented. - /// - public static string SaveEditorStateToIniStringS(ref ImNodesEditorContext editor, ulong* dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - string ret = Utils.DecodeStringUTF8(SaveEditorStateToIniStringNative((ImNodesEditorContext*)peditor, dataSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* SaveEditorStateToIniString(ImNodesEditorContextPtr editor, ref nuint dataSize) - { - fixed (nuint* pdataSize = &dataSize) - { - byte* ret = SaveEditorStateToIniStringNative(editor, (ulong*)pdataSize); - return ret; - } - } - - /// - /// To be documented. - /// - public static string SaveEditorStateToIniStringS(ImNodesEditorContextPtr editor, ref nuint dataSize) - { - fixed (nuint* pdataSize = &dataSize) - { - string ret = Utils.DecodeStringUTF8(SaveEditorStateToIniStringNative(editor, (ulong*)pdataSize)); - return ret; - } - } - - /// - /// To be documented. - /// - public static byte* SaveEditorStateToIniString(ref ImNodesEditorContext editor, ref nuint dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (nuint* pdataSize = &dataSize) - { - byte* ret = SaveEditorStateToIniStringNative((ImNodesEditorContext*)peditor, (ulong*)pdataSize); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static string SaveEditorStateToIniStringS(ref ImNodesEditorContext editor, ref nuint dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (nuint* pdataSize = &dataSize) - { - string ret = Utils.DecodeStringUTF8(SaveEditorStateToIniStringNative((ImNodesEditorContext*)peditor, (ulong*)pdataSize)); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LoadCurrentEditorStateFromIniStringNative(byte* data, ulong dataSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[81])(data, dataSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[81])((nint)data, dataSize); - #endif - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(byte* data, ulong dataSize) - { - LoadCurrentEditorStateFromIniStringNative(data, dataSize); - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(ref byte data, ulong dataSize) - { - fixed (byte* pdata = &data) - { - LoadCurrentEditorStateFromIniStringNative((byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(ReadOnlySpan data, ulong dataSize) - { - fixed (byte* pdata = data) - { - LoadCurrentEditorStateFromIniStringNative((byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(string data, ulong dataSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadCurrentEditorStateFromIniStringNative(pStr0, dataSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(byte* data, nuint dataSize) - { - LoadCurrentEditorStateFromIniStringNative(data, dataSize); - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(ref byte data, nuint dataSize) - { - fixed (byte* pdata = &data) - { - LoadCurrentEditorStateFromIniStringNative((byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(ReadOnlySpan data, nuint dataSize) - { - fixed (byte* pdata = data) - { - LoadCurrentEditorStateFromIniStringNative((byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniString(string data, nuint dataSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadCurrentEditorStateFromIniStringNative(pStr0, dataSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LoadEditorStateFromIniStringNative(ImNodesEditorContext* editor, byte* data, ulong dataSize) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[82])(editor, data, dataSize); - #else - ((delegate* unmanaged[Cdecl])funcTable[82])((nint)editor, (nint)data, dataSize); - #endif - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, byte* data, ulong dataSize) - { - LoadEditorStateFromIniStringNative(editor, data, dataSize); - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, byte* data, ulong dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, data, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, ref byte data, ulong dataSize) - { - fixed (byte* pdata = &data) - { - LoadEditorStateFromIniStringNative(editor, (byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, ReadOnlySpan data, ulong dataSize) - { - fixed (byte* pdata = data) - { - LoadEditorStateFromIniStringNative(editor, (byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, string data, ulong dataSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadEditorStateFromIniStringNative(editor, pStr0, dataSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, ref byte data, ulong dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pdata = &data) - { - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, (byte*)pdata, dataSize); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, ReadOnlySpan data, ulong dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pdata = data) - { - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, (byte*)pdata, dataSize); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, string data, ulong dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, pStr0, dataSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, byte* data, nuint dataSize) - { - LoadEditorStateFromIniStringNative(editor, data, dataSize); - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, byte* data, nuint dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, data, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, ref byte data, nuint dataSize) - { - fixed (byte* pdata = &data) - { - LoadEditorStateFromIniStringNative(editor, (byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, ReadOnlySpan data, nuint dataSize) - { - fixed (byte* pdata = data) - { - LoadEditorStateFromIniStringNative(editor, (byte*)pdata, dataSize); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ImNodesEditorContextPtr editor, string data, nuint dataSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadEditorStateFromIniStringNative(editor, pStr0, dataSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, ref byte data, nuint dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pdata = &data) - { - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, (byte*)pdata, dataSize); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, ReadOnlySpan data, nuint dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pdata = data) - { - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, (byte*)pdata, dataSize); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniString(ref ImNodesEditorContext editor, string data, nuint dataSize) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (data != null) - { - pStrSize0 = Utils.GetByteCountUTF8(data); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(data, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadEditorStateFromIniStringNative((ImNodesEditorContext*)peditor, pStr0, dataSize); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SaveCurrentEditorStateToIniFileNative(byte* fileName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[83])(fileName); - #else - ((delegate* unmanaged[Cdecl])funcTable[83])((nint)fileName); - #endif - } - - /// - /// To be documented. - /// - public static void SaveCurrentEditorStateToIniFile(byte* fileName) - { - SaveCurrentEditorStateToIniFileNative(fileName); - } - - /// - /// To be documented. - /// - public static void SaveCurrentEditorStateToIniFile(ref byte fileName) - { - fixed (byte* pfileName = &fileName) - { - SaveCurrentEditorStateToIniFileNative((byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void SaveCurrentEditorStateToIniFile(ReadOnlySpan fileName) - { - fixed (byte* pfileName = fileName) - { - SaveCurrentEditorStateToIniFileNative((byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void SaveCurrentEditorStateToIniFile(string fileName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fileName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fileName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fileName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SaveCurrentEditorStateToIniFileNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SaveEditorStateToIniFileNative(ImNodesEditorContext* editor, byte* fileName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[84])(editor, fileName); - #else - ((delegate* unmanaged[Cdecl])funcTable[84])((nint)editor, (nint)fileName); - #endif - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ImNodesEditorContextPtr editor, byte* fileName) - { - SaveEditorStateToIniFileNative(editor, fileName); - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ref ImNodesEditorContext editor, byte* fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - SaveEditorStateToIniFileNative((ImNodesEditorContext*)peditor, fileName); - } - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ImNodesEditorContextPtr editor, ref byte fileName) - { - fixed (byte* pfileName = &fileName) - { - SaveEditorStateToIniFileNative(editor, (byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ImNodesEditorContextPtr editor, ReadOnlySpan fileName) - { - fixed (byte* pfileName = fileName) - { - SaveEditorStateToIniFileNative(editor, (byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ImNodesEditorContextPtr editor, string fileName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fileName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fileName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fileName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SaveEditorStateToIniFileNative(editor, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ref ImNodesEditorContext editor, ref byte fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pfileName = &fileName) - { - SaveEditorStateToIniFileNative((ImNodesEditorContext*)peditor, (byte*)pfileName); - } - } - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ref ImNodesEditorContext editor, ReadOnlySpan fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pfileName = fileName) - { - SaveEditorStateToIniFileNative((ImNodesEditorContext*)peditor, (byte*)pfileName); - } - } - } - - /// - /// To be documented. - /// - public static void SaveEditorStateToIniFile(ref ImNodesEditorContext editor, string fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fileName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fileName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fileName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SaveEditorStateToIniFileNative((ImNodesEditorContext*)peditor, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LoadCurrentEditorStateFromIniFileNative(byte* fileName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[85])(fileName); - #else - ((delegate* unmanaged[Cdecl])funcTable[85])((nint)fileName); - #endif - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniFile(byte* fileName) - { - LoadCurrentEditorStateFromIniFileNative(fileName); - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniFile(ref byte fileName) - { - fixed (byte* pfileName = &fileName) - { - LoadCurrentEditorStateFromIniFileNative((byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniFile(ReadOnlySpan fileName) - { - fixed (byte* pfileName = fileName) - { - LoadCurrentEditorStateFromIniFileNative((byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void LoadCurrentEditorStateFromIniFile(string fileName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fileName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fileName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fileName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadCurrentEditorStateFromIniFileNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LoadEditorStateFromIniFileNative(ImNodesEditorContext* editor, byte* fileName) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[86])(editor, fileName); - #else - ((delegate* unmanaged[Cdecl])funcTable[86])((nint)editor, (nint)fileName); - #endif - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ImNodesEditorContextPtr editor, byte* fileName) - { - LoadEditorStateFromIniFileNative(editor, fileName); - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ref ImNodesEditorContext editor, byte* fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - LoadEditorStateFromIniFileNative((ImNodesEditorContext*)peditor, fileName); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ImNodesEditorContextPtr editor, ref byte fileName) - { - fixed (byte* pfileName = &fileName) - { - LoadEditorStateFromIniFileNative(editor, (byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ImNodesEditorContextPtr editor, ReadOnlySpan fileName) - { - fixed (byte* pfileName = fileName) - { - LoadEditorStateFromIniFileNative(editor, (byte*)pfileName); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ImNodesEditorContextPtr editor, string fileName) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fileName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fileName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fileName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadEditorStateFromIniFileNative(editor, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ref ImNodesEditorContext editor, ref byte fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pfileName = &fileName) - { - LoadEditorStateFromIniFileNative((ImNodesEditorContext*)peditor, (byte*)pfileName); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ref ImNodesEditorContext editor, ReadOnlySpan fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - fixed (byte* pfileName = fileName) - { - LoadEditorStateFromIniFileNative((ImNodesEditorContext*)peditor, (byte*)pfileName); - } - } - } - - /// - /// To be documented. - /// - public static void LoadEditorStateFromIniFile(ref ImNodesEditorContext editor, string fileName) - { - fixed (ImNodesEditorContext* peditor = &editor) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fileName != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fileName); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fileName, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LoadEditorStateFromIniFileNative((ImNodesEditorContext*)peditor, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// needed for io.link_detach_with_modifier_click.modifier =
- /// &ImGui
- /// ::GetIO().KeyCtrl
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static bool* GetIOKeyCtrlPtrNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[87])(); - #else - return (bool*)((delegate* unmanaged[Cdecl])funcTable[87])(); - #endif - } - - /// - /// needed for io.link_detach_with_modifier_click.modifier =
- /// &ImGui
- /// ::GetIO().KeyCtrl
- ///
- public static bool* GetIOKeyCtrlPtr() - { - bool* ret = GetIOKeyCtrlPtrNative(); - return ret; - } - - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Handles/ImNodesMiniMapNodeHoveringCallbackUserData.cs b/src/Hexa.NET.ImNodes/Generated/Handles/ImNodesMiniMapNodeHoveringCallbackUserData.cs deleted file mode 100644 index 94d831a20..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Handles/ImNodesMiniMapNodeHoveringCallbackUserData.cs +++ /dev/null @@ -1,45 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public readonly partial struct ImNodesMiniMapNodeHoveringCallbackUserData : IEquatable - { - public ImNodesMiniMapNodeHoveringCallbackUserData(nint handle) { Handle = handle; } - public nint Handle { get; } - public bool IsNull => Handle == 0; - public static ImNodesMiniMapNodeHoveringCallbackUserData Null => new ImNodesMiniMapNodeHoveringCallbackUserData(0); - public static implicit operator ImNodesMiniMapNodeHoveringCallbackUserData(nint handle) => new ImNodesMiniMapNodeHoveringCallbackUserData(handle); - public static bool operator ==(ImNodesMiniMapNodeHoveringCallbackUserData left, ImNodesMiniMapNodeHoveringCallbackUserData right) => left.Handle == right.Handle; - public static bool operator !=(ImNodesMiniMapNodeHoveringCallbackUserData left, ImNodesMiniMapNodeHoveringCallbackUserData right) => left.Handle != right.Handle; - public static bool operator ==(ImNodesMiniMapNodeHoveringCallbackUserData left, nint right) => left.Handle == right; - public static bool operator !=(ImNodesMiniMapNodeHoveringCallbackUserData left, nint right) => left.Handle != right; - public bool Equals(ImNodesMiniMapNodeHoveringCallbackUserData other) => Handle == other.Handle; - /// - public override bool Equals(object obj) => obj is ImNodesMiniMapNodeHoveringCallbackUserData handle && Equals(handle); - /// - public override int GetHashCode() => Handle.GetHashCode(); - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImNodesMiniMapNodeHoveringCallbackUserData [0x{0}]", Handle.ToString("X")); - #endif - } -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/EmulateThreeButtonMouse.cs b/src/Hexa.NET.ImNodes/Generated/Structs/EmulateThreeButtonMouse.cs deleted file mode 100644 index 17c09c913..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/EmulateThreeButtonMouse.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct EmulateThreeButtonMouse - { - /// - /// To be documented. - /// - public unsafe bool* Modifier; - - - /// - /// To be documented. - /// - public unsafe EmulateThreeButtonMouse(bool* modifier = default) - { - Modifier = modifier; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (EmulateThreeButtonMouse* @this = &this) - { - ImNodes.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct EmulateThreeButtonMousePtr : IEquatable - { - public EmulateThreeButtonMousePtr(EmulateThreeButtonMouse* handle) { Handle = handle; } - - public EmulateThreeButtonMouse* Handle; - - public bool IsNull => Handle == null; - - public static EmulateThreeButtonMousePtr Null => new EmulateThreeButtonMousePtr(null); - - public EmulateThreeButtonMouse this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator EmulateThreeButtonMousePtr(EmulateThreeButtonMouse* handle) => new EmulateThreeButtonMousePtr(handle); - - public static implicit operator EmulateThreeButtonMouse*(EmulateThreeButtonMousePtr handle) => handle.Handle; - - public static bool operator ==(EmulateThreeButtonMousePtr left, EmulateThreeButtonMousePtr right) => left.Handle == right.Handle; - - public static bool operator !=(EmulateThreeButtonMousePtr left, EmulateThreeButtonMousePtr right) => left.Handle != right.Handle; - - public static bool operator ==(EmulateThreeButtonMousePtr left, EmulateThreeButtonMouse* right) => left.Handle == right; - - public static bool operator !=(EmulateThreeButtonMousePtr left, EmulateThreeButtonMouse* right) => left.Handle != right; - - public bool Equals(EmulateThreeButtonMousePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is EmulateThreeButtonMousePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("EmulateThreeButtonMousePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public bool* Modifier { get => Handle->Modifier; set => Handle->Modifier = value; } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImNodes.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesContext.cs b/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesContext.cs deleted file mode 100644 index 53226a0b5..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesContext.cs +++ /dev/null @@ -1,73 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImNodesContext - { - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImNodesContextPtr : IEquatable - { - public ImNodesContextPtr(ImNodesContext* handle) { Handle = handle; } - - public ImNodesContext* Handle; - - public bool IsNull => Handle == null; - - public static ImNodesContextPtr Null => new ImNodesContextPtr(null); - - public ImNodesContext this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImNodesContextPtr(ImNodesContext* handle) => new ImNodesContextPtr(handle); - - public static implicit operator ImNodesContext*(ImNodesContextPtr handle) => handle.Handle; - - public static bool operator ==(ImNodesContextPtr left, ImNodesContextPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImNodesContextPtr left, ImNodesContextPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImNodesContextPtr left, ImNodesContext* right) => left.Handle == right; - - public static bool operator !=(ImNodesContextPtr left, ImNodesContext* right) => left.Handle != right; - - public bool Equals(ImNodesContextPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImNodesContextPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImNodesContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesEditorContext.cs b/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesEditorContext.cs deleted file mode 100644 index 7118ce88d..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesEditorContext.cs +++ /dev/null @@ -1,73 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImNodesEditorContext - { - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImNodesEditorContextPtr : IEquatable - { - public ImNodesEditorContextPtr(ImNodesEditorContext* handle) { Handle = handle; } - - public ImNodesEditorContext* Handle; - - public bool IsNull => Handle == null; - - public static ImNodesEditorContextPtr Null => new ImNodesEditorContextPtr(null); - - public ImNodesEditorContext this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImNodesEditorContextPtr(ImNodesEditorContext* handle) => new ImNodesEditorContextPtr(handle); - - public static implicit operator ImNodesEditorContext*(ImNodesEditorContextPtr handle) => handle.Handle; - - public static bool operator ==(ImNodesEditorContextPtr left, ImNodesEditorContextPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImNodesEditorContextPtr left, ImNodesEditorContextPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImNodesEditorContextPtr left, ImNodesEditorContext* right) => left.Handle == right; - - public static bool operator !=(ImNodesEditorContextPtr left, ImNodesEditorContext* right) => left.Handle != right; - - public bool Equals(ImNodesEditorContextPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImNodesEditorContextPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImNodesEditorContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - } - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesIO.cs b/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesIO.cs deleted file mode 100644 index 39510543d..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesIO.cs +++ /dev/null @@ -1,149 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImNodesIO - { - /// - /// To be documented. - /// - public EmulateThreeButtonMouse EmulateThreeButtonMouse; - - /// - /// To be documented. - /// - public LinkDetachWithModifierClick LinkDetachWithModifierClick; - - /// - /// To be documented. - /// - public MultipleSelectModifier MultipleSelectModifier; - - /// - /// To be documented. - /// - public int AltMouseButton; - - /// - /// To be documented. - /// - public float AutoPanningSpeed; - - - /// - /// To be documented. - /// - public unsafe ImNodesIO(EmulateThreeButtonMouse emulateThreeButtonMouse = default, LinkDetachWithModifierClick linkDetachWithModifierClick = default, MultipleSelectModifier multipleSelectModifier = default, int altMouseButton = default, float autoPanningSpeed = default) - { - EmulateThreeButtonMouse = emulateThreeButtonMouse; - LinkDetachWithModifierClick = linkDetachWithModifierClick; - MultipleSelectModifier = multipleSelectModifier; - AltMouseButton = altMouseButton; - AutoPanningSpeed = autoPanningSpeed; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImNodesIO* @this = &this) - { - ImNodes.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImNodesIOPtr : IEquatable - { - public ImNodesIOPtr(ImNodesIO* handle) { Handle = handle; } - - public ImNodesIO* Handle; - - public bool IsNull => Handle == null; - - public static ImNodesIOPtr Null => new ImNodesIOPtr(null); - - public ImNodesIO this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImNodesIOPtr(ImNodesIO* handle) => new ImNodesIOPtr(handle); - - public static implicit operator ImNodesIO*(ImNodesIOPtr handle) => handle.Handle; - - public static bool operator ==(ImNodesIOPtr left, ImNodesIOPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImNodesIOPtr left, ImNodesIOPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImNodesIOPtr left, ImNodesIO* right) => left.Handle == right; - - public static bool operator !=(ImNodesIOPtr left, ImNodesIO* right) => left.Handle != right; - - public bool Equals(ImNodesIOPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImNodesIOPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImNodesIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref EmulateThreeButtonMouse EmulateThreeButtonMouse => ref Unsafe.AsRef(&Handle->EmulateThreeButtonMouse); - /// - /// To be documented. - /// - public ref LinkDetachWithModifierClick LinkDetachWithModifierClick => ref Unsafe.AsRef(&Handle->LinkDetachWithModifierClick); - /// - /// To be documented. - /// - public ref MultipleSelectModifier MultipleSelectModifier => ref Unsafe.AsRef(&Handle->MultipleSelectModifier); - /// - /// To be documented. - /// - public ref int AltMouseButton => ref Unsafe.AsRef(&Handle->AltMouseButton); - /// - /// To be documented. - /// - public ref float AutoPanningSpeed => ref Unsafe.AsRef(&Handle->AutoPanningSpeed); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImNodes.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesStyle.cs b/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesStyle.cs deleted file mode 100644 index c43b455ee..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/ImNodesStyle.cs +++ /dev/null @@ -1,390 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImNodesStyle - { - /// - /// To be documented. - /// - public float GridSpacing; - - /// - /// To be documented. - /// - public float NodeCornerRounding; - - /// - /// To be documented. - /// - public Vector2 NodePadding; - - /// - /// To be documented. - /// - public float NodeBorderThickness; - - /// - /// To be documented. - /// - public float LinkThickness; - - /// - /// To be documented. - /// - public float LinkLineSegmentsPerLength; - - /// - /// To be documented. - /// - public float LinkHoverDistance; - - /// - /// To be documented. - /// - public float PinCircleRadius; - - /// - /// To be documented. - /// - public float PinQuadSideLength; - - /// - /// To be documented. - /// - public float PinTriangleSideLength; - - /// - /// To be documented. - /// - public float PinLineThickness; - - /// - /// To be documented. - /// - public float PinHoverRadius; - - /// - /// To be documented. - /// - public float PinOffset; - - /// - /// To be documented. - /// - public Vector2 MiniMapPadding; - - /// - /// To be documented. - /// - public Vector2 MiniMapOffset; - - /// - /// To be documented. - /// - public ImNodesStyleFlags Flags; - - /// - /// To be documented. - /// - public uint Colors_0; - public uint Colors_1; - public uint Colors_2; - public uint Colors_3; - public uint Colors_4; - public uint Colors_5; - public uint Colors_6; - public uint Colors_7; - public uint Colors_8; - public uint Colors_9; - public uint Colors_10; - public uint Colors_11; - public uint Colors_12; - public uint Colors_13; - public uint Colors_14; - public uint Colors_15; - public uint Colors_16; - public uint Colors_17; - public uint Colors_18; - public uint Colors_19; - public uint Colors_20; - public uint Colors_21; - public uint Colors_22; - public uint Colors_23; - public uint Colors_24; - public uint Colors_25; - public uint Colors_26; - public uint Colors_27; - public uint Colors_28; - - - /// - /// To be documented. - /// - public unsafe ImNodesStyle(float gridSpacing = default, float nodeCornerRounding = default, Vector2 nodePadding = default, float nodeBorderThickness = default, float linkThickness = default, float linkLineSegmentsPerLength = default, float linkHoverDistance = default, float pinCircleRadius = default, float pinQuadSideLength = default, float pinTriangleSideLength = default, float pinLineThickness = default, float pinHoverRadius = default, float pinOffset = default, Vector2 miniMapPadding = default, Vector2 miniMapOffset = default, ImNodesStyleFlags flags = default, uint* colors = default) - { - GridSpacing = gridSpacing; - NodeCornerRounding = nodeCornerRounding; - NodePadding = nodePadding; - NodeBorderThickness = nodeBorderThickness; - LinkThickness = linkThickness; - LinkLineSegmentsPerLength = linkLineSegmentsPerLength; - LinkHoverDistance = linkHoverDistance; - PinCircleRadius = pinCircleRadius; - PinQuadSideLength = pinQuadSideLength; - PinTriangleSideLength = pinTriangleSideLength; - PinLineThickness = pinLineThickness; - PinHoverRadius = pinHoverRadius; - PinOffset = pinOffset; - MiniMapPadding = miniMapPadding; - MiniMapOffset = miniMapOffset; - Flags = flags; - if (colors != default(uint*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - Colors_19 = colors[19]; - Colors_20 = colors[20]; - Colors_21 = colors[21]; - Colors_22 = colors[22]; - Colors_23 = colors[23]; - Colors_24 = colors[24]; - Colors_25 = colors[25]; - Colors_26 = colors[26]; - Colors_27 = colors[27]; - Colors_28 = colors[28]; - } - } - - /// - /// To be documented. - /// - public unsafe ImNodesStyle(float gridSpacing = default, float nodeCornerRounding = default, Vector2 nodePadding = default, float nodeBorderThickness = default, float linkThickness = default, float linkLineSegmentsPerLength = default, float linkHoverDistance = default, float pinCircleRadius = default, float pinQuadSideLength = default, float pinTriangleSideLength = default, float pinLineThickness = default, float pinHoverRadius = default, float pinOffset = default, Vector2 miniMapPadding = default, Vector2 miniMapOffset = default, ImNodesStyleFlags flags = default, Span colors = default) - { - GridSpacing = gridSpacing; - NodeCornerRounding = nodeCornerRounding; - NodePadding = nodePadding; - NodeBorderThickness = nodeBorderThickness; - LinkThickness = linkThickness; - LinkLineSegmentsPerLength = linkLineSegmentsPerLength; - LinkHoverDistance = linkHoverDistance; - PinCircleRadius = pinCircleRadius; - PinQuadSideLength = pinQuadSideLength; - PinTriangleSideLength = pinTriangleSideLength; - PinLineThickness = pinLineThickness; - PinHoverRadius = pinHoverRadius; - PinOffset = pinOffset; - MiniMapPadding = miniMapPadding; - MiniMapOffset = miniMapOffset; - Flags = flags; - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - Colors_19 = colors[19]; - Colors_20 = colors[20]; - Colors_21 = colors[21]; - Colors_22 = colors[22]; - Colors_23 = colors[23]; - Colors_24 = colors[24]; - Colors_25 = colors[25]; - Colors_26 = colors[26]; - Colors_27 = colors[27]; - Colors_28 = colors[28]; - } - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImNodesStyle* @this = &this) - { - ImNodes.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImNodesStylePtr : IEquatable - { - public ImNodesStylePtr(ImNodesStyle* handle) { Handle = handle; } - - public ImNodesStyle* Handle; - - public bool IsNull => Handle == null; - - public static ImNodesStylePtr Null => new ImNodesStylePtr(null); - - public ImNodesStyle this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImNodesStylePtr(ImNodesStyle* handle) => new ImNodesStylePtr(handle); - - public static implicit operator ImNodesStyle*(ImNodesStylePtr handle) => handle.Handle; - - public static bool operator ==(ImNodesStylePtr left, ImNodesStylePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImNodesStylePtr left, ImNodesStylePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImNodesStylePtr left, ImNodesStyle* right) => left.Handle == right; - - public static bool operator !=(ImNodesStylePtr left, ImNodesStyle* right) => left.Handle != right; - - public bool Equals(ImNodesStylePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImNodesStylePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImNodesStylePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float GridSpacing => ref Unsafe.AsRef(&Handle->GridSpacing); - /// - /// To be documented. - /// - public ref float NodeCornerRounding => ref Unsafe.AsRef(&Handle->NodeCornerRounding); - /// - /// To be documented. - /// - public ref Vector2 NodePadding => ref Unsafe.AsRef(&Handle->NodePadding); - /// - /// To be documented. - /// - public ref float NodeBorderThickness => ref Unsafe.AsRef(&Handle->NodeBorderThickness); - /// - /// To be documented. - /// - public ref float LinkThickness => ref Unsafe.AsRef(&Handle->LinkThickness); - /// - /// To be documented. - /// - public ref float LinkLineSegmentsPerLength => ref Unsafe.AsRef(&Handle->LinkLineSegmentsPerLength); - /// - /// To be documented. - /// - public ref float LinkHoverDistance => ref Unsafe.AsRef(&Handle->LinkHoverDistance); - /// - /// To be documented. - /// - public ref float PinCircleRadius => ref Unsafe.AsRef(&Handle->PinCircleRadius); - /// - /// To be documented. - /// - public ref float PinQuadSideLength => ref Unsafe.AsRef(&Handle->PinQuadSideLength); - /// - /// To be documented. - /// - public ref float PinTriangleSideLength => ref Unsafe.AsRef(&Handle->PinTriangleSideLength); - /// - /// To be documented. - /// - public ref float PinLineThickness => ref Unsafe.AsRef(&Handle->PinLineThickness); - /// - /// To be documented. - /// - public ref float PinHoverRadius => ref Unsafe.AsRef(&Handle->PinHoverRadius); - /// - /// To be documented. - /// - public ref float PinOffset => ref Unsafe.AsRef(&Handle->PinOffset); - /// - /// To be documented. - /// - public ref Vector2 MiniMapPadding => ref Unsafe.AsRef(&Handle->MiniMapPadding); - /// - /// To be documented. - /// - public ref Vector2 MiniMapOffset => ref Unsafe.AsRef(&Handle->MiniMapOffset); - /// - /// To be documented. - /// - public ref ImNodesStyleFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - return new Span(&Handle->Colors_0, 29); - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImNodes.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/LinkDetachWithModifierClick.cs b/src/Hexa.NET.ImNodes/Generated/Structs/LinkDetachWithModifierClick.cs deleted file mode 100644 index 6c2e044b3..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/LinkDetachWithModifierClick.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct LinkDetachWithModifierClick - { - /// - /// To be documented. - /// - public unsafe bool* Modifier; - - - /// - /// To be documented. - /// - public unsafe LinkDetachWithModifierClick(bool* modifier = default) - { - Modifier = modifier; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (LinkDetachWithModifierClick* @this = &this) - { - ImNodes.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct LinkDetachWithModifierClickPtr : IEquatable - { - public LinkDetachWithModifierClickPtr(LinkDetachWithModifierClick* handle) { Handle = handle; } - - public LinkDetachWithModifierClick* Handle; - - public bool IsNull => Handle == null; - - public static LinkDetachWithModifierClickPtr Null => new LinkDetachWithModifierClickPtr(null); - - public LinkDetachWithModifierClick this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator LinkDetachWithModifierClickPtr(LinkDetachWithModifierClick* handle) => new LinkDetachWithModifierClickPtr(handle); - - public static implicit operator LinkDetachWithModifierClick*(LinkDetachWithModifierClickPtr handle) => handle.Handle; - - public static bool operator ==(LinkDetachWithModifierClickPtr left, LinkDetachWithModifierClickPtr right) => left.Handle == right.Handle; - - public static bool operator !=(LinkDetachWithModifierClickPtr left, LinkDetachWithModifierClickPtr right) => left.Handle != right.Handle; - - public static bool operator ==(LinkDetachWithModifierClickPtr left, LinkDetachWithModifierClick* right) => left.Handle == right; - - public static bool operator !=(LinkDetachWithModifierClickPtr left, LinkDetachWithModifierClick* right) => left.Handle != right; - - public bool Equals(LinkDetachWithModifierClickPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is LinkDetachWithModifierClickPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("LinkDetachWithModifierClickPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public bool* Modifier { get => Handle->Modifier; set => Handle->Modifier = value; } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImNodes.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImNodes/Generated/Structs/MultipleSelectModifier.cs b/src/Hexa.NET.ImNodes/Generated/Structs/MultipleSelectModifier.cs deleted file mode 100644 index 3d9d5f70f..000000000 --- a/src/Hexa.NET.ImNodes/Generated/Structs/MultipleSelectModifier.cs +++ /dev/null @@ -1,109 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImNodes -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct MultipleSelectModifier - { - /// - /// To be documented. - /// - public unsafe bool* Modifier; - - - /// - /// To be documented. - /// - public unsafe MultipleSelectModifier(bool* modifier = default) - { - Modifier = modifier; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (MultipleSelectModifier* @this = &this) - { - ImNodes.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct MultipleSelectModifierPtr : IEquatable - { - public MultipleSelectModifierPtr(MultipleSelectModifier* handle) { Handle = handle; } - - public MultipleSelectModifier* Handle; - - public bool IsNull => Handle == null; - - public static MultipleSelectModifierPtr Null => new MultipleSelectModifierPtr(null); - - public MultipleSelectModifier this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator MultipleSelectModifierPtr(MultipleSelectModifier* handle) => new MultipleSelectModifierPtr(handle); - - public static implicit operator MultipleSelectModifier*(MultipleSelectModifierPtr handle) => handle.Handle; - - public static bool operator ==(MultipleSelectModifierPtr left, MultipleSelectModifierPtr right) => left.Handle == right.Handle; - - public static bool operator !=(MultipleSelectModifierPtr left, MultipleSelectModifierPtr right) => left.Handle != right.Handle; - - public static bool operator ==(MultipleSelectModifierPtr left, MultipleSelectModifier* right) => left.Handle == right; - - public static bool operator !=(MultipleSelectModifierPtr left, MultipleSelectModifier* right) => left.Handle != right; - - public bool Equals(MultipleSelectModifierPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is MultipleSelectModifierPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("MultipleSelectModifierPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public bool* Modifier { get => Handle->Modifier; set => Handle->Modifier = value; } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImNodes.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImNodes/Hexa.NET.ImNodes.csproj b/src/Hexa.NET.ImNodes/Hexa.NET.ImNodes.csproj deleted file mode 100644 index 95778f6cd..000000000 --- a/src/Hexa.NET.ImNodes/Hexa.NET.ImNodes.csproj +++ /dev/null @@ -1,100 +0,0 @@ - - - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0 - enable - enable - true - - 12 - - true - true - true - true - - 0.5.0 - 2.2.7 - A .NET wrapper for the ImNodes library. (0.5.0) - ImNodes UI Immidate GUI Nodes Hexa HexaGen Source Generator C# .NET DotNet Sharp Windows macOS Android Bindings Wrapper Native - Juna Meinhold - Copyright (c) 2023 Juna Meinhold - https://github.com/HexaEngine/Hexa.NET.ImGui - https://github.com/HexaEngine/Hexa.NET.ImGui - git - LICENSE.txt - README.md - - true - $(NoWarn);1591 - - true - - - - - - - - - runtimes\android-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-x64/native - true - - - runtimes\android-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-arm64/native - true - - - runtimes\osx-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-arm64/native - true - - - runtimes\osx-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-x64/native - true - - - runtimes\linux-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-arm64/native - true - - - runtimes\linux-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-x64/native - true - - - runtimes\win-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-arm64/native - true - - - runtimes\win-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x64/native - true - - - runtimes\win-x86\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x86/native - true - - - - - - - - - - \ No newline at end of file diff --git a/src/Hexa.NET.ImNodes/ImNodes.cs b/src/Hexa.NET.ImNodes/ImNodes.cs deleted file mode 100644 index f14fb2a9b..000000000 --- a/src/Hexa.NET.ImNodes/ImNodes.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Hexa.NET.ImNodes -{ - using HexaGen.Runtime; - using System.Diagnostics; - - public static class ImNodesConfig - { - public static bool AotStaticLink; - } - - public static unsafe partial class ImNodes - { - static ImNodes() - { - if (ImNodesConfig.AotStaticLink) - { - InitApi(new NativeLibraryContext(Process.GetCurrentProcess().MainModule!.BaseAddress)); - } - else - { - InitApi(new NativeLibraryContext(LibraryLoader.LoadLibrary(GetLibraryName, null))); - } - } - - public static string GetLibraryName() - { - return "cimnodes"; - } - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImNodes/LICENSE.txt b/src/Hexa.NET.ImNodes/LICENSE.txt deleted file mode 100644 index b5dae7ac2..000000000 --- a/src/Hexa.NET.ImNodes/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 Juna Meinhold - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Hexa.NET.ImNodes/README.md b/src/Hexa.NET.ImNodes/README.md deleted file mode 100644 index 542427d27..000000000 --- a/src/Hexa.NET.ImNodes/README.md +++ /dev/null @@ -1 +0,0 @@ -A .NET wrapper for the Dear ImGui library. \ No newline at end of file diff --git a/src/Hexa.NET.ImPlot/AssemblyInfo.cs b/src/Hexa.NET.ImPlot/AssemblyInfo.cs deleted file mode 100644 index 0fbfeb747..000000000 --- a/src/Hexa.NET.ImPlot/AssemblyInfo.cs +++ /dev/null @@ -1,6 +0,0 @@ -#if NET7_0_OR_GREATER - -using System.Runtime.CompilerServices; - -[assembly: DisableRuntimeMarshalling] -#endif \ No newline at end of file diff --git a/src/Hexa.NET.ImPlot/Generated/Constants/Constants.000.cs b/src/Hexa.NET.ImPlot/Generated/Constants/Constants.000.cs deleted file mode 100644 index 3c0fa98e6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Constants/Constants.000.cs +++ /dev/null @@ -1,20 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Delegates/Delegates.000.cs b/src/Hexa.NET.ImPlot/Generated/Delegates/Delegates.000.cs deleted file mode 100644 index 040122dc6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Delegates/Delegates.000.cs +++ /dev/null @@ -1,180 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int Formatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] byte* buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int Formatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] nint buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void Locator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker*")] ImPlotTicker* ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange")] ImPlotRange range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] delegate* formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] void* formatterData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void Locator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker*")] nint ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange")] ImPlotRange range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] nint formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] nint formatterData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate double TransformForward([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate double TransformForward([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate double TransformInverse([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate double TransformInverse([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int UserFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] byte* buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int UserFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] nint buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int ImPlotFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] byte* buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate int ImPlotFormatter([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "buff")] [NativeName(NativeNameType.Type, "char*")] nint buff, [NativeName(NativeNameType.Param, "size")] [NativeName(NativeNameType.Type, "int")] int size, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImPlotLocator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker*")] ImPlotTicker* ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange")] ImPlotRange range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] delegate* formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] void* formatterData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void ImPlotLocator([NativeName(NativeNameType.Param, "ticker")] [NativeName(NativeNameType.Type, "ImPlotTicker*")] nint ticker, [NativeName(NativeNameType.Param, "range")] [NativeName(NativeNameType.Type, "const ImPlotRange")] ImPlotRange range, [NativeName(NativeNameType.Param, "pixels")] [NativeName(NativeNameType.Type, "float")] float pixels, [NativeName(NativeNameType.Param, "vertical")] [NativeName(NativeNameType.Type, "bool")] byte vertical, [NativeName(NativeNameType.Param, "formatter")] [NativeName(NativeNameType.Type, "ImPlotFormatter")] nint formatter, [NativeName(NativeNameType.Param, "formatter_data")] [NativeName(NativeNameType.Type, "void*")] nint formatterData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate double ImPlotTransform([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate double ImPlotTransform([NativeName(NativeNameType.Param, "value")] [NativeName(NativeNameType.Type, "double")] double value, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ImPlotPoint ImPlotGetter([NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData); - - #else - /// - /// To be documented. - /// - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate ImPlotPoint ImPlotGetter([NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData); - - #endif - - #if NET5_0_OR_GREATER - /// - /// ImPlotPoint getters manually wrapped use this
- ///
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate void* ImPlotPointGetter([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "void*")] void* data, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "point")] [NativeName(NativeNameType.Type, "ImPlotPoint*")] ImPlotPoint* point); - - #else - /// - /// ImPlotPoint getters manually wrapped use this
- ///
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public unsafe delegate nint ImPlotPointGetter([NativeName(NativeNameType.Param, "data")] [NativeName(NativeNameType.Type, "void*")] nint data, [NativeName(NativeNameType.Param, "idx")] [NativeName(NativeNameType.Type, "int")] int idx, [NativeName(NativeNameType.Param, "point")] [NativeName(NativeNameType.Type, "ImPlotPoint*")] nint point); - - #endif - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImAxis.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImAxis.cs deleted file mode 100644 index f512413e2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImAxis.cs +++ /dev/null @@ -1,58 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImAxis : int - { - /// - /// To be documented. - /// - X1 = unchecked(0), - - /// - /// To be documented. - /// - X2 = unchecked(1), - - /// - /// To be documented. - /// - X3 = unchecked(2), - - /// - /// To be documented. - /// - Y1 = unchecked(3), - - /// - /// To be documented. - /// - Y2 = unchecked(4), - - /// - /// To be documented. - /// - Y3 = unchecked(5), - - /// - /// To be documented. - /// - Count = unchecked(6), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotAxisFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotAxisFlags.cs deleted file mode 100644 index 51feeb19c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotAxisFlags.cs +++ /dev/null @@ -1,123 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotAxisFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoLabel = unchecked(1), - - /// - /// To be documented. - /// - NoGridLines = unchecked(2), - - /// - /// To be documented. - /// - NoTickMarks = unchecked(4), - - /// - /// To be documented. - /// - NoTickLabels = unchecked(8), - - /// - /// To be documented. - /// - NoInitialFit = unchecked(16), - - /// - /// To be documented. - /// - NoMenus = unchecked(32), - - /// - /// To be documented. - /// - NoSideSwitch = unchecked(64), - - /// - /// To be documented. - /// - NoHighlight = unchecked(128), - - /// - /// To be documented. - /// - Opposite = unchecked(256), - - /// - /// To be documented. - /// - Foreground = unchecked(512), - - /// - /// To be documented. - /// - Invert = unchecked(1024), - - /// - /// To be documented. - /// - AutoFit = unchecked(2048), - - /// - /// To be documented. - /// - RangeFit = unchecked(4096), - - /// - /// To be documented. - /// - PanStretch = unchecked(8192), - - /// - /// To be documented. - /// - LockMin = unchecked(16384), - - /// - /// To be documented. - /// - LockMax = unchecked(32768), - - /// - /// To be documented. - /// - Lock = unchecked(49152), - - /// - /// To be documented. - /// - NoDecorations = unchecked(15), - - /// - /// To be documented. - /// - AuxDefault = unchecked(258), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs deleted file mode 100644 index 5ab53a295..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarGroupsFlags.cs +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotBarGroupsFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Horizontal = unchecked(1024), - - /// - /// To be documented. - /// - Stacked = unchecked(2048), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarsFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarsFlags.cs deleted file mode 100644 index 5a7edc4fc..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBarsFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotBarsFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Horizontal = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBin.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBin.cs deleted file mode 100644 index e89736e2c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotBin.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotBin : int - { - /// - /// To be documented. - /// - Sqrt = unchecked(-1), - - /// - /// To be documented. - /// - Sturges = unchecked(-2), - - /// - /// To be documented. - /// - Rice = unchecked(-3), - - /// - /// To be documented. - /// - Scott = unchecked(-4), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCol.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCol.cs deleted file mode 100644 index f960e83fa..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCol.cs +++ /dev/null @@ -1,133 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotCol : int - { - /// - /// To be documented. - /// - Line = unchecked(0), - - /// - /// To be documented. - /// - Fill = unchecked(1), - - /// - /// To be documented. - /// - MarkerOutline = unchecked(2), - - /// - /// To be documented. - /// - MarkerFill = unchecked(3), - - /// - /// To be documented. - /// - ErrorBar = unchecked(4), - - /// - /// To be documented. - /// - FrameBg = unchecked(5), - - /// - /// To be documented. - /// - Bg = unchecked(6), - - /// - /// To be documented. - /// - Border = unchecked(7), - - /// - /// To be documented. - /// - LegendBg = unchecked(8), - - /// - /// To be documented. - /// - LegendBorder = unchecked(9), - - /// - /// To be documented. - /// - LegendText = unchecked(10), - - /// - /// To be documented. - /// - TitleText = unchecked(11), - - /// - /// To be documented. - /// - InlayText = unchecked(12), - - /// - /// To be documented. - /// - AxisText = unchecked(13), - - /// - /// To be documented. - /// - AxisGrid = unchecked(14), - - /// - /// To be documented. - /// - AxisTick = unchecked(15), - - /// - /// To be documented. - /// - AxisBg = unchecked(16), - - /// - /// To be documented. - /// - AxisBgHovered = unchecked(17), - - /// - /// To be documented. - /// - AxisBgActive = unchecked(18), - - /// - /// To be documented. - /// - Selection = unchecked(19), - - /// - /// To be documented. - /// - Crosshairs = unchecked(20), - - /// - /// To be documented. - /// - Count = unchecked(21), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormap.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormap.cs deleted file mode 100644 index 8fb47d7c5..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormap.cs +++ /dev/null @@ -1,103 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotColormap : int - { - /// - /// To be documented. - /// - Deep = unchecked(0), - - /// - /// To be documented. - /// - Dark = unchecked(1), - - /// - /// To be documented. - /// - Pastel = unchecked(2), - - /// - /// To be documented. - /// - Paired = unchecked(3), - - /// - /// To be documented. - /// - Viridis = unchecked(4), - - /// - /// To be documented. - /// - Plasma = unchecked(5), - - /// - /// To be documented. - /// - Hot = unchecked(6), - - /// - /// To be documented. - /// - Cool = unchecked(7), - - /// - /// To be documented. - /// - Pink = unchecked(8), - - /// - /// To be documented. - /// - Jet = unchecked(9), - - /// - /// To be documented. - /// - Twilight = unchecked(10), - - /// - /// To be documented. - /// - RdBu = unchecked(11), - - /// - /// To be documented. - /// - BrBg = unchecked(12), - - /// - /// To be documented. - /// - PiYg = unchecked(13), - - /// - /// To be documented. - /// - Spectral = unchecked(14), - - /// - /// To be documented. - /// - Greys = unchecked(15), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs deleted file mode 100644 index bc74d42a1..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotColormapScaleFlags.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotColormapScaleFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoLabel = unchecked(1), - - /// - /// To be documented. - /// - Opposite = unchecked(2), - - /// - /// To be documented. - /// - Invert = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCond.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCond.cs deleted file mode 100644 index 87fb9563c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotCond.cs +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotCond : int - { - /// - /// To be documented. - /// - None = unchecked((int)0), - - /// - /// To be documented. - /// - Always = unchecked((int)1), - - /// - /// To be documented. - /// - Once = unchecked((int)2), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDateFmt.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDateFmt.cs deleted file mode 100644 index 1ea87c2eb..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDateFmt.cs +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotDateFmt : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - DayMo = unchecked(1), - - /// - /// To be documented. - /// - DayMoYr = unchecked(2), - - /// - /// To be documented. - /// - MoYr = unchecked(3), - - /// - /// To be documented. - /// - Mo = unchecked(4), - - /// - /// To be documented. - /// - Yr = unchecked(5), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs deleted file mode 100644 index df52873b7..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDigitalFlags.cs +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotDigitalFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs deleted file mode 100644 index c211b0eec..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDragToolFlags.cs +++ /dev/null @@ -1,48 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotDragToolFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoCursors = unchecked(1), - - /// - /// To be documented. - /// - NoFit = unchecked(2), - - /// - /// To be documented. - /// - NoInputs = unchecked(4), - - /// - /// To be documented. - /// - Delayed = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDummyFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDummyFlags.cs deleted file mode 100644 index dff41d0a8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotDummyFlags.cs +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotDummyFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs deleted file mode 100644 index b3c1b40ae..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotErrorBarsFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotErrorBarsFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Horizontal = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotFlags.cs deleted file mode 100644 index 952ef54dd..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotFlags.cs +++ /dev/null @@ -1,78 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoTitle = unchecked(1), - - /// - /// To be documented. - /// - NoLegend = unchecked(2), - - /// - /// To be documented. - /// - NoMouseText = unchecked(4), - - /// - /// To be documented. - /// - NoInputs = unchecked(8), - - /// - /// To be documented. - /// - NoMenus = unchecked(16), - - /// - /// To be documented. - /// - NoBoxSelect = unchecked(32), - - /// - /// To be documented. - /// - NoFrame = unchecked(64), - - /// - /// To be documented. - /// - Equal = unchecked(128), - - /// - /// To be documented. - /// - Crosshairs = unchecked(256), - - /// - /// To be documented. - /// - CanvasOnly = unchecked(55), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs deleted file mode 100644 index 20479b949..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHeatmapFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotHeatmapFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - ColMajor = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs deleted file mode 100644 index f5845584c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotHistogramFlags.cs +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotHistogramFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Horizontal = unchecked(1024), - - /// - /// To be documented. - /// - Cumulative = unchecked(2048), - - /// - /// To be documented. - /// - Density = unchecked(4096), - - /// - /// To be documented. - /// - NoOutliers = unchecked(8192), - - /// - /// To be documented. - /// - ColMajor = unchecked(16384), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotImageFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotImageFlags.cs deleted file mode 100644 index 0c6fe0b48..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotImageFlags.cs +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotImageFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs deleted file mode 100644 index 8199cf404..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotInfLinesFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotInfLinesFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Horizontal = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotItemFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotItemFlags.cs deleted file mode 100644 index 02567f5d4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotItemFlags.cs +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotItemFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoLegend = unchecked(1), - - /// - /// To be documented. - /// - NoFit = unchecked(2), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLegendFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLegendFlags.cs deleted file mode 100644 index 2a55b2fe2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLegendFlags.cs +++ /dev/null @@ -1,63 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotLegendFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoButtons = unchecked(1), - - /// - /// To be documented. - /// - NoHighlightItem = unchecked(2), - - /// - /// To be documented. - /// - NoHighlightAxis = unchecked(4), - - /// - /// To be documented. - /// - NoMenus = unchecked(8), - - /// - /// To be documented. - /// - Outside = unchecked(16), - - /// - /// To be documented. - /// - Horizontal = unchecked(32), - - /// - /// To be documented. - /// - Sort = unchecked(64), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLineFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLineFlags.cs deleted file mode 100644 index 3e3f65cce..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLineFlags.cs +++ /dev/null @@ -1,53 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotLineFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Segments = unchecked(1024), - - /// - /// To be documented. - /// - Loop = unchecked(2048), - - /// - /// To be documented. - /// - SkipNaN = unchecked(4096), - - /// - /// To be documented. - /// - NoClip = unchecked(8192), - - /// - /// To be documented. - /// - Shaded = unchecked(16384), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLocation.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLocation.cs deleted file mode 100644 index ef5c3fe2d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotLocation.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotLocation : int - { - /// - /// To be documented. - /// - Center = unchecked(0), - - /// - /// To be documented. - /// - North = unchecked(1), - - /// - /// To be documented. - /// - South = unchecked(2), - - /// - /// To be documented. - /// - West = unchecked(4), - - /// - /// To be documented. - /// - East = unchecked(8), - - /// - /// To be documented. - /// - NorthWest = unchecked(5), - - /// - /// To be documented. - /// - NorthEast = unchecked(9), - - /// - /// To be documented. - /// - SouthWest = unchecked(6), - - /// - /// To be documented. - /// - SouthEast = unchecked(10), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMarker.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMarker.cs deleted file mode 100644 index b64443749..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMarker.cs +++ /dev/null @@ -1,83 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotMarker : int - { - /// - /// To be documented. - /// - None = unchecked(-1), - - /// - /// To be documented. - /// - Circle = unchecked(0), - - /// - /// To be documented. - /// - Square = unchecked(1), - - /// - /// To be documented. - /// - Diamond = unchecked(2), - - /// - /// To be documented. - /// - Up = unchecked(3), - - /// - /// To be documented. - /// - Down = unchecked(4), - - /// - /// To be documented. - /// - Left = unchecked(5), - - /// - /// To be documented. - /// - Right = unchecked(6), - - /// - /// To be documented. - /// - Cross = unchecked(7), - - /// - /// To be documented. - /// - Plus = unchecked(8), - - /// - /// To be documented. - /// - Asterisk = unchecked(9), - - /// - /// To be documented. - /// - Count = unchecked(10), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs deleted file mode 100644 index ac13aeee1..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotMouseTextFlags.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotMouseTextFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoAuxAxes = unchecked(1), - - /// - /// To be documented. - /// - NoFormat = unchecked(2), - - /// - /// To be documented. - /// - ShowAlways = unchecked(4), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs deleted file mode 100644 index e25674bf4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotPieChartFlags.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotPieChartFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Normalize = unchecked(1024), - - /// - /// To be documented. - /// - IgnoreHidden = unchecked(2048), - - /// - /// To be documented. - /// - Exploding = unchecked(4096), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScale.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScale.cs deleted file mode 100644 index c66f38753..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScale.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotScale : int - { - /// - /// To be documented. - /// - Linear = unchecked(0), - - /// - /// To be documented. - /// - Time = unchecked(1), - - /// - /// To be documented. - /// - Log10 = unchecked(2), - - /// - /// To be documented. - /// - SymLog = unchecked(3), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScatterFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScatterFlags.cs deleted file mode 100644 index 92d017841..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotScatterFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotScatterFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoClip = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotShadedFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotShadedFlags.cs deleted file mode 100644 index 500d171f2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotShadedFlags.cs +++ /dev/null @@ -1,28 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotShadedFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStairsFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStairsFlags.cs deleted file mode 100644 index 2260f5b5e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStairsFlags.cs +++ /dev/null @@ -1,38 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotStairsFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - PreStep = unchecked(1024), - - /// - /// To be documented. - /// - Shaded = unchecked(2048), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStemsFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStemsFlags.cs deleted file mode 100644 index 074b8a1f8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStemsFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotStemsFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Horizontal = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStyleVar.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStyleVar.cs deleted file mode 100644 index 51c10bba2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotStyleVar.cs +++ /dev/null @@ -1,163 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotStyleVar : int - { - /// - /// To be documented. - /// - LineWeight = unchecked(0), - - /// - /// To be documented. - /// - Marker = unchecked(1), - - /// - /// To be documented. - /// - MarkerSize = unchecked(2), - - /// - /// To be documented. - /// - MarkerWeight = unchecked(3), - - /// - /// To be documented. - /// - FillAlpha = unchecked(4), - - /// - /// To be documented. - /// - ErrorBarSize = unchecked(5), - - /// - /// To be documented. - /// - ErrorBarWeight = unchecked(6), - - /// - /// To be documented. - /// - DigitalHeight = unchecked(7), - - /// - /// To be documented. - /// - DigitalGap = unchecked(8), - - /// - /// To be documented. - /// - BorderSize = unchecked(9), - - /// - /// To be documented. - /// - MinorAlpha = unchecked(10), - - /// - /// To be documented. - /// - MajorTickLen = unchecked(11), - - /// - /// To be documented. - /// - MinorTickLen = unchecked(12), - - /// - /// To be documented. - /// - MajorTickSize = unchecked(13), - - /// - /// To be documented. - /// - MinorTickSize = unchecked(14), - - /// - /// To be documented. - /// - MajorGridSize = unchecked(15), - - /// - /// To be documented. - /// - MinorGridSize = unchecked(16), - - /// - /// To be documented. - /// - Padding = unchecked(17), - - /// - /// To be documented. - /// - LabelPadding = unchecked(18), - - /// - /// To be documented. - /// - LegendPadding = unchecked(19), - - /// - /// To be documented. - /// - LegendInnerPadding = unchecked(20), - - /// - /// To be documented. - /// - LegendSpacing = unchecked(21), - - /// - /// To be documented. - /// - MousePosPadding = unchecked(22), - - /// - /// To be documented. - /// - AnnotationPadding = unchecked(23), - - /// - /// To be documented. - /// - FitPadding = unchecked(24), - - /// - /// To be documented. - /// - DefaultSize = unchecked(25), - - /// - /// To be documented. - /// - MinSize = unchecked(26), - - /// - /// To be documented. - /// - Count = unchecked(27), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs deleted file mode 100644 index 11d6c2862..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotSubplotFlags.cs +++ /dev/null @@ -1,83 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotSubplotFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - NoTitle = unchecked(1), - - /// - /// To be documented. - /// - NoLegend = unchecked(2), - - /// - /// To be documented. - /// - NoMenus = unchecked(4), - - /// - /// To be documented. - /// - NoResize = unchecked(8), - - /// - /// To be documented. - /// - NoAlign = unchecked(16), - - /// - /// To be documented. - /// - ShareItems = unchecked(32), - - /// - /// To be documented. - /// - LinkRows = unchecked(64), - - /// - /// To be documented. - /// - LinkCols = unchecked(128), - - /// - /// To be documented. - /// - LinkAllX = unchecked(256), - - /// - /// To be documented. - /// - LinkAllY = unchecked(512), - - /// - /// To be documented. - /// - ColMajor = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTextFlags.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTextFlags.cs deleted file mode 100644 index ce00bd8d1..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTextFlags.cs +++ /dev/null @@ -1,33 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotTextFlags : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Vertical = unchecked(1024), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeFmt.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeFmt.cs deleted file mode 100644 index 005971c96..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeFmt.cs +++ /dev/null @@ -1,73 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotTimeFmt : int - { - /// - /// To be documented. - /// - None = unchecked(0), - - /// - /// To be documented. - /// - Us = unchecked(1), - - /// - /// To be documented. - /// - SUs = unchecked(2), - - /// - /// To be documented. - /// - SMs = unchecked(3), - - /// - /// To be documented. - /// - S = unchecked(4), - - /// - /// To be documented. - /// - MinSMs = unchecked(5), - - /// - /// To be documented. - /// - HrMinSMs = unchecked(6), - - /// - /// To be documented. - /// - HrMinS = unchecked(7), - - /// - /// To be documented. - /// - HrMin = unchecked(8), - - /// - /// To be documented. - /// - Hr = unchecked(9), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeUnit.cs b/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeUnit.cs deleted file mode 100644 index 8eaf11bba..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Enums/ImPlotTimeUnit.cs +++ /dev/null @@ -1,68 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [Flags] - public enum ImPlotTimeUnit : int - { - /// - /// To be documented. - /// - Us = unchecked(0), - - /// - /// To be documented. - /// - Ms = unchecked(1), - - /// - /// To be documented. - /// - S = unchecked(2), - - /// - /// To be documented. - /// - Min = unchecked(3), - - /// - /// To be documented. - /// - Hr = unchecked(4), - - /// - /// To be documented. - /// - Day = unchecked(5), - - /// - /// To be documented. - /// - Mo = unchecked(6), - - /// - /// To be documented. - /// - Yr = unchecked(7), - - /// - /// To be documented. - /// - Count = unchecked(8), - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/FunctionTable.cs b/src/Hexa.NET.ImPlot/Generated/FunctionTable.cs deleted file mode 100644 index 924297060..000000000 --- a/src/Hexa.NET.ImPlot/Generated/FunctionTable.cs +++ /dev/null @@ -1,748 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - internal static FunctionTable funcTable; - - /// - /// Initializes the function table, automatically called. Do not call manually, only after . - /// - public static void InitApi(INativeContext context) - { - funcTable = new FunctionTable(context, 712); - funcTable.Load(0, "ImPlotPoint_ImPlotPoint_Nil"); - funcTable.Load(1, "ImPlotPoint_destroy"); - funcTable.Load(2, "ImPlotPoint_ImPlotPoint_double"); - funcTable.Load(3, "ImPlotPoint_ImPlotPoint_Vec2"); - funcTable.Load(4, "ImPlotRange_ImPlotRange_Nil"); - funcTable.Load(5, "ImPlotRange_destroy"); - funcTable.Load(6, "ImPlotRange_ImPlotRange_double"); - funcTable.Load(7, "ImPlotRange_Contains"); - funcTable.Load(8, "ImPlotRange_Size"); - funcTable.Load(9, "ImPlotRange_Clamp"); - funcTable.Load(10, "ImPlotRect_ImPlotRect_Nil"); - funcTable.Load(11, "ImPlotRect_destroy"); - funcTable.Load(12, "ImPlotRect_ImPlotRect_double"); - funcTable.Load(13, "ImPlotRect_Contains_PlotPoInt"); - funcTable.Load(14, "ImPlotRect_Contains_double"); - funcTable.Load(15, "ImPlotRect_Size"); - funcTable.Load(16, "ImPlotRect_Clamp_PlotPoInt"); - funcTable.Load(17, "ImPlotRect_Clamp_double"); - funcTable.Load(18, "ImPlotRect_Min"); - funcTable.Load(19, "ImPlotRect_Max"); - funcTable.Load(20, "ImPlotStyle_ImPlotStyle"); - funcTable.Load(21, "ImPlotStyle_destroy"); - funcTable.Load(22, "ImPlotInputMap_ImPlotInputMap"); - funcTable.Load(23, "ImPlotInputMap_destroy"); - funcTable.Load(24, "ImPlot_CreateContext"); - funcTable.Load(25, "ImPlot_DestroyContext"); - funcTable.Load(26, "ImPlot_GetCurrentContext"); - funcTable.Load(27, "ImPlot_SetCurrentContext"); - funcTable.Load(28, "ImPlot_SetImGuiContext"); - funcTable.Load(29, "ImPlot_BeginPlot"); - funcTable.Load(30, "ImPlot_EndPlot"); - funcTable.Load(31, "ImPlot_BeginSubplots"); - funcTable.Load(32, "ImPlot_EndSubplots"); - funcTable.Load(33, "ImPlot_SetupAxis"); - funcTable.Load(34, "ImPlot_SetupAxisLimits"); - funcTable.Load(35, "ImPlot_SetupAxisLinks"); - funcTable.Load(36, "ImPlot_SetupAxisFormat_Str"); - funcTable.Load(37, "ImPlot_SetupAxisFormat_PlotFormatter"); - funcTable.Load(38, "ImPlot_SetupAxisTicks_doublePtr"); - funcTable.Load(39, "ImPlot_SetupAxisTicks_double"); - funcTable.Load(40, "ImPlot_SetupAxisScale_PlotScale"); - funcTable.Load(41, "ImPlot_SetupAxisScale_PlotTransform"); - funcTable.Load(42, "ImPlot_SetupAxisLimitsConstraints"); - funcTable.Load(43, "ImPlot_SetupAxisZoomConstraints"); - funcTable.Load(44, "ImPlot_SetupAxes"); - funcTable.Load(45, "ImPlot_SetupAxesLimits"); - funcTable.Load(46, "ImPlot_SetupLegend"); - funcTable.Load(47, "ImPlot_SetupMouseText"); - funcTable.Load(48, "ImPlot_SetupFinish"); - funcTable.Load(49, "ImPlot_SetNextAxisLimits"); - funcTable.Load(50, "ImPlot_SetNextAxisLinks"); - funcTable.Load(51, "ImPlot_SetNextAxisToFit"); - funcTable.Load(52, "ImPlot_SetNextAxesLimits"); - funcTable.Load(53, "ImPlot_SetNextAxesToFit"); - funcTable.Load(54, "ImPlot_PlotLine_FloatPtrInt"); - funcTable.Load(55, "ImPlot_PlotLine_doublePtrInt"); - funcTable.Load(56, "ImPlot_PlotLine_S8PtrInt"); - funcTable.Load(57, "ImPlot_PlotLine_S16PtrInt"); - funcTable.Load(58, "ImPlot_PlotLine_U16PtrInt"); - funcTable.Load(59, "ImPlot_PlotLine_S32PtrInt"); - funcTable.Load(60, "ImPlot_PlotLine_U32PtrInt"); - funcTable.Load(61, "ImPlot_PlotLine_S64PtrInt"); - funcTable.Load(62, "ImPlot_PlotLine_U64PtrInt"); - funcTable.Load(63, "ImPlot_PlotLine_FloatPtrFloatPtr"); - funcTable.Load(64, "ImPlot_PlotLine_doublePtrdoublePtr"); - funcTable.Load(65, "ImPlot_PlotLine_S8PtrS8Ptr"); - funcTable.Load(66, "ImPlot_PlotLine_S16PtrS16Ptr"); - funcTable.Load(67, "ImPlot_PlotLine_U16PtrU16Ptr"); - funcTable.Load(68, "ImPlot_PlotLine_S32PtrS32Ptr"); - funcTable.Load(69, "ImPlot_PlotLine_U32PtrU32Ptr"); - funcTable.Load(70, "ImPlot_PlotLine_S64PtrS64Ptr"); - funcTable.Load(71, "ImPlot_PlotLine_U64PtrU64Ptr"); - funcTable.Load(72, "ImPlot_PlotLineG"); - funcTable.Load(73, "ImPlot_PlotScatter_FloatPtrInt"); - funcTable.Load(74, "ImPlot_PlotScatter_doublePtrInt"); - funcTable.Load(75, "ImPlot_PlotScatter_S8PtrInt"); - funcTable.Load(76, "ImPlot_PlotScatter_S16PtrInt"); - funcTable.Load(77, "ImPlot_PlotScatter_U16PtrInt"); - funcTable.Load(78, "ImPlot_PlotScatter_S32PtrInt"); - funcTable.Load(79, "ImPlot_PlotScatter_U32PtrInt"); - funcTable.Load(80, "ImPlot_PlotScatter_S64PtrInt"); - funcTable.Load(81, "ImPlot_PlotScatter_U64PtrInt"); - funcTable.Load(82, "ImPlot_PlotScatter_FloatPtrFloatPtr"); - funcTable.Load(83, "ImPlot_PlotScatter_doublePtrdoublePtr"); - funcTable.Load(84, "ImPlot_PlotScatter_S8PtrS8Ptr"); - funcTable.Load(85, "ImPlot_PlotScatter_S16PtrS16Ptr"); - funcTable.Load(86, "ImPlot_PlotScatter_U16PtrU16Ptr"); - funcTable.Load(87, "ImPlot_PlotScatter_S32PtrS32Ptr"); - funcTable.Load(88, "ImPlot_PlotScatter_U32PtrU32Ptr"); - funcTable.Load(89, "ImPlot_PlotScatter_S64PtrS64Ptr"); - funcTable.Load(90, "ImPlot_PlotScatter_U64PtrU64Ptr"); - funcTable.Load(91, "ImPlot_PlotScatterG"); - funcTable.Load(92, "ImPlot_PlotStairs_FloatPtrInt"); - funcTable.Load(93, "ImPlot_PlotStairs_doublePtrInt"); - funcTable.Load(94, "ImPlot_PlotStairs_S8PtrInt"); - funcTable.Load(95, "ImPlot_PlotStairs_S16PtrInt"); - funcTable.Load(96, "ImPlot_PlotStairs_U16PtrInt"); - funcTable.Load(97, "ImPlot_PlotStairs_S32PtrInt"); - funcTable.Load(98, "ImPlot_PlotStairs_U32PtrInt"); - funcTable.Load(99, "ImPlot_PlotStairs_S64PtrInt"); - funcTable.Load(100, "ImPlot_PlotStairs_U64PtrInt"); - funcTable.Load(101, "ImPlot_PlotStairs_FloatPtrFloatPtr"); - funcTable.Load(102, "ImPlot_PlotStairs_doublePtrdoublePtr"); - funcTable.Load(103, "ImPlot_PlotStairs_S8PtrS8Ptr"); - funcTable.Load(104, "ImPlot_PlotStairs_S16PtrS16Ptr"); - funcTable.Load(105, "ImPlot_PlotStairs_U16PtrU16Ptr"); - funcTable.Load(106, "ImPlot_PlotStairs_S32PtrS32Ptr"); - funcTable.Load(107, "ImPlot_PlotStairs_U32PtrU32Ptr"); - funcTable.Load(108, "ImPlot_PlotStairs_S64PtrS64Ptr"); - funcTable.Load(109, "ImPlot_PlotStairs_U64PtrU64Ptr"); - funcTable.Load(110, "ImPlot_PlotStairsG"); - funcTable.Load(111, "ImPlot_PlotShaded_FloatPtrInt"); - funcTable.Load(112, "ImPlot_PlotShaded_doublePtrInt"); - funcTable.Load(113, "ImPlot_PlotShaded_S8PtrInt"); - funcTable.Load(114, "ImPlot_PlotShaded_S16PtrInt"); - funcTable.Load(115, "ImPlot_PlotShaded_U16PtrInt"); - funcTable.Load(116, "ImPlot_PlotShaded_S32PtrInt"); - funcTable.Load(117, "ImPlot_PlotShaded_U32PtrInt"); - funcTable.Load(118, "ImPlot_PlotShaded_S64PtrInt"); - funcTable.Load(119, "ImPlot_PlotShaded_U64PtrInt"); - funcTable.Load(120, "ImPlot_PlotShaded_FloatPtrFloatPtrInt"); - funcTable.Load(121, "ImPlot_PlotShaded_doublePtrdoublePtrInt"); - funcTable.Load(122, "ImPlot_PlotShaded_S8PtrS8PtrInt"); - funcTable.Load(123, "ImPlot_PlotShaded_S16PtrS16PtrInt"); - funcTable.Load(124, "ImPlot_PlotShaded_U16PtrU16PtrInt"); - funcTable.Load(125, "ImPlot_PlotShaded_S32PtrS32PtrInt"); - funcTable.Load(126, "ImPlot_PlotShaded_U32PtrU32PtrInt"); - funcTable.Load(127, "ImPlot_PlotShaded_S64PtrS64PtrInt"); - funcTable.Load(128, "ImPlot_PlotShaded_U64PtrU64PtrInt"); - funcTable.Load(129, "ImPlot_PlotShaded_FloatPtrFloatPtrFloatPtr"); - funcTable.Load(130, "ImPlot_PlotShaded_doublePtrdoublePtrdoublePtr"); - funcTable.Load(131, "ImPlot_PlotShaded_S8PtrS8PtrS8Ptr"); - funcTable.Load(132, "ImPlot_PlotShaded_S16PtrS16PtrS16Ptr"); - funcTable.Load(133, "ImPlot_PlotShaded_U16PtrU16PtrU16Ptr"); - funcTable.Load(134, "ImPlot_PlotShaded_S32PtrS32PtrS32Ptr"); - funcTable.Load(135, "ImPlot_PlotShaded_U32PtrU32PtrU32Ptr"); - funcTable.Load(136, "ImPlot_PlotShaded_S64PtrS64PtrS64Ptr"); - funcTable.Load(137, "ImPlot_PlotShaded_U64PtrU64PtrU64Ptr"); - funcTable.Load(138, "ImPlot_PlotShadedG"); - funcTable.Load(139, "ImPlot_PlotBars_FloatPtrInt"); - funcTable.Load(140, "ImPlot_PlotBars_doublePtrInt"); - funcTable.Load(141, "ImPlot_PlotBars_S8PtrInt"); - funcTable.Load(142, "ImPlot_PlotBars_S16PtrInt"); - funcTable.Load(143, "ImPlot_PlotBars_U16PtrInt"); - funcTable.Load(144, "ImPlot_PlotBars_S32PtrInt"); - funcTable.Load(145, "ImPlot_PlotBars_U32PtrInt"); - funcTable.Load(146, "ImPlot_PlotBars_S64PtrInt"); - funcTable.Load(147, "ImPlot_PlotBars_U64PtrInt"); - funcTable.Load(148, "ImPlot_PlotBars_FloatPtrFloatPtr"); - funcTable.Load(149, "ImPlot_PlotBars_doublePtrdoublePtr"); - funcTable.Load(150, "ImPlot_PlotBars_S8PtrS8Ptr"); - funcTable.Load(151, "ImPlot_PlotBars_S16PtrS16Ptr"); - funcTable.Load(152, "ImPlot_PlotBars_U16PtrU16Ptr"); - funcTable.Load(153, "ImPlot_PlotBars_S32PtrS32Ptr"); - funcTable.Load(154, "ImPlot_PlotBars_U32PtrU32Ptr"); - funcTable.Load(155, "ImPlot_PlotBars_S64PtrS64Ptr"); - funcTable.Load(156, "ImPlot_PlotBars_U64PtrU64Ptr"); - funcTable.Load(157, "ImPlot_PlotBarsG"); - funcTable.Load(158, "ImPlot_PlotBarGroups_FloatPtr"); - funcTable.Load(159, "ImPlot_PlotBarGroups_doublePtr"); - funcTable.Load(160, "ImPlot_PlotBarGroups_S8Ptr"); - funcTable.Load(161, "ImPlot_PlotBarGroups_S16Ptr"); - funcTable.Load(162, "ImPlot_PlotBarGroups_U16Ptr"); - funcTable.Load(163, "ImPlot_PlotBarGroups_S32Ptr"); - funcTable.Load(164, "ImPlot_PlotBarGroups_U32Ptr"); - funcTable.Load(165, "ImPlot_PlotBarGroups_S64Ptr"); - funcTable.Load(166, "ImPlot_PlotBarGroups_U64Ptr"); - funcTable.Load(167, "ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrInt"); - funcTable.Load(168, "ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrInt"); - funcTable.Load(169, "ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrInt"); - funcTable.Load(170, "ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrInt"); - funcTable.Load(171, "ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrInt"); - funcTable.Load(172, "ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrInt"); - funcTable.Load(173, "ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrInt"); - funcTable.Load(174, "ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrInt"); - funcTable.Load(175, "ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrInt"); - funcTable.Load(176, "ImPlot_PlotErrorBars_FloatPtrFloatPtrFloatPtrFloatPtr"); - funcTable.Load(177, "ImPlot_PlotErrorBars_doublePtrdoublePtrdoublePtrdoublePtr"); - funcTable.Load(178, "ImPlot_PlotErrorBars_S8PtrS8PtrS8PtrS8Ptr"); - funcTable.Load(179, "ImPlot_PlotErrorBars_S16PtrS16PtrS16PtrS16Ptr"); - funcTable.Load(180, "ImPlot_PlotErrorBars_U16PtrU16PtrU16PtrU16Ptr"); - funcTable.Load(181, "ImPlot_PlotErrorBars_S32PtrS32PtrS32PtrS32Ptr"); - funcTable.Load(182, "ImPlot_PlotErrorBars_U32PtrU32PtrU32PtrU32Ptr"); - funcTable.Load(183, "ImPlot_PlotErrorBars_S64PtrS64PtrS64PtrS64Ptr"); - funcTable.Load(184, "ImPlot_PlotErrorBars_U64PtrU64PtrU64PtrU64Ptr"); - funcTable.Load(185, "ImPlot_PlotStems_FloatPtrInt"); - funcTable.Load(186, "ImPlot_PlotStems_doublePtrInt"); - funcTable.Load(187, "ImPlot_PlotStems_S8PtrInt"); - funcTable.Load(188, "ImPlot_PlotStems_S16PtrInt"); - funcTable.Load(189, "ImPlot_PlotStems_U16PtrInt"); - funcTable.Load(190, "ImPlot_PlotStems_S32PtrInt"); - funcTable.Load(191, "ImPlot_PlotStems_U32PtrInt"); - funcTable.Load(192, "ImPlot_PlotStems_S64PtrInt"); - funcTable.Load(193, "ImPlot_PlotStems_U64PtrInt"); - funcTable.Load(194, "ImPlot_PlotStems_FloatPtrFloatPtr"); - funcTable.Load(195, "ImPlot_PlotStems_doublePtrdoublePtr"); - funcTable.Load(196, "ImPlot_PlotStems_S8PtrS8Ptr"); - funcTable.Load(197, "ImPlot_PlotStems_S16PtrS16Ptr"); - funcTable.Load(198, "ImPlot_PlotStems_U16PtrU16Ptr"); - funcTable.Load(199, "ImPlot_PlotStems_S32PtrS32Ptr"); - funcTable.Load(200, "ImPlot_PlotStems_U32PtrU32Ptr"); - funcTable.Load(201, "ImPlot_PlotStems_S64PtrS64Ptr"); - funcTable.Load(202, "ImPlot_PlotStems_U64PtrU64Ptr"); - funcTable.Load(203, "ImPlot_PlotInfLines_FloatPtr"); - funcTable.Load(204, "ImPlot_PlotInfLines_doublePtr"); - funcTable.Load(205, "ImPlot_PlotInfLines_S8Ptr"); - funcTable.Load(206, "ImPlot_PlotInfLines_S16Ptr"); - funcTable.Load(207, "ImPlot_PlotInfLines_U16Ptr"); - funcTable.Load(208, "ImPlot_PlotInfLines_S32Ptr"); - funcTable.Load(209, "ImPlot_PlotInfLines_U32Ptr"); - funcTable.Load(210, "ImPlot_PlotInfLines_S64Ptr"); - funcTable.Load(211, "ImPlot_PlotInfLines_U64Ptr"); - funcTable.Load(212, "ImPlot_PlotPieChart_FloatPtrPlotFormatter"); - funcTable.Load(213, "ImPlot_PlotPieChart_doublePtrPlotFormatter"); - funcTable.Load(214, "ImPlot_PlotPieChart_S8PtrPlotFormatter"); - funcTable.Load(215, "ImPlot_PlotPieChart_S16PtrPlotFormatter"); - funcTable.Load(216, "ImPlot_PlotPieChart_U16PtrPlotFormatter"); - funcTable.Load(217, "ImPlot_PlotPieChart_S32PtrPlotFormatter"); - funcTable.Load(218, "ImPlot_PlotPieChart_U32PtrPlotFormatter"); - funcTable.Load(219, "ImPlot_PlotPieChart_S64PtrPlotFormatter"); - funcTable.Load(220, "ImPlot_PlotPieChart_U64PtrPlotFormatter"); - funcTable.Load(221, "ImPlot_PlotPieChart_FloatPtrStr"); - funcTable.Load(222, "ImPlot_PlotPieChart_doublePtrStr"); - funcTable.Load(223, "ImPlot_PlotPieChart_S8PtrStr"); - funcTable.Load(224, "ImPlot_PlotPieChart_S16PtrStr"); - funcTable.Load(225, "ImPlot_PlotPieChart_U16PtrStr"); - funcTable.Load(226, "ImPlot_PlotPieChart_S32PtrStr"); - funcTable.Load(227, "ImPlot_PlotPieChart_U32PtrStr"); - funcTable.Load(228, "ImPlot_PlotPieChart_S64PtrStr"); - funcTable.Load(229, "ImPlot_PlotPieChart_U64PtrStr"); - funcTable.Load(230, "ImPlot_PlotHeatmap_FloatPtr"); - funcTable.Load(231, "ImPlot_PlotHeatmap_doublePtr"); - funcTable.Load(232, "ImPlot_PlotHeatmap_S8Ptr"); - funcTable.Load(233, "ImPlot_PlotHeatmap_S16Ptr"); - funcTable.Load(234, "ImPlot_PlotHeatmap_U16Ptr"); - funcTable.Load(235, "ImPlot_PlotHeatmap_S32Ptr"); - funcTable.Load(236, "ImPlot_PlotHeatmap_U32Ptr"); - funcTable.Load(237, "ImPlot_PlotHeatmap_S64Ptr"); - funcTable.Load(238, "ImPlot_PlotHeatmap_U64Ptr"); - funcTable.Load(239, "ImPlot_PlotHistogram_FloatPtr"); - funcTable.Load(240, "ImPlot_PlotHistogram_doublePtr"); - funcTable.Load(241, "ImPlot_PlotHistogram_S8Ptr"); - funcTable.Load(242, "ImPlot_PlotHistogram_S16Ptr"); - funcTable.Load(243, "ImPlot_PlotHistogram_U16Ptr"); - funcTable.Load(244, "ImPlot_PlotHistogram_S32Ptr"); - funcTable.Load(245, "ImPlot_PlotHistogram_U32Ptr"); - funcTable.Load(246, "ImPlot_PlotHistogram_S64Ptr"); - funcTable.Load(247, "ImPlot_PlotHistogram_U64Ptr"); - funcTable.Load(248, "ImPlot_PlotHistogram2D_FloatPtr"); - funcTable.Load(249, "ImPlot_PlotHistogram2D_doublePtr"); - funcTable.Load(250, "ImPlot_PlotHistogram2D_S8Ptr"); - funcTable.Load(251, "ImPlot_PlotHistogram2D_S16Ptr"); - funcTable.Load(252, "ImPlot_PlotHistogram2D_U16Ptr"); - funcTable.Load(253, "ImPlot_PlotHistogram2D_S32Ptr"); - funcTable.Load(254, "ImPlot_PlotHistogram2D_U32Ptr"); - funcTable.Load(255, "ImPlot_PlotHistogram2D_S64Ptr"); - funcTable.Load(256, "ImPlot_PlotHistogram2D_U64Ptr"); - funcTable.Load(257, "ImPlot_PlotDigital_FloatPtr"); - funcTable.Load(258, "ImPlot_PlotDigital_doublePtr"); - funcTable.Load(259, "ImPlot_PlotDigital_S8Ptr"); - funcTable.Load(260, "ImPlot_PlotDigital_S16Ptr"); - funcTable.Load(261, "ImPlot_PlotDigital_U16Ptr"); - funcTable.Load(262, "ImPlot_PlotDigital_S32Ptr"); - funcTable.Load(263, "ImPlot_PlotDigital_U32Ptr"); - funcTable.Load(264, "ImPlot_PlotDigital_S64Ptr"); - funcTable.Load(265, "ImPlot_PlotDigital_U64Ptr"); - funcTable.Load(266, "ImPlot_PlotDigitalG"); - funcTable.Load(267, "ImPlot_PlotImage"); - funcTable.Load(268, "ImPlot_PlotText"); - funcTable.Load(269, "ImPlot_PlotDummy"); - funcTable.Load(270, "ImPlot_DragPoint"); - funcTable.Load(271, "ImPlot_DragLineX"); - funcTable.Load(272, "ImPlot_DragLineY"); - funcTable.Load(273, "ImPlot_DragRect"); - funcTable.Load(274, "ImPlot_Annotation_Bool"); - funcTable.Load(275, "ImPlot_Annotation_Str"); - funcTable.Load(276, "ImPlot_AnnotationV"); - funcTable.Load(277, "ImPlot_TagX_Bool"); - funcTable.Load(278, "ImPlot_TagX_Str"); - funcTable.Load(279, "ImPlot_TagXV"); - funcTable.Load(280, "ImPlot_TagY_Bool"); - funcTable.Load(281, "ImPlot_TagY_Str"); - funcTable.Load(282, "ImPlot_TagYV"); - funcTable.Load(283, "ImPlot_SetAxis"); - funcTable.Load(284, "ImPlot_SetAxes"); - funcTable.Load(285, "ImPlot_PixelsToPlot_Vec2"); - funcTable.Load(286, "ImPlot_PixelsToPlot_Float"); - funcTable.Load(287, "ImPlot_PlotToPixels_PlotPoInt"); - funcTable.Load(288, "ImPlot_PlotToPixels_double"); - funcTable.Load(289, "ImPlot_GetPlotPos"); - funcTable.Load(290, "ImPlot_GetPlotSize"); - funcTable.Load(291, "ImPlot_GetPlotMousePos"); - funcTable.Load(292, "ImPlot_GetPlotLimits"); - funcTable.Load(293, "ImPlot_IsPlotHovered"); - funcTable.Load(294, "ImPlot_IsAxisHovered"); - funcTable.Load(295, "ImPlot_IsSubplotsHovered"); - funcTable.Load(296, "ImPlot_IsPlotSelected"); - funcTable.Load(297, "ImPlot_GetPlotSelection"); - funcTable.Load(298, "ImPlot_CancelPlotSelection"); - funcTable.Load(299, "ImPlot_HideNextItem"); - funcTable.Load(300, "ImPlot_BeginAlignedPlots"); - funcTable.Load(301, "ImPlot_EndAlignedPlots"); - funcTable.Load(302, "ImPlot_BeginLegendPopup"); - funcTable.Load(303, "ImPlot_EndLegendPopup"); - funcTable.Load(304, "ImPlot_IsLegendEntryHovered"); - funcTable.Load(305, "ImPlot_BeginDragDropTargetPlot"); - funcTable.Load(306, "ImPlot_BeginDragDropTargetAxis"); - funcTable.Load(307, "ImPlot_BeginDragDropTargetLegend"); - funcTable.Load(308, "ImPlot_EndDragDropTarget"); - funcTable.Load(309, "ImPlot_BeginDragDropSourcePlot"); - funcTable.Load(310, "ImPlot_BeginDragDropSourceAxis"); - funcTable.Load(311, "ImPlot_BeginDragDropSourceItem"); - funcTable.Load(312, "ImPlot_EndDragDropSource"); - funcTable.Load(313, "ImPlot_GetStyle"); - funcTable.Load(314, "ImPlot_StyleColorsAuto"); - funcTable.Load(315, "ImPlot_StyleColorsClassic"); - funcTable.Load(316, "ImPlot_StyleColorsDark"); - funcTable.Load(317, "ImPlot_StyleColorsLight"); - funcTable.Load(318, "ImPlot_PushStyleColor_U32"); - funcTable.Load(319, "ImPlot_PushStyleColor_Vec4"); - funcTable.Load(320, "ImPlot_PopStyleColor"); - funcTable.Load(321, "ImPlot_PushStyleVar_Float"); - funcTable.Load(322, "ImPlot_PushStyleVar_Int"); - funcTable.Load(323, "ImPlot_PushStyleVar_Vec2"); - funcTable.Load(324, "ImPlot_PopStyleVar"); - funcTable.Load(325, "ImPlot_SetNextLineStyle"); - funcTable.Load(326, "ImPlot_SetNextFillStyle"); - funcTable.Load(327, "ImPlot_SetNextMarkerStyle"); - funcTable.Load(328, "ImPlot_SetNextErrorBarStyle"); - funcTable.Load(329, "ImPlot_GetLastItemColor"); - funcTable.Load(330, "ImPlot_GetStyleColorName"); - funcTable.Load(331, "ImPlot_GetMarkerName"); - funcTable.Load(332, "ImPlot_AddColormap_Vec4Ptr"); - funcTable.Load(333, "ImPlot_AddColormap_U32Ptr"); - funcTable.Load(334, "ImPlot_GetColormapCount"); - funcTable.Load(335, "ImPlot_GetColormapName"); - funcTable.Load(336, "ImPlot_GetColormapIndex"); - funcTable.Load(337, "ImPlot_PushColormap_PlotColormap"); - funcTable.Load(338, "ImPlot_PushColormap_Str"); - funcTable.Load(339, "ImPlot_PopColormap"); - funcTable.Load(340, "ImPlot_NextColormapColor"); - funcTable.Load(341, "ImPlot_GetColormapSize"); - funcTable.Load(342, "ImPlot_GetColormapColor"); - funcTable.Load(343, "ImPlot_SampleColormap"); - funcTable.Load(344, "ImPlot_ColormapScale"); - funcTable.Load(345, "ImPlot_ColormapSlider"); - funcTable.Load(346, "ImPlot_ColormapButton"); - funcTable.Load(347, "ImPlot_BustColorCache"); - funcTable.Load(348, "ImPlot_GetInputMap"); - funcTable.Load(349, "ImPlot_MapInputDefault"); - funcTable.Load(350, "ImPlot_MapInputReverse"); - funcTable.Load(351, "ImPlot_ItemIcon_Vec4"); - funcTable.Load(352, "ImPlot_ItemIcon_U32"); - funcTable.Load(353, "ImPlot_ColormapIcon"); - funcTable.Load(354, "ImPlot_GetPlotDrawList"); - funcTable.Load(355, "ImPlot_PushPlotClipRect"); - funcTable.Load(356, "ImPlot_PopPlotClipRect"); - funcTable.Load(357, "ImPlot_ShowStyleSelector"); - funcTable.Load(358, "ImPlot_ShowColormapSelector"); - funcTable.Load(359, "ImPlot_ShowInputMapSelector"); - funcTable.Load(360, "ImPlot_ShowStyleEditor"); - funcTable.Load(361, "ImPlot_ShowUserGuide"); - funcTable.Load(362, "ImPlot_ShowMetricsWindow"); - funcTable.Load(363, "ImPlot_ShowDemoWindow"); - funcTable.Load(364, "ImPlot_ImLog10_Float"); - funcTable.Load(365, "ImPlot_ImLog10_double"); - funcTable.Load(366, "ImPlot_ImSinh_Float"); - funcTable.Load(367, "ImPlot_ImSinh_double"); - funcTable.Load(368, "ImPlot_ImAsinh_Float"); - funcTable.Load(369, "ImPlot_ImAsinh_double"); - funcTable.Load(370, "ImPlot_ImRemap_Float"); - funcTable.Load(371, "ImPlot_ImRemap_double"); - funcTable.Load(372, "ImPlot_ImRemap_S8"); - funcTable.Load(373, "ImPlot_ImRemap_S16"); - funcTable.Load(374, "ImPlot_ImRemap_U16"); - funcTable.Load(375, "ImPlot_ImRemap_S32"); - funcTable.Load(376, "ImPlot_ImRemap_U32"); - funcTable.Load(377, "ImPlot_ImRemap_S64"); - funcTable.Load(378, "ImPlot_ImRemap_U64"); - funcTable.Load(379, "ImPlot_ImRemap01_Float"); - funcTable.Load(380, "ImPlot_ImRemap01_double"); - funcTable.Load(381, "ImPlot_ImRemap01_S8"); - funcTable.Load(382, "ImPlot_ImRemap01_S16"); - funcTable.Load(383, "ImPlot_ImRemap01_U16"); - funcTable.Load(384, "ImPlot_ImRemap01_S32"); - funcTable.Load(385, "ImPlot_ImRemap01_U32"); - funcTable.Load(386, "ImPlot_ImRemap01_S64"); - funcTable.Load(387, "ImPlot_ImRemap01_U64"); - funcTable.Load(388, "ImPlot_ImPosMod"); - funcTable.Load(389, "ImPlot_ImNan"); - funcTable.Load(390, "ImPlot_ImNanOrInf"); - funcTable.Load(391, "ImPlot_ImConstrainNan"); - funcTable.Load(392, "ImPlot_ImConstrainInf"); - funcTable.Load(393, "ImPlot_ImConstrainLog"); - funcTable.Load(394, "ImPlot_ImConstrainTime"); - funcTable.Load(395, "ImPlot_ImAlmostEqual"); - funcTable.Load(396, "ImPlot_ImMinArray_FloatPtr"); - funcTable.Load(397, "ImPlot_ImMinArray_doublePtr"); - funcTable.Load(398, "ImPlot_ImMinArray_S8Ptr"); - funcTable.Load(399, "ImPlot_ImMinArray_S16Ptr"); - funcTable.Load(400, "ImPlot_ImMinArray_U16Ptr"); - funcTable.Load(401, "ImPlot_ImMinArray_S32Ptr"); - funcTable.Load(402, "ImPlot_ImMinArray_U32Ptr"); - funcTable.Load(403, "ImPlot_ImMinArray_S64Ptr"); - funcTable.Load(404, "ImPlot_ImMinArray_U64Ptr"); - funcTable.Load(405, "ImPlot_ImMaxArray_FloatPtr"); - funcTable.Load(406, "ImPlot_ImMaxArray_doublePtr"); - funcTable.Load(407, "ImPlot_ImMaxArray_S8Ptr"); - funcTable.Load(408, "ImPlot_ImMaxArray_S16Ptr"); - funcTable.Load(409, "ImPlot_ImMaxArray_U16Ptr"); - funcTable.Load(410, "ImPlot_ImMaxArray_S32Ptr"); - funcTable.Load(411, "ImPlot_ImMaxArray_U32Ptr"); - funcTable.Load(412, "ImPlot_ImMaxArray_S64Ptr"); - funcTable.Load(413, "ImPlot_ImMaxArray_U64Ptr"); - funcTable.Load(414, "ImPlot_ImMinMaxArray_FloatPtr"); - funcTable.Load(415, "ImPlot_ImMinMaxArray_doublePtr"); - funcTable.Load(416, "ImPlot_ImMinMaxArray_S8Ptr"); - funcTable.Load(417, "ImPlot_ImMinMaxArray_S16Ptr"); - funcTable.Load(418, "ImPlot_ImMinMaxArray_U16Ptr"); - funcTable.Load(419, "ImPlot_ImMinMaxArray_S32Ptr"); - funcTable.Load(420, "ImPlot_ImMinMaxArray_U32Ptr"); - funcTable.Load(421, "ImPlot_ImMinMaxArray_S64Ptr"); - funcTable.Load(422, "ImPlot_ImMinMaxArray_U64Ptr"); - funcTable.Load(423, "ImPlot_ImSum_FloatPtr"); - funcTable.Load(424, "ImPlot_ImSum_doublePtr"); - funcTable.Load(425, "ImPlot_ImSum_S8Ptr"); - funcTable.Load(426, "ImPlot_ImSum_S16Ptr"); - funcTable.Load(427, "ImPlot_ImSum_U16Ptr"); - funcTable.Load(428, "ImPlot_ImSum_S32Ptr"); - funcTable.Load(429, "ImPlot_ImSum_U32Ptr"); - funcTable.Load(430, "ImPlot_ImSum_S64Ptr"); - funcTable.Load(431, "ImPlot_ImSum_U64Ptr"); - funcTable.Load(432, "ImPlot_ImMean_FloatPtr"); - funcTable.Load(433, "ImPlot_ImMean_doublePtr"); - funcTable.Load(434, "ImPlot_ImMean_S8Ptr"); - funcTable.Load(435, "ImPlot_ImMean_S16Ptr"); - funcTable.Load(436, "ImPlot_ImMean_U16Ptr"); - funcTable.Load(437, "ImPlot_ImMean_S32Ptr"); - funcTable.Load(438, "ImPlot_ImMean_U32Ptr"); - funcTable.Load(439, "ImPlot_ImMean_S64Ptr"); - funcTable.Load(440, "ImPlot_ImMean_U64Ptr"); - funcTable.Load(441, "ImPlot_ImStdDev_FloatPtr"); - funcTable.Load(442, "ImPlot_ImStdDev_doublePtr"); - funcTable.Load(443, "ImPlot_ImStdDev_S8Ptr"); - funcTable.Load(444, "ImPlot_ImStdDev_S16Ptr"); - funcTable.Load(445, "ImPlot_ImStdDev_U16Ptr"); - funcTable.Load(446, "ImPlot_ImStdDev_S32Ptr"); - funcTable.Load(447, "ImPlot_ImStdDev_U32Ptr"); - funcTable.Load(448, "ImPlot_ImStdDev_S64Ptr"); - funcTable.Load(449, "ImPlot_ImStdDev_U64Ptr"); - funcTable.Load(450, "ImPlot_ImMixU32"); - funcTable.Load(451, "ImPlot_ImLerpU32"); - funcTable.Load(452, "ImPlot_ImAlphaU32"); - funcTable.Load(453, "ImPlot_ImOverlaps_Float"); - funcTable.Load(454, "ImPlot_ImOverlaps_double"); - funcTable.Load(455, "ImPlot_ImOverlaps_S8"); - funcTable.Load(456, "ImPlot_ImOverlaps_S16"); - funcTable.Load(457, "ImPlot_ImOverlaps_U16"); - funcTable.Load(458, "ImPlot_ImOverlaps_S32"); - funcTable.Load(459, "ImPlot_ImOverlaps_U32"); - funcTable.Load(460, "ImPlot_ImOverlaps_S64"); - funcTable.Load(461, "ImPlot_ImOverlaps_U64"); - funcTable.Load(462, "ImPlotDateTimeSpec_ImPlotDateTimeSpec_Nil"); - funcTable.Load(463, "ImPlotDateTimeSpec_destroy"); - funcTable.Load(464, "ImPlotDateTimeSpec_ImPlotDateTimeSpec_PlotDateFmt"); - funcTable.Load(465, "ImPlotTime_ImPlotTime_Nil"); - funcTable.Load(466, "ImPlotTime_destroy"); - funcTable.Load(467, "ImPlotTime_ImPlotTime_time_t"); - funcTable.Load(468, "ImPlotTime_RollOver"); - funcTable.Load(469, "ImPlotTime_ToDouble"); - funcTable.Load(470, "ImPlotTime_FromDouble"); - funcTable.Load(471, "ImPlotColormapData_ImPlotColormapData"); - funcTable.Load(472, "ImPlotColormapData_destroy"); - funcTable.Load(473, "ImPlotColormapData_Append"); - funcTable.Load(474, "ImPlotColormapData__AppendTable"); - funcTable.Load(475, "ImPlotColormapData_RebuildTables"); - funcTable.Load(476, "ImPlotColormapData_IsQual"); - funcTable.Load(477, "ImPlotColormapData_GetName"); - funcTable.Load(478, "ImPlotColormapData_GetIndex"); - funcTable.Load(479, "ImPlotColormapData_GetKeys"); - funcTable.Load(480, "ImPlotColormapData_GetKeyCount"); - funcTable.Load(481, "ImPlotColormapData_GetKeyColor"); - funcTable.Load(482, "ImPlotColormapData_SetKeyColor"); - funcTable.Load(483, "ImPlotColormapData_GetTable"); - funcTable.Load(484, "ImPlotColormapData_GetTableSize"); - funcTable.Load(485, "ImPlotColormapData_GetTableColor"); - funcTable.Load(486, "ImPlotColormapData_LerpTable"); - funcTable.Load(487, "ImPlotPointError_ImPlotPointError"); - funcTable.Load(488, "ImPlotPointError_destroy"); - funcTable.Load(489, "ImPlotAnnotation_ImPlotAnnotation"); - funcTable.Load(490, "ImPlotAnnotation_destroy"); - funcTable.Load(491, "ImPlotAnnotationCollection_ImPlotAnnotationCollection"); - funcTable.Load(492, "ImPlotAnnotationCollection_destroy"); - funcTable.Load(493, "ImPlotAnnotationCollection_AppendV"); - funcTable.Load(494, "ImPlotAnnotationCollection_Append"); - funcTable.Load(495, "ImPlotAnnotationCollection_GetText"); - funcTable.Load(496, "ImPlotAnnotationCollection_Reset"); - funcTable.Load(497, "ImPlotTagCollection_ImPlotTagCollection"); - funcTable.Load(498, "ImPlotTagCollection_destroy"); - funcTable.Load(499, "ImPlotTagCollection_AppendV"); - funcTable.Load(500, "ImPlotTagCollection_Append"); - funcTable.Load(501, "ImPlotTagCollection_GetText"); - funcTable.Load(502, "ImPlotTagCollection_Reset"); - funcTable.Load(503, "ImPlotTick_ImPlotTick"); - funcTable.Load(504, "ImPlotTick_destroy"); - funcTable.Load(505, "ImPlotTicker_ImPlotTicker"); - funcTable.Load(506, "ImPlotTicker_destroy"); - funcTable.Load(507, "ImPlotTicker_AddTick_doubleStr"); - funcTable.Load(508, "ImPlotTicker_AddTick_doublePlotFormatter"); - funcTable.Load(509, "ImPlotTicker_AddTick_PlotTick"); - funcTable.Load(510, "ImPlotTicker_GetText_Int"); - funcTable.Load(511, "ImPlotTicker_GetText_PlotTick"); - funcTable.Load(512, "ImPlotTicker_OverrideSizeLate"); - funcTable.Load(513, "ImPlotTicker_Reset"); - funcTable.Load(514, "ImPlotTicker_TickCount"); - funcTable.Load(515, "ImPlotAxis_ImPlotAxis"); - funcTable.Load(516, "ImPlotAxis_destroy"); - funcTable.Load(517, "ImPlotAxis_Reset"); - funcTable.Load(518, "ImPlotAxis_SetMin"); - funcTable.Load(519, "ImPlotAxis_SetMax"); - funcTable.Load(520, "ImPlotAxis_SetRange_double"); - funcTable.Load(521, "ImPlotAxis_SetRange_PlotRange"); - funcTable.Load(522, "ImPlotAxis_SetAspect"); - funcTable.Load(523, "ImPlotAxis_PixelSize"); - funcTable.Load(524, "ImPlotAxis_GetAspect"); - funcTable.Load(525, "ImPlotAxis_Constrain"); - funcTable.Load(526, "ImPlotAxis_UpdateTransformCache"); - funcTable.Load(527, "ImPlotAxis_PlotToPixels"); - funcTable.Load(528, "ImPlotAxis_PixelsToPlot"); - funcTable.Load(529, "ImPlotAxis_ExtendFit"); - funcTable.Load(530, "ImPlotAxis_ExtendFitWith"); - funcTable.Load(531, "ImPlotAxis_ApplyFit"); - funcTable.Load(532, "ImPlotAxis_HasLabel"); - funcTable.Load(533, "ImPlotAxis_HasGridLines"); - funcTable.Load(534, "ImPlotAxis_HasTickLabels"); - funcTable.Load(535, "ImPlotAxis_HasTickMarks"); - funcTable.Load(536, "ImPlotAxis_WillRender"); - funcTable.Load(537, "ImPlotAxis_IsOpposite"); - funcTable.Load(538, "ImPlotAxis_IsInverted"); - funcTable.Load(539, "ImPlotAxis_IsForeground"); - funcTable.Load(540, "ImPlotAxis_IsAutoFitting"); - funcTable.Load(541, "ImPlotAxis_CanInitFit"); - funcTable.Load(542, "ImPlotAxis_IsRangeLocked"); - funcTable.Load(543, "ImPlotAxis_IsLockedMin"); - funcTable.Load(544, "ImPlotAxis_IsLockedMax"); - funcTable.Load(545, "ImPlotAxis_IsLocked"); - funcTable.Load(546, "ImPlotAxis_IsInputLockedMin"); - funcTable.Load(547, "ImPlotAxis_IsInputLockedMax"); - funcTable.Load(548, "ImPlotAxis_IsInputLocked"); - funcTable.Load(549, "ImPlotAxis_HasMenus"); - funcTable.Load(550, "ImPlotAxis_IsPanLocked"); - funcTable.Load(551, "ImPlotAxis_PushLinks"); - funcTable.Load(552, "ImPlotAxis_PullLinks"); - funcTable.Load(553, "ImPlotAlignmentData_ImPlotAlignmentData"); - funcTable.Load(554, "ImPlotAlignmentData_destroy"); - funcTable.Load(555, "ImPlotAlignmentData_Begin"); - funcTable.Load(556, "ImPlotAlignmentData_Update"); - funcTable.Load(557, "ImPlotAlignmentData_End"); - funcTable.Load(558, "ImPlotAlignmentData_Reset"); - funcTable.Load(559, "ImPlotItem_ImPlotItem"); - funcTable.Load(560, "ImPlotItem_destroy"); - funcTable.Load(561, "ImPlotLegend_ImPlotLegend"); - funcTable.Load(562, "ImPlotLegend_destroy"); - funcTable.Load(563, "ImPlotLegend_Reset"); - funcTable.Load(564, "ImPlotItemGroup_ImPlotItemGroup"); - funcTable.Load(565, "ImPlotItemGroup_destroy"); - funcTable.Load(566, "ImPlotItemGroup_GetItemCount"); - funcTable.Load(567, "ImPlotItemGroup_GetItemID"); - funcTable.Load(568, "ImPlotItemGroup_GetItem_ID"); - funcTable.Load(569, "ImPlotItemGroup_GetItem_Str"); - funcTable.Load(570, "ImPlotItemGroup_GetOrAddItem"); - funcTable.Load(571, "ImPlotItemGroup_GetItemByIndex"); - funcTable.Load(572, "ImPlotItemGroup_GetItemIndex"); - funcTable.Load(573, "ImPlotItemGroup_GetLegendCount"); - funcTable.Load(574, "ImPlotItemGroup_GetLegendItem"); - funcTable.Load(575, "ImPlotItemGroup_GetLegendLabel"); - funcTable.Load(576, "ImPlotItemGroup_Reset"); - funcTable.Load(577, "ImPlotPlot_ImPlotPlot"); - funcTable.Load(578, "ImPlotPlot_destroy"); - funcTable.Load(579, "ImPlotPlot_IsInputLocked"); - funcTable.Load(580, "ImPlotPlot_ClearTextBuffer"); - funcTable.Load(581, "ImPlotPlot_SetTitle"); - funcTable.Load(582, "ImPlotPlot_HasTitle"); - funcTable.Load(583, "ImPlotPlot_GetTitle"); - funcTable.Load(584, "ImPlotPlot_XAxis_Nil"); - funcTable.Load(585, "ImPlotPlot_XAxis__const"); - funcTable.Load(586, "ImPlotPlot_YAxis_Nil"); - funcTable.Load(587, "ImPlotPlot_YAxis__const"); - funcTable.Load(588, "ImPlotPlot_EnabledAxesX"); - funcTable.Load(589, "ImPlotPlot_EnabledAxesY"); - funcTable.Load(590, "ImPlotPlot_SetAxisLabel"); - funcTable.Load(591, "ImPlotPlot_GetAxisLabel"); - funcTable.Load(592, "ImPlotSubplot_ImPlotSubplot"); - funcTable.Load(593, "ImPlotSubplot_destroy"); - funcTable.Load(594, "ImPlotNextPlotData_ImPlotNextPlotData"); - funcTable.Load(595, "ImPlotNextPlotData_destroy"); - funcTable.Load(596, "ImPlotNextPlotData_Reset"); - funcTable.Load(597, "ImPlotNextItemData_ImPlotNextItemData"); - funcTable.Load(598, "ImPlotNextItemData_destroy"); - funcTable.Load(599, "ImPlotNextItemData_Reset"); - funcTable.Load(600, "ImPlot_Initialize"); - funcTable.Load(601, "ImPlot_ResetCtxForNextPlot"); - funcTable.Load(602, "ImPlot_ResetCtxForNextAlignedPlots"); - funcTable.Load(603, "ImPlot_ResetCtxForNextSubplot"); - funcTable.Load(604, "ImPlot_GetPlot"); - funcTable.Load(605, "ImPlot_GetCurrentPlot"); - funcTable.Load(606, "ImPlot_BustPlotCache"); - funcTable.Load(607, "ImPlot_ShowPlotContextMenu"); - funcTable.Load(608, "ImPlot_SetupLock"); - funcTable.Load(609, "ImPlot_SubplotNextCell"); - funcTable.Load(610, "ImPlot_ShowSubplotsContextMenu"); - funcTable.Load(611, "ImPlot_BeginItem"); - funcTable.Load(612, "ImPlot_EndItem"); - funcTable.Load(613, "ImPlot_RegisterOrGetItem"); - funcTable.Load(614, "ImPlot_GetItem"); - funcTable.Load(615, "ImPlot_GetCurrentItem"); - funcTable.Load(616, "ImPlot_BustItemCache"); - funcTable.Load(617, "ImPlot_AnyAxesInputLocked"); - funcTable.Load(618, "ImPlot_AllAxesInputLocked"); - funcTable.Load(619, "ImPlot_AnyAxesHeld"); - funcTable.Load(620, "ImPlot_AnyAxesHovered"); - funcTable.Load(621, "ImPlot_FitThisFrame"); - funcTable.Load(622, "ImPlot_FitPointX"); - funcTable.Load(623, "ImPlot_FitPointY"); - funcTable.Load(624, "ImPlot_FitPoint"); - funcTable.Load(625, "ImPlot_RangesOverlap"); - funcTable.Load(626, "ImPlot_ShowAxisContextMenu"); - funcTable.Load(627, "ImPlot_GetLocationPos"); - funcTable.Load(628, "ImPlot_CalcLegendSize"); - funcTable.Load(629, "ImPlot_ClampLegendRect"); - funcTable.Load(630, "ImPlot_ShowLegendEntries"); - funcTable.Load(631, "ImPlot_ShowAltLegend"); - funcTable.Load(632, "ImPlot_ShowLegendContextMenu"); - funcTable.Load(633, "ImPlot_LabelAxisValue"); - funcTable.Load(634, "ImPlot_GetItemData"); - funcTable.Load(635, "ImPlot_IsColorAuto_Vec4"); - funcTable.Load(636, "ImPlot_IsColorAuto_PlotCol"); - funcTable.Load(637, "ImPlot_GetAutoColor"); - funcTable.Load(638, "ImPlot_GetStyleColorVec4"); - funcTable.Load(639, "ImPlot_GetStyleColorU32"); - funcTable.Load(640, "ImPlot_AddTextVertical"); - funcTable.Load(641, "ImPlot_AddTextCentered"); - funcTable.Load(642, "ImPlot_CalcTextSizeVertical"); - funcTable.Load(643, "ImPlot_CalcTextColor_Vec4"); - funcTable.Load(644, "ImPlot_CalcTextColor_U32"); - funcTable.Load(645, "ImPlot_CalcHoverColor"); - funcTable.Load(646, "ImPlot_ClampLabelPos"); - funcTable.Load(647, "ImPlot_GetColormapColorU32"); - funcTable.Load(648, "ImPlot_NextColormapColorU32"); - funcTable.Load(649, "ImPlot_SampleColormapU32"); - funcTable.Load(650, "ImPlot_RenderColorBar"); - funcTable.Load(651, "ImPlot_NiceNum"); - funcTable.Load(652, "ImPlot_OrderOfMagnitude"); - funcTable.Load(653, "ImPlot_OrderToPrecision"); - funcTable.Load(654, "ImPlot_Precision"); - funcTable.Load(655, "ImPlot_RoundTo"); - funcTable.Load(656, "ImPlot_Intersection"); - funcTable.Load(657, "ImPlot_FillRange_Vector_Float_Ptr"); - funcTable.Load(658, "ImPlot_FillRange_Vector_double_Ptr"); - funcTable.Load(659, "ImPlot_FillRange_Vector_S8_Ptr"); - funcTable.Load(660, "ImPlot_FillRange_Vector_U8_Ptr"); - funcTable.Load(661, "ImPlot_FillRange_Vector_S16_Ptr"); - funcTable.Load(662, "ImPlot_FillRange_Vector_U16_Ptr"); - funcTable.Load(663, "ImPlot_FillRange_Vector_S32_Ptr"); - funcTable.Load(664, "ImPlot_FillRange_Vector_U32_Ptr"); - funcTable.Load(665, "ImPlot_FillRange_Vector_S64_Ptr"); - funcTable.Load(666, "ImPlot_FillRange_Vector_U64_Ptr"); - funcTable.Load(667, "ImPlot_CalculateBins_FloatPtr"); - funcTable.Load(668, "ImPlot_CalculateBins_doublePtr"); - funcTable.Load(669, "ImPlot_CalculateBins_S8Ptr"); - funcTable.Load(670, "ImPlot_CalculateBins_S16Ptr"); - funcTable.Load(671, "ImPlot_CalculateBins_U16Ptr"); - funcTable.Load(672, "ImPlot_CalculateBins_S32Ptr"); - funcTable.Load(673, "ImPlot_CalculateBins_U32Ptr"); - funcTable.Load(674, "ImPlot_CalculateBins_S64Ptr"); - funcTable.Load(675, "ImPlot_CalculateBins_U64Ptr"); - funcTable.Load(676, "ImPlot_IsLeapYear"); - funcTable.Load(677, "ImPlot_GetDaysInMonth"); - funcTable.Load(678, "ImPlot_MkGmtTime"); - funcTable.Load(679, "ImPlot_GetGmtTime"); - funcTable.Load(680, "ImPlot_MkLocTime"); - funcTable.Load(681, "ImPlot_GetLocTime"); - funcTable.Load(682, "ImPlot_MkTime"); - funcTable.Load(683, "ImPlot_GetTime"); - funcTable.Load(684, "ImPlot_MakeTime"); - funcTable.Load(685, "ImPlot_GetYear"); - funcTable.Load(686, "ImPlot_GetMonth"); - funcTable.Load(687, "ImPlot_AddTime"); - funcTable.Load(688, "ImPlot_FloorTime"); - funcTable.Load(689, "ImPlot_CeilTime"); - funcTable.Load(690, "ImPlot_RoundTime"); - funcTable.Load(691, "ImPlot_CombineDateTime"); - funcTable.Load(692, "ImPlot_Now"); - funcTable.Load(693, "ImPlot_Today"); - funcTable.Load(694, "ImPlot_FormatTime"); - funcTable.Load(695, "ImPlot_FormatDate"); - funcTable.Load(696, "ImPlot_FormatDateTime"); - funcTable.Load(697, "ImPlot_ShowDatePicker"); - funcTable.Load(698, "ImPlot_ShowTimePicker"); - funcTable.Load(699, "ImPlot_TransformForward_Log10"); - funcTable.Load(700, "ImPlot_TransformInverse_Log10"); - funcTable.Load(701, "ImPlot_TransformForward_SymLog"); - funcTable.Load(702, "ImPlot_TransformInverse_SymLog"); - funcTable.Load(703, "ImPlot_TransformForward_Logit"); - funcTable.Load(704, "ImPlot_TransformInverse_Logit"); - funcTable.Load(705, "ImPlot_Formatter_Default"); - funcTable.Load(706, "ImPlot_Formatter_Logit"); - funcTable.Load(707, "ImPlot_Formatter_Time"); - funcTable.Load(708, "ImPlot_Locator_Default"); - funcTable.Load(709, "ImPlot_Locator_Time"); - funcTable.Load(710, "ImPlot_Locator_Log10"); - funcTable.Load(711, "ImPlot_Locator_SymLog"); - } - - public static void FreeApi() - { - funcTable.Free(); - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.000.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.000.cs deleted file mode 100644 index b823449cd..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.000.cs +++ /dev/null @@ -1,5019 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPoint* ImPlotPointNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[0])(); - #else - return (ImPlotPoint*)((delegate* unmanaged[Cdecl])funcTable[0])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPointPtr ImPlotPoint() - { - ImPlotPointPtr ret = ImPlotPointNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotPoint* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[1])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[1])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotPointPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotPoint self) - { - fixed (ImPlotPoint* pself = &self) - { - DestroyNative((ImPlotPoint*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPoint* ImPlotPointNative(double x, double y) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[2])(x, y); - #else - return (ImPlotPoint*)((delegate* unmanaged[Cdecl])funcTable[2])(x, y); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPointPtr ImPlotPoint(double x, double y) - { - ImPlotPointPtr ret = ImPlotPointNative(x, y); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPoint* ImPlotPointNative(Vector2 p) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[3])(p); - #else - return (ImPlotPoint*)((delegate* unmanaged[Cdecl])funcTable[3])(p); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPointPtr ImPlotPoint(Vector2 p) - { - ImPlotPointPtr ret = ImPlotPointNative(p); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotRange* ImPlotRangeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[4])(); - #else - return (ImPlotRange*)((delegate* unmanaged[Cdecl])funcTable[4])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotRangePtr ImPlotRange() - { - ImPlotRangePtr ret = ImPlotRangeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotRange* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[5])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[5])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotRangePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotRange self) - { - fixed (ImPlotRange* pself = &self) - { - DestroyNative((ImPlotRange*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotRange* ImPlotRangeNative(double min, double max) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[6])(min, max); - #else - return (ImPlotRange*)((delegate* unmanaged[Cdecl])funcTable[6])(min, max); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotRangePtr ImPlotRange(double min, double max) - { - ImPlotRangePtr ret = ImPlotRangeNative(min, max); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsNative(ImPlotRange* self, double value) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[7])(self, value); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[7])((nint)self, value); - #endif - } - - /// - /// To be documented. - /// - public static bool Contains(ImPlotRangePtr self, double value) - { - byte ret = ContainsNative(self, value); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Contains(ref ImPlotRange self, double value) - { - fixed (ImPlotRange* pself = &self) - { - byte ret = ContainsNative((ImPlotRange*)pself, value); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double SizeNative(ImPlotRange* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[8])(self); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[8])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static double Size(ImPlotRangePtr self) - { - double ret = SizeNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static double Size(ref ImPlotRange self) - { - fixed (ImPlotRange* pself = &self) - { - double ret = SizeNative((ImPlotRange*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ClampNative(ImPlotRange* self, double value) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[9])(self, value); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[9])((nint)self, value); - #endif - } - - /// - /// To be documented. - /// - public static double Clamp(ImPlotRangePtr self, double value) - { - double ret = ClampNative(self, value); - return ret; - } - - /// - /// To be documented. - /// - public static double Clamp(ref ImPlotRange self, double value) - { - fixed (ImPlotRange* pself = &self) - { - double ret = ClampNative((ImPlotRange*)pself, value); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotRect* ImPlotRectNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[10])(); - #else - return (ImPlotRect*)((delegate* unmanaged[Cdecl])funcTable[10])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotRectPtr ImPlotRect() - { - ImPlotRectPtr ret = ImPlotRectNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[11])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[11])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotRectPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - DestroyNative((ImPlotRect*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotRect* ImPlotRectNative(double xMin, double xMax, double yMin, double yMax) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[12])(xMin, xMax, yMin, yMax); - #else - return (ImPlotRect*)((delegate* unmanaged[Cdecl])funcTable[12])(xMin, xMax, yMin, yMax); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotRectPtr ImPlotRect(double xMin, double xMax, double yMin, double yMax) - { - ImPlotRectPtr ret = ImPlotRectNative(xMin, xMax, yMin, yMax); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsNative(ImPlotRect* self, ImPlotPoint p) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[13])(self, p); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[13])((nint)self, p); - #endif - } - - /// - /// To be documented. - /// - public static bool Contains(ImPlotRectPtr self, ImPlotPoint p) - { - byte ret = ContainsNative(self, p); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Contains(ref ImPlotRect self, ImPlotPoint p) - { - fixed (ImPlotRect* pself = &self) - { - byte ret = ContainsNative((ImPlotRect*)pself, p); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ContainsNative(ImPlotRect* self, double x, double y) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[14])(self, x, y); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[14])((nint)self, x, y); - #endif - } - - /// - /// To be documented. - /// - public static bool Contains(ImPlotRectPtr self, double x, double y) - { - byte ret = ContainsNative(self, x, y); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool Contains(ref ImPlotRect self, double x, double y) - { - fixed (ImPlotRect* pself = &self) - { - byte ret = ContainsNative((ImPlotRect*)pself, x, y); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SizeNative(ImPlotPoint* pOut, ImPlotRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[15])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[15])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint Size(ImPlotRectPtr self) - { - ImPlotPoint ret; - SizeNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void Size(ImPlotPointPtr pOut, ImPlotRectPtr self) - { - SizeNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void Size(ref ImPlotPoint pOut, ImPlotRectPtr self) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - SizeNative((ImPlotPoint*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImPlotPoint Size(ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - ImPlotPoint ret; - SizeNative(&ret, (ImPlotRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Size(ImPlotPointPtr pOut, ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - SizeNative(pOut, (ImPlotRect*)pself); - } - } - - /// - /// To be documented. - /// - public static void Size(ref ImPlotPoint pOut, ref ImPlotRect self) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - fixed (ImPlotRect* pself = &self) - { - SizeNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClampNative(ImPlotPoint* pOut, ImPlotRect* self, ImPlotPoint p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[16])(pOut, self, p); - #else - ((delegate* unmanaged[Cdecl])funcTable[16])((nint)pOut, (nint)self, p); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint Clamp(ImPlotRectPtr self, ImPlotPoint p) - { - ImPlotPoint ret; - ClampNative(&ret, self, p); - return ret; - } - - /// - /// To be documented. - /// - public static void Clamp(ImPlotPointPtr pOut, ImPlotRectPtr self, ImPlotPoint p) - { - ClampNative(pOut, self, p); - } - - /// - /// To be documented. - /// - public static void Clamp(ref ImPlotPoint pOut, ImPlotRectPtr self, ImPlotPoint p) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - ClampNative((ImPlotPoint*)ppOut, self, p); - } - } - - /// - /// To be documented. - /// - public static ImPlotPoint Clamp(ref ImPlotRect self, ImPlotPoint p) - { - fixed (ImPlotRect* pself = &self) - { - ImPlotPoint ret; - ClampNative(&ret, (ImPlotRect*)pself, p); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Clamp(ImPlotPointPtr pOut, ref ImPlotRect self, ImPlotPoint p) - { - fixed (ImPlotRect* pself = &self) - { - ClampNative(pOut, (ImPlotRect*)pself, p); - } - } - - /// - /// To be documented. - /// - public static void Clamp(ref ImPlotPoint pOut, ref ImPlotRect self, ImPlotPoint p) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - fixed (ImPlotRect* pself = &self) - { - ClampNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself, p); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClampNative(ImPlotPoint* pOut, ImPlotRect* self, double x, double y) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[17])(pOut, self, x, y); - #else - ((delegate* unmanaged[Cdecl])funcTable[17])((nint)pOut, (nint)self, x, y); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint Clamp(ImPlotRectPtr self, double x, double y) - { - ImPlotPoint ret; - ClampNative(&ret, self, x, y); - return ret; - } - - /// - /// To be documented. - /// - public static void Clamp(ImPlotPointPtr pOut, ImPlotRectPtr self, double x, double y) - { - ClampNative(pOut, self, x, y); - } - - /// - /// To be documented. - /// - public static void Clamp(ref ImPlotPoint pOut, ImPlotRectPtr self, double x, double y) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - ClampNative((ImPlotPoint*)ppOut, self, x, y); - } - } - - /// - /// To be documented. - /// - public static ImPlotPoint Clamp(ref ImPlotRect self, double x, double y) - { - fixed (ImPlotRect* pself = &self) - { - ImPlotPoint ret; - ClampNative(&ret, (ImPlotRect*)pself, x, y); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Clamp(ImPlotPointPtr pOut, ref ImPlotRect self, double x, double y) - { - fixed (ImPlotRect* pself = &self) - { - ClampNative(pOut, (ImPlotRect*)pself, x, y); - } - } - - /// - /// To be documented. - /// - public static void Clamp(ref ImPlotPoint pOut, ref ImPlotRect self, double x, double y) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - fixed (ImPlotRect* pself = &self) - { - ClampNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself, x, y); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MinNative(ImPlotPoint* pOut, ImPlotRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[18])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[18])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint Min(ImPlotRectPtr self) - { - ImPlotPoint ret; - MinNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void Min(ImPlotPointPtr pOut, ImPlotRectPtr self) - { - MinNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void Min(ref ImPlotPoint pOut, ImPlotRectPtr self) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - MinNative((ImPlotPoint*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImPlotPoint Min(ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - ImPlotPoint ret; - MinNative(&ret, (ImPlotRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Min(ImPlotPointPtr pOut, ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - MinNative(pOut, (ImPlotRect*)pself); - } - } - - /// - /// To be documented. - /// - public static void Min(ref ImPlotPoint pOut, ref ImPlotRect self) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - fixed (ImPlotRect* pself = &self) - { - MinNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MaxNative(ImPlotPoint* pOut, ImPlotRect* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[19])(pOut, self); - #else - ((delegate* unmanaged[Cdecl])funcTable[19])((nint)pOut, (nint)self); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint Max(ImPlotRectPtr self) - { - ImPlotPoint ret; - MaxNative(&ret, self); - return ret; - } - - /// - /// To be documented. - /// - public static void Max(ImPlotPointPtr pOut, ImPlotRectPtr self) - { - MaxNative(pOut, self); - } - - /// - /// To be documented. - /// - public static void Max(ref ImPlotPoint pOut, ImPlotRectPtr self) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - MaxNative((ImPlotPoint*)ppOut, self); - } - } - - /// - /// To be documented. - /// - public static ImPlotPoint Max(ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - ImPlotPoint ret; - MaxNative(&ret, (ImPlotRect*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static void Max(ImPlotPointPtr pOut, ref ImPlotRect self) - { - fixed (ImPlotRect* pself = &self) - { - MaxNative(pOut, (ImPlotRect*)pself); - } - } - - /// - /// To be documented. - /// - public static void Max(ref ImPlotPoint pOut, ref ImPlotRect self) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - fixed (ImPlotRect* pself = &self) - { - MaxNative((ImPlotPoint*)ppOut, (ImPlotRect*)pself); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotStyle* ImPlotStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[20])(); - #else - return (ImPlotStyle*)((delegate* unmanaged[Cdecl])funcTable[20])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotStylePtr ImPlotStyle() - { - ImPlotStylePtr ret = ImPlotStyleNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotStyle* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[21])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[21])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotStylePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotStyle self) - { - fixed (ImPlotStyle* pself = &self) - { - DestroyNative((ImPlotStyle*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotInputMap* ImPlotInputMapNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[22])(); - #else - return (ImPlotInputMap*)((delegate* unmanaged[Cdecl])funcTable[22])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotInputMapPtr ImPlotInputMap() - { - ImPlotInputMapPtr ret = ImPlotInputMapNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotInputMap* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[23])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[23])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotInputMapPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotInputMap self) - { - fixed (ImPlotInputMap* pself = &self) - { - DestroyNative((ImPlotInputMap*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotContext* CreateContextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[24])(); - #else - return (ImPlotContext*)((delegate* unmanaged[Cdecl])funcTable[24])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotContextPtr CreateContext() - { - ImPlotContextPtr ret = CreateContextNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyContextNative(ImPlotContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[25])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[25])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void DestroyContext(ImPlotContextPtr ctx) - { - DestroyContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void DestroyContext() - { - DestroyContextNative((ImPlotContext*)(default)); - } - - /// - /// To be documented. - /// - public static void DestroyContext(ref ImPlotContext ctx) - { - fixed (ImPlotContext* pctx = &ctx) - { - DestroyContextNative((ImPlotContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotContext* GetCurrentContextNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[26])(); - #else - return (ImPlotContext*)((delegate* unmanaged[Cdecl])funcTable[26])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotContextPtr GetCurrentContext() - { - ImPlotContextPtr ret = GetCurrentContextNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetCurrentContextNative(ImPlotContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[27])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[27])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void SetCurrentContext(ImPlotContextPtr ctx) - { - SetCurrentContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void SetCurrentContext(ref ImPlotContext ctx) - { - fixed (ImPlotContext* pctx = &ctx) - { - SetCurrentContextNative((ImPlotContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetImGuiContextNative(ImGuiContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[28])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[28])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void SetImGuiContext(ImGuiContextPtr ctx) - { - SetImGuiContextNative(ctx); - } - - /// - /// To be documented. - /// - public static void SetImGuiContext(ref ImGuiContext ctx) - { - fixed (ImGuiContext* pctx = &ctx) - { - SetImGuiContextNative((ImGuiContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginPlotNative(byte* titleId, Vector2 size, ImPlotFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[29])(titleId, size, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[29])((nint)titleId, size, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginPlot(byte* titleId, Vector2 size, ImPlotFlags flags) - { - byte ret = BeginPlotNative(titleId, size, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(byte* titleId, Vector2 size) - { - byte ret = BeginPlotNative(titleId, size, (ImPlotFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(byte* titleId) - { - byte ret = BeginPlotNative(titleId, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(byte* titleId, ImPlotFlags flags) - { - byte ret = BeginPlotNative(titleId, (Vector2)(new Vector2(-1,0)), flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ref byte titleId, Vector2 size, ImPlotFlags flags) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, size, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ref byte titleId, Vector2 size) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, size, (ImPlotFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ref byte titleId) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ref byte titleId, ImPlotFlags flags) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ReadOnlySpan titleId, Vector2 size, ImPlotFlags flags) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, size, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ReadOnlySpan titleId, Vector2 size) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, size, (ImPlotFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ReadOnlySpan titleId) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(ReadOnlySpan titleId, ImPlotFlags flags) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginPlotNative((byte*)ptitleId, (Vector2)(new Vector2(-1,0)), flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginPlot(string titleId, Vector2 size, ImPlotFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPlotNative(pStr0, size, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(string titleId, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPlotNative(pStr0, size, (ImPlotFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(string titleId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPlotNative(pStr0, (Vector2)(new Vector2(-1,0)), (ImPlotFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginPlot(string titleId, ImPlotFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginPlotNative(pStr0, (Vector2)(new Vector2(-1,0)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndPlotNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[30])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[30])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndPlot() - { - EndPlotNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginSubplotsNative(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[31])(titleId, rows, cols, size, flags, rowRatios, colRatios); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[31])((nint)titleId, rows, cols, size, flags, (nint)rowRatios, (nint)colRatios); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, rowRatios, colRatios); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, rowRatios, (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)(default), (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(default), (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, float* rowRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, colRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, float* rowRatios) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) - { - fixed (byte* ptitleId = &titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, colRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(default), (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, float* rowRatios) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) - { - fixed (byte* ptitleId = titleId) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, float* colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, rowRatios, colRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, rowRatios, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)(default), (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)(default), (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, float* rowRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, float* rowRatios, float* colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, colRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)prowRatios, colRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)prowRatios, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ref float rowRatios) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, colRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ref float rowRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, colRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ref float rowRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, float* colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)prowRatios, colRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)prowRatios, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ref float rowRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ref float rowRatios, float* colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prowRatios = &rowRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, colRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, rowRatios, (float*)pcolRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, rowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, float* rowRatios, ref float colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, rowRatios, (float*)pcolRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, float* rowRatios, ref float colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), rowRatios, (float*)pcolRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) - { - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(byte* titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) - { - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(titleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ref byte titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = &titleId) - { - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(ReadOnlySpan titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) - { - fixed (byte* ptitleId = titleId) - { - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative((byte*)ptitleId, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float rowRatios, ref float colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, flags, (float*)prowRatios, (float*)pcolRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool BeginSubplots(string titleId, int rows, int cols, Vector2 size, ref float rowRatios, ref float colRatios) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* prowRatios = &rowRatios) - { - fixed (float* pcolRatios = &colRatios) - { - byte ret = BeginSubplotsNative(pStr0, rows, cols, size, (ImPlotSubplotFlags)(0), (float*)prowRatios, (float*)pcolRatios); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndSubplotsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[32])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[32])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndSubplots() - { - EndSubplotsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisNative(ImAxis axis, byte* label, ImPlotAxisFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[33])(axis, label, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[33])(axis, (nint)label, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, byte* label, ImPlotAxisFlags flags) - { - SetupAxisNative(axis, label, flags); - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, byte* label) - { - SetupAxisNative(axis, label, (ImPlotAxisFlags)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis) - { - SetupAxisNative(axis, (byte*)(default), (ImPlotAxisFlags)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, ImPlotAxisFlags flags) - { - SetupAxisNative(axis, (byte*)(default), flags); - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, ref byte label, ImPlotAxisFlags flags) - { - fixed (byte* plabel = &label) - { - SetupAxisNative(axis, (byte*)plabel, flags); - } - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, ref byte label) - { - fixed (byte* plabel = &label) - { - SetupAxisNative(axis, (byte*)plabel, (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, ReadOnlySpan label, ImPlotAxisFlags flags) - { - fixed (byte* plabel = label) - { - SetupAxisNative(axis, (byte*)plabel, flags); - } - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - SetupAxisNative(axis, (byte*)plabel, (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, string label, ImPlotAxisFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxisNative(axis, pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxis(ImAxis axis, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxisNative(axis, pStr0, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisLimitsNative(ImAxis axis, double vMin, double vMax, ImPlotCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[34])(axis, vMin, vMax, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[34])(axis, vMin, vMax, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisLimits(ImAxis axis, double vMin, double vMax, ImPlotCond cond) - { - SetupAxisLimitsNative(axis, vMin, vMax, cond); - } - - /// - /// To be documented. - /// - public static void SetupAxisLimits(ImAxis axis, double vMin, double vMax) - { - SetupAxisLimitsNative(axis, vMin, vMax, (ImPlotCond)(ImPlotCond.Once)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisLinksNative(ImAxis axis, double* linkMin, double* linkMax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[35])(axis, linkMin, linkMax); - #else - ((delegate* unmanaged[Cdecl])funcTable[35])(axis, (nint)linkMin, (nint)linkMax); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisLinks(ImAxis axis, double* linkMin, double* linkMax) - { - SetupAxisLinksNative(axis, linkMin, linkMax); - } - - /// - /// To be documented. - /// - public static void SetupAxisLinks(ImAxis axis, ref double linkMin, double* linkMax) - { - fixed (double* plinkMin = &linkMin) - { - SetupAxisLinksNative(axis, (double*)plinkMin, linkMax); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisLinks(ImAxis axis, double* linkMin, ref double linkMax) - { - fixed (double* plinkMax = &linkMax) - { - SetupAxisLinksNative(axis, linkMin, (double*)plinkMax); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisLinks(ImAxis axis, ref double linkMin, ref double linkMax) - { - fixed (double* plinkMin = &linkMin) - { - fixed (double* plinkMax = &linkMax) - { - SetupAxisLinksNative(axis, (double*)plinkMin, (double*)plinkMax); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisFormatNative(ImAxis axis, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[36])(axis, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[36])(axis, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisFormat(ImAxis axis, byte* fmt) - { - SetupAxisFormatNative(axis, fmt); - } - - /// - /// To be documented. - /// - public static void SetupAxisFormat(ImAxis axis, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - SetupAxisFormatNative(axis, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisFormat(ImAxis axis, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - SetupAxisFormatNative(axis, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisFormat(ImAxis axis, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxisFormatNative(axis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisFormatNative(ImAxis axis, ImPlotFormatter formatter, void* data) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, void>)funcTable[37])(axis, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), data); - #else - ((delegate* unmanaged[Cdecl])funcTable[37])(axis, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)data); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter, void* data) - { - SetupAxisFormatNative(axis, formatter, data); - } - - /// - /// To be documented. - /// - public static void SetupAxisFormat(ImAxis axis, ImPlotFormatter formatter) - { - SetupAxisFormatNative(axis, formatter, (void*)(default)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisTicksNative(ImAxis axis, double* values, int nTicks, byte** labels, byte keepDefault) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[38])(axis, values, nTicks, labels, keepDefault); - #else - ((delegate* unmanaged[Cdecl])funcTable[38])(axis, (nint)values, nTicks, (nint)labels, keepDefault); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, byte** labels, bool keepDefault) - { - SetupAxisTicksNative(axis, values, nTicks, labels, keepDefault ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, byte** labels) - { - SetupAxisTicksNative(axis, values, nTicks, labels, (byte)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks) - { - SetupAxisTicksNative(axis, values, nTicks, (byte**)(default), (byte)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, bool keepDefault) - { - SetupAxisTicksNative(axis, values, nTicks, (byte**)(default), keepDefault ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, byte** labels, bool keepDefault) - { - fixed (double* pvalues = &values) - { - SetupAxisTicksNative(axis, (double*)pvalues, nTicks, labels, keepDefault ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, byte** labels) - { - fixed (double* pvalues = &values) - { - SetupAxisTicksNative(axis, (double*)pvalues, nTicks, labels, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks) - { - fixed (double* pvalues = &values) - { - SetupAxisTicksNative(axis, (double*)pvalues, nTicks, (byte**)(default), (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, bool keepDefault) - { - fixed (double* pvalues = &values) - { - SetupAxisTicksNative(axis, (double*)pvalues, nTicks, (byte**)(default), keepDefault ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, string[] labels, bool keepDefault) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labels); - if (labels != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labels.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); - } - SetupAxisTicksNative(axis, values, nTicks, pStrArray0, keepDefault ? (byte)1 : (byte)0); - for (int i = 0; i < labels.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double* values, int nTicks, string[] labels) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labels); - if (labels != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labels.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); - } - SetupAxisTicksNative(axis, values, nTicks, pStrArray0, (byte)(0)); - for (int i = 0; i < labels.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, string[] labels, bool keepDefault) - { - fixed (double* pvalues = &values) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labels); - if (labels != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labels.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); - } - SetupAxisTicksNative(axis, (double*)pvalues, nTicks, pStrArray0, keepDefault ? (byte)1 : (byte)0); - for (int i = 0; i < labels.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, ref double values, int nTicks, string[] labels) - { - fixed (double* pvalues = &values) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labels); - if (labels != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labels.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); - } - SetupAxisTicksNative(axis, (double*)pvalues, nTicks, pStrArray0, (byte)(0)); - for (int i = 0; i < labels.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisTicksNative(ImAxis axis, double vMin, double vMax, int nTicks, byte** labels, byte keepDefault) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[39])(axis, vMin, vMax, nTicks, labels, keepDefault); - #else - ((delegate* unmanaged[Cdecl])funcTable[39])(axis, vMin, vMax, nTicks, (nint)labels, keepDefault); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, byte** labels, bool keepDefault) - { - SetupAxisTicksNative(axis, vMin, vMax, nTicks, labels, keepDefault ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, byte** labels) - { - SetupAxisTicksNative(axis, vMin, vMax, nTicks, labels, (byte)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks) - { - SetupAxisTicksNative(axis, vMin, vMax, nTicks, (byte**)(default), (byte)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, bool keepDefault) - { - SetupAxisTicksNative(axis, vMin, vMax, nTicks, (byte**)(default), keepDefault ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, string[] labels, bool keepDefault) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labels); - if (labels != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labels.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); - } - SetupAxisTicksNative(axis, vMin, vMax, nTicks, pStrArray0, keepDefault ? (byte)1 : (byte)0); - for (int i = 0; i < labels.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxisTicks(ImAxis axis, double vMin, double vMax, int nTicks, string[] labels) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labels); - if (labels != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labels.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labels[i]); - } - SetupAxisTicksNative(axis, vMin, vMax, nTicks, pStrArray0, (byte)(0)); - for (int i = 0; i < labels.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisScaleNative(ImAxis axis, ImPlotScale scale) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[40])(axis, scale); - #else - ((delegate* unmanaged[Cdecl])funcTable[40])(axis, scale); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisScale(ImAxis axis, ImPlotScale scale) - { - SetupAxisScaleNative(axis, scale); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisScaleNative(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse, void* data) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], delegate*, void*, void>)funcTable[41])(axis, (delegate*)Utils.GetFunctionPointerForDelegate(forward), (delegate*)Utils.GetFunctionPointerForDelegate(inverse), data); - #else - ((delegate* unmanaged[Cdecl])funcTable[41])(axis, (nint)Utils.GetFunctionPointerForDelegate(forward), (nint)Utils.GetFunctionPointerForDelegate(inverse), (nint)data); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisScale(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse, void* data) - { - SetupAxisScaleNative(axis, forward, inverse, data); - } - - /// - /// To be documented. - /// - public static void SetupAxisScale(ImAxis axis, ImPlotTransform forward, ImPlotTransform inverse) - { - SetupAxisScaleNative(axis, forward, inverse, (void*)(default)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisLimitsConstraintsNative(ImAxis axis, double vMin, double vMax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[42])(axis, vMin, vMax); - #else - ((delegate* unmanaged[Cdecl])funcTable[42])(axis, vMin, vMax); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisLimitsConstraints(ImAxis axis, double vMin, double vMax) - { - SetupAxisLimitsConstraintsNative(axis, vMin, vMax); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxisZoomConstraintsNative(ImAxis axis, double zMin, double zMax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[43])(axis, zMin, zMax); - #else - ((delegate* unmanaged[Cdecl])funcTable[43])(axis, zMin, zMax); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxisZoomConstraints(ImAxis axis, double zMin, double zMax) - { - SetupAxisZoomConstraintsNative(axis, zMin, zMax); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxesNative(byte* xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[44])(xLabel, yLabel, xFlags, yFlags); - #else - ((delegate* unmanaged[Cdecl])funcTable[44])((nint)xLabel, (nint)yLabel, xFlags, yFlags); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - SetupAxesNative(xLabel, yLabel, xFlags, yFlags); - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, byte* yLabel, ImPlotAxisFlags xFlags) - { - SetupAxesNative(xLabel, yLabel, xFlags, (ImPlotAxisFlags)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, byte* yLabel) - { - SetupAxesNative(xLabel, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = &xLabel) - { - SetupAxesNative((byte*)pxLabel, yLabel, xFlags, yFlags); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, byte* yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = &xLabel) - { - SetupAxesNative((byte*)pxLabel, yLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, byte* yLabel) - { - fixed (byte* pxLabel = &xLabel) - { - SetupAxesNative((byte*)pxLabel, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = xLabel) - { - SetupAxesNative((byte*)pxLabel, yLabel, xFlags, yFlags); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, byte* yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = xLabel) - { - SetupAxesNative((byte*)pxLabel, yLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, byte* yLabel) - { - fixed (byte* pxLabel = xLabel) - { - SetupAxesNative((byte*)pxLabel, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, byte* yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative(pStr0, yLabel, xFlags, yFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, byte* yLabel, ImPlotAxisFlags xFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative(pStr0, yLabel, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, byte* yLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative(pStr0, yLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, yFlags); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, ref byte yLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative(xLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, yFlags); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative(xLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, ReadOnlySpan yLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative(xLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative(xLabel, pStr0, xFlags, yFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, string yLabel, ImPlotAxisFlags xFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative(xLabel, pStr0, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(byte* xLabel, string yLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative(xLabel, pStr0, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = &xLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = &xLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, ref byte yLabel) - { - fixed (byte* pxLabel = &xLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = xLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = xLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, ReadOnlySpan yLabel) - { - fixed (byte* pxLabel = xLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (yLabel != null) - { - pStrSize1 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(yLabel, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - SetupAxesNative(pStr0, pStr1, xFlags, yFlags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, string yLabel, ImPlotAxisFlags xFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (yLabel != null) - { - pStrSize1 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(yLabel, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - SetupAxesNative(pStr0, pStr1, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, string yLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (yLabel != null) - { - pStrSize1 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(yLabel, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - SetupAxesNative(pStr0, pStr1, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = &xLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = &xLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, ReadOnlySpan yLabel) - { - fixed (byte* pxLabel = &xLabel) - { - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = &xLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative((byte*)pxLabel, pStr0, xFlags, yFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, string yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = &xLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative((byte*)pxLabel, pStr0, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ref byte xLabel, string yLabel) - { - fixed (byte* pxLabel = &xLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative((byte*)pxLabel, pStr0, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = xLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, yFlags); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = xLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, ref byte yLabel) - { - fixed (byte* pxLabel = xLabel) - { - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative((byte*)pxLabel, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, string yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - fixed (byte* pxLabel = xLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative((byte*)pxLabel, pStr0, xFlags, yFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, string yLabel, ImPlotAxisFlags xFlags) - { - fixed (byte* pxLabel = xLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative((byte*)pxLabel, pStr0, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(ReadOnlySpan xLabel, string yLabel) - { - fixed (byte* pxLabel = xLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (yLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(yLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(yLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetupAxesNative((byte*)pxLabel, pStr0, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, ref byte yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, yFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, ref byte yLabel, ImPlotAxisFlags xFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, ref byte yLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pyLabel = &yLabel) - { - SetupAxesNative(pStr0, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags, ImPlotAxisFlags yFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, yFlags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, ReadOnlySpan yLabel, ImPlotAxisFlags xFlags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative(pStr0, (byte*)pyLabel, xFlags, (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetupAxes(string xLabel, ReadOnlySpan yLabel) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (xLabel != null) - { - pStrSize0 = Utils.GetByteCountUTF8(xLabel); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(xLabel, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pyLabel = yLabel) - { - SetupAxesNative(pStr0, (byte*)pyLabel, (ImPlotAxisFlags)(0), (ImPlotAxisFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupAxesLimitsNative(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[45])(xMin, xMax, yMin, yMax, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[45])(xMin, xMax, yMin, yMax, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetupAxesLimits(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) - { - SetupAxesLimitsNative(xMin, xMax, yMin, yMax, cond); - } - - /// - /// To be documented. - /// - public static void SetupAxesLimits(double xMin, double xMax, double yMin, double yMax) - { - SetupAxesLimitsNative(xMin, xMax, yMin, yMax, (ImPlotCond)(ImPlotCond.Once)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupLegendNative(ImPlotLocation location, ImPlotLegendFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[46])(location, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[46])(location, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetupLegend(ImPlotLocation location, ImPlotLegendFlags flags) - { - SetupLegendNative(location, flags); - } - - /// - /// To be documented. - /// - public static void SetupLegend(ImPlotLocation location) - { - SetupLegendNative(location, (ImPlotLegendFlags)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupMouseTextNative(ImPlotLocation location, ImPlotMouseTextFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[47])(location, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[47])(location, flags); - #endif - } - - /// - /// To be documented. - /// - public static void SetupMouseText(ImPlotLocation location, ImPlotMouseTextFlags flags) - { - SetupMouseTextNative(location, flags); - } - - /// - /// To be documented. - /// - public static void SetupMouseText(ImPlotLocation location) - { - SetupMouseTextNative(location, (ImPlotMouseTextFlags)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupFinishNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[48])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[48])(); - #endif - } - - /// - /// To be documented. - /// - public static void SetupFinish() - { - SetupFinishNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextAxisLimitsNative(ImAxis axis, double vMin, double vMax, ImPlotCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[49])(axis, vMin, vMax, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[49])(axis, vMin, vMax, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextAxisLimits(ImAxis axis, double vMin, double vMax, ImPlotCond cond) - { - SetNextAxisLimitsNative(axis, vMin, vMax, cond); - } - - /// - /// To be documented. - /// - public static void SetNextAxisLimits(ImAxis axis, double vMin, double vMax) - { - SetNextAxisLimitsNative(axis, vMin, vMax, (ImPlotCond)(ImPlotCond.Once)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextAxisLinksNative(ImAxis axis, double* linkMin, double* linkMax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[50])(axis, linkMin, linkMax); - #else - ((delegate* unmanaged[Cdecl])funcTable[50])(axis, (nint)linkMin, (nint)linkMax); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextAxisLinks(ImAxis axis, double* linkMin, double* linkMax) - { - SetNextAxisLinksNative(axis, linkMin, linkMax); - } - - /// - /// To be documented. - /// - public static void SetNextAxisLinks(ImAxis axis, ref double linkMin, double* linkMax) - { - fixed (double* plinkMin = &linkMin) - { - SetNextAxisLinksNative(axis, (double*)plinkMin, linkMax); - } - } - - /// - /// To be documented. - /// - public static void SetNextAxisLinks(ImAxis axis, double* linkMin, ref double linkMax) - { - fixed (double* plinkMax = &linkMax) - { - SetNextAxisLinksNative(axis, linkMin, (double*)plinkMax); - } - } - - /// - /// To be documented. - /// - public static void SetNextAxisLinks(ImAxis axis, ref double linkMin, ref double linkMax) - { - fixed (double* plinkMin = &linkMin) - { - fixed (double* plinkMax = &linkMax) - { - SetNextAxisLinksNative(axis, (double*)plinkMin, (double*)plinkMax); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextAxisToFitNative(ImAxis axis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[51])(axis); - #else - ((delegate* unmanaged[Cdecl])funcTable[51])(axis); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextAxisToFit(ImAxis axis) - { - SetNextAxisToFitNative(axis); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextAxesLimitsNative(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[52])(xMin, xMax, yMin, yMax, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[52])(xMin, xMax, yMin, yMax, cond); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextAxesLimits(double xMin, double xMax, double yMin, double yMax, ImPlotCond cond) - { - SetNextAxesLimitsNative(xMin, xMax, yMin, yMax, cond); - } - - /// - /// To be documented. - /// - public static void SetNextAxesLimits(double xMin, double xMax, double yMin, double yMax) - { - SetNextAxesLimitsNative(xMin, xMax, yMin, yMax, (ImPlotCond)(ImPlotCond.Once)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextAxesToFitNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[53])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[53])(); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextAxesToFit() - { - SetNextAxesToFitNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[54])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[54])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.001.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.001.cs deleted file mode 100644 index 7748b1b1c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.001.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, ImPlotLineFlags flags) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, int offset) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, ImPlotLineFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotLineNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotLineNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[55])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[55])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, ImPlotLineFlags flags) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, int offset) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, ImPlotLineFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotLineNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotLineNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[56])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[56])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.002.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.002.cs deleted file mode 100644 index 2c0af9be4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.002.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, ImPlotLineFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotLineNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotLineNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[57])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[57])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, ImPlotLineFlags flags) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, int offset) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, ImPlotLineFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotLineNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotLineNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[58])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[58])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.003.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.003.cs deleted file mode 100644 index faba4da5b..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.003.cs +++ /dev/null @@ -1,5033 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, ImPlotLineFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotLineNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[59])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[59])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, ImPlotLineFlags flags) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, int offset) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, ImPlotLineFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotLineNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotLineNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[60])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[60])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, ImPlotLineFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, int offset) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotLineNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.004.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.004.cs deleted file mode 100644 index 65d426b83..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.004.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotLineNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[61])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[61])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, ImPlotLineFlags flags) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, int offset) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, ImPlotLineFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotLineNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotLineNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[62])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[62])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, ImPlotLineFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.005.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.005.cs deleted file mode 100644 index 44b60dee8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.005.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotLineNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, double xscale, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong values, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotLineNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[63])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[63])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, float* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, float* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, float* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, float* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotLineNative(labelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotLineNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) - { - fixed (float* pxs = &xs) - { - PlotLineNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotLineNative(labelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotLineNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotLineNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, float* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotLineNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotLineNative(pStr0, (float*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, xs, (float*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, xs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, ref float ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, float* xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, xs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, ref float ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotLineNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[64])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[64])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, double* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, double* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, double* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, double* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotLineNative(labelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotLineNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) - { - fixed (double* pxs = &xs) - { - PlotLineNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotLineNative(labelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotLineNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotLineNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, double* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotLineNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotLineNative(pStr0, (double*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, xs, (double*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, xs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, ref double ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, double* xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, xs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, ref double ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotLineNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[65])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[65])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, byte* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotLineNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotLineNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotLineNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - PlotLineNative(labelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotLineNative(labelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotLineNative(labelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotLineNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotLineNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotLineNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotLineNative(pStr0, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotLineNative(pStr0, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotLineNative(pStr0, (byte*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.006.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.006.cs deleted file mode 100644 index 9fd3c4a5c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.006.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, xs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, xs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotLineNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[66])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[66])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, short* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, short* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, short* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, short* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotLineNative(labelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotLineNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) - { - fixed (short* pxs = &xs) - { - PlotLineNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - PlotLineNative(labelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotLineNative(labelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotLineNative(labelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotLineNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotLineNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, short* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotLineNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotLineNative(pStr0, (short*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotLineNative(pStr0, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotLineNative(pStr0, (short*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, xs, (short*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, xs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, ref short ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, xs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, short* xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, xs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, ref short ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotLineNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[67])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[67])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative(labelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative(labelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative(labelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotLineNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotLineNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotLineNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotLineNative(pStr0, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotLineNative(pStr0, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotLineNative(pStr0, (ushort*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, xs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotLineNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[68])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[68])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, int* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, int* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, int* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, int* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotLineNative(labelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotLineNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) - { - fixed (int* pxs = &xs) - { - PlotLineNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - PlotLineNative(labelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotLineNative(labelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotLineNative(labelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotLineNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotLineNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, int* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotLineNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotLineNative(pStr0, (int*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotLineNative(pStr0, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotLineNative(pStr0, (int*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.007.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.007.cs deleted file mode 100644 index 24b914687..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.007.cs +++ /dev/null @@ -1,5045 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, xs, (int*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, xs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, ref int ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, xs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, int* xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, xs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, ref int ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotLineNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[69])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[69])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, uint* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotLineNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotLineNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotLineNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - PlotLineNative(labelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotLineNative(labelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotLineNative(labelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotLineNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotLineNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotLineNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotLineNative(pStr0, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotLineNative(pStr0, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotLineNative(pStr0, (uint*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, xs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, xs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotLineNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[70])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[70])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, long* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, long* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, long* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, long* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotLineNative(labelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotLineNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) - { - fixed (long* pxs = &xs) - { - PlotLineNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - PlotLineNative(labelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotLineNative(labelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotLineNative(labelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotLineNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotLineNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, long* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotLineNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotLineNative(pStr0, (long*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotLineNative(pStr0, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotLineNative(pStr0, (long*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, xs, (long*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, xs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, ref long ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, xs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, long* xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, xs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, ref long ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotLineNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[71])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[71])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - PlotLineNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) - { - PlotLineNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, int offset) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - PlotLineNative(labelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotLineNative((byte*)plabelId, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineNative(pStr0, xs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative(labelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative(labelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative(labelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotLineNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotLineNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.008.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.008.cs deleted file mode 100644 index b7c12e983..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.008.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotLineNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotLineNative(pStr0, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotLineNative(pStr0, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotLineNative(pStr0, (ulong*)pxs, ys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, xs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotLine(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotLineNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotLineFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotLineGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, ImPlotLineFlags, void>)funcTable[72])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[72])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotLineG(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) - { - PlotLineGNative(labelId, getter, data, count, flags); - } - - /// - /// To be documented. - /// - public static void PlotLineG(byte* labelId, ImPlotPointGetter getter, void* data, int count) - { - PlotLineGNative(labelId, getter, data, count, (ImPlotLineFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotLineG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotLineGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotLineG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotLineGNative((byte*)plabelId, getter, data, count, (ImPlotLineFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotLineG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotLineGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotLineG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = labelId) - { - PlotLineGNative((byte*)plabelId, getter, data, count, (ImPlotLineFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotLineG(string labelId, ImPlotPointGetter getter, void* data, int count, ImPlotLineFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineGNative(pStr0, getter, data, count, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotLineG(string labelId, ImPlotPointGetter getter, void* data, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotLineGNative(pStr0, getter, data, count, (ImPlotLineFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[73])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[73])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, ImPlotScatterFlags flags) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, int offset) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotScatterNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotScatterNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[74])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[74])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, ImPlotScatterFlags flags) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, int offset) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotScatterNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.009.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.009.cs deleted file mode 100644 index 629f8fe71..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.009.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotScatterNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[75])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[75])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, ImPlotScatterFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotScatterNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[76])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[76])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, ImPlotScatterFlags flags) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, int offset) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotScatterNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.010.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.010.cs deleted file mode 100644 index 718b17e66..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.010.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotScatterNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[77])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[77])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, ImPlotScatterFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotScatterNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[78])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[78])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, ImPlotScatterFlags flags) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, int offset) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotScatterNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.011.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.011.cs deleted file mode 100644 index 88eb63fb3..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.011.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotScatterNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[79])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[79])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, ImPlotScatterFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, int offset) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotScatterNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[80])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[80])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, ImPlotScatterFlags flags) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, int offset) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotScatterNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotScatterNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[81])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[81])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.012.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.012.cs deleted file mode 100644 index 50631ee27..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.012.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, ImPlotScatterFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotScatterNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, double xscale, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong values, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotScatterNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[82])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[82])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, float* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, float* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, float* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotScatterNative(labelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotScatterNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) - { - fixed (float* pxs = &xs) - { - PlotScatterNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - PlotScatterNative(labelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotScatterNative(labelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotScatterNative(labelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotScatterNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotScatterNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, float* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotScatterNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotScatterNative(pStr0, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotScatterNative(pStr0, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotScatterNative(pStr0, (float*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, xs, (float*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, xs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, ref float ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, xs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, float* xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, xs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotScatterNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[83])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[83])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, double* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, double* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, double* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotScatterNative(labelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotScatterNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) - { - fixed (double* pxs = &xs) - { - PlotScatterNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - PlotScatterNative(labelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotScatterNative(labelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotScatterNative(labelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotScatterNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotScatterNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, double* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotScatterNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotScatterNative(pStr0, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotScatterNative(pStr0, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotScatterNative(pStr0, (double*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, xs, (double*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.013.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.013.cs deleted file mode 100644 index 02828cf62..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.013.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, xs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, ref double ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, xs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, double* xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, xs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotScatterNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[84])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[84])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative(labelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative(labelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative(labelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotScatterNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotScatterNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotScatterNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotScatterNative(pStr0, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotScatterNative(pStr0, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotScatterNative(pStr0, (byte*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, xs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotScatterNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[85])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[85])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, short* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, short* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, short* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotScatterNative(labelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotScatterNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) - { - fixed (short* pxs = &xs) - { - PlotScatterNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - PlotScatterNative(labelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotScatterNative(labelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotScatterNative(labelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotScatterNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotScatterNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, short* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotScatterNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotScatterNative(pStr0, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotScatterNative(pStr0, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotScatterNative(pStr0, (short*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, xs, (short*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, xs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, ref short ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, xs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, short* xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, xs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotScatterNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[86])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[86])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative(labelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative(labelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative(labelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotScatterNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotScatterNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotScatterNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotScatterNative(pStr0, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotScatterNative(pStr0, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotScatterNative(pStr0, (ushort*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.014.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.014.cs deleted file mode 100644 index 3a86b24e3..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.014.cs +++ /dev/null @@ -1,5045 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotScatterNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[87])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[87])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, int* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, int* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, int* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotScatterNative(labelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotScatterNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) - { - fixed (int* pxs = &xs) - { - PlotScatterNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - PlotScatterNative(labelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotScatterNative(labelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotScatterNative(labelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotScatterNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotScatterNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, int* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotScatterNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotScatterNative(pStr0, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotScatterNative(pStr0, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotScatterNative(pStr0, (int*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, xs, (int*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, xs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, ref int ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, xs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, int* xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, xs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotScatterNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[88])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[88])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative(labelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative(labelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative(labelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotScatterNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotScatterNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotScatterNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotScatterNative(pStr0, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotScatterNative(pStr0, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotScatterNative(pStr0, (uint*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, xs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotScatterNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[89])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[89])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, long* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, long* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, long* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotScatterNative(labelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotScatterNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) - { - fixed (long* pxs = &xs) - { - PlotScatterNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - PlotScatterNative(labelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotScatterNative(labelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotScatterNative(labelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotScatterNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotScatterNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.015.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.015.cs deleted file mode 100644 index bfbae52aa..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.015.cs +++ /dev/null @@ -1,5051 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, long* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotScatterNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotScatterNative(pStr0, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotScatterNative(pStr0, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotScatterNative(pStr0, (long*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, xs, (long*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, xs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, ref long ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, xs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, long* xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, xs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotScatterNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[90])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[90])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - PlotScatterNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - PlotScatterNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, int offset) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - PlotScatterNative(labelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotScatterNative((byte*)plabelId, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterNative(pStr0, xs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative(labelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative(labelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative(labelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotScatterNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotScatterNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotScatterNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotScatterNative(pStr0, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotScatterNative(pStr0, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotScatterNative(pStr0, (ulong*)pxs, ys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, xs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotScatter(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotScatterNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotScatterFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotScatterGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotScatterFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, ImPlotScatterFlags, void>)funcTable[91])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[91])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotScatterG(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotScatterFlags flags) - { - PlotScatterGNative(labelId, getter, data, count, flags); - } - - /// - /// To be documented. - /// - public static void PlotScatterG(byte* labelId, ImPlotPointGetter getter, void* data, int count) - { - PlotScatterGNative(labelId, getter, data, count, (ImPlotScatterFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotScatterG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotScatterG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotScatterGNative((byte*)plabelId, getter, data, count, (ImPlotScatterFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotScatterG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, ImPlotScatterFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotScatterGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotScatterG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = labelId) - { - PlotScatterGNative((byte*)plabelId, getter, data, count, (ImPlotScatterFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotScatterG(string labelId, ImPlotPointGetter getter, void* data, int count, ImPlotScatterFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterGNative(pStr0, getter, data, count, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotScatterG(string labelId, ImPlotPointGetter getter, void* data, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotScatterGNative(pStr0, getter, data, count, (ImPlotScatterFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[92])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[92])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, ImPlotStairsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, int offset) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStairsNative(labelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.016.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.016.cs deleted file mode 100644 index 687732964..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.016.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStairsNative(pStr0, (float*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[93])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[93])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, ImPlotStairsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, int offset) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStairsNative(labelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStairsNative(pStr0, (double*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[94])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[94])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, ImPlotStairsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative(labelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStairsNative(pStr0, (byte*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[95])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[95])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.017.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.017.cs deleted file mode 100644 index 97643700c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.017.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, ImPlotStairsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, int offset) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStairsNative(labelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStairsNative(pStr0, (short*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[96])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[96])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, ImPlotStairsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative(labelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStairsNative(pStr0, (ushort*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[97])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[97])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.018.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.018.cs deleted file mode 100644 index 8983f3c6d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.018.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, ImPlotStairsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, int offset) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStairsNative(labelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStairsNative(pStr0, (int*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[98])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[98])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, ImPlotStairsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative(labelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStairsNative(pStr0, (uint*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[99])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[99])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.019.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.019.cs deleted file mode 100644 index 6af39457e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.019.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, ImPlotStairsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, int offset) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStairsNative(labelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStairsNative(pStr0, (long*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[100])(labelId, values, count, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[100])((nint)labelId, (nint)values, count, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, values, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, values, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, ImPlotStairsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative(labelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStairsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, xstart, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, double xscale, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong values, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStairsNative(pStr0, (ulong*)pvalues, count, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[101])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[101])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, float* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, float* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, float* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotStairsNative(labelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotStairsNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) - { - fixed (float* pxs = &xs) - { - PlotStairsNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - PlotStairsNative(labelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotStairsNative(labelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotStairsNative(labelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStairsNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStairsNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, float* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStairsNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStairsNative(pStr0, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStairsNative(pStr0, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStairsNative(pStr0, (float*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, xs, (float*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.020.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.020.cs deleted file mode 100644 index 078f910b7..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.020.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, xs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, ref float ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, xs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, float* xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, xs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStairsNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[102])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[102])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, double* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, double* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, double* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotStairsNative(labelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotStairsNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) - { - fixed (double* pxs = &xs) - { - PlotStairsNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - PlotStairsNative(labelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotStairsNative(labelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotStairsNative(labelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStairsNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStairsNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, double* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStairsNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStairsNative(pStr0, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStairsNative(pStr0, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStairsNative(pStr0, (double*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, xs, (double*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, xs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, ref double ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, xs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, double* xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, xs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStairsNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[103])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[103])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative(labelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative(labelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative(labelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStairsNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStairsNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStairsNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStairsNative(pStr0, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStairsNative(pStr0, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStairsNative(pStr0, (byte*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, xs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStairsNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[104])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[104])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, short* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, short* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, short* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotStairsNative(labelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotStairsNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) - { - fixed (short* pxs = &xs) - { - PlotStairsNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - PlotStairsNative(labelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotStairsNative(labelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotStairsNative(labelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStairsNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStairsNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, short* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStairsNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStairsNative(pStr0, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStairsNative(pStr0, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStairsNative(pStr0, (short*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, xs, (short*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.021.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.021.cs deleted file mode 100644 index 01fdf24bf..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.021.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, xs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, ref short ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, short* xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, xs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStairsNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[105])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[105])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative(labelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStairsNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStairsNative(pStr0, (ushort*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStairsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[106])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[106])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, int* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, int* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, int* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotStairsNative(labelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotStairsNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) - { - fixed (int* pxs = &xs) - { - PlotStairsNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotStairsNative(labelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, int* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStairsNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStairsNative(pStr0, (int*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, xs, (int*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, xs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, ref int ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, int* xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, xs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStairsNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[107])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[107])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative(labelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStairsNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.022.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.022.cs deleted file mode 100644 index abcdaa11d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.022.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStairsNative(pStr0, (uint*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, xs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStairsNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[108])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[108])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, long* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, long* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, long* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotStairsNative(labelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotStairsNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) - { - fixed (long* pxs = &xs) - { - PlotStairsNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - PlotStairsNative(labelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotStairsNative(labelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotStairsNative(labelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStairsNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStairsNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, long* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStairsNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStairsNative(pStr0, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStairsNative(pStr0, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStairsNative(pStr0, (long*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, xs, (long*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, xs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, ref long ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, xs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, long* xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, xs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStairsNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[109])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[109])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - PlotStairsNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - PlotStairsNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, int offset) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - PlotStairsNative(labelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStairsNative((byte*)plabelId, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsNative(pStr0, xs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative(labelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative(labelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative(labelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStairsNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStairsNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStairsNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStairsNative(pStr0, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStairsNative(pStr0, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStairsNative(pStr0, (ulong*)pxs, ys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, xs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStairs(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStairsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotStairsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStairsGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotStairsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, ImPlotStairsFlags, void>)funcTable[110])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[110])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStairsG(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotStairsFlags flags) - { - PlotStairsGNative(labelId, getter, data, count, flags); - } - - /// - /// To be documented. - /// - public static void PlotStairsG(byte* labelId, ImPlotPointGetter getter, void* data, int count) - { - PlotStairsGNative(labelId, getter, data, count, (ImPlotStairsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotStairsG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotStairsG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStairsGNative((byte*)plabelId, getter, data, count, (ImPlotStairsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotStairsG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, ImPlotStairsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStairsGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotStairsG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStairsGNative((byte*)plabelId, getter, data, count, (ImPlotStairsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotStairsG(string labelId, ImPlotPointGetter getter, void* data, int count, ImPlotStairsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsGNative(pStr0, getter, data, count, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStairsG(string labelId, ImPlotPointGetter getter, void* data, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStairsGNative(pStr0, getter, data, count, (ImPlotStairsFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[111])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[111])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.023.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.023.cs deleted file mode 100644 index 0c0be7e20..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.023.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, ImPlotShadedFlags flags) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotShadedNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotShadedNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[112])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[112])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, ImPlotShadedFlags flags) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotShadedNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.024.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.024.cs deleted file mode 100644 index a1ee9fff8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.024.cs +++ /dev/null @@ -1,5045 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotShadedNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[113])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[113])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, ImPlotShadedFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotShadedNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[114])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[114])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.025.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.025.cs deleted file mode 100644 index ea782dab6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.025.cs +++ /dev/null @@ -1,5044 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, ImPlotShadedFlags flags) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotShadedNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotShadedNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[115])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[115])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.026.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.026.cs deleted file mode 100644 index 8e4995518..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.026.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotShadedNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[116])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[116])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, ImPlotShadedFlags flags) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotShadedNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotShadedNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[117])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[117])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, ImPlotShadedFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.027.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.027.cs deleted file mode 100644 index c34d9fee0..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.027.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotShadedNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[118])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[118])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, ImPlotShadedFlags flags) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotShadedNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotShadedNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[119])(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[119])((nint)labelId, (nint)values, count, yref, xscale, xstart, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.028.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.028.cs deleted file mode 100644 index 422e0c59e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.028.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotShadedNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, double xstart, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, xstart, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, double xscale, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, xscale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, yref, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong values, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotShadedNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[120])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[120])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, int offset) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, int offset) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.029.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.029.cs deleted file mode 100644 index 531e9c465..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.029.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[121])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[121])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, int offset) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, int offset) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[122])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[122])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.030.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.030.cs deleted file mode 100644 index 4b31cdde0..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.030.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, int offset) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, int offset) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[123])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[123])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, int offset) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, int offset) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.031.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.031.cs deleted file mode 100644 index 7fafc15cb..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.031.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[124])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[124])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[125])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[125])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.032.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.032.cs deleted file mode 100644 index 557cc692d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.032.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, int offset) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, int offset) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[126])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[126])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, int offset) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, int offset) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.033.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.033.cs deleted file mode 100644 index 817a0006a..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.033.cs +++ /dev/null @@ -1,5040 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[127])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[127])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, int offset) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, int offset) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.034.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.034.cs deleted file mode 100644 index 581151595..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.034.cs +++ /dev/null @@ -1,5055 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[128])(labelId, xs, ys, count, yref, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[128])((nint)labelId, (nint)xs, (nint)ys, count, yref, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, int offset) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, double yref, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, yref, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[129])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[129])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, float* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotShadedNative(labelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, float* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, int offset) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.035.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.035.cs deleted file mode 100644 index 038e2627e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.035.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, float* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, int offset) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, float* ys1, ref float ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, ys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, float* xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(labelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref float xs, ref float ys1, ref float ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys1 = &ys1) - { - fixed (float* pys2 = &ys2) - { - PlotShadedNative(pStr0, (float*)pxs, (float*)pys1, (float*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[130])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[130])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, double* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotShadedNative(labelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, double* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, int offset) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, double* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, int offset) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, double* ys1, ref double ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, ys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.036.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.036.cs deleted file mode 100644 index 133b590de..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.036.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, double* xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(labelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref double xs, ref double ys1, ref double ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys1 = &ys1) - { - fixed (double* pys2 = &ys2) - { - PlotShadedNative(pStr0, (double*)pxs, (double*)pys1, (double*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[131])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[131])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, byte* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, byte* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, byte* ys1, ref byte ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, ys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, byte* xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(labelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref byte xs, ref byte ys1, ref byte ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys1 = &ys1) - { - fixed (byte* pys2 = &ys2) - { - PlotShadedNative(pStr0, (byte*)pxs, (byte*)pys1, (byte*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[132])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[132])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, short* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotShadedNative(labelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.037.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.037.cs deleted file mode 100644 index c06f33e89..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.037.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, short* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, int offset) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, short* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, int offset) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, short* ys1, ref short ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, ys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, short* xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(labelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref short xs, ref short ys1, ref short ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys1 = &ys1) - { - fixed (short* pys2 = &ys2) - { - PlotShadedNative(pStr0, (short*)pxs, (short*)pys1, (short*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[133])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[133])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ushort* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ushort* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.038.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.038.cs deleted file mode 100644 index 27b53ebf2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.038.cs +++ /dev/null @@ -1,5039 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ushort* ys1, ref ushort ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, ys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ushort* xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(labelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ushort xs, ref ushort ys1, ref ushort ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys1 = &ys1) - { - fixed (ushort* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ushort*)pxs, (ushort*)pys1, (ushort*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[134])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[134])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, int* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotShadedNative(labelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, int* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, int offset) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, int* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, int offset) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, int* ys1, ref int ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, ys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.039.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.039.cs deleted file mode 100644 index 4875a0d9c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.039.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, int* xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(labelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref int xs, ref int ys1, ref int ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys1 = &ys1) - { - fixed (int* pys2 = &ys2) - { - PlotShadedNative(pStr0, (int*)pxs, (int*)pys1, (int*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[135])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[135])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, uint* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, uint* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, uint* ys1, ref uint ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, ys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, uint* xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(labelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref uint xs, ref uint ys1, ref uint ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys1 = &ys1) - { - fixed (uint* pys2 = &ys2) - { - PlotShadedNative(pStr0, (uint*)pxs, (uint*)pys1, (uint*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[136])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[136])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, long* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotShadedNative(labelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.040.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.040.cs deleted file mode 100644 index aae11c70e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.040.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, long* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, int offset) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, long* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, int offset) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, long* ys1, ref long ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, ys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, long* xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(labelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref long xs, ref long ys1, ref long ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys1 = &ys1) - { - fixed (long* pys2 = &ys2) - { - PlotShadedNative(pStr0, (long*)pxs, (long*)pys1, (long*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedNative(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[137])(labelId, xs, ys1, ys2, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[137])((nint)labelId, (nint)xs, (nint)ys1, (nint)ys2, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - PlotShadedNative(labelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotShadedNative((byte*)plabelId, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedNative(pStr0, xs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ulong* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ulong* ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, ys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.041.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.041.cs deleted file mode 100644 index fe1e107a2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.041.cs +++ /dev/null @@ -1,5046 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ulong* ys1, ref ulong ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, ys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ulong* xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, xs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(byte* labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(labelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ref byte labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(ReadOnlySpan labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotShaded(string labelId, ref ulong xs, ref ulong ys1, ref ulong ys2, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys1 = &ys1) - { - fixed (ulong* pys2 = &ys2) - { - PlotShadedNative(pStr0, (ulong*)pxs, (ulong*)pys1, (ulong*)pys2, count, (ImPlotShadedFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotShadedGNative(byte* labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count, ImPlotShadedFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, delegate*, void*, int, ImPlotShadedFlags, void>)funcTable[138])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter1), data1, (delegate*)Utils.GetFunctionPointerForDelegate(getter2), data2, count, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[138])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter1), (nint)data1, (nint)Utils.GetFunctionPointerForDelegate(getter2), (nint)data2, count, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotShadedG(byte* labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count, ImPlotShadedFlags flags) - { - PlotShadedGNative(labelId, getter1, data1, getter2, data2, count, flags); - } - - /// - /// To be documented. - /// - public static void PlotShadedG(byte* labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) - { - PlotShadedGNative(labelId, getter1, data1, getter2, data2, count, (ImPlotShadedFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotShadedG(ref byte labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedGNative((byte*)plabelId, getter1, data1, getter2, data2, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotShadedG(ref byte labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotShadedGNative((byte*)plabelId, getter1, data1, getter2, data2, count, (ImPlotShadedFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotShadedG(ReadOnlySpan labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count, ImPlotShadedFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotShadedGNative((byte*)plabelId, getter1, data1, getter2, data2, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotShadedG(ReadOnlySpan labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) - { - fixed (byte* plabelId = labelId) - { - PlotShadedGNative((byte*)plabelId, getter1, data1, getter2, data2, count, (ImPlotShadedFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotShadedG(string labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count, ImPlotShadedFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedGNative(pStr0, getter1, data1, getter2, data2, count, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotShadedG(string labelId, ImPlotPointGetter getter1, void* data1, ImPlotPointGetter getter2, void* data2, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotShadedGNative(pStr0, getter1, data1, getter2, data2, count, (ImPlotShadedFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[139])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[139])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, ImPlotBarsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, int offset) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, int offset) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, double shift, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotBarsNative(labelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotBarsNative(pStr0, (float*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[140])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[140])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.042.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.042.cs deleted file mode 100644 index 6224b6bd8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.042.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, ImPlotBarsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, int offset) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, int offset) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, double shift, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotBarsNative(labelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotBarsNative(pStr0, (double*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[141])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[141])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, ImPlotBarsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, int offset) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, int offset) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative(labelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotBarsNative(pStr0, (byte*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[142])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[142])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.043.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.043.cs deleted file mode 100644 index c2cb23221..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.043.cs +++ /dev/null @@ -1,5033 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, ImPlotBarsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, int offset) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, int offset) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, double shift, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotBarsNative(labelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotBarsNative(pStr0, (short*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[143])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[143])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, ImPlotBarsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative(labelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotBarsNative(pStr0, (ushort*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[144])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[144])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, ImPlotBarsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, int offset) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, int offset) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, double shift, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotBarsNative(labelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.044.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.044.cs deleted file mode 100644 index aea5f13d0..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.044.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotBarsNative(pStr0, (int*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[145])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[145])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, ImPlotBarsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, int offset) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, int offset) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative(labelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotBarsNative(pStr0, (uint*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[146])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[146])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, ImPlotBarsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, int offset) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, int offset) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, double shift, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotBarsNative(labelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.045.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.045.cs deleted file mode 100644 index a9ab4ab72..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.045.cs +++ /dev/null @@ -1,5047 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotBarsNative(pStr0, (long*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[147])(labelId, values, count, barSize, shift, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[147])((nint)labelId, (nint)values, count, barSize, shift, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, int offset) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, barSize, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, values, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, values, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, ImPlotBarsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative(labelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotBarsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, double shift, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, shift, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, barSize, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong values, int count, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotBarsNative(pStr0, (ulong*)pvalues, count, (double)(0.67), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[148])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[148])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, float* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (float* pxs = &xs) - { - PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize) - { - fixed (float* pxs = &xs) - { - PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, int offset) - { - fixed (float* pxs = &xs) - { - PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotBarsNative(labelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, float* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotBarsNative(pStr0, (float*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, int offset) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, float* xs, ref float ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, xs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(labelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref float xs, ref float ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotBarsNative(pStr0, (float*)pxs, (float*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[149])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[149])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.046.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.046.cs deleted file mode 100644 index f7c96d6f9..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.046.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, double* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (double* pxs = &xs) - { - PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize) - { - fixed (double* pxs = &xs) - { - PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, int offset) - { - fixed (double* pxs = &xs) - { - PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotBarsNative(labelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, double* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotBarsNative(pStr0, (double*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, double* xs, ref double ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, xs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(labelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref double xs, ref double ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotBarsNative(pStr0, (double*)pxs, (double*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[150])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[150])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, byte* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, int offset) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative(labelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, byte* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotBarsNative(pStr0, (byte*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, int offset) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, byte* xs, ref byte ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, xs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(labelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref byte xs, ref byte ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotBarsNative(pStr0, (byte*)pxs, (byte*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[151])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[151])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, short* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (short* pxs = &xs) - { - PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize) - { - fixed (short* pxs = &xs) - { - PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, int offset) - { - fixed (short* pxs = &xs) - { - PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotBarsNative(labelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, short* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotBarsNative(pStr0, (short*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, int offset) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, short* xs, ref short ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, xs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(labelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref short xs, ref short ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotBarsNative(pStr0, (short*)pxs, (short*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[152])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[152])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.047.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.047.cs deleted file mode 100644 index 1e3fdc953..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.047.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ushort* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative(labelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ushort* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotBarsNative(pStr0, (ushort*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ushort* xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(labelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ushort xs, ref ushort ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[153])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[153])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, int* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (int* pxs = &xs) - { - PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize) - { - fixed (int* pxs = &xs) - { - PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, int offset) - { - fixed (int* pxs = &xs) - { - PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotBarsNative(labelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, int* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotBarsNative(pStr0, (int*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, xs, (int*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, int offset) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, int* xs, ref int ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, xs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(labelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref int xs, ref int ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotBarsNative(pStr0, (int*)pxs, (int*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[154])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[154])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, uint* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, int offset) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative(labelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, uint* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotBarsNative(pStr0, (uint*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, int offset) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, uint* xs, ref uint ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, xs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(labelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref uint xs, ref uint ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotBarsNative(pStr0, (uint*)pxs, (uint*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[155])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[155])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.048.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.048.cs deleted file mode 100644 index 3aab979bc..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.048.cs +++ /dev/null @@ -1,5048 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, long* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (long* pxs = &xs) - { - PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize) - { - fixed (long* pxs = &xs) - { - PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, int offset) - { - fixed (long* pxs = &xs) - { - PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotBarsNative(labelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, long* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotBarsNative(pStr0, (long*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, int offset) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, long* xs, ref long ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, xs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(labelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref long xs, ref long ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotBarsNative(pStr0, (long*)pxs, (long*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsNative(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[156])(labelId, xs, ys, count, barSize, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[156])((nint)labelId, (nint)xs, (nint)ys, count, barSize, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsNative(labelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) - { - PlotBarsNative(labelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotBarsNative((byte*)plabelId, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ulong* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsNative(pStr0, xs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative(labelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ulong* ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotBarsNative(pStr0, (ulong*)pxs, ys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ulong* xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, xs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(byte* labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(labelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ref byte labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotBars(string labelId, ref ulong xs, ref ulong ys, int count, double barSize, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, barSize, (ImPlotBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarsGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, double barSize, ImPlotBarsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, double, ImPlotBarsFlags, void>)funcTable[157])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, barSize, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[157])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, barSize, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarsG(byte* labelId, ImPlotPointGetter getter, void* data, int count, double barSize, ImPlotBarsFlags flags) - { - PlotBarsGNative(labelId, getter, data, count, barSize, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarsG(byte* labelId, ImPlotPointGetter getter, void* data, int count, double barSize) - { - PlotBarsGNative(labelId, getter, data, count, barSize, (ImPlotBarsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarsG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsGNative((byte*)plabelId, getter, data, count, barSize, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarsG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, double barSize) - { - fixed (byte* plabelId = &labelId) - { - PlotBarsGNative((byte*)plabelId, getter, data, count, barSize, (ImPlotBarsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarsG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, double barSize, ImPlotBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotBarsGNative((byte*)plabelId, getter, data, count, barSize, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarsG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, double barSize) - { - fixed (byte* plabelId = labelId) - { - PlotBarsGNative((byte*)plabelId, getter, data, count, barSize, (ImPlotBarsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarsG(string labelId, ImPlotPointGetter getter, void* data, int count, double barSize, ImPlotBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsGNative(pStr0, getter, data, count, barSize, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarsG(string labelId, ImPlotPointGetter getter, void* data, int count, double barSize) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotBarsGNative(pStr0, getter, data, count, barSize, (ImPlotBarsFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[158])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[158])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, float* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, float* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize) - { - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount) - { - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref float values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref float values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (float*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[159])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[159])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, double* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, double* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize) - { - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount) - { - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref double values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref double values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (double*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[160])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[160])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, byte* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, byte* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize) - { - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount) - { - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref byte values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.049.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.049.cs deleted file mode 100644 index 4da263266..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.049.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref byte values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (byte*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[161])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[161])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, short* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, short* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize) - { - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount) - { - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref short values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref short values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (short*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[162])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[162])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ushort* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ushort* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize) - { - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount) - { - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ushort values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ushort values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ushort*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[163])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[163])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, int* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, int* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize) - { - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount) - { - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref int values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref int values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (int*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[164])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[164])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, uint* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, uint* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize) - { - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount) - { - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref uint values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref uint values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (uint*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[165])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[165])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, long* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, long* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize) - { - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount) - { - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref long values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref long values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (long*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotBarGroupsNative(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[166])(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[166])((nint)labelIds, (nint)values, itemCount, groupCount, groupSize, shift, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, groupSize, (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ulong* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - PlotBarGroupsNative(labelIds, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ulong* values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotBarGroupsNative(pStrArray0, values, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift) - { - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize) - { - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount) - { - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(byte** labelIds, ref ulong values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(labelIds, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, double shift) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, shift, (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), (ImPlotBarGroupsFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, double groupSize, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, groupSize, (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotBarGroups(string[] labelIds, ref ulong values, int itemCount, int groupCount, ImPlotBarGroupsFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotBarGroupsNative(pStrArray0, (ulong*)pvalues, itemCount, groupCount, (double)(0.67), (double)(0), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[167])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[167])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.050.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.050.cs deleted file mode 100644 index 8da3f1863..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.050.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, int offset) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* perr = &err) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[168])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[168])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, int offset) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.051.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.051.cs deleted file mode 100644 index 6f41eb21f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.051.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* perr = &err) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[169])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[169])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, int offset) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* perr = &err) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[170])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[170])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.052.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.052.cs deleted file mode 100644 index 3cdf26fcb..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.052.cs +++ /dev/null @@ -1,5048 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, int offset) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* perr = &err) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[171])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[171])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.053.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.053.cs deleted file mode 100644 index 721181c24..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.053.cs +++ /dev/null @@ -1,5048 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* perr = &err) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[172])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[172])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, int offset) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.054.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.054.cs deleted file mode 100644 index c64fad1fd..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.054.cs +++ /dev/null @@ -1,5039 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* perr = &err) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[173])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[173])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, int offset) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* perr = &err) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[174])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[174])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.055.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.055.cs deleted file mode 100644 index 9add68a76..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.055.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, int offset) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* perr = &err) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[175])(labelId, xs, ys, err, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[175])((nint)labelId, (nint)xs, (nint)ys, (nint)err, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, err, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.056.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.056.cs deleted file mode 100644 index dfa81d0fd..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.056.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong err, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* perr = &err) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)perr, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[176])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[176])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.057.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.057.cs deleted file mode 100644 index 522a928a1..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.057.cs +++ /dev/null @@ -1,5042 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, float* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, float* neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, float* neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, neg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, float* ys, ref float neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, ys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, float* xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(labelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref float xs, ref float ys, ref float neg, ref float pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - fixed (float* pneg = &neg) - { - fixed (float* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (float*)pxs, (float*)pys, (float*)pneg, (float*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[177])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[177])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.058.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.058.cs deleted file mode 100644 index 16ea3bf2f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.058.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, double* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, double* neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.059.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.059.cs deleted file mode 100644 index 259115b2a..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.059.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, double* neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, neg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, double* ys, ref double neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, ys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, double* xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(labelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref double xs, ref double ys, ref double neg, ref double pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - fixed (double* pneg = &neg) - { - fixed (double* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (double*)pxs, (double*)pys, (double*)pneg, (double*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[178])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[178])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.060.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.060.cs deleted file mode 100644 index e6d1b4655..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.060.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, byte* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, byte* neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, neg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, byte* ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, ys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, byte* xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.061.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.061.cs deleted file mode 100644 index e3c96754a..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.061.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(labelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref byte xs, ref byte ys, ref byte neg, ref byte pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - fixed (byte* pneg = &neg) - { - fixed (byte* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (byte*)pxs, (byte*)pys, (byte*)pneg, (byte*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[179])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[179])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, short* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.062.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.062.cs deleted file mode 100644 index 032e42bbd..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.062.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, short* neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, short* neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, neg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, short* ys, ref short neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, ys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, short* xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(labelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref short xs, ref short ys, ref short neg, ref short pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - fixed (short* pneg = &neg) - { - fixed (short* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (short*)pxs, (short*)pys, (short*)pneg, (short*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[180])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[180])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.063.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.063.cs deleted file mode 100644 index 3475f6830..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.063.cs +++ /dev/null @@ -1,5038 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ushort* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ushort* neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, neg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.064.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.064.cs deleted file mode 100644 index 585cb6efc..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.064.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ushort* ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, ys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ushort* xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ushort xs, ref ushort ys, ref ushort neg, ref ushort pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - fixed (ushort* pneg = &neg) - { - fixed (ushort* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ushort*)pxs, (ushort*)pys, (ushort*)pneg, (ushort*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[181])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[181])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.065.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.065.cs deleted file mode 100644 index 3ff5243f9..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.065.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, int* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, int* neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, int* neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, neg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, int* ys, ref int neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, ys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, int* xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(labelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref int xs, ref int ys, ref int neg, ref int pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - fixed (int* pneg = &neg) - { - fixed (int* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (int*)pxs, (int*)pys, (int*)pneg, (int*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[182])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[182])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.066.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.066.cs deleted file mode 100644 index 267719783..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.066.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, uint* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.067.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.067.cs deleted file mode 100644 index 8a936c09e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.067.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, uint* neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, neg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, uint* ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, ys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, uint* xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(labelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref uint xs, ref uint ys, ref uint neg, ref uint pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - fixed (uint* pneg = &neg) - { - fixed (uint* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (uint*)pxs, (uint*)pys, (uint*)pneg, (uint*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[183])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[183])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.068.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.068.cs deleted file mode 100644 index aea557ce2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.068.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, long* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, long* neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, long* neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, neg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, long* ys, ref long neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, ys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, long* xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(labelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.069.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.069.cs deleted file mode 100644 index fb56273d0..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.069.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref long xs, ref long ys, ref long neg, ref long pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - fixed (long* pneg = &neg) - { - fixed (long* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (long*)pxs, (long*)pys, (long*)pneg, (long*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotErrorBarsNative(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[184])(labelId, xs, ys, neg, pos, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[184])((nint)labelId, (nint)xs, (nint)ys, (nint)neg, (nint)pos, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - PlotErrorBarsNative(labelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotErrorBarsNative(pStr0, xs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ulong* pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, pos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.070.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.070.cs deleted file mode 100644 index 89720cfb1..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.070.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ulong* neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, neg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ulong* ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, ys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ulong* xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, xs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(byte* labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(labelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ref byte labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, ImPlotErrorBarsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotErrorBars(string labelId, ref ulong xs, ref ulong ys, ref ulong neg, ref ulong pos, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - fixed (ulong* pneg = &neg) - { - fixed (ulong* ppos = &pos) - { - PlotErrorBarsNative(pStr0, (ulong*)pxs, (ulong*)pys, (ulong*)pneg, (ulong*)ppos, count, (ImPlotErrorBarsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[185])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[185])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, ImPlotStemsFlags flags) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.071.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.071.cs deleted file mode 100644 index d7f3bb10c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.071.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotStemsNative(labelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotStemsNative(pStr0, (float*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[186])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[186])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, ImPlotStemsFlags flags) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotStemsNative(labelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotStemsNative(pStr0, (double*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[187])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[187])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.072.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.072.cs deleted file mode 100644 index 6ae05fe77..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.072.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, ImPlotStemsFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative(labelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotStemsNative(pStr0, (byte*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[188])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[188])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, ImPlotStemsFlags flags) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotStemsNative(labelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.073.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.073.cs deleted file mode 100644 index 76b9e4472..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.073.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotStemsNative(pStr0, (short*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[189])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[189])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, ImPlotStemsFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative(labelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotStemsNative(pStr0, (ushort*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[190])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[190])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.074.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.074.cs deleted file mode 100644 index 6126e5f30..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.074.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, ImPlotStemsFlags flags) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotStemsNative(labelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotStemsNative(pStr0, (int*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[191])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[191])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, ImPlotStemsFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative(labelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.075.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.075.cs deleted file mode 100644 index 662954e2f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.075.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotStemsNative(pStr0, (uint*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[192])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[192])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, ImPlotStemsFlags flags) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotStemsNative(labelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotStemsNative(pStr0, (long*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[193])(labelId, values, count, reference, scale, start, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[193])((nint)labelId, (nint)values, count, reference, scale, start, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, values, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.076.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.076.cs deleted file mode 100644 index 4fd546da3..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.076.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, ImPlotStemsFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative(labelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotStemsNative((byte*)plabelId, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, double start, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, start, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, double scale, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, scale, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, reference, (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong values, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotStemsNative(pStr0, (ulong*)pvalues, count, (double)(0), (double)(1), (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[194])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[194])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, int offset) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotStemsNative(labelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, float* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotStemsNative(pStr0, (float*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, int offset) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, float* xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, xs, (float*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(labelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.077.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.077.cs deleted file mode 100644 index dddd7e549..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.077.cs +++ /dev/null @@ -1,5051 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref float xs, ref float ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotStemsNative(pStr0, (float*)pxs, (float*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[195])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[195])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, int offset) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotStemsNative(labelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, double* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotStemsNative(pStr0, (double*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, int offset) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, double* xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, xs, (double*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(labelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref double xs, ref double ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotStemsNative(pStr0, (double*)pxs, (double*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[196])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[196])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, int offset) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative(labelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, byte* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotStemsNative(pStr0, (byte*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.078.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.078.cs deleted file mode 100644 index aab605c41..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.078.cs +++ /dev/null @@ -1,5046 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, int offset) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, byte* xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, xs, (byte*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(labelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref byte xs, ref byte ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotStemsNative(pStr0, (byte*)pxs, (byte*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[197])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[197])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, int offset) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotStemsNative(labelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, short* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotStemsNative(pStr0, (short*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, int offset) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, short* xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, xs, (short*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(labelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.079.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.079.cs deleted file mode 100644 index 7f3ceeb5f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.079.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref short xs, ref short ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotStemsNative(pStr0, (short*)pxs, (short*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[198])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[198])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative(labelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ushort* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotStemsNative(pStr0, (ushort*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ushort* xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ushort*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(labelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotStemsNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[199])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[199])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, int offset) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotStemsNative(labelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.080.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.080.cs deleted file mode 100644 index cb60a9e2d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.080.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, int* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotStemsNative(pStr0, (int*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, int offset) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, int* xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, xs, (int*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(labelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref int xs, ref int ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotStemsNative(pStr0, (int*)pxs, (int*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[200])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[200])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, int offset) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative(labelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, uint* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotStemsNative(pStr0, (uint*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, int offset) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, uint* xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, xs, (uint*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(labelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.081.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.081.cs deleted file mode 100644 index f7aa851ce..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.081.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref uint xs, ref uint ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotStemsNative(pStr0, (uint*)pxs, (uint*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[201])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[201])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, int offset) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotStemsNative(labelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, long* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotStemsNative(pStr0, (long*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, int offset) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, long* xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, xs, (long*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(labelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref long xs, ref long ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotStemsNative(pStr0, (long*)pxs, (long*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotStemsNative(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[202])(labelId, xs, ys, count, reference, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[202])((nint)labelId, (nint)xs, (nint)ys, count, reference, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, int offset) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - PlotStemsNative(labelId, xs, ys, count, (double)(0), flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotStemsNative((byte*)plabelId, xs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotStemsNative(pStr0, xs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative(labelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.082.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.082.cs deleted file mode 100644 index 1e09f3887..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.082.cs +++ /dev/null @@ -1,5040 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ulong* ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotStemsNative(pStr0, (ulong*)pxs, ys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ulong* xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, xs, (ulong*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(labelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, double reference, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, reference, (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), (ImPlotStemsFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotStems(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotStemsFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotStemsNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (double)(0), flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[203])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[203])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, float* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, float* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, float* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, float* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, float* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, float* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, float* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, float* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, float* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative(labelId, (float*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative(labelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref float values, int count, ImPlotInfLinesFlags flags) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative(labelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref float values, int count, int offset) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref float values, int count, int offset, int stride) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative(labelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref float values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref float values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref float values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotInfLinesNative(pStr0, (float*)pvalues, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref float values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref float values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotInfLinesNative(pStr0, (float*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[204])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[204])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, double* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, double* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, double* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, double* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, double* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, double* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, double* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, double* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, double* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative(labelId, (double*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative(labelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref double values, int count, ImPlotInfLinesFlags flags) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative(labelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref double values, int count, int offset) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref double values, int count, int offset, int stride) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative(labelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref double values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref double values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref double values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotInfLinesNative(pStr0, (double*)pvalues, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref double values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref double values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotInfLinesNative(pStr0, (double*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[205])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[205])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, byte* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, byte* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, byte* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, byte* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, byte* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, byte* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, byte* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, byte* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, byte* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref byte values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(labelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref byte values, int count, int offset) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(labelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref byte values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref byte values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref byte values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(pStr0, (byte*)pvalues, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref byte values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref byte values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotInfLinesNative(pStr0, (byte*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[206])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[206])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, short* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, short* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, short* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, short* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, short* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, short* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, short* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.083.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.083.cs deleted file mode 100644 index 10bfe0f33..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.083.cs +++ /dev/null @@ -1,5056 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, short* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, short* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative(labelId, (short*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative(labelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref short values, int count, ImPlotInfLinesFlags flags) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative(labelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref short values, int count, int offset) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref short values, int count, int offset, int stride) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative(labelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref short values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref short values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref short values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotInfLinesNative(pStr0, (short*)pvalues, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref short values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref short values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotInfLinesNative(pStr0, (short*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[207])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[207])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ushort* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ushort* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ushort* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ushort* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ushort* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ushort* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ushort* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ushort* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ushort* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(labelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ushort values, int count, int offset) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ushort values, int count, int offset, int stride) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(labelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ushort values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ushort values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ushort*)pvalues, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ushort values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ushort values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ushort*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[208])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[208])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, int* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, int* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, int* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, int* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, int* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, int* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, int* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, int* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, int* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative(labelId, (int*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative(labelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref int values, int count, ImPlotInfLinesFlags flags) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative(labelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref int values, int count, int offset) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref int values, int count, int offset, int stride) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative(labelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref int values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref int values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref int values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotInfLinesNative(pStr0, (int*)pvalues, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref int values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref int values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotInfLinesNative(pStr0, (int*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[209])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[209])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, uint* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, uint* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, uint* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, uint* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, uint* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, uint* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, uint* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, uint* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, uint* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref uint values, int count, ImPlotInfLinesFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(labelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref uint values, int count, int offset) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref uint values, int count, int offset, int stride) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(labelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref uint values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref uint values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref uint values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(pStr0, (uint*)pvalues, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref uint values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref uint values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotInfLinesNative(pStr0, (uint*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[210])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[210])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, long* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, long* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, long* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, long* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, long* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, long* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, long* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, long* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, long* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative(labelId, (long*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative(labelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref long values, int count, ImPlotInfLinesFlags flags) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative(labelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref long values, int count, int offset) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref long values, int count, int offset, int stride) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative(labelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref long values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref long values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref long values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotInfLinesNative(pStr0, (long*)pvalues, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref long values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref long values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotInfLinesNative(pStr0, (long*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotInfLinesNative(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[211])(labelId, values, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[211])((nint)labelId, (nint)values, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) - { - PlotInfLinesNative(labelId, values, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ulong* values, int count, ImPlotInfLinesFlags flags) - { - PlotInfLinesNative(labelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ulong* values, int count) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ulong* values, int count, int offset) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ulong* values, int count, int offset, int stride) - { - PlotInfLinesNative(labelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ulong* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ulong* values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotInfLinesNative((byte*)plabelId, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ulong* values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ulong* values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ulong* values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotInfLinesNative(pStr0, values, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(labelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ulong values, int count, int offset) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(byte* labelId, ref ulong values, int count, int offset, int stride) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(labelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ref byte labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(ReadOnlySpan labelId, ref ulong values, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative((byte*)plabelId, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ulong values, int count, ImPlotInfLinesFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ulong*)pvalues, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ulong values, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotInfLines(string labelId, ref ulong values, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotInfLinesNative(pStr0, (ulong*)pvalues, count, (ImPlotInfLinesFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[212])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[212])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.084.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.084.cs deleted file mode 100644 index 3d128197d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.084.cs +++ /dev/null @@ -1,5042 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[213])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[213])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[214])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[214])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[215])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[215])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[216])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[216])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[217])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[217])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[218])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[218])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[219])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[219])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.085.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.085.cs deleted file mode 100644 index 2a0195242..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.085.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, double, ImPlotPieChartFlags, void>)funcTable[220])(labelIds, values, count, x, y, radius, (delegate*)Utils.GetFunctionPointerForDelegate(fmt), fmtData, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[220])((nint)labelIds, (nint)values, count, x, y, radius, (nint)Utils.GetFunctionPointerForDelegate(fmt), (nint)fmtData, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, void* fmtData, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, fmtData, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotFormatter fmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, fmt, (void*)(default), angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[221])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[221])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius) - { - fixed (float* pvalues = &values) - { - PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, double angle0) - { - fixed (float* pvalues = &values) - { - PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - PlotPieChart(labelIds, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - PlotPieChart(pStrArray0, (float*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, float* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, float* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref float values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (float*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[222])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[222])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius) - { - fixed (double* pvalues = &values) - { - PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, double angle0) - { - fixed (double* pvalues = &values) - { - PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - PlotPieChart(labelIds, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - PlotPieChart(pStrArray0, (double*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, double* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, double* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref double values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (double*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[223])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[223])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius) - { - fixed (byte* pvalues = &values) - { - PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, double angle0) - { - fixed (byte* pvalues = &values) - { - PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotPieChart(labelIds, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - PlotPieChart(pStrArray0, (byte*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.086.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.086.cs deleted file mode 100644 index c4367cdba..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.086.cs +++ /dev/null @@ -1,5033 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, byte* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref byte values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (byte*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[224])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[224])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius) - { - fixed (short* pvalues = &values) - { - PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, double angle0) - { - fixed (short* pvalues = &values) - { - PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - PlotPieChart(labelIds, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - PlotPieChart(pStrArray0, (short*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, short* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, short* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref short values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (short*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[225])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[225])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius) - { - fixed (ushort* pvalues = &values) - { - PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, double angle0) - { - fixed (ushort* pvalues = &values) - { - PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotPieChart(labelIds, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - PlotPieChart(pStrArray0, (ushort*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ushort* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ushort values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ushort*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[226])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[226])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius) - { - fixed (int* pvalues = &values) - { - PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, double angle0) - { - fixed (int* pvalues = &values) - { - PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - PlotPieChart(labelIds, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - PlotPieChart(pStrArray0, (int*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.087.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.087.cs deleted file mode 100644 index a0614a4ae..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.087.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, int* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, int* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref int values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (int*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[227])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[227])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius) - { - fixed (uint* pvalues = &values) - { - PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, double angle0) - { - fixed (uint* pvalues = &values) - { - PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotPieChart(labelIds, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - PlotPieChart(pStrArray0, (uint*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, uint* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref uint values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (uint*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[228])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[228])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius) - { - fixed (long* pvalues = &values) - { - PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, double angle0) - { - fixed (long* pvalues = &values) - { - PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - PlotPieChart(labelIds, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - PlotPieChart(pStrArray0, (long*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, long* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, long* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref long values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (long*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotPieChartNative(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[229])(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[229])((nint)labelIds, (nint)values, count, x, y, radius, (nint)labelFmt, angle0, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, double angle0) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, labelFmt, (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - PlotPieChart(labelIds, values, count, x, y, radius, (string)"%.1f", angle0, flags); - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - PlotPieChart(pStrArray0, values, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius) - { - fixed (ulong* pvalues = &values) - { - PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, double angle0) - { - fixed (ulong* pvalues = &values) - { - PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotPieChart(labelIds, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, byte* labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, labelFmt, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - PlotPieChart(pStrArray0, (ulong*)pvalues, count, x, y, radius, (string)"%.1f", angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, values, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, values, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.088.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.088.cs deleted file mode 100644 index b7ef37529..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.088.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ulong* values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, values, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt, double angle0) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ref byte labelFmt, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, double angle0) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, angle0, (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), (ImPlotPieChartFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, ReadOnlySpan labelFmt, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, (byte*)plabelFmt, (double)(90), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(byte** labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(labelIds, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, double angle0) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, angle0, (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), (ImPlotPieChartFlags)(0)); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotPieChart(string[] labelIds, ref ulong values, int count, double x, double y, double radius, string labelFmt, ImPlotPieChartFlags flags) - { - byte** pStrArray0 = null; - int pStrArray0Size = Utils.GetByteCountArray(labelIds); - if (labelIds != null) - { - if (pStrArray0Size > Utils.MaxStackallocSize) - { - pStrArray0 = (byte**)Utils.Alloc(pStrArray0Size); - } - else - { - byte* pStrArray0Stack = stackalloc byte[pStrArray0Size]; - pStrArray0 = (byte**)pStrArray0Stack; - } - } - for (int i = 0; i < labelIds.Length; i++) - { - pStrArray0[i] = (byte*)Utils.StringToUTF8Ptr(labelIds[i]); - } - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotPieChartNative(pStrArray0, (ulong*)pvalues, count, x, y, radius, pStr0, (double)(90), flags); - for (int i = 0; i < labelIds.Length; i++) - { - Utils.Free(pStrArray0[i]); - } - if (pStrArray0Size >= Utils.MaxStackallocSize) - { - Utils.Free(pStrArray0); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[230])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[230])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmap(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.089.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.089.cs deleted file mode 100644 index f6e8a7ca8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.089.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmap(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, float* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.090.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.090.cs deleted file mode 100644 index bff797a67..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.090.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, float* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref float values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (float*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.091.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.091.cs deleted file mode 100644 index 0eadc4f7c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.091.cs +++ /dev/null @@ -1,5044 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref float values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (float*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[231])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[231])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmap(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.092.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.092.cs deleted file mode 100644 index 33b75febb..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.092.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmap(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, double* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.093.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.093.cs deleted file mode 100644 index a7be345b7..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.093.cs +++ /dev/null @@ -1,5039 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, double* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.094.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.094.cs deleted file mode 100644 index f09904709..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.094.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref double values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (double*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref double values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (double*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[232])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[232])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.095.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.095.cs deleted file mode 100644 index ee2813885..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.095.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmap(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.096.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.096.cs deleted file mode 100644 index e7dcd68e5..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.096.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, byte* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, byte* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.097.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.097.cs deleted file mode 100644 index f91818b8e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.097.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref byte values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (byte*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref byte values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (byte*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[233])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[233])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmap(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.098.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.098.cs deleted file mode 100644 index 796c0ba4c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.098.cs +++ /dev/null @@ -1,5042 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmap(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.099.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.099.cs deleted file mode 100644 index 06d723332..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.099.cs +++ /dev/null @@ -1,5027 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, short* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, short* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.100.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.100.cs deleted file mode 100644 index f0691a338..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.100.cs +++ /dev/null @@ -1,5046 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref short values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (short*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref short values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (short*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[234])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[234])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.101.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.101.cs deleted file mode 100644 index 66114a4fd..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.101.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmap(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.102.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.102.cs deleted file mode 100644 index b27631377..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.102.cs +++ /dev/null @@ -1,5035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ushort* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ushort* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.103.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.103.cs deleted file mode 100644 index 8f289b95f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.103.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ushort values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ushort values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ushort*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[235])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[235])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.104.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.104.cs deleted file mode 100644 index 211888d7a..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.104.cs +++ /dev/null @@ -1,5038 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmap(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmap(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.105.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.105.cs deleted file mode 100644 index 2e19dc6c6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.105.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, int* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, int* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.106.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.106.cs deleted file mode 100644 index 50d13ae87..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.106.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref int values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (int*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref int values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (int*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[236])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[236])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.107.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.107.cs deleted file mode 100644 index 1a35d523c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.107.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmap(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.108.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.108.cs deleted file mode 100644 index 030ae36fc..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.108.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, uint* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, uint* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.109.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.109.cs deleted file mode 100644 index 7a9e2dbf4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.109.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref uint values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (uint*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref uint values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (uint*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[237])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[237])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.110.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.110.cs deleted file mode 100644 index 7862da685..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.110.cs +++ /dev/null @@ -1,5049 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmap(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmap(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.111.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.111.cs deleted file mode 100644 index 3a65a6c5f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.111.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, long* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, long* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.112.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.112.cs deleted file mode 100644 index 2ccf055b1..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.112.cs +++ /dev/null @@ -1,5054 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref long values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (long*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.113.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.113.cs deleted file mode 100644 index c7709a046..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.113.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref long values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (long*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotHeatmapNative(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[238])(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[238])((nint)labelId, (nint)values, rows, cols, scaleMin, scaleMax, (nint)labelFmt, boundsMin, boundsMax, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmap(labelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmap((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmap(pStr0, values, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmap((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmap(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (string)"%.1f", boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, byte* labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), labelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.114.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.114.cs deleted file mode 100644 index 4ed5f644d..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.114.cs +++ /dev/null @@ -1,5053 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ulong* values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, values, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ulong* values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, values, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.115.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.115.cs deleted file mode 100644 index b137c2d25..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.115.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(byte* labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative(labelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (labelFmt != null) - { - pStrSize1 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(labelFmt, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr1, boundsMin, boundsMax, flags); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ref byte labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, double scaleMin, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(ReadOnlySpan labelId, ref ulong values, int rows, int cols, string labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelFmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelFmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelFmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotHeatmapNative((byte*)plabelId, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), pStr0, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.116.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.116.cs deleted file mode 100644 index f7cb49822..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.116.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ref byte labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = &labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, (ImPlotHeatmapFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, double scaleMax, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, scaleMax, (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, (ImPlotPoint)(*ImPlotPointNative(0,0)), (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, (ImPlotPoint)(*ImPlotPointNative(1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, double scaleMin, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, scaleMin, (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotHeatmap(string labelId, ref ulong values, int rows, int cols, ReadOnlySpan labelFmt, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotHeatmapFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - fixed (byte* plabelFmt = labelFmt) - { - PlotHeatmapNative(pStr0, (ulong*)pvalues, rows, cols, (double)(0), (double)(0), (byte*)plabelFmt, boundsMin, boundsMax, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[239])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[239])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, float* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, ImPlotRange range) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, ImPlotRange range) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale, ImPlotRange range) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref float values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (float*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[240])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[240])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, double* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, ImPlotRange range) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, ImPlotRange range) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale, ImPlotRange range) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.117.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.117.cs deleted file mode 100644 index 724155e5f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.117.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref double values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (double*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[241])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[241])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, byte* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, ImPlotRange range) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, ImPlotRange range) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale, ImPlotRange range) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref byte values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (byte*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[242])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[242])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, short* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotRange range) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotRange range) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotRange range) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref short values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (short*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[243])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[243])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.118.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.118.cs deleted file mode 100644 index e8ba23f66..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.118.cs +++ /dev/null @@ -1,5034 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ushort* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotRange range) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotRange range) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotRange range) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ushort values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ushort*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[244])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[244])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, int* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, ImPlotRange range) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, ImPlotRange range) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale, ImPlotRange range) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref int values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (int*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[245])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[245])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.119.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.119.cs deleted file mode 100644 index f4e471c43..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.119.cs +++ /dev/null @@ -1,5031 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, uint* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, ImPlotRange range) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, ImPlotRange range) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale, ImPlotRange range) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref uint values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (uint*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[246])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[246])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, long* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, ImPlotRange range) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, ImPlotRange range) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale, ImPlotRange range) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref long values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (long*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogramNative(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[247])(labelId, values, count, bins, barScale, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[247])((nint)labelId, (nint)values, count, bins, barScale, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale, ImPlotRange range) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogramNative(labelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogramNative((byte*)plabelId, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ulong* values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogramNative(pStr0, values, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, ImPlotRange range) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, ImPlotRange range) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale, ImPlotRange range) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(byte* labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(labelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ref byte labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.120.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.120.cs deleted file mode 100644 index a1ed7968b..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.120.cs +++ /dev/null @@ -1,5037 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale, ImPlotRange range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(ReadOnlySpan labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative((byte*)plabelId, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale, ImPlotRange range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, (ImPlotRange)(*ImPlotRangeNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, int bins, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, bins, (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), (double)(1.0), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram(string labelId, ref ulong values, int count, double barScale, ImPlotRange range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pvalues = &values) - { - double ret = PlotHistogramNative(pStr0, (ulong*)pvalues, count, (int)((int)ImPlotBin.Sturges), barScale, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[248])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[248])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, ImPlotRect range) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, float* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, ImPlotRect range) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, float* xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, ImPlotRect range) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref float xs, ref float ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (float*)pxs, (float*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[249])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[249])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.121.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.121.cs deleted file mode 100644 index 204cd81b6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.121.cs +++ /dev/null @@ -1,5024 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, ImPlotRect range) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, double* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, ImPlotRect range) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, double* xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, ImPlotRect range) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref double xs, ref double ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (double*)pxs, (double*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[250])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[250])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, ImPlotRect range) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, byte* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, ImPlotRect range) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.122.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.122.cs deleted file mode 100644 index 526a98648..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.122.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, byte* xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref byte xs, ref byte ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (byte*)pxs, (byte*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[251])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[251])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, ImPlotRect range) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, short* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, ImPlotRect range) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, short* xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, ImPlotRect range) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.123.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.123.cs deleted file mode 100644 index 2f94417a4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.123.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref short xs, ref short ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (short*)pxs, (short*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[252])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[252])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ushort* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ushort* xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[253])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[253])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, ImPlotRect range) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.124.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.124.cs deleted file mode 100644 index c12920f13..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.124.cs +++ /dev/null @@ -1,5036 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, int* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, ImPlotRect range) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, int* xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, ImPlotRect range) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref int xs, ref int ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (int*)pxs, (int*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[254])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[254])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, ImPlotRect range) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, uint* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, ImPlotRect range) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, uint* xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.125.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.125.cs deleted file mode 100644 index 5a332731e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.125.cs +++ /dev/null @@ -1,5043 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref uint xs, ref uint ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (uint*)pxs, (uint*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[255])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[255])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, ImPlotRect range) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, long* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, ImPlotRect range) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, long* xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, ImPlotRect range) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref long xs, ref long ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (long*)pxs, (long*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PlotHistogram2DNative(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[256])(labelId, xs, ys, count, xBins, yBins, range, flags); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[256])((nint)labelId, (nint)xs, (nint)ys, count, xBins, yBins, range, flags); - #endif - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - double ret = PlotHistogram2DNative(labelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.126.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.126.cs deleted file mode 100644 index ada1506f6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.126.cs +++ /dev/null @@ -1,5029 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - double ret = PlotHistogram2DNative(pStr0, xs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ulong* ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, ys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ulong* xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, xs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(labelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, (ImPlotHistogramFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, int yBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, yBins, (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), (ImPlotRect)(*ImPlotRectNative()), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, int xBins, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, xBins, (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static double PlotHistogram2D(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotRect range, ImPlotHistogramFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - double ret = PlotHistogram2DNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (int)((int)ImPlotBin.Sturges), (int)((int)ImPlotBin.Sturges), range, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[257])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[257])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, float* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, float* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, float* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative(labelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative(labelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, float* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, float* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotDigitalNative(pStr0, (float*)pxs, ys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, float* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, float* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, float* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - PlotDigitalNative(pStr0, (float*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, xs, (float*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, int offset) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, float* xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, float* xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(labelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, flags, (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, ref float ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(float))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref float xs, ref float ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pxs = &xs) - { - fixed (float* pys = &ys) - { - PlotDigitalNative(pStr0, (float*)pxs, (float*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[258])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[258])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, double* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, double* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.127.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.127.cs deleted file mode 100644 index 37fb5ab1c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.127.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, double* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative(labelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative(labelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, double* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, double* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotDigitalNative(pStr0, (double*)pxs, ys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, double* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, double* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, double* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - PlotDigitalNative(pStr0, (double*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, xs, (double*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, int offset) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, double* xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, double* xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(labelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, flags, (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, ref double ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(double))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref double xs, ref double ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (double* pxs = &xs) - { - fixed (double* pys = &ys) - { - PlotDigitalNative(pStr0, (double*)pxs, (double*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[259])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[259])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative(labelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative(labelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative(labelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative(labelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative(labelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative(labelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotDigitalNative(pStr0, (byte*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotDigitalNative(pStr0, (byte*)pxs, ys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotDigitalNative(pStr0, (byte*)pxs, ys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotDigitalNative(pStr0, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotDigitalNative(pStr0, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, byte* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - PlotDigitalNative(pStr0, (byte*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, byte* xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(labelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, flags, (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(sbyte))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref byte xs, ref byte ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pxs = &xs) - { - fixed (byte* pys = &ys) - { - PlotDigitalNative(pStr0, (byte*)pxs, (byte*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[260])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[260])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, short* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, short* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, short* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative(labelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative(labelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative(labelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative(labelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative(labelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative(labelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, short* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotDigitalNative(pStr0, (short*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotDigitalNative(pStr0, (short*)pxs, ys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, short* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotDigitalNative(pStr0, (short*)pxs, ys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, short* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotDigitalNative(pStr0, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, short* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotDigitalNative(pStr0, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, short* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - PlotDigitalNative(pStr0, (short*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, xs, (short*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, int offset) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, short* xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, short* xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(labelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, flags, offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, flags, (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, ref short ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(short))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.128.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.128.cs deleted file mode 100644 index 15087901e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.128.cs +++ /dev/null @@ -1,5033 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref short xs, ref short ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (short* pxs = &xs) - { - fixed (short* pys = &ys) - { - PlotDigitalNative(pStr0, (short*)pxs, (short*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[261])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[261])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(labelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(labelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(labelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(labelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(labelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(labelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ushort* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - PlotDigitalNative(pStr0, (ushort*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ushort* xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(labelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, flags, (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ushort))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ushort xs, ref ushort ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ushort* pxs = &xs) - { - fixed (ushort* pys = &ys) - { - PlotDigitalNative(pStr0, (ushort*)pxs, (ushort*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[262])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[262])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, int* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, int* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, int* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative(labelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative(labelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative(labelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative(labelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative(labelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative(labelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, int* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotDigitalNative(pStr0, (int*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotDigitalNative(pStr0, (int*)pxs, ys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, int* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotDigitalNative(pStr0, (int*)pxs, ys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, int* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotDigitalNative(pStr0, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, int* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotDigitalNative(pStr0, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, int* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - PlotDigitalNative(pStr0, (int*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, xs, (int*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, int offset) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, int* xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, int* xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(labelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, flags, offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, flags, (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, ref int ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(int))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref int xs, ref int ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* pxs = &xs) - { - fixed (int* pys = &ys) - { - PlotDigitalNative(pStr0, (int*)pxs, (int*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[263])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[263])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative(labelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative(labelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative(labelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative(labelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative(labelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative(labelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotDigitalNative(pStr0, (uint*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotDigitalNative(pStr0, (uint*)pxs, ys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotDigitalNative(pStr0, (uint*)pxs, ys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotDigitalNative(pStr0, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotDigitalNative(pStr0, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, uint* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - PlotDigitalNative(pStr0, (uint*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, uint* xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(labelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.129.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.129.cs deleted file mode 100644 index e663a1e59..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.129.cs +++ /dev/null @@ -1,5032 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, flags, (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(uint))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref uint xs, ref uint ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pxs = &xs) - { - fixed (uint* pys = &ys) - { - PlotDigitalNative(pStr0, (uint*)pxs, (uint*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[264])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[264])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, long* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, long* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, long* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative(labelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative(labelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative(labelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative(labelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative(labelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative(labelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, long* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotDigitalNative(pStr0, (long*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotDigitalNative(pStr0, (long*)pxs, ys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, long* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotDigitalNative(pStr0, (long*)pxs, ys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, long* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotDigitalNative(pStr0, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, long* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotDigitalNative(pStr0, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, long* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - PlotDigitalNative(pStr0, (long*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, xs, (long*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, int offset) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, long* xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, long* xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(labelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, flags, offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, flags, (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, ref long ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(long))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref long xs, ref long ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (long* pxs = &xs) - { - fixed (long* pys = &ys) - { - PlotDigitalNative(pStr0, (long*)pxs, (long*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalNative(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[265])(labelId, xs, ys, count, flags, offset, stride); - #else - ((delegate* unmanaged[Cdecl])funcTable[265])((nint)labelId, (nint)xs, (nint)ys, count, flags, offset, stride); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - PlotDigitalNative(labelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, int offset) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - PlotDigitalNative(labelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalNative((byte*)plabelId, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalNative(pStr0, xs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(labelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(labelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(labelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(labelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(labelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(labelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ulong* ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - PlotDigitalNative(pStr0, (ulong*)pxs, ys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ulong* xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, xs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(byte* labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(labelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ref byte labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = &labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(ReadOnlySpan labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - fixed (byte* plabelId = labelId) - { - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative((byte*)plabelId, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, flags, (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), (int)(0), (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, int offset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, (int)(sizeof(ulong))); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void PlotDigital(string labelId, ref ulong xs, ref ulong ys, int count, int offset, int stride) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ulong* pxs = &xs) - { - fixed (ulong* pys = &ys) - { - PlotDigitalNative(pStr0, (ulong*)pxs, (ulong*)pys, count, (ImPlotDigitalFlags)(0), offset, stride); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDigitalGNative(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotDigitalFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, int, ImPlotDigitalFlags, void>)funcTable[266])(labelId, (delegate*)Utils.GetFunctionPointerForDelegate(getter), data, count, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[266])((nint)labelId, (nint)Utils.GetFunctionPointerForDelegate(getter), (nint)data, count, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(byte* labelId, ImPlotPointGetter getter, void* data, int count, ImPlotDigitalFlags flags) - { - PlotDigitalGNative(labelId, getter, data, count, flags); - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(byte* labelId, ImPlotPointGetter getter, void* data, int count) - { - PlotDigitalGNative(labelId, getter, data, count, (ImPlotDigitalFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(ref byte labelId, ImPlotPointGetter getter, void* data, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(ref byte labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = &labelId) - { - PlotDigitalGNative((byte*)plabelId, getter, data, count, (ImPlotDigitalFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count, ImPlotDigitalFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalGNative((byte*)plabelId, getter, data, count, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(ReadOnlySpan labelId, ImPlotPointGetter getter, void* data, int count) - { - fixed (byte* plabelId = labelId) - { - PlotDigitalGNative((byte*)plabelId, getter, data, count, (ImPlotDigitalFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(string labelId, ImPlotPointGetter getter, void* data, int count, ImPlotDigitalFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalGNative(pStr0, getter, data, count, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDigitalG(string labelId, ImPlotPointGetter getter, void* data, int count) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDigitalGNative(pStr0, getter, data, count, (ImPlotDigitalFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotImageNative(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[267])(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[267])((nint)labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); - } - - /// - /// To be documented. - /// - public static void PlotImage(byte* labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) - { - PlotImageNative(labelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ref byte labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(ReadOnlySpan labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotImageNative((byte*)plabelId, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol, ImPlotImageFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, Vector4 tintCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, tintCol, (ImPlotImageFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (ImPlotImageFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (ImPlotImageFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector2 uv1, ImPlotImageFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, ImPlotImageFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, ImPlotImageFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector2 uv0, Vector4 tintCol, ImPlotImageFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, uv0, (Vector2)(new Vector2(1,1)), tintCol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotImage(string labelId, ImTextureID userTextureId, ImPlotPoint boundsMin, ImPlotPoint boundsMax, Vector4 tintCol, ImPlotImageFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotImageNative(pStr0, userTextureId, boundsMin, boundsMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotTextNative(byte* text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[268])(text, x, y, pixOffset, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[268])((nint)text, x, y, pixOffset, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotText(byte* text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) - { - PlotTextNative(text, x, y, pixOffset, flags); - } - - /// - /// To be documented. - /// - public static void PlotText(byte* text, double x, double y, Vector2 pixOffset) - { - PlotTextNative(text, x, y, pixOffset, (ImPlotTextFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotText(byte* text, double x, double y) - { - PlotTextNative(text, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotText(byte* text, double x, double y, ImPlotTextFlags flags) - { - PlotTextNative(text, x, y, (Vector2)(new Vector2(0,0)), flags); - } - - /// - /// To be documented. - /// - public static void PlotText(ref byte text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) - { - fixed (byte* ptext = &text) - { - PlotTextNative((byte*)ptext, x, y, pixOffset, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ref byte text, double x, double y, Vector2 pixOffset) - { - fixed (byte* ptext = &text) - { - PlotTextNative((byte*)ptext, x, y, pixOffset, (ImPlotTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ref byte text, double x, double y) - { - fixed (byte* ptext = &text) - { - PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ref byte text, double x, double y, ImPlotTextFlags flags) - { - fixed (byte* ptext = &text) - { - PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ReadOnlySpan text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) - { - fixed (byte* ptext = text) - { - PlotTextNative((byte*)ptext, x, y, pixOffset, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ReadOnlySpan text, double x, double y, Vector2 pixOffset) - { - fixed (byte* ptext = text) - { - PlotTextNative((byte*)ptext, x, y, pixOffset, (ImPlotTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ReadOnlySpan text, double x, double y) - { - fixed (byte* ptext = text) - { - PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotText(ReadOnlySpan text, double x, double y, ImPlotTextFlags flags) - { - fixed (byte* ptext = text) - { - PlotTextNative((byte*)ptext, x, y, (Vector2)(new Vector2(0,0)), flags); - } - } - - /// - /// To be documented. - /// - public static void PlotText(string text, double x, double y, Vector2 pixOffset, ImPlotTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotTextNative(pStr0, x, y, pixOffset, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotText(string text, double x, double y, Vector2 pixOffset) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotTextNative(pStr0, x, y, pixOffset, (ImPlotTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotText(string text, double x, double y) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotTextNative(pStr0, x, y, (Vector2)(new Vector2(0,0)), (ImPlotTextFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotText(string text, double x, double y, ImPlotTextFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotTextNative(pStr0, x, y, (Vector2)(new Vector2(0,0)), flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotDummyNative(byte* labelId, ImPlotDummyFlags flags) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[269])(labelId, flags); - #else - ((delegate* unmanaged[Cdecl])funcTable[269])((nint)labelId, flags); - #endif - } - - /// - /// To be documented. - /// - public static void PlotDummy(byte* labelId, ImPlotDummyFlags flags) - { - PlotDummyNative(labelId, flags); - } - - /// - /// To be documented. - /// - public static void PlotDummy(byte* labelId) - { - PlotDummyNative(labelId, (ImPlotDummyFlags)(0)); - } - - /// - /// To be documented. - /// - public static void PlotDummy(ref byte labelId, ImPlotDummyFlags flags) - { - fixed (byte* plabelId = &labelId) - { - PlotDummyNative((byte*)plabelId, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotDummy(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - PlotDummyNative((byte*)plabelId, (ImPlotDummyFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotDummy(ReadOnlySpan labelId, ImPlotDummyFlags flags) - { - fixed (byte* plabelId = labelId) - { - PlotDummyNative((byte*)plabelId, flags); - } - } - - /// - /// To be documented. - /// - public static void PlotDummy(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - PlotDummyNative((byte*)plabelId, (ImPlotDummyFlags)(0)); - } - } - - /// - /// To be documented. - /// - public static void PlotDummy(string labelId, ImPlotDummyFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDummyNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void PlotDummy(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PlotDummyNative(pStr0, (ImPlotDummyFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragPointNative(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[270])(id, x, y, col, size, flags, outClicked, outHovered, held); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[270])(id, (nint)x, (nint)y, col, size, flags, (nint)outClicked, (nint)outHovered, (nint)held); - #endif - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked, bool* outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked, bool* outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.130.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.130.cs deleted file mode 100644 index a604078d7..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.130.cs +++ /dev/null @@ -1,5033 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, y, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, double* x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, x, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, float size, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, size, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragPoint(int id, ref double x, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragPointNative(id, (double*)px, (double*)py, col, (float)(4), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragLineXNative(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[271])(id, x, col, thickness, flags, outClicked, outHovered, held); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[271])(id, (nint)x, col, thickness, flags, (nint)outClicked, (nint)outHovered, (nint)held); - #endif - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked, bool* outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked, bool* outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.131.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.131.cs deleted file mode 100644 index 600a5f350..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.131.cs +++ /dev/null @@ -1,5028 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, double* x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, x, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineX(int id, ref double x, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px = &x) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineXNative(id, (double*)px, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragLineYNative(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[272])(id, y, col, thickness, flags, outClicked, outHovered, held); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[272])(id, (nint)y, col, thickness, flags, (nint)outClicked, (nint)outHovered, (nint)held); - #endif - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked, bool* outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked, bool* outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, double* y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, y, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, float thickness, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, thickness, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragLineY(int id, ref double y, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py = &y) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragLineYNative(id, (double*)py, col, (float)(1), flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte DragRectNative(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[273])(id, x1, y1, x2, y2, col, flags, outClicked, outHovered, held); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[273])(id, (nint)x1, (nint)y1, (nint)x2, (nint)y2, col, flags, (nint)outClicked, (nint)outHovered, (nint)held); - #endif - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)(default), (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.132.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.132.cs deleted file mode 100644 index e301c1fd6..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.132.cs +++ /dev/null @@ -1,5041 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)(default), (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)(default)); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, bool* held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, held); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, bool* outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, outHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, bool* outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), outClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.133.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.133.cs deleted file mode 100644 index c94354506..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.133.cs +++ /dev/null @@ -1,5026 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, double* y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, y2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, double* x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, x2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, double* y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, y1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, double* x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, x1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ImPlotDragToolFlags flags, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, flags, (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool DragRect(int id, ref double x1, ref double y1, ref double x2, ref double y2, Vector4 col, ref bool outClicked, ref bool outHovered, ref bool held) - { - fixed (double* px1 = &x1) - { - fixed (double* py1 = &y1) - { - fixed (double* px2 = &x2) - { - fixed (double* py2 = &y2) - { - fixed (bool* poutClicked = &outClicked) - { - fixed (bool* poutHovered = &outHovered) - { - fixed (bool* pheld = &held) - { - byte ret = DragRectNative(id, (double*)px1, (double*)py1, (double*)px2, (double*)py2, col, (ImPlotDragToolFlags)(0), (bool*)poutClicked, (bool*)poutHovered, (bool*)pheld); - return ret != 0; - } - } - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AnnotationNative(double x, double y, Vector4 col, Vector2 pixOffset, byte clamp, byte round) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[274])(x, y, col, pixOffset, clamp, round); - #else - ((delegate* unmanaged[Cdecl])funcTable[274])(x, y, col, pixOffset, clamp, round); - #endif - } - - /// - /// To be documented. - /// - public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, bool round) - { - AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, round ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp) - { - AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AnnotationNative(double x, double y, Vector4 col, Vector2 pixOffset, byte clamp, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[275])(x, y, col, pixOffset, clamp, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[275])(x, y, col, pixOffset, clamp, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, byte* fmt) - { - AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, fmt); - } - - /// - /// To be documented. - /// - public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void Annotation(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AnnotationNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AnnotationVNative(double x, double y, Vector4 col, Vector2 pixOffset, byte clamp, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[276])(x, y, col, pixOffset, clamp, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[276])(x, y, col, pixOffset, clamp, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, byte* fmt, nuint args) - { - AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, fmt, args); - } - - /// - /// To be documented. - /// - public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void AnnotationV(double x, double y, Vector4 col, Vector2 pixOffset, bool clamp, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AnnotationVNative(x, y, col, pixOffset, clamp ? (byte)1 : (byte)0, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TagXNative(double x, Vector4 col, byte round) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[277])(x, col, round); - #else - ((delegate* unmanaged[Cdecl])funcTable[277])(x, col, round); - #endif - } - - /// - /// To be documented. - /// - public static void TagX(double x, Vector4 col, bool round) - { - TagXNative(x, col, round ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void TagX(double x, Vector4 col) - { - TagXNative(x, col, (byte)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TagXNative(double x, Vector4 col, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[278])(x, col, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[278])(x, col, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void TagX(double x, Vector4 col, byte* fmt) - { - TagXNative(x, col, fmt); - } - - /// - /// To be documented. - /// - public static void TagX(double x, Vector4 col, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - TagXNative(x, col, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void TagX(double x, Vector4 col, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - TagXNative(x, col, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void TagX(double x, Vector4 col, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TagXNative(x, col, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TagXVNative(double x, Vector4 col, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[279])(x, col, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[279])(x, col, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void TagXV(double x, Vector4 col, byte* fmt, nuint args) - { - TagXVNative(x, col, fmt, args); - } - - /// - /// To be documented. - /// - public static void TagXV(double x, Vector4 col, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - TagXVNative(x, col, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TagXV(double x, Vector4 col, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - TagXVNative(x, col, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TagXV(double x, Vector4 col, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TagXVNative(x, col, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TagYNative(double y, Vector4 col, byte round) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[280])(y, col, round); - #else - ((delegate* unmanaged[Cdecl])funcTable[280])(y, col, round); - #endif - } - - /// - /// To be documented. - /// - public static void TagY(double y, Vector4 col, bool round) - { - TagYNative(y, col, round ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void TagY(double y, Vector4 col) - { - TagYNative(y, col, (byte)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TagYNative(double y, Vector4 col, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[281])(y, col, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[281])(y, col, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void TagY(double y, Vector4 col, byte* fmt) - { - TagYNative(y, col, fmt); - } - - /// - /// To be documented. - /// - public static void TagY(double y, Vector4 col, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - TagYNative(y, col, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void TagY(double y, Vector4 col, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - TagYNative(y, col, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void TagY(double y, Vector4 col, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TagYNative(y, col, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TagYVNative(double y, Vector4 col, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[282])(y, col, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[282])(y, col, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void TagYV(double y, Vector4 col, byte* fmt, nuint args) - { - TagYVNative(y, col, fmt, args); - } - - /// - /// To be documented. - /// - public static void TagYV(double y, Vector4 col, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - TagYVNative(y, col, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TagYV(double y, Vector4 col, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - TagYVNative(y, col, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void TagYV(double y, Vector4 col, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - TagYVNative(y, col, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAxisNative(ImAxis axis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[283])(axis); - #else - ((delegate* unmanaged[Cdecl])funcTable[283])(axis); - #endif - } - - /// - /// To be documented. - /// - public static void SetAxis(ImAxis axis) - { - SetAxisNative(axis); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAxesNative(ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[284])(xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[284])(xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static void SetAxes(ImAxis xAxis, ImAxis yAxis) - { - SetAxesNative(xAxis, yAxis); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PixelsToPlotNative(ImPlotPoint* pOut, Vector2 pix, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[285])(pOut, pix, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[285])((nint)pOut, pix, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint PixelsToPlot(Vector2 pix) - { - ImPlotPoint ret; - PixelsToPlotNative(&ret, pix, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotPoint PixelsToPlot(Vector2 pix, ImAxis xAxis) - { - ImPlotPoint ret; - PixelsToPlotNative(&ret, pix, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ImPlotPointPtr pOut, Vector2 pix) - { - PixelsToPlotNative(pOut, pix, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static ImPlotPoint PixelsToPlot(Vector2 pix, ImAxis xAxis, ImAxis yAxis) - { - ImPlotPoint ret; - PixelsToPlotNative(&ret, pix, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ImPlotPointPtr pOut, Vector2 pix, ImAxis xAxis, ImAxis yAxis) - { - PixelsToPlotNative(pOut, pix, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ImPlotPointPtr pOut, Vector2 pix, ImAxis xAxis) - { - PixelsToPlotNative(pOut, pix, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ref ImPlotPoint pOut, Vector2 pix, ImAxis xAxis, ImAxis yAxis) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - PixelsToPlotNative((ImPlotPoint*)ppOut, pix, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ref ImPlotPoint pOut, Vector2 pix, ImAxis xAxis) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - PixelsToPlotNative((ImPlotPoint*)ppOut, pix, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ref ImPlotPoint pOut, Vector2 pix) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - PixelsToPlotNative((ImPlotPoint*)ppOut, pix, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PixelsToPlotNative(ImPlotPoint* pOut, float x, float y, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[286])(pOut, x, y, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[286])((nint)pOut, x, y, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint PixelsToPlot(float x, float y) - { - ImPlotPoint ret; - PixelsToPlotNative(&ret, x, y, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotPoint PixelsToPlot(float x, float y, ImAxis xAxis) - { - ImPlotPoint ret; - PixelsToPlotNative(&ret, x, y, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ImPlotPointPtr pOut, float x, float y) - { - PixelsToPlotNative(pOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static ImPlotPoint PixelsToPlot(float x, float y, ImAxis xAxis, ImAxis yAxis) - { - ImPlotPoint ret; - PixelsToPlotNative(&ret, x, y, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ImPlotPointPtr pOut, float x, float y, ImAxis xAxis, ImAxis yAxis) - { - PixelsToPlotNative(pOut, x, y, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ImPlotPointPtr pOut, float x, float y, ImAxis xAxis) - { - PixelsToPlotNative(pOut, x, y, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ref ImPlotPoint pOut, float x, float y, ImAxis xAxis, ImAxis yAxis) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - PixelsToPlotNative((ImPlotPoint*)ppOut, x, y, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ref ImPlotPoint pOut, float x, float y, ImAxis xAxis) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - PixelsToPlotNative((ImPlotPoint*)ppOut, x, y, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void PixelsToPlot(ref ImPlotPoint pOut, float x, float y) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - PixelsToPlotNative((ImPlotPoint*)ppOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotToPixelsNative(Vector2* pOut, ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[287])(pOut, plt, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[287])((nint)pOut, plt, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 PlotToPixels(ImPlotPoint plt) - { - Vector2 ret; - PlotToPixelsNative(&ret, plt, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 PlotToPixels(ImPlotPoint plt, ImAxis xAxis) - { - Vector2 ret; - PlotToPixelsNative(&ret, plt, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void PlotToPixels(Vector2* pOut, ImPlotPoint plt) - { - PlotToPixelsNative(pOut, plt, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static Vector2 PlotToPixels(ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) - { - Vector2 ret; - PlotToPixelsNative(&ret, plt, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void PlotToPixels(Vector2* pOut, ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) - { - PlotToPixelsNative(pOut, plt, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void PlotToPixels(Vector2* pOut, ImPlotPoint plt, ImAxis xAxis) - { - PlotToPixelsNative(pOut, plt, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void PlotToPixels(ref Vector2 pOut, ImPlotPoint plt, ImAxis xAxis, ImAxis yAxis) - { - fixed (Vector2* ppOut = &pOut) - { - PlotToPixelsNative((Vector2*)ppOut, plt, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void PlotToPixels(ref Vector2 pOut, ImPlotPoint plt, ImAxis xAxis) - { - fixed (Vector2* ppOut = &pOut) - { - PlotToPixelsNative((Vector2*)ppOut, plt, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void PlotToPixels(ref Vector2 pOut, ImPlotPoint plt) - { - fixed (Vector2* ppOut = &pOut) - { - PlotToPixelsNative((Vector2*)ppOut, plt, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PlotToPixelsNative(Vector2* pOut, double x, double y, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[288])(pOut, x, y, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[288])((nint)pOut, x, y, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 PlotToPixels(double x, double y) - { - Vector2 ret; - PlotToPixelsNative(&ret, x, y, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 PlotToPixels(double x, double y, ImAxis xAxis) - { - Vector2 ret; - PlotToPixelsNative(&ret, x, y, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void PlotToPixels(Vector2* pOut, double x, double y) - { - PlotToPixelsNative(pOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static Vector2 PlotToPixels(double x, double y, ImAxis xAxis, ImAxis yAxis) - { - Vector2 ret; - PlotToPixelsNative(&ret, x, y, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void PlotToPixels(Vector2* pOut, double x, double y, ImAxis xAxis, ImAxis yAxis) - { - PlotToPixelsNative(pOut, x, y, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void PlotToPixels(Vector2* pOut, double x, double y, ImAxis xAxis) - { - PlotToPixelsNative(pOut, x, y, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void PlotToPixels(ref Vector2 pOut, double x, double y, ImAxis xAxis, ImAxis yAxis) - { - fixed (Vector2* ppOut = &pOut) - { - PlotToPixelsNative((Vector2*)ppOut, x, y, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void PlotToPixels(ref Vector2 pOut, double x, double y, ImAxis xAxis) - { - fixed (Vector2* ppOut = &pOut) - { - PlotToPixelsNative((Vector2*)ppOut, x, y, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void PlotToPixels(ref Vector2 pOut, double x, double y) - { - fixed (Vector2* ppOut = &pOut) - { - PlotToPixelsNative((Vector2*)ppOut, x, y, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetPlotPosNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[289])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[289])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetPlotPos() - { - Vector2 ret; - GetPlotPosNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotPos(Vector2* pOut) - { - GetPlotPosNative(pOut); - } - - /// - /// To be documented. - /// - public static void GetPlotPos(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetPlotPosNative((Vector2*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetPlotSizeNative(Vector2* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[290])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[290])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetPlotSize() - { - Vector2 ret; - GetPlotSizeNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotSize(Vector2* pOut) - { - GetPlotSizeNative(pOut); - } - - /// - /// To be documented. - /// - public static void GetPlotSize(ref Vector2 pOut) - { - fixed (Vector2* ppOut = &pOut) - { - GetPlotSizeNative((Vector2*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetPlotMousePosNative(ImPlotPoint* pOut, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[291])(pOut, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[291])((nint)pOut, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPoint GetPlotMousePos() - { - ImPlotPoint ret; - GetPlotMousePosNative(&ret, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotPoint GetPlotMousePos(ImAxis xAxis) - { - ImPlotPoint ret; - GetPlotMousePosNative(&ret, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotMousePos(ImPlotPointPtr pOut) - { - GetPlotMousePosNative(pOut, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static ImPlotPoint GetPlotMousePos(ImAxis xAxis, ImAxis yAxis) - { - ImPlotPoint ret; - GetPlotMousePosNative(&ret, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotMousePos(ImPlotPointPtr pOut, ImAxis xAxis, ImAxis yAxis) - { - GetPlotMousePosNative(pOut, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void GetPlotMousePos(ImPlotPointPtr pOut, ImAxis xAxis) - { - GetPlotMousePosNative(pOut, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void GetPlotMousePos(ref ImPlotPoint pOut, ImAxis xAxis, ImAxis yAxis) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - GetPlotMousePosNative((ImPlotPoint*)ppOut, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void GetPlotMousePos(ref ImPlotPoint pOut, ImAxis xAxis) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - GetPlotMousePosNative((ImPlotPoint*)ppOut, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void GetPlotMousePos(ref ImPlotPoint pOut) - { - fixed (ImPlotPoint* ppOut = &pOut) - { - GetPlotMousePosNative((ImPlotPoint*)ppOut, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetPlotLimitsNative(ImPlotRect* pOut, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[292])(pOut, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[292])((nint)pOut, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotRect GetPlotLimits() - { - ImPlotRect ret; - GetPlotLimitsNative(&ret, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotRect GetPlotLimits(ImAxis xAxis) - { - ImPlotRect ret; - GetPlotLimitsNative(&ret, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotLimits(ImPlotRectPtr pOut) - { - GetPlotLimitsNative(pOut, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static ImPlotRect GetPlotLimits(ImAxis xAxis, ImAxis yAxis) - { - ImPlotRect ret; - GetPlotLimitsNative(&ret, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotLimits(ImPlotRectPtr pOut, ImAxis xAxis, ImAxis yAxis) - { - GetPlotLimitsNative(pOut, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void GetPlotLimits(ImPlotRectPtr pOut, ImAxis xAxis) - { - GetPlotLimitsNative(pOut, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void GetPlotLimits(ref ImPlotRect pOut, ImAxis xAxis, ImAxis yAxis) - { - fixed (ImPlotRect* ppOut = &pOut) - { - GetPlotLimitsNative((ImPlotRect*)ppOut, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void GetPlotLimits(ref ImPlotRect pOut, ImAxis xAxis) - { - fixed (ImPlotRect* ppOut = &pOut) - { - GetPlotLimitsNative((ImPlotRect*)ppOut, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void GetPlotLimits(ref ImPlotRect pOut) - { - fixed (ImPlotRect* ppOut = &pOut) - { - GetPlotLimitsNative((ImPlotRect*)ppOut, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPlotHoveredNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[293])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[293])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPlotHovered() - { - byte ret = IsPlotHoveredNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAxisHoveredNative(ImAxis axis) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[294])(axis); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[294])(axis); - #endif - } - - /// - /// To be documented. - /// - public static bool IsAxisHovered(ImAxis axis) - { - byte ret = IsAxisHoveredNative(axis); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsSubplotsHoveredNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[295])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[295])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsSubplotsHovered() - { - byte ret = IsSubplotsHoveredNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPlotSelectedNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[296])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[296])(); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPlotSelected() - { - byte ret = IsPlotSelectedNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetPlotSelectionNative(ImPlotRect* pOut, ImAxis xAxis, ImAxis yAxis) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[297])(pOut, xAxis, yAxis); - #else - ((delegate* unmanaged[Cdecl])funcTable[297])((nint)pOut, xAxis, yAxis); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotRect GetPlotSelection() - { - ImPlotRect ret; - GetPlotSelectionNative(&ret, (ImAxis)(-1), (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotRect GetPlotSelection(ImAxis xAxis) - { - ImPlotRect ret; - GetPlotSelectionNative(&ret, xAxis, (ImAxis)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotSelection(ImPlotRectPtr pOut) - { - GetPlotSelectionNative(pOut, (ImAxis)(-1), (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static ImPlotRect GetPlotSelection(ImAxis xAxis, ImAxis yAxis) - { - ImPlotRect ret; - GetPlotSelectionNative(&ret, xAxis, yAxis); - return ret; - } - - /// - /// To be documented. - /// - public static void GetPlotSelection(ImPlotRectPtr pOut, ImAxis xAxis, ImAxis yAxis) - { - GetPlotSelectionNative(pOut, xAxis, yAxis); - } - - /// - /// To be documented. - /// - public static void GetPlotSelection(ImPlotRectPtr pOut, ImAxis xAxis) - { - GetPlotSelectionNative(pOut, xAxis, (ImAxis)(-1)); - } - - /// - /// To be documented. - /// - public static void GetPlotSelection(ref ImPlotRect pOut, ImAxis xAxis, ImAxis yAxis) - { - fixed (ImPlotRect* ppOut = &pOut) - { - GetPlotSelectionNative((ImPlotRect*)ppOut, xAxis, yAxis); - } - } - - /// - /// To be documented. - /// - public static void GetPlotSelection(ref ImPlotRect pOut, ImAxis xAxis) - { - fixed (ImPlotRect* ppOut = &pOut) - { - GetPlotSelectionNative((ImPlotRect*)ppOut, xAxis, (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - public static void GetPlotSelection(ref ImPlotRect pOut) - { - fixed (ImPlotRect* ppOut = &pOut) - { - GetPlotSelectionNative((ImPlotRect*)ppOut, (ImAxis)(-1), (ImAxis)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CancelPlotSelectionNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[298])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[298])(); - #endif - } - - /// - /// To be documented. - /// - public static void CancelPlotSelection() - { - CancelPlotSelectionNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void HideNextItemNative(byte hidden, ImPlotCond cond) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[299])(hidden, cond); - #else - ((delegate* unmanaged[Cdecl])funcTable[299])(hidden, cond); - #endif - } - - /// - /// To be documented. - /// - public static void HideNextItem(bool hidden, ImPlotCond cond) - { - HideNextItemNative(hidden ? (byte)1 : (byte)0, cond); - } - - /// - /// To be documented. - /// - public static void HideNextItem(bool hidden) - { - HideNextItemNative(hidden ? (byte)1 : (byte)0, (ImPlotCond)(ImPlotCond.Once)); - } - - /// - /// To be documented. - /// - public static void HideNextItem() - { - HideNextItemNative((byte)(1), (ImPlotCond)(ImPlotCond.Once)); - } - - /// - /// To be documented. - /// - public static void HideNextItem(ImPlotCond cond) - { - HideNextItemNative((byte)(1), cond); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginAlignedPlotsNative(byte* groupId, byte vertical) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[300])(groupId, vertical); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[300])((nint)groupId, vertical); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(byte* groupId, bool vertical) - { - byte ret = BeginAlignedPlotsNative(groupId, vertical ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(byte* groupId) - { - byte ret = BeginAlignedPlotsNative(groupId, (byte)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(ref byte groupId, bool vertical) - { - fixed (byte* pgroupId = &groupId) - { - byte ret = BeginAlignedPlotsNative((byte*)pgroupId, vertical ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(ref byte groupId) - { - fixed (byte* pgroupId = &groupId) - { - byte ret = BeginAlignedPlotsNative((byte*)pgroupId, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(ReadOnlySpan groupId, bool vertical) - { - fixed (byte* pgroupId = groupId) - { - byte ret = BeginAlignedPlotsNative((byte*)pgroupId, vertical ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(ReadOnlySpan groupId) - { - fixed (byte* pgroupId = groupId) - { - byte ret = BeginAlignedPlotsNative((byte*)pgroupId, (byte)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(string groupId, bool vertical) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (groupId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(groupId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(groupId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginAlignedPlotsNative(pStr0, vertical ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginAlignedPlots(string groupId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (groupId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(groupId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(groupId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginAlignedPlotsNative(pStr0, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndAlignedPlotsNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[301])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[301])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndAlignedPlots() - { - EndAlignedPlotsNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginLegendPopupNative(byte* labelId, ImGuiMouseButton mouseButton) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[302])(labelId, mouseButton); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[302])((nint)labelId, mouseButton); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(byte* labelId, ImGuiMouseButton mouseButton) - { - byte ret = BeginLegendPopupNative(labelId, mouseButton); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(byte* labelId) - { - byte ret = BeginLegendPopupNative(labelId, (ImGuiMouseButton)(1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(ref byte labelId, ImGuiMouseButton mouseButton) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginLegendPopupNative((byte*)plabelId, mouseButton); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginLegendPopupNative((byte*)plabelId, (ImGuiMouseButton)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(ReadOnlySpan labelId, ImGuiMouseButton mouseButton) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginLegendPopupNative((byte*)plabelId, mouseButton); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginLegendPopupNative((byte*)plabelId, (ImGuiMouseButton)(1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(string labelId, ImGuiMouseButton mouseButton) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginLegendPopupNative(pStr0, mouseButton); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginLegendPopup(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginLegendPopupNative(pStr0, (ImGuiMouseButton)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndLegendPopupNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[303])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[303])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndLegendPopup() - { - EndLegendPopupNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLegendEntryHoveredNative(byte* labelId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[304])(labelId); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[304])((nint)labelId); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLegendEntryHovered(byte* labelId) - { - byte ret = IsLegendEntryHoveredNative(labelId); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLegendEntryHovered(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - byte ret = IsLegendEntryHoveredNative((byte*)plabelId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLegendEntryHovered(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - byte ret = IsLegendEntryHoveredNative((byte*)plabelId); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool IsLegendEntryHovered(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = IsLegendEntryHoveredNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropTargetPlotNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[305])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[305])(); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropTargetPlot() - { - byte ret = BeginDragDropTargetPlotNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropTargetAxisNative(ImAxis axis) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[306])(axis); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[306])(axis); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropTargetAxis(ImAxis axis) - { - byte ret = BeginDragDropTargetAxisNative(axis); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropTargetLegendNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[307])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[307])(); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropTargetLegend() - { - byte ret = BeginDragDropTargetLegendNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDragDropTargetNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[308])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[308])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndDragDropTarget() - { - EndDragDropTargetNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropSourcePlotNative(ImGuiDragDropFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[309])(flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[309])(flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags) - { - byte ret = BeginDragDropSourcePlotNative(flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourcePlot() - { - byte ret = BeginDragDropSourcePlotNative((ImGuiDragDropFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropSourceAxisNative(ImAxis axis, ImGuiDragDropFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[310])(axis, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[310])(axis, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags) - { - byte ret = BeginDragDropSourceAxisNative(axis, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceAxis(ImAxis axis) - { - byte ret = BeginDragDropSourceAxisNative(axis, (ImGuiDragDropFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginDragDropSourceItemNative(byte* labelId, ImGuiDragDropFlags flags) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[311])(labelId, flags); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[311])((nint)labelId, flags); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(byte* labelId, ImGuiDragDropFlags flags) - { - byte ret = BeginDragDropSourceItemNative(labelId, flags); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(byte* labelId) - { - byte ret = BeginDragDropSourceItemNative(labelId, (ImGuiDragDropFlags)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(ref byte labelId, ImGuiDragDropFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginDragDropSourceItemNative((byte*)plabelId, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginDragDropSourceItemNative((byte*)plabelId, (ImGuiDragDropFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(ReadOnlySpan labelId, ImGuiDragDropFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginDragDropSourceItemNative((byte*)plabelId, flags); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginDragDropSourceItemNative((byte*)plabelId, (ImGuiDragDropFlags)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(string labelId, ImGuiDragDropFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginDragDropSourceItemNative(pStr0, flags); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginDragDropSourceItem(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginDragDropSourceItemNative(pStr0, (ImGuiDragDropFlags)(0)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndDragDropSourceNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[312])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[312])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndDragDropSource() - { - EndDragDropSourceNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotStyle* GetStyleNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[313])(); - #else - return (ImPlotStyle*)((delegate* unmanaged[Cdecl])funcTable[313])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotStylePtr GetStyle() - { - ImPlotStylePtr ret = GetStyleNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsAutoNative(ImPlotStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[314])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[314])((nint)dst); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsAuto(ImPlotStylePtr dst) - { - StyleColorsAutoNative(dst); - } - - /// - /// To be documented. - /// - public static void StyleColorsAuto() - { - StyleColorsAutoNative((ImPlotStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsAuto(ref ImPlotStyle dst) - { - fixed (ImPlotStyle* pdst = &dst) - { - StyleColorsAutoNative((ImPlotStyle*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsClassicNative(ImPlotStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[315])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[315])((nint)dst); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsClassic(ImPlotStylePtr dst) - { - StyleColorsClassicNative(dst); - } - - /// - /// To be documented. - /// - public static void StyleColorsClassic() - { - StyleColorsClassicNative((ImPlotStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsClassic(ref ImPlotStyle dst) - { - fixed (ImPlotStyle* pdst = &dst) - { - StyleColorsClassicNative((ImPlotStyle*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsDarkNative(ImPlotStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[316])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[316])((nint)dst); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsDark(ImPlotStylePtr dst) - { - StyleColorsDarkNative(dst); - } - - /// - /// To be documented. - /// - public static void StyleColorsDark() - { - StyleColorsDarkNative((ImPlotStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsDark(ref ImPlotStyle dst) - { - fixed (ImPlotStyle* pdst = &dst) - { - StyleColorsDarkNative((ImPlotStyle*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void StyleColorsLightNative(ImPlotStyle* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[317])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[317])((nint)dst); - #endif - } - - /// - /// To be documented. - /// - public static void StyleColorsLight(ImPlotStylePtr dst) - { - StyleColorsLightNative(dst); - } - - /// - /// To be documented. - /// - public static void StyleColorsLight() - { - StyleColorsLightNative((ImPlotStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void StyleColorsLight(ref ImPlotStyle dst) - { - fixed (ImPlotStyle* pdst = &dst) - { - StyleColorsLightNative((ImPlotStyle*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleColorNative(ImPlotCol idx, uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[318])(idx, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[318])(idx, col); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleColor(ImPlotCol idx, uint col) - { - PushStyleColorNative(idx, col); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleColorNative(ImPlotCol idx, Vector4 col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[319])(idx, col); - #else - ((delegate* unmanaged[Cdecl])funcTable[319])(idx, col); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleColor(ImPlotCol idx, Vector4 col) - { - PushStyleColorNative(idx, col); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleColorNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[320])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[320])(count); - #endif - } - - /// - /// To be documented. - /// - public static void PopStyleColor(int count) - { - PopStyleColorNative(count); - } - - /// - /// To be documented. - /// - public static void PopStyleColor() - { - PopStyleColorNative((int)(1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImPlotStyleVar idx, float val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[321])(idx, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[321])(idx, val); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleVar(ImPlotStyleVar idx, float val) - { - PushStyleVarNative(idx, val); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImPlotStyleVar idx, int val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[322])(idx, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[322])(idx, val); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleVar(ImPlotStyleVar idx, int val) - { - PushStyleVarNative(idx, val); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushStyleVarNative(ImPlotStyleVar idx, Vector2 val) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[323])(idx, val); - #else - ((delegate* unmanaged[Cdecl])funcTable[323])(idx, val); - #endif - } - - /// - /// To be documented. - /// - public static void PushStyleVar(ImPlotStyleVar idx, Vector2 val) - { - PushStyleVarNative(idx, val); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopStyleVarNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[324])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[324])(count); - #endif - } - - /// - /// To be documented. - /// - public static void PopStyleVar(int count) - { - PopStyleVarNative(count); - } - - /// - /// To be documented. - /// - public static void PopStyleVar() - { - PopStyleVarNative((int)(1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextLineStyleNative(Vector4 col, float weight) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[325])(col, weight); - #else - ((delegate* unmanaged[Cdecl])funcTable[325])(col, weight); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextLineStyle(Vector4 col, float weight) - { - SetNextLineStyleNative(col, weight); - } - - /// - /// To be documented. - /// - public static void SetNextLineStyle(Vector4 col) - { - SetNextLineStyleNative(col, (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextLineStyle() - { - SetNextLineStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextLineStyle(float weight) - { - SetNextLineStyleNative((Vector4)(new Vector4(0,0,0,-1)), weight); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextFillStyleNative(Vector4 col, float alphaMod) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[326])(col, alphaMod); - #else - ((delegate* unmanaged[Cdecl])funcTable[326])(col, alphaMod); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextFillStyle(Vector4 col, float alphaMod) - { - SetNextFillStyleNative(col, alphaMod); - } - - /// - /// To be documented. - /// - public static void SetNextFillStyle(Vector4 col) - { - SetNextFillStyleNative(col, (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextFillStyle() - { - SetNextFillStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextFillStyle(float alphaMod) - { - SetNextFillStyleNative((Vector4)(new Vector4(0,0,0,-1)), alphaMod); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextMarkerStyleNative(ImPlotMarker marker, float size, Vector4 fill, float weight, Vector4 outline) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[327])(marker, size, fill, weight, outline); - #else - ((delegate* unmanaged[Cdecl])funcTable[327])(marker, size, fill, weight, outline); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, float weight, Vector4 outline) - { - SetNextMarkerStyleNative(marker, size, fill, weight, outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, float weight) - { - SetNextMarkerStyleNative(marker, size, fill, weight, (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill) - { - SetNextMarkerStyleNative(marker, size, fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size) - { - SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker) - { - SetNextMarkerStyleNative(marker, (float)(-1), (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle() - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill) - { - SetNextMarkerStyleNative(marker, (float)(-1), fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(Vector4 fill) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size, Vector4 fill) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, (float)(-1), (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size, float weight) - { - SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), weight, (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size, float weight) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), weight, (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, float weight) - { - SetNextMarkerStyleNative(marker, (float)(-1), fill, weight, (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(Vector4 fill, float weight) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, weight, (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size, Vector4 fill, float weight) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, weight, (Vector4)(new Vector4(0,0,0,-1))); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size, Vector4 fill, Vector4 outline) - { - SetNextMarkerStyleNative(marker, size, fill, (float)(-1), outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, Vector4 outline) - { - SetNextMarkerStyleNative(marker, (float)(-1), fill, (float)(-1), outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(Vector4 fill, Vector4 outline) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, (float)(-1), outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size, Vector4 fill, Vector4 outline) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, (float)(-1), outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, float size, float weight, Vector4 outline) - { - SetNextMarkerStyleNative(marker, size, (Vector4)(new Vector4(0,0,0,-1)), weight, outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size, float weight, Vector4 outline) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, (Vector4)(new Vector4(0,0,0,-1)), weight, outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(ImPlotMarker marker, Vector4 fill, float weight, Vector4 outline) - { - SetNextMarkerStyleNative(marker, (float)(-1), fill, weight, outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(Vector4 fill, float weight, Vector4 outline) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), (float)(-1), fill, weight, outline); - } - - /// - /// To be documented. - /// - public static void SetNextMarkerStyle(float size, Vector4 fill, float weight, Vector4 outline) - { - SetNextMarkerStyleNative((ImPlotMarker)(-1), size, fill, weight, outline); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetNextErrorBarStyleNative(Vector4 col, float size, float weight) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[328])(col, size, weight); - #else - ((delegate* unmanaged[Cdecl])funcTable[328])(col, size, weight); - #endif - } - - /// - /// To be documented. - /// - public static void SetNextErrorBarStyle(Vector4 col, float size, float weight) - { - SetNextErrorBarStyleNative(col, size, weight); - } - - /// - /// To be documented. - /// - public static void SetNextErrorBarStyle(Vector4 col, float size) - { - SetNextErrorBarStyleNative(col, size, (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextErrorBarStyle(Vector4 col) - { - SetNextErrorBarStyleNative(col, (float)(-1), (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextErrorBarStyle() - { - SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), (float)(-1), (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextErrorBarStyle(float size) - { - SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), size, (float)(-1)); - } - - /// - /// To be documented. - /// - public static void SetNextErrorBarStyle(float size, float weight) - { - SetNextErrorBarStyleNative((Vector4)(new Vector4(0,0,0,-1)), size, weight); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetLastItemColorNative(Vector4* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[329])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[329])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 GetLastItemColor() - { - Vector4 ret; - GetLastItemColorNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void GetLastItemColor(Vector4* pOut) - { - GetLastItemColorNative(pOut); - } - - /// - /// To be documented. - /// - public static void GetLastItemColor(ref Vector4 pOut) - { - fixed (Vector4* ppOut = &pOut) - { - GetLastItemColorNative((Vector4*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetStyleColorNameNative(ImPlotCol idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[330])(idx); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[330])(idx); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetStyleColorName(ImPlotCol idx) - { - byte* ret = GetStyleColorNameNative(idx); - return ret; - } - - /// - /// To be documented. - /// - public static string GetStyleColorNameS(ImPlotCol idx) - { - string ret = Utils.DecodeStringUTF8(GetStyleColorNameNative(idx)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetMarkerNameNative(ImPlotMarker idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[331])(idx); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[331])(idx); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetMarkerName(ImPlotMarker idx) - { - byte* ret = GetMarkerNameNative(idx); - return ret; - } - - /// - /// To be documented. - /// - public static string GetMarkerNameS(ImPlotMarker idx) - { - string ret = Utils.DecodeStringUTF8(GetMarkerNameNative(idx)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotColormap AddColormapNative(byte* name, Vector4* cols, int size, byte qual) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[332])(name, cols, size, qual); - #else - return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[332])((nint)name, (nint)cols, size, qual); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, Vector4* cols, int size, bool qual) - { - ImPlotColormap ret = AddColormapNative(name, cols, size, qual ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, Vector4* cols, int size) - { - ImPlotColormap ret = AddColormapNative(name, cols, size, (byte)(1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, Vector4* cols, int size, bool qual) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, Vector4* cols, int size) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, Vector4* cols, int size, bool qual) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, Vector4* cols, int size) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, Vector4* cols, int size, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = AddColormapNative(pStr0, cols, size, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, Vector4* cols, int size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = AddColormapNative(pStr0, cols, size, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, ref Vector4 cols, int size, bool qual) - { - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(name, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, ref Vector4 cols, int size) - { - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(name, (Vector4*)pcols, size, (byte)(1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, ref Vector4 cols, int size, bool qual) - { - fixed (byte* pname = &name) - { - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, ref Vector4 cols, int size) - { - fixed (byte* pname = &name) - { - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, (byte)(1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size, bool qual) - { - fixed (byte* pname = name) - { - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, ref Vector4 cols, int size) - { - fixed (byte* pname = name) - { - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (Vector4*)pcols, size, (byte)(1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(pStr0, (Vector4*)pcols, size, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, ref Vector4 cols, int size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(pStr0, (Vector4*)pcols, size, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotColormap AddColormapNative(byte* name, uint* cols, int size, byte qual) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[333])(name, cols, size, qual); - #else - return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[333])((nint)name, (nint)cols, size, qual); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, uint* cols, int size, bool qual) - { - ImPlotColormap ret = AddColormapNative(name, cols, size, qual ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, uint* cols, int size) - { - ImPlotColormap ret = AddColormapNative(name, cols, size, (byte)(1)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, uint* cols, int size, bool qual) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, uint* cols, int size) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, uint* cols, int size, bool qual) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, uint* cols, int size) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, cols, size, (byte)(1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, uint* cols, int size, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = AddColormapNative(pStr0, cols, size, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, uint* cols, int size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = AddColormapNative(pStr0, cols, size, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, ref uint cols, int size, bool qual) - { - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(name, (uint*)pcols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(byte* name, ref uint cols, int size) - { - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(name, (uint*)pcols, size, (byte)(1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, ref uint cols, int size, bool qual) - { - fixed (byte* pname = &name) - { - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ref byte name, ref uint cols, int size) - { - fixed (byte* pname = &name) - { - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, (byte)(1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size, bool qual) - { - fixed (byte* pname = name) - { - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(ReadOnlySpan name, ref uint cols, int size) - { - fixed (byte* pname = name) - { - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative((byte*)pname, (uint*)pcols, size, (byte)(1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, ref uint cols, int size, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(pStr0, (uint*)pcols, size, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap AddColormap(string name, ref uint cols, int size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pcols = &cols) - { - ImPlotColormap ret = AddColormapNative(pStr0, (uint*)pcols, size, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetColormapCountNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[334])(); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[334])(); - #endif - } - - /// - /// To be documented. - /// - public static int GetColormapCount() - { - int ret = GetColormapCountNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetColormapNameNative(ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[335])(cmap); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[335])(cmap); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetColormapName(ImPlotColormap cmap) - { - byte* ret = GetColormapNameNative(cmap); - return ret; - } - - /// - /// To be documented. - /// - public static string GetColormapNameS(ImPlotColormap cmap) - { - string ret = Utils.DecodeStringUTF8(GetColormapNameNative(cmap)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotColormap GetColormapIndexNative(byte* name) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[336])(name); - #else - return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[336])((nint)name); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetColormapIndex(byte* name) - { - ImPlotColormap ret = GetColormapIndexNative(name); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetColormapIndex(ref byte name) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = GetColormapIndexNative((byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetColormapIndex(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = GetColormapIndexNative((byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetColormapIndex(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = GetColormapIndexNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushColormapNative(ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[337])(cmap); - #else - ((delegate* unmanaged[Cdecl])funcTable[337])(cmap); - #endif - } - - /// - /// To be documented. - /// - public static void PushColormap(ImPlotColormap cmap) - { - PushColormapNative(cmap); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushColormapNative(byte* name) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[338])(name); - #else - ((delegate* unmanaged[Cdecl])funcTable[338])((nint)name); - #endif - } - - /// - /// To be documented. - /// - public static void PushColormap(byte* name) - { - PushColormapNative(name); - } - - /// - /// To be documented. - /// - public static void PushColormap(ref byte name) - { - fixed (byte* pname = &name) - { - PushColormapNative((byte*)pname); - } - } - - /// - /// To be documented. - /// - public static void PushColormap(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - PushColormapNative((byte*)pname); - } - } - - /// - /// To be documented. - /// - public static void PushColormap(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - PushColormapNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopColormapNative(int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[339])(count); - #else - ((delegate* unmanaged[Cdecl])funcTable[339])(count); - #endif - } - - /// - /// To be documented. - /// - public static void PopColormap(int count) - { - PopColormapNative(count); - } - - /// - /// To be documented. - /// - public static void PopColormap() - { - PopColormapNative((int)(1)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NextColormapColorNative(Vector4* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[340])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[340])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 NextColormapColor() - { - Vector4 ret; - NextColormapColorNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void NextColormapColor(Vector4* pOut) - { - NextColormapColorNative(pOut); - } - - /// - /// To be documented. - /// - public static void NextColormapColor(ref Vector4 pOut) - { - fixed (Vector4* ppOut = &pOut) - { - NextColormapColorNative((Vector4*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetColormapSizeNative(ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[341])(cmap); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[341])(cmap); - #endif - } - - /// - /// To be documented. - /// - public static int GetColormapSize(ImPlotColormap cmap) - { - int ret = GetColormapSizeNative(cmap); - return ret; - } - - /// - /// To be documented. - /// - public static int GetColormapSize() - { - int ret = GetColormapSizeNative((ImPlotColormap)(-1)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetColormapColorNative(Vector4* pOut, int idx, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[342])(pOut, idx, cmap); - #else - ((delegate* unmanaged[Cdecl])funcTable[342])((nint)pOut, idx, cmap); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 GetColormapColor(int idx) - { - Vector4 ret; - GetColormapColorNative(&ret, idx, (ImPlotColormap)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector4 GetColormapColor(int idx, ImPlotColormap cmap) - { - Vector4 ret; - GetColormapColorNative(&ret, idx, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static void GetColormapColor(Vector4* pOut, int idx, ImPlotColormap cmap) - { - GetColormapColorNative(pOut, idx, cmap); - } - - /// - /// To be documented. - /// - public static void GetColormapColor(Vector4* pOut, int idx) - { - GetColormapColorNative(pOut, idx, (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void GetColormapColor(ref Vector4 pOut, int idx, ImPlotColormap cmap) - { - fixed (Vector4* ppOut = &pOut) - { - GetColormapColorNative((Vector4*)ppOut, idx, cmap); - } - } - - /// - /// To be documented. - /// - public static void GetColormapColor(ref Vector4 pOut, int idx) - { - fixed (Vector4* ppOut = &pOut) - { - GetColormapColorNative((Vector4*)ppOut, idx, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SampleColormapNative(Vector4* pOut, float t, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[343])(pOut, t, cmap); - #else - ((delegate* unmanaged[Cdecl])funcTable[343])((nint)pOut, t, cmap); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 SampleColormap(float t) - { - Vector4 ret; - SampleColormapNative(&ret, t, (ImPlotColormap)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static Vector4 SampleColormap(float t, ImPlotColormap cmap) - { - Vector4 ret; - SampleColormapNative(&ret, t, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static void SampleColormap(Vector4* pOut, float t, ImPlotColormap cmap) - { - SampleColormapNative(pOut, t, cmap); - } - - /// - /// To be documented. - /// - public static void SampleColormap(Vector4* pOut, float t) - { - SampleColormapNative(pOut, t, (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void SampleColormap(ref Vector4 pOut, float t, ImPlotColormap cmap) - { - fixed (Vector4* ppOut = &pOut) - { - SampleColormapNative((Vector4*)ppOut, t, cmap); - } - } - - /// - /// To be documented. - /// - public static void SampleColormap(ref Vector4 pOut, float t) - { - fixed (Vector4* ppOut = &pOut) - { - SampleColormapNative((Vector4*)ppOut, t, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColormapScaleNative(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[344])(label, scaleMin, scaleMax, size, format, flags, cmap); - #else - ((delegate* unmanaged[Cdecl])funcTable[344])((nint)label, scaleMin, scaleMax, size, (nint)format, flags, cmap); - #endif - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, format, flags, cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size) - { - ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax) - { - ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) - { - ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) - { - ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) - { - ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormap cmap) - { - ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - ColormapScale(label, scaleMin, scaleMax, size, (string)"%g", flags, cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - ColormapScale(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.134.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.134.cs deleted file mode 100644 index cabecb7db..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.134.cs +++ /dev/null @@ -1,5030 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, size, (string)"%g", flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScale((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, format, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, size, (string)"%g", flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScale(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (string)"%g", flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, byte* format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), format, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* pformat = format) - { - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(byte* label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative(label, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, flags, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, flags, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, flags, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, pStr1, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr1, flags, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ref byte label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, Vector2 size, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, size, pStr0, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(ReadOnlySpan label, double scaleMin, double scaleMax, string format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ColormapScaleNative((byte*)plabel, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), pStr0, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ref byte format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, Vector2 size, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, size, (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, (ImPlotColormapScaleFlags)(0), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void ColormapScale(string label, double scaleMin, double scaleMax, ReadOnlySpan format, ImPlotColormapScaleFlags flags, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - ColormapScaleNative(pStr0, scaleMin, scaleMax, (Vector2)(new Vector2(0,0)), (byte*)pformat, flags, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColormapSliderNative(byte* label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[345])(label, t, output, format, cmap); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[345])((nint)label, (nint)t, (nint)output, (nint)format, cmap); - #endif - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) - { - byte ret = ColormapSliderNative(label, t, output, format, cmap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, byte* format) - { - byte ret = ColormapSliderNative(label, t, output, format, (ImPlotColormap)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output) - { - bool ret = ColormapSlider(label, t, output, (string)"", (ImPlotColormap)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t) - { - bool ret = ColormapSlider(label, t, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, byte* format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), format, (ImPlotColormap)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, ImPlotColormap cmap) - { - bool ret = ColormapSlider(label, t, output, (string)"", cmap); - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ImPlotColormap cmap) - { - bool ret = ColormapSlider(label, t, (Vector4*)(default), (string)"", cmap); - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, byte* format, ImPlotColormap cmap) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), format, cmap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output) - { - fixed (byte* plabel = &label) - { - bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t) - { - fixed (byte* plabel = &label) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, byte* format) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(default), (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output) - { - fixed (byte* plabel = label) - { - bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t) - { - fixed (byte* plabel = label) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, byte* format) - { - fixed (byte* plabel = label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - bool ret = ColormapSlider((byte*)plabel, t, output, (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)(default), (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, output, format, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, output, format, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = ColormapSlider(pStr0, t, output, (string)"", (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = ColormapSlider(pStr0, t, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), format, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = ColormapSlider(pStr0, t, output, (string)"", cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - bool ret = ColormapSlider(pStr0, t, (Vector4*)(default), (string)"", cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), format, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(label, (float*)pt, output, format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, byte* format) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(label, (float*)pt, output, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider(label, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider(label, (float*)pt, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, byte* format) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider(label, (float*)pt, output, (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider(label, (float*)pt, (Vector4*)(default), (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, byte* format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(default), (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, output, (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)(default), (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, format, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, format, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - bool ret = ColormapSlider(pStr0, (float*)pt, output, (string)"", (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)(default), (string)"", (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), format, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - bool ret = ColormapSlider(pStr0, (float*)pt, output, (string)"", cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)(default), (string)"", cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), format, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, format, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, byte* format) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(label, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ImPlotColormap cmap) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(label, t, (Vector4*)poutput, (string)"", cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, byte* format) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, t, (Vector4*)poutput, (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, format, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(pStr0, t, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(pStr0, t, (Vector4*)poutput, (string)"", cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, format, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, byte* format) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(label, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(label, (float*)pt, (Vector4*)poutput, (string)"", cmap); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, byte* format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", cmap); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, byte* format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider((byte*)plabel, (float*)pt, (Vector4*)poutput, (string)"", cmap); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, byte* format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, format, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, byte* format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, format, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)poutput, (string)"", (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - bool ret = ColormapSlider(pStr0, (float*)pt, (Vector4*)poutput, (string)"", cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref byte format) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref byte format, ImPlotColormap cmap) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ReadOnlySpan format) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, t, output, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, Vector4* output, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, t, output, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, t, (Vector4*)(default), pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.135.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.135.cs deleted file mode 100644 index 1b9c5b87a..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.135.cs +++ /dev/null @@ -1,5025 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, output, pStr1, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, output, pStr1, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), pStr1, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), pStr1, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, Vector4* output, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, string format) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, Vector4* output, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, output, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, string format) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)(default), pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, Vector4* output, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, t, output, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)(default), (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ref byte format) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref byte format) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref byte format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, ReadOnlySpan format) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ReadOnlySpan format) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, string format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, (float*)pt, output, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, Vector4* output, string format) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, (float*)pt, output, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, string format) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, string format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)(default), pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, pStr1, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, pStr1, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), pStr1, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), pStr1, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, Vector4* output, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, Vector4* output, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, output, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)(default), pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, Vector4* output, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, output, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)(default), (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ref byte format) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, ReadOnlySpan format) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, float* t, ref Vector4 output, string format) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, pStr1, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, pStr1, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, float* t, ref Vector4 output, string format) - { - fixed (byte* plabel = &label) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, float* t, ref Vector4 output, string format) - { - fixed (byte* plabel = label) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, t, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, float* t, ref Vector4 output, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, t, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ref byte format) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, ReadOnlySpan format) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(byte* label, ref float t, ref Vector4 output, string format) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative(label, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ref byte format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ReadOnlySpan format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, pStr1, cmap); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, string format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr1 = null; - int pStrSize1 = 0; - if (format != null) - { - pStrSize1 = Utils.GetByteCountUTF8(format); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(format, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, pStr1, (ImPlotColormap)(-1)); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, ReadOnlySpan format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ref byte label, ref float t, ref Vector4 output, string format) - { - fixed (byte* plabel = &label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, ref byte format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, string format, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(ReadOnlySpan label, ref float t, ref Vector4 output, string format) - { - fixed (byte* plabel = label) - { - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (format != null) - { - pStrSize0 = Utils.GetByteCountUTF8(format); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(format, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapSliderNative((byte*)plabel, (float*)pt, (Vector4*)poutput, pStr0, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ref byte format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ref byte format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = &format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ReadOnlySpan format, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ColormapSlider(string label, ref float t, ref Vector4 output, ReadOnlySpan format) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (float* pt = &t) - { - fixed (Vector4* poutput = &output) - { - fixed (byte* pformat = format) - { - byte ret = ColormapSliderNative(pStr0, (float*)pt, (Vector4*)poutput, (byte*)pformat, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ColormapButtonNative(byte* label, Vector2 size, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[346])(label, size, cmap); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[346])((nint)label, size, cmap); - #endif - } - - /// - /// To be documented. - /// - public static bool ColormapButton(byte* label, Vector2 size, ImPlotColormap cmap) - { - byte ret = ColormapButtonNative(label, size, cmap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(byte* label, Vector2 size) - { - byte ret = ColormapButtonNative(label, size, (ImPlotColormap)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(byte* label) - { - byte ret = ColormapButtonNative(label, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(byte* label, ImPlotColormap cmap) - { - byte ret = ColormapButtonNative(label, (Vector2)(new Vector2(0,0)), cmap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ref byte label, Vector2 size, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapButtonNative((byte*)plabel, size, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ref byte label, Vector2 size) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapButtonNative((byte*)plabel, size, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ref byte label, ImPlotColormap cmap) - { - fixed (byte* plabel = &label) - { - byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ReadOnlySpan label, Vector2 size, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte ret = ColormapButtonNative((byte*)plabel, size, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ReadOnlySpan label, Vector2 size) - { - fixed (byte* plabel = label) - { - byte ret = ColormapButtonNative((byte*)plabel, size, (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(ReadOnlySpan label, ImPlotColormap cmap) - { - fixed (byte* plabel = label) - { - byte ret = ColormapButtonNative((byte*)plabel, (Vector2)(new Vector2(0,0)), cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ColormapButton(string label, Vector2 size, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapButtonNative(pStr0, size, cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(string label, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapButtonNative(pStr0, size, (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapButtonNative(pStr0, (Vector2)(new Vector2(0,0)), (ImPlotColormap)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ColormapButton(string label, ImPlotColormap cmap) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ColormapButtonNative(pStr0, (Vector2)(new Vector2(0,0)), cmap); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BustColorCacheNative(byte* plotTitleId) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[347])(plotTitleId); - #else - ((delegate* unmanaged[Cdecl])funcTable[347])((nint)plotTitleId); - #endif - } - - /// - /// To be documented. - /// - public static void BustColorCache(byte* plotTitleId) - { - BustColorCacheNative(plotTitleId); - } - - /// - /// To be documented. - /// - public static void BustColorCache() - { - BustColorCacheNative((byte*)(default)); - } - - /// - /// To be documented. - /// - public static void BustColorCache(ref byte plotTitleId) - { - fixed (byte* pplotTitleId = &plotTitleId) - { - BustColorCacheNative((byte*)pplotTitleId); - } - } - - /// - /// To be documented. - /// - public static void BustColorCache(ReadOnlySpan plotTitleId) - { - fixed (byte* pplotTitleId = plotTitleId) - { - BustColorCacheNative((byte*)pplotTitleId); - } - } - - /// - /// To be documented. - /// - public static void BustColorCache(string plotTitleId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (plotTitleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(plotTitleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(plotTitleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - BustColorCacheNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotInputMap* GetInputMapNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[348])(); - #else - return (ImPlotInputMap*)((delegate* unmanaged[Cdecl])funcTable[348])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotInputMapPtr GetInputMap() - { - ImPlotInputMapPtr ret = GetInputMapNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MapInputDefaultNative(ImPlotInputMap* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[349])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[349])((nint)dst); - #endif - } - - /// - /// To be documented. - /// - public static void MapInputDefault(ImPlotInputMapPtr dst) - { - MapInputDefaultNative(dst); - } - - /// - /// To be documented. - /// - public static void MapInputDefault() - { - MapInputDefaultNative((ImPlotInputMap*)(default)); - } - - /// - /// To be documented. - /// - public static void MapInputDefault(ref ImPlotInputMap dst) - { - fixed (ImPlotInputMap* pdst = &dst) - { - MapInputDefaultNative((ImPlotInputMap*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MapInputReverseNative(ImPlotInputMap* dst) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[350])(dst); - #else - ((delegate* unmanaged[Cdecl])funcTable[350])((nint)dst); - #endif - } - - /// - /// To be documented. - /// - public static void MapInputReverse(ImPlotInputMapPtr dst) - { - MapInputReverseNative(dst); - } - - /// - /// To be documented. - /// - public static void MapInputReverse() - { - MapInputReverseNative((ImPlotInputMap*)(default)); - } - - /// - /// To be documented. - /// - public static void MapInputReverse(ref ImPlotInputMap dst) - { - fixed (ImPlotInputMap* pdst = &dst) - { - MapInputReverseNative((ImPlotInputMap*)pdst); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ItemIconNative(Vector4 col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[351])(col); - #else - ((delegate* unmanaged[Cdecl])funcTable[351])(col); - #endif - } - - /// - /// To be documented. - /// - public static void ItemIcon(Vector4 col) - { - ItemIconNative(col); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ItemIconNative(uint col) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[352])(col); - #else - ((delegate* unmanaged[Cdecl])funcTable[352])(col); - #endif - } - - /// - /// To be documented. - /// - public static void ItemIcon(uint col) - { - ItemIconNative(col); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ColormapIconNative(ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[353])(cmap); - #else - ((delegate* unmanaged[Cdecl])funcTable[353])(cmap); - #endif - } - - /// - /// To be documented. - /// - public static void ColormapIcon(ImPlotColormap cmap) - { - ColormapIconNative(cmap); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImDrawList* GetPlotDrawListNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[354])(); - #else - return (ImDrawList*)((delegate* unmanaged[Cdecl])funcTable[354])(); - #endif - } - - /// - /// To be documented. - /// - public static ImDrawListPtr GetPlotDrawList() - { - ImDrawListPtr ret = GetPlotDrawListNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushPlotClipRectNative(float expand) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[355])(expand); - #else - ((delegate* unmanaged[Cdecl])funcTable[355])(expand); - #endif - } - - /// - /// To be documented. - /// - public static void PushPlotClipRect(float expand) - { - PushPlotClipRectNative(expand); - } - - /// - /// To be documented. - /// - public static void PushPlotClipRect() - { - PushPlotClipRectNative((float)(0)); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PopPlotClipRectNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[356])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[356])(); - #endif - } - - /// - /// To be documented. - /// - public static void PopPlotClipRect() - { - PopPlotClipRectNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowStyleSelectorNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[357])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[357])((nint)label); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowStyleSelector(byte* label) - { - byte ret = ShowStyleSelectorNative(label); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowStyleSelector(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ShowStyleSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowStyleSelector(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ShowStyleSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowStyleSelector(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowStyleSelectorNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowColormapSelectorNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[358])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[358])((nint)label); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowColormapSelector(byte* label) - { - byte ret = ShowColormapSelectorNative(label); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowColormapSelector(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ShowColormapSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowColormapSelector(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ShowColormapSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowColormapSelector(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowColormapSelectorNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowInputMapSelectorNative(byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[359])(label); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[359])((nint)label); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowInputMapSelector(byte* label) - { - byte ret = ShowInputMapSelectorNative(label); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowInputMapSelector(ref byte label) - { - fixed (byte* plabel = &label) - { - byte ret = ShowInputMapSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowInputMapSelector(ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - byte ret = ShowInputMapSelectorNative((byte*)plabel); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowInputMapSelector(string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowInputMapSelectorNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowStyleEditorNative(ImPlotStyle* reference) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[360])(reference); - #else - ((delegate* unmanaged[Cdecl])funcTable[360])((nint)reference); - #endif - } - - /// - /// To be documented. - /// - public static void ShowStyleEditor(ImPlotStylePtr reference) - { - ShowStyleEditorNative(reference); - } - - /// - /// To be documented. - /// - public static void ShowStyleEditor() - { - ShowStyleEditorNative((ImPlotStyle*)(default)); - } - - /// - /// To be documented. - /// - public static void ShowStyleEditor(ref ImPlotStyle reference) - { - fixed (ImPlotStyle* preference = &reference) - { - ShowStyleEditorNative((ImPlotStyle*)preference); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowUserGuideNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[361])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[361])(); - #endif - } - - /// - /// To be documented. - /// - public static void ShowUserGuide() - { - ShowUserGuideNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowMetricsWindowNative(bool* pPopen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[362])(pPopen); - #else - ((delegate* unmanaged[Cdecl])funcTable[362])((nint)pPopen); - #endif - } - - /// - /// To be documented. - /// - public static void ShowMetricsWindow(bool* pPopen) - { - ShowMetricsWindowNative(pPopen); - } - - /// - /// To be documented. - /// - public static void ShowMetricsWindow() - { - ShowMetricsWindowNative((bool*)(default)); - } - - /// - /// To be documented. - /// - public static void ShowMetricsWindow(ref bool pPopen) - { - fixed (bool* ppPopen = &pPopen) - { - ShowMetricsWindowNative((bool*)ppPopen); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowDemoWindowNative(bool* pOpen) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[363])(pOpen); - #else - ((delegate* unmanaged[Cdecl])funcTable[363])((nint)pOpen); - #endif - } - - /// - /// To be documented. - /// - public static void ShowDemoWindow(bool* pOpen) - { - ShowDemoWindowNative(pOpen); - } - - /// - /// To be documented. - /// - public static void ShowDemoWindow() - { - ShowDemoWindowNative((bool*)(default)); - } - - /// - /// To be documented. - /// - public static void ShowDemoWindow(ref bool pOpen) - { - fixed (bool* ppOpen = &pOpen) - { - ShowDemoWindowNative((bool*)ppOpen); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImLog10Native(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[364])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[364])(x); - #endif - } - - /// - /// To be documented. - /// - public static float ImLog10(float x) - { - float ret = ImLog10Native(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImLog10Native(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[365])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[365])(x); - #endif - } - - /// - /// To be documented. - /// - public static double ImLog10(double x) - { - double ret = ImLog10Native(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImSinhNative(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[366])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[366])(x); - #endif - } - - /// - /// To be documented. - /// - public static float ImSinh(float x) - { - float ret = ImSinhNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImSinhNative(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[367])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[367])(x); - #endif - } - - /// - /// To be documented. - /// - public static double ImSinh(double x) - { - double ret = ImSinhNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImAsinhNative(float x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[368])(x); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[368])(x); - #endif - } - - /// - /// To be documented. - /// - public static float ImAsinh(float x) - { - float ret = ImAsinhNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImAsinhNative(double x) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[369])(x); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[369])(x); - #endif - } - - /// - /// To be documented. - /// - public static double ImAsinh(double x) - { - double ret = ImAsinhNative(x); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImRemapNative(float x, float x0, float x1, float y0, float y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[370])(x, x0, x1, y0, y1); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[370])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static float ImRemap(float x, float x0, float x1, float y0, float y1) - { - float ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImRemapNative(double x, double x0, double x1, double y0, double y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[371])(x, x0, x1, y0, y1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[371])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static double ImRemap(double x, double x0, double x1, double y0, double y1) - { - double ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImRemapNative(byte x, byte x0, byte x1, byte y0, byte y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[372])(x, x0, x1, y0, y1); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[372])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static byte ImRemap(byte x, byte x0, byte x1, byte y0, byte y1) - { - byte ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static short ImRemapNative(short x, short x0, short x1, short y0, short y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[373])(x, x0, x1, y0, y1); - #else - return (short)((delegate* unmanaged[Cdecl])funcTable[373])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static short ImRemap(short x, short x0, short x1, short y0, short y1) - { - short ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ushort ImRemapNative(ushort x, ushort x0, ushort x1, ushort y0, ushort y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[374])(x, x0, x1, y0, y1); - #else - return (ushort)((delegate* unmanaged[Cdecl])funcTable[374])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static ushort ImRemap(ushort x, ushort x0, ushort x1, ushort y0, ushort y1) - { - ushort ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImRemapNative(int x, int x0, int x1, int y0, int y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[375])(x, x0, x1, y0, y1); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[375])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static int ImRemap(int x, int x0, int x1, int y0, int y1) - { - int ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImRemapNative(uint x, uint x0, uint x1, uint y0, uint y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[376])(x, x0, x1, y0, y1); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[376])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static uint ImRemap(uint x, uint x0, uint x1, uint y0, uint y1) - { - uint ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static long ImRemapNative(long x, long x0, long x1, long y0, long y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[377])(x, x0, x1, y0, y1); - #else - return (long)((delegate* unmanaged[Cdecl])funcTable[377])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static long ImRemap(long x, long x0, long x1, long y0, long y1) - { - long ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImRemapNative(ulong x, ulong x0, ulong x1, ulong y0, ulong y1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[378])(x, x0, x1, y0, y1); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[378])(x, x0, x1, y0, y1); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImRemap(ulong x, ulong x0, ulong x1, ulong y0, ulong y1) - { - ulong ret = ImRemapNative(x, x0, x1, y0, y1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImRemap01Native(float x, float x0, float x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[379])(x, x0, x1); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[379])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static float ImRemap01(float x, float x0, float x1) - { - float ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImRemap01Native(double x, double x0, double x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[380])(x, x0, x1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[380])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static double ImRemap01(double x, double x0, double x1) - { - double ret = ImRemap01Native(x, x0, x1); - return ret; - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.136.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.136.cs deleted file mode 100644 index a907f50bb..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.136.cs +++ /dev/null @@ -1,5022 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImRemap01Native(byte x, byte x0, byte x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[381])(x, x0, x1); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[381])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static byte ImRemap01(byte x, byte x0, byte x1) - { - byte ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static short ImRemap01Native(short x, short x0, short x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[382])(x, x0, x1); - #else - return (short)((delegate* unmanaged[Cdecl])funcTable[382])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static short ImRemap01(short x, short x0, short x1) - { - short ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ushort ImRemap01Native(ushort x, ushort x0, ushort x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[383])(x, x0, x1); - #else - return (ushort)((delegate* unmanaged[Cdecl])funcTable[383])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static ushort ImRemap01(ushort x, ushort x0, ushort x1) - { - ushort ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImRemap01Native(int x, int x0, int x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[384])(x, x0, x1); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[384])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static int ImRemap01(int x, int x0, int x1) - { - int ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImRemap01Native(uint x, uint x0, uint x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[385])(x, x0, x1); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[385])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static uint ImRemap01(uint x, uint x0, uint x1) - { - uint ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static long ImRemap01Native(long x, long x0, long x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[386])(x, x0, x1); - #else - return (long)((delegate* unmanaged[Cdecl])funcTable[386])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static long ImRemap01(long x, long x0, long x1) - { - long ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImRemap01Native(ulong x, ulong x0, ulong x1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[387])(x, x0, x1); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[387])(x, x0, x1); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImRemap01(ulong x, ulong x0, ulong x1) - { - ulong ret = ImRemap01Native(x, x0, x1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImPosModNative(int l, int r) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[388])(l, r); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[388])(l, r); - #endif - } - - /// - /// To be documented. - /// - public static int ImPosMod(int l, int r) - { - int ret = ImPosModNative(l, r); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImNanNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[389])(val); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[389])(val); - #endif - } - - /// - /// To be documented. - /// - public static bool ImNan(double val) - { - byte ret = ImNanNative(val); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImNanOrInfNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[390])(val); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[390])(val); - #endif - } - - /// - /// To be documented. - /// - public static bool ImNanOrInf(double val) - { - byte ret = ImNanOrInfNative(val); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImConstrainNanNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[391])(val); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[391])(val); - #endif - } - - /// - /// To be documented. - /// - public static double ImConstrainNan(double val) - { - double ret = ImConstrainNanNative(val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImConstrainInfNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[392])(val); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[392])(val); - #endif - } - - /// - /// To be documented. - /// - public static double ImConstrainInf(double val) - { - double ret = ImConstrainInfNative(val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImConstrainLogNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[393])(val); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[393])(val); - #endif - } - - /// - /// To be documented. - /// - public static double ImConstrainLog(double val) - { - double ret = ImConstrainLogNative(val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImConstrainTimeNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[394])(val); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[394])(val); - #endif - } - - /// - /// To be documented. - /// - public static double ImConstrainTime(double val) - { - double ret = ImConstrainTimeNative(val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImAlmostEqualNative(double v1, double v2, int ulp) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[395])(v1, v2, ulp); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[395])(v1, v2, ulp); - #endif - } - - /// - /// To be documented. - /// - public static bool ImAlmostEqual(double v1, double v2, int ulp) - { - byte ret = ImAlmostEqualNative(v1, v2, ulp); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ImAlmostEqual(double v1, double v2) - { - byte ret = ImAlmostEqualNative(v1, v2, (int)(2)); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImMinArrayNative(float* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[396])(values, count); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[396])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static float ImMinArray(float* values, int count) - { - float ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static float ImMinArray(ref float values, int count) - { - fixed (float* pvalues = &values) - { - float ret = ImMinArrayNative((float*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMinArrayNative(double* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[397])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[397])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMinArray(double* values, int count) - { - double ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMinArray(ref double values, int count) - { - fixed (double* pvalues = &values) - { - double ret = ImMinArrayNative((double*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImMinArrayNative(byte* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[398])(values, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[398])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static byte ImMinArray(byte* values, int count) - { - byte ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static byte ImMinArray(ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - byte ret = ImMinArrayNative((byte*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static short ImMinArrayNative(short* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[399])(values, count); - #else - return (short)((delegate* unmanaged[Cdecl])funcTable[399])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static short ImMinArray(short* values, int count) - { - short ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static short ImMinArray(ref short values, int count) - { - fixed (short* pvalues = &values) - { - short ret = ImMinArrayNative((short*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ushort ImMinArrayNative(ushort* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[400])(values, count); - #else - return (ushort)((delegate* unmanaged[Cdecl])funcTable[400])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static ushort ImMinArray(ushort* values, int count) - { - ushort ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static ushort ImMinArray(ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - ushort ret = ImMinArrayNative((ushort*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImMinArrayNative(int* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[401])(values, count); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[401])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static int ImMinArray(int* values, int count) - { - int ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static int ImMinArray(ref int values, int count) - { - fixed (int* pvalues = &values) - { - int ret = ImMinArrayNative((int*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImMinArrayNative(uint* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[402])(values, count); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[402])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static uint ImMinArray(uint* values, int count) - { - uint ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImMinArray(ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - uint ret = ImMinArrayNative((uint*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static long ImMinArrayNative(long* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[403])(values, count); - #else - return (long)((delegate* unmanaged[Cdecl])funcTable[403])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static long ImMinArray(long* values, int count) - { - long ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static long ImMinArray(ref long values, int count) - { - fixed (long* pvalues = &values) - { - long ret = ImMinArrayNative((long*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImMinArrayNative(ulong* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[404])(values, count); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[404])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImMinArray(ulong* values, int count) - { - ulong ret = ImMinArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static ulong ImMinArray(ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - ulong ret = ImMinArrayNative((ulong*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImMaxArrayNative(float* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[405])(values, count); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[405])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static float ImMaxArray(float* values, int count) - { - float ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static float ImMaxArray(ref float values, int count) - { - fixed (float* pvalues = &values) - { - float ret = ImMaxArrayNative((float*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMaxArrayNative(double* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[406])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[406])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMaxArray(double* values, int count) - { - double ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMaxArray(ref double values, int count) - { - fixed (double* pvalues = &values) - { - double ret = ImMaxArrayNative((double*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImMaxArrayNative(byte* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[407])(values, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[407])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static byte ImMaxArray(byte* values, int count) - { - byte ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static byte ImMaxArray(ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - byte ret = ImMaxArrayNative((byte*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static short ImMaxArrayNative(short* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[408])(values, count); - #else - return (short)((delegate* unmanaged[Cdecl])funcTable[408])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static short ImMaxArray(short* values, int count) - { - short ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static short ImMaxArray(ref short values, int count) - { - fixed (short* pvalues = &values) - { - short ret = ImMaxArrayNative((short*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ushort ImMaxArrayNative(ushort* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[409])(values, count); - #else - return (ushort)((delegate* unmanaged[Cdecl])funcTable[409])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static ushort ImMaxArray(ushort* values, int count) - { - ushort ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static ushort ImMaxArray(ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - ushort ret = ImMaxArrayNative((ushort*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImMaxArrayNative(int* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[410])(values, count); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[410])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static int ImMaxArray(int* values, int count) - { - int ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static int ImMaxArray(ref int values, int count) - { - fixed (int* pvalues = &values) - { - int ret = ImMaxArrayNative((int*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImMaxArrayNative(uint* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[411])(values, count); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[411])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static uint ImMaxArray(uint* values, int count) - { - uint ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImMaxArray(ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - uint ret = ImMaxArrayNative((uint*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static long ImMaxArrayNative(long* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[412])(values, count); - #else - return (long)((delegate* unmanaged[Cdecl])funcTable[412])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static long ImMaxArray(long* values, int count) - { - long ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static long ImMaxArray(ref long values, int count) - { - fixed (long* pvalues = &values) - { - long ret = ImMaxArrayNative((long*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImMaxArrayNative(ulong* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[413])(values, count); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[413])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImMaxArray(ulong* values, int count) - { - ulong ret = ImMaxArrayNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static ulong ImMaxArray(ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - ulong ret = ImMaxArrayNative((ulong*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(float* values, int count, float* minOut, float* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[414])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[414])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(float* values, int count, float* minOut, float* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref float values, int count, float* minOut, float* maxOut) - { - fixed (float* pvalues = &values) - { - ImMinMaxArrayNative((float*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(float* values, int count, ref float minOut, float* maxOut) - { - fixed (float* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (float*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref float values, int count, ref float minOut, float* maxOut) - { - fixed (float* pvalues = &values) - { - fixed (float* pminOut = &minOut) - { - ImMinMaxArrayNative((float*)pvalues, count, (float*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(float* values, int count, float* minOut, ref float maxOut) - { - fixed (float* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (float*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref float values, int count, float* minOut, ref float maxOut) - { - fixed (float* pvalues = &values) - { - fixed (float* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((float*)pvalues, count, minOut, (float*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(float* values, int count, ref float minOut, ref float maxOut) - { - fixed (float* pminOut = &minOut) - { - fixed (float* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (float*)pminOut, (float*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref float values, int count, ref float minOut, ref float maxOut) - { - fixed (float* pvalues = &values) - { - fixed (float* pminOut = &minOut) - { - fixed (float* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((float*)pvalues, count, (float*)pminOut, (float*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(double* values, int count, double* minOut, double* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[415])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[415])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(double* values, int count, double* minOut, double* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref double values, int count, double* minOut, double* maxOut) - { - fixed (double* pvalues = &values) - { - ImMinMaxArrayNative((double*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(double* values, int count, ref double minOut, double* maxOut) - { - fixed (double* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (double*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref double values, int count, ref double minOut, double* maxOut) - { - fixed (double* pvalues = &values) - { - fixed (double* pminOut = &minOut) - { - ImMinMaxArrayNative((double*)pvalues, count, (double*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(double* values, int count, double* minOut, ref double maxOut) - { - fixed (double* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (double*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref double values, int count, double* minOut, ref double maxOut) - { - fixed (double* pvalues = &values) - { - fixed (double* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((double*)pvalues, count, minOut, (double*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(double* values, int count, ref double minOut, ref double maxOut) - { - fixed (double* pminOut = &minOut) - { - fixed (double* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (double*)pminOut, (double*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref double values, int count, ref double minOut, ref double maxOut) - { - fixed (double* pvalues = &values) - { - fixed (double* pminOut = &minOut) - { - fixed (double* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((double*)pvalues, count, (double*)pminOut, (double*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(byte* values, int count, byte* minOut, byte* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[416])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[416])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(byte* values, int count, byte* minOut, byte* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref byte values, int count, byte* minOut, byte* maxOut) - { - fixed (byte* pvalues = &values) - { - ImMinMaxArrayNative((byte*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(byte* values, int count, ref byte minOut, byte* maxOut) - { - fixed (byte* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (byte*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref byte values, int count, ref byte minOut, byte* maxOut) - { - fixed (byte* pvalues = &values) - { - fixed (byte* pminOut = &minOut) - { - ImMinMaxArrayNative((byte*)pvalues, count, (byte*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(byte* values, int count, byte* minOut, ref byte maxOut) - { - fixed (byte* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (byte*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref byte values, int count, byte* minOut, ref byte maxOut) - { - fixed (byte* pvalues = &values) - { - fixed (byte* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((byte*)pvalues, count, minOut, (byte*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(byte* values, int count, ref byte minOut, ref byte maxOut) - { - fixed (byte* pminOut = &minOut) - { - fixed (byte* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (byte*)pminOut, (byte*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref byte values, int count, ref byte minOut, ref byte maxOut) - { - fixed (byte* pvalues = &values) - { - fixed (byte* pminOut = &minOut) - { - fixed (byte* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((byte*)pvalues, count, (byte*)pminOut, (byte*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(short* values, int count, short* minOut, short* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[417])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[417])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(short* values, int count, short* minOut, short* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref short values, int count, short* minOut, short* maxOut) - { - fixed (short* pvalues = &values) - { - ImMinMaxArrayNative((short*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(short* values, int count, ref short minOut, short* maxOut) - { - fixed (short* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (short*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref short values, int count, ref short minOut, short* maxOut) - { - fixed (short* pvalues = &values) - { - fixed (short* pminOut = &minOut) - { - ImMinMaxArrayNative((short*)pvalues, count, (short*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(short* values, int count, short* minOut, ref short maxOut) - { - fixed (short* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (short*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref short values, int count, short* minOut, ref short maxOut) - { - fixed (short* pvalues = &values) - { - fixed (short* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((short*)pvalues, count, minOut, (short*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(short* values, int count, ref short minOut, ref short maxOut) - { - fixed (short* pminOut = &minOut) - { - fixed (short* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (short*)pminOut, (short*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref short values, int count, ref short minOut, ref short maxOut) - { - fixed (short* pvalues = &values) - { - fixed (short* pminOut = &minOut) - { - fixed (short* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((short*)pvalues, count, (short*)pminOut, (short*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(ushort* values, int count, ushort* minOut, ushort* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[418])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[418])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ushort* values, int count, ushort* minOut, ushort* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ushort values, int count, ushort* minOut, ushort* maxOut) - { - fixed (ushort* pvalues = &values) - { - ImMinMaxArrayNative((ushort*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ushort* values, int count, ref ushort minOut, ushort* maxOut) - { - fixed (ushort* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (ushort*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ushort values, int count, ref ushort minOut, ushort* maxOut) - { - fixed (ushort* pvalues = &values) - { - fixed (ushort* pminOut = &minOut) - { - ImMinMaxArrayNative((ushort*)pvalues, count, (ushort*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ushort* values, int count, ushort* minOut, ref ushort maxOut) - { - fixed (ushort* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (ushort*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ushort values, int count, ushort* minOut, ref ushort maxOut) - { - fixed (ushort* pvalues = &values) - { - fixed (ushort* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((ushort*)pvalues, count, minOut, (ushort*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ushort* values, int count, ref ushort minOut, ref ushort maxOut) - { - fixed (ushort* pminOut = &minOut) - { - fixed (ushort* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (ushort*)pminOut, (ushort*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ushort values, int count, ref ushort minOut, ref ushort maxOut) - { - fixed (ushort* pvalues = &values) - { - fixed (ushort* pminOut = &minOut) - { - fixed (ushort* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((ushort*)pvalues, count, (ushort*)pminOut, (ushort*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(int* values, int count, int* minOut, int* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[419])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[419])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(int* values, int count, int* minOut, int* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref int values, int count, int* minOut, int* maxOut) - { - fixed (int* pvalues = &values) - { - ImMinMaxArrayNative((int*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(int* values, int count, ref int minOut, int* maxOut) - { - fixed (int* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (int*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref int values, int count, ref int minOut, int* maxOut) - { - fixed (int* pvalues = &values) - { - fixed (int* pminOut = &minOut) - { - ImMinMaxArrayNative((int*)pvalues, count, (int*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(int* values, int count, int* minOut, ref int maxOut) - { - fixed (int* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (int*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref int values, int count, int* minOut, ref int maxOut) - { - fixed (int* pvalues = &values) - { - fixed (int* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((int*)pvalues, count, minOut, (int*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(int* values, int count, ref int minOut, ref int maxOut) - { - fixed (int* pminOut = &minOut) - { - fixed (int* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (int*)pminOut, (int*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref int values, int count, ref int minOut, ref int maxOut) - { - fixed (int* pvalues = &values) - { - fixed (int* pminOut = &minOut) - { - fixed (int* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((int*)pvalues, count, (int*)pminOut, (int*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(uint* values, int count, uint* minOut, uint* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[420])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[420])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(uint* values, int count, uint* minOut, uint* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref uint values, int count, uint* minOut, uint* maxOut) - { - fixed (uint* pvalues = &values) - { - ImMinMaxArrayNative((uint*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(uint* values, int count, ref uint minOut, uint* maxOut) - { - fixed (uint* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (uint*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref uint values, int count, ref uint minOut, uint* maxOut) - { - fixed (uint* pvalues = &values) - { - fixed (uint* pminOut = &minOut) - { - ImMinMaxArrayNative((uint*)pvalues, count, (uint*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(uint* values, int count, uint* minOut, ref uint maxOut) - { - fixed (uint* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (uint*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref uint values, int count, uint* minOut, ref uint maxOut) - { - fixed (uint* pvalues = &values) - { - fixed (uint* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((uint*)pvalues, count, minOut, (uint*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(uint* values, int count, ref uint minOut, ref uint maxOut) - { - fixed (uint* pminOut = &minOut) - { - fixed (uint* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (uint*)pminOut, (uint*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref uint values, int count, ref uint minOut, ref uint maxOut) - { - fixed (uint* pvalues = &values) - { - fixed (uint* pminOut = &minOut) - { - fixed (uint* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((uint*)pvalues, count, (uint*)pminOut, (uint*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(long* values, int count, long* minOut, long* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[421])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[421])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(long* values, int count, long* minOut, long* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref long values, int count, long* minOut, long* maxOut) - { - fixed (long* pvalues = &values) - { - ImMinMaxArrayNative((long*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(long* values, int count, ref long minOut, long* maxOut) - { - fixed (long* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (long*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref long values, int count, ref long minOut, long* maxOut) - { - fixed (long* pvalues = &values) - { - fixed (long* pminOut = &minOut) - { - ImMinMaxArrayNative((long*)pvalues, count, (long*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(long* values, int count, long* minOut, ref long maxOut) - { - fixed (long* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (long*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref long values, int count, long* minOut, ref long maxOut) - { - fixed (long* pvalues = &values) - { - fixed (long* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((long*)pvalues, count, minOut, (long*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(long* values, int count, ref long minOut, ref long maxOut) - { - fixed (long* pminOut = &minOut) - { - fixed (long* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (long*)pminOut, (long*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref long values, int count, ref long minOut, ref long maxOut) - { - fixed (long* pvalues = &values) - { - fixed (long* pminOut = &minOut) - { - fixed (long* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((long*)pvalues, count, (long*)pminOut, (long*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ImMinMaxArrayNative(ulong* values, int count, ulong* minOut, ulong* maxOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[422])(values, count, minOut, maxOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[422])((nint)values, count, (nint)minOut, (nint)maxOut); - #endif - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ulong* values, int count, ulong* minOut, ulong* maxOut) - { - ImMinMaxArrayNative(values, count, minOut, maxOut); - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ulong values, int count, ulong* minOut, ulong* maxOut) - { - fixed (ulong* pvalues = &values) - { - ImMinMaxArrayNative((ulong*)pvalues, count, minOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ulong* values, int count, ref ulong minOut, ulong* maxOut) - { - fixed (ulong* pminOut = &minOut) - { - ImMinMaxArrayNative(values, count, (ulong*)pminOut, maxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ulong values, int count, ref ulong minOut, ulong* maxOut) - { - fixed (ulong* pvalues = &values) - { - fixed (ulong* pminOut = &minOut) - { - ImMinMaxArrayNative((ulong*)pvalues, count, (ulong*)pminOut, maxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ulong* values, int count, ulong* minOut, ref ulong maxOut) - { - fixed (ulong* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, minOut, (ulong*)pmaxOut); - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ulong values, int count, ulong* minOut, ref ulong maxOut) - { - fixed (ulong* pvalues = &values) - { - fixed (ulong* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((ulong*)pvalues, count, minOut, (ulong*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ulong* values, int count, ref ulong minOut, ref ulong maxOut) - { - fixed (ulong* pminOut = &minOut) - { - fixed (ulong* pmaxOut = &maxOut) - { - ImMinMaxArrayNative(values, count, (ulong*)pminOut, (ulong*)pmaxOut); - } - } - } - - /// - /// To be documented. - /// - public static void ImMinMaxArray(ref ulong values, int count, ref ulong minOut, ref ulong maxOut) - { - fixed (ulong* pvalues = &values) - { - fixed (ulong* pminOut = &minOut) - { - fixed (ulong* pmaxOut = &maxOut) - { - ImMinMaxArrayNative((ulong*)pvalues, count, (ulong*)pminOut, (ulong*)pmaxOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float ImSumNative(float* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[423])(values, count); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[423])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static float ImSum(float* values, int count) - { - float ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static float ImSum(ref float values, int count) - { - fixed (float* pvalues = &values) - { - float ret = ImSumNative((float*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImSumNative(double* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[424])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[424])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImSum(double* values, int count) - { - double ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImSum(ref double values, int count) - { - fixed (double* pvalues = &values) - { - double ret = ImSumNative((double*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImSumNative(byte* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[425])(values, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[425])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static byte ImSum(byte* values, int count) - { - byte ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static byte ImSum(ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - byte ret = ImSumNative((byte*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static short ImSumNative(short* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[426])(values, count); - #else - return (short)((delegate* unmanaged[Cdecl])funcTable[426])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static short ImSum(short* values, int count) - { - short ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static short ImSum(ref short values, int count) - { - fixed (short* pvalues = &values) - { - short ret = ImSumNative((short*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ushort ImSumNative(ushort* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[427])(values, count); - #else - return (ushort)((delegate* unmanaged[Cdecl])funcTable[427])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static ushort ImSum(ushort* values, int count) - { - ushort ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static ushort ImSum(ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - ushort ret = ImSumNative((ushort*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int ImSumNative(int* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[428])(values, count); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[428])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static int ImSum(int* values, int count) - { - int ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static int ImSum(ref int values, int count) - { - fixed (int* pvalues = &values) - { - int ret = ImSumNative((int*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImSumNative(uint* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[429])(values, count); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[429])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static uint ImSum(uint* values, int count) - { - uint ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImSum(ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - uint ret = ImSumNative((uint*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static long ImSumNative(long* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[430])(values, count); - #else - return (long)((delegate* unmanaged[Cdecl])funcTable[430])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static long ImSum(long* values, int count) - { - long ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static long ImSum(ref long values, int count) - { - fixed (long* pvalues = &values) - { - long ret = ImSumNative((long*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ulong ImSumNative(ulong* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[431])(values, count); - #else - return (ulong)((delegate* unmanaged[Cdecl])funcTable[431])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static ulong ImSum(ulong* values, int count) - { - ulong ret = ImSumNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static ulong ImSum(ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - ulong ret = ImSumNative((ulong*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(float* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[432])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[432])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(float* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref float values, int count) - { - fixed (float* pvalues = &values) - { - double ret = ImMeanNative((float*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(double* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[433])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[433])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(double* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref double values, int count) - { - fixed (double* pvalues = &values) - { - double ret = ImMeanNative((double*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(byte* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[434])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[434])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(byte* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - double ret = ImMeanNative((byte*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(short* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[435])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[435])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(short* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref short values, int count) - { - fixed (short* pvalues = &values) - { - double ret = ImMeanNative((short*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(ushort* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[436])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[436])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(ushort* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - double ret = ImMeanNative((ushort*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(int* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[437])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[437])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(int* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref int values, int count) - { - fixed (int* pvalues = &values) - { - double ret = ImMeanNative((int*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(uint* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[438])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[438])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(uint* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - double ret = ImMeanNative((uint*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(long* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[439])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[439])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(long* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref long values, int count) - { - fixed (long* pvalues = &values) - { - double ret = ImMeanNative((long*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImMeanNative(ulong* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[440])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[440])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImMean(ulong* values, int count) - { - double ret = ImMeanNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImMean(ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - double ret = ImMeanNative((ulong*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(float* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[441])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[441])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(float* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref float values, int count) - { - fixed (float* pvalues = &values) - { - double ret = ImStdDevNative((float*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(double* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[442])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[442])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(double* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref double values, int count) - { - fixed (double* pvalues = &values) - { - double ret = ImStdDevNative((double*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(byte* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[443])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[443])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(byte* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref byte values, int count) - { - fixed (byte* pvalues = &values) - { - double ret = ImStdDevNative((byte*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(short* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[444])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[444])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(short* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref short values, int count) - { - fixed (short* pvalues = &values) - { - double ret = ImStdDevNative((short*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(ushort* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[445])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[445])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(ushort* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref ushort values, int count) - { - fixed (ushort* pvalues = &values) - { - double ret = ImStdDevNative((ushort*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(int* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[446])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[446])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(int* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref int values, int count) - { - fixed (int* pvalues = &values) - { - double ret = ImStdDevNative((int*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(uint* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[447])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[447])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(uint* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref uint values, int count) - { - fixed (uint* pvalues = &values) - { - double ret = ImStdDevNative((uint*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(long* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[448])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[448])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(long* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref long values, int count) - { - fixed (long* pvalues = &values) - { - double ret = ImStdDevNative((long*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ImStdDevNative(ulong* values, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[449])(values, count); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[449])((nint)values, count); - #endif - } - - /// - /// To be documented. - /// - public static double ImStdDev(ulong* values, int count) - { - double ret = ImStdDevNative(values, count); - return ret; - } - - /// - /// To be documented. - /// - public static double ImStdDev(ref ulong values, int count) - { - fixed (ulong* pvalues = &values) - { - double ret = ImStdDevNative((ulong*)pvalues, count); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImMixU32Native(uint a, uint b, uint s) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[450])(a, b, s); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[450])(a, b, s); - #endif - } - - /// - /// To be documented. - /// - public static uint ImMixU32(uint a, uint b, uint s) - { - uint ret = ImMixU32Native(a, b, s); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImLerpU32Native(uint* colors, int size, float t) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[451])(colors, size, t); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[451])((nint)colors, size, t); - #endif - } - - /// - /// To be documented. - /// - public static uint ImLerpU32(uint* colors, int size, float t) - { - uint ret = ImLerpU32Native(colors, size, t); - return ret; - } - - /// - /// To be documented. - /// - public static uint ImLerpU32(ref uint colors, int size, float t) - { - fixed (uint* pcolors = &colors) - { - uint ret = ImLerpU32Native((uint*)pcolors, size, t); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint ImAlphaU32Native(uint col, float alpha) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[452])(col, alpha); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[452])(col, alpha); - #endif - } - - /// - /// To be documented. - /// - public static uint ImAlphaU32(uint col, float alpha) - { - uint ret = ImAlphaU32Native(col, alpha); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(float minA, float maxA, float minB, float maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[453])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[453])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(float minA, float maxA, float minB, float maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(double minA, double maxA, double minB, double maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[454])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[454])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(double minA, double maxA, double minB, double maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(byte minA, byte maxA, byte minB, byte maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[455])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[455])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(byte minA, byte maxA, byte minB, byte maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(short minA, short maxA, short minB, short maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[456])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[456])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(short minA, short maxA, short minB, short maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(ushort minA, ushort maxA, ushort minB, ushort maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[457])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[457])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(ushort minA, ushort maxA, ushort minB, ushort maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(int minA, int maxA, int minB, int maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[458])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[458])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(int minA, int maxA, int minB, int maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(uint minA, uint maxA, uint minB, uint maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[459])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[459])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(uint minA, uint maxA, uint minB, uint maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(long minA, long maxA, long minB, long maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[460])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[460])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(long minA, long maxA, long minB, long maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ImOverlapsNative(ulong minA, ulong maxA, ulong minB, ulong maxB) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[461])(minA, maxA, minB, maxB); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[461])(minA, maxA, minB, maxB); - #endif - } - - /// - /// To be documented. - /// - public static bool ImOverlaps(ulong minA, ulong maxA, ulong minB, ulong maxB) - { - byte ret = ImOverlapsNative(minA, maxA, minB, maxB); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotDateTimeSpec* ImPlotDateTimeSpecNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[462])(); - #else - return (ImPlotDateTimeSpec*)((delegate* unmanaged[Cdecl])funcTable[462])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec() - { - ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotDateTimeSpec* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[463])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[463])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotDateTimeSpecPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotDateTimeSpec self) - { - fixed (ImPlotDateTimeSpec* pself = &self) - { - DestroyNative((ImPlotDateTimeSpec*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotDateTimeSpec* ImPlotDateTimeSpecNative(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt, byte use24HrClk, byte useIso8601) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[464])(dateFmt, timeFmt, use24HrClk, useIso8601); - #else - return (ImPlotDateTimeSpec*)((delegate* unmanaged[Cdecl])funcTable[464])(dateFmt, timeFmt, use24HrClk, useIso8601); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt, bool use24HrClk, bool useIso8601) - { - ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(dateFmt, timeFmt, use24HrClk ? (byte)1 : (byte)0, useIso8601 ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt, bool use24HrClk) - { - ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(dateFmt, timeFmt, use24HrClk ? (byte)1 : (byte)0, (byte)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotDateTimeSpecPtr ImPlotDateTimeSpec(ImPlotDateFmt dateFmt, ImPlotTimeFmt timeFmt) - { - ImPlotDateTimeSpecPtr ret = ImPlotDateTimeSpecNative(dateFmt, timeFmt, (byte)(0), (byte)(0)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTime* ImPlotTimeNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[465])(); - #else - return (ImPlotTime*)((delegate* unmanaged[Cdecl])funcTable[465])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTimePtr ImPlotTime() - { - ImPlotTimePtr ret = ImPlotTimeNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotTime* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[466])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[466])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotTimePtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotTime self) - { - fixed (ImPlotTime* pself = &self) - { - DestroyNative((ImPlotTime*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTime* ImPlotTimeNative(long s, int us) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[467])(s, us); - #else - return (ImPlotTime*)((delegate* unmanaged[Cdecl])funcTable[467])(s, us); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTimePtr ImPlotTime(long s, int us) - { - ImPlotTimePtr ret = ImPlotTimeNative(s, us); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotTimePtr ImPlotTime(long s) - { - ImPlotTimePtr ret = ImPlotTimeNative(s, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RollOverNative(ImPlotTime* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[468])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[468])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void RollOver(ImPlotTimePtr self) - { - RollOverNative(self); - } - - /// - /// To be documented. - /// - public static void RollOver(ref ImPlotTime self) - { - fixed (ImPlotTime* pself = &self) - { - RollOverNative((ImPlotTime*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double ToDoubleNative(ImPlotTime* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[469])(self); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[469])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static double ToDouble(ImPlotTimePtr self) - { - double ret = ToDoubleNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static double ToDouble(ref ImPlotTime self) - { - fixed (ImPlotTime* pself = &self) - { - double ret = ToDoubleNative((ImPlotTime*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FromDoubleNative(ImPlotTime* pOut, double t) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[470])(pOut, t); - #else - ((delegate* unmanaged[Cdecl])funcTable[470])((nint)pOut, t); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime FromDouble(double t) - { - ImPlotTime ret; - FromDoubleNative(&ret, t); - return ret; - } - - /// - /// To be documented. - /// - public static void FromDouble(ImPlotTimePtr pOut, double t) - { - FromDoubleNative(pOut, t); - } - - /// - /// To be documented. - /// - public static void FromDouble(ref ImPlotTime pOut, double t) - { - fixed (ImPlotTime* ppOut = &pOut) - { - FromDoubleNative((ImPlotTime*)ppOut, t); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotColormapData* ImPlotColormapDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[471])(); - #else - return (ImPlotColormapData*)((delegate* unmanaged[Cdecl])funcTable[471])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotColormapDataPtr ImPlotColormapData() - { - ImPlotColormapDataPtr ret = ImPlotColormapDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotColormapData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[472])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[472])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotColormapDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotColormapData self) - { - fixed (ImPlotColormapData* pself = &self) - { - DestroyNative((ImPlotColormapData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int AppendNative(ImPlotColormapData* self, byte* name, uint* keys, int count, byte qual) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[473])(self, name, keys, count, qual); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[473])((nint)self, (nint)name, (nint)keys, count, qual); - #endif - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, byte* name, uint* keys, int count, bool qual) - { - int ret = AppendNative(self, name, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, byte* name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - int ret = AppendNative((ImPlotColormapData*)pself, name, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, ref byte name, uint* keys, int count, bool qual) - { - fixed (byte* pname = &name) - { - int ret = AppendNative(self, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, ReadOnlySpan name, uint* keys, int count, bool qual) - { - fixed (byte* pname = name) - { - int ret = AppendNative(self, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, string name, uint* keys, int count, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = AppendNative(self, pStr0, keys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, ref byte name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (byte* pname = &name) - { - int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, ReadOnlySpan name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (byte* pname = name) - { - int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, string name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = AppendNative((ImPlotColormapData*)pself, pStr0, keys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, byte* name, ref uint keys, int count, bool qual) - { - fixed (uint* pkeys = &keys) - { - int ret = AppendNative(self, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, byte* name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (uint* pkeys = &keys) - { - int ret = AppendNative((ImPlotColormapData*)pself, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, ref byte name, ref uint keys, int count, bool qual) - { - fixed (byte* pname = &name) - { - fixed (uint* pkeys = &keys) - { - int ret = AppendNative(self, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, ReadOnlySpan name, ref uint keys, int count, bool qual) - { - fixed (byte* pname = name) - { - fixed (uint* pkeys = &keys) - { - int ret = AppendNative(self, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static int Append(ImPlotColormapDataPtr self, string name, ref uint keys, int count, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pkeys = &keys) - { - int ret = AppendNative(self, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, ref byte name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (byte* pname = &name) - { - fixed (uint* pkeys = &keys) - { - int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, ReadOnlySpan name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (byte* pname = name) - { - fixed (uint* pkeys = &keys) - { - int ret = AppendNative((ImPlotColormapData*)pself, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public static int Append(ref ImPlotColormapData self, string name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pkeys = &keys) - { - int ret = AppendNative((ImPlotColormapData*)pself, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void _AppendTableNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[474])(self, cmap); - #else - ((delegate* unmanaged[Cdecl])funcTable[474])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static void _AppendTable(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - _AppendTableNative(self, cmap); - } - - /// - /// To be documented. - /// - public static void _AppendTable(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - _AppendTableNative((ImPlotColormapData*)pself, cmap); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RebuildTablesNative(ImPlotColormapData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[475])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[475])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void RebuildTables(ImPlotColormapDataPtr self) - { - RebuildTablesNative(self); - } - - /// - /// To be documented. - /// - public static void RebuildTables(ref ImPlotColormapData self) - { - fixed (ImPlotColormapData* pself = &self) - { - RebuildTablesNative((ImPlotColormapData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsQualNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[476])(self, cmap); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[476])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static bool IsQual(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - byte ret = IsQualNative(self, cmap); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsQual(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - byte ret = IsQualNative((ImPlotColormapData*)pself, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetNameNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[477])(self, cmap); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[477])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetName(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - byte* ret = GetNameNative(self, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static string GetNameS(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - string ret = Utils.DecodeStringUTF8(GetNameNative(self, cmap)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetName(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - byte* ret = GetNameNative((ImPlotColormapData*)pself, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetNameS(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetNameNative((ImPlotColormapData*)pself, cmap)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotColormap GetIndexNative(ImPlotColormapData* self, byte* name) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[478])(self, name); - #else - return (ImPlotColormap)((delegate* unmanaged[Cdecl])funcTable[478])((nint)self, (nint)name); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, byte* name) - { - ImPlotColormap ret = GetIndexNative(self, name); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ref ImPlotColormapData self, byte* name) - { - fixed (ImPlotColormapData* pself = &self) - { - ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, name); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, ref byte name) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = GetIndexNative(self, (byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = GetIndexNative(self, (byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ImPlotColormapDataPtr self, string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = GetIndexNative(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ref ImPlotColormapData self, ref byte name) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, (byte*)pname); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ref ImPlotColormapData self, ReadOnlySpan name) - { - fixed (ImPlotColormapData* pself = &self) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, (byte*)pname); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotColormap GetIndex(ref ImPlotColormapData self, string name) - { - fixed (ImPlotColormapData* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = GetIndexNative((ImPlotColormapData*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetKeysNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[479])(self, cmap); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[479])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static uint* GetKeys(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - uint* ret = GetKeysNative(self, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static uint* GetKeys(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - uint* ret = GetKeysNative((ImPlotColormapData*)pself, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetKeyCountNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[480])(self, cmap); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[480])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static int GetKeyCount(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - int ret = GetKeyCountNative(self, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static int GetKeyCount(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - int ret = GetKeyCountNative((ImPlotColormapData*)pself, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetKeyColorNative(ImPlotColormapData* self, ImPlotColormap cmap, int idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[481])(self, cmap, idx); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[481])((nint)self, cmap, idx); - #endif - } - - /// - /// To be documented. - /// - public static uint GetKeyColor(ImPlotColormapDataPtr self, ImPlotColormap cmap, int idx) - { - uint ret = GetKeyColorNative(self, cmap, idx); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetKeyColor(ref ImPlotColormapData self, ImPlotColormap cmap, int idx) - { - fixed (ImPlotColormapData* pself = &self) - { - uint ret = GetKeyColorNative((ImPlotColormapData*)pself, cmap, idx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetKeyColorNative(ImPlotColormapData* self, ImPlotColormap cmap, int idx, uint value) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[482])(self, cmap, idx, value); - #else - ((delegate* unmanaged[Cdecl])funcTable[482])((nint)self, cmap, idx, value); - #endif - } - - /// - /// To be documented. - /// - public static void SetKeyColor(ImPlotColormapDataPtr self, ImPlotColormap cmap, int idx, uint value) - { - SetKeyColorNative(self, cmap, idx, value); - } - - /// - /// To be documented. - /// - public static void SetKeyColor(ref ImPlotColormapData self, ImPlotColormap cmap, int idx, uint value) - { - fixed (ImPlotColormapData* pself = &self) - { - SetKeyColorNative((ImPlotColormapData*)pself, cmap, idx, value); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint* GetTableNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[483])(self, cmap); - #else - return (uint*)((delegate* unmanaged[Cdecl])funcTable[483])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static uint* GetTable(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - uint* ret = GetTableNative(self, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static uint* GetTable(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - uint* ret = GetTableNative((ImPlotColormapData*)pself, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetTableSizeNative(ImPlotColormapData* self, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[484])(self, cmap); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[484])((nint)self, cmap); - #endif - } - - /// - /// To be documented. - /// - public static int GetTableSize(ImPlotColormapDataPtr self, ImPlotColormap cmap) - { - int ret = GetTableSizeNative(self, cmap); - return ret; - } - - /// - /// To be documented. - /// - public static int GetTableSize(ref ImPlotColormapData self, ImPlotColormap cmap) - { - fixed (ImPlotColormapData* pself = &self) - { - int ret = GetTableSizeNative((ImPlotColormapData*)pself, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetTableColorNative(ImPlotColormapData* self, ImPlotColormap cmap, int idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[485])(self, cmap, idx); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[485])((nint)self, cmap, idx); - #endif - } - - /// - /// To be documented. - /// - public static uint GetTableColor(ImPlotColormapDataPtr self, ImPlotColormap cmap, int idx) - { - uint ret = GetTableColorNative(self, cmap, idx); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetTableColor(ref ImPlotColormapData self, ImPlotColormap cmap, int idx) - { - fixed (ImPlotColormapData* pself = &self) - { - uint ret = GetTableColorNative((ImPlotColormapData*)pself, cmap, idx); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint LerpTableNative(ImPlotColormapData* self, ImPlotColormap cmap, float t) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[486])(self, cmap, t); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[486])((nint)self, cmap, t); - #endif - } - - /// - /// To be documented. - /// - public static uint LerpTable(ImPlotColormapDataPtr self, ImPlotColormap cmap, float t) - { - uint ret = LerpTableNative(self, cmap, t); - return ret; - } - - /// - /// To be documented. - /// - public static uint LerpTable(ref ImPlotColormapData self, ImPlotColormap cmap, float t) - { - fixed (ImPlotColormapData* pself = &self) - { - uint ret = LerpTableNative((ImPlotColormapData*)pself, cmap, t); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPointError* ImPlotPointErrorNative(double x, double y, double neg, double pos) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[487])(x, y, neg, pos); - #else - return (ImPlotPointError*)((delegate* unmanaged[Cdecl])funcTable[487])(x, y, neg, pos); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPointErrorPtr ImPlotPointError(double x, double y, double neg, double pos) - { - ImPlotPointErrorPtr ret = ImPlotPointErrorNative(x, y, neg, pos); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotPointError* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[488])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[488])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotPointErrorPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotPointError self) - { - fixed (ImPlotPointError* pself = &self) - { - DestroyNative((ImPlotPointError*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAnnotation* ImPlotAnnotationNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[489])(); - #else - return (ImPlotAnnotation*)((delegate* unmanaged[Cdecl])funcTable[489])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAnnotationPtr ImPlotAnnotation() - { - ImPlotAnnotationPtr ret = ImPlotAnnotationNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotAnnotation* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[490])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[490])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotAnnotationPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotAnnotation self) - { - fixed (ImPlotAnnotation* pself = &self) - { - DestroyNative((ImPlotAnnotation*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAnnotationCollection* ImPlotAnnotationCollectionNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[491])(); - #else - return (ImPlotAnnotationCollection*)((delegate* unmanaged[Cdecl])funcTable[491])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAnnotationCollectionPtr ImPlotAnnotationCollection() - { - ImPlotAnnotationCollectionPtr ret = ImPlotAnnotationCollectionNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotAnnotationCollection* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[492])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[492])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotAnnotationCollectionPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotAnnotationCollection self) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - DestroyNative((ImPlotAnnotationCollection*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AppendVNative(ImPlotAnnotationCollection* self, Vector2 pos, Vector2 off, uint bg, uint fg, byte clamp, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[493])(self, pos, off, bg, fg, clamp, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[493])((nint)self, pos, off, bg, fg, clamp, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) - { - AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendVNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - fixed (byte* pfmt = &fmt) - { - AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - fixed (byte* pfmt = fmt) - { - AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendVNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AppendNative(ImPlotAnnotationCollection* self, Vector2 pos, Vector2 off, uint bg, uint fg, byte clamp, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[494])(self, pos, off, bg, fg, clamp, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[494])((nint)self, pos, off, bg, fg, clamp, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) - { - AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); - } - } - - /// - /// To be documented. - /// - public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void Append(ImPlotAnnotationCollectionPtr self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendNative(self, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - fixed (byte* pfmt = &fmt) - { - AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - fixed (byte* pfmt = fmt) - { - AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotAnnotationCollection self, Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendNative((ImPlotAnnotationCollection*)pself, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetTextNative(ImPlotAnnotationCollection* self, int idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[495])(self, idx); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[495])((nint)self, idx); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetText(ImPlotAnnotationCollectionPtr self, int idx) - { - byte* ret = GetTextNative(self, idx); - return ret; - } - - /// - /// To be documented. - /// - public static string GetTextS(ImPlotAnnotationCollectionPtr self, int idx) - { - string ret = Utils.DecodeStringUTF8(GetTextNative(self, idx)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetText(ref ImPlotAnnotationCollection self, int idx) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - byte* ret = GetTextNative((ImPlotAnnotationCollection*)pself, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetTextS(ref ImPlotAnnotationCollection self, int idx) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotAnnotationCollection*)pself, idx)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotAnnotationCollection* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[496])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[496])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotAnnotationCollectionPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotAnnotationCollection self) - { - fixed (ImPlotAnnotationCollection* pself = &self) - { - ResetNative((ImPlotAnnotationCollection*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTagCollection* ImPlotTagCollectionNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[497])(); - #else - return (ImPlotTagCollection*)((delegate* unmanaged[Cdecl])funcTable[497])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTagCollectionPtr ImPlotTagCollection() - { - ImPlotTagCollectionPtr ret = ImPlotTagCollectionNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotTagCollection* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[498])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[498])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotTagCollectionPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotTagCollection self) - { - fixed (ImPlotTagCollection* pself = &self) - { - DestroyNative((ImPlotTagCollection*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AppendVNative(ImPlotTagCollection* self, ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[499])(self, axis, value, bg, fg, fmt, args); - #else - ((delegate* unmanaged[Cdecl])funcTable[499])((nint)self, axis, value, bg, fg, (nint)fmt, args); - #endif - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) - { - AppendVNative(self, axis, value, bg, fg, fmt, args); - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.137.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.137.cs deleted file mode 100644 index 69e4254af..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.137.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) - { - fixed (ImPlotTagCollection* pself = &self) - { - AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, fmt, args); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - AppendVNative(self, axis, value, bg, fg, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - AppendVNative(self, axis, value, bg, fg, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendVNative(self, axis, value, bg, fg, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) - { - fixed (ImPlotTagCollection* pself = &self) - { - fixed (byte* pfmt = &fmt) - { - AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) - { - fixed (ImPlotTagCollection* pself = &self) - { - fixed (byte* pfmt = fmt) - { - AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public static void AppendV(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) - { - fixed (ImPlotTagCollection* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendVNative((ImPlotTagCollection*)pself, axis, value, bg, fg, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AppendNative(ImPlotTagCollection* self, ImAxis axis, double value, uint bg, uint fg, byte* fmt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[500])(self, axis, value, bg, fg, fmt); - #else - ((delegate* unmanaged[Cdecl])funcTable[500])((nint)self, axis, value, bg, fg, (nint)fmt); - #endif - } - - /// - /// To be documented. - /// - public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, byte* fmt) - { - AppendNative(self, axis, value, bg, fg, fmt); - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, byte* fmt) - { - fixed (ImPlotTagCollection* pself = &self) - { - AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, fmt); - } - } - - /// - /// To be documented. - /// - public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - AppendNative(self, axis, value, bg, fg, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - AppendNative(self, axis, value, bg, fg, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public static void Append(ImPlotTagCollectionPtr self, ImAxis axis, double value, uint bg, uint fg, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendNative(self, axis, value, bg, fg, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ref byte fmt) - { - fixed (ImPlotTagCollection* pself = &self) - { - fixed (byte* pfmt = &fmt) - { - AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) - { - fixed (ImPlotTagCollection* pself = &self) - { - fixed (byte* pfmt = fmt) - { - AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public static void Append(ref ImPlotTagCollection self, ImAxis axis, double value, uint bg, uint fg, string fmt) - { - fixed (ImPlotTagCollection* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AppendNative((ImPlotTagCollection*)pself, axis, value, bg, fg, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetTextNative(ImPlotTagCollection* self, int idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[501])(self, idx); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[501])((nint)self, idx); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetText(ImPlotTagCollectionPtr self, int idx) - { - byte* ret = GetTextNative(self, idx); - return ret; - } - - /// - /// To be documented. - /// - public static string GetTextS(ImPlotTagCollectionPtr self, int idx) - { - string ret = Utils.DecodeStringUTF8(GetTextNative(self, idx)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetText(ref ImPlotTagCollection self, int idx) - { - fixed (ImPlotTagCollection* pself = &self) - { - byte* ret = GetTextNative((ImPlotTagCollection*)pself, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetTextS(ref ImPlotTagCollection self, int idx) - { - fixed (ImPlotTagCollection* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotTagCollection*)pself, idx)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotTagCollection* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[502])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[502])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotTagCollectionPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotTagCollection self) - { - fixed (ImPlotTagCollection* pself = &self) - { - ResetNative((ImPlotTagCollection*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTick* ImPlotTickNative(double value, byte major, int level, byte showLabel) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[503])(value, major, level, showLabel); - #else - return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[503])(value, major, level, showLabel); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr ImPlotTick(double value, bool major, int level, bool showLabel) - { - ImPlotTickPtr ret = ImPlotTickNative(value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotTick* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[504])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[504])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotTickPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotTick self) - { - fixed (ImPlotTick* pself = &self) - { - DestroyNative((ImPlotTick*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTicker* ImPlotTickerNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[505])(); - #else - return (ImPlotTicker*)((delegate* unmanaged[Cdecl])funcTable[505])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTickerPtr ImPlotTicker() - { - ImPlotTickerPtr ret = ImPlotTickerNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotTicker* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[506])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[506])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotTickerPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotTicker self) - { - fixed (ImPlotTicker* pself = &self) - { - DestroyNative((ImPlotTicker*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTick* AddTickNative(ImPlotTicker* self, double value, byte major, int level, byte showLabel, byte* label) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[507])(self, value, major, level, showLabel, label); - #else - return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[507])((nint)self, value, major, level, showLabel, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, byte* label) - { - ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, byte* label) - { - fixed (ImPlotTicker* pself = &self) - { - ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, ref byte label) - { - fixed (byte* plabel = &label) - { - ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, ref byte label) - { - fixed (ImPlotTicker* pself = &self) - { - fixed (byte* plabel = &label) - { - ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, ReadOnlySpan label) - { - fixed (ImPlotTicker* pself = &self) - { - fixed (byte* plabel = label) - { - ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, string label) - { - fixed (ImPlotTicker* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTick* AddTickNative(ImPlotTicker* self, double value, byte major, int level, byte showLabel, ImPlotFormatter formatter, void* data) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl], void*, ImPlotTick*>)funcTable[508])(self, value, major, level, showLabel, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), data); - #else - return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[508])((nint)self, value, major, level, showLabel, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)data); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) - { - ImPlotTickPtr ret = AddTickNative(self, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ref ImPlotTicker self, double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) - { - fixed (ImPlotTicker* pself = &self) - { - ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotTick* AddTickNative(ImPlotTicker* self, ImPlotTick tick) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[509])(self, tick); - #else - return (ImPlotTick*)((delegate* unmanaged[Cdecl])funcTable[509])((nint)self, tick); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ImPlotTickerPtr self, ImPlotTick tick) - { - ImPlotTickPtr ret = AddTickNative(self, tick); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotTickPtr AddTick(ref ImPlotTicker self, ImPlotTick tick) - { - fixed (ImPlotTicker* pself = &self) - { - ImPlotTickPtr ret = AddTickNative((ImPlotTicker*)pself, tick); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetTextNative(ImPlotTicker* self, int idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[510])(self, idx); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[510])((nint)self, idx); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetText(ImPlotTickerPtr self, int idx) - { - byte* ret = GetTextNative(self, idx); - return ret; - } - - /// - /// To be documented. - /// - public static string GetTextS(ImPlotTickerPtr self, int idx) - { - string ret = Utils.DecodeStringUTF8(GetTextNative(self, idx)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetText(ref ImPlotTicker self, int idx) - { - fixed (ImPlotTicker* pself = &self) - { - byte* ret = GetTextNative((ImPlotTicker*)pself, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetTextS(ref ImPlotTicker self, int idx) - { - fixed (ImPlotTicker* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotTicker*)pself, idx)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetTextNative(ImPlotTicker* self, ImPlotTick tick) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[511])(self, tick); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[511])((nint)self, tick); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetText(ImPlotTickerPtr self, ImPlotTick tick) - { - byte* ret = GetTextNative(self, tick); - return ret; - } - - /// - /// To be documented. - /// - public static string GetTextS(ImPlotTickerPtr self, ImPlotTick tick) - { - string ret = Utils.DecodeStringUTF8(GetTextNative(self, tick)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetText(ref ImPlotTicker self, ImPlotTick tick) - { - fixed (ImPlotTicker* pself = &self) - { - byte* ret = GetTextNative((ImPlotTicker*)pself, tick); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetTextS(ref ImPlotTicker self, ImPlotTick tick) - { - fixed (ImPlotTicker* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetTextNative((ImPlotTicker*)pself, tick)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void OverrideSizeLateNative(ImPlotTicker* self, Vector2 size) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[512])(self, size); - #else - ((delegate* unmanaged[Cdecl])funcTable[512])((nint)self, size); - #endif - } - - /// - /// To be documented. - /// - public static void OverrideSizeLate(ImPlotTickerPtr self, Vector2 size) - { - OverrideSizeLateNative(self, size); - } - - /// - /// To be documented. - /// - public static void OverrideSizeLate(ref ImPlotTicker self, Vector2 size) - { - fixed (ImPlotTicker* pself = &self) - { - OverrideSizeLateNative((ImPlotTicker*)pself, size); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotTicker* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[513])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[513])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotTickerPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotTicker self) - { - fixed (ImPlotTicker* pself = &self) - { - ResetNative((ImPlotTicker*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int TickCountNative(ImPlotTicker* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[514])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[514])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int TickCount(ImPlotTickerPtr self) - { - int ret = TickCountNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int TickCount(ref ImPlotTicker self) - { - fixed (ImPlotTicker* pself = &self) - { - int ret = TickCountNative((ImPlotTicker*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAxis* ImPlotAxisNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[515])(); - #else - return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[515])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr ImPlotAxis() - { - ImPlotAxisPtr ret = ImPlotAxisNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[516])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[516])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotAxisPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - DestroyNative((ImPlotAxis*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[517])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[517])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotAxisPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - ResetNative((ImPlotAxis*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SetMinNative(ImPlotAxis* self, double min, byte force) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[518])(self, min, force); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[518])((nint)self, min, force); - #endif - } - - /// - /// To be documented. - /// - public static bool SetMin(ImPlotAxisPtr self, double min, bool force) - { - byte ret = SetMinNative(self, min, force ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SetMin(ImPlotAxisPtr self, double min) - { - byte ret = SetMinNative(self, min, (byte)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SetMin(ref ImPlotAxis self, double min, bool force) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = SetMinNative((ImPlotAxis*)pself, min, force ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SetMin(ref ImPlotAxis self, double min) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = SetMinNative((ImPlotAxis*)pself, min, (byte)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte SetMaxNative(ImPlotAxis* self, double max, byte force) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[519])(self, max, force); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[519])((nint)self, max, force); - #endif - } - - /// - /// To be documented. - /// - public static bool SetMax(ImPlotAxisPtr self, double max, bool force) - { - byte ret = SetMaxNative(self, max, force ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SetMax(ImPlotAxisPtr self, double max) - { - byte ret = SetMaxNative(self, max, (byte)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool SetMax(ref ImPlotAxis self, double max, bool force) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = SetMaxNative((ImPlotAxis*)pself, max, force ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool SetMax(ref ImPlotAxis self, double max) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = SetMaxNative((ImPlotAxis*)pself, max, (byte)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetRangeNative(ImPlotAxis* self, double v1, double v2) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[520])(self, v1, v2); - #else - ((delegate* unmanaged[Cdecl])funcTable[520])((nint)self, v1, v2); - #endif - } - - /// - /// To be documented. - /// - public static void SetRange(ImPlotAxisPtr self, double v1, double v2) - { - SetRangeNative(self, v1, v2); - } - - /// - /// To be documented. - /// - public static void SetRange(ref ImPlotAxis self, double v1, double v2) - { - fixed (ImPlotAxis* pself = &self) - { - SetRangeNative((ImPlotAxis*)pself, v1, v2); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetRangeNative(ImPlotAxis* self, ImPlotRange range) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[521])(self, range); - #else - ((delegate* unmanaged[Cdecl])funcTable[521])((nint)self, range); - #endif - } - - /// - /// To be documented. - /// - public static void SetRange(ImPlotAxisPtr self, ImPlotRange range) - { - SetRangeNative(self, range); - } - - /// - /// To be documented. - /// - public static void SetRange(ref ImPlotAxis self, ImPlotRange range) - { - fixed (ImPlotAxis* pself = &self) - { - SetRangeNative((ImPlotAxis*)pself, range); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAspectNative(ImPlotAxis* self, double unitPerPix) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[522])(self, unitPerPix); - #else - ((delegate* unmanaged[Cdecl])funcTable[522])((nint)self, unitPerPix); - #endif - } - - /// - /// To be documented. - /// - public static void SetAspect(ImPlotAxisPtr self, double unitPerPix) - { - SetAspectNative(self, unitPerPix); - } - - /// - /// To be documented. - /// - public static void SetAspect(ref ImPlotAxis self, double unitPerPix) - { - fixed (ImPlotAxis* pself = &self) - { - SetAspectNative((ImPlotAxis*)pself, unitPerPix); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float PixelSizeNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[523])(self); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[523])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static float PixelSize(ImPlotAxisPtr self) - { - float ret = PixelSizeNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static float PixelSize(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - float ret = PixelSizeNative((ImPlotAxis*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double GetAspectNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[524])(self); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[524])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static double GetAspect(ImPlotAxisPtr self) - { - double ret = GetAspectNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static double GetAspect(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - double ret = GetAspectNative((ImPlotAxis*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ConstrainNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[525])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[525])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Constrain(ImPlotAxisPtr self) - { - ConstrainNative(self); - } - - /// - /// To be documented. - /// - public static void Constrain(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - ConstrainNative((ImPlotAxis*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateTransformCacheNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[526])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[526])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void UpdateTransformCache(ImPlotAxisPtr self) - { - UpdateTransformCacheNative(self); - } - - /// - /// To be documented. - /// - public static void UpdateTransformCache(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - UpdateTransformCacheNative((ImPlotAxis*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static float PlotToPixelsNative(ImPlotAxis* self, double plt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[527])(self, plt); - #else - return (float)((delegate* unmanaged[Cdecl])funcTable[527])((nint)self, plt); - #endif - } - - /// - /// To be documented. - /// - public static float PlotToPixels(ImPlotAxisPtr self, double plt) - { - float ret = PlotToPixelsNative(self, plt); - return ret; - } - - /// - /// To be documented. - /// - public static float PlotToPixels(ref ImPlotAxis self, double plt) - { - fixed (ImPlotAxis* pself = &self) - { - float ret = PlotToPixelsNative((ImPlotAxis*)pself, plt); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double PixelsToPlotNative(ImPlotAxis* self, float pix) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[528])(self, pix); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[528])((nint)self, pix); - #endif - } - - /// - /// To be documented. - /// - public static double PixelsToPlot(ImPlotAxisPtr self, float pix) - { - double ret = PixelsToPlotNative(self, pix); - return ret; - } - - /// - /// To be documented. - /// - public static double PixelsToPlot(ref ImPlotAxis self, float pix) - { - fixed (ImPlotAxis* pself = &self) - { - double ret = PixelsToPlotNative((ImPlotAxis*)pself, pix); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ExtendFitNative(ImPlotAxis* self, double v) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[529])(self, v); - #else - ((delegate* unmanaged[Cdecl])funcTable[529])((nint)self, v); - #endif - } - - /// - /// To be documented. - /// - public static void ExtendFit(ImPlotAxisPtr self, double v) - { - ExtendFitNative(self, v); - } - - /// - /// To be documented. - /// - public static void ExtendFit(ref ImPlotAxis self, double v) - { - fixed (ImPlotAxis* pself = &self) - { - ExtendFitNative((ImPlotAxis*)pself, v); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ExtendFitWithNative(ImPlotAxis* self, ImPlotAxis* alt, double v, double vAlt) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[530])(self, alt, v, vAlt); - #else - ((delegate* unmanaged[Cdecl])funcTable[530])((nint)self, (nint)alt, v, vAlt); - #endif - } - - /// - /// To be documented. - /// - public static void ExtendFitWith(ImPlotAxisPtr self, ImPlotAxisPtr alt, double v, double vAlt) - { - ExtendFitWithNative(self, alt, v, vAlt); - } - - /// - /// To be documented. - /// - public static void ExtendFitWith(ref ImPlotAxis self, ImPlotAxisPtr alt, double v, double vAlt) - { - fixed (ImPlotAxis* pself = &self) - { - ExtendFitWithNative((ImPlotAxis*)pself, alt, v, vAlt); - } - } - - /// - /// To be documented. - /// - public static void ExtendFitWith(ImPlotAxisPtr self, ref ImPlotAxis alt, double v, double vAlt) - { - fixed (ImPlotAxis* palt = &alt) - { - ExtendFitWithNative(self, (ImPlotAxis*)palt, v, vAlt); - } - } - - /// - /// To be documented. - /// - public static void ExtendFitWith(ref ImPlotAxis self, ref ImPlotAxis alt, double v, double vAlt) - { - fixed (ImPlotAxis* pself = &self) - { - fixed (ImPlotAxis* palt = &alt) - { - ExtendFitWithNative((ImPlotAxis*)pself, (ImPlotAxis*)palt, v, vAlt); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ApplyFitNative(ImPlotAxis* self, float padding) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[531])(self, padding); - #else - ((delegate* unmanaged[Cdecl])funcTable[531])((nint)self, padding); - #endif - } - - /// - /// To be documented. - /// - public static void ApplyFit(ImPlotAxisPtr self, float padding) - { - ApplyFitNative(self, padding); - } - - /// - /// To be documented. - /// - public static void ApplyFit(ref ImPlotAxis self, float padding) - { - fixed (ImPlotAxis* pself = &self) - { - ApplyFitNative((ImPlotAxis*)pself, padding); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasLabelNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[532])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[532])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasLabel(ImPlotAxisPtr self) - { - byte ret = HasLabelNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasLabel(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = HasLabelNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasGridLinesNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[533])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[533])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasGridLines(ImPlotAxisPtr self) - { - byte ret = HasGridLinesNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasGridLines(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = HasGridLinesNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasTickLabelsNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[534])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[534])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasTickLabels(ImPlotAxisPtr self) - { - byte ret = HasTickLabelsNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasTickLabels(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = HasTickLabelsNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasTickMarksNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[535])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[535])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasTickMarks(ImPlotAxisPtr self) - { - byte ret = HasTickMarksNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasTickMarks(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = HasTickMarksNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte WillRenderNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[536])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[536])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool WillRender(ImPlotAxisPtr self) - { - byte ret = WillRenderNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool WillRender(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = WillRenderNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsOppositeNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[537])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[537])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsOpposite(ImPlotAxisPtr self) - { - byte ret = IsOppositeNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsOpposite(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsOppositeNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsInvertedNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[538])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[538])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsInverted(ImPlotAxisPtr self) - { - byte ret = IsInvertedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsInverted(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsInvertedNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsForegroundNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[539])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[539])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsForeground(ImPlotAxisPtr self) - { - byte ret = IsForegroundNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsForeground(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsForegroundNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsAutoFittingNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[540])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[540])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsAutoFitting(ImPlotAxisPtr self) - { - byte ret = IsAutoFittingNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsAutoFitting(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsAutoFittingNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte CanInitFitNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[541])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[541])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool CanInitFit(ImPlotAxisPtr self) - { - byte ret = CanInitFitNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool CanInitFit(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = CanInitFitNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsRangeLockedNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[542])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[542])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsRangeLocked(ImPlotAxisPtr self) - { - byte ret = IsRangeLockedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsRangeLocked(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsRangeLockedNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLockedMinNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[543])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[543])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLockedMin(ImPlotAxisPtr self) - { - byte ret = IsLockedMinNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLockedMin(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsLockedMinNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLockedMaxNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[544])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[544])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLockedMax(ImPlotAxisPtr self) - { - byte ret = IsLockedMaxNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLockedMax(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsLockedMaxNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLockedNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[545])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[545])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLocked(ImPlotAxisPtr self) - { - byte ret = IsLockedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsLocked(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsLockedNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsInputLockedMinNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[546])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[546])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsInputLockedMin(ImPlotAxisPtr self) - { - byte ret = IsInputLockedMinNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsInputLockedMin(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsInputLockedMinNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsInputLockedMaxNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[547])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[547])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsInputLockedMax(ImPlotAxisPtr self) - { - byte ret = IsInputLockedMaxNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsInputLockedMax(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsInputLockedMaxNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsInputLockedNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[548])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[548])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsInputLocked(ImPlotAxisPtr self) - { - byte ret = IsInputLockedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsInputLocked(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsInputLockedNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasMenusNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[549])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[549])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasMenus(ImPlotAxisPtr self) - { - byte ret = HasMenusNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasMenus(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = HasMenusNative((ImPlotAxis*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsPanLockedNative(ImPlotAxis* self, byte increasing) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[550])(self, increasing); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[550])((nint)self, increasing); - #endif - } - - /// - /// To be documented. - /// - public static bool IsPanLocked(ImPlotAxisPtr self, bool increasing) - { - byte ret = IsPanLockedNative(self, increasing ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsPanLocked(ref ImPlotAxis self, bool increasing) - { - fixed (ImPlotAxis* pself = &self) - { - byte ret = IsPanLockedNative((ImPlotAxis*)pself, increasing ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PushLinksNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[551])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[551])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void PushLinks(ImPlotAxisPtr self) - { - PushLinksNative(self); - } - - /// - /// To be documented. - /// - public static void PushLinks(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - PushLinksNative((ImPlotAxis*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void PullLinksNative(ImPlotAxis* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[552])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[552])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void PullLinks(ImPlotAxisPtr self) - { - PullLinksNative(self); - } - - /// - /// To be documented. - /// - public static void PullLinks(ref ImPlotAxis self) - { - fixed (ImPlotAxis* pself = &self) - { - PullLinksNative((ImPlotAxis*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAlignmentData* ImPlotAlignmentDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[553])(); - #else - return (ImPlotAlignmentData*)((delegate* unmanaged[Cdecl])funcTable[553])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAlignmentDataPtr ImPlotAlignmentData() - { - ImPlotAlignmentDataPtr ret = ImPlotAlignmentDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotAlignmentData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[554])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[554])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotAlignmentDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotAlignmentData self) - { - fixed (ImPlotAlignmentData* pself = &self) - { - DestroyNative((ImPlotAlignmentData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BeginNative(ImPlotAlignmentData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[555])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[555])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Begin(ImPlotAlignmentDataPtr self) - { - BeginNative(self); - } - - /// - /// To be documented. - /// - public static void Begin(ref ImPlotAlignmentData self) - { - fixed (ImPlotAlignmentData* pself = &self) - { - BeginNative((ImPlotAlignmentData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void UpdateNative(ImPlotAlignmentData* self, float* padA, float* padB, float* deltaA, float* deltaB) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[556])(self, padA, padB, deltaA, deltaB); - #else - ((delegate* unmanaged[Cdecl])funcTable[556])((nint)self, (nint)padA, (nint)padB, (nint)deltaA, (nint)deltaB); - #endif - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, float* deltaA, float* deltaB) - { - UpdateNative(self, padA, padB, deltaA, deltaB); - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, padB, deltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, float* deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - UpdateNative(self, (float*)ppadA, padB, deltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, deltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (float* ppadB = &padB) - { - UpdateNative(self, padA, (float*)ppadB, deltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadB = &padB) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, deltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - UpdateNative(self, (float*)ppadA, (float*)ppadB, deltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, deltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative(self, padA, padB, (float*)pdeltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, padB, (float*)pdeltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative(self, (float*)ppadA, padB, (float*)pdeltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, (float*)pdeltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative(self, padA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative(self, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, padA, padB, deltaA, (float*)pdeltaB); - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, padB, deltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, (float*)ppadA, padB, deltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, deltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, padA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, padA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, float* padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, float* padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ImPlotAlignmentDataPtr self, ref float padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative(self, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public static void Update(ref ImPlotAlignmentData self, ref float padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* pself = &self) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - UpdateNative((ImPlotAlignmentData*)pself, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndNative(ImPlotAlignmentData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[557])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[557])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void End(ImPlotAlignmentDataPtr self) - { - EndNative(self); - } - - /// - /// To be documented. - /// - public static void End(ref ImPlotAlignmentData self) - { - fixed (ImPlotAlignmentData* pself = &self) - { - EndNative((ImPlotAlignmentData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotAlignmentData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[558])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[558])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotAlignmentDataPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotAlignmentData self) - { - fixed (ImPlotAlignmentData* pself = &self) - { - ResetNative((ImPlotAlignmentData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* ImPlotItemNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[559])(); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[559])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr ImPlotItem() - { - ImPlotItemPtr ret = ImPlotItemNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotItem* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[560])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[560])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotItemPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotItem self) - { - fixed (ImPlotItem* pself = &self) - { - DestroyNative((ImPlotItem*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotLegend* ImPlotLegendNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[561])(); - #else - return (ImPlotLegend*)((delegate* unmanaged[Cdecl])funcTable[561])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotLegendPtr ImPlotLegend() - { - ImPlotLegendPtr ret = ImPlotLegendNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotLegend* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[562])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[562])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotLegendPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotLegend self) - { - fixed (ImPlotLegend* pself = &self) - { - DestroyNative((ImPlotLegend*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotLegend* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[563])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[563])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotLegendPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotLegend self) - { - fixed (ImPlotLegend* pself = &self) - { - ResetNative((ImPlotLegend*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItemGroup* ImPlotItemGroupNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[564])(); - #else - return (ImPlotItemGroup*)((delegate* unmanaged[Cdecl])funcTable[564])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemGroupPtr ImPlotItemGroup() - { - ImPlotItemGroupPtr ret = ImPlotItemGroupNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotItemGroup* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[565])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[565])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotItemGroupPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotItemGroup self) - { - fixed (ImPlotItemGroup* pself = &self) - { - DestroyNative((ImPlotItemGroup*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetItemCountNative(ImPlotItemGroup* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[566])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[566])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int GetItemCount(ImPlotItemGroupPtr self) - { - int ret = GetItemCountNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int GetItemCount(ref ImPlotItemGroup self) - { - fixed (ImPlotItemGroup* pself = &self) - { - int ret = GetItemCountNative((ImPlotItemGroup*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetItemIDNative(ImPlotItemGroup* self, byte* labelId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[567])(self, labelId); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[567])((nint)self, (nint)labelId); - #endif - } - - /// - /// To be documented. - /// - public static uint GetItemID(ImPlotItemGroupPtr self, byte* labelId) - { - uint ret = GetItemIDNative(self, labelId); - return ret; - } - - /// - /// To be documented. - /// - public static uint GetItemID(ref ImPlotItemGroup self, byte* labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - uint ret = GetItemIDNative((ImPlotItemGroup*)pself, labelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetItemID(ImPlotItemGroupPtr self, ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - uint ret = GetItemIDNative(self, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetItemID(ImPlotItemGroupPtr self, ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - uint ret = GetItemIDNative(self, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static uint GetItemID(ImPlotItemGroupPtr self, string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetItemIDNative(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static uint GetItemID(ref ImPlotItemGroup self, ref byte labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - fixed (byte* plabelId = &labelId) - { - uint ret = GetItemIDNative((ImPlotItemGroup*)pself, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetItemID(ref ImPlotItemGroup self, ReadOnlySpan labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - fixed (byte* plabelId = labelId) - { - uint ret = GetItemIDNative((ImPlotItemGroup*)pself, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static uint GetItemID(ref ImPlotItemGroup self, string labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = GetItemIDNative((ImPlotItemGroup*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetItemNative(ImPlotItemGroup* self, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[568])(self, id); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[568])((nint)self, id); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, uint id) - { - ImPlotItemPtr ret = GetItemNative(self, id); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, uint id) - { - fixed (ImPlotItemGroup* pself = &self) - { - ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, id); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetItemNative(ImPlotItemGroup* self, byte* labelId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[569])(self, labelId); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[569])((nint)self, (nint)labelId); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, byte* labelId) - { - ImPlotItemPtr ret = GetItemNative(self, labelId); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, byte* labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, labelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItemPtr ret = GetItemNative(self, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - ImPlotItemPtr ret = GetItemNative(self, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ImPlotItemGroupPtr self, string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItemPtr ret = GetItemNative(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, ref byte labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, ReadOnlySpan labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - fixed (byte* plabelId = labelId) - { - ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ref ImPlotItemGroup self, string labelId) - { - fixed (ImPlotItemGroup* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItemPtr ret = GetItemNative((ImPlotItemGroup*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetOrAddItemNative(ImPlotItemGroup* self, uint id) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[570])(self, id); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[570])((nint)self, id); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetOrAddItem(ImPlotItemGroupPtr self, uint id) - { - ImPlotItemPtr ret = GetOrAddItemNative(self, id); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetOrAddItem(ref ImPlotItemGroup self, uint id) - { - fixed (ImPlotItemGroup* pself = &self) - { - ImPlotItemPtr ret = GetOrAddItemNative((ImPlotItemGroup*)pself, id); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetItemByIndexNative(ImPlotItemGroup* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[571])(self, i); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[571])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItemByIndex(ImPlotItemGroupPtr self, int i) - { - ImPlotItemPtr ret = GetItemByIndexNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItemByIndex(ref ImPlotItemGroup self, int i) - { - fixed (ImPlotItemGroup* pself = &self) - { - ImPlotItemPtr ret = GetItemByIndexNative((ImPlotItemGroup*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetItemIndexNative(ImPlotItemGroup* self, ImPlotItem* item) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[572])(self, item); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[572])((nint)self, (nint)item); - #endif - } - - /// - /// To be documented. - /// - public static int GetItemIndex(ImPlotItemGroupPtr self, ImPlotItemPtr item) - { - int ret = GetItemIndexNative(self, item); - return ret; - } - - /// - /// To be documented. - /// - public static int GetItemIndex(ref ImPlotItemGroup self, ImPlotItemPtr item) - { - fixed (ImPlotItemGroup* pself = &self) - { - int ret = GetItemIndexNative((ImPlotItemGroup*)pself, item); - return ret; - } - } - - /// - /// To be documented. - /// - public static int GetItemIndex(ImPlotItemGroupPtr self, ref ImPlotItem item) - { - fixed (ImPlotItem* pitem = &item) - { - int ret = GetItemIndexNative(self, (ImPlotItem*)pitem); - return ret; - } - } - - /// - /// To be documented. - /// - public static int GetItemIndex(ref ImPlotItemGroup self, ref ImPlotItem item) - { - fixed (ImPlotItemGroup* pself = &self) - { - fixed (ImPlotItem* pitem = &item) - { - int ret = GetItemIndexNative((ImPlotItemGroup*)pself, (ImPlotItem*)pitem); - return ret; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetLegendCountNative(ImPlotItemGroup* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[573])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[573])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int GetLegendCount(ImPlotItemGroupPtr self) - { - int ret = GetLegendCountNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int GetLegendCount(ref ImPlotItemGroup self) - { - fixed (ImPlotItemGroup* pself = &self) - { - int ret = GetLegendCountNative((ImPlotItemGroup*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetLegendItemNative(ImPlotItemGroup* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[574])(self, i); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[574])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetLegendItem(ImPlotItemGroupPtr self, int i) - { - ImPlotItemPtr ret = GetLegendItemNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetLegendItem(ref ImPlotItemGroup self, int i) - { - fixed (ImPlotItemGroup* pself = &self) - { - ImPlotItemPtr ret = GetLegendItemNative((ImPlotItemGroup*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetLegendLabelNative(ImPlotItemGroup* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[575])(self, i); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[575])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetLegendLabel(ImPlotItemGroupPtr self, int i) - { - byte* ret = GetLegendLabelNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static string GetLegendLabelS(ImPlotItemGroupPtr self, int i) - { - string ret = Utils.DecodeStringUTF8(GetLegendLabelNative(self, i)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetLegendLabel(ref ImPlotItemGroup self, int i) - { - fixed (ImPlotItemGroup* pself = &self) - { - byte* ret = GetLegendLabelNative((ImPlotItemGroup*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetLegendLabelS(ref ImPlotItemGroup self, int i) - { - fixed (ImPlotItemGroup* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetLegendLabelNative((ImPlotItemGroup*)pself, i)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotItemGroup* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[576])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[576])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotItemGroupPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotItemGroup self) - { - fixed (ImPlotItemGroup* pself = &self) - { - ResetNative((ImPlotItemGroup*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPlot* ImPlotPlotNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[577])(); - #else - return (ImPlotPlot*)((delegate* unmanaged[Cdecl])funcTable[577])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPlotPtr ImPlotPlot() - { - ImPlotPlotPtr ret = ImPlotPlotNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[578])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[578])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotPlotPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - DestroyNative((ImPlotPlot*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsInputLockedNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[579])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[579])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool IsInputLocked(ImPlotPlotPtr self) - { - byte ret = IsInputLockedNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool IsInputLocked(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - byte ret = IsInputLockedNative((ImPlotPlot*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClearTextBufferNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[580])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[580])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void ClearTextBuffer(ImPlotPlotPtr self) - { - ClearTextBufferNative(self); - } - - /// - /// To be documented. - /// - public static void ClearTextBuffer(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - ClearTextBufferNative((ImPlotPlot*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetTitleNative(ImPlotPlot* self, byte* title) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[581])(self, title); - #else - ((delegate* unmanaged[Cdecl])funcTable[581])((nint)self, (nint)title); - #endif - } - - /// - /// To be documented. - /// - public static void SetTitle(ImPlotPlotPtr self, byte* title) - { - SetTitleNative(self, title); - } - - /// - /// To be documented. - /// - public static void SetTitle(ref ImPlotPlot self, byte* title) - { - fixed (ImPlotPlot* pself = &self) - { - SetTitleNative((ImPlotPlot*)pself, title); - } - } - - /// - /// To be documented. - /// - public static void SetTitle(ImPlotPlotPtr self, ref byte title) - { - fixed (byte* ptitle = &title) - { - SetTitleNative(self, (byte*)ptitle); - } - } - - /// - /// To be documented. - /// - public static void SetTitle(ImPlotPlotPtr self, ReadOnlySpan title) - { - fixed (byte* ptitle = title) - { - SetTitleNative(self, (byte*)ptitle); - } - } - - /// - /// To be documented. - /// - public static void SetTitle(ImPlotPlotPtr self, string title) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (title != null) - { - pStrSize0 = Utils.GetByteCountUTF8(title); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetTitleNative(self, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetTitle(ref ImPlotPlot self, ref byte title) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (byte* ptitle = &title) - { - SetTitleNative((ImPlotPlot*)pself, (byte*)ptitle); - } - } - } - - /// - /// To be documented. - /// - public static void SetTitle(ref ImPlotPlot self, ReadOnlySpan title) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (byte* ptitle = title) - { - SetTitleNative((ImPlotPlot*)pself, (byte*)ptitle); - } - } - } - - /// - /// To be documented. - /// - public static void SetTitle(ref ImPlotPlot self, string title) - { - fixed (ImPlotPlot* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (title != null) - { - pStrSize0 = Utils.GetByteCountUTF8(title); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetTitleNative((ImPlotPlot*)pself, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte HasTitleNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[582])(self); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[582])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static bool HasTitle(ImPlotPlotPtr self) - { - byte ret = HasTitleNative(self); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool HasTitle(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - byte ret = HasTitleNative((ImPlotPlot*)pself); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetTitleNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[583])(self); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[583])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetTitle(ImPlotPlotPtr self) - { - byte* ret = GetTitleNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static string GetTitleS(ImPlotPlotPtr self) - { - string ret = Utils.DecodeStringUTF8(GetTitleNative(self)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetTitle(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - byte* ret = GetTitleNative((ImPlotPlot*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetTitleS(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetTitleNative((ImPlotPlot*)pself)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAxis* XAxisNative(ImPlotPlot* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[584])(self, i); - #else - return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[584])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr XAxis(ImPlotPlotPtr self, int i) - { - ImPlotAxisPtr ret = XAxisNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr XAxis(ref ImPlotPlot self, int i) - { - fixed (ImPlotPlot* pself = &self) - { - ImPlotAxisPtr ret = XAxisNative((ImPlotPlot*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAxis* ImPlotPlotXAxisConstNative(ImPlotPlot* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[585])(self, i); - #else - return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[585])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr ImPlotPlotXAxisConst(ImPlotPlotPtr self, int i) - { - ImPlotAxisPtr ret = ImPlotPlotXAxisConstNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr ImPlotPlotXAxisConst(ref ImPlotPlot self, int i) - { - fixed (ImPlotPlot* pself = &self) - { - ImPlotAxisPtr ret = ImPlotPlotXAxisConstNative((ImPlotPlot*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAxis* YAxisNative(ImPlotPlot* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[586])(self, i); - #else - return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[586])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr YAxis(ImPlotPlotPtr self, int i) - { - ImPlotAxisPtr ret = YAxisNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr YAxis(ref ImPlotPlot self, int i) - { - fixed (ImPlotPlot* pself = &self) - { - ImPlotAxisPtr ret = YAxisNative((ImPlotPlot*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotAxis* ImPlotPlotYAxisConstNative(ImPlotPlot* self, int i) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[587])(self, i); - #else - return (ImPlotAxis*)((delegate* unmanaged[Cdecl])funcTable[587])((nint)self, i); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr ImPlotPlotYAxisConst(ImPlotPlotPtr self, int i) - { - ImPlotAxisPtr ret = ImPlotPlotYAxisConstNative(self, i); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotAxisPtr ImPlotPlotYAxisConst(ref ImPlotPlot self, int i) - { - fixed (ImPlotPlot* pself = &self) - { - ImPlotAxisPtr ret = ImPlotPlotYAxisConstNative((ImPlotPlot*)pself, i); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int EnabledAxesXNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[588])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[588])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int EnabledAxesX(ImPlotPlotPtr self) - { - int ret = EnabledAxesXNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int EnabledAxesX(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - int ret = EnabledAxesXNative((ImPlotPlot*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int EnabledAxesYNative(ImPlotPlot* self) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[589])(self); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[589])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static int EnabledAxesY(ImPlotPlotPtr self) - { - int ret = EnabledAxesYNative(self); - return ret; - } - - /// - /// To be documented. - /// - public static int EnabledAxesY(ref ImPlotPlot self) - { - fixed (ImPlotPlot* pself = &self) - { - int ret = EnabledAxesYNative((ImPlotPlot*)pself); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetAxisLabelNative(ImPlotPlot* self, ImPlotAxis* axis, byte* label) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[590])(self, axis, label); - #else - ((delegate* unmanaged[Cdecl])funcTable[590])((nint)self, (nint)axis, (nint)label); - #endif - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, byte* label) - { - SetAxisLabelNative(self, axis, label); - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, byte* label) - { - fixed (ImPlotPlot* pself = &self) - { - SetAxisLabelNative((ImPlotPlot*)pself, axis, label); - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, byte* label) - { - fixed (ImPlotAxis* paxis = &axis) - { - SetAxisLabelNative(self, (ImPlotAxis*)paxis, label); - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, byte* label) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (ImPlotAxis* paxis = &axis) - { - SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, label); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, ref byte label) - { - fixed (byte* plabel = &label) - { - SetAxisLabelNative(self, axis, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - SetAxisLabelNative(self, axis, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ImPlotAxisPtr axis, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetAxisLabelNative(self, axis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, ref byte label) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (byte* plabel = &label) - { - SetAxisLabelNative((ImPlotPlot*)pself, axis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, ReadOnlySpan label) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (byte* plabel = label) - { - SetAxisLabelNative((ImPlotPlot*)pself, axis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ImPlotAxisPtr axis, string label) - { - fixed (ImPlotPlot* pself = &self) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetAxisLabelNative((ImPlotPlot*)pself, axis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, ref byte label) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = &label) - { - SetAxisLabelNative(self, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, ReadOnlySpan label) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = label) - { - SetAxisLabelNative(self, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ImPlotPlotPtr self, ref ImPlotAxis axis, string label) - { - fixed (ImPlotAxis* paxis = &axis) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetAxisLabelNative(self, (ImPlotAxis*)paxis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, ref byte label) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = &label) - { - SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, ReadOnlySpan label) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = label) - { - SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public static void SetAxisLabel(ref ImPlotPlot self, ref ImPlotAxis axis, string label) - { - fixed (ImPlotPlot* pself = &self) - { - fixed (ImPlotAxis* paxis = &axis) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - SetAxisLabelNative((ImPlotPlot*)pself, (ImPlotAxis*)paxis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte* GetAxisLabelNative(ImPlotPlot* self, ImPlotAxis axis) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[591])(self, axis); - #else - return (byte*)((delegate* unmanaged[Cdecl])funcTable[591])((nint)self, axis); - #endif - } - - /// - /// To be documented. - /// - public static byte* GetAxisLabel(ImPlotPlotPtr self, ImPlotAxis axis) - { - byte* ret = GetAxisLabelNative(self, axis); - return ret; - } - - /// - /// To be documented. - /// - public static string GetAxisLabelS(ImPlotPlotPtr self, ImPlotAxis axis) - { - string ret = Utils.DecodeStringUTF8(GetAxisLabelNative(self, axis)); - return ret; - } - - /// - /// To be documented. - /// - public static byte* GetAxisLabel(ref ImPlotPlot self, ImPlotAxis axis) - { - fixed (ImPlotPlot* pself = &self) - { - byte* ret = GetAxisLabelNative((ImPlotPlot*)pself, axis); - return ret; - } - } - - /// - /// To be documented. - /// - public static string GetAxisLabelS(ref ImPlotPlot self, ImPlotAxis axis) - { - fixed (ImPlotPlot* pself = &self) - { - string ret = Utils.DecodeStringUTF8(GetAxisLabelNative((ImPlotPlot*)pself, axis)); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotSubplot* ImPlotSubplotNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[592])(); - #else - return (ImPlotSubplot*)((delegate* unmanaged[Cdecl])funcTable[592])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotSubplotPtr ImPlotSubplot() - { - ImPlotSubplotPtr ret = ImPlotSubplotNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotSubplot* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[593])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[593])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotSubplotPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotSubplot self) - { - fixed (ImPlotSubplot* pself = &self) - { - DestroyNative((ImPlotSubplot*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotNextPlotData* ImPlotNextPlotDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[594])(); - #else - return (ImPlotNextPlotData*)((delegate* unmanaged[Cdecl])funcTable[594])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotNextPlotDataPtr ImPlotNextPlotData() - { - ImPlotNextPlotDataPtr ret = ImPlotNextPlotDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotNextPlotData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[595])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[595])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotNextPlotDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotNextPlotData self) - { - fixed (ImPlotNextPlotData* pself = &self) - { - DestroyNative((ImPlotNextPlotData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotNextPlotData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[596])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[596])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotNextPlotDataPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotNextPlotData self) - { - fixed (ImPlotNextPlotData* pself = &self) - { - ResetNative((ImPlotNextPlotData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotNextItemData* ImPlotNextItemDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[597])(); - #else - return (ImPlotNextItemData*)((delegate* unmanaged[Cdecl])funcTable[597])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotNextItemDataPtr ImPlotNextItemData() - { - ImPlotNextItemDataPtr ret = ImPlotNextItemDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void DestroyNative(ImPlotNextItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[598])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[598])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Destroy(ImPlotNextItemDataPtr self) - { - DestroyNative(self); - } - - /// - /// To be documented. - /// - public static void Destroy(ref ImPlotNextItemData self) - { - fixed (ImPlotNextItemData* pself = &self) - { - DestroyNative((ImPlotNextItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetNative(ImPlotNextItemData* self) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[599])(self); - #else - ((delegate* unmanaged[Cdecl])funcTable[599])((nint)self); - #endif - } - - /// - /// To be documented. - /// - public static void Reset(ImPlotNextItemDataPtr self) - { - ResetNative(self); - } - - /// - /// To be documented. - /// - public static void Reset(ref ImPlotNextItemData self) - { - fixed (ImPlotNextItemData* pself = &self) - { - ResetNative((ImPlotNextItemData*)pself); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void InitializeNative(ImPlotContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[600])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[600])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void Initialize(ImPlotContextPtr ctx) - { - InitializeNative(ctx); - } - - /// - /// To be documented. - /// - public static void Initialize(ref ImPlotContext ctx) - { - fixed (ImPlotContext* pctx = &ctx) - { - InitializeNative((ImPlotContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetCtxForNextPlotNative(ImPlotContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[601])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[601])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void ResetCtxForNextPlot(ImPlotContextPtr ctx) - { - ResetCtxForNextPlotNative(ctx); - } - - /// - /// To be documented. - /// - public static void ResetCtxForNextPlot(ref ImPlotContext ctx) - { - fixed (ImPlotContext* pctx = &ctx) - { - ResetCtxForNextPlotNative((ImPlotContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetCtxForNextAlignedPlotsNative(ImPlotContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[602])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[602])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void ResetCtxForNextAlignedPlots(ImPlotContextPtr ctx) - { - ResetCtxForNextAlignedPlotsNative(ctx); - } - - /// - /// To be documented. - /// - public static void ResetCtxForNextAlignedPlots(ref ImPlotContext ctx) - { - fixed (ImPlotContext* pctx = &ctx) - { - ResetCtxForNextAlignedPlotsNative((ImPlotContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ResetCtxForNextSubplotNative(ImPlotContext* ctx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[603])(ctx); - #else - ((delegate* unmanaged[Cdecl])funcTable[603])((nint)ctx); - #endif - } - - /// - /// To be documented. - /// - public static void ResetCtxForNextSubplot(ImPlotContextPtr ctx) - { - ResetCtxForNextSubplotNative(ctx); - } - - /// - /// To be documented. - /// - public static void ResetCtxForNextSubplot(ref ImPlotContext ctx) - { - fixed (ImPlotContext* pctx = &ctx) - { - ResetCtxForNextSubplotNative((ImPlotContext*)pctx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPlot* GetPlotNative(byte* title) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[604])(title); - #else - return (ImPlotPlot*)((delegate* unmanaged[Cdecl])funcTable[604])((nint)title); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPlotPtr GetPlot(byte* title) - { - ImPlotPlotPtr ret = GetPlotNative(title); - return ret; - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.138.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.138.cs deleted file mode 100644 index 84b483f0f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.138.cs +++ /dev/null @@ -1,5023 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - public static ImPlotPlotPtr GetPlot(ref byte title) - { - fixed (byte* ptitle = &title) - { - ImPlotPlotPtr ret = GetPlotNative((byte*)ptitle); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotPlotPtr GetPlot(ReadOnlySpan title) - { - fixed (byte* ptitle = title) - { - ImPlotPlotPtr ret = GetPlotNative((byte*)ptitle); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotPlotPtr GetPlot(string title) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (title != null) - { - pStrSize0 = Utils.GetByteCountUTF8(title); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotPlotPtr ret = GetPlotNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotPlot* GetCurrentPlotNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[605])(); - #else - return (ImPlotPlot*)((delegate* unmanaged[Cdecl])funcTable[605])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotPlotPtr GetCurrentPlot() - { - ImPlotPlotPtr ret = GetCurrentPlotNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BustPlotCacheNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[606])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[606])(); - #endif - } - - /// - /// To be documented. - /// - public static void BustPlotCache() - { - BustPlotCacheNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowPlotContextMenuNative(ImPlotPlot* plot) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[607])(plot); - #else - ((delegate* unmanaged[Cdecl])funcTable[607])((nint)plot); - #endif - } - - /// - /// To be documented. - /// - public static void ShowPlotContextMenu(ImPlotPlotPtr plot) - { - ShowPlotContextMenuNative(plot); - } - - /// - /// To be documented. - /// - public static void ShowPlotContextMenu(ref ImPlotPlot plot) - { - fixed (ImPlotPlot* pplot = &plot) - { - ShowPlotContextMenuNative((ImPlotPlot*)pplot); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SetupLockNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[608])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[608])(); - #endif - } - - /// - /// To be documented. - /// - public static void SetupLock() - { - SetupLockNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void SubplotNextCellNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[609])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[609])(); - #endif - } - - /// - /// To be documented. - /// - public static void SubplotNextCell() - { - SubplotNextCellNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowSubplotsContextMenuNative(ImPlotSubplot* subplot) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[610])(subplot); - #else - ((delegate* unmanaged[Cdecl])funcTable[610])((nint)subplot); - #endif - } - - /// - /// To be documented. - /// - public static void ShowSubplotsContextMenu(ImPlotSubplotPtr subplot) - { - ShowSubplotsContextMenuNative(subplot); - } - - /// - /// To be documented. - /// - public static void ShowSubplotsContextMenu(ref ImPlotSubplot subplot) - { - fixed (ImPlotSubplot* psubplot = &subplot) - { - ShowSubplotsContextMenuNative((ImPlotSubplot*)psubplot); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte BeginItemNative(byte* labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[611])(labelId, flags, recolorFrom); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[611])((nint)labelId, flags, recolorFrom); - #endif - } - - /// - /// To be documented. - /// - public static bool BeginItem(byte* labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) - { - byte ret = BeginItemNative(labelId, flags, recolorFrom); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(byte* labelId, ImPlotItemFlags flags) - { - byte ret = BeginItemNative(labelId, flags, (ImPlotCol)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(byte* labelId) - { - byte ret = BeginItemNative(labelId, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(byte* labelId, ImPlotCol recolorFrom) - { - byte ret = BeginItemNative(labelId, (ImPlotItemFlags)(0), recolorFrom); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(ref byte labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginItemNative((byte*)plabelId, flags, recolorFrom); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ref byte labelId, ImPlotItemFlags flags) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginItemNative((byte*)plabelId, flags, (ImPlotCol)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ref byte labelId, ImPlotCol recolorFrom) - { - fixed (byte* plabelId = &labelId) - { - byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), recolorFrom); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ReadOnlySpan labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginItemNative((byte*)plabelId, flags, recolorFrom); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ReadOnlySpan labelId, ImPlotItemFlags flags) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginItemNative((byte*)plabelId, flags, (ImPlotCol)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(ReadOnlySpan labelId, ImPlotCol recolorFrom) - { - fixed (byte* plabelId = labelId) - { - byte ret = BeginItemNative((byte*)plabelId, (ImPlotItemFlags)(0), recolorFrom); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool BeginItem(string labelId, ImPlotItemFlags flags, ImPlotCol recolorFrom) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginItemNative(pStr0, flags, recolorFrom); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(string labelId, ImPlotItemFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginItemNative(pStr0, flags, (ImPlotCol)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginItemNative(pStr0, (ImPlotItemFlags)(0), (ImPlotCol)(-1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool BeginItem(string labelId, ImPlotCol recolorFrom) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = BeginItemNative(pStr0, (ImPlotItemFlags)(0), recolorFrom); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void EndItemNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[612])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[612])(); - #endif - } - - /// - /// To be documented. - /// - public static void EndItem() - { - EndItemNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* RegisterOrGetItemNative(byte* labelId, ImPlotItemFlags flags, bool* justCreated) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[613])(labelId, flags, justCreated); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[613])((nint)labelId, flags, (nint)justCreated); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(byte* labelId, ImPlotItemFlags flags, bool* justCreated) - { - ImPlotItemPtr ret = RegisterOrGetItemNative(labelId, flags, justCreated); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(byte* labelId, ImPlotItemFlags flags) - { - ImPlotItemPtr ret = RegisterOrGetItemNative(labelId, flags, (bool*)(default)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(ref byte labelId, ImPlotItemFlags flags, bool* justCreated) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, justCreated); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(ref byte labelId, ImPlotItemFlags flags) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(ReadOnlySpan labelId, ImPlotItemFlags flags, bool* justCreated) - { - fixed (byte* plabelId = labelId) - { - ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, justCreated); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(ReadOnlySpan labelId, ImPlotItemFlags flags) - { - fixed (byte* plabelId = labelId) - { - ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)(default)); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(string labelId, ImPlotItemFlags flags, bool* justCreated) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItemPtr ret = RegisterOrGetItemNative(pStr0, flags, justCreated); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(string labelId, ImPlotItemFlags flags) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItemPtr ret = RegisterOrGetItemNative(pStr0, flags, (bool*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(byte* labelId, ImPlotItemFlags flags, ref bool justCreated) - { - fixed (bool* pjustCreated = &justCreated) - { - ImPlotItemPtr ret = RegisterOrGetItemNative(labelId, flags, (bool*)pjustCreated); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(ref byte labelId, ImPlotItemFlags flags, ref bool justCreated) - { - fixed (byte* plabelId = &labelId) - { - fixed (bool* pjustCreated = &justCreated) - { - ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)pjustCreated); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(ReadOnlySpan labelId, ImPlotItemFlags flags, ref bool justCreated) - { - fixed (byte* plabelId = labelId) - { - fixed (bool* pjustCreated = &justCreated) - { - ImPlotItemPtr ret = RegisterOrGetItemNative((byte*)plabelId, flags, (bool*)pjustCreated); - return ret; - } - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr RegisterOrGetItem(string labelId, ImPlotItemFlags flags, ref bool justCreated) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (bool* pjustCreated = &justCreated) - { - ImPlotItemPtr ret = RegisterOrGetItemNative(pStr0, flags, (bool*)pjustCreated); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetItemNative(byte* labelId) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[614])(labelId); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[614])((nint)labelId); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(byte* labelId) - { - ImPlotItemPtr ret = GetItemNative(labelId); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItemPtr ret = GetItemNative((byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - ImPlotItemPtr ret = GetItemNative((byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetItem(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItemPtr ret = GetItemNative(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotItem* GetCurrentItemNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[615])(); - #else - return (ImPlotItem*)((delegate* unmanaged[Cdecl])funcTable[615])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotItemPtr GetCurrentItem() - { - ImPlotItemPtr ret = GetCurrentItemNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void BustItemCacheNative() - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[616])(); - #else - ((delegate* unmanaged[Cdecl])funcTable[616])(); - #endif - } - - /// - /// To be documented. - /// - public static void BustItemCache() - { - BustItemCacheNative(); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AnyAxesInputLockedNative(ImPlotAxis* axes, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[617])(axes, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[617])((nint)axes, count); - #endif - } - - /// - /// To be documented. - /// - public static bool AnyAxesInputLocked(ImPlotAxisPtr axes, int count) - { - byte ret = AnyAxesInputLockedNative(axes, count); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool AnyAxesInputLocked(ref ImPlotAxis axes, int count) - { - fixed (ImPlotAxis* paxes = &axes) - { - byte ret = AnyAxesInputLockedNative((ImPlotAxis*)paxes, count); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AllAxesInputLockedNative(ImPlotAxis* axes, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[618])(axes, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[618])((nint)axes, count); - #endif - } - - /// - /// To be documented. - /// - public static bool AllAxesInputLocked(ImPlotAxisPtr axes, int count) - { - byte ret = AllAxesInputLockedNative(axes, count); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool AllAxesInputLocked(ref ImPlotAxis axes, int count) - { - fixed (ImPlotAxis* paxes = &axes) - { - byte ret = AllAxesInputLockedNative((ImPlotAxis*)paxes, count); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AnyAxesHeldNative(ImPlotAxis* axes, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[619])(axes, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[619])((nint)axes, count); - #endif - } - - /// - /// To be documented. - /// - public static bool AnyAxesHeld(ImPlotAxisPtr axes, int count) - { - byte ret = AnyAxesHeldNative(axes, count); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool AnyAxesHeld(ref ImPlotAxis axes, int count) - { - fixed (ImPlotAxis* paxes = &axes) - { - byte ret = AnyAxesHeldNative((ImPlotAxis*)paxes, count); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte AnyAxesHoveredNative(ImPlotAxis* axes, int count) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[620])(axes, count); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[620])((nint)axes, count); - #endif - } - - /// - /// To be documented. - /// - public static bool AnyAxesHovered(ImPlotAxisPtr axes, int count) - { - byte ret = AnyAxesHoveredNative(axes, count); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool AnyAxesHovered(ref ImPlotAxis axes, int count) - { - fixed (ImPlotAxis* paxes = &axes) - { - byte ret = AnyAxesHoveredNative((ImPlotAxis*)paxes, count); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte FitThisFrameNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[621])(); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[621])(); - #endif - } - - /// - /// To be documented. - /// - public static bool FitThisFrame() - { - byte ret = FitThisFrameNative(); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FitPointXNative(double x) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[622])(x); - #else - ((delegate* unmanaged[Cdecl])funcTable[622])(x); - #endif - } - - /// - /// To be documented. - /// - public static void FitPointX(double x) - { - FitPointXNative(x); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FitPointYNative(double y) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[623])(y); - #else - ((delegate* unmanaged[Cdecl])funcTable[623])(y); - #endif - } - - /// - /// To be documented. - /// - public static void FitPointY(double y) - { - FitPointYNative(y); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FitPointNative(ImPlotPoint p) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[624])(p); - #else - ((delegate* unmanaged[Cdecl])funcTable[624])(p); - #endif - } - - /// - /// To be documented. - /// - public static void FitPoint(ImPlotPoint p) - { - FitPointNative(p); - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte RangesOverlapNative(ImPlotRange r1, ImPlotRange r2) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[625])(r1, r2); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[625])(r1, r2); - #endif - } - - /// - /// To be documented. - /// - public static bool RangesOverlap(ImPlotRange r1, ImPlotRange r2) - { - byte ret = RangesOverlapNative(r1, r2); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowAxisContextMenuNative(ImPlotAxis* axis, ImPlotAxis* equalAxis, byte timeAllowed) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[626])(axis, equalAxis, timeAllowed); - #else - ((delegate* unmanaged[Cdecl])funcTable[626])((nint)axis, (nint)equalAxis, timeAllowed); - #endif - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ImPlotAxisPtr equalAxis, bool timeAllowed) - { - ShowAxisContextMenuNative(axis, equalAxis, timeAllowed ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ImPlotAxisPtr equalAxis) - { - ShowAxisContextMenuNative(axis, equalAxis, (byte)(0)); - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ref ImPlotAxis axis, ImPlotAxisPtr equalAxis, bool timeAllowed) - { - fixed (ImPlotAxis* paxis = &axis) - { - ShowAxisContextMenuNative((ImPlotAxis*)paxis, equalAxis, timeAllowed ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ref ImPlotAxis axis, ImPlotAxisPtr equalAxis) - { - fixed (ImPlotAxis* paxis = &axis) - { - ShowAxisContextMenuNative((ImPlotAxis*)paxis, equalAxis, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ref ImPlotAxis equalAxis, bool timeAllowed) - { - fixed (ImPlotAxis* pequalAxis = &equalAxis) - { - ShowAxisContextMenuNative(axis, (ImPlotAxis*)pequalAxis, timeAllowed ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ImPlotAxisPtr axis, ref ImPlotAxis equalAxis) - { - fixed (ImPlotAxis* pequalAxis = &equalAxis) - { - ShowAxisContextMenuNative(axis, (ImPlotAxis*)pequalAxis, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ref ImPlotAxis axis, ref ImPlotAxis equalAxis, bool timeAllowed) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (ImPlotAxis* pequalAxis = &equalAxis) - { - ShowAxisContextMenuNative((ImPlotAxis*)paxis, (ImPlotAxis*)pequalAxis, timeAllowed ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - public static void ShowAxisContextMenu(ref ImPlotAxis axis, ref ImPlotAxis equalAxis) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (ImPlotAxis* pequalAxis = &equalAxis) - { - ShowAxisContextMenuNative((ImPlotAxis*)paxis, (ImPlotAxis*)pequalAxis, (byte)(0)); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetLocationPosNative(Vector2* pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[627])(pOut, outerRect, innerSize, location, pad); - #else - ((delegate* unmanaged[Cdecl])funcTable[627])((nint)pOut, outerRect, innerSize, location, pad); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 GetLocationPos(ImRect outerRect, Vector2 innerSize, ImPlotLocation location) - { - Vector2 ret; - GetLocationPosNative(&ret, outerRect, innerSize, location, (Vector2)(new Vector2(0,0))); - return ret; - } - - /// - /// To be documented. - /// - public static Vector2 GetLocationPos(ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) - { - Vector2 ret; - GetLocationPosNative(&ret, outerRect, innerSize, location, pad); - return ret; - } - - /// - /// To be documented. - /// - public static void GetLocationPos(Vector2* pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) - { - GetLocationPosNative(pOut, outerRect, innerSize, location, pad); - } - - /// - /// To be documented. - /// - public static void GetLocationPos(Vector2* pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location) - { - GetLocationPosNative(pOut, outerRect, innerSize, location, (Vector2)(new Vector2(0,0))); - } - - /// - /// To be documented. - /// - public static void GetLocationPos(ref Vector2 pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location, Vector2 pad) - { - fixed (Vector2* ppOut = &pOut) - { - GetLocationPosNative((Vector2*)ppOut, outerRect, innerSize, location, pad); - } - } - - /// - /// To be documented. - /// - public static void GetLocationPos(ref Vector2 pOut, ImRect outerRect, Vector2 innerSize, ImPlotLocation location) - { - fixed (Vector2* ppOut = &pOut) - { - GetLocationPosNative((Vector2*)ppOut, outerRect, innerSize, location, (Vector2)(new Vector2(0,0))); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcLegendSizeNative(Vector2* pOut, ImPlotItemGroup* items, Vector2 pad, Vector2 spacing, byte vertical) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[628])(pOut, items, pad, spacing, vertical); - #else - ((delegate* unmanaged[Cdecl])funcTable[628])((nint)pOut, (nint)items, pad, spacing, vertical); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcLegendSize(ImPlotItemGroupPtr items, Vector2 pad, Vector2 spacing, bool vertical) - { - Vector2 ret; - CalcLegendSizeNative(&ret, items, pad, spacing, vertical ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcLegendSize(Vector2* pOut, ImPlotItemGroupPtr items, Vector2 pad, Vector2 spacing, bool vertical) - { - CalcLegendSizeNative(pOut, items, pad, spacing, vertical ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void CalcLegendSize(ref Vector2 pOut, ImPlotItemGroupPtr items, Vector2 pad, Vector2 spacing, bool vertical) - { - fixed (Vector2* ppOut = &pOut) - { - CalcLegendSizeNative((Vector2*)ppOut, items, pad, spacing, vertical ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcLegendSize(ref ImPlotItemGroup items, Vector2 pad, Vector2 spacing, bool vertical) - { - fixed (ImPlotItemGroup* pitems = &items) - { - Vector2 ret; - CalcLegendSizeNative(&ret, (ImPlotItemGroup*)pitems, pad, spacing, vertical ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static void CalcLegendSize(Vector2* pOut, ref ImPlotItemGroup items, Vector2 pad, Vector2 spacing, bool vertical) - { - fixed (ImPlotItemGroup* pitems = &items) - { - CalcLegendSizeNative(pOut, (ImPlotItemGroup*)pitems, pad, spacing, vertical ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void CalcLegendSize(ref Vector2 pOut, ref ImPlotItemGroup items, Vector2 pad, Vector2 spacing, bool vertical) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (ImPlotItemGroup* pitems = &items) - { - CalcLegendSizeNative((Vector2*)ppOut, (ImPlotItemGroup*)pitems, pad, spacing, vertical ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ClampLegendRectNative(ImRect* legendRect, ImRect outerRect, Vector2 pad) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[629])(legendRect, outerRect, pad); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[629])((nint)legendRect, outerRect, pad); - #endif - } - - /// - /// To be documented. - /// - public static bool ClampLegendRect(ImRectPtr legendRect, ImRect outerRect, Vector2 pad) - { - byte ret = ClampLegendRectNative(legendRect, outerRect, pad); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ClampLegendRect(ref ImRect legendRect, ImRect outerRect, Vector2 pad) - { - fixed (ImRect* plegendRect = &legendRect) - { - byte ret = ClampLegendRectNative((ImRect*)plegendRect, outerRect, pad); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowLegendEntriesNative(ImPlotItemGroup* items, ImRect legendBb, byte interactable, Vector2 pad, Vector2 spacing, byte vertical, ImDrawList* drawList) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[630])(items, legendBb, interactable, pad, spacing, vertical, drawList); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[630])((nint)items, legendBb, interactable, pad, spacing, vertical, (nint)drawList); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowLegendEntries(ImPlotItemGroupPtr items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ImDrawListPtr drawList) - { - byte ret = ShowLegendEntriesNative(items, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, drawList); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowLegendEntries(ref ImPlotItemGroup items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ImDrawListPtr drawList) - { - fixed (ImPlotItemGroup* pitems = &items) - { - byte ret = ShowLegendEntriesNative((ImPlotItemGroup*)pitems, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, drawList); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowLegendEntries(ImPlotItemGroupPtr items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ref ImDrawList drawList) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte ret = ShowLegendEntriesNative(items, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, (ImDrawList*)pdrawList); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowLegendEntries(ref ImPlotItemGroup items, ImRect legendBb, bool interactable, Vector2 pad, Vector2 spacing, bool vertical, ref ImDrawList drawList) - { - fixed (ImPlotItemGroup* pitems = &items) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte ret = ShowLegendEntriesNative((ImPlotItemGroup*)pitems, legendBb, interactable ? (byte)1 : (byte)0, pad, spacing, vertical ? (byte)1 : (byte)0, (ImDrawList*)pdrawList); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ShowAltLegendNative(byte* titleId, byte vertical, Vector2 size, byte interactable) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[631])(titleId, vertical, size, interactable); - #else - ((delegate* unmanaged[Cdecl])funcTable[631])((nint)titleId, vertical, size, interactable); - #endif - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId, bool vertical, Vector2 size, bool interactable) - { - ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId, bool vertical, Vector2 size) - { - ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, size, (byte)(1)); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId, bool vertical) - { - ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId) - { - ShowAltLegendNative(titleId, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId, Vector2 size) - { - ShowAltLegendNative(titleId, (byte)(1), size, (byte)(1)); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId, bool vertical, bool interactable) - { - ShowAltLegendNative(titleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(byte* titleId, Vector2 size, bool interactable) - { - ShowAltLegendNative(titleId, (byte)(1), size, interactable ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId, bool vertical, Vector2 size, bool interactable) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId, bool vertical, Vector2 size) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId, bool vertical) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId, Vector2 size) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId, bool vertical, bool interactable) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ref byte titleId, Vector2 size, bool interactable) - { - fixed (byte* ptitleId = &titleId) - { - ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, interactable ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical, Vector2 size, bool interactable) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical, Vector2 size) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, size, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId, Vector2 size) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, (byte)(1)); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId, bool vertical, bool interactable) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(ReadOnlySpan titleId, Vector2 size, bool interactable) - { - fixed (byte* ptitleId = titleId) - { - ShowAltLegendNative((byte*)ptitleId, (byte)(1), size, interactable ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId, bool vertical, Vector2 size, bool interactable) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, size, interactable ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId, bool vertical, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, size, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId, bool vertical) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, (byte)(1), (Vector2)(new Vector2(0,0)), (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId, Vector2 size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, (byte)(1), size, (byte)(1)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId, bool vertical, bool interactable) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, vertical ? (byte)1 : (byte)0, (Vector2)(new Vector2(0,0)), interactable ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void ShowAltLegend(string titleId, Vector2 size, bool interactable) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (titleId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(titleId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(titleId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ShowAltLegendNative(pStr0, (byte)(1), size, interactable ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowLegendContextMenuNative(ImPlotLegend* legend, byte visible) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[632])(legend, visible); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[632])((nint)legend, visible); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowLegendContextMenu(ImPlotLegendPtr legend, bool visible) - { - byte ret = ShowLegendContextMenuNative(legend, visible ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowLegendContextMenu(ref ImPlotLegend legend, bool visible) - { - fixed (ImPlotLegend* plegend = &legend) - { - byte ret = ShowLegendContextMenuNative((ImPlotLegend*)plegend, visible ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void LabelAxisValueNative(ImPlotAxis axis, double value, byte* buff, int size, byte round) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[633])(axis, value, buff, size, round); - #else - ((delegate* unmanaged[Cdecl])funcTable[633])(axis, value, (nint)buff, size, round); - #endif - } - - /// - /// To be documented. - /// - public static void LabelAxisValue(ImPlotAxis axis, double value, byte* buff, int size, bool round) - { - LabelAxisValueNative(axis, value, buff, size, round ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void LabelAxisValue(ImPlotAxis axis, double value, byte* buff, int size) - { - LabelAxisValueNative(axis, value, buff, size, (byte)(0)); - } - - /// - /// To be documented. - /// - public static void LabelAxisValue(ImPlotAxis axis, double value, ref byte buff, int size, bool round) - { - fixed (byte* pbuff = &buff) - { - LabelAxisValueNative(axis, value, (byte*)pbuff, size, round ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void LabelAxisValue(ImPlotAxis axis, double value, ref byte buff, int size) - { - fixed (byte* pbuff = &buff) - { - LabelAxisValueNative(axis, value, (byte*)pbuff, size, (byte)(0)); - } - } - - /// - /// To be documented. - /// - public static void LabelAxisValue(ImPlotAxis axis, double value, ref string buff, int size, bool round) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buff != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buff); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelAxisValueNative(axis, value, pStr0, size, round ? (byte)1 : (byte)0); - buff = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void LabelAxisValue(ImPlotAxis axis, double value, ref string buff, int size) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buff != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buff); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - LabelAxisValueNative(axis, value, pStr0, size, (byte)(0)); - buff = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static ImPlotNextItemData* GetItemDataNative() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[634])(); - #else - return (ImPlotNextItemData*)((delegate* unmanaged[Cdecl])funcTable[634])(); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotNextItemDataPtr GetItemData() - { - ImPlotNextItemDataPtr ret = GetItemDataNative(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsColorAutoNative(Vector4 col) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[635])(col); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[635])(col); - #endif - } - - /// - /// To be documented. - /// - public static bool IsColorAuto(Vector4 col) - { - byte ret = IsColorAutoNative(col); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsColorAutoNative(ImPlotCol idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[636])(idx); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[636])(idx); - #endif - } - - /// - /// To be documented. - /// - public static bool IsColorAuto(ImPlotCol idx) - { - byte ret = IsColorAutoNative(idx); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetAutoColorNative(Vector4* pOut, ImPlotCol idx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[637])(pOut, idx); - #else - ((delegate* unmanaged[Cdecl])funcTable[637])((nint)pOut, idx); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 GetAutoColor(ImPlotCol idx) - { - Vector4 ret; - GetAutoColorNative(&ret, idx); - return ret; - } - - /// - /// To be documented. - /// - public static void GetAutoColor(Vector4* pOut, ImPlotCol idx) - { - GetAutoColorNative(pOut, idx); - } - - /// - /// To be documented. - /// - public static void GetAutoColor(ref Vector4 pOut, ImPlotCol idx) - { - fixed (Vector4* ppOut = &pOut) - { - GetAutoColorNative((Vector4*)ppOut, idx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void GetStyleColorVec4Native(Vector4* pOut, ImPlotCol idx) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[638])(pOut, idx); - #else - ((delegate* unmanaged[Cdecl])funcTable[638])((nint)pOut, idx); - #endif - } - - /// - /// To be documented. - /// - public static Vector4 GetStyleColorVec4(ImPlotCol idx) - { - Vector4 ret; - GetStyleColorVec4Native(&ret, idx); - return ret; - } - - /// - /// To be documented. - /// - public static void GetStyleColorVec4(Vector4* pOut, ImPlotCol idx) - { - GetStyleColorVec4Native(pOut, idx); - } - - /// - /// To be documented. - /// - public static void GetStyleColorVec4(ref Vector4 pOut, ImPlotCol idx) - { - fixed (Vector4* ppOut = &pOut) - { - GetStyleColorVec4Native((Vector4*)ppOut, idx); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetStyleColorU32Native(ImPlotCol idx) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[639])(idx); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[639])(idx); - #endif - } - - /// - /// To be documented. - /// - public static uint GetStyleColorU32(ImPlotCol idx) - { - uint ret = GetStyleColorU32Native(idx); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTextVerticalNative(ImDrawList* drawList, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[640])(drawList, pos, col, textBegin, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[640])((nint)drawList, pos, col, (nint)textBegin, (nint)textEnd); - #endif - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - AddTextVerticalNative(drawList, pos, col, textBegin, textEnd); - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin) - { - AddTextVerticalNative(drawList, pos, col, textBegin, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative(drawList, pos, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative(drawList, pos, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative(drawList, pos, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative(drawList, pos, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative(drawList, pos, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextVerticalNative(drawList, pos, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative(drawList, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative(drawList, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ImDrawListPtr drawList, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative(drawList, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextVertical(ref ImDrawList drawList, Vector2 pos, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextVerticalNative((ImDrawList*)pdrawList, pos, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTextCenteredNative(ImDrawList* drawList, Vector2 topCenter, uint col, byte* textBegin, byte* textEnd) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[641])(drawList, topCenter, col, textBegin, textEnd); - #else - ((delegate* unmanaged[Cdecl])funcTable[641])((nint)drawList, topCenter, col, (nint)textBegin, (nint)textEnd); - #endif - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, byte* textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, textBegin, textEnd); - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin) - { - AddTextCenteredNative(drawList, topCenter, col, textBegin, (byte*)(default)); - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, textEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)(default)); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, byte* textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative(drawList, topCenter, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative(drawList, topCenter, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, textEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)(default)); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, byte* textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, (byte*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, ref byte textEnd) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, textBegin, (byte*)ptextEnd); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, byte* textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative(drawList, topCenter, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, byte* textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, textBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, string textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextCenteredNative(drawList, topCenter, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ref byte textBegin, string textEnd) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative(drawList, topCenter, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, ref byte textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ImDrawListPtr drawList, Vector2 topCenter, uint col, string textBegin, ReadOnlySpan textEnd) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative(drawList, topCenter, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte* pStr1 = null; - int pStrSize1 = 0; - if (textEnd != null) - { - pStrSize1 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - pStr1 = Utils.Alloc(pStrSize1 + 1); - } - else - { - byte* pStrStack1 = stackalloc byte[pStrSize1 + 1]; - pStr1 = pStrStack1; - } - int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1); - pStr1[pStrOffset1] = 0; - } - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, pStr1); - if (pStrSize1 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr1); - } - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ref byte textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = &textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, (byte*)ptextEnd); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, ReadOnlySpan textBegin, string textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - fixed (byte* ptextBegin = textBegin) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textEnd != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, (byte*)ptextBegin, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, ref byte textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = &textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public static void AddTextCentered(ref ImDrawList drawList, Vector2 topCenter, uint col, string textBegin, ReadOnlySpan textEnd) - { - fixed (ImDrawList* pdrawList = &drawList) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (textBegin != null) - { - pStrSize0 = Utils.GetByteCountUTF8(textBegin); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(textBegin, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (byte* ptextEnd = textEnd) - { - AddTextCenteredNative((ImDrawList*)pdrawList, topCenter, col, pStr0, (byte*)ptextEnd); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalcTextSizeVerticalNative(Vector2* pOut, byte* text) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[642])(pOut, text); - #else - ((delegate* unmanaged[Cdecl])funcTable[642])((nint)pOut, (nint)text); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSizeVertical(byte* text) - { - Vector2 ret; - CalcTextSizeVerticalNative(&ret, text); - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSizeVertical(Vector2* pOut, byte* text) - { - CalcTextSizeVerticalNative(pOut, text); - } - - /// - /// To be documented. - /// - public static void CalcTextSizeVertical(ref Vector2 pOut, byte* text) - { - fixed (Vector2* ppOut = &pOut) - { - CalcTextSizeVerticalNative((Vector2*)ppOut, text); - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSizeVertical(ref byte text) - { - fixed (byte* ptext = &text) - { - Vector2 ret; - CalcTextSizeVerticalNative(&ret, (byte*)ptext); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSizeVertical(ReadOnlySpan text) - { - fixed (byte* ptext = text) - { - Vector2 ret; - CalcTextSizeVerticalNative(&ret, (byte*)ptext); - return ret; - } - } - - /// - /// To be documented. - /// - public static Vector2 CalcTextSizeVertical(string text) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - Vector2 ret; - CalcTextSizeVerticalNative(&ret, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public static void CalcTextSizeVertical(ref Vector2 pOut, ref byte text) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = &text) - { - CalcTextSizeVerticalNative((Vector2*)ppOut, (byte*)ptext); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSizeVertical(ref Vector2 pOut, ReadOnlySpan text) - { - fixed (Vector2* ppOut = &pOut) - { - fixed (byte* ptext = text) - { - CalcTextSizeVerticalNative((Vector2*)ppOut, (byte*)ptext); - } - } - } - - /// - /// To be documented. - /// - public static void CalcTextSizeVertical(ref Vector2 pOut, string text) - { - fixed (Vector2* ppOut = &pOut) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (text != null) - { - pStrSize0 = Utils.GetByteCountUTF8(text); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - CalcTextSizeVerticalNative((Vector2*)ppOut, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint CalcTextColorNative(Vector4 bg) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[643])(bg); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[643])(bg); - #endif - } - - /// - /// To be documented. - /// - public static uint CalcTextColor(Vector4 bg) - { - uint ret = CalcTextColorNative(bg); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint CalcTextColorNative(uint bg) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[644])(bg); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[644])(bg); - #endif - } - - /// - /// To be documented. - /// - public static uint CalcTextColor(uint bg) - { - uint ret = CalcTextColorNative(bg); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint CalcHoverColorNative(uint col) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[645])(col); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[645])(col); - #endif - } - - /// - /// To be documented. - /// - public static uint CalcHoverColor(uint col) - { - uint ret = CalcHoverColorNative(col); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void ClampLabelPosNative(Vector2* pOut, Vector2 pos, Vector2 size, Vector2 min, Vector2 max) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[646])(pOut, pos, size, min, max); - #else - ((delegate* unmanaged[Cdecl])funcTable[646])((nint)pOut, pos, size, min, max); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 ClampLabelPos(Vector2 pos, Vector2 size, Vector2 min, Vector2 max) - { - Vector2 ret; - ClampLabelPosNative(&ret, pos, size, min, max); - return ret; - } - - /// - /// To be documented. - /// - public static void ClampLabelPos(Vector2* pOut, Vector2 pos, Vector2 size, Vector2 min, Vector2 max) - { - ClampLabelPosNative(pOut, pos, size, min, max); - } - - /// - /// To be documented. - /// - public static void ClampLabelPos(ref Vector2 pOut, Vector2 pos, Vector2 size, Vector2 min, Vector2 max) - { - fixed (Vector2* ppOut = &pOut) - { - ClampLabelPosNative((Vector2*)ppOut, pos, size, min, max); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint GetColormapColorU32Native(int idx, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[647])(idx, cmap); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[647])(idx, cmap); - #endif - } - - /// - /// To be documented. - /// - public static uint GetColormapColorU32(int idx, ImPlotColormap cmap) - { - uint ret = GetColormapColorU32Native(idx, cmap); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint NextColormapColorU32Native() - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[648])(); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[648])(); - #endif - } - - /// - /// To be documented. - /// - public static uint NextColormapColorU32() - { - uint ret = NextColormapColorU32Native(); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static uint SampleColormapU32Native(float t, ImPlotColormap cmap) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[649])(t, cmap); - #else - return (uint)((delegate* unmanaged[Cdecl])funcTable[649])(t, cmap); - #endif - } - - /// - /// To be documented. - /// - public static uint SampleColormapU32(float t, ImPlotColormap cmap) - { - uint ret = SampleColormapU32Native(t, cmap); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RenderColorBarNative(uint* colors, int size, ImDrawList* drawList, ImRect bounds, byte vert, byte reversed, byte continuous) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[650])(colors, size, drawList, bounds, vert, reversed, continuous); - #else - ((delegate* unmanaged[Cdecl])funcTable[650])((nint)colors, size, (nint)drawList, bounds, vert, reversed, continuous); - #endif - } - - /// - /// To be documented. - /// - public static void RenderColorBar(uint* colors, int size, ImDrawListPtr drawList, ImRect bounds, bool vert, bool reversed, bool continuous) - { - RenderColorBarNative(colors, size, drawList, bounds, vert ? (byte)1 : (byte)0, reversed ? (byte)1 : (byte)0, continuous ? (byte)1 : (byte)0); - } - - /// - /// To be documented. - /// - public static void RenderColorBar(ref uint colors, int size, ImDrawListPtr drawList, ImRect bounds, bool vert, bool reversed, bool continuous) - { - fixed (uint* pcolors = &colors) - { - RenderColorBarNative((uint*)pcolors, size, drawList, bounds, vert ? (byte)1 : (byte)0, reversed ? (byte)1 : (byte)0, continuous ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderColorBar(uint* colors, int size, ref ImDrawList drawList, ImRect bounds, bool vert, bool reversed, bool continuous) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderColorBarNative(colors, size, (ImDrawList*)pdrawList, bounds, vert ? (byte)1 : (byte)0, reversed ? (byte)1 : (byte)0, continuous ? (byte)1 : (byte)0); - } - } - - /// - /// To be documented. - /// - public static void RenderColorBar(ref uint colors, int size, ref ImDrawList drawList, ImRect bounds, bool vert, bool reversed, bool continuous) - { - fixed (uint* pcolors = &colors) - { - fixed (ImDrawList* pdrawList = &drawList) - { - RenderColorBarNative((uint*)pcolors, size, (ImDrawList*)pdrawList, bounds, vert ? (byte)1 : (byte)0, reversed ? (byte)1 : (byte)0, continuous ? (byte)1 : (byte)0); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double NiceNumNative(double x, byte round) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[651])(x, round); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[651])(x, round); - #endif - } - - /// - /// To be documented. - /// - public static double NiceNum(double x, bool round) - { - double ret = NiceNumNative(x, round ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int OrderOfMagnitudeNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[652])(val); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[652])(val); - #endif - } - - /// - /// To be documented. - /// - public static int OrderOfMagnitude(double val) - { - int ret = OrderOfMagnitudeNative(val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int OrderToPrecisionNative(int order) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[653])(order); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[653])(order); - #endif - } - - /// - /// To be documented. - /// - public static int OrderToPrecision(int order) - { - int ret = OrderToPrecisionNative(order); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int PrecisionNative(double val) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[654])(val); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[654])(val); - #endif - } - - /// - /// To be documented. - /// - public static int Precision(double val) - { - int ret = PrecisionNative(val); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double RoundToNative(double val, int prec) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[655])(val, prec); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[655])(val, prec); - #endif - } - - /// - /// To be documented. - /// - public static double RoundTo(double val, int prec) - { - double ret = RoundToNative(val, prec); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void IntersectionNative(Vector2* pOut, Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[656])(pOut, a1, a2, b1, b2); - #else - ((delegate* unmanaged[Cdecl])funcTable[656])((nint)pOut, a1, a2, b1, b2); - #endif - } - - /// - /// To be documented. - /// - public static Vector2 Intersection(Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) - { - Vector2 ret; - IntersectionNative(&ret, a1, a2, b1, b2); - return ret; - } - - /// - /// To be documented. - /// - public static void Intersection(Vector2* pOut, Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) - { - IntersectionNative(pOut, a1, a2, b1, b2); - } - - /// - /// To be documented. - /// - public static void Intersection(ref Vector2 pOut, Vector2 a1, Vector2 a2, Vector2 b1, Vector2 b2) - { - fixed (Vector2* ppOut = &pOut) - { - IntersectionNative((Vector2*)ppOut, a1, a2, b1, b2); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, float vmin, float vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, float, float, void>)funcTable[657])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[657])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, float vmin, float vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, float vmin, float vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, double vmin, double vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, double, double, void>)funcTable[658])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[658])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, double vmin, double vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, double vmin, double vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, byte vmin, byte vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, byte, byte, void>)funcTable[659])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[659])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, byte vmin, byte vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, byte vmin, byte vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, byte vmin, byte vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, byte, byte, void>)funcTable[660])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[660])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, byte vmin, byte vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, byte vmin, byte vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, short vmin, short vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, short, short, void>)funcTable[661])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[661])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, short vmin, short vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, short vmin, short vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, ushort vmin, ushort vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, ushort, ushort, void>)funcTable[662])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[662])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, ushort vmin, ushort vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, ushort vmin, ushort vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, int vmin, int vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, int, int, void>)funcTable[663])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[663])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, int vmin, int vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, int vmin, int vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, uint vmin, uint vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, uint, uint, void>)funcTable[664])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[664])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, uint vmin, uint vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, uint vmin, uint vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, long vmin, long vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, long, long, void>)funcTable[665])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[665])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, long vmin, long vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, long vmin, long vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FillRangeNative(ImVector* buffer, int n, ulong vmin, ulong vmax) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl]*, int, ulong, ulong, void>)funcTable[666])(buffer, n, vmin, vmax); - #else - ((delegate* unmanaged[Cdecl])funcTable[666])((nint)buffer, n, vmin, vmax); - #endif - } - - /// - /// To be documented. - /// - public static void FillRange(ImVector* buffer, int n, ulong vmin, ulong vmax) - { - FillRangeNative(buffer, n, vmin, vmax); - } - - /// - /// To be documented. - /// - public static void FillRange(ref ImVector buffer, int n, ulong vmin, ulong vmax) - { - fixed (ImVector* pbuffer = &buffer) - { - FillRangeNative((ImVector*)pbuffer, n, vmin, vmax); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(float* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[667])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[667])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (float* pvalues = &values) - { - CalculateBinsNative((float*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (float* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((float*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (float* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((float*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(float* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref float values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (float* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((float*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(double* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[668])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[668])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (double* pvalues = &values) - { - CalculateBinsNative((double*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (double* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((double*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((double*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(double* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref double values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (double* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((double*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.139.cs b/src/Hexa.NET.ImPlot/Generated/Functions/Functions.139.cs deleted file mode 100644 index 8837df4de..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Functions/Functions.139.cs +++ /dev/null @@ -1,4908 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - public unsafe partial class ImPlot - { - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[669])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[669])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref byte values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (byte* pvalues = &values) - { - CalculateBinsNative((byte*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref byte values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (byte* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((byte*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref byte values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (byte* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((byte*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(byte* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref byte values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (byte* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((byte*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(short* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[670])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[670])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref short values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (short* pvalues = &values) - { - CalculateBinsNative((short*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref short values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (short* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((short*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref short values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (short* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((short*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(short* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref short values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (short* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((short*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(ushort* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[671])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[671])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (ushort* pvalues = &values) - { - CalculateBinsNative((ushort*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (ushort* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((ushort*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (ushort* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((ushort*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ushort* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ushort values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (ushort* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((ushort*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(int* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[672])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[672])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref int values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (int* pvalues = &values) - { - CalculateBinsNative((int*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref int values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((int*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref int values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (int* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((int*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(int* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref int values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((int*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(uint* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[673])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[673])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref uint values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (uint* pvalues = &values) - { - CalculateBinsNative((uint*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref uint values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (uint* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((uint*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref uint values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (uint* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((uint*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(uint* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref uint values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (uint* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((uint*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(long* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[674])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[674])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref long values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (long* pvalues = &values) - { - CalculateBinsNative((long*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref long values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (long* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((long*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref long values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (long* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((long*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(long* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref long values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (long* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((long*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CalculateBinsNative(ulong* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[675])(values, count, meth, range, binsOut, widthOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[675])((nint)values, count, meth, range, (nint)binsOut, (nint)widthOut); - #endif - } - - /// - /// To be documented. - /// - public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, widthOut); - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, double* widthOut) - { - fixed (ulong* pvalues = &values) - { - CalculateBinsNative((ulong*)pvalues, count, meth, range, binsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, widthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, double* widthOut) - { - fixed (ulong* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - CalculateBinsNative((ulong*)pvalues, count, meth, range, (int*)pbinsOut, widthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, binsOut, (double*)pwidthOut); - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, int* binsOut, ref double widthOut) - { - fixed (ulong* pvalues = &values) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((ulong*)pvalues, count, meth, range, binsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ulong* values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative(values, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - - /// - /// To be documented. - /// - public static void CalculateBins(ref ulong values, int count, ImPlotBin meth, ImPlotRange range, ref int binsOut, ref double widthOut) - { - fixed (ulong* pvalues = &values) - { - fixed (int* pbinsOut = &binsOut) - { - fixed (double* pwidthOut = &widthOut) - { - CalculateBinsNative((ulong*)pvalues, count, meth, range, (int*)pbinsOut, (double*)pwidthOut); - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte IsLeapYearNative(int year) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[676])(year); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[676])(year); - #endif - } - - /// - /// To be documented. - /// - public static bool IsLeapYear(int year) - { - byte ret = IsLeapYearNative(year); - return ret != 0; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetDaysInMonthNative(int year, int month) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[677])(year, month); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[677])(year, month); - #endif - } - - /// - /// To be documented. - /// - public static int GetDaysInMonth(int year, int month) - { - int ret = GetDaysInMonthNative(year, month); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MkGmtTimeNative(ImPlotTime* pOut, Tm* ptm) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[678])(pOut, ptm); - #else - ((delegate* unmanaged[Cdecl])funcTable[678])((nint)pOut, (nint)ptm); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime MkGmtTime(Tm* ptm) - { - ImPlotTime ret; - MkGmtTimeNative(&ret, ptm); - return ret; - } - - /// - /// To be documented. - /// - public static void MkGmtTime(ImPlotTimePtr pOut, Tm* ptm) - { - MkGmtTimeNative(pOut, ptm); - } - - /// - /// To be documented. - /// - public static void MkGmtTime(ref ImPlotTime pOut, Tm* ptm) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MkGmtTimeNative((ImPlotTime*)ppOut, ptm); - } - } - - /// - /// To be documented. - /// - public static ImPlotTime MkGmtTime(ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - ImPlotTime ret; - MkGmtTimeNative(&ret, (Tm*)pptm); - return ret; - } - } - - /// - /// To be documented. - /// - public static void MkGmtTime(ImPlotTimePtr pOut, ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - MkGmtTimeNative(pOut, (Tm*)pptm); - } - } - - /// - /// To be documented. - /// - public static void MkGmtTime(ref ImPlotTime pOut, ref Tm ptm) - { - fixed (ImPlotTime* ppOut = &pOut) - { - fixed (Tm* pptm = &ptm) - { - MkGmtTimeNative((ImPlotTime*)ppOut, (Tm*)pptm); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Tm* GetGmtTimeNative(ImPlotTime t, Tm* ptm) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[679])(t, ptm); - #else - return (Tm*)((delegate* unmanaged[Cdecl])funcTable[679])(t, (nint)ptm); - #endif - } - - /// - /// To be documented. - /// - public static Tm* GetGmtTime(ImPlotTime t, Tm* ptm) - { - Tm* ret = GetGmtTimeNative(t, ptm); - return ret; - } - - /// - /// To be documented. - /// - public static Tm* GetGmtTime(ImPlotTime t, ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - Tm* ret = GetGmtTimeNative(t, (Tm*)pptm); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MkLocTimeNative(ImPlotTime* pOut, Tm* ptm) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[680])(pOut, ptm); - #else - ((delegate* unmanaged[Cdecl])funcTable[680])((nint)pOut, (nint)ptm); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime MkLocTime(Tm* ptm) - { - ImPlotTime ret; - MkLocTimeNative(&ret, ptm); - return ret; - } - - /// - /// To be documented. - /// - public static void MkLocTime(ImPlotTimePtr pOut, Tm* ptm) - { - MkLocTimeNative(pOut, ptm); - } - - /// - /// To be documented. - /// - public static void MkLocTime(ref ImPlotTime pOut, Tm* ptm) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MkLocTimeNative((ImPlotTime*)ppOut, ptm); - } - } - - /// - /// To be documented. - /// - public static ImPlotTime MkLocTime(ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - ImPlotTime ret; - MkLocTimeNative(&ret, (Tm*)pptm); - return ret; - } - } - - /// - /// To be documented. - /// - public static void MkLocTime(ImPlotTimePtr pOut, ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - MkLocTimeNative(pOut, (Tm*)pptm); - } - } - - /// - /// To be documented. - /// - public static void MkLocTime(ref ImPlotTime pOut, ref Tm ptm) - { - fixed (ImPlotTime* ppOut = &pOut) - { - fixed (Tm* pptm = &ptm) - { - MkLocTimeNative((ImPlotTime*)ppOut, (Tm*)pptm); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Tm* GetLocTimeNative(ImPlotTime t, Tm* ptm) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[681])(t, ptm); - #else - return (Tm*)((delegate* unmanaged[Cdecl])funcTable[681])(t, (nint)ptm); - #endif - } - - /// - /// To be documented. - /// - public static Tm* GetLocTime(ImPlotTime t, Tm* ptm) - { - Tm* ret = GetLocTimeNative(t, ptm); - return ret; - } - - /// - /// To be documented. - /// - public static Tm* GetLocTime(ImPlotTime t, ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - Tm* ret = GetLocTimeNative(t, (Tm*)pptm); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MkTimeNative(ImPlotTime* pOut, Tm* ptm) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[682])(pOut, ptm); - #else - ((delegate* unmanaged[Cdecl])funcTable[682])((nint)pOut, (nint)ptm); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime MkTime(Tm* ptm) - { - ImPlotTime ret; - MkTimeNative(&ret, ptm); - return ret; - } - - /// - /// To be documented. - /// - public static void MkTime(ImPlotTimePtr pOut, Tm* ptm) - { - MkTimeNative(pOut, ptm); - } - - /// - /// To be documented. - /// - public static void MkTime(ref ImPlotTime pOut, Tm* ptm) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MkTimeNative((ImPlotTime*)ppOut, ptm); - } - } - - /// - /// To be documented. - /// - public static ImPlotTime MkTime(ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - ImPlotTime ret; - MkTimeNative(&ret, (Tm*)pptm); - return ret; - } - } - - /// - /// To be documented. - /// - public static void MkTime(ImPlotTimePtr pOut, ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - MkTimeNative(pOut, (Tm*)pptm); - } - } - - /// - /// To be documented. - /// - public static void MkTime(ref ImPlotTime pOut, ref Tm ptm) - { - fixed (ImPlotTime* ppOut = &pOut) - { - fixed (Tm* pptm = &ptm) - { - MkTimeNative((ImPlotTime*)ppOut, (Tm*)pptm); - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static Tm* GetTimeNative(ImPlotTime t, Tm* ptm) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[683])(t, ptm); - #else - return (Tm*)((delegate* unmanaged[Cdecl])funcTable[683])(t, (nint)ptm); - #endif - } - - /// - /// To be documented. - /// - public static Tm* GetTime(ImPlotTime t, Tm* ptm) - { - Tm* ret = GetTimeNative(t, ptm); - return ret; - } - - /// - /// To be documented. - /// - public static Tm* GetTime(ImPlotTime t, ref Tm ptm) - { - fixed (Tm* pptm = &ptm) - { - Tm* ret = GetTimeNative(t, (Tm*)pptm); - return ret; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void MakeTimeNative(ImPlotTime* pOut, int year, int month, int day, int hour, int min, int sec, int us) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[684])(pOut, year, month, day, hour, min, sec, us); - #else - ((delegate* unmanaged[Cdecl])funcTable[684])((nint)pOut, year, month, day, hour, min, sec, us); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, (int)(0), (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year, int month) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, month, (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year) - { - MakeTimeNative(pOut, year, (int)(0), (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year, int month, int day) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, month, day, (int)(0), (int)(0), (int)(0), (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year, int month) - { - MakeTimeNative(pOut, year, month, (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year, int month, int day, int hour) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, month, day, hour, (int)(0), (int)(0), (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day) - { - MakeTimeNative(pOut, year, month, day, (int)(0), (int)(0), (int)(0), (int)(0)); - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year, int month, int day, int hour, int min) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, month, day, hour, min, (int)(0), (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour) - { - MakeTimeNative(pOut, year, month, day, hour, (int)(0), (int)(0), (int)(0)); - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year, int month, int day, int hour, int min, int sec) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, month, day, hour, min, sec, (int)(0)); - return ret; - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour, int min) - { - MakeTimeNative(pOut, year, month, day, hour, min, (int)(0), (int)(0)); - } - - /// - /// To be documented. - /// - public static ImPlotTime MakeTime(int year, int month, int day, int hour, int min, int sec, int us) - { - ImPlotTime ret; - MakeTimeNative(&ret, year, month, day, hour, min, sec, us); - return ret; - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour, int min, int sec, int us) - { - MakeTimeNative(pOut, year, month, day, hour, min, sec, us); - } - - /// - /// To be documented. - /// - public static void MakeTime(ImPlotTimePtr pOut, int year, int month, int day, int hour, int min, int sec) - { - MakeTimeNative(pOut, year, month, day, hour, min, sec, (int)(0)); - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour, int min, int sec, int us) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, min, sec, us); - } - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour, int min, int sec) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, min, sec, (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour, int min) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, min, (int)(0), (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day, int hour) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, month, day, hour, (int)(0), (int)(0), (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year, int month, int day) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, month, day, (int)(0), (int)(0), (int)(0), (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year, int month) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, month, (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); - } - } - - /// - /// To be documented. - /// - public static void MakeTime(ref ImPlotTime pOut, int year) - { - fixed (ImPlotTime* ppOut = &pOut) - { - MakeTimeNative((ImPlotTime*)ppOut, year, (int)(0), (int)(1), (int)(0), (int)(0), (int)(0), (int)(0)); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetYearNative(ImPlotTime t) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[685])(t); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[685])(t); - #endif - } - - /// - /// To be documented. - /// - public static int GetYear(ImPlotTime t) - { - int ret = GetYearNative(t); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int GetMonthNative(ImPlotTime t) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[686])(t); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[686])(t); - #endif - } - - /// - /// To be documented. - /// - public static int GetMonth(ImPlotTime t) - { - int ret = GetMonthNative(t); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void AddTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit, int count) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[687])(pOut, t, unit, count); - #else - ((delegate* unmanaged[Cdecl])funcTable[687])((nint)pOut, t, unit, count); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime AddTime(ImPlotTime t, ImPlotTimeUnit unit, int count) - { - ImPlotTime ret; - AddTimeNative(&ret, t, unit, count); - return ret; - } - - /// - /// To be documented. - /// - public static void AddTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit, int count) - { - AddTimeNative(pOut, t, unit, count); - } - - /// - /// To be documented. - /// - public static void AddTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit, int count) - { - fixed (ImPlotTime* ppOut = &pOut) - { - AddTimeNative((ImPlotTime*)ppOut, t, unit, count); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void FloorTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[688])(pOut, t, unit); - #else - ((delegate* unmanaged[Cdecl])funcTable[688])((nint)pOut, t, unit); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime FloorTime(ImPlotTime t, ImPlotTimeUnit unit) - { - ImPlotTime ret; - FloorTimeNative(&ret, t, unit); - return ret; - } - - /// - /// To be documented. - /// - public static void FloorTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - FloorTimeNative(pOut, t, unit); - } - - /// - /// To be documented. - /// - public static void FloorTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - fixed (ImPlotTime* ppOut = &pOut) - { - FloorTimeNative((ImPlotTime*)ppOut, t, unit); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CeilTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[689])(pOut, t, unit); - #else - ((delegate* unmanaged[Cdecl])funcTable[689])((nint)pOut, t, unit); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime CeilTime(ImPlotTime t, ImPlotTimeUnit unit) - { - ImPlotTime ret; - CeilTimeNative(&ret, t, unit); - return ret; - } - - /// - /// To be documented. - /// - public static void CeilTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - CeilTimeNative(pOut, t, unit); - } - - /// - /// To be documented. - /// - public static void CeilTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - fixed (ImPlotTime* ppOut = &pOut) - { - CeilTimeNative((ImPlotTime*)ppOut, t, unit); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void RoundTimeNative(ImPlotTime* pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[690])(pOut, t, unit); - #else - ((delegate* unmanaged[Cdecl])funcTable[690])((nint)pOut, t, unit); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime RoundTime(ImPlotTime t, ImPlotTimeUnit unit) - { - ImPlotTime ret; - RoundTimeNative(&ret, t, unit); - return ret; - } - - /// - /// To be documented. - /// - public static void RoundTime(ImPlotTimePtr pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - RoundTimeNative(pOut, t, unit); - } - - /// - /// To be documented. - /// - public static void RoundTime(ref ImPlotTime pOut, ImPlotTime t, ImPlotTimeUnit unit) - { - fixed (ImPlotTime* ppOut = &pOut) - { - RoundTimeNative((ImPlotTime*)ppOut, t, unit); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void CombineDateTimeNative(ImPlotTime* pOut, ImPlotTime datePart, ImPlotTime timePart) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[691])(pOut, datePart, timePart); - #else - ((delegate* unmanaged[Cdecl])funcTable[691])((nint)pOut, datePart, timePart); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime CombineDateTime(ImPlotTime datePart, ImPlotTime timePart) - { - ImPlotTime ret; - CombineDateTimeNative(&ret, datePart, timePart); - return ret; - } - - /// - /// To be documented. - /// - public static void CombineDateTime(ImPlotTimePtr pOut, ImPlotTime datePart, ImPlotTime timePart) - { - CombineDateTimeNative(pOut, datePart, timePart); - } - - /// - /// To be documented. - /// - public static void CombineDateTime(ref ImPlotTime pOut, ImPlotTime datePart, ImPlotTime timePart) - { - fixed (ImPlotTime* ppOut = &pOut) - { - CombineDateTimeNative((ImPlotTime*)ppOut, datePart, timePart); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void NowNative(ImPlotTime* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[692])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[692])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime Now() - { - ImPlotTime ret; - NowNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void Now(ImPlotTimePtr pOut) - { - NowNative(pOut); - } - - /// - /// To be documented. - /// - public static void Now(ref ImPlotTime pOut) - { - fixed (ImPlotTime* ppOut = &pOut) - { - NowNative((ImPlotTime*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void TodayNative(ImPlotTime* pOut) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl])funcTable[693])(pOut); - #else - ((delegate* unmanaged[Cdecl])funcTable[693])((nint)pOut); - #endif - } - - /// - /// To be documented. - /// - public static ImPlotTime Today() - { - ImPlotTime ret; - TodayNative(&ret); - return ret; - } - - /// - /// To be documented. - /// - public static void Today(ImPlotTimePtr pOut) - { - TodayNative(pOut); - } - - /// - /// To be documented. - /// - public static void Today(ref ImPlotTime pOut) - { - fixed (ImPlotTime* ppOut = &pOut) - { - TodayNative((ImPlotTime*)ppOut); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int FormatTimeNative(ImPlotTime t, byte* buffer, int size, ImPlotTimeFmt fmt, byte use24HrClk) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[694])(t, buffer, size, fmt, use24HrClk); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[694])(t, (nint)buffer, size, fmt, use24HrClk); - #endif - } - - /// - /// To be documented. - /// - public static int FormatTime(ImPlotTime t, byte* buffer, int size, ImPlotTimeFmt fmt, bool use24HrClk) - { - int ret = FormatTimeNative(t, buffer, size, fmt, use24HrClk ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static int FormatTime(ImPlotTime t, ref byte buffer, int size, ImPlotTimeFmt fmt, bool use24HrClk) - { - fixed (byte* pbuffer = &buffer) - { - int ret = FormatTimeNative(t, (byte*)pbuffer, size, fmt, use24HrClk ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static int FormatTime(ImPlotTime t, ref string buffer, int size, ImPlotTimeFmt fmt, bool use24HrClk) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buffer != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buffer); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buffer, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = FormatTimeNative(t, pStr0, size, fmt, use24HrClk ? (byte)1 : (byte)0); - buffer = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int FormatDateNative(ImPlotTime t, byte* buffer, int size, ImPlotDateFmt fmt, byte useIso8601) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[695])(t, buffer, size, fmt, useIso8601); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[695])(t, (nint)buffer, size, fmt, useIso8601); - #endif - } - - /// - /// To be documented. - /// - public static int FormatDate(ImPlotTime t, byte* buffer, int size, ImPlotDateFmt fmt, bool useIso8601) - { - int ret = FormatDateNative(t, buffer, size, fmt, useIso8601 ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public static int FormatDate(ImPlotTime t, ref byte buffer, int size, ImPlotDateFmt fmt, bool useIso8601) - { - fixed (byte* pbuffer = &buffer) - { - int ret = FormatDateNative(t, (byte*)pbuffer, size, fmt, useIso8601 ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public static int FormatDate(ImPlotTime t, ref string buffer, int size, ImPlotDateFmt fmt, bool useIso8601) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buffer != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buffer); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buffer, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = FormatDateNative(t, pStr0, size, fmt, useIso8601 ? (byte)1 : (byte)0); - buffer = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int FormatDateTimeNative(ImPlotTime t, byte* buffer, int size, ImPlotDateTimeSpec fmt) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[696])(t, buffer, size, fmt); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[696])(t, (nint)buffer, size, fmt); - #endif - } - - /// - /// To be documented. - /// - public static int FormatDateTime(ImPlotTime t, byte* buffer, int size, ImPlotDateTimeSpec fmt) - { - int ret = FormatDateTimeNative(t, buffer, size, fmt); - return ret; - } - - /// - /// To be documented. - /// - public static int FormatDateTime(ImPlotTime t, ref byte buffer, int size, ImPlotDateTimeSpec fmt) - { - fixed (byte* pbuffer = &buffer) - { - int ret = FormatDateTimeNative(t, (byte*)pbuffer, size, fmt); - return ret; - } - } - - /// - /// To be documented. - /// - public static int FormatDateTime(ImPlotTime t, ref string buffer, int size, ImPlotDateTimeSpec fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buffer != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buffer); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buffer, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = FormatDateTimeNative(t, pStr0, size, fmt); - buffer = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowDatePickerNative(byte* id, int* level, ImPlotTime* t, ImPlotTime* t1, ImPlotTime* t2) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[697])(id, level, t, t1, t2); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[697])((nint)id, (nint)level, (nint)t, (nint)t1, (nint)t2); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - byte ret = ShowDatePickerNative(id, level, t, t1, t2); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - byte ret = ShowDatePickerNative(id, level, t, t1, (ImPlotTime*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t) - { - byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, t2); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - fixed (byte* pid = &id) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t) - { - fixed (byte* pid = &id) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, t2); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - fixed (byte* pid = id) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t) - { - fixed (byte* pid = id) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowDatePickerNative(pStr0, level, t, t1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowDatePickerNative(pStr0, level, t, t1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, t1, t2); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, t1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, t1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)(default), (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, t1, t2); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, t1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ImPlotTimePtr t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, t1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, t1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)(default), (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)pt1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ref ImPlotTime t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)pt1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ref ImPlotTime t1) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ref ImPlotTime t1) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ref ImPlotTime t1) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ref ImPlotTime t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ImPlotTimePtr t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, t2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ref ImPlotTime t1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)(default)); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, level, t, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, level, t, t1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, t1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ImPlotTimePtr t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, t1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, level, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ImPlotTimePtr t, ref ImPlotTime t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, t, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, int* level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, level, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(byte* id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(id, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ref byte id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = &id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(ReadOnlySpan id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - fixed (byte* pid = id) - { - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative((byte*)pid, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - return ret != 0; - } - } - } - } - } - } - - /// - /// To be documented. - /// - public static bool ShowDatePicker(string id, ref int level, ref ImPlotTime t, ref ImPlotTime t1, ref ImPlotTime t2) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (int* plevel = &level) - { - fixed (ImPlotTime* pt = &t) - { - fixed (ImPlotTime* pt1 = &t1) - { - fixed (ImPlotTime* pt2 = &t2) - { - byte ret = ShowDatePickerNative(pStr0, (int*)plevel, (ImPlotTime*)pt, (ImPlotTime*)pt1, (ImPlotTime*)pt2); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - } - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static byte ShowTimePickerNative(byte* id, ImPlotTime* t) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[698])(id, t); - #else - return (byte)((delegate* unmanaged[Cdecl])funcTable[698])((nint)id, (nint)t); - #endif - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(byte* id, ImPlotTimePtr t) - { - byte ret = ShowTimePickerNative(id, t); - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(ref byte id, ImPlotTimePtr t) - { - fixed (byte* pid = &id) - { - byte ret = ShowTimePickerNative((byte*)pid, t); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(ReadOnlySpan id, ImPlotTimePtr t) - { - fixed (byte* pid = id) - { - byte ret = ShowTimePickerNative((byte*)pid, t); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(string id, ImPlotTimePtr t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - byte ret = ShowTimePickerNative(pStr0, t); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(byte* id, ref ImPlotTime t) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowTimePickerNative(id, (ImPlotTime*)pt); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(ref byte id, ref ImPlotTime t) - { - fixed (byte* pid = &id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowTimePickerNative((byte*)pid, (ImPlotTime*)pt); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(ReadOnlySpan id, ref ImPlotTime t) - { - fixed (byte* pid = id) - { - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowTimePickerNative((byte*)pid, (ImPlotTime*)pt); - return ret != 0; - } - } - } - - /// - /// To be documented. - /// - public static bool ShowTimePicker(string id, ref ImPlotTime t) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (id != null) - { - pStrSize0 = Utils.GetByteCountUTF8(id); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(id, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (ImPlotTime* pt = &t) - { - byte ret = ShowTimePickerNative(pStr0, (ImPlotTime*)pt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret != 0; - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double TransformForward_Log10Native(double v, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[699])(v, noname1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[699])(v, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static double TransformForward_Log10(double v, void* noname1) - { - double ret = TransformForward_Log10Native(v, noname1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double TransformInverse_Log10Native(double v, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[700])(v, noname1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[700])(v, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static double TransformInverse_Log10(double v, void* noname1) - { - double ret = TransformInverse_Log10Native(v, noname1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double TransformForward_SymLogNative(double v, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[701])(v, noname1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[701])(v, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static double TransformForward_SymLog(double v, void* noname1) - { - double ret = TransformForward_SymLogNative(v, noname1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double TransformInverse_SymLogNative(double v, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[702])(v, noname1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[702])(v, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static double TransformInverse_SymLog(double v, void* noname1) - { - double ret = TransformInverse_SymLogNative(v, noname1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double TransformForward_LogitNative(double v, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[703])(v, noname1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[703])(v, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static double TransformForward_Logit(double v, void* noname1) - { - double ret = TransformForward_LogitNative(v, noname1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static double TransformInverse_LogitNative(double v, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[704])(v, noname1); - #else - return (double)((delegate* unmanaged[Cdecl])funcTable[704])(v, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static double TransformInverse_Logit(double v, void* noname1) - { - double ret = TransformInverse_LogitNative(v, noname1); - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int Formatter_DefaultNative(double value, byte* buff, int size, void* data) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[705])(value, buff, size, data); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[705])(value, (nint)buff, size, (nint)data); - #endif - } - - /// - /// To be documented. - /// - public static int Formatter_Default(double value, byte* buff, int size, void* data) - { - int ret = Formatter_DefaultNative(value, buff, size, data); - return ret; - } - - /// - /// To be documented. - /// - public static int Formatter_Default(double value, ref byte buff, int size, void* data) - { - fixed (byte* pbuff = &buff) - { - int ret = Formatter_DefaultNative(value, (byte*)pbuff, size, data); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Formatter_Default(double value, ref string buff, int size, void* data) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buff != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buff); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = Formatter_DefaultNative(value, pStr0, size, data); - buff = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int Formatter_LogitNative(double value, byte* buff, int size, void* noname1) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[706])(value, buff, size, noname1); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[706])(value, (nint)buff, size, (nint)noname1); - #endif - } - - /// - /// To be documented. - /// - public static int Formatter_Logit(double value, byte* buff, int size, void* noname1) - { - int ret = Formatter_LogitNative(value, buff, size, noname1); - return ret; - } - - /// - /// To be documented. - /// - public static int Formatter_Logit(double value, ref byte buff, int size, void* noname1) - { - fixed (byte* pbuff = &buff) - { - int ret = Formatter_LogitNative(value, (byte*)pbuff, size, noname1); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Formatter_Logit(double value, ref string buff, int size, void* noname1) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buff != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buff); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = Formatter_LogitNative(value, pStr0, size, noname1); - buff = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static int Formatter_TimeNative(double noname1, byte* buff, int size, void* data) - { - #if NET5_0_OR_GREATER - return ((delegate* unmanaged[Cdecl])funcTable[707])(noname1, buff, size, data); - #else - return (int)((delegate* unmanaged[Cdecl])funcTable[707])(noname1, (nint)buff, size, (nint)data); - #endif - } - - /// - /// To be documented. - /// - public static int Formatter_Time(double noname1, byte* buff, int size, void* data) - { - int ret = Formatter_TimeNative(noname1, buff, size, data); - return ret; - } - - /// - /// To be documented. - /// - public static int Formatter_Time(double noname1, ref byte buff, int size, void* data) - { - fixed (byte* pbuff = &buff) - { - int ret = Formatter_TimeNative(noname1, (byte*)pbuff, size, data); - return ret; - } - } - - /// - /// To be documented. - /// - public static int Formatter_Time(double noname1, ref string buff, int size, void* data) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (buff != null) - { - pStrSize0 = Utils.GetByteCountUTF8(buff); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(buff, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = Formatter_TimeNative(noname1, pStr0, size, data); - buff = Utils.DecodeStringUTF8(pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void Locator_DefaultNative(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, void>)funcTable[708])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); - #else - ((delegate* unmanaged[Cdecl])funcTable[708])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); - #endif - } - - /// - /// To be documented. - /// - public static void Locator_Default(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - Locator_DefaultNative(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - - /// - /// To be documented. - /// - public static void Locator_Default(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - fixed (ImPlotTicker* pticker = &ticker) - { - Locator_DefaultNative((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void Locator_TimeNative(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, void>)funcTable[709])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); - #else - ((delegate* unmanaged[Cdecl])funcTable[709])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); - #endif - } - - /// - /// To be documented. - /// - public static void Locator_Time(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - Locator_TimeNative(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - - /// - /// To be documented. - /// - public static void Locator_Time(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - fixed (ImPlotTicker* pticker = &ticker) - { - Locator_TimeNative((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void Locator_Log10Native(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, void>)funcTable[710])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); - #else - ((delegate* unmanaged[Cdecl])funcTable[710])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); - #endif - } - - /// - /// To be documented. - /// - public static void Locator_Log10(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - Locator_Log10Native(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - - /// - /// To be documented. - /// - public static void Locator_Log10(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - fixed (ImPlotTicker* pticker = &ticker) - { - Locator_Log10Native((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - } - - /// - /// To be documented. - /// - [MethodImpl(MethodImplOptions.AggressiveInlining)] - internal static void Locator_SymLogNative(ImPlotTicker* ticker, ImPlotRange range, float pixels, byte vertical, ImPlotFormatter formatter, void* formatterData) - { - #if NET5_0_OR_GREATER - ((delegate* unmanaged[Cdecl], void*, void>)funcTable[711])(ticker, range, pixels, vertical, (delegate*)Utils.GetFunctionPointerForDelegate(formatter), formatterData); - #else - ((delegate* unmanaged[Cdecl])funcTable[711])((nint)ticker, range, pixels, vertical, (nint)Utils.GetFunctionPointerForDelegate(formatter), (nint)formatterData); - #endif - } - - /// - /// To be documented. - /// - public static void Locator_SymLog(ImPlotTickerPtr ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - Locator_SymLogNative(ticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - - /// - /// To be documented. - /// - public static void Locator_SymLog(ref ImPlotTicker ticker, ImPlotRange range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatterData) - { - fixed (ImPlotTicker* pticker = &ticker) - { - Locator_SymLogNative((ImPlotTicker*)pticker, range, pixels, vertical ? (byte)1 : (byte)0, formatter, formatterData); - } - } - - } -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/FormatterTimeData.cs b/src/Hexa.NET.ImPlot/Generated/Structs/FormatterTimeData.cs deleted file mode 100644 index 6d0617dba..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/FormatterTimeData.cs +++ /dev/null @@ -1,60 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct FormatterTimeData - { - /// - /// To be documented. - /// - public ImPlotTime Time; - - /// - /// To be documented. - /// - public ImPlotDateTimeSpec Spec; - - /// - /// To be documented. - /// - public unsafe void* UserFormatter; - /// - /// To be documented. - /// - public unsafe void* UserFormatterData; - - - /// - /// To be documented. - /// - public unsafe FormatterTimeData(ImPlotTime time = default, ImPlotDateTimeSpec spec = default, ImPlotFormatter userFormatter = default, void* userFormatterData = default) - { - Time = time; - Spec = spec; - UserFormatter = (void*)Marshal.GetFunctionPointerForDelegate(userFormatter); - UserFormatterData = userFormatterData; - } - - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAlignmentData.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAlignmentData.cs deleted file mode 100644 index 42d9586d9..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAlignmentData.cs +++ /dev/null @@ -1,702 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotAlignmentData - { - /// - /// To be documented. - /// - public byte Vertical; - - /// - /// To be documented. - /// - public float PadA; - - /// - /// To be documented. - /// - public float PadB; - - /// - /// To be documented. - /// - public float PadAMax; - - /// - /// To be documented. - /// - public float PadBMax; - - - /// - /// To be documented. - /// - public unsafe ImPlotAlignmentData(bool vertical = default, float padA = default, float padB = default, float padAMax = default, float padBMax = default) - { - Vertical = vertical ? (byte)1 : (byte)0; - PadA = padA; - PadB = padB; - PadAMax = padAMax; - PadBMax = padBMax; - } - - - /// - /// To be documented. - /// - public unsafe void Begin() - { - fixed (ImPlotAlignmentData* @this = &this) - { - ImPlot.BeginNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotAlignmentData* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void End() - { - fixed (ImPlotAlignmentData* @this = &this) - { - ImPlot.EndNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotAlignmentData* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - ImPlot.UpdateNative(@this, padA, padB, deltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - ImPlot.UpdateNative(@this, (float*)ppadA, padB, deltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadB = &padB) - { - ImPlot.UpdateNative(@this, padA, (float*)ppadB, deltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, deltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(@this, padA, padB, (float*)pdeltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(@this, (float*)ppadA, padB, (float*)pdeltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(@this, padA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, padA, padB, deltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, (float*)ppadA, padB, deltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, padA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, padA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (ImPlotAlignmentData* @this = &this) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(@this, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotAlignmentDataPtr : IEquatable - { - public ImPlotAlignmentDataPtr(ImPlotAlignmentData* handle) { Handle = handle; } - - public ImPlotAlignmentData* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotAlignmentDataPtr Null => new ImPlotAlignmentDataPtr(null); - - public ImPlotAlignmentData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotAlignmentDataPtr(ImPlotAlignmentData* handle) => new ImPlotAlignmentDataPtr(handle); - - public static implicit operator ImPlotAlignmentData*(ImPlotAlignmentDataPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotAlignmentDataPtr left, ImPlotAlignmentDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotAlignmentDataPtr left, ImPlotAlignmentDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotAlignmentDataPtr left, ImPlotAlignmentData* right) => left.Handle == right; - - public static bool operator !=(ImPlotAlignmentDataPtr left, ImPlotAlignmentData* right) => left.Handle != right; - - public bool Equals(ImPlotAlignmentDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotAlignmentDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotAlignmentDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref bool Vertical => ref Unsafe.AsRef(&Handle->Vertical); - /// - /// To be documented. - /// - public ref float PadA => ref Unsafe.AsRef(&Handle->PadA); - /// - /// To be documented. - /// - public ref float PadB => ref Unsafe.AsRef(&Handle->PadB); - /// - /// To be documented. - /// - public ref float PadAMax => ref Unsafe.AsRef(&Handle->PadAMax); - /// - /// To be documented. - /// - public ref float PadBMax => ref Unsafe.AsRef(&Handle->PadBMax); - /// - /// To be documented. - /// - public unsafe void Begin() - { - ImPlot.BeginNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void End() - { - ImPlot.EndNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, float* deltaA, float* deltaB) - { - ImPlot.UpdateNative(Handle, padA, padB, deltaA, deltaB); - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, float* deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, padB, deltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (float* ppadB = &padB) - { - ImPlot.UpdateNative(Handle, padA, (float*)ppadB, deltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, float* deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, deltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(Handle, padA, padB, (float*)pdeltaA, deltaB); - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, ref float deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, padB, (float*)pdeltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(Handle, padA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, ref float deltaA, float* deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, deltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, padA, padB, deltaA, (float*)pdeltaB); - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, float* deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, padB, deltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, padA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, float* deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, deltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, padA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, float* padB, ref float deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, padB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(float* padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, padA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void Update(ref float padA, ref float padB, ref float deltaA, ref float deltaB) - { - fixed (float* ppadA = &padA) - { - fixed (float* ppadB = &padB) - { - fixed (float* pdeltaA = &deltaA) - { - fixed (float* pdeltaB = &deltaB) - { - ImPlot.UpdateNative(Handle, (float*)ppadA, (float*)ppadB, (float*)pdeltaA, (float*)pdeltaB); - } - } - } - } - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotation.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotation.cs deleted file mode 100644 index 905e16ecc..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotation.cs +++ /dev/null @@ -1,159 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotAnnotation - { - /// - /// To be documented. - /// - public Vector2 Pos; - - /// - /// To be documented. - /// - public Vector2 Offset; - - /// - /// To be documented. - /// - public uint ColorBg; - - /// - /// To be documented. - /// - public uint ColorFg; - - /// - /// To be documented. - /// - public int TextOffset; - - /// - /// To be documented. - /// - public byte Clamp; - - - /// - /// To be documented. - /// - public unsafe ImPlotAnnotation(Vector2 pos = default, Vector2 offset = default, uint colorBg = default, uint colorFg = default, int textOffset = default, bool clamp = default) - { - Pos = pos; - Offset = offset; - ColorBg = colorBg; - ColorFg = colorFg; - TextOffset = textOffset; - Clamp = clamp ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotAnnotation* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotAnnotationPtr : IEquatable - { - public ImPlotAnnotationPtr(ImPlotAnnotation* handle) { Handle = handle; } - - public ImPlotAnnotation* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotAnnotationPtr Null => new ImPlotAnnotationPtr(null); - - public ImPlotAnnotation this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotAnnotationPtr(ImPlotAnnotation* handle) => new ImPlotAnnotationPtr(handle); - - public static implicit operator ImPlotAnnotation*(ImPlotAnnotationPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotAnnotationPtr left, ImPlotAnnotationPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotAnnotationPtr left, ImPlotAnnotationPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotAnnotationPtr left, ImPlotAnnotation* right) => left.Handle == right; - - public static bool operator !=(ImPlotAnnotationPtr left, ImPlotAnnotation* right) => left.Handle != right; - - public bool Equals(ImPlotAnnotationPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotAnnotationPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotAnnotationPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public ref Vector2 Offset => ref Unsafe.AsRef(&Handle->Offset); - /// - /// To be documented. - /// - public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); - /// - /// To be documented. - /// - public ref uint ColorFg => ref Unsafe.AsRef(&Handle->ColorFg); - /// - /// To be documented. - /// - public ref int TextOffset => ref Unsafe.AsRef(&Handle->TextOffset); - /// - /// To be documented. - /// - public ref bool Clamp => ref Unsafe.AsRef(&Handle->Clamp); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs deleted file mode 100644 index 865058fd4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAnnotationCollection.cs +++ /dev/null @@ -1,450 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotAnnotationCollection - { - /// - /// To be documented. - /// - public ImVector Annotations; - - /// - /// To be documented. - /// - public ImGuiTextBuffer TextBuffer; - - /// - /// To be documented. - /// - public int Size; - - - /// - /// To be documented. - /// - public unsafe ImPlotAnnotationCollection(ImVector annotations = default, ImGuiTextBuffer textBuffer = default, int size = default) - { - Annotations = annotations; - TextBuffer = textBuffer; - Size = size; - } - - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); - } - } - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendVNative(@this, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(int idx) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - byte* ret = ImPlot.GetTextNative(@this, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(int idx) - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, idx)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotAnnotationCollection* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotAnnotationCollectionPtr : IEquatable - { - public ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* handle) { Handle = handle; } - - public ImPlotAnnotationCollection* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotAnnotationCollectionPtr Null => new ImPlotAnnotationCollectionPtr(null); - - public ImPlotAnnotationCollection this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* handle) => new ImPlotAnnotationCollectionPtr(handle); - - public static implicit operator ImPlotAnnotationCollection*(ImPlotAnnotationCollectionPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollectionPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollectionPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollection* right) => left.Handle == right; - - public static bool operator !=(ImPlotAnnotationCollectionPtr left, ImPlotAnnotationCollection* right) => left.Handle != right; - - public bool Equals(ImPlotAnnotationCollectionPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotAnnotationCollectionPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotAnnotationCollectionPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Annotations => ref Unsafe.AsRef>(&Handle->Annotations); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); - /// - /// To be documented. - /// - public ref int Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt) - { - ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt); - } - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public unsafe void Append(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, byte* fmt, nuint args) - { - ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, fmt, args); - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(Vector2 pos, Vector2 off, uint bg, uint fg, bool clamp, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendVNative(Handle, pos, off, bg, fg, clamp ? (byte)1 : (byte)0, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(int idx) - { - byte* ret = ImPlot.GetTextNative(Handle, idx); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(int idx) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, idx)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxis.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxis.cs deleted file mode 100644 index cabbfdf47..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxis.cs +++ /dev/null @@ -1,1489 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotAxis - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImPlotAxisFlags Flags; - - /// - /// To be documented. - /// - public ImPlotAxisFlags PreviousFlags; - - /// - /// To be documented. - /// - public ImPlotRange Range; - - /// - /// To be documented. - /// - public ImPlotCond RangeCond; - - /// - /// To be documented. - /// - public ImPlotScale Scale; - - /// - /// To be documented. - /// - public ImPlotRange FitExtents; - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* OrthoAxis; - - /// - /// To be documented. - /// - public ImPlotRange ConstraintRange; - - /// - /// To be documented. - /// - public ImPlotRange ConstraintZoom; - - /// - /// To be documented. - /// - public ImPlotTicker Ticker; - - /// - /// To be documented. - /// - public unsafe void* Formatter; - /// - /// To be documented. - /// - public unsafe void* FormatterData; - - /// - /// To be documented. - /// - public byte FormatSpec_0; - public byte FormatSpec_1; - public byte FormatSpec_2; - public byte FormatSpec_3; - public byte FormatSpec_4; - public byte FormatSpec_5; - public byte FormatSpec_6; - public byte FormatSpec_7; - public byte FormatSpec_8; - public byte FormatSpec_9; - public byte FormatSpec_10; - public byte FormatSpec_11; - public byte FormatSpec_12; - public byte FormatSpec_13; - public byte FormatSpec_14; - public byte FormatSpec_15; - - /// - /// To be documented. - /// - public unsafe void* Locator; - /// - /// To be documented. - /// - public unsafe double* LinkedMin; - - /// - /// To be documented. - /// - public unsafe double* LinkedMax; - - /// - /// To be documented. - /// - public int PickerLevel; - - /// - /// To be documented. - /// - public ImPlotTime PickerTimeMin; - - /// - /// To be documented. - /// - public ImPlotTime PickerTimeMax; - - /// - /// To be documented. - /// - public unsafe void* TransformForward; - /// - /// To be documented. - /// - public unsafe void* TransformInverse; - /// - /// To be documented. - /// - public unsafe void* TransformData; - - /// - /// To be documented. - /// - public float PixelMin; - - /// - /// To be documented. - /// - public float PixelMax; - - /// - /// To be documented. - /// - public double ScaleMin; - - /// - /// To be documented. - /// - public double ScaleMax; - - /// - /// To be documented. - /// - public double ScaleToPixel; - - /// - /// To be documented. - /// - public float Datum1; - - /// - /// To be documented. - /// - public float Datum2; - - /// - /// To be documented. - /// - public ImRect HoverRect; - - /// - /// To be documented. - /// - public int LabelOffset; - - /// - /// To be documented. - /// - public uint ColorMaj; - - /// - /// To be documented. - /// - public uint ColorMin; - - /// - /// To be documented. - /// - public uint ColorTick; - - /// - /// To be documented. - /// - public uint ColorTxt; - - /// - /// To be documented. - /// - public uint ColorBg; - - /// - /// To be documented. - /// - public uint ColorHov; - - /// - /// To be documented. - /// - public uint ColorAct; - - /// - /// To be documented. - /// - public uint ColorHiLi; - - /// - /// To be documented. - /// - public byte Enabled; - - /// - /// To be documented. - /// - public byte Vertical; - - /// - /// To be documented. - /// - public byte FitThisFrame; - - /// - /// To be documented. - /// - public byte HasRange; - - /// - /// To be documented. - /// - public byte HasFormatSpec; - - /// - /// To be documented. - /// - public byte ShowDefaultTicks; - - /// - /// To be documented. - /// - public byte Hovered; - - /// - /// To be documented. - /// - public byte Held; - - - /// - /// To be documented. - /// - public unsafe ImPlotAxis(uint id = default, ImPlotAxisFlags flags = default, ImPlotAxisFlags previousFlags = default, ImPlotRange range = default, ImPlotCond rangeCond = default, ImPlotScale scale = default, ImPlotRange fitExtents = default, ImPlotAxis* orthoAxis = default, ImPlotRange constraintRange = default, ImPlotRange constraintZoom = default, ImPlotTicker ticker = default, ImPlotFormatter formatter = default, void* formatterData = default, byte* formatSpec = default, ImPlotLocator locator = default, double* linkedMin = default, double* linkedMax = default, int pickerLevel = default, ImPlotTime pickerTimeMin = default, ImPlotTime pickerTimeMax = default, ImPlotTransform transformForward = default, ImPlotTransform transformInverse = default, void* transformData = default, float pixelMin = default, float pixelMax = default, double scaleMin = default, double scaleMax = default, double scaleToPixel = default, float datum1 = default, float datum2 = default, ImRect hoverRect = default, int labelOffset = default, uint colorMaj = default, uint colorMin = default, uint colorTick = default, uint colorTxt = default, uint colorBg = default, uint colorHov = default, uint colorAct = default, uint colorHiLi = default, bool enabled = default, bool vertical = default, bool fitThisFrame = default, bool hasRange = default, bool hasFormatSpec = default, bool showDefaultTicks = default, bool hovered = default, bool held = default) - { - ID = id; - Flags = flags; - PreviousFlags = previousFlags; - Range = range; - RangeCond = rangeCond; - Scale = scale; - FitExtents = fitExtents; - OrthoAxis = orthoAxis; - ConstraintRange = constraintRange; - ConstraintZoom = constraintZoom; - Ticker = ticker; - Formatter = (void*)Marshal.GetFunctionPointerForDelegate(formatter); - FormatterData = formatterData; - if (formatSpec != default(byte*)) - { - FormatSpec_0 = formatSpec[0]; - FormatSpec_1 = formatSpec[1]; - FormatSpec_2 = formatSpec[2]; - FormatSpec_3 = formatSpec[3]; - FormatSpec_4 = formatSpec[4]; - FormatSpec_5 = formatSpec[5]; - FormatSpec_6 = formatSpec[6]; - FormatSpec_7 = formatSpec[7]; - FormatSpec_8 = formatSpec[8]; - FormatSpec_9 = formatSpec[9]; - FormatSpec_10 = formatSpec[10]; - FormatSpec_11 = formatSpec[11]; - FormatSpec_12 = formatSpec[12]; - FormatSpec_13 = formatSpec[13]; - FormatSpec_14 = formatSpec[14]; - FormatSpec_15 = formatSpec[15]; - } - Locator = (void*)Marshal.GetFunctionPointerForDelegate(locator); - LinkedMin = linkedMin; - LinkedMax = linkedMax; - PickerLevel = pickerLevel; - PickerTimeMin = pickerTimeMin; - PickerTimeMax = pickerTimeMax; - TransformForward = (void*)Marshal.GetFunctionPointerForDelegate(transformForward); - TransformInverse = (void*)Marshal.GetFunctionPointerForDelegate(transformInverse); - TransformData = transformData; - PixelMin = pixelMin; - PixelMax = pixelMax; - ScaleMin = scaleMin; - ScaleMax = scaleMax; - ScaleToPixel = scaleToPixel; - Datum1 = datum1; - Datum2 = datum2; - HoverRect = hoverRect; - LabelOffset = labelOffset; - ColorMaj = colorMaj; - ColorMin = colorMin; - ColorTick = colorTick; - ColorTxt = colorTxt; - ColorBg = colorBg; - ColorHov = colorHov; - ColorAct = colorAct; - ColorHiLi = colorHiLi; - Enabled = enabled ? (byte)1 : (byte)0; - Vertical = vertical ? (byte)1 : (byte)0; - FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; - HasRange = hasRange ? (byte)1 : (byte)0; - HasFormatSpec = hasFormatSpec ? (byte)1 : (byte)0; - ShowDefaultTicks = showDefaultTicks ? (byte)1 : (byte)0; - Hovered = hovered ? (byte)1 : (byte)0; - Held = held ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis(uint id = default, ImPlotAxisFlags flags = default, ImPlotAxisFlags previousFlags = default, ImPlotRange range = default, ImPlotCond rangeCond = default, ImPlotScale scale = default, ImPlotRange fitExtents = default, ImPlotAxis* orthoAxis = default, ImPlotRange constraintRange = default, ImPlotRange constraintZoom = default, ImPlotTicker ticker = default, ImPlotFormatter formatter = default, void* formatterData = default, Span formatSpec = default, ImPlotLocator locator = default, double* linkedMin = default, double* linkedMax = default, int pickerLevel = default, ImPlotTime pickerTimeMin = default, ImPlotTime pickerTimeMax = default, ImPlotTransform transformForward = default, ImPlotTransform transformInverse = default, void* transformData = default, float pixelMin = default, float pixelMax = default, double scaleMin = default, double scaleMax = default, double scaleToPixel = default, float datum1 = default, float datum2 = default, ImRect hoverRect = default, int labelOffset = default, uint colorMaj = default, uint colorMin = default, uint colorTick = default, uint colorTxt = default, uint colorBg = default, uint colorHov = default, uint colorAct = default, uint colorHiLi = default, bool enabled = default, bool vertical = default, bool fitThisFrame = default, bool hasRange = default, bool hasFormatSpec = default, bool showDefaultTicks = default, bool hovered = default, bool held = default) - { - ID = id; - Flags = flags; - PreviousFlags = previousFlags; - Range = range; - RangeCond = rangeCond; - Scale = scale; - FitExtents = fitExtents; - OrthoAxis = orthoAxis; - ConstraintRange = constraintRange; - ConstraintZoom = constraintZoom; - Ticker = ticker; - Formatter = (void*)Marshal.GetFunctionPointerForDelegate(formatter); - FormatterData = formatterData; - if (formatSpec != default(Span)) - { - FormatSpec_0 = formatSpec[0]; - FormatSpec_1 = formatSpec[1]; - FormatSpec_2 = formatSpec[2]; - FormatSpec_3 = formatSpec[3]; - FormatSpec_4 = formatSpec[4]; - FormatSpec_5 = formatSpec[5]; - FormatSpec_6 = formatSpec[6]; - FormatSpec_7 = formatSpec[7]; - FormatSpec_8 = formatSpec[8]; - FormatSpec_9 = formatSpec[9]; - FormatSpec_10 = formatSpec[10]; - FormatSpec_11 = formatSpec[11]; - FormatSpec_12 = formatSpec[12]; - FormatSpec_13 = formatSpec[13]; - FormatSpec_14 = formatSpec[14]; - FormatSpec_15 = formatSpec[15]; - } - Locator = (void*)Marshal.GetFunctionPointerForDelegate(locator); - LinkedMin = linkedMin; - LinkedMax = linkedMax; - PickerLevel = pickerLevel; - PickerTimeMin = pickerTimeMin; - PickerTimeMax = pickerTimeMax; - TransformForward = (void*)Marshal.GetFunctionPointerForDelegate(transformForward); - TransformInverse = (void*)Marshal.GetFunctionPointerForDelegate(transformInverse); - TransformData = transformData; - PixelMin = pixelMin; - PixelMax = pixelMax; - ScaleMin = scaleMin; - ScaleMax = scaleMax; - ScaleToPixel = scaleToPixel; - Datum1 = datum1; - Datum2 = datum2; - HoverRect = hoverRect; - LabelOffset = labelOffset; - ColorMaj = colorMaj; - ColorMin = colorMin; - ColorTick = colorTick; - ColorTxt = colorTxt; - ColorBg = colorBg; - ColorHov = colorHov; - ColorAct = colorAct; - ColorHiLi = colorHiLi; - Enabled = enabled ? (byte)1 : (byte)0; - Vertical = vertical ? (byte)1 : (byte)0; - FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; - HasRange = hasRange ? (byte)1 : (byte)0; - HasFormatSpec = hasFormatSpec ? (byte)1 : (byte)0; - ShowDefaultTicks = showDefaultTicks ? (byte)1 : (byte)0; - Hovered = hovered ? (byte)1 : (byte)0; - Held = held ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void ApplyFit(float padding) - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.ApplyFitNative(@this, padding); - } - } - - /// - /// To be documented. - /// - public unsafe bool CanInitFit() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.CanInitFitNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void Constrain() - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.ConstrainNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void ExtendFit(double v) - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.ExtendFitNative(@this, v); - } - } - - /// - /// To be documented. - /// - public unsafe void ExtendFitWith(ImPlotAxis* alt, double v, double vAlt) - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.ExtendFitWithNative(@this, alt, v, vAlt); - } - } - - /// - /// To be documented. - /// - public unsafe void ExtendFitWith(ref ImPlotAxis alt, double v, double vAlt) - { - fixed (ImPlotAxis* @this = &this) - { - fixed (ImPlotAxis* palt = &alt) - { - ImPlot.ExtendFitWithNative(@this, (ImPlotAxis*)palt, v, vAlt); - } - } - } - - /// - /// To be documented. - /// - public unsafe double GetAspect() - { - fixed (ImPlotAxis* @this = &this) - { - double ret = ImPlot.GetAspectNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe bool HasGridLines() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.HasGridLinesNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool HasLabel() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.HasLabelNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool HasMenus() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.HasMenusNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool HasTickLabels() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.HasTickLabelsNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool HasTickMarks() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.HasTickMarksNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsAutoFitting() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsAutoFittingNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsForeground() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsForegroundNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLocked() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsInputLockedNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLockedMax() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsInputLockedMaxNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLockedMin() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsInputLockedMinNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsInverted() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsInvertedNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsLocked() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsLockedNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsLockedMax() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsLockedMaxNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsLockedMin() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsLockedMinNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsOpposite() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsOppositeNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsPanLocked(bool increasing) - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsPanLockedNative(@this, increasing ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsRangeLocked() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.IsRangeLockedNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe float PixelSize() - { - fixed (ImPlotAxis* @this = &this) - { - float ret = ImPlot.PixelSizeNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe double PixelsToPlot(float pix) - { - fixed (ImPlotAxis* @this = &this) - { - double ret = ImPlot.PixelsToPlotNative(@this, pix); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe float PlotToPixels(double plt) - { - fixed (ImPlotAxis* @this = &this) - { - float ret = ImPlot.PlotToPixelsNative(@this, plt); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void PullLinks() - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.PullLinksNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void PushLinks() - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.PushLinksNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void SetAspect(double unitPerPix) - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.SetAspectNative(@this, unitPerPix); - } - } - - /// - /// To be documented. - /// - public unsafe bool SetMax(double max, bool force) - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.SetMaxNative(@this, max, force ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool SetMax(double max) - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.SetMaxNative(@this, max, (byte)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool SetMin(double min, bool force) - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.SetMinNative(@this, min, force ? (byte)1 : (byte)0); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool SetMin(double min) - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.SetMinNative(@this, min, (byte)(0)); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void SetRange(double v1, double v2) - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.SetRangeNative(@this, v1, v2); - } - } - - /// - /// To be documented. - /// - public unsafe void SetRange(ImPlotRange range) - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.SetRangeNative(@this, range); - } - } - - /// - /// To be documented. - /// - public unsafe void UpdateTransformCache() - { - fixed (ImPlotAxis* @this = &this) - { - ImPlot.UpdateTransformCacheNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe bool WillRender() - { - fixed (ImPlotAxis* @this = &this) - { - byte ret = ImPlot.WillRenderNative(@this); - return ret != 0; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotAxisPtr : IEquatable - { - public ImPlotAxisPtr(ImPlotAxis* handle) { Handle = handle; } - - public ImPlotAxis* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotAxisPtr Null => new ImPlotAxisPtr(null); - - public ImPlotAxis this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotAxisPtr(ImPlotAxis* handle) => new ImPlotAxisPtr(handle); - - public static implicit operator ImPlotAxis*(ImPlotAxisPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotAxisPtr left, ImPlotAxisPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotAxisPtr left, ImPlotAxisPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotAxisPtr left, ImPlotAxis* right) => left.Handle == right; - - public static bool operator !=(ImPlotAxisPtr left, ImPlotAxis* right) => left.Handle != right; - - public bool Equals(ImPlotAxisPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotAxisPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotAxisPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImPlotAxisFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImPlotAxisFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); - /// - /// To be documented. - /// - public ref ImPlotRange Range => ref Unsafe.AsRef(&Handle->Range); - /// - /// To be documented. - /// - public ref ImPlotCond RangeCond => ref Unsafe.AsRef(&Handle->RangeCond); - /// - /// To be documented. - /// - public ref ImPlotScale Scale => ref Unsafe.AsRef(&Handle->Scale); - /// - /// To be documented. - /// - public ref ImPlotRange FitExtents => ref Unsafe.AsRef(&Handle->FitExtents); - /// - /// To be documented. - /// - public ref ImPlotAxisPtr OrthoAxis => ref Unsafe.AsRef(&Handle->OrthoAxis); - /// - /// To be documented. - /// - public ref ImPlotRange ConstraintRange => ref Unsafe.AsRef(&Handle->ConstraintRange); - /// - /// To be documented. - /// - public ref ImPlotRange ConstraintZoom => ref Unsafe.AsRef(&Handle->ConstraintZoom); - /// - /// To be documented. - /// - public ref ImPlotTicker Ticker => ref Unsafe.AsRef(&Handle->Ticker); - /// - /// To be documented. - /// - public void* Formatter { get => Handle->Formatter; set => Handle->Formatter = value; } - /// - /// To be documented. - /// - public void* FormatterData { get => Handle->FormatterData; set => Handle->FormatterData = value; } - /// - /// To be documented. - /// - public unsafe Span FormatSpec - - { - get - { - return new Span(&Handle->FormatSpec_0, 16); - } - } - /// - /// To be documented. - /// - public void* Locator { get => Handle->Locator; set => Handle->Locator = value; } - /// - /// To be documented. - /// - public double* LinkedMin { get => Handle->LinkedMin; set => Handle->LinkedMin = value; } - /// - /// To be documented. - /// - public double* LinkedMax { get => Handle->LinkedMax; set => Handle->LinkedMax = value; } - /// - /// To be documented. - /// - public ref int PickerLevel => ref Unsafe.AsRef(&Handle->PickerLevel); - /// - /// To be documented. - /// - public ref ImPlotTime PickerTimeMin => ref Unsafe.AsRef(&Handle->PickerTimeMin); - /// - /// To be documented. - /// - public ref ImPlotTime PickerTimeMax => ref Unsafe.AsRef(&Handle->PickerTimeMax); - /// - /// To be documented. - /// - public void* TransformForward { get => Handle->TransformForward; set => Handle->TransformForward = value; } - /// - /// To be documented. - /// - public void* TransformInverse { get => Handle->TransformInverse; set => Handle->TransformInverse = value; } - /// - /// To be documented. - /// - public void* TransformData { get => Handle->TransformData; set => Handle->TransformData = value; } - /// - /// To be documented. - /// - public ref float PixelMin => ref Unsafe.AsRef(&Handle->PixelMin); - /// - /// To be documented. - /// - public ref float PixelMax => ref Unsafe.AsRef(&Handle->PixelMax); - /// - /// To be documented. - /// - public ref double ScaleMin => ref Unsafe.AsRef(&Handle->ScaleMin); - /// - /// To be documented. - /// - public ref double ScaleMax => ref Unsafe.AsRef(&Handle->ScaleMax); - /// - /// To be documented. - /// - public ref double ScaleToPixel => ref Unsafe.AsRef(&Handle->ScaleToPixel); - /// - /// To be documented. - /// - public ref float Datum1 => ref Unsafe.AsRef(&Handle->Datum1); - /// - /// To be documented. - /// - public ref float Datum2 => ref Unsafe.AsRef(&Handle->Datum2); - /// - /// To be documented. - /// - public ref ImRect HoverRect => ref Unsafe.AsRef(&Handle->HoverRect); - /// - /// To be documented. - /// - public ref int LabelOffset => ref Unsafe.AsRef(&Handle->LabelOffset); - /// - /// To be documented. - /// - public ref uint ColorMaj => ref Unsafe.AsRef(&Handle->ColorMaj); - /// - /// To be documented. - /// - public ref uint ColorMin => ref Unsafe.AsRef(&Handle->ColorMin); - /// - /// To be documented. - /// - public ref uint ColorTick => ref Unsafe.AsRef(&Handle->ColorTick); - /// - /// To be documented. - /// - public ref uint ColorTxt => ref Unsafe.AsRef(&Handle->ColorTxt); - /// - /// To be documented. - /// - public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); - /// - /// To be documented. - /// - public ref uint ColorHov => ref Unsafe.AsRef(&Handle->ColorHov); - /// - /// To be documented. - /// - public ref uint ColorAct => ref Unsafe.AsRef(&Handle->ColorAct); - /// - /// To be documented. - /// - public ref uint ColorHiLi => ref Unsafe.AsRef(&Handle->ColorHiLi); - /// - /// To be documented. - /// - public ref bool Enabled => ref Unsafe.AsRef(&Handle->Enabled); - /// - /// To be documented. - /// - public ref bool Vertical => ref Unsafe.AsRef(&Handle->Vertical); - /// - /// To be documented. - /// - public ref bool FitThisFrame => ref Unsafe.AsRef(&Handle->FitThisFrame); - /// - /// To be documented. - /// - public ref bool HasRange => ref Unsafe.AsRef(&Handle->HasRange); - /// - /// To be documented. - /// - public ref bool HasFormatSpec => ref Unsafe.AsRef(&Handle->HasFormatSpec); - /// - /// To be documented. - /// - public ref bool ShowDefaultTicks => ref Unsafe.AsRef(&Handle->ShowDefaultTicks); - /// - /// To be documented. - /// - public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); - /// - /// To be documented. - /// - public ref bool Held => ref Unsafe.AsRef(&Handle->Held); - /// - /// To be documented. - /// - public unsafe void ApplyFit(float padding) - { - ImPlot.ApplyFitNative(Handle, padding); - } - - /// - /// To be documented. - /// - public unsafe bool CanInitFit() - { - byte ret = ImPlot.CanInitFitNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void Constrain() - { - ImPlot.ConstrainNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void ExtendFit(double v) - { - ImPlot.ExtendFitNative(Handle, v); - } - - /// - /// To be documented. - /// - public unsafe void ExtendFitWith(ImPlotAxis* alt, double v, double vAlt) - { - ImPlot.ExtendFitWithNative(Handle, alt, v, vAlt); - } - - /// - /// To be documented. - /// - public unsafe void ExtendFitWith(ref ImPlotAxis alt, double v, double vAlt) - { - fixed (ImPlotAxis* palt = &alt) - { - ImPlot.ExtendFitWithNative(Handle, (ImPlotAxis*)palt, v, vAlt); - } - } - - /// - /// To be documented. - /// - public unsafe double GetAspect() - { - double ret = ImPlot.GetAspectNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe bool HasGridLines() - { - byte ret = ImPlot.HasGridLinesNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool HasLabel() - { - byte ret = ImPlot.HasLabelNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool HasMenus() - { - byte ret = ImPlot.HasMenusNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool HasTickLabels() - { - byte ret = ImPlot.HasTickLabelsNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool HasTickMarks() - { - byte ret = ImPlot.HasTickMarksNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsAutoFitting() - { - byte ret = ImPlot.IsAutoFittingNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsForeground() - { - byte ret = ImPlot.IsForegroundNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLocked() - { - byte ret = ImPlot.IsInputLockedNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLockedMax() - { - byte ret = ImPlot.IsInputLockedMaxNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLockedMin() - { - byte ret = ImPlot.IsInputLockedMinNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsInverted() - { - byte ret = ImPlot.IsInvertedNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsLocked() - { - byte ret = ImPlot.IsLockedNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsLockedMax() - { - byte ret = ImPlot.IsLockedMaxNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsLockedMin() - { - byte ret = ImPlot.IsLockedMinNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsOpposite() - { - byte ret = ImPlot.IsOppositeNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsPanLocked(bool increasing) - { - byte ret = ImPlot.IsPanLockedNative(Handle, increasing ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsRangeLocked() - { - byte ret = ImPlot.IsRangeLockedNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe float PixelSize() - { - float ret = ImPlot.PixelSizeNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe double PixelsToPlot(float pix) - { - double ret = ImPlot.PixelsToPlotNative(Handle, pix); - return ret; - } - - /// - /// To be documented. - /// - public unsafe float PlotToPixels(double plt) - { - float ret = ImPlot.PlotToPixelsNative(Handle, plt); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void PullLinks() - { - ImPlot.PullLinksNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void PushLinks() - { - ImPlot.PushLinksNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void SetAspect(double unitPerPix) - { - ImPlot.SetAspectNative(Handle, unitPerPix); - } - - /// - /// To be documented. - /// - public unsafe bool SetMax(double max, bool force) - { - byte ret = ImPlot.SetMaxNative(Handle, max, force ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool SetMax(double max) - { - byte ret = ImPlot.SetMaxNative(Handle, max, (byte)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool SetMin(double min, bool force) - { - byte ret = ImPlot.SetMinNative(Handle, min, force ? (byte)1 : (byte)0); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool SetMin(double min) - { - byte ret = ImPlot.SetMinNative(Handle, min, (byte)(0)); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void SetRange(double v1, double v2) - { - ImPlot.SetRangeNative(Handle, v1, v2); - } - - /// - /// To be documented. - /// - public unsafe void SetRange(ImPlotRange range) - { - ImPlot.SetRangeNative(Handle, range); - } - - /// - /// To be documented. - /// - public unsafe void UpdateTransformCache() - { - ImPlot.UpdateTransformCacheNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe bool WillRender() - { - byte ret = ImPlot.WillRenderNative(Handle); - return ret != 0; - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxisColor.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxisColor.cs deleted file mode 100644 index 85ec0224f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotAxisColor.cs +++ /dev/null @@ -1,30 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotAxisColor - { - - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotColormapData.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotColormapData.cs deleted file mode 100644 index 5a4eb1fe4..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotColormapData.cs +++ /dev/null @@ -1,914 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotColormapData - { - /// - /// To be documented. - /// - public ImVector Keys; - - /// - /// To be documented. - /// - public ImVector KeyCounts; - - /// - /// To be documented. - /// - public ImVector KeyOffsets; - - /// - /// To be documented. - /// - public ImVector Tables; - - /// - /// To be documented. - /// - public ImVector TableSizes; - - /// - /// To be documented. - /// - public ImVector TableOffsets; - - /// - /// To be documented. - /// - public ImGuiTextBuffer Text; - - /// - /// To be documented. - /// - public ImVector TextOffsets; - - /// - /// To be documented. - /// - public ImVector Quals; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int Count; - - - /// - /// To be documented. - /// - public unsafe ImPlotColormapData(ImVector keys = default, ImVector keyCounts = default, ImVector keyOffsets = default, ImVector tables = default, ImVector tableSizes = default, ImVector tableOffsets = default, ImGuiTextBuffer text = default, ImVector textOffsets = default, ImVector quals = default, ImGuiStorage map = default, int count = default) - { - Keys = keys; - KeyCounts = keyCounts; - KeyOffsets = keyOffsets; - Tables = tables; - TableSizes = tableSizes; - TableOffsets = tableOffsets; - Text = text; - TextOffsets = textOffsets; - Quals = quals; - Map = map; - Count = count; - } - - - /// - /// To be documented. - /// - public unsafe void _AppendTable(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - ImPlot._AppendTableNative(@this, cmap); - } - } - - /// - /// To be documented. - /// - public unsafe int Append(byte* name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - int ret = ImPlot.AppendNative(@this, name, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ref byte name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (byte* pname = &name) - { - int ret = ImPlot.AppendNative(@this, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ReadOnlySpan name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (byte* pname = name) - { - int ret = ImPlot.AppendNative(@this, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(string name, uint* keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImPlot.AppendNative(@this, pStr0, keys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int Append(byte* name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(@this, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ref byte name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (byte* pname = &name) - { - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(@this, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ReadOnlySpan name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (byte* pname = name) - { - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(@this, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(string name, ref uint keys, int count, bool qual) - { - fixed (ImPlotColormapData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(@this, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotColormapData* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(byte* name) - { - fixed (ImPlotColormapData* @this = &this) - { - ImPlotColormap ret = ImPlot.GetIndexNative(@this, name); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(ref byte name) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = ImPlot.GetIndexNative(@this, (byte*)pname); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(ReadOnlySpan name) - { - fixed (ImPlotColormapData* @this = &this) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = ImPlot.GetIndexNative(@this, (byte*)pname); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(string name) - { - fixed (ImPlotColormapData* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = ImPlot.GetIndexNative(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint GetKeyColor(ImPlotColormap cmap, int idx) - { - fixed (ImPlotColormapData* @this = &this) - { - uint ret = ImPlot.GetKeyColorNative(@this, cmap, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetKeyCount(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - int ret = ImPlot.GetKeyCountNative(@this, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint* GetKeys(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - uint* ret = ImPlot.GetKeysNative(@this, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetName(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - byte* ret = ImPlot.GetNameNative(@this, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetNameS(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetNameNative(@this, cmap)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint* GetTable(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - uint* ret = ImPlot.GetTableNative(@this, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint GetTableColor(ImPlotColormap cmap, int idx) - { - fixed (ImPlotColormapData* @this = &this) - { - uint ret = ImPlot.GetTableColorNative(@this, cmap, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetTableSize(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - int ret = ImPlot.GetTableSizeNative(@this, cmap); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsQual(ImPlotColormap cmap) - { - fixed (ImPlotColormapData* @this = &this) - { - byte ret = ImPlot.IsQualNative(@this, cmap); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe uint LerpTable(ImPlotColormap cmap, float t) - { - fixed (ImPlotColormapData* @this = &this) - { - uint ret = ImPlot.LerpTableNative(@this, cmap, t); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void RebuildTables() - { - fixed (ImPlotColormapData* @this = &this) - { - ImPlot.RebuildTablesNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void SetKeyColor(ImPlotColormap cmap, int idx, uint value) - { - fixed (ImPlotColormapData* @this = &this) - { - ImPlot.SetKeyColorNative(@this, cmap, idx, value); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotColormapDataPtr : IEquatable - { - public ImPlotColormapDataPtr(ImPlotColormapData* handle) { Handle = handle; } - - public ImPlotColormapData* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotColormapDataPtr Null => new ImPlotColormapDataPtr(null); - - public ImPlotColormapData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotColormapDataPtr(ImPlotColormapData* handle) => new ImPlotColormapDataPtr(handle); - - public static implicit operator ImPlotColormapData*(ImPlotColormapDataPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotColormapDataPtr left, ImPlotColormapDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotColormapDataPtr left, ImPlotColormapDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotColormapDataPtr left, ImPlotColormapData* right) => left.Handle == right; - - public static bool operator !=(ImPlotColormapDataPtr left, ImPlotColormapData* right) => left.Handle != right; - - public bool Equals(ImPlotColormapDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotColormapDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotColormapDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Keys => ref Unsafe.AsRef>(&Handle->Keys); - /// - /// To be documented. - /// - public ref ImVector KeyCounts => ref Unsafe.AsRef>(&Handle->KeyCounts); - /// - /// To be documented. - /// - public ref ImVector KeyOffsets => ref Unsafe.AsRef>(&Handle->KeyOffsets); - /// - /// To be documented. - /// - public ref ImVector Tables => ref Unsafe.AsRef>(&Handle->Tables); - /// - /// To be documented. - /// - public ref ImVector TableSizes => ref Unsafe.AsRef>(&Handle->TableSizes); - /// - /// To be documented. - /// - public ref ImVector TableOffsets => ref Unsafe.AsRef>(&Handle->TableOffsets); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer Text => ref Unsafe.AsRef(&Handle->Text); - /// - /// To be documented. - /// - public ref ImVector TextOffsets => ref Unsafe.AsRef>(&Handle->TextOffsets); - /// - /// To be documented. - /// - public ref ImVector Quals => ref Unsafe.AsRef>(&Handle->Quals); - /// - /// To be documented. - /// - public ref ImGuiStorage Map => ref Unsafe.AsRef(&Handle->Map); - /// - /// To be documented. - /// - public ref int Count => ref Unsafe.AsRef(&Handle->Count); - /// - /// To be documented. - /// - public unsafe void _AppendTable(ImPlotColormap cmap) - { - ImPlot._AppendTableNative(Handle, cmap); - } - - /// - /// To be documented. - /// - public unsafe int Append(byte* name, uint* keys, int count, bool qual) - { - int ret = ImPlot.AppendNative(Handle, name, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int Append(ref byte name, uint* keys, int count, bool qual) - { - fixed (byte* pname = &name) - { - int ret = ImPlot.AppendNative(Handle, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ReadOnlySpan name, uint* keys, int count, bool qual) - { - fixed (byte* pname = name) - { - int ret = ImPlot.AppendNative(Handle, (byte*)pname, keys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int Append(string name, uint* keys, int count, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - int ret = ImPlot.AppendNative(Handle, pStr0, keys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe int Append(byte* name, ref uint keys, int count, bool qual) - { - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(Handle, name, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ref byte name, ref uint keys, int count, bool qual) - { - fixed (byte* pname = &name) - { - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(Handle, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(ReadOnlySpan name, ref uint keys, int count, bool qual) - { - fixed (byte* pname = name) - { - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(Handle, (byte*)pname, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int Append(string name, ref uint keys, int count, bool qual) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - fixed (uint* pkeys = &keys) - { - int ret = ImPlot.AppendNative(Handle, pStr0, (uint*)pkeys, count, qual ? (byte)1 : (byte)0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(byte* name) - { - ImPlotColormap ret = ImPlot.GetIndexNative(Handle, name); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(ref byte name) - { - fixed (byte* pname = &name) - { - ImPlotColormap ret = ImPlot.GetIndexNative(Handle, (byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(ReadOnlySpan name) - { - fixed (byte* pname = name) - { - ImPlotColormap ret = ImPlot.GetIndexNative(Handle, (byte*)pname); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotColormap GetIndex(string name) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (name != null) - { - pStrSize0 = Utils.GetByteCountUTF8(name); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(name, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotColormap ret = ImPlot.GetIndexNative(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe uint GetKeyColor(ImPlotColormap cmap, int idx) - { - uint ret = ImPlot.GetKeyColorNative(Handle, cmap, idx); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetKeyCount(ImPlotColormap cmap) - { - int ret = ImPlot.GetKeyCountNative(Handle, cmap); - return ret; - } - - /// - /// To be documented. - /// - public unsafe uint* GetKeys(ImPlotColormap cmap) - { - uint* ret = ImPlot.GetKeysNative(Handle, cmap); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* GetName(ImPlotColormap cmap) - { - byte* ret = ImPlot.GetNameNative(Handle, cmap); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetNameS(ImPlotColormap cmap) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetNameNative(Handle, cmap)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe uint* GetTable(ImPlotColormap cmap) - { - uint* ret = ImPlot.GetTableNative(Handle, cmap); - return ret; - } - - /// - /// To be documented. - /// - public unsafe uint GetTableColor(ImPlotColormap cmap, int idx) - { - uint ret = ImPlot.GetTableColorNative(Handle, cmap, idx); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetTableSize(ImPlotColormap cmap) - { - int ret = ImPlot.GetTableSizeNative(Handle, cmap); - return ret; - } - - /// - /// To be documented. - /// - public unsafe bool IsQual(ImPlotColormap cmap) - { - byte ret = ImPlot.IsQualNative(Handle, cmap); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe uint LerpTable(ImPlotColormap cmap, float t) - { - uint ret = ImPlot.LerpTableNative(Handle, cmap, t); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void RebuildTables() - { - ImPlot.RebuildTablesNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void SetKeyColor(ImPlotColormap cmap, int idx, uint value) - { - ImPlot.SetKeyColorNative(Handle, cmap, idx, value); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotContext.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotContext.cs deleted file mode 100644 index c23fb1f9f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotContext.cs +++ /dev/null @@ -1,380 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotContext - { - /// - /// To be documented. - /// - public ImPoolImPlotPlot Plots; - - /// - /// To be documented. - /// - public ImPoolImPlotSubplot Subplots; - - /// - /// To be documented. - /// - public unsafe ImPlotPlot* CurrentPlot; - - /// - /// To be documented. - /// - public unsafe ImPlotSubplot* CurrentSubplot; - - /// - /// To be documented. - /// - public unsafe ImPlotItemGroup* CurrentItems; - - /// - /// To be documented. - /// - public unsafe ImPlotItem* CurrentItem; - - /// - /// To be documented. - /// - public unsafe ImPlotItem* PreviousItem; - - /// - /// To be documented. - /// - public ImPlotTicker CTicker; - - /// - /// To be documented. - /// - public ImPlotAnnotationCollection Annotations; - - /// - /// To be documented. - /// - public ImPlotTagCollection Tags; - - /// - /// To be documented. - /// - public ImPlotStyle Style; - - /// - /// To be documented. - /// - public ImVector ColorModifiers; - - /// - /// To be documented. - /// - public ImVector StyleModifiers; - - /// - /// To be documented. - /// - public ImPlotColormapData ColormapData; - - /// - /// To be documented. - /// - public ImVector ColormapModifiers; - - /// - /// To be documented. - /// - public Tm Tm; - - /// - /// To be documented. - /// - public ImVector TempDouble1; - - /// - /// To be documented. - /// - public ImVector TempDouble2; - - /// - /// To be documented. - /// - public ImVector TempInt1; - - /// - /// To be documented. - /// - public int DigitalPlotItemCnt; - - /// - /// To be documented. - /// - public int DigitalPlotOffset; - - /// - /// To be documented. - /// - public ImPlotNextPlotData NextPlotData; - - /// - /// To be documented. - /// - public ImPlotNextItemData NextItemData; - - /// - /// To be documented. - /// - public ImPlotInputMap InputMap; - - /// - /// To be documented. - /// - public byte OpenContextThisFrame; - - /// - /// To be documented. - /// - public ImGuiTextBuffer MousePosStringBuilder; - - /// - /// To be documented. - /// - public unsafe ImPlotItemGroup* SortItems; - - /// - /// To be documented. - /// - public ImPoolImPlotAlignmentData AlignmentData; - - /// - /// To be documented. - /// - public unsafe ImPlotAlignmentData* CurrentAlignmentH; - - /// - /// To be documented. - /// - public unsafe ImPlotAlignmentData* CurrentAlignmentV; - - - /// - /// To be documented. - /// - public unsafe ImPlotContext(ImPoolImPlotPlot plots = default, ImPoolImPlotSubplot subplots = default, ImPlotPlot* currentPlot = default, ImPlotSubplot* currentSubplot = default, ImPlotItemGroup* currentItems = default, ImPlotItem* currentItem = default, ImPlotItem* previousItem = default, ImPlotTicker cTicker = default, ImPlotAnnotationCollection annotations = default, ImPlotTagCollection tags = default, ImPlotStyle style = default, ImVector colorModifiers = default, ImVector styleModifiers = default, ImPlotColormapData colormapData = default, ImVector colormapModifiers = default, Tm tm = default, ImVector tempDouble1 = default, ImVector tempDouble2 = default, ImVector tempInt1 = default, int digitalPlotItemCnt = default, int digitalPlotOffset = default, ImPlotNextPlotData nextPlotData = default, ImPlotNextItemData nextItemData = default, ImPlotInputMap inputMap = default, bool openContextThisFrame = default, ImGuiTextBuffer mousePosStringBuilder = default, ImPlotItemGroup* sortItems = default, ImPoolImPlotAlignmentData alignmentData = default, ImPlotAlignmentData* currentAlignmentH = default, ImPlotAlignmentData* currentAlignmentV = default) - { - Plots = plots; - Subplots = subplots; - CurrentPlot = currentPlot; - CurrentSubplot = currentSubplot; - CurrentItems = currentItems; - CurrentItem = currentItem; - PreviousItem = previousItem; - CTicker = cTicker; - Annotations = annotations; - Tags = tags; - Style = style; - ColorModifiers = colorModifiers; - StyleModifiers = styleModifiers; - ColormapData = colormapData; - ColormapModifiers = colormapModifiers; - Tm = tm; - TempDouble1 = tempDouble1; - TempDouble2 = tempDouble2; - TempInt1 = tempInt1; - DigitalPlotItemCnt = digitalPlotItemCnt; - DigitalPlotOffset = digitalPlotOffset; - NextPlotData = nextPlotData; - NextItemData = nextItemData; - InputMap = inputMap; - OpenContextThisFrame = openContextThisFrame ? (byte)1 : (byte)0; - MousePosStringBuilder = mousePosStringBuilder; - SortItems = sortItems; - AlignmentData = alignmentData; - CurrentAlignmentH = currentAlignmentH; - CurrentAlignmentV = currentAlignmentV; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotContextPtr : IEquatable - { - public ImPlotContextPtr(ImPlotContext* handle) { Handle = handle; } - - public ImPlotContext* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotContextPtr Null => new ImPlotContextPtr(null); - - public ImPlotContext this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotContextPtr(ImPlotContext* handle) => new ImPlotContextPtr(handle); - - public static implicit operator ImPlotContext*(ImPlotContextPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotContextPtr left, ImPlotContextPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotContextPtr left, ImPlotContextPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotContextPtr left, ImPlotContext* right) => left.Handle == right; - - public static bool operator !=(ImPlotContextPtr left, ImPlotContext* right) => left.Handle != right; - - public bool Equals(ImPlotContextPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotContextPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImPoolImPlotPlot Plots => ref Unsafe.AsRef(&Handle->Plots); - /// - /// To be documented. - /// - public ref ImPoolImPlotSubplot Subplots => ref Unsafe.AsRef(&Handle->Subplots); - /// - /// To be documented. - /// - public ref ImPlotPlotPtr CurrentPlot => ref Unsafe.AsRef(&Handle->CurrentPlot); - /// - /// To be documented. - /// - public ref ImPlotSubplotPtr CurrentSubplot => ref Unsafe.AsRef(&Handle->CurrentSubplot); - /// - /// To be documented. - /// - public ref ImPlotItemGroupPtr CurrentItems => ref Unsafe.AsRef(&Handle->CurrentItems); - /// - /// To be documented. - /// - public ref ImPlotItemPtr CurrentItem => ref Unsafe.AsRef(&Handle->CurrentItem); - /// - /// To be documented. - /// - public ref ImPlotItemPtr PreviousItem => ref Unsafe.AsRef(&Handle->PreviousItem); - /// - /// To be documented. - /// - public ref ImPlotTicker CTicker => ref Unsafe.AsRef(&Handle->CTicker); - /// - /// To be documented. - /// - public ref ImPlotAnnotationCollection Annotations => ref Unsafe.AsRef(&Handle->Annotations); - /// - /// To be documented. - /// - public ref ImPlotTagCollection Tags => ref Unsafe.AsRef(&Handle->Tags); - /// - /// To be documented. - /// - public ref ImPlotStyle Style => ref Unsafe.AsRef(&Handle->Style); - /// - /// To be documented. - /// - public ref ImVector ColorModifiers => ref Unsafe.AsRef>(&Handle->ColorModifiers); - /// - /// To be documented. - /// - public ref ImVector StyleModifiers => ref Unsafe.AsRef>(&Handle->StyleModifiers); - /// - /// To be documented. - /// - public ref ImPlotColormapData ColormapData => ref Unsafe.AsRef(&Handle->ColormapData); - /// - /// To be documented. - /// - public ref ImVector ColormapModifiers => ref Unsafe.AsRef>(&Handle->ColormapModifiers); - /// - /// To be documented. - /// - public ref Tm Tm => ref Unsafe.AsRef(&Handle->Tm); - /// - /// To be documented. - /// - public ref ImVector TempDouble1 => ref Unsafe.AsRef>(&Handle->TempDouble1); - /// - /// To be documented. - /// - public ref ImVector TempDouble2 => ref Unsafe.AsRef>(&Handle->TempDouble2); - /// - /// To be documented. - /// - public ref ImVector TempInt1 => ref Unsafe.AsRef>(&Handle->TempInt1); - /// - /// To be documented. - /// - public ref int DigitalPlotItemCnt => ref Unsafe.AsRef(&Handle->DigitalPlotItemCnt); - /// - /// To be documented. - /// - public ref int DigitalPlotOffset => ref Unsafe.AsRef(&Handle->DigitalPlotOffset); - /// - /// To be documented. - /// - public ref ImPlotNextPlotData NextPlotData => ref Unsafe.AsRef(&Handle->NextPlotData); - /// - /// To be documented. - /// - public ref ImPlotNextItemData NextItemData => ref Unsafe.AsRef(&Handle->NextItemData); - /// - /// To be documented. - /// - public ref ImPlotInputMap InputMap => ref Unsafe.AsRef(&Handle->InputMap); - /// - /// To be documented. - /// - public ref bool OpenContextThisFrame => ref Unsafe.AsRef(&Handle->OpenContextThisFrame); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer MousePosStringBuilder => ref Unsafe.AsRef(&Handle->MousePosStringBuilder); - /// - /// To be documented. - /// - public ref ImPlotItemGroupPtr SortItems => ref Unsafe.AsRef(&Handle->SortItems); - /// - /// To be documented. - /// - public ref ImPoolImPlotAlignmentData AlignmentData => ref Unsafe.AsRef(&Handle->AlignmentData); - /// - /// To be documented. - /// - public ref ImPlotAlignmentDataPtr CurrentAlignmentH => ref Unsafe.AsRef(&Handle->CurrentAlignmentH); - /// - /// To be documented. - /// - public ref ImPlotAlignmentDataPtr CurrentAlignmentV => ref Unsafe.AsRef(&Handle->CurrentAlignmentV); - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs deleted file mode 100644 index 0a6f600ee..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotDateTimeSpec.cs +++ /dev/null @@ -1,139 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotDateTimeSpec - { - /// - /// To be documented. - /// - public ImPlotDateFmt Date; - - /// - /// To be documented. - /// - public ImPlotTimeFmt Time; - - /// - /// To be documented. - /// - public byte UseISO8601; - - /// - /// To be documented. - /// - public byte Use24HourClock; - - - /// - /// To be documented. - /// - public unsafe ImPlotDateTimeSpec(ImPlotDateFmt date = default, ImPlotTimeFmt time = default, bool useIso8601 = default, bool use24HourClock = default) - { - Date = date; - Time = time; - UseISO8601 = useIso8601 ? (byte)1 : (byte)0; - Use24HourClock = use24HourClock ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotDateTimeSpec* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotDateTimeSpecPtr : IEquatable - { - public ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* handle) { Handle = handle; } - - public ImPlotDateTimeSpec* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotDateTimeSpecPtr Null => new ImPlotDateTimeSpecPtr(null); - - public ImPlotDateTimeSpec this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* handle) => new ImPlotDateTimeSpecPtr(handle); - - public static implicit operator ImPlotDateTimeSpec*(ImPlotDateTimeSpecPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpecPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpecPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpec* right) => left.Handle == right; - - public static bool operator !=(ImPlotDateTimeSpecPtr left, ImPlotDateTimeSpec* right) => left.Handle != right; - - public bool Equals(ImPlotDateTimeSpecPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotDateTimeSpecPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotDateTimeSpecPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImPlotDateFmt Date => ref Unsafe.AsRef(&Handle->Date); - /// - /// To be documented. - /// - public ref ImPlotTimeFmt Time => ref Unsafe.AsRef(&Handle->Time); - /// - /// To be documented. - /// - public ref bool UseISO8601 => ref Unsafe.AsRef(&Handle->UseISO8601); - /// - /// To be documented. - /// - public ref bool Use24HourClock => ref Unsafe.AsRef(&Handle->Use24HourClock); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotInputMap.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotInputMap.cs deleted file mode 100644 index 1fb57b6e3..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotInputMap.cs +++ /dev/null @@ -1,219 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotInputMap - { - /// - /// To be documented. - /// - public ImGuiMouseButton Pan; - - /// - /// To be documented. - /// - public int PanMod; - - /// - /// To be documented. - /// - public ImGuiMouseButton Fit; - - /// - /// To be documented. - /// - public ImGuiMouseButton Select; - - /// - /// To be documented. - /// - public ImGuiMouseButton SelectCancel; - - /// - /// To be documented. - /// - public int SelectMod; - - /// - /// To be documented. - /// - public int SelectHorzMod; - - /// - /// To be documented. - /// - public int SelectVertMod; - - /// - /// To be documented. - /// - public ImGuiMouseButton Menu; - - /// - /// To be documented. - /// - public int OverrideMod; - - /// - /// To be documented. - /// - public int ZoomMod; - - /// - /// To be documented. - /// - public float ZoomRate; - - - /// - /// To be documented. - /// - public unsafe ImPlotInputMap(ImGuiMouseButton pan = default, int panMod = default, ImGuiMouseButton fit = default, ImGuiMouseButton select = default, ImGuiMouseButton selectCancel = default, int selectMod = default, int selectHorzMod = default, int selectVertMod = default, ImGuiMouseButton menu = default, int overrideMod = default, int zoomMod = default, float zoomRate = default) - { - Pan = pan; - PanMod = panMod; - Fit = fit; - Select = select; - SelectCancel = selectCancel; - SelectMod = selectMod; - SelectHorzMod = selectHorzMod; - SelectVertMod = selectVertMod; - Menu = menu; - OverrideMod = overrideMod; - ZoomMod = zoomMod; - ZoomRate = zoomRate; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotInputMap* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotInputMapPtr : IEquatable - { - public ImPlotInputMapPtr(ImPlotInputMap* handle) { Handle = handle; } - - public ImPlotInputMap* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotInputMapPtr Null => new ImPlotInputMapPtr(null); - - public ImPlotInputMap this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotInputMapPtr(ImPlotInputMap* handle) => new ImPlotInputMapPtr(handle); - - public static implicit operator ImPlotInputMap*(ImPlotInputMapPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotInputMapPtr left, ImPlotInputMapPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotInputMapPtr left, ImPlotInputMapPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotInputMapPtr left, ImPlotInputMap* right) => left.Handle == right; - - public static bool operator !=(ImPlotInputMapPtr left, ImPlotInputMap* right) => left.Handle != right; - - public bool Equals(ImPlotInputMapPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotInputMapPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotInputMapPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImGuiMouseButton Pan => ref Unsafe.AsRef(&Handle->Pan); - /// - /// To be documented. - /// - public ref int PanMod => ref Unsafe.AsRef(&Handle->PanMod); - /// - /// To be documented. - /// - public ref ImGuiMouseButton Fit => ref Unsafe.AsRef(&Handle->Fit); - /// - /// To be documented. - /// - public ref ImGuiMouseButton Select => ref Unsafe.AsRef(&Handle->Select); - /// - /// To be documented. - /// - public ref ImGuiMouseButton SelectCancel => ref Unsafe.AsRef(&Handle->SelectCancel); - /// - /// To be documented. - /// - public ref int SelectMod => ref Unsafe.AsRef(&Handle->SelectMod); - /// - /// To be documented. - /// - public ref int SelectHorzMod => ref Unsafe.AsRef(&Handle->SelectHorzMod); - /// - /// To be documented. - /// - public ref int SelectVertMod => ref Unsafe.AsRef(&Handle->SelectVertMod); - /// - /// To be documented. - /// - public ref ImGuiMouseButton Menu => ref Unsafe.AsRef(&Handle->Menu); - /// - /// To be documented. - /// - public ref int OverrideMod => ref Unsafe.AsRef(&Handle->OverrideMod); - /// - /// To be documented. - /// - public ref int ZoomMod => ref Unsafe.AsRef(&Handle->ZoomMod); - /// - /// To be documented. - /// - public ref float ZoomRate => ref Unsafe.AsRef(&Handle->ZoomRate); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItem.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItem.cs deleted file mode 100644 index 43e9f5474..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItem.cs +++ /dev/null @@ -1,169 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotItem - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public uint Color; - - /// - /// To be documented. - /// - public ImRect LegendHoverRect; - - /// - /// To be documented. - /// - public int NameOffset; - - /// - /// To be documented. - /// - public byte Show; - - /// - /// To be documented. - /// - public byte LegendHovered; - - /// - /// To be documented. - /// - public byte SeenThisFrame; - - - /// - /// To be documented. - /// - public unsafe ImPlotItem(uint id = default, uint color = default, ImRect legendHoverRect = default, int nameOffset = default, bool show = default, bool legendHovered = default, bool seenThisFrame = default) - { - ID = id; - Color = color; - LegendHoverRect = legendHoverRect; - NameOffset = nameOffset; - Show = show ? (byte)1 : (byte)0; - LegendHovered = legendHovered ? (byte)1 : (byte)0; - SeenThisFrame = seenThisFrame ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotItem* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotItemPtr : IEquatable - { - public ImPlotItemPtr(ImPlotItem* handle) { Handle = handle; } - - public ImPlotItem* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotItemPtr Null => new ImPlotItemPtr(null); - - public ImPlotItem this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotItemPtr(ImPlotItem* handle) => new ImPlotItemPtr(handle); - - public static implicit operator ImPlotItem*(ImPlotItemPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotItemPtr left, ImPlotItemPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotItemPtr left, ImPlotItemPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotItemPtr left, ImPlotItem* right) => left.Handle == right; - - public static bool operator !=(ImPlotItemPtr left, ImPlotItem* right) => left.Handle != right; - - public bool Equals(ImPlotItemPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotItemPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref uint Color => ref Unsafe.AsRef(&Handle->Color); - /// - /// To be documented. - /// - public ref ImRect LegendHoverRect => ref Unsafe.AsRef(&Handle->LegendHoverRect); - /// - /// To be documented. - /// - public ref int NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); - /// - /// To be documented. - /// - public ref bool Show => ref Unsafe.AsRef(&Handle->Show); - /// - /// To be documented. - /// - public ref bool LegendHovered => ref Unsafe.AsRef(&Handle->LegendHovered); - /// - /// To be documented. - /// - public ref bool SeenThisFrame => ref Unsafe.AsRef(&Handle->SeenThisFrame); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItemGroup.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItemGroup.cs deleted file mode 100644 index 5b15bc39c..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotItemGroup.cs +++ /dev/null @@ -1,650 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotItemGroup - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImPlotLegend Legend; - - /// - /// To be documented. - /// - public ImPoolImPlotItem ItemPool; - - /// - /// To be documented. - /// - public int ColormapIdx; - - - /// - /// To be documented. - /// - public unsafe ImPlotItemGroup(uint id = default, ImPlotLegend legend = default, ImPoolImPlotItem itemPool = default, int colormapIdx = default) - { - ID = id; - Legend = legend; - ItemPool = itemPool; - ColormapIdx = colormapIdx; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(uint id) - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlotItem* ret = ImPlot.GetItemNative(@this, id); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(byte* labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlotItem* ret = ImPlot.GetItemNative(@this, labelId); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(ref byte labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItem* ret = ImPlot.GetItemNative(@this, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(ReadOnlySpan labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - fixed (byte* plabelId = labelId) - { - ImPlotItem* ret = ImPlot.GetItemNative(@this, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(string labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItem* ret = ImPlot.GetItemNative(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItemByIndex(int i) - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlotItem* ret = ImPlot.GetItemByIndexNative(@this, i); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetItemCount() - { - fixed (ImPlotItemGroup* @this = &this) - { - int ret = ImPlot.GetItemCountNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(byte* labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - uint ret = ImPlot.GetItemIDNative(@this, labelId); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(ref byte labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - fixed (byte* plabelId = &labelId) - { - uint ret = ImPlot.GetItemIDNative(@this, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(ReadOnlySpan labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - fixed (byte* plabelId = labelId) - { - uint ret = ImPlot.GetItemIDNative(@this, (byte*)plabelId); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(string labelId) - { - fixed (ImPlotItemGroup* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImPlot.GetItemIDNative(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetItemIndex(ImPlotItem* item) - { - fixed (ImPlotItemGroup* @this = &this) - { - int ret = ImPlot.GetItemIndexNative(@this, item); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetItemIndex(ref ImPlotItem item) - { - fixed (ImPlotItemGroup* @this = &this) - { - fixed (ImPlotItem* pitem = &item) - { - int ret = ImPlot.GetItemIndexNative(@this, (ImPlotItem*)pitem); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe int GetLegendCount() - { - fixed (ImPlotItemGroup* @this = &this) - { - int ret = ImPlot.GetLegendCountNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetLegendItem(int i) - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlotItem* ret = ImPlot.GetLegendItemNative(@this, i); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetLegendLabel(int i) - { - fixed (ImPlotItemGroup* @this = &this) - { - byte* ret = ImPlot.GetLegendLabelNative(@this, i); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetLegendLabelS(int i) - { - fixed (ImPlotItemGroup* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetLegendLabelNative(@this, i)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetOrAddItem(uint id) - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlotItem* ret = ImPlot.GetOrAddItemNative(@this, id); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotItemGroup* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotItemGroupPtr : IEquatable - { - public ImPlotItemGroupPtr(ImPlotItemGroup* handle) { Handle = handle; } - - public ImPlotItemGroup* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotItemGroupPtr Null => new ImPlotItemGroupPtr(null); - - public ImPlotItemGroup this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotItemGroupPtr(ImPlotItemGroup* handle) => new ImPlotItemGroupPtr(handle); - - public static implicit operator ImPlotItemGroup*(ImPlotItemGroupPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotItemGroupPtr left, ImPlotItemGroupPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotItemGroupPtr left, ImPlotItemGroupPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotItemGroupPtr left, ImPlotItemGroup* right) => left.Handle == right; - - public static bool operator !=(ImPlotItemGroupPtr left, ImPlotItemGroup* right) => left.Handle != right; - - public bool Equals(ImPlotItemGroupPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotItemGroupPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotItemGroupPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImPlotLegend Legend => ref Unsafe.AsRef(&Handle->Legend); - /// - /// To be documented. - /// - public ref ImPoolImPlotItem ItemPool => ref Unsafe.AsRef(&Handle->ItemPool); - /// - /// To be documented. - /// - public ref int ColormapIdx => ref Unsafe.AsRef(&Handle->ColormapIdx); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(uint id) - { - ImPlotItem* ret = ImPlot.GetItemNative(Handle, id); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(byte* labelId) - { - ImPlotItem* ret = ImPlot.GetItemNative(Handle, labelId); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - ImPlotItem* ret = ImPlot.GetItemNative(Handle, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - ImPlotItem* ret = ImPlot.GetItemNative(Handle, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItem(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotItem* ret = ImPlot.GetItemNative(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetItemByIndex(int i) - { - ImPlotItem* ret = ImPlot.GetItemByIndexNative(Handle, i); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetItemCount() - { - int ret = ImPlot.GetItemCountNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(byte* labelId) - { - uint ret = ImPlot.GetItemIDNative(Handle, labelId); - return ret; - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(ref byte labelId) - { - fixed (byte* plabelId = &labelId) - { - uint ret = ImPlot.GetItemIDNative(Handle, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(ReadOnlySpan labelId) - { - fixed (byte* plabelId = labelId) - { - uint ret = ImPlot.GetItemIDNative(Handle, (byte*)plabelId); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe uint GetItemID(string labelId) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (labelId != null) - { - pStrSize0 = Utils.GetByteCountUTF8(labelId); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(labelId, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - uint ret = ImPlot.GetItemIDNative(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetItemIndex(ImPlotItem* item) - { - int ret = ImPlot.GetItemIndexNative(Handle, item); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int GetItemIndex(ref ImPlotItem item) - { - fixed (ImPlotItem* pitem = &item) - { - int ret = ImPlot.GetItemIndexNative(Handle, (ImPlotItem*)pitem); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int GetLegendCount() - { - int ret = ImPlot.GetLegendCountNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetLegendItem(int i) - { - ImPlotItem* ret = ImPlot.GetLegendItemNative(Handle, i); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* GetLegendLabel(int i) - { - byte* ret = ImPlot.GetLegendLabelNative(Handle, i); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetLegendLabelS(int i) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetLegendLabelNative(Handle, i)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotItem* GetOrAddItem(uint id) - { - ImPlotItem* ret = ImPlot.GetOrAddItemNative(Handle, id); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotLegend.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotLegend.cs deleted file mode 100644 index 657bdc9e3..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotLegend.cs +++ /dev/null @@ -1,238 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotLegend - { - /// - /// To be documented. - /// - public ImPlotLegendFlags Flags; - - /// - /// To be documented. - /// - public ImPlotLegendFlags PreviousFlags; - - /// - /// To be documented. - /// - public ImPlotLocation Location; - - /// - /// To be documented. - /// - public ImPlotLocation PreviousLocation; - - /// - /// To be documented. - /// - public Vector2 Scroll; - - /// - /// To be documented. - /// - public ImVector Indices; - - /// - /// To be documented. - /// - public ImGuiTextBuffer Labels; - - /// - /// To be documented. - /// - public ImRect Rect; - - /// - /// To be documented. - /// - public ImRect RectClamped; - - /// - /// To be documented. - /// - public byte Hovered; - - /// - /// To be documented. - /// - public byte Held; - - /// - /// To be documented. - /// - public byte CanGoInside; - - - /// - /// To be documented. - /// - public unsafe ImPlotLegend(ImPlotLegendFlags flags = default, ImPlotLegendFlags previousFlags = default, ImPlotLocation location = default, ImPlotLocation previousLocation = default, Vector2 scroll = default, ImVector indices = default, ImGuiTextBuffer labels = default, ImRect rect = default, ImRect rectClamped = default, bool hovered = default, bool held = default, bool canGoInside = default) - { - Flags = flags; - PreviousFlags = previousFlags; - Location = location; - PreviousLocation = previousLocation; - Scroll = scroll; - Indices = indices; - Labels = labels; - Rect = rect; - RectClamped = rectClamped; - Hovered = hovered ? (byte)1 : (byte)0; - Held = held ? (byte)1 : (byte)0; - CanGoInside = canGoInside ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotLegend* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotLegend* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotLegendPtr : IEquatable - { - public ImPlotLegendPtr(ImPlotLegend* handle) { Handle = handle; } - - public ImPlotLegend* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotLegendPtr Null => new ImPlotLegendPtr(null); - - public ImPlotLegend this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotLegendPtr(ImPlotLegend* handle) => new ImPlotLegendPtr(handle); - - public static implicit operator ImPlotLegend*(ImPlotLegendPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotLegendPtr left, ImPlotLegendPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotLegendPtr left, ImPlotLegendPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotLegendPtr left, ImPlotLegend* right) => left.Handle == right; - - public static bool operator !=(ImPlotLegendPtr left, ImPlotLegend* right) => left.Handle != right; - - public bool Equals(ImPlotLegendPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotLegendPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotLegendPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImPlotLegendFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImPlotLegendFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); - /// - /// To be documented. - /// - public ref ImPlotLocation Location => ref Unsafe.AsRef(&Handle->Location); - /// - /// To be documented. - /// - public ref ImPlotLocation PreviousLocation => ref Unsafe.AsRef(&Handle->PreviousLocation); - /// - /// To be documented. - /// - public ref Vector2 Scroll => ref Unsafe.AsRef(&Handle->Scroll); - /// - /// To be documented. - /// - public ref ImVector Indices => ref Unsafe.AsRef>(&Handle->Indices); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer Labels => ref Unsafe.AsRef(&Handle->Labels); - /// - /// To be documented. - /// - public ref ImRect Rect => ref Unsafe.AsRef(&Handle->Rect); - /// - /// To be documented. - /// - public ref ImRect RectClamped => ref Unsafe.AsRef(&Handle->RectClamped); - /// - /// To be documented. - /// - public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); - /// - /// To be documented. - /// - public ref bool Held => ref Unsafe.AsRef(&Handle->Held); - /// - /// To be documented. - /// - public ref bool CanGoInside => ref Unsafe.AsRef(&Handle->CanGoInside); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextItemData.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextItemData.cs deleted file mode 100644 index 77bb49e1e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextItemData.cs +++ /dev/null @@ -1,351 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotNextItemData - { - /// - /// To be documented. - /// - public Vector4 Colors_0; - public Vector4 Colors_1; - public Vector4 Colors_2; - public Vector4 Colors_3; - public Vector4 Colors_4; - - /// - /// To be documented. - /// - public float LineWeight; - - /// - /// To be documented. - /// - public ImPlotMarker Marker; - - /// - /// To be documented. - /// - public float MarkerSize; - - /// - /// To be documented. - /// - public float MarkerWeight; - - /// - /// To be documented. - /// - public float FillAlpha; - - /// - /// To be documented. - /// - public float ErrorBarSize; - - /// - /// To be documented. - /// - public float ErrorBarWeight; - - /// - /// To be documented. - /// - public float DigitalBitHeight; - - /// - /// To be documented. - /// - public float DigitalBitGap; - - /// - /// To be documented. - /// - public byte RenderLine; - - /// - /// To be documented. - /// - public byte RenderFill; - - /// - /// To be documented. - /// - public byte RenderMarkerLine; - - /// - /// To be documented. - /// - public byte RenderMarkerFill; - - /// - /// To be documented. - /// - public byte HasHidden; - - /// - /// To be documented. - /// - public byte Hidden; - - /// - /// To be documented. - /// - public ImPlotCond HiddenCond; - - - /// - /// To be documented. - /// - public unsafe ImPlotNextItemData(Vector4* colors = default, float lineWeight = default, ImPlotMarker marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, bool renderLine = default, bool renderFill = default, bool renderMarkerLine = default, bool renderMarkerFill = default, bool hasHidden = default, bool hidden = default, ImPlotCond hiddenCond = default) - { - if (colors != default(Vector4*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - } - LineWeight = lineWeight; - Marker = marker; - MarkerSize = markerSize; - MarkerWeight = markerWeight; - FillAlpha = fillAlpha; - ErrorBarSize = errorBarSize; - ErrorBarWeight = errorBarWeight; - DigitalBitHeight = digitalBitHeight; - DigitalBitGap = digitalBitGap; - RenderLine = renderLine ? (byte)1 : (byte)0; - RenderFill = renderFill ? (byte)1 : (byte)0; - RenderMarkerLine = renderMarkerLine ? (byte)1 : (byte)0; - RenderMarkerFill = renderMarkerFill ? (byte)1 : (byte)0; - HasHidden = hasHidden ? (byte)1 : (byte)0; - Hidden = hidden ? (byte)1 : (byte)0; - HiddenCond = hiddenCond; - } - - /// - /// To be documented. - /// - public unsafe ImPlotNextItemData(Span colors = default, float lineWeight = default, ImPlotMarker marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, bool renderLine = default, bool renderFill = default, bool renderMarkerLine = default, bool renderMarkerFill = default, bool hasHidden = default, bool hidden = default, ImPlotCond hiddenCond = default) - { - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - } - LineWeight = lineWeight; - Marker = marker; - MarkerSize = markerSize; - MarkerWeight = markerWeight; - FillAlpha = fillAlpha; - ErrorBarSize = errorBarSize; - ErrorBarWeight = errorBarWeight; - DigitalBitHeight = digitalBitHeight; - DigitalBitGap = digitalBitGap; - RenderLine = renderLine ? (byte)1 : (byte)0; - RenderFill = renderFill ? (byte)1 : (byte)0; - RenderMarkerLine = renderMarkerLine ? (byte)1 : (byte)0; - RenderMarkerFill = renderMarkerFill ? (byte)1 : (byte)0; - HasHidden = hasHidden ? (byte)1 : (byte)0; - Hidden = hidden ? (byte)1 : (byte)0; - HiddenCond = hiddenCond; - } - - - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - fixed (Vector4* p = &this.Colors_0) - { - return new Span(p, 5); - } - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotNextItemData* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotNextItemData* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotNextItemDataPtr : IEquatable - { - public ImPlotNextItemDataPtr(ImPlotNextItemData* handle) { Handle = handle; } - - public ImPlotNextItemData* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotNextItemDataPtr Null => new ImPlotNextItemDataPtr(null); - - public ImPlotNextItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotNextItemDataPtr(ImPlotNextItemData* handle) => new ImPlotNextItemDataPtr(handle); - - public static implicit operator ImPlotNextItemData*(ImPlotNextItemDataPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotNextItemDataPtr left, ImPlotNextItemDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotNextItemDataPtr left, ImPlotNextItemDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotNextItemDataPtr left, ImPlotNextItemData* right) => left.Handle == right; - - public static bool operator !=(ImPlotNextItemDataPtr left, ImPlotNextItemData* right) => left.Handle != right; - - public bool Equals(ImPlotNextItemDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotNextItemDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotNextItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - return new Span(&Handle->Colors_0, 5); - } - } - /// - /// To be documented. - /// - public ref float LineWeight => ref Unsafe.AsRef(&Handle->LineWeight); - /// - /// To be documented. - /// - public ref ImPlotMarker Marker => ref Unsafe.AsRef(&Handle->Marker); - /// - /// To be documented. - /// - public ref float MarkerSize => ref Unsafe.AsRef(&Handle->MarkerSize); - /// - /// To be documented. - /// - public ref float MarkerWeight => ref Unsafe.AsRef(&Handle->MarkerWeight); - /// - /// To be documented. - /// - public ref float FillAlpha => ref Unsafe.AsRef(&Handle->FillAlpha); - /// - /// To be documented. - /// - public ref float ErrorBarSize => ref Unsafe.AsRef(&Handle->ErrorBarSize); - /// - /// To be documented. - /// - public ref float ErrorBarWeight => ref Unsafe.AsRef(&Handle->ErrorBarWeight); - /// - /// To be documented. - /// - public ref float DigitalBitHeight => ref Unsafe.AsRef(&Handle->DigitalBitHeight); - /// - /// To be documented. - /// - public ref float DigitalBitGap => ref Unsafe.AsRef(&Handle->DigitalBitGap); - /// - /// To be documented. - /// - public ref bool RenderLine => ref Unsafe.AsRef(&Handle->RenderLine); - /// - /// To be documented. - /// - public ref bool RenderFill => ref Unsafe.AsRef(&Handle->RenderFill); - /// - /// To be documented. - /// - public ref bool RenderMarkerLine => ref Unsafe.AsRef(&Handle->RenderMarkerLine); - /// - /// To be documented. - /// - public ref bool RenderMarkerFill => ref Unsafe.AsRef(&Handle->RenderMarkerFill); - /// - /// To be documented. - /// - public ref bool HasHidden => ref Unsafe.AsRef(&Handle->HasHidden); - /// - /// To be documented. - /// - public ref bool Hidden => ref Unsafe.AsRef(&Handle->Hidden); - /// - /// To be documented. - /// - public ref ImPlotCond HiddenCond => ref Unsafe.AsRef(&Handle->HiddenCond); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextPlotData.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextPlotData.cs deleted file mode 100644 index 9006e02ab..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotNextPlotData.cs +++ /dev/null @@ -1,385 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotNextPlotData - { - /// - /// To be documented. - /// - public ImPlotCond RangeCond_0; - public ImPlotCond RangeCond_1; - public ImPlotCond RangeCond_2; - public ImPlotCond RangeCond_3; - public ImPlotCond RangeCond_4; - public ImPlotCond RangeCond_5; - - /// - /// To be documented. - /// - public ImPlotRange Range_0; - public ImPlotRange Range_1; - public ImPlotRange Range_2; - public ImPlotRange Range_3; - public ImPlotRange Range_4; - public ImPlotRange Range_5; - - /// - /// To be documented. - /// - public bool HasRange_0; - public bool HasRange_1; - public bool HasRange_2; - public bool HasRange_3; - public bool HasRange_4; - public bool HasRange_5; - - /// - /// To be documented. - /// - public bool Fit_0; - public bool Fit_1; - public bool Fit_2; - public bool Fit_3; - public bool Fit_4; - public bool Fit_5; - - /// - /// To be documented. - /// - public unsafe double* LinkedMin_0; - public unsafe double* LinkedMin_1; - public unsafe double* LinkedMin_2; - public unsafe double* LinkedMin_3; - public unsafe double* LinkedMin_4; - public unsafe double* LinkedMin_5; - - /// - /// To be documented. - /// - public unsafe double* LinkedMax_0; - public unsafe double* LinkedMax_1; - public unsafe double* LinkedMax_2; - public unsafe double* LinkedMax_3; - public unsafe double* LinkedMax_4; - public unsafe double* LinkedMax_5; - - - /// - /// To be documented. - /// - public unsafe ImPlotNextPlotData(ImPlotCond* rangeCond = default, ImPlotRangePtr range = default, bool* hasRange = default, bool* fit = default, double** linkedMin = default, double** linkedMax = default) - { - if (rangeCond != default(ImPlotCond*)) - { - RangeCond_0 = rangeCond[0]; - RangeCond_1 = rangeCond[1]; - RangeCond_2 = rangeCond[2]; - RangeCond_3 = rangeCond[3]; - RangeCond_4 = rangeCond[4]; - RangeCond_5 = rangeCond[5]; - } - if (range != default(ImPlotRangePtr)) - { - Range_0 = range[0]; - Range_1 = range[1]; - Range_2 = range[2]; - Range_3 = range[3]; - Range_4 = range[4]; - Range_5 = range[5]; - } - if (hasRange != default(bool*)) - { - HasRange_0 = hasRange[0]; - HasRange_1 = hasRange[1]; - HasRange_2 = hasRange[2]; - HasRange_3 = hasRange[3]; - HasRange_4 = hasRange[4]; - HasRange_5 = hasRange[5]; - } - if (fit != default(bool*)) - { - Fit_0 = fit[0]; - Fit_1 = fit[1]; - Fit_2 = fit[2]; - Fit_3 = fit[3]; - Fit_4 = fit[4]; - Fit_5 = fit[5]; - } - if (linkedMin != default(double**)) - { - LinkedMin_0 = linkedMin[0]; - LinkedMin_1 = linkedMin[1]; - LinkedMin_2 = linkedMin[2]; - LinkedMin_3 = linkedMin[3]; - LinkedMin_4 = linkedMin[4]; - LinkedMin_5 = linkedMin[5]; - } - if (linkedMax != default(double**)) - { - LinkedMax_0 = linkedMax[0]; - LinkedMax_1 = linkedMax[1]; - LinkedMax_2 = linkedMax[2]; - LinkedMax_3 = linkedMax[3]; - LinkedMax_4 = linkedMax[4]; - LinkedMax_5 = linkedMax[5]; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotNextPlotData(Span rangeCond = default, Span range = default, Span hasRange = default, Span fit = default, Span> linkedMin = default, Span> linkedMax = default) - { - if (rangeCond != default(Span)) - { - RangeCond_0 = rangeCond[0]; - RangeCond_1 = rangeCond[1]; - RangeCond_2 = rangeCond[2]; - RangeCond_3 = rangeCond[3]; - RangeCond_4 = rangeCond[4]; - RangeCond_5 = rangeCond[5]; - } - if (range != default(Span)) - { - Range_0 = range[0]; - Range_1 = range[1]; - Range_2 = range[2]; - Range_3 = range[3]; - Range_4 = range[4]; - Range_5 = range[5]; - } - if (hasRange != default(Span)) - { - HasRange_0 = hasRange[0]; - HasRange_1 = hasRange[1]; - HasRange_2 = hasRange[2]; - HasRange_3 = hasRange[3]; - HasRange_4 = hasRange[4]; - HasRange_5 = hasRange[5]; - } - if (fit != default(Span)) - { - Fit_0 = fit[0]; - Fit_1 = fit[1]; - Fit_2 = fit[2]; - Fit_3 = fit[3]; - Fit_4 = fit[4]; - Fit_5 = fit[5]; - } - if (linkedMin != default(Span>)) - { - LinkedMin_0 = linkedMin[0]; - LinkedMin_1 = linkedMin[1]; - LinkedMin_2 = linkedMin[2]; - LinkedMin_3 = linkedMin[3]; - LinkedMin_4 = linkedMin[4]; - LinkedMin_5 = linkedMin[5]; - } - if (linkedMax != default(Span>)) - { - LinkedMax_0 = linkedMax[0]; - LinkedMax_1 = linkedMax[1]; - LinkedMax_2 = linkedMax[2]; - LinkedMax_3 = linkedMax[3]; - LinkedMax_4 = linkedMax[4]; - LinkedMax_5 = linkedMax[5]; - } - } - - - /// - /// To be documented. - /// - public unsafe Span Range - - { - get - { - fixed (ImPlotRange* p = &this.Range_0) - { - return new Span(p, 6); - } - } - } - /// - /// To be documented. - /// - public unsafe Span> LinkedMin - - { - get - { - fixed (double** p = &this.LinkedMin_0) - { - return new Span>(p, 6); - } - } - } - /// - /// To be documented. - /// - public unsafe Span> LinkedMax - - { - get - { - fixed (double** p = &this.LinkedMax_0) - { - return new Span>(p, 6); - } - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotNextPlotData* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotNextPlotData* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotNextPlotDataPtr : IEquatable - { - public ImPlotNextPlotDataPtr(ImPlotNextPlotData* handle) { Handle = handle; } - - public ImPlotNextPlotData* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotNextPlotDataPtr Null => new ImPlotNextPlotDataPtr(null); - - public ImPlotNextPlotData this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotNextPlotDataPtr(ImPlotNextPlotData* handle) => new ImPlotNextPlotDataPtr(handle); - - public static implicit operator ImPlotNextPlotData*(ImPlotNextPlotDataPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotNextPlotDataPtr left, ImPlotNextPlotDataPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotNextPlotDataPtr left, ImPlotNextPlotDataPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotNextPlotDataPtr left, ImPlotNextPlotData* right) => left.Handle == right; - - public static bool operator !=(ImPlotNextPlotDataPtr left, ImPlotNextPlotData* right) => left.Handle != right; - - public bool Equals(ImPlotNextPlotDataPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotNextPlotDataPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotNextPlotDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public unsafe Span RangeCond - - { - get - { - return new Span(&Handle->RangeCond_0, 6); - } - } - /// - /// To be documented. - /// - public unsafe Span Range - - { - get - { - return new Span(&Handle->Range_0, 6); - } - } - /// - /// To be documented. - /// - public unsafe Span HasRange - - { - get - { - return new Span(&Handle->HasRange_0, 6); - } - } - /// - /// To be documented. - /// - public unsafe Span Fit - - { - get - { - return new Span(&Handle->Fit_0, 6); - } - } - /// - /// To be documented. - /// - /// - /// To be documented. - /// - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPlot.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPlot.cs deleted file mode 100644 index 26e403202..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPlot.cs +++ /dev/null @@ -1,1119 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotPlot - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImPlotFlags Flags; - - /// - /// To be documented. - /// - public ImPlotFlags PreviousFlags; - - /// - /// To be documented. - /// - public ImPlotLocation MouseTextLocation; - - /// - /// To be documented. - /// - public ImPlotMouseTextFlags MouseTextFlags; - - /// - /// To be documented. - /// - public ImPlotAxis Axes_0; - public ImPlotAxis Axes_1; - public ImPlotAxis Axes_2; - public ImPlotAxis Axes_3; - public ImPlotAxis Axes_4; - public ImPlotAxis Axes_5; - - /// - /// To be documented. - /// - public ImGuiTextBuffer TextBuffer; - - /// - /// To be documented. - /// - public ImPlotItemGroup Items; - - /// - /// To be documented. - /// - public ImAxis CurrentX; - - /// - /// To be documented. - /// - public ImAxis CurrentY; - - /// - /// To be documented. - /// - public ImRect FrameRect; - - /// - /// To be documented. - /// - public ImRect CanvasRect; - - /// - /// To be documented. - /// - public ImRect PlotRect; - - /// - /// To be documented. - /// - public ImRect AxesRect; - - /// - /// To be documented. - /// - public ImRect SelectRect; - - /// - /// To be documented. - /// - public Vector2 SelectStart; - - /// - /// To be documented. - /// - public int TitleOffset; - - /// - /// To be documented. - /// - public byte JustCreated; - - /// - /// To be documented. - /// - public byte Initialized; - - /// - /// To be documented. - /// - public byte SetupLocked; - - /// - /// To be documented. - /// - public byte FitThisFrame; - - /// - /// To be documented. - /// - public byte Hovered; - - /// - /// To be documented. - /// - public byte Held; - - /// - /// To be documented. - /// - public byte Selecting; - - /// - /// To be documented. - /// - public byte Selected; - - /// - /// To be documented. - /// - public byte ContextLocked; - - - /// - /// To be documented. - /// - public unsafe ImPlotPlot(uint id = default, ImPlotFlags flags = default, ImPlotFlags previousFlags = default, ImPlotLocation mouseTextLocation = default, ImPlotMouseTextFlags mouseTextFlags = default, ImPlotAxis* axes = default, ImGuiTextBuffer textBuffer = default, ImPlotItemGroup items = default, ImAxis currentX = default, ImAxis currentY = default, ImRect frameRect = default, ImRect canvasRect = default, ImRect plotRect = default, ImRect axesRect = default, ImRect selectRect = default, Vector2 selectStart = default, int titleOffset = default, bool justCreated = default, bool initialized = default, bool setupLocked = default, bool fitThisFrame = default, bool hovered = default, bool held = default, bool selecting = default, bool selected = default, bool contextLocked = default) - { - ID = id; - Flags = flags; - PreviousFlags = previousFlags; - MouseTextLocation = mouseTextLocation; - MouseTextFlags = mouseTextFlags; - if (axes != default(ImPlotAxis*)) - { - Axes_0 = axes[0]; - Axes_1 = axes[1]; - Axes_2 = axes[2]; - Axes_3 = axes[3]; - Axes_4 = axes[4]; - Axes_5 = axes[5]; - } - TextBuffer = textBuffer; - Items = items; - CurrentX = currentX; - CurrentY = currentY; - FrameRect = frameRect; - CanvasRect = canvasRect; - PlotRect = plotRect; - AxesRect = axesRect; - SelectRect = selectRect; - SelectStart = selectStart; - TitleOffset = titleOffset; - JustCreated = justCreated ? (byte)1 : (byte)0; - Initialized = initialized ? (byte)1 : (byte)0; - SetupLocked = setupLocked ? (byte)1 : (byte)0; - FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; - Hovered = hovered ? (byte)1 : (byte)0; - Held = held ? (byte)1 : (byte)0; - Selecting = selecting ? (byte)1 : (byte)0; - Selected = selected ? (byte)1 : (byte)0; - ContextLocked = contextLocked ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImPlotPlot(uint id = default, ImPlotFlags flags = default, ImPlotFlags previousFlags = default, ImPlotLocation mouseTextLocation = default, ImPlotMouseTextFlags mouseTextFlags = default, Span axes = default, ImGuiTextBuffer textBuffer = default, ImPlotItemGroup items = default, ImAxis currentX = default, ImAxis currentY = default, ImRect frameRect = default, ImRect canvasRect = default, ImRect plotRect = default, ImRect axesRect = default, ImRect selectRect = default, Vector2 selectStart = default, int titleOffset = default, bool justCreated = default, bool initialized = default, bool setupLocked = default, bool fitThisFrame = default, bool hovered = default, bool held = default, bool selecting = default, bool selected = default, bool contextLocked = default) - { - ID = id; - Flags = flags; - PreviousFlags = previousFlags; - MouseTextLocation = mouseTextLocation; - MouseTextFlags = mouseTextFlags; - if (axes != default(Span)) - { - Axes_0 = axes[0]; - Axes_1 = axes[1]; - Axes_2 = axes[2]; - Axes_3 = axes[3]; - Axes_4 = axes[4]; - Axes_5 = axes[5]; - } - TextBuffer = textBuffer; - Items = items; - CurrentX = currentX; - CurrentY = currentY; - FrameRect = frameRect; - CanvasRect = canvasRect; - PlotRect = plotRect; - AxesRect = axesRect; - SelectRect = selectRect; - SelectStart = selectStart; - TitleOffset = titleOffset; - JustCreated = justCreated ? (byte)1 : (byte)0; - Initialized = initialized ? (byte)1 : (byte)0; - SetupLocked = setupLocked ? (byte)1 : (byte)0; - FitThisFrame = fitThisFrame ? (byte)1 : (byte)0; - Hovered = hovered ? (byte)1 : (byte)0; - Held = held ? (byte)1 : (byte)0; - Selecting = selecting ? (byte)1 : (byte)0; - Selected = selected ? (byte)1 : (byte)0; - ContextLocked = contextLocked ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe Span Axes - - { - get - { - fixed (ImPlotAxis* p = &this.Axes_0) - { - return new Span(p, 6); - } - } - } - /// - /// To be documented. - /// - public unsafe void ClearTextBuffer() - { - fixed (ImPlotPlot* @this = &this) - { - ImPlot.ClearTextBufferNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotPlot* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe int EnabledAxesX() - { - fixed (ImPlotPlot* @this = &this) - { - int ret = ImPlot.EnabledAxesXNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe int EnabledAxesY() - { - fixed (ImPlotPlot* @this = &this) - { - int ret = ImPlot.EnabledAxesYNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetAxisLabel(ImPlotAxis axis) - { - fixed (ImPlotPlot* @this = &this) - { - byte* ret = ImPlot.GetAxisLabelNative(@this, axis); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetAxisLabelS(ImPlotAxis axis) - { - fixed (ImPlotPlot* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetAxisLabelNative(@this, axis)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetTitle() - { - fixed (ImPlotPlot* @this = &this) - { - byte* ret = ImPlot.GetTitleNative(@this); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetTitleS() - { - fixed (ImPlotPlot* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTitleNative(@this)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe bool HasTitle() - { - fixed (ImPlotPlot* @this = &this) - { - byte ret = ImPlot.HasTitleNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLocked() - { - fixed (ImPlotPlot* @this = &this) - { - byte ret = ImPlot.IsInputLockedNative(@this); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, byte* label) - { - fixed (ImPlotPlot* @this = &this) - { - ImPlot.SetAxisLabelNative(@this, axis, label); - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, byte* label) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (ImPlotAxis* paxis = &axis) - { - ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, label); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, ref byte label) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (byte* plabel = &label) - { - ImPlot.SetAxisLabelNative(@this, axis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, ReadOnlySpan label) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (byte* plabel = label) - { - ImPlot.SetAxisLabelNative(@this, axis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, string label) - { - fixed (ImPlotPlot* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.SetAxisLabelNative(@this, axis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, ref byte label) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = &label) - { - ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, ReadOnlySpan label) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = label) - { - ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, string label) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (ImPlotAxis* paxis = &axis) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.SetAxisLabelNative(@this, (ImPlotAxis*)paxis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(byte* title) - { - fixed (ImPlotPlot* @this = &this) - { - ImPlot.SetTitleNative(@this, title); - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(ref byte title) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (byte* ptitle = &title) - { - ImPlot.SetTitleNative(@this, (byte*)ptitle); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(ReadOnlySpan title) - { - fixed (ImPlotPlot* @this = &this) - { - fixed (byte* ptitle = title) - { - ImPlot.SetTitleNative(@this, (byte*)ptitle); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(string title) - { - fixed (ImPlotPlot* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (title != null) - { - pStrSize0 = Utils.GetByteCountUTF8(title); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.SetTitleNative(@this, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* XAxis(int i) - { - fixed (ImPlotPlot* @this = &this) - { - ImPlotAxis* ret = ImPlot.XAxisNative(@this, i); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* ImPlotPlotXAxisConst(int i) - { - fixed (ImPlotPlot* @this = &this) - { - ImPlotAxis* ret = ImPlot.ImPlotPlotXAxisConstNative(@this, i); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* YAxis(int i) - { - fixed (ImPlotPlot* @this = &this) - { - ImPlotAxis* ret = ImPlot.YAxisNative(@this, i); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* ImPlotPlotYAxisConst(int i) - { - fixed (ImPlotPlot* @this = &this) - { - ImPlotAxis* ret = ImPlot.ImPlotPlotYAxisConstNative(@this, i); - return ret; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotPlotPtr : IEquatable - { - public ImPlotPlotPtr(ImPlotPlot* handle) { Handle = handle; } - - public ImPlotPlot* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotPlotPtr Null => new ImPlotPlotPtr(null); - - public ImPlotPlot this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotPlotPtr(ImPlotPlot* handle) => new ImPlotPlotPtr(handle); - - public static implicit operator ImPlotPlot*(ImPlotPlotPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotPlotPtr left, ImPlotPlotPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotPlotPtr left, ImPlotPlotPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotPlotPtr left, ImPlotPlot* right) => left.Handle == right; - - public static bool operator !=(ImPlotPlotPtr left, ImPlotPlot* right) => left.Handle != right; - - public bool Equals(ImPlotPlotPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotPlotPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotPlotPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImPlotFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImPlotFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); - /// - /// To be documented. - /// - public ref ImPlotLocation MouseTextLocation => ref Unsafe.AsRef(&Handle->MouseTextLocation); - /// - /// To be documented. - /// - public ref ImPlotMouseTextFlags MouseTextFlags => ref Unsafe.AsRef(&Handle->MouseTextFlags); - /// - /// To be documented. - /// - public unsafe Span Axes - - { - get - { - return new Span(&Handle->Axes_0, 6); - } - } - /// - /// To be documented. - /// - public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); - /// - /// To be documented. - /// - public ref ImPlotItemGroup Items => ref Unsafe.AsRef(&Handle->Items); - /// - /// To be documented. - /// - public ref ImAxis CurrentX => ref Unsafe.AsRef(&Handle->CurrentX); - /// - /// To be documented. - /// - public ref ImAxis CurrentY => ref Unsafe.AsRef(&Handle->CurrentY); - /// - /// To be documented. - /// - public ref ImRect FrameRect => ref Unsafe.AsRef(&Handle->FrameRect); - /// - /// To be documented. - /// - public ref ImRect CanvasRect => ref Unsafe.AsRef(&Handle->CanvasRect); - /// - /// To be documented. - /// - public ref ImRect PlotRect => ref Unsafe.AsRef(&Handle->PlotRect); - /// - /// To be documented. - /// - public ref ImRect AxesRect => ref Unsafe.AsRef(&Handle->AxesRect); - /// - /// To be documented. - /// - public ref ImRect SelectRect => ref Unsafe.AsRef(&Handle->SelectRect); - /// - /// To be documented. - /// - public ref Vector2 SelectStart => ref Unsafe.AsRef(&Handle->SelectStart); - /// - /// To be documented. - /// - public ref int TitleOffset => ref Unsafe.AsRef(&Handle->TitleOffset); - /// - /// To be documented. - /// - public ref bool JustCreated => ref Unsafe.AsRef(&Handle->JustCreated); - /// - /// To be documented. - /// - public ref bool Initialized => ref Unsafe.AsRef(&Handle->Initialized); - /// - /// To be documented. - /// - public ref bool SetupLocked => ref Unsafe.AsRef(&Handle->SetupLocked); - /// - /// To be documented. - /// - public ref bool FitThisFrame => ref Unsafe.AsRef(&Handle->FitThisFrame); - /// - /// To be documented. - /// - public ref bool Hovered => ref Unsafe.AsRef(&Handle->Hovered); - /// - /// To be documented. - /// - public ref bool Held => ref Unsafe.AsRef(&Handle->Held); - /// - /// To be documented. - /// - public ref bool Selecting => ref Unsafe.AsRef(&Handle->Selecting); - /// - /// To be documented. - /// - public ref bool Selected => ref Unsafe.AsRef(&Handle->Selected); - /// - /// To be documented. - /// - public ref bool ContextLocked => ref Unsafe.AsRef(&Handle->ContextLocked); - /// - /// To be documented. - /// - public unsafe void ClearTextBuffer() - { - ImPlot.ClearTextBufferNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe int EnabledAxesX() - { - int ret = ImPlot.EnabledAxesXNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe int EnabledAxesY() - { - int ret = ImPlot.EnabledAxesYNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* GetAxisLabel(ImPlotAxis axis) - { - byte* ret = ImPlot.GetAxisLabelNative(Handle, axis); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetAxisLabelS(ImPlotAxis axis) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetAxisLabelNative(Handle, axis)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* GetTitle() - { - byte* ret = ImPlot.GetTitleNative(Handle); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetTitleS() - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTitleNative(Handle)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe bool HasTitle() - { - byte ret = ImPlot.HasTitleNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool IsInputLocked() - { - byte ret = ImPlot.IsInputLockedNative(Handle); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, byte* label) - { - ImPlot.SetAxisLabelNative(Handle, axis, label); - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, byte* label) - { - fixed (ImPlotAxis* paxis = &axis) - { - ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, label); - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, ref byte label) - { - fixed (byte* plabel = &label) - { - ImPlot.SetAxisLabelNative(Handle, axis, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - ImPlot.SetAxisLabelNative(Handle, axis, (byte*)plabel); - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ImPlotAxis* axis, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.SetAxisLabelNative(Handle, axis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, ref byte label) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = &label) - { - ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, ReadOnlySpan label) - { - fixed (ImPlotAxis* paxis = &axis) - { - fixed (byte* plabel = label) - { - ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, (byte*)plabel); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetAxisLabel(ref ImPlotAxis axis, string label) - { - fixed (ImPlotAxis* paxis = &axis) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.SetAxisLabelNative(Handle, (ImPlotAxis*)paxis, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(byte* title) - { - ImPlot.SetTitleNative(Handle, title); - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(ref byte title) - { - fixed (byte* ptitle = &title) - { - ImPlot.SetTitleNative(Handle, (byte*)ptitle); - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(ReadOnlySpan title) - { - fixed (byte* ptitle = title) - { - ImPlot.SetTitleNative(Handle, (byte*)ptitle); - } - } - - /// - /// To be documented. - /// - public unsafe void SetTitle(string title) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (title != null) - { - pStrSize0 = Utils.GetByteCountUTF8(title); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(title, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.SetTitleNative(Handle, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* XAxis(int i) - { - ImPlotAxis* ret = ImPlot.XAxisNative(Handle, i); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* ImPlotPlotXAxisConst(int i) - { - ImPlotAxis* ret = ImPlot.ImPlotPlotXAxisConstNative(Handle, i); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* YAxis(int i) - { - ImPlotAxis* ret = ImPlot.YAxisNative(Handle, i); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotAxis* ImPlotPlotYAxisConst(int i) - { - ImPlotAxis* ret = ImPlot.ImPlotPlotYAxisConstNative(Handle, i); - return ret; - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPoint.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPoint.cs deleted file mode 100644 index c31bf68ed..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPoint.cs +++ /dev/null @@ -1,119 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotPoint - { - /// - /// To be documented. - /// - public double X; - - /// - /// To be documented. - /// - public double Y; - - - /// - /// To be documented. - /// - public unsafe ImPlotPoint(double x = default, double y = default) - { - X = x; - Y = y; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotPoint* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotPointPtr : IEquatable - { - public ImPlotPointPtr(ImPlotPoint* handle) { Handle = handle; } - - public ImPlotPoint* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotPointPtr Null => new ImPlotPointPtr(null); - - public ImPlotPoint this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotPointPtr(ImPlotPoint* handle) => new ImPlotPointPtr(handle); - - public static implicit operator ImPlotPoint*(ImPlotPointPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotPointPtr left, ImPlotPointPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotPointPtr left, ImPlotPointPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotPointPtr left, ImPlotPoint* right) => left.Handle == right; - - public static bool operator !=(ImPlotPointPtr left, ImPlotPoint* right) => left.Handle != right; - - public bool Equals(ImPlotPointPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotPointPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotPointPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref double X => ref Unsafe.AsRef(&Handle->X); - /// - /// To be documented. - /// - public ref double Y => ref Unsafe.AsRef(&Handle->Y); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPointError.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPointError.cs deleted file mode 100644 index 483630211..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotPointError.cs +++ /dev/null @@ -1,139 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotPointError - { - /// - /// To be documented. - /// - public double X; - - /// - /// To be documented. - /// - public double Y; - - /// - /// To be documented. - /// - public double Neg; - - /// - /// To be documented. - /// - public double Pos; - - - /// - /// To be documented. - /// - public unsafe ImPlotPointError(double x = default, double y = default, double neg = default, double pos = default) - { - X = x; - Y = y; - Neg = neg; - Pos = pos; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotPointError* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotPointErrorPtr : IEquatable - { - public ImPlotPointErrorPtr(ImPlotPointError* handle) { Handle = handle; } - - public ImPlotPointError* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotPointErrorPtr Null => new ImPlotPointErrorPtr(null); - - public ImPlotPointError this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotPointErrorPtr(ImPlotPointError* handle) => new ImPlotPointErrorPtr(handle); - - public static implicit operator ImPlotPointError*(ImPlotPointErrorPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotPointErrorPtr left, ImPlotPointErrorPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotPointErrorPtr left, ImPlotPointErrorPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotPointErrorPtr left, ImPlotPointError* right) => left.Handle == right; - - public static bool operator !=(ImPlotPointErrorPtr left, ImPlotPointError* right) => left.Handle != right; - - public bool Equals(ImPlotPointErrorPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotPointErrorPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotPointErrorPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref double X => ref Unsafe.AsRef(&Handle->X); - /// - /// To be documented. - /// - public ref double Y => ref Unsafe.AsRef(&Handle->Y); - /// - /// To be documented. - /// - public ref double Neg => ref Unsafe.AsRef(&Handle->Neg); - /// - /// To be documented. - /// - public ref double Pos => ref Unsafe.AsRef(&Handle->Pos); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRange.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRange.cs deleted file mode 100644 index 2d1cf1e03..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRange.cs +++ /dev/null @@ -1,182 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotRange - { - /// - /// To be documented. - /// - public double Min; - - /// - /// To be documented. - /// - public double Max; - - - /// - /// To be documented. - /// - public unsafe ImPlotRange(double min = default, double max = default) - { - Min = min; - Max = max; - } - - - /// - /// To be documented. - /// - public unsafe double Clamp(double value) - { - fixed (ImPlotRange* @this = &this) - { - double ret = ImPlot.ClampNative(@this, value); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe bool Contains(double value) - { - fixed (ImPlotRange* @this = &this) - { - byte ret = ImPlot.ContainsNative(@this, value); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotRange* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe double Size() - { - fixed (ImPlotRange* @this = &this) - { - double ret = ImPlot.SizeNative(@this); - return ret; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotRangePtr : IEquatable - { - public ImPlotRangePtr(ImPlotRange* handle) { Handle = handle; } - - public ImPlotRange* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotRangePtr Null => new ImPlotRangePtr(null); - - public ImPlotRange this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotRangePtr(ImPlotRange* handle) => new ImPlotRangePtr(handle); - - public static implicit operator ImPlotRange*(ImPlotRangePtr handle) => handle.Handle; - - public static bool operator ==(ImPlotRangePtr left, ImPlotRangePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotRangePtr left, ImPlotRangePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotRangePtr left, ImPlotRange* right) => left.Handle == right; - - public static bool operator !=(ImPlotRangePtr left, ImPlotRange* right) => left.Handle != right; - - public bool Equals(ImPlotRangePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotRangePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref double Min => ref Unsafe.AsRef(&Handle->Min); - /// - /// To be documented. - /// - public ref double Max => ref Unsafe.AsRef(&Handle->Max); - /// - /// To be documented. - /// - public unsafe double Clamp(double value) - { - double ret = ImPlot.ClampNative(Handle, value); - return ret; - } - - /// - /// To be documented. - /// - public unsafe bool Contains(double value) - { - byte ret = ImPlot.ContainsNative(Handle, value); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe double Size() - { - double ret = ImPlot.SizeNative(Handle); - return ret; - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRect.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRect.cs deleted file mode 100644 index 6ae0cf4b8..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotRect.cs +++ /dev/null @@ -1,161 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotRect - { - /// - /// To be documented. - /// - public ImPlotRange X; - - /// - /// To be documented. - /// - public ImPlotRange Y; - - - /// - /// To be documented. - /// - public unsafe ImPlotRect(ImPlotRange x = default, ImPlotRange y = default) - { - X = x; - Y = y; - } - - - /// - /// To be documented. - /// - public unsafe bool Contains(ImPlotPoint p) - { - fixed (ImPlotRect* @this = &this) - { - byte ret = ImPlot.ContainsNative(@this, p); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe bool Contains(double x, double y) - { - fixed (ImPlotRect* @this = &this) - { - byte ret = ImPlot.ContainsNative(@this, x, y); - return ret != 0; - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotRect* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotRectPtr : IEquatable - { - public ImPlotRectPtr(ImPlotRect* handle) { Handle = handle; } - - public ImPlotRect* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotRectPtr Null => new ImPlotRectPtr(null); - - public ImPlotRect this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotRectPtr(ImPlotRect* handle) => new ImPlotRectPtr(handle); - - public static implicit operator ImPlotRect*(ImPlotRectPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotRectPtr left, ImPlotRectPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotRectPtr left, ImPlotRectPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotRectPtr left, ImPlotRect* right) => left.Handle == right; - - public static bool operator !=(ImPlotRectPtr left, ImPlotRect* right) => left.Handle != right; - - public bool Equals(ImPlotRectPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotRectPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImPlotRange X => ref Unsafe.AsRef(&Handle->X); - /// - /// To be documented. - /// - public ref ImPlotRange Y => ref Unsafe.AsRef(&Handle->Y); - /// - /// To be documented. - /// - public unsafe bool Contains(ImPlotPoint p) - { - byte ret = ImPlot.ContainsNative(Handle, p); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe bool Contains(double x, double y) - { - byte ret = ImPlot.ContainsNative(Handle, x, y); - return ret != 0; - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotStyle.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotStyle.cs deleted file mode 100644 index 5bcc16863..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotStyle.cs +++ /dev/null @@ -1,545 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotStyle - { - /// - /// To be documented. - /// - public float LineWeight; - - /// - /// To be documented. - /// - public int Marker; - - /// - /// To be documented. - /// - public float MarkerSize; - - /// - /// To be documented. - /// - public float MarkerWeight; - - /// - /// To be documented. - /// - public float FillAlpha; - - /// - /// To be documented. - /// - public float ErrorBarSize; - - /// - /// To be documented. - /// - public float ErrorBarWeight; - - /// - /// To be documented. - /// - public float DigitalBitHeight; - - /// - /// To be documented. - /// - public float DigitalBitGap; - - /// - /// To be documented. - /// - public float PlotBorderSize; - - /// - /// To be documented. - /// - public float MinorAlpha; - - /// - /// To be documented. - /// - public Vector2 MajorTickLen; - - /// - /// To be documented. - /// - public Vector2 MinorTickLen; - - /// - /// To be documented. - /// - public Vector2 MajorTickSize; - - /// - /// To be documented. - /// - public Vector2 MinorTickSize; - - /// - /// To be documented. - /// - public Vector2 MajorGridSize; - - /// - /// To be documented. - /// - public Vector2 MinorGridSize; - - /// - /// To be documented. - /// - public Vector2 PlotPadding; - - /// - /// To be documented. - /// - public Vector2 LabelPadding; - - /// - /// To be documented. - /// - public Vector2 LegendPadding; - - /// - /// To be documented. - /// - public Vector2 LegendInnerPadding; - - /// - /// To be documented. - /// - public Vector2 LegendSpacing; - - /// - /// To be documented. - /// - public Vector2 MousePosPadding; - - /// - /// To be documented. - /// - public Vector2 AnnotationPadding; - - /// - /// To be documented. - /// - public Vector2 FitPadding; - - /// - /// To be documented. - /// - public Vector2 PlotDefaultSize; - - /// - /// To be documented. - /// - public Vector2 PlotMinSize; - - /// - /// To be documented. - /// - public Vector4 Colors_0; - public Vector4 Colors_1; - public Vector4 Colors_2; - public Vector4 Colors_3; - public Vector4 Colors_4; - public Vector4 Colors_5; - public Vector4 Colors_6; - public Vector4 Colors_7; - public Vector4 Colors_8; - public Vector4 Colors_9; - public Vector4 Colors_10; - public Vector4 Colors_11; - public Vector4 Colors_12; - public Vector4 Colors_13; - public Vector4 Colors_14; - public Vector4 Colors_15; - public Vector4 Colors_16; - public Vector4 Colors_17; - public Vector4 Colors_18; - public Vector4 Colors_19; - public Vector4 Colors_20; - - /// - /// To be documented. - /// - public ImPlotColormap Colormap; - - /// - /// To be documented. - /// - public byte UseLocalTime; - - /// - /// To be documented. - /// - public byte UseISO8601; - - /// - /// To be documented. - /// - public byte Use24HourClock; - - - /// - /// To be documented. - /// - public unsafe ImPlotStyle(float lineWeight = default, int marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, float plotBorderSize = default, float minorAlpha = default, Vector2 majorTickLen = default, Vector2 minorTickLen = default, Vector2 majorTickSize = default, Vector2 minorTickSize = default, Vector2 majorGridSize = default, Vector2 minorGridSize = default, Vector2 plotPadding = default, Vector2 labelPadding = default, Vector2 legendPadding = default, Vector2 legendInnerPadding = default, Vector2 legendSpacing = default, Vector2 mousePosPadding = default, Vector2 annotationPadding = default, Vector2 fitPadding = default, Vector2 plotDefaultSize = default, Vector2 plotMinSize = default, Vector4* colors = default, ImPlotColormap colormap = default, bool useLocalTime = default, bool useIso8601 = default, bool use24HourClock = default) - { - LineWeight = lineWeight; - Marker = marker; - MarkerSize = markerSize; - MarkerWeight = markerWeight; - FillAlpha = fillAlpha; - ErrorBarSize = errorBarSize; - ErrorBarWeight = errorBarWeight; - DigitalBitHeight = digitalBitHeight; - DigitalBitGap = digitalBitGap; - PlotBorderSize = plotBorderSize; - MinorAlpha = minorAlpha; - MajorTickLen = majorTickLen; - MinorTickLen = minorTickLen; - MajorTickSize = majorTickSize; - MinorTickSize = minorTickSize; - MajorGridSize = majorGridSize; - MinorGridSize = minorGridSize; - PlotPadding = plotPadding; - LabelPadding = labelPadding; - LegendPadding = legendPadding; - LegendInnerPadding = legendInnerPadding; - LegendSpacing = legendSpacing; - MousePosPadding = mousePosPadding; - AnnotationPadding = annotationPadding; - FitPadding = fitPadding; - PlotDefaultSize = plotDefaultSize; - PlotMinSize = plotMinSize; - if (colors != default(Vector4*)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - Colors_19 = colors[19]; - Colors_20 = colors[20]; - } - Colormap = colormap; - UseLocalTime = useLocalTime ? (byte)1 : (byte)0; - UseISO8601 = useIso8601 ? (byte)1 : (byte)0; - Use24HourClock = use24HourClock ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImPlotStyle(float lineWeight = default, int marker = default, float markerSize = default, float markerWeight = default, float fillAlpha = default, float errorBarSize = default, float errorBarWeight = default, float digitalBitHeight = default, float digitalBitGap = default, float plotBorderSize = default, float minorAlpha = default, Vector2 majorTickLen = default, Vector2 minorTickLen = default, Vector2 majorTickSize = default, Vector2 minorTickSize = default, Vector2 majorGridSize = default, Vector2 minorGridSize = default, Vector2 plotPadding = default, Vector2 labelPadding = default, Vector2 legendPadding = default, Vector2 legendInnerPadding = default, Vector2 legendSpacing = default, Vector2 mousePosPadding = default, Vector2 annotationPadding = default, Vector2 fitPadding = default, Vector2 plotDefaultSize = default, Vector2 plotMinSize = default, Span colors = default, ImPlotColormap colormap = default, bool useLocalTime = default, bool useIso8601 = default, bool use24HourClock = default) - { - LineWeight = lineWeight; - Marker = marker; - MarkerSize = markerSize; - MarkerWeight = markerWeight; - FillAlpha = fillAlpha; - ErrorBarSize = errorBarSize; - ErrorBarWeight = errorBarWeight; - DigitalBitHeight = digitalBitHeight; - DigitalBitGap = digitalBitGap; - PlotBorderSize = plotBorderSize; - MinorAlpha = minorAlpha; - MajorTickLen = majorTickLen; - MinorTickLen = minorTickLen; - MajorTickSize = majorTickSize; - MinorTickSize = minorTickSize; - MajorGridSize = majorGridSize; - MinorGridSize = minorGridSize; - PlotPadding = plotPadding; - LabelPadding = labelPadding; - LegendPadding = legendPadding; - LegendInnerPadding = legendInnerPadding; - LegendSpacing = legendSpacing; - MousePosPadding = mousePosPadding; - AnnotationPadding = annotationPadding; - FitPadding = fitPadding; - PlotDefaultSize = plotDefaultSize; - PlotMinSize = plotMinSize; - if (colors != default(Span)) - { - Colors_0 = colors[0]; - Colors_1 = colors[1]; - Colors_2 = colors[2]; - Colors_3 = colors[3]; - Colors_4 = colors[4]; - Colors_5 = colors[5]; - Colors_6 = colors[6]; - Colors_7 = colors[7]; - Colors_8 = colors[8]; - Colors_9 = colors[9]; - Colors_10 = colors[10]; - Colors_11 = colors[11]; - Colors_12 = colors[12]; - Colors_13 = colors[13]; - Colors_14 = colors[14]; - Colors_15 = colors[15]; - Colors_16 = colors[16]; - Colors_17 = colors[17]; - Colors_18 = colors[18]; - Colors_19 = colors[19]; - Colors_20 = colors[20]; - } - Colormap = colormap; - UseLocalTime = useLocalTime ? (byte)1 : (byte)0; - UseISO8601 = useIso8601 ? (byte)1 : (byte)0; - Use24HourClock = use24HourClock ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - fixed (Vector4* p = &this.Colors_0) - { - return new Span(p, 21); - } - } - } - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotStyle* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotStylePtr : IEquatable - { - public ImPlotStylePtr(ImPlotStyle* handle) { Handle = handle; } - - public ImPlotStyle* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotStylePtr Null => new ImPlotStylePtr(null); - - public ImPlotStyle this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotStylePtr(ImPlotStyle* handle) => new ImPlotStylePtr(handle); - - public static implicit operator ImPlotStyle*(ImPlotStylePtr handle) => handle.Handle; - - public static bool operator ==(ImPlotStylePtr left, ImPlotStylePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotStylePtr left, ImPlotStylePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotStylePtr left, ImPlotStyle* right) => left.Handle == right; - - public static bool operator !=(ImPlotStylePtr left, ImPlotStyle* right) => left.Handle != right; - - public bool Equals(ImPlotStylePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotStylePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotStylePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref float LineWeight => ref Unsafe.AsRef(&Handle->LineWeight); - /// - /// To be documented. - /// - public ref int Marker => ref Unsafe.AsRef(&Handle->Marker); - /// - /// To be documented. - /// - public ref float MarkerSize => ref Unsafe.AsRef(&Handle->MarkerSize); - /// - /// To be documented. - /// - public ref float MarkerWeight => ref Unsafe.AsRef(&Handle->MarkerWeight); - /// - /// To be documented. - /// - public ref float FillAlpha => ref Unsafe.AsRef(&Handle->FillAlpha); - /// - /// To be documented. - /// - public ref float ErrorBarSize => ref Unsafe.AsRef(&Handle->ErrorBarSize); - /// - /// To be documented. - /// - public ref float ErrorBarWeight => ref Unsafe.AsRef(&Handle->ErrorBarWeight); - /// - /// To be documented. - /// - public ref float DigitalBitHeight => ref Unsafe.AsRef(&Handle->DigitalBitHeight); - /// - /// To be documented. - /// - public ref float DigitalBitGap => ref Unsafe.AsRef(&Handle->DigitalBitGap); - /// - /// To be documented. - /// - public ref float PlotBorderSize => ref Unsafe.AsRef(&Handle->PlotBorderSize); - /// - /// To be documented. - /// - public ref float MinorAlpha => ref Unsafe.AsRef(&Handle->MinorAlpha); - /// - /// To be documented. - /// - public ref Vector2 MajorTickLen => ref Unsafe.AsRef(&Handle->MajorTickLen); - /// - /// To be documented. - /// - public ref Vector2 MinorTickLen => ref Unsafe.AsRef(&Handle->MinorTickLen); - /// - /// To be documented. - /// - public ref Vector2 MajorTickSize => ref Unsafe.AsRef(&Handle->MajorTickSize); - /// - /// To be documented. - /// - public ref Vector2 MinorTickSize => ref Unsafe.AsRef(&Handle->MinorTickSize); - /// - /// To be documented. - /// - public ref Vector2 MajorGridSize => ref Unsafe.AsRef(&Handle->MajorGridSize); - /// - /// To be documented. - /// - public ref Vector2 MinorGridSize => ref Unsafe.AsRef(&Handle->MinorGridSize); - /// - /// To be documented. - /// - public ref Vector2 PlotPadding => ref Unsafe.AsRef(&Handle->PlotPadding); - /// - /// To be documented. - /// - public ref Vector2 LabelPadding => ref Unsafe.AsRef(&Handle->LabelPadding); - /// - /// To be documented. - /// - public ref Vector2 LegendPadding => ref Unsafe.AsRef(&Handle->LegendPadding); - /// - /// To be documented. - /// - public ref Vector2 LegendInnerPadding => ref Unsafe.AsRef(&Handle->LegendInnerPadding); - /// - /// To be documented. - /// - public ref Vector2 LegendSpacing => ref Unsafe.AsRef(&Handle->LegendSpacing); - /// - /// To be documented. - /// - public ref Vector2 MousePosPadding => ref Unsafe.AsRef(&Handle->MousePosPadding); - /// - /// To be documented. - /// - public ref Vector2 AnnotationPadding => ref Unsafe.AsRef(&Handle->AnnotationPadding); - /// - /// To be documented. - /// - public ref Vector2 FitPadding => ref Unsafe.AsRef(&Handle->FitPadding); - /// - /// To be documented. - /// - public ref Vector2 PlotDefaultSize => ref Unsafe.AsRef(&Handle->PlotDefaultSize); - /// - /// To be documented. - /// - public ref Vector2 PlotMinSize => ref Unsafe.AsRef(&Handle->PlotMinSize); - /// - /// To be documented. - /// - public unsafe Span Colors - - { - get - { - return new Span(&Handle->Colors_0, 21); - } - } - /// - /// To be documented. - /// - public ref ImPlotColormap Colormap => ref Unsafe.AsRef(&Handle->Colormap); - /// - /// To be documented. - /// - public ref bool UseLocalTime => ref Unsafe.AsRef(&Handle->UseLocalTime); - /// - /// To be documented. - /// - public ref bool UseISO8601 => ref Unsafe.AsRef(&Handle->UseISO8601); - /// - /// To be documented. - /// - public ref bool Use24HourClock => ref Unsafe.AsRef(&Handle->Use24HourClock); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotSubplot.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotSubplot.cs deleted file mode 100644 index 8d83c8309..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotSubplot.cs +++ /dev/null @@ -1,331 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotSubplot - { - /// - /// To be documented. - /// - public uint ID; - - /// - /// To be documented. - /// - public ImPlotSubplotFlags Flags; - - /// - /// To be documented. - /// - public ImPlotSubplotFlags PreviousFlags; - - /// - /// To be documented. - /// - public ImPlotItemGroup Items; - - /// - /// To be documented. - /// - public int Rows; - - /// - /// To be documented. - /// - public int Cols; - - /// - /// To be documented. - /// - public int CurrentIdx; - - /// - /// To be documented. - /// - public ImRect FrameRect; - - /// - /// To be documented. - /// - public ImRect GridRect; - - /// - /// To be documented. - /// - public Vector2 CellSize; - - /// - /// To be documented. - /// - public ImVector RowAlignmentData; - - /// - /// To be documented. - /// - public ImVector ColAlignmentData; - - /// - /// To be documented. - /// - public ImVector RowRatios; - - /// - /// To be documented. - /// - public ImVector ColRatios; - - /// - /// To be documented. - /// - public ImVector RowLinkData; - - /// - /// To be documented. - /// - public ImVector ColLinkData; - - /// - /// To be documented. - /// - public float TempSizes_0; - public float TempSizes_1; - - /// - /// To be documented. - /// - public byte FrameHovered; - - /// - /// To be documented. - /// - public byte HasTitle; - - - /// - /// To be documented. - /// - public unsafe ImPlotSubplot(uint id = default, ImPlotSubplotFlags flags = default, ImPlotSubplotFlags previousFlags = default, ImPlotItemGroup items = default, int rows = default, int cols = default, int currentIdx = default, ImRect frameRect = default, ImRect gridRect = default, Vector2 cellSize = default, ImVector rowAlignmentData = default, ImVector colAlignmentData = default, ImVector rowRatios = default, ImVector colRatios = default, ImVector rowLinkData = default, ImVector colLinkData = default, float* tempSizes = default, bool frameHovered = default, bool hasTitle = default) - { - ID = id; - Flags = flags; - PreviousFlags = previousFlags; - Items = items; - Rows = rows; - Cols = cols; - CurrentIdx = currentIdx; - FrameRect = frameRect; - GridRect = gridRect; - CellSize = cellSize; - RowAlignmentData = rowAlignmentData; - ColAlignmentData = colAlignmentData; - RowRatios = rowRatios; - ColRatios = colRatios; - RowLinkData = rowLinkData; - ColLinkData = colLinkData; - if (tempSizes != default(float*)) - { - TempSizes_0 = tempSizes[0]; - TempSizes_1 = tempSizes[1]; - } - FrameHovered = frameHovered ? (byte)1 : (byte)0; - HasTitle = hasTitle ? (byte)1 : (byte)0; - } - - /// - /// To be documented. - /// - public unsafe ImPlotSubplot(uint id = default, ImPlotSubplotFlags flags = default, ImPlotSubplotFlags previousFlags = default, ImPlotItemGroup items = default, int rows = default, int cols = default, int currentIdx = default, ImRect frameRect = default, ImRect gridRect = default, Vector2 cellSize = default, ImVector rowAlignmentData = default, ImVector colAlignmentData = default, ImVector rowRatios = default, ImVector colRatios = default, ImVector rowLinkData = default, ImVector colLinkData = default, Span tempSizes = default, bool frameHovered = default, bool hasTitle = default) - { - ID = id; - Flags = flags; - PreviousFlags = previousFlags; - Items = items; - Rows = rows; - Cols = cols; - CurrentIdx = currentIdx; - FrameRect = frameRect; - GridRect = gridRect; - CellSize = cellSize; - RowAlignmentData = rowAlignmentData; - ColAlignmentData = colAlignmentData; - RowRatios = rowRatios; - ColRatios = colRatios; - RowLinkData = rowLinkData; - ColLinkData = colLinkData; - if (tempSizes != default(Span)) - { - TempSizes_0 = tempSizes[0]; - TempSizes_1 = tempSizes[1]; - } - FrameHovered = frameHovered ? (byte)1 : (byte)0; - HasTitle = hasTitle ? (byte)1 : (byte)0; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotSubplot* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotSubplotPtr : IEquatable - { - public ImPlotSubplotPtr(ImPlotSubplot* handle) { Handle = handle; } - - public ImPlotSubplot* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotSubplotPtr Null => new ImPlotSubplotPtr(null); - - public ImPlotSubplot this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotSubplotPtr(ImPlotSubplot* handle) => new ImPlotSubplotPtr(handle); - - public static implicit operator ImPlotSubplot*(ImPlotSubplotPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotSubplotPtr left, ImPlotSubplotPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotSubplotPtr left, ImPlotSubplotPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotSubplotPtr left, ImPlotSubplot* right) => left.Handle == right; - - public static bool operator !=(ImPlotSubplotPtr left, ImPlotSubplot* right) => left.Handle != right; - - public bool Equals(ImPlotSubplotPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotSubplotPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotSubplotPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref uint ID => ref Unsafe.AsRef(&Handle->ID); - /// - /// To be documented. - /// - public ref ImPlotSubplotFlags Flags => ref Unsafe.AsRef(&Handle->Flags); - /// - /// To be documented. - /// - public ref ImPlotSubplotFlags PreviousFlags => ref Unsafe.AsRef(&Handle->PreviousFlags); - /// - /// To be documented. - /// - public ref ImPlotItemGroup Items => ref Unsafe.AsRef(&Handle->Items); - /// - /// To be documented. - /// - public ref int Rows => ref Unsafe.AsRef(&Handle->Rows); - /// - /// To be documented. - /// - public ref int Cols => ref Unsafe.AsRef(&Handle->Cols); - /// - /// To be documented. - /// - public ref int CurrentIdx => ref Unsafe.AsRef(&Handle->CurrentIdx); - /// - /// To be documented. - /// - public ref ImRect FrameRect => ref Unsafe.AsRef(&Handle->FrameRect); - /// - /// To be documented. - /// - public ref ImRect GridRect => ref Unsafe.AsRef(&Handle->GridRect); - /// - /// To be documented. - /// - public ref Vector2 CellSize => ref Unsafe.AsRef(&Handle->CellSize); - /// - /// To be documented. - /// - public ref ImVector RowAlignmentData => ref Unsafe.AsRef>(&Handle->RowAlignmentData); - /// - /// To be documented. - /// - public ref ImVector ColAlignmentData => ref Unsafe.AsRef>(&Handle->ColAlignmentData); - /// - /// To be documented. - /// - public ref ImVector RowRatios => ref Unsafe.AsRef>(&Handle->RowRatios); - /// - /// To be documented. - /// - public ref ImVector ColRatios => ref Unsafe.AsRef>(&Handle->ColRatios); - /// - /// To be documented. - /// - public ref ImVector RowLinkData => ref Unsafe.AsRef>(&Handle->RowLinkData); - /// - /// To be documented. - /// - public ref ImVector ColLinkData => ref Unsafe.AsRef>(&Handle->ColLinkData); - /// - /// To be documented. - /// - public unsafe Span TempSizes - - { - get - { - return new Span(&Handle->TempSizes_0, 2); - } - } - /// - /// To be documented. - /// - public ref bool FrameHovered => ref Unsafe.AsRef(&Handle->FrameHovered); - /// - /// To be documented. - /// - public ref bool HasTitle => ref Unsafe.AsRef(&Handle->HasTitle); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTag.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTag.cs deleted file mode 100644 index 421b2d553..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTag.cs +++ /dev/null @@ -1,130 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotTag - { - /// - /// To be documented. - /// - public ImAxis Axis; - - /// - /// To be documented. - /// - public double Value; - - /// - /// To be documented. - /// - public uint ColorBg; - - /// - /// To be documented. - /// - public uint ColorFg; - - /// - /// To be documented. - /// - public int TextOffset; - - - /// - /// To be documented. - /// - public unsafe ImPlotTag(ImAxis axis = default, double value = default, uint colorBg = default, uint colorFg = default, int textOffset = default) - { - Axis = axis; - Value = value; - ColorBg = colorBg; - ColorFg = colorFg; - TextOffset = textOffset; - } - - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotTagPtr : IEquatable - { - public ImPlotTagPtr(ImPlotTag* handle) { Handle = handle; } - - public ImPlotTag* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotTagPtr Null => new ImPlotTagPtr(null); - - public ImPlotTag this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotTagPtr(ImPlotTag* handle) => new ImPlotTagPtr(handle); - - public static implicit operator ImPlotTag*(ImPlotTagPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotTagPtr left, ImPlotTagPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotTagPtr left, ImPlotTagPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotTagPtr left, ImPlotTag* right) => left.Handle == right; - - public static bool operator !=(ImPlotTagPtr left, ImPlotTag* right) => left.Handle != right; - - public bool Equals(ImPlotTagPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotTagPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotTagPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImAxis Axis => ref Unsafe.AsRef(&Handle->Axis); - /// - /// To be documented. - /// - public ref double Value => ref Unsafe.AsRef(&Handle->Value); - /// - /// To be documented. - /// - public ref uint ColorBg => ref Unsafe.AsRef(&Handle->ColorBg); - /// - /// To be documented. - /// - public ref uint ColorFg => ref Unsafe.AsRef(&Handle->ColorFg); - /// - /// To be documented. - /// - public ref int TextOffset => ref Unsafe.AsRef(&Handle->TextOffset); - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTagCollection.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTagCollection.cs deleted file mode 100644 index 505778d50..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTagCollection.cs +++ /dev/null @@ -1,450 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotTagCollection - { - /// - /// To be documented. - /// - public ImVector Tags; - - /// - /// To be documented. - /// - public ImGuiTextBuffer TextBuffer; - - /// - /// To be documented. - /// - public int Size; - - - /// - /// To be documented. - /// - public unsafe ImPlotTagCollection(ImVector tags = default, ImGuiTextBuffer textBuffer = default, int size = default) - { - Tags = tags; - TextBuffer = textBuffer; - Size = size; - } - - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, byte* fmt) - { - fixed (ImPlotTagCollection* @this = &this) - { - ImPlot.AppendNative(@this, axis, value, bg, fg, fmt); - } - } - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ref byte fmt) - { - fixed (ImPlotTagCollection* @this = &this) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendNative(@this, axis, value, bg, fg, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) - { - fixed (ImPlotTagCollection* @this = &this) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendNative(@this, axis, value, bg, fg, (byte*)pfmt); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, string fmt) - { - fixed (ImPlotTagCollection* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendNative(@this, axis, value, bg, fg, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) - { - fixed (ImPlotTagCollection* @this = &this) - { - ImPlot.AppendVNative(@this, axis, value, bg, fg, fmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) - { - fixed (ImPlotTagCollection* @this = &this) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendVNative(@this, axis, value, bg, fg, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) - { - fixed (ImPlotTagCollection* @this = &this) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendVNative(@this, axis, value, bg, fg, (byte*)pfmt, args); - } - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) - { - fixed (ImPlotTagCollection* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendVNative(@this, axis, value, bg, fg, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotTagCollection* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(int idx) - { - fixed (ImPlotTagCollection* @this = &this) - { - byte* ret = ImPlot.GetTextNative(@this, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(int idx) - { - fixed (ImPlotTagCollection* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, idx)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotTagCollection* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotTagCollectionPtr : IEquatable - { - public ImPlotTagCollectionPtr(ImPlotTagCollection* handle) { Handle = handle; } - - public ImPlotTagCollection* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotTagCollectionPtr Null => new ImPlotTagCollectionPtr(null); - - public ImPlotTagCollection this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotTagCollectionPtr(ImPlotTagCollection* handle) => new ImPlotTagCollectionPtr(handle); - - public static implicit operator ImPlotTagCollection*(ImPlotTagCollectionPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotTagCollectionPtr left, ImPlotTagCollectionPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotTagCollectionPtr left, ImPlotTagCollectionPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotTagCollectionPtr left, ImPlotTagCollection* right) => left.Handle == right; - - public static bool operator !=(ImPlotTagCollectionPtr left, ImPlotTagCollection* right) => left.Handle != right; - - public bool Equals(ImPlotTagCollectionPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotTagCollectionPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotTagCollectionPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Tags => ref Unsafe.AsRef>(&Handle->Tags); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); - /// - /// To be documented. - /// - public ref int Size => ref Unsafe.AsRef(&Handle->Size); - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, byte* fmt) - { - ImPlot.AppendNative(Handle, axis, value, bg, fg, fmt); - } - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ref byte fmt) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendNative(Handle, axis, value, bg, fg, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendNative(Handle, axis, value, bg, fg, (byte*)pfmt); - } - } - - /// - /// To be documented. - /// - public unsafe void Append(ImAxis axis, double value, uint bg, uint fg, string fmt) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendNative(Handle, axis, value, bg, fg, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, byte* fmt, nuint args) - { - ImPlot.AppendVNative(Handle, axis, value, bg, fg, fmt, args); - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ref byte fmt, nuint args) - { - fixed (byte* pfmt = &fmt) - { - ImPlot.AppendVNative(Handle, axis, value, bg, fg, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, ReadOnlySpan fmt, nuint args) - { - fixed (byte* pfmt = fmt) - { - ImPlot.AppendVNative(Handle, axis, value, bg, fg, (byte*)pfmt, args); - } - } - - /// - /// To be documented. - /// - public unsafe void AppendV(ImAxis axis, double value, uint bg, uint fg, string fmt, nuint args) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (fmt != null) - { - pStrSize0 = Utils.GetByteCountUTF8(fmt); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(fmt, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlot.AppendVNative(Handle, axis, value, bg, fg, pStr0, args); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(int idx) - { - byte* ret = ImPlot.GetTextNative(Handle, idx); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(int idx) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, idx)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTick.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTick.cs deleted file mode 100644 index 1ff8b1bdb..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTick.cs +++ /dev/null @@ -1,179 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotTick - { - /// - /// To be documented. - /// - public double PlotPos; - - /// - /// To be documented. - /// - public float PixelPos; - - /// - /// To be documented. - /// - public Vector2 LabelSize; - - /// - /// To be documented. - /// - public int TextOffset; - - /// - /// To be documented. - /// - public byte Major; - - /// - /// To be documented. - /// - public byte ShowLabel; - - /// - /// To be documented. - /// - public int Level; - - /// - /// To be documented. - /// - public int Idx; - - - /// - /// To be documented. - /// - public unsafe ImPlotTick(double plotPos = default, float pixelPos = default, Vector2 labelSize = default, int textOffset = default, bool major = default, bool showLabel = default, int level = default, int idx = default) - { - PlotPos = plotPos; - PixelPos = pixelPos; - LabelSize = labelSize; - TextOffset = textOffset; - Major = major ? (byte)1 : (byte)0; - ShowLabel = showLabel ? (byte)1 : (byte)0; - Level = level; - Idx = idx; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotTick* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotTickPtr : IEquatable - { - public ImPlotTickPtr(ImPlotTick* handle) { Handle = handle; } - - public ImPlotTick* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotTickPtr Null => new ImPlotTickPtr(null); - - public ImPlotTick this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotTickPtr(ImPlotTick* handle) => new ImPlotTickPtr(handle); - - public static implicit operator ImPlotTick*(ImPlotTickPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotTickPtr left, ImPlotTickPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotTickPtr left, ImPlotTickPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotTickPtr left, ImPlotTick* right) => left.Handle == right; - - public static bool operator !=(ImPlotTickPtr left, ImPlotTick* right) => left.Handle != right; - - public bool Equals(ImPlotTickPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotTickPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotTickPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref double PlotPos => ref Unsafe.AsRef(&Handle->PlotPos); - /// - /// To be documented. - /// - public ref float PixelPos => ref Unsafe.AsRef(&Handle->PixelPos); - /// - /// To be documented. - /// - public ref Vector2 LabelSize => ref Unsafe.AsRef(&Handle->LabelSize); - /// - /// To be documented. - /// - public ref int TextOffset => ref Unsafe.AsRef(&Handle->TextOffset); - /// - /// To be documented. - /// - public ref bool Major => ref Unsafe.AsRef(&Handle->Major); - /// - /// To be documented. - /// - public ref bool ShowLabel => ref Unsafe.AsRef(&Handle->ShowLabel); - /// - /// To be documented. - /// - public ref int Level => ref Unsafe.AsRef(&Handle->Level); - /// - /// To be documented. - /// - public ref int Idx => ref Unsafe.AsRef(&Handle->Idx); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTicker.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTicker.cs deleted file mode 100644 index 458bd155f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTicker.cs +++ /dev/null @@ -1,472 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotTicker - { - /// - /// To be documented. - /// - public ImVector Ticks; - - /// - /// To be documented. - /// - public ImGuiTextBuffer TextBuffer; - - /// - /// To be documented. - /// - public Vector2 MaxSize; - - /// - /// To be documented. - /// - public Vector2 LateSize; - - /// - /// To be documented. - /// - public int Levels; - - - /// - /// To be documented. - /// - public unsafe ImPlotTicker(ImVector ticks = default, ImGuiTextBuffer textBuffer = default, Vector2 maxSize = default, Vector2 lateSize = default, int levels = default) - { - Ticks = ticks; - TextBuffer = textBuffer; - MaxSize = maxSize; - LateSize = lateSize; - Levels = levels; - } - - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, byte* label) - { - fixed (ImPlotTicker* @this = &this) - { - ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ref byte label) - { - fixed (ImPlotTicker* @this = &this) - { - fixed (byte* plabel = &label) - { - ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ReadOnlySpan label) - { - fixed (ImPlotTicker* @this = &this) - { - fixed (byte* plabel = label) - { - ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, string label) - { - fixed (ImPlotTicker* @this = &this) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) - { - fixed (ImPlotTicker* @this = &this) - { - ImPlotTick* ret = ImPlot.AddTickNative(@this, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(ImPlotTick tick) - { - fixed (ImPlotTicker* @this = &this) - { - ImPlotTick* ret = ImPlot.AddTickNative(@this, tick); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotTicker* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(int idx) - { - fixed (ImPlotTicker* @this = &this) - { - byte* ret = ImPlot.GetTextNative(@this, idx); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(int idx) - { - fixed (ImPlotTicker* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, idx)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(ImPlotTick tick) - { - fixed (ImPlotTicker* @this = &this) - { - byte* ret = ImPlot.GetTextNative(@this, tick); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(ImPlotTick tick) - { - fixed (ImPlotTicker* @this = &this) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(@this, tick)); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe void OverrideSizeLate(Vector2 size) - { - fixed (ImPlotTicker* @this = &this) - { - ImPlot.OverrideSizeLateNative(@this, size); - } - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - fixed (ImPlotTicker* @this = &this) - { - ImPlot.ResetNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe int TickCount() - { - fixed (ImPlotTicker* @this = &this) - { - int ret = ImPlot.TickCountNative(@this); - return ret; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotTickerPtr : IEquatable - { - public ImPlotTickerPtr(ImPlotTicker* handle) { Handle = handle; } - - public ImPlotTicker* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotTickerPtr Null => new ImPlotTickerPtr(null); - - public ImPlotTicker this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotTickerPtr(ImPlotTicker* handle) => new ImPlotTickerPtr(handle); - - public static implicit operator ImPlotTicker*(ImPlotTickerPtr handle) => handle.Handle; - - public static bool operator ==(ImPlotTickerPtr left, ImPlotTickerPtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotTickerPtr left, ImPlotTickerPtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotTickerPtr left, ImPlotTicker* right) => left.Handle == right; - - public static bool operator !=(ImPlotTickerPtr left, ImPlotTicker* right) => left.Handle != right; - - public bool Equals(ImPlotTickerPtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotTickerPtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotTickerPtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref ImVector Ticks => ref Unsafe.AsRef>(&Handle->Ticks); - /// - /// To be documented. - /// - public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&Handle->TextBuffer); - /// - /// To be documented. - /// - public ref Vector2 MaxSize => ref Unsafe.AsRef(&Handle->MaxSize); - /// - /// To be documented. - /// - public ref Vector2 LateSize => ref Unsafe.AsRef(&Handle->LateSize); - /// - /// To be documented. - /// - public ref int Levels => ref Unsafe.AsRef(&Handle->Levels); - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, byte* label) - { - ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, label); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ref byte label) - { - fixed (byte* plabel = &label) - { - ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ReadOnlySpan label) - { - fixed (byte* plabel = label) - { - ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, (byte*)plabel); - return ret; - } - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, string label) - { - byte* pStr0 = null; - int pStrSize0 = 0; - if (label != null) - { - pStrSize0 = Utils.GetByteCountUTF8(label); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - pStr0 = Utils.Alloc(pStrSize0 + 1); - } - else - { - byte* pStrStack0 = stackalloc byte[pStrSize0 + 1]; - pStr0 = pStrStack0; - } - int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0); - pStr0[pStrOffset0] = 0; - } - ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, pStr0); - if (pStrSize0 >= Utils.MaxStackallocSize) - { - Utils.Free(pStr0); - } - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(double value, bool major, int level, bool showLabel, ImPlotFormatter formatter, void* data) - { - ImPlotTick* ret = ImPlot.AddTickNative(Handle, value, major ? (byte)1 : (byte)0, level, showLabel ? (byte)1 : (byte)0, formatter, data); - return ret; - } - - /// - /// To be documented. - /// - public unsafe ImPlotTick* AddTick(ImPlotTick tick) - { - ImPlotTick* ret = ImPlot.AddTickNative(Handle, tick); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(int idx) - { - byte* ret = ImPlot.GetTextNative(Handle, idx); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(int idx) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, idx)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe byte* GetText(ImPlotTick tick) - { - byte* ret = ImPlot.GetTextNative(Handle, tick); - return ret; - } - - /// - /// To be documented. - /// - public unsafe string GetTextS(ImPlotTick tick) - { - string ret = Utils.DecodeStringUTF8(ImPlot.GetTextNative(Handle, tick)); - return ret; - } - - /// - /// To be documented. - /// - public unsafe void OverrideSizeLate(Vector2 size) - { - ImPlot.OverrideSizeLateNative(Handle, size); - } - - /// - /// To be documented. - /// - public unsafe void Reset() - { - ImPlot.ResetNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe int TickCount() - { - int ret = ImPlot.TickCountNative(Handle); - return ret; - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTime.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTime.cs deleted file mode 100644 index 45d96748e..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPlotTime.cs +++ /dev/null @@ -1,178 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPlotTime - { - /// - /// To be documented. - /// - public long S; - - /// - /// To be documented. - /// - public int Us; - - - /// - /// To be documented. - /// - public unsafe ImPlotTime(long s = default, int us = default) - { - S = s; - Us = us; - } - - - /// - /// To be documented. - /// - public unsafe void Destroy() - { - fixed (ImPlotTime* @this = &this) - { - ImPlot.DestroyNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe void FromDouble(double t) - { - fixed (ImPlotTime* @this = &this) - { - ImPlot.FromDoubleNative(@this, t); - } - } - - /// - /// To be documented. - /// - public unsafe void RollOver() - { - fixed (ImPlotTime* @this = &this) - { - ImPlot.RollOverNative(@this); - } - } - - /// - /// To be documented. - /// - public unsafe double ToDouble() - { - fixed (ImPlotTime* @this = &this) - { - double ret = ImPlot.ToDoubleNative(@this); - return ret; - } - } - - } - - /// - /// To be documented. - /// - #if NET5_0_OR_GREATER - [DebuggerDisplay("{DebuggerDisplay,nq}")] - #endif - public unsafe struct ImPlotTimePtr : IEquatable - { - public ImPlotTimePtr(ImPlotTime* handle) { Handle = handle; } - - public ImPlotTime* Handle; - - public bool IsNull => Handle == null; - - public static ImPlotTimePtr Null => new ImPlotTimePtr(null); - - public ImPlotTime this[int index] { get => Handle[index]; set => Handle[index] = value; } - - public static implicit operator ImPlotTimePtr(ImPlotTime* handle) => new ImPlotTimePtr(handle); - - public static implicit operator ImPlotTime*(ImPlotTimePtr handle) => handle.Handle; - - public static bool operator ==(ImPlotTimePtr left, ImPlotTimePtr right) => left.Handle == right.Handle; - - public static bool operator !=(ImPlotTimePtr left, ImPlotTimePtr right) => left.Handle != right.Handle; - - public static bool operator ==(ImPlotTimePtr left, ImPlotTime* right) => left.Handle == right; - - public static bool operator !=(ImPlotTimePtr left, ImPlotTime* right) => left.Handle != right; - - public bool Equals(ImPlotTimePtr other) => Handle == other.Handle; - - /// - public override bool Equals(object obj) => obj is ImPlotTimePtr handle && Equals(handle); - - /// - public override int GetHashCode() => ((nuint)Handle).GetHashCode(); - - #if NET5_0_OR_GREATER - private string DebuggerDisplay => string.Format("ImPlotTimePtr [0x{0}]", ((nuint)Handle).ToString("X")); - #endif - /// - /// To be documented. - /// - public ref long S => ref Unsafe.AsRef(&Handle->S); - /// - /// To be documented. - /// - public ref int Us => ref Unsafe.AsRef(&Handle->Us); - /// - /// To be documented. - /// - public unsafe void Destroy() - { - ImPlot.DestroyNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe void FromDouble(double t) - { - ImPlot.FromDoubleNative(Handle, t); - } - - /// - /// To be documented. - /// - public unsafe void RollOver() - { - ImPlot.RollOverNative(Handle); - } - - /// - /// To be documented. - /// - public unsafe double ToDouble() - { - double ret = ImPlot.ToDoubleNative(Handle); - return ret; - } - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs deleted file mode 100644 index 373db72fc..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotAlignmentData.cs +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImPlotAlignmentData - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImPlotAlignmentData(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotItem.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotItem.cs deleted file mode 100644 index 949b0bd6f..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotItem.cs +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImPlotItem - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImPlotItem(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs deleted file mode 100644 index cbf66e849..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotPlot.cs +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImPlotPlot - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImPlotPlot(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs b/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs deleted file mode 100644 index 3c310aeb2..000000000 --- a/src/Hexa.NET.ImPlot/Generated/Structs/ImPoolImPlotSubplot.cs +++ /dev/null @@ -1,61 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -using System; -using System.Diagnostics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using HexaGen.Runtime; -using System.Numerics; -using Hexa.NET.ImGui; - -namespace Hexa.NET.ImPlot -{ - /// - /// To be documented. - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct ImPoolImPlotSubplot - { - /// - /// To be documented. - /// - public ImVector Buf; - - /// - /// To be documented. - /// - public ImGuiStorage Map; - - /// - /// To be documented. - /// - public int FreeIdx; - - /// - /// To be documented. - /// - public int AliveCount; - - - /// - /// To be documented. - /// - public unsafe ImPoolImPlotSubplot(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) - { - Buf = buf; - Map = map; - FreeIdx = freeIdx; - AliveCount = aliveCount; - } - - - } - -} diff --git a/src/Hexa.NET.ImPlot/Hexa.NET.ImPlot.csproj b/src/Hexa.NET.ImPlot/Hexa.NET.ImPlot.csproj deleted file mode 100644 index f08427add..000000000 --- a/src/Hexa.NET.ImPlot/Hexa.NET.ImPlot.csproj +++ /dev/null @@ -1,100 +0,0 @@ - - - net9.0;net8.0;net7.0;net6.0;netstandard2.1;netstandard2.0 - enable - enable - true - - 12 - - true - true - true - true - - 0.17.0 - 2.2.7 - A .NET wrapper for the ImPlot library. (0.17) - ImPlot UI Immidate GUI Plot Hexa HexaGen Source Generator C# .NET DotNet Sharp Windows macOS Android Bindings Wrapper Native - Juna Meinhold - Copyright (c) 2023 Juna Meinhold - https://github.com/HexaEngine/Hexa.NET.ImGui - https://github.com/HexaEngine/Hexa.NET.ImGui - git - LICENSE.txt - README.md - - true - $(NoWarn);1591 - - true - - - - - - - - - runtimes\android-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-x64/native - true - - - runtimes\android-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/android-arm64/native - true - - - runtimes\osx-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-arm64/native - true - - - runtimes\osx-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/osx-x64/native - true - - - runtimes\linux-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-arm64/native - true - - - runtimes\linux-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/linux-x64/native - true - - - runtimes\win-arm64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-arm64/native - true - - - runtimes\win-x64\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x64/native - true - - - runtimes\win-x86\native\%(RecursiveDir)%(Filename)%(Extension) - Always - runtimes/win-x86/native - true - - - - - - - - - - \ No newline at end of file diff --git a/src/Hexa.NET.ImPlot/ImPlot.cs b/src/Hexa.NET.ImPlot/ImPlot.cs deleted file mode 100644 index 1ff826070..000000000 --- a/src/Hexa.NET.ImPlot/ImPlot.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Hexa.NET.ImPlot -{ - using HexaGen.Runtime; - using System.Diagnostics; - - public static class ImPlotConfig - { - public static bool AotStaticLink; - } - - public static unsafe partial class ImPlot - { - static ImPlot() - { - if (ImPlotConfig.AotStaticLink) - { - InitApi(new NativeLibraryContext(Process.GetCurrentProcess().MainModule!.BaseAddress)); - } - else - { - InitApi(new NativeLibraryContext(LibraryLoader.LoadLibrary(GetLibraryName, null))); - } - } - - public static string GetLibraryName() - { - return "cimplot"; - } - } -} \ No newline at end of file diff --git a/src/Hexa.NET.ImPlot/LICENSE.txt b/src/Hexa.NET.ImPlot/LICENSE.txt deleted file mode 100644 index b5dae7ac2..000000000 --- a/src/Hexa.NET.ImPlot/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2023 Juna Meinhold - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/src/Hexa.NET.ImPlot/README.md b/src/Hexa.NET.ImPlot/README.md deleted file mode 100644 index 542427d27..000000000 --- a/src/Hexa.NET.ImPlot/README.md +++ /dev/null @@ -1 +0,0 @@ -A .NET wrapper for the Dear ImGui library. \ No newline at end of file diff --git a/src/Hexa.NET.ImPlot/Tm.cs b/src/Hexa.NET.ImPlot/Tm.cs deleted file mode 100644 index 94e328b97..000000000 --- a/src/Hexa.NET.ImPlot/Tm.cs +++ /dev/null @@ -1,109 +0,0 @@ -namespace Hexa.NET.ImPlot -{ - using System; - - public struct Tm : IEquatable - { - /// - /// seconds after the minute - [0, 60] including leap second - /// - public int Sec; - - /// - /// minutes after the hour - [0, 59] - /// - public int Min; - - /// - /// hours since midnight - [0, 23] - /// - public int Hour; - - /// - /// day of the month - [1, 31] - /// - public int MDay; - - /// - /// months since January - [0, 11] - /// - public int Mon; - - /// - /// years since 1900 - /// - public int Year; - - /// - /// days since Sunday - [0, 6] - /// - public int WDay; - - /// - /// days since January 1 - [0, 365] - /// - public int YDay; - - /// - /// daylight savings time flag - /// - public int IsDst; - - public override bool Equals(object? obj) - { - return obj is Tm tm && Equals(tm); - } - - public bool Equals(Tm other) - { - return Sec == other.Sec && - Min == other.Min && - Hour == other.Hour && - MDay == other.MDay && - Mon == other.Mon && - Year == other.Year && - WDay == other.WDay && - YDay == other.YDay && - IsDst == other.IsDst; - } - - public override int GetHashCode() - { -#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER - HashCode hash = new HashCode(); - hash.Add(Sec); - hash.Add(Min); - hash.Add(Hour); - hash.Add(MDay); - hash.Add(Mon); - hash.Add(Year); - hash.Add(WDay); - hash.Add(YDay); - hash.Add(IsDst); - return hash.ToHashCode(); -#else - int hash = 17; - hash = hash * 31 + Sec.GetHashCode(); - hash = hash * 31 + Min.GetHashCode(); - hash = hash * 31 + Hour.GetHashCode(); - hash = hash * 31 + MDay.GetHashCode(); - hash = hash * 31 + Mon.GetHashCode(); - hash = hash * 31 + Year.GetHashCode(); - hash = hash * 31 + WDay.GetHashCode(); - hash = hash * 31 + YDay.GetHashCode(); - hash = hash * 31 + IsDst.GetHashCode(); - return hash; -#endif - } - - public static bool operator ==(Tm left, Tm right) - { - return left.Equals(right); - } - - public static bool operator !=(Tm left, Tm right) - { - return !(left == right); - } - } -} \ No newline at end of file diff --git a/src/Smithbox.Program/Smithbox.Program.csproj b/src/Smithbox.Program/Smithbox.Program.csproj index 88778f3d7..9ae994471 100644 --- a/src/Smithbox.Program/Smithbox.Program.csproj +++ b/src/Smithbox.Program/Smithbox.Program.csproj @@ -26,6 +26,10 @@ + + + + @@ -45,11 +49,6 @@ - - - - - diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index 7c6df6910..142fc211a 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -29,14 +29,13 @@ + + + + - - - - - diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 6aaf7922a..433084ce5 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -31,14 +31,13 @@ + + + + - - - - - diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index 28a618b2c..9b8583bf4 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -29,14 +29,13 @@ + + + + - - - - - From 100c11bafbd53895a15e058d72bfb9ff5844a4d4 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Mon, 13 Oct 2025 17:04:34 -0400 Subject: [PATCH 05/22] Configuration changes, improved macOS support --- .../VFS/ArchiveBinderVirtualFileSystem.cs | 18 +++---- .../SoulsFormats/SoulsFormats/Util/Oodle.cs | 34 ++++++++----- .../SoulsFormats/SoulsFormats/Util/Oodle26.cs | 10 ++-- .../SoulsFormats/SoulsFormats/Util/Oodle28.cs | 10 ++-- .../SoulsFormats/SoulsFormats/Util/Oodle29.cs | 10 ++-- src/Common/FileLocations.cs | 26 ++++++++++ src/Directory.Build.props | 8 +++ .../ColBakeTest/Havok.ColBakeTest.csproj | 3 ++ .../Havok.HKLib.Reflection.csproj | 5 ++ .../hk2018/HavokTypeRegistry.cs | 3 +- .../Havok.HKX.ClassGeneration.csproj | 3 ++ .../Havok.HKX2.Serialization.csproj | 3 ++ src/Smithbox.Data/Smithbox.Data.csproj | 11 +++- .../Banks/HelpBank/HelpBank.cs | 2 +- src/Smithbox.Program/Configuration/CFG.cs | 4 +- .../Configuration/Settings/EditorSettings.cs | 43 +++++++++------- .../Core/ProjectAliasEditor.cs | 2 +- src/Smithbox.Program/Core/ProjectEntry.cs | 34 +++++++------ src/Smithbox.Program/Core/ProjectUtils.cs | 2 +- .../Generators/FileDictionaryGenerator.cs | 5 +- src/Smithbox.Program/Debugging/QuickScript.cs | 2 +- .../Editors/FileBrowser/FileBrowserScreen.cs | 12 +++++ .../Editors/FileBrowser/FileToolView.cs | 2 +- .../Editors/MapEditor/Data/MapData.cs | 2 +- .../MapEditor/Framework/META/MsbMeta.cs | 2 +- .../Tools/Actions/EntityRenameAction.cs | 2 +- .../Editors/MapEditor/Tools/MassEditTool.cs | 1 - .../ModelEditor/Data/GxDescriptorBank.cs | 2 +- .../Editors/ParamEditor/Data/ParamBank.cs | 2 +- .../Editors/ParamEditor/Data/ParamData.cs | 16 +++--- .../ParamEditor/Decorators/FieldDecorators.cs | 6 +++ .../ParamEditor/MassEdit/MassEditHandler.cs | 7 ++- .../Editors/ParamEditor/ParamUtils.cs | 4 +- .../ParamEditor/Tools/ParamCategories.cs | 2 +- .../ParamEditor/Tools/ParamUpgrader.cs | 4 +- .../Framework/TextNamingTemplateManager.cs | 2 +- .../Data/ShoeboxLayoutContainer.cs | 2 +- .../TextureViewer/Tools/TexToolView.cs | 6 +++ src/Smithbox.Program/Interface/UIHelper.cs | 4 +- .../Resource/Locators/VirtualPathLocator.cs | 4 +- .../Scene/Helpers/ShaderHelper.cs | 2 +- src/Smithbox.Program/Smithbox.cs | 11 ++-- src/Smithbox.Program/Utilities/SteamUtils.cs | 47 ++++++++---------- src/Smithbox/AppIcon.icns | Bin 0 -> 3003 bytes src/Smithbox/Info.plist | 10 ++++ src/Smithbox/Linux.Build.props | 8 +++ src/Smithbox/Mac.Build.props | 8 +++ src/Smithbox/Program.cs | 6 ++- src/Smithbox/Smithbox.Linux.csproj | 7 +++ src/Smithbox/Smithbox.Mac.csproj | 28 ++++++++--- src/Smithbox/Smithbox.csproj | 9 +++- src/Smithbox/Windows.Build.props | 8 +++ src/Veldrid/Veldrid/CommonStrings.cs | 1 + src/Veldrid/Veldrid/GraphicsDevice.cs | 24 ++++++--- src/Veldrid/Veldrid/VkSurfaceUtil.cs | 2 +- 55 files changed, 334 insertions(+), 157 deletions(-) create mode 100644 src/Common/FileLocations.cs create mode 100644 src/Directory.Build.props create mode 100644 src/Smithbox/AppIcon.icns create mode 100644 src/Smithbox/Info.plist create mode 100644 src/Smithbox/Linux.Build.props create mode 100644 src/Smithbox/Mac.Build.props create mode 100644 src/Smithbox/Windows.Build.props diff --git a/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs b/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs index f5906fa6b..d7682c1e3 100644 --- a/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs +++ b/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs @@ -85,16 +85,16 @@ public static BhdDictionary GetDictionaryForGame(Game game) => game switch { Game.DES => throw new NotImplementedException(), - Game.DS1 => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), - Game.DS1R => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), - Game.DS2S => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","DarkSouls2Dictionary.txt")), BHD5.Game.DarkSouls2), - Game.DS3 => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","DarkSouls3Dictionary.txt")), BHD5.Game.DarkSouls3), + Game.DS1 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), + Game.DS1R => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), + Game.DS2S => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSouls2Dictionary.txt")), BHD5.Game.DarkSouls2), + Game.DS3 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSouls3Dictionary.txt")), BHD5.Game.DarkSouls3), Game.BB => throw new NotImplementedException(), - Game.SDT => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","SekiroDictionary.txt")), BHD5.Game.DarkSouls3), - Game.ER => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","EldenRingDictionary.txt")), BHD5.Game.EldenRing), - Game.NR => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","EldenRingNightreignDictionary.txt")), BHD5.Game.EldenRing), - Game.AC6 => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","ArmoredCore6Dictionary.txt")), BHD5.Game.EldenRing), - Game.DS2 => new(File.ReadAllText(Path.Join("Assets","UXM Dictionaries","ScholarDictionary.txt")), BHD5.Game.DarkSouls2), + Game.SDT => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","SekiroDictionary.txt")), BHD5.Game.DarkSouls3), + Game.ER => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","EldenRingDictionary.txt")), BHD5.Game.EldenRing), + Game.NR => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","EldenRingNightreignDictionary.txt")), BHD5.Game.EldenRing), + Game.AC6 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","ArmoredCore6Dictionary.txt")), BHD5.Game.EldenRing), + Game.DS2 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","ScholarDictionary.txt")), BHD5.Game.DarkSouls2), _ => throw new ArgumentOutOfRangeException(nameof(game), game, null) }; diff --git a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs index eb41608f4..b63139bfb 100644 --- a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs +++ b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs @@ -22,11 +22,13 @@ private static bool CanUseOodle6() return true; } #if WINDOWS - if (Path.Exists($@"{Directory.GetCurrentDirectory()}\oo2core_6_win64.dll")) -#elif OSX - if (Path.Exists($@"{Directory.GetCurrentDirectory()}/liboo2coremac64.2.6.dylib")) + if (Path.Exists($@"{AppContext.BaseDirectory}\oo2core_6_win64.dll")) +#elif MACOS + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.6.dylib")) #elif LINUX - if (Path.Exists($@"{Directory.GetCurrentDirectory()}/liboo2corelinux64.so.6")) + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2corelinux64.so.6")) +#else + return false; #endif { Oodle6Exists = true; @@ -42,11 +44,13 @@ private static bool CanUseOodle8() return true; } #if WINDOWS - if (Path.Exists($@"{Directory.GetCurrentDirectory()}\oo2core_8_win64.dll")) -#elif OSX - if (Path.Exists($@"{Directory.GetCurrentDirectory()}/liboo2coremac64.2.8.dylib")) + if (Path.Exists($@"{AppContext.BaseDirectory}\oo2core_8_win64.dll")) +#elif MACOS + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.8.dylib")) #elif LINUX - if (Path.Exists($@"{Directory.GetCurrentDirectory()}/liboo2corelinux64.so.8")) + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2corelinux64.so.8")) +#else + return false; #endif { Oodle8Exists = true; @@ -62,11 +66,13 @@ private static bool CanUseOodle9() return true; } #if WINDOWS - if (Path.Exists($@"{Directory.GetCurrentDirectory()}\oo2core_9_win64.dll")) -#elif OSX - if (Path.Exists($@"{Directory.GetCurrentDirectory()}/liboo2coremac64.2.9.dylib")) + if (Path.Exists($@"{AppContext.BaseDirectory}\oo2core_9_win64.dll")) +#elif MACOS + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.9.dylib")) #elif LINUX - if (Path.Exists($@"{Directory.GetCurrentDirectory()}/liboo2corelinux64.so.9")) + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2corelinux64.so.9")) +#else + return false; #endif { Oodle9Exists = true; @@ -121,12 +127,14 @@ public static IOodleCompressor GetOodleCompressor(int compressionLevel = -1) #if WINDOWS throw new NoOodleFoundException($"Could not find a supported version of oo2core. " + $"Please copy oo2core_6_win64.dll, oo2core_8_win64.dll or oo2core_9_win64.dll into the Smithbox program directory"); -#elif OSX +#elif MACOS throw new NoOodleFoundException($"Could not find a supported version of oo2core. " + $"Please copy liboo2coremac64.2.6.dylib, liboo2coremac64.2.8.dylib or liboo2coremac64.2.9.dylib into the Smithbox program directory"); #elif LINUX throw new NoOodleFoundException($"Could not find a supported version of oo2core. " + $"Please copy liboo2corelinux64.so.6, liboo2corelinux64.so.8 or liboo2corelinux64.so.9 into the Smithbox program directory"); +#else + return false; #endif } diff --git a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle26.cs b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle26.cs index e57d89ba2..ab7b51965 100644 --- a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle26.cs +++ b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle26.cs @@ -58,7 +58,7 @@ public unsafe Memory Decompress(Span source, long uncompressedSize) /// = 0 #if WINDOWS [DllImport("oo2core_6_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.6.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.6", CallingConvention = CallingConvention.StdCall)] @@ -85,7 +85,7 @@ private static unsafe long OodleLZ_Compress(Oodle.OodleLZ_Compressor compressor, /// = OodleLZ_CompressionLevel_Normal #if WINDOWS [DllImport("oo2core_6_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.6.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.6", CallingConvention = CallingConvention.StdCall)] @@ -114,7 +114,7 @@ public static IntPtr OodleLZ_CompressOptions_GetDefault() /// = OodleLZ_Decode_Unthreaded #if WINDOWS [DllImport("oo2core_6_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.6.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.6", CallingConvention = CallingConvention.StdCall)] @@ -144,7 +144,7 @@ private static unsafe long OodleLZ_Decompress(byte* compBuf, long compBufSize, b #if WINDOWS [DllImport("oo2core_6_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.6.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.6", CallingConvention = CallingConvention.StdCall)] @@ -155,7 +155,7 @@ private static extern long OodleLZ_GetCompressedBufferSizeNeeded( #if WINDOWS [DllImport("oo2core_6_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.6.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.6", CallingConvention = CallingConvention.StdCall)] diff --git a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle28.cs b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle28.cs index 5add75e0b..cc529a4ce 100644 --- a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle28.cs +++ b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle28.cs @@ -58,7 +58,7 @@ public unsafe Memory Decompress(Span source, long uncompressedSize) /// = 0 #if WINDOWS [DllImport("oo2core_8_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.8.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.8", CallingConvention = CallingConvention.StdCall)] @@ -85,7 +85,7 @@ private static unsafe long OodleLZ_Compress(Oodle.OodleLZ_Compressor compressor, /// = OodleLZ_CompressionLevel_Normal #if WINDOWS [DllImport("oo2core_8_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.8.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.8", CallingConvention = CallingConvention.StdCall)] @@ -108,7 +108,7 @@ private static unsafe long OodleLZ_Compress(Oodle.OodleLZ_Compressor compressor, /// = OodleLZ_Decode_Unthreaded #if WINDOWS [DllImport("oo2core_8_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.8.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.8", CallingConvention = CallingConvention.StdCall)] @@ -138,7 +138,7 @@ private static unsafe long OodleLZ_Decompress(byte* compBuf, long compBufSize, b #if WINDOWS [DllImport("oo2core_8_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.8.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.8", CallingConvention = CallingConvention.StdCall)] @@ -150,7 +150,7 @@ private static extern long OodleLZ_GetCompressedBufferSizeNeeded( #if WINDOWS [DllImport("oo2core_8_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.8.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.8", CallingConvention = CallingConvention.StdCall)] diff --git a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle29.cs b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle29.cs index 23af61c76..0e7e759cd 100644 --- a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle29.cs +++ b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle29.cs @@ -58,7 +58,7 @@ public unsafe Memory Decompress(Span source, long uncompressedSize) /// = 0 #if WINDOWS [DllImport("oo2core_9_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.9.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.9", CallingConvention = CallingConvention.StdCall)] @@ -85,7 +85,7 @@ private static unsafe long OodleLZ_Compress(Oodle.OodleLZ_Compressor compressor, /// = OodleLZ_CompressionLevel_Normal #if WINDOWS [DllImport("oo2core_9_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.9.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.9", CallingConvention = CallingConvention.StdCall)] @@ -108,7 +108,7 @@ private static unsafe long OodleLZ_Compress(Oodle.OodleLZ_Compressor compressor, /// = OodleLZ_Decode_Unthreaded #if WINDOWS [DllImport("oo2core_9_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.9.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.9", CallingConvention = CallingConvention.StdCall)] @@ -138,7 +138,7 @@ private static unsafe long OodleLZ_Decompress(byte* compBuf, long compBufSize, b #if WINDOWS [DllImport("oo2core_9_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.9.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.9", CallingConvention = CallingConvention.StdCall)] @@ -150,7 +150,7 @@ private static extern long OodleLZ_GetCompressedBufferSizeNeeded( #if WINDOWS [DllImport("oo2core_9_win64.dll", CallingConvention = CallingConvention.StdCall)] -#elif OSX +#elif MACOS [DllImport("liboo2coremac64.2.9.dylib", CallingConvention = CallingConvention.StdCall)] #elif LINUX [DllImport("liboo2corelinux64.so.9", CallingConvention = CallingConvention.StdCall)] diff --git a/src/Common/FileLocations.cs b/src/Common/FileLocations.cs new file mode 100644 index 000000000..9ebc9304a --- /dev/null +++ b/src/Common/FileLocations.cs @@ -0,0 +1,26 @@ +using System; +using System.IO; + +namespace Common +{ + internal static class FileLocations + { +#if MACOS + // NSBundle.MainBundle.ResourcePath + public static readonly string Resources = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "../Resources")); + public static readonly string Assets = Path.Combine(Resources, "Assets"); + public static readonly string Res = Path.Combine(Resources, "Res"); + public static readonly string CurImgui = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Smithbox")); + public static readonly string StoreImgui = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "../Preferences/Smithbox")); +#else + public static readonly string Resources = AppDomain.CurrentDomain.BaseDirectory; + public static readonly string Assets = Path.Combine(Resources, "Assets"); + public static readonly string Res = Path.Combine(Resources, "Res"); + public static readonly string CurImgui = Resources; + public static readonly string StoreImgui = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Smithbox")); +#endif + } +} diff --git a/src/Directory.Build.props b/src/Directory.Build.props new file mode 100644 index 000000000..349850693 --- /dev/null +++ b/src/Directory.Build.props @@ -0,0 +1,8 @@ + + + $(DefineConstants);WINDOWS + + + + + \ No newline at end of file diff --git a/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj b/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj index 64942b010..0b668f659 100644 --- a/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj +++ b/src/Havok/ColBakeTest/Havok.ColBakeTest.csproj @@ -4,6 +4,9 @@ Exe net9.0 12 + $(DefineConstants);WINDOWS + $(DefineConstants);MACOS + $(DefineConstants);LINUX
diff --git a/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj b/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj index 33965d3e9..e5e9f7d8c 100644 --- a/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj +++ b/src/Havok/HKLib.Reflection/Havok.HKLib.Reflection.csproj @@ -8,9 +8,14 @@ AnyCPU;x64
+ + true + + PreserveNewest + Resource diff --git a/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs b/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs index 5c186e0b7..bc9d34ab1 100644 --- a/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs +++ b/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs @@ -23,8 +23,7 @@ public class HavokTypeRegistry private static HavokTypeRegistry LoadDefault() { - string basePath = AppDomain.CurrentDomain.BaseDirectory; - string typeRegPath = Path.Join(basePath, "Res", "HavokTypeRegistry20180100.xml"); + string typeRegPath = Path.Join(Common.FileLocations.Res, "HavokTypeRegistry20180100.xml"); return Load(typeRegPath); } diff --git a/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj b/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj index 7911fb5c4..c1c4c4be2 100644 --- a/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj +++ b/src/Havok/HKX.ClassGeneration/Havok.HKX.ClassGeneration.csproj @@ -4,6 +4,9 @@ Exe net9.0 12 + $(DefineConstants);WINDOWS + $(DefineConstants);MACOS + $(DefineConstants);LINUX
diff --git a/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj b/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj index 4a264ca0f..813c7b889 100644 --- a/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj +++ b/src/Havok/HKX2.Serialization/Havok.HKX2.Serialization.csproj @@ -4,6 +4,9 @@ Exe net9.0 12 + $(DefineConstants);WINDOWS + $(DefineConstants);MACOS + $(DefineConstants);LINUX
diff --git a/src/Smithbox.Data/Smithbox.Data.csproj b/src/Smithbox.Data/Smithbox.Data.csproj index eed3c0495..27e8117a1 100644 --- a/src/Smithbox.Data/Smithbox.Data.csproj +++ b/src/Smithbox.Data/Smithbox.Data.csproj @@ -6,23 +6,30 @@ enable
+ + true + + - - + + Always + Resource Always + Resource Always Always + Assembly Always diff --git a/src/Smithbox.Program/Banks/HelpBank/HelpBank.cs b/src/Smithbox.Program/Banks/HelpBank/HelpBank.cs index 96b21977a..235758a9a 100644 --- a/src/Smithbox.Program/Banks/HelpBank/HelpBank.cs +++ b/src/Smithbox.Program/Banks/HelpBank/HelpBank.cs @@ -33,7 +33,7 @@ private List LoadHelpResource(string directory) List helpEntries = new(); IEnumerable articleDirFiles = - from file in Directory.EnumerateFiles(Path.Join(AppContext.BaseDirectory,"Assets","Help",directory)) + from file in Directory.EnumerateFiles(Path.Join(Common.FileLocations.Assets,"Help",directory)) select file; foreach (var file in articleDirFiles) helpEntries.Add(LoadHelpJSON(file)); diff --git a/src/Smithbox.Program/Configuration/CFG.cs b/src/Smithbox.Program/Configuration/CFG.cs index bcc2d75f3..4f131a5cb 100644 --- a/src/Smithbox.Program/Configuration/CFG.cs +++ b/src/Smithbox.Program/Configuration/CFG.cs @@ -126,12 +126,12 @@ public class CFG /// /// The relative path (from the Smithbox.exe) to the font used for English text. /// - public string System_English_Font = Path.Join("Assets","Fonts","RobotoMono-Light.ttf"); + public string System_English_Font = Path.Join(Common.FileLocations.Assets,"Fonts","RobotoMono-Light.ttf"); /// /// The relative path (from the Smithbox.exe) to the font used for non-English text. /// - public string System_Other_Font = Path.Join("Assets","Fonts","NotoSansCJKtc-Light.otf"); + public string System_Other_Font = Path.Join(Common.FileLocations.Assets, "Fonts","NotoSansCJKtc-Light.otf"); /// /// The current theme a user has selected to override the default. diff --git a/src/Smithbox.Program/Configuration/Settings/EditorSettings.cs b/src/Smithbox.Program/Configuration/Settings/EditorSettings.cs index 9f56262a5..9ae937bb4 100644 --- a/src/Smithbox.Program/Configuration/Settings/EditorSettings.cs +++ b/src/Smithbox.Program/Configuration/Settings/EditorSettings.cs @@ -1299,8 +1299,8 @@ public void Display() if (ImGui.Button("Restore Default Fonts", DPI.StandardButtonSize)) { - CFG.Current.System_English_Font = Path.Join("Assets","Fonts","RobotoMono-Light.ttf"); - CFG.Current.System_Other_Font = Path.Join("Assets","Fonts","NotoSansCJKtc-Light.otf"); + CFG.Current.System_English_Font = Path.Join(Common.FileLocations.Assets, "Fonts","RobotoMono-Light.ttf"); + CFG.Current.System_Other_Font = Path.Join(Common.FileLocations.Assets, "Fonts","NotoSansCJKtc-Light.otf"); Smithbox.FontRebuildRequest = true; } } @@ -1332,27 +1332,22 @@ public void Display() // ImGui if (ImGui.CollapsingHeader("Interface Layout", ImGuiTreeNodeFlags.DefaultOpen)) { - var storedDir = Path.Join(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),"Smithbox"); + var storedDir = Common.FileLocations.StoreImgui; var storedPath = Path.Join(storedDir,"imgui.ini"); ImGui.AlignTextToFramePadding(); - ImGui.Text("Store the current imgui.ini in the AppData folder for future usage."); + ImGui.Text($"Store the current imgui.ini at {storedDir} for future usage."); ImGui.AlignTextToFramePadding(); if (ImGui.Button("Store##storeImguiIni", DPI.StandardButtonSize)) { - var curImgui = Path.Join(AppContext.BaseDirectory,"imgui.ini"); + var curImgui = Path.Join(Common.FileLocations.CurImgui,"imgui.ini"); + if (!Directory.Exists(storedDir) && new DirectoryInfo(storedDir).Parent.Exists) + Directory.CreateDirectory(storedDir); if (Directory.Exists(storedDir)) { - if (File.Exists(storedPath)) - { - File.Copy(curImgui, storedPath, true); - } - else - { - File.Copy(curImgui, storedPath, true); - } + File.Copy(curImgui, storedPath, true); } PlatformUtils.Instance.MessageBox($"Stored at {storedPath}.", "Information", MessageBoxButtons.OK); @@ -1360,7 +1355,13 @@ public void Display() ImGui.SameLine(); if (ImGui.Button("Open Folder##openImguiIniFolder", DPI.StandardButtonSize)) { +#if WINDOWS Process.Start("explorer.exe", storedDir); +#elif MACOS + Process.Start("/usr/bin/open", storedDir); +#elif LINUX + Process.Start("xdg-open", storedDir}); +#endif } if (File.Exists(storedPath)) @@ -1368,13 +1369,13 @@ public void Display() ImGui.Separator(); ImGui.AlignTextToFramePadding(); - ImGui.Text("Set the current imgui.ini to the version you stored within the AppData folder."); + ImGui.Text($"Set the current imgui.ini to the version you stored at {storedDir}."); ImGui.AlignTextToFramePadding(); if (ImGui.Button("Set##setImguiIni", DPI.StandardButtonSize)) { - var curImgui = Path.Join(AppContext.BaseDirectory,"imgui.ini"); + var curImgui = Path.Join(Common.FileLocations.CurImgui, "imgui.ini"); if (File.Exists(storedPath)) { @@ -1393,8 +1394,8 @@ public void Display() ImGui.AlignTextToFramePadding(); if (ImGui.Button("Reset##resetImguiIni", DPI.StandardButtonSize)) { - var curImgui = Path.Join(AppContext.BaseDirectory,"imgui.ini"); - var defaultImgui = Path.Join(AppContext.BaseDirectory,"imgui.default"); + var curImgui = Path.Join(Common.FileLocations.CurImgui, "imgui.ini"); + var defaultImgui = Path.Join(Common.FileLocations.Resources, "imgui.default"); if (Directory.Exists(storedDir)) { @@ -1442,7 +1443,13 @@ public void Display() ImGui.SameLine(); if (ImGui.Button("Open Theme Folder", DPI.StandardButtonSize)) { - Process.Start("explorer.exe", Path.Join(AppContext.BaseDirectory,"Assets","Themes")); //! FIXME explorer does not exist +#if WINDOWS + Process.Start("explorer.exe", Path.Join(Common.FileLocations.Assets, "Themes")); +#elif MACOS + Process.Start("/usr/bin/open", Path.Join(Common.FileLocations.Assets, "Themes")); +#elif LINUX + Process.Start("xdg-open", Path.Join(Common.FileLocations.Assets, "Themes")); +#endif } ImGui.SameLine(); diff --git a/src/Smithbox.Program/Core/ProjectAliasEditor.cs b/src/Smithbox.Program/Core/ProjectAliasEditor.cs index e92cfea4d..462ca9ed3 100644 --- a/src/Smithbox.Program/Core/ProjectAliasEditor.cs +++ b/src/Smithbox.Program/Core/ProjectAliasEditor.cs @@ -51,7 +51,7 @@ public static void SetupBaseAliases() { BaseAliases = new(); - var dir = Path.Join(AppContext.BaseDirectory, "Assets", "Aliases", + var dir = Path.Join(Common.FileLocations.Assets, "Aliases", ProjectUtils.GetGameDirectory(TargetProject.ProjectType)); List sourceFiles = Directory.GetFiles(dir, "*.json").ToList(); diff --git a/src/Smithbox.Program/Core/ProjectEntry.cs b/src/Smithbox.Program/Core/ProjectEntry.cs index 8f086d3af..92dcb9ec8 100644 --- a/src/Smithbox.Program/Core/ProjectEntry.cs +++ b/src/Smithbox.Program/Core/ProjectEntry.cs @@ -932,12 +932,14 @@ public async Task SetupDLLs() #if WINDOWS var rootDllPath = Path.Join(DataPath, "oo2core_6_win64.dll"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "oo2core_6_win64.dll"); -#elif OSX +#elif MACOS var rootDllPath = Path.Join(DataPath, "liboo2coremac64.2.6.dylib"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2coremac64.2.6.dylib"); #elif LINUX var rootDllPath = Path.Join(DataPath, "liboo2corelinux64.so.6"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2corelinux64.so.6"); +#else + return false; #endif if (!File.Exists(rootDllPath)) @@ -958,12 +960,14 @@ public async Task SetupDLLs() #if WINDOWS var rootDllPath = Path.Join(DataPath, "oo2core_8_win64.dll"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "oo2core_8_win64.dll"); -#elif OSX +#elif MACOS var rootDllPath = Path.Join(DataPath, "liboo2coremac64.2.8.dylib"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2coremac64.2.8.dylib"); #elif LINUX var rootDllPath = Path.Join(DataPath, "liboo2corelinux64.so.8"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2corelinux64.so.8"); +#else + return false; #endif if (!File.Exists(rootDllPath)) @@ -985,12 +989,14 @@ public async Task SetupDLLs() #if WINDOWS var rootDllPath = Path.Join(DataPath, "oo2core_9_win64.dll"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "oo2core_9_win64.dll"); -#elif OSX +#elif MACOS var rootDllPath = Path.Join(DataPath, "liboo2coremac64.2.9.dylib"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2coremac64.2.9.dylib"); #elif LINUX var rootDllPath = Path.Join(DataPath, "liboo2corelinux64.so.9"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2corelinux64.so.9"); +#else + return false; #endif if (!File.Exists(rootDllPath)) @@ -1073,7 +1079,7 @@ public async Task SetupVFS() else FS = new CompundVirtualFileSystem(fileSystems); - var folder = Path.Join(AppContext.BaseDirectory,"Assets","File Dictionaries"); + var folder = Path.Join(Common.FileLocations.Assets, "File Dictionaries"); var file = ""; // Build the file dictionary JSON objects here @@ -1153,7 +1159,7 @@ public async Task SetupAliases() HashSet sourceDirectories = [ - Path.Join(AppContext.BaseDirectory,"Assets","Aliases",ProjectUtils.GetGameDirectory(ProjectType)), + Path.Join(Common.FileLocations.Assets, "Aliases",ProjectUtils.GetGameDirectory(ProjectType)), Path.Join(ProjectPath,".smithbox","Assets","Aliases") ]; @@ -1210,7 +1216,7 @@ public async Task SetupMsbInfo() MsbMasks = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","MSB",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "MSB",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Core.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","MSB",ProjectUtils.GetGameDirectory(ProjectType)); @@ -1330,7 +1336,7 @@ public async Task SetupFlverInfo() FlverEnums = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","FLVER"); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "FLVER"); var sourceFile = Path.Combine(sourceFolder, "Core.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","FLVER"); @@ -1416,7 +1422,7 @@ public async Task SetupGparamInfo() GparamEnums = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","GPARAM",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "GPARAM",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Core.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","GPARAM",ProjectUtils.GetGameDirectory(ProjectType)); @@ -1501,7 +1507,7 @@ public async Task SetupParamMemoryOffsets() ParamMemoryOffsets = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","PARAM",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "PARAM",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Param Reload Offsets.json"); var targetFile = sourceFile; @@ -1544,7 +1550,7 @@ public async Task SetupProjectEnums() ProjectEnums = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","PARAM",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "PARAM",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Shared Param Enums.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Project"); @@ -1598,7 +1604,7 @@ public async Task SetupParamCategories() ParamCategories = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","PARAM",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "PARAM",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Param Categories.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","PARAM",ProjectUtils.GetGameDirectory(ProjectType)); @@ -1650,7 +1656,7 @@ public async Task SetupCommutativeParamGroups() CommutativeParamGroups = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","PARAM",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "PARAM",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Commutative Params.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","PARAM",ProjectUtils.GetGameDirectory(ProjectType)); @@ -1701,7 +1707,7 @@ public async Task SetupMapSpawnStates() MapSpawnStates = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","MSB",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "MSB",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "SpawnStates.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","MSB",ProjectUtils.GetGameDirectory(ProjectType)); @@ -1752,7 +1758,7 @@ public async Task SetupMaterialDisplayConfiguration() MaterialDisplayConfiguration = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory,"Assets","MATERIAL",ProjectUtils.GetGameDirectory(ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "MATERIAL",ProjectUtils.GetGameDirectory(ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Display Configuration.json"); var projectFolder = Path.Join(ProjectPath,".smithbox","Assets","MATERIAL",ProjectUtils.GetGameDirectory(ProjectType)); diff --git a/src/Smithbox.Program/Core/ProjectUtils.cs b/src/Smithbox.Program/Core/ProjectUtils.cs index 8dc6c9c64..bc456b1bf 100644 --- a/src/Smithbox.Program/Core/ProjectUtils.cs +++ b/src/Smithbox.Program/Core/ProjectUtils.cs @@ -83,7 +83,7 @@ public static string GetConfigurationFolder() } public static string GetThemeFolder() { - return Path.Join(AppContext.BaseDirectory, "Assets", "Themes"); + return Path.Join(Common.FileLocations.Assets, "Themes"); } public static string GetProjectsFolder() diff --git a/src/Smithbox.Program/Debugging/Generators/FileDictionaryGenerator.cs b/src/Smithbox.Program/Debugging/Generators/FileDictionaryGenerator.cs index 9420d8314..bbc990e5e 100644 --- a/src/Smithbox.Program/Debugging/Generators/FileDictionaryGenerator.cs +++ b/src/Smithbox.Program/Debugging/Generators/FileDictionaryGenerator.cs @@ -72,8 +72,11 @@ public static void Display(Smithbox baseEditor, ProjectEntry project) /// public static void GenerateFileDictionaryFromUXM(string filepath) { +#if MACOS + var writePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/{Path.GetFileName(filepath)}.json";; +#else var writePath = $"{AppContext.BaseDirectory}/{Path.GetFileName(filepath)}.json"; - +#endif var curDictionary = new FileDictionary(); curDictionary.Entries = new(); diff --git a/src/Smithbox.Program/Debugging/QuickScript.cs b/src/Smithbox.Program/Debugging/QuickScript.cs index 218d81e2a..8f32a572c 100644 --- a/src/Smithbox.Program/Debugging/QuickScript.cs +++ b/src/Smithbox.Program/Debugging/QuickScript.cs @@ -287,7 +287,7 @@ public static void ConvertToOldStyleRowNames(string type, string group) { var outputDir = $@"{CFG.Current.SmithboxBuildFolder}\_temp"; - var sourceFilepath = @$"{AppContext.BaseDirectory}/Assets/PARAM/{type}"; + var sourceFilepath = @$"{Common.FileLocations.Assets}/PARAM/{type}"; sourceFilepath = Path.Combine(sourceFilepath, $"{group}.json"); diff --git a/src/Smithbox.Program/Editors/FileBrowser/FileBrowserScreen.cs b/src/Smithbox.Program/Editors/FileBrowser/FileBrowserScreen.cs index dc405b482..facbe8aa8 100644 --- a/src/Smithbox.Program/Editors/FileBrowser/FileBrowserScreen.cs +++ b/src/Smithbox.Program/Editors/FileBrowser/FileBrowserScreen.cs @@ -99,12 +99,24 @@ public void FileMenu() { if (ImGui.MenuItem($"View Game Directory")) { +#if WINDOWS Process.Start("explorer.exe", Project.DataPath); +#elif MACOS + Process.Start("/usr/bin/open", Project.DataPath); +#elif LINUX + Process.Start("xdg-open", Project.DataPath); +#endif } if (ImGui.MenuItem($"View Project Directory")) { +#if WINDOWS Process.Start("explorer.exe", Project.ProjectPath); +#elif MACOS + Process.Start("/usr/bin/open", Project.ProjectPath); +#elif LINUX + Process.Start("xdg-open", Project.ProjectPath); +#endif } ImGui.EndMenu(); diff --git a/src/Smithbox.Program/Editors/FileBrowser/FileToolView.cs b/src/Smithbox.Program/Editors/FileBrowser/FileToolView.cs index f99714fcd..9cef14bfe 100644 --- a/src/Smithbox.Program/Editors/FileBrowser/FileToolView.cs +++ b/src/Smithbox.Program/Editors/FileBrowser/FileToolView.cs @@ -467,7 +467,7 @@ public async Task DeleteUnpackedDataAsync() public void UpdateBaseFileDictionary() { // Get the unmerged base file dictionary - var folder = Path.Join(AppContext.BaseDirectory, "Assets", "File Dictionaries"); + var folder = Path.Join(Common.FileLocations.Assets, "File Dictionaries"); var file = ""; switch (Project.ProjectType) diff --git a/src/Smithbox.Program/Editors/MapEditor/Data/MapData.cs b/src/Smithbox.Program/Editors/MapEditor/Data/MapData.cs index 3a4614bdf..9233848c4 100644 --- a/src/Smithbox.Program/Editors/MapEditor/Data/MapData.cs +++ b/src/Smithbox.Program/Editors/MapEditor/Data/MapData.cs @@ -187,7 +187,7 @@ public async Task SetupMapObjectNames() await Task.Yield(); - var srcDir = Path.Combine(AppContext.BaseDirectory, "Assets", "MSB", ProjectUtils.GetGameDirectory(Project), "Community Map Object Names"); + var srcDir = Path.Combine(Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project), "Community Map Object Names"); var projDir = Path.Combine(Project.ProjectPath, ".smithbox", "Project", "Community Map Object Names"); if (Directory.Exists(projDir)) diff --git a/src/Smithbox.Program/Editors/MapEditor/Framework/META/MsbMeta.cs b/src/Smithbox.Program/Editors/MapEditor/Framework/META/MsbMeta.cs index e6a7cc96b..77edfd98b 100644 --- a/src/Smithbox.Program/Editors/MapEditor/Framework/META/MsbMeta.cs +++ b/src/Smithbox.Program/Editors/MapEditor/Framework/META/MsbMeta.cs @@ -33,7 +33,7 @@ public async Task Setup() _MsbMetas = new(); - var metaPath = Path.Join(AppContext.BaseDirectory, "Assets", "MSB", ProjectUtils.GetGameDirectory(Project), "Meta"); + var metaPath = Path.Join(Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project), "Meta"); if (Path.Exists(metaPath)) { diff --git a/src/Smithbox.Program/Editors/MapEditor/Tools/Actions/EntityRenameAction.cs b/src/Smithbox.Program/Editors/MapEditor/Tools/Actions/EntityRenameAction.cs index f07bfb8f4..86a284f88 100644 --- a/src/Smithbox.Program/Editors/MapEditor/Tools/Actions/EntityRenameAction.cs +++ b/src/Smithbox.Program/Editors/MapEditor/Tools/Actions/EntityRenameAction.cs @@ -223,7 +223,7 @@ private List GetNameListInfo(string mapId, string type) { var list = new List(); - var dir = Path.Join(AppContext.BaseDirectory, "Assets", "MSB", ProjectUtils.GetGameDirectory(Editor.Project), "namelist.csv"); + var dir = Path.Join(Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Editor.Project), "namelist.csv"); if (File.Exists(dir)) { diff --git a/src/Smithbox.Program/Editors/MapEditor/Tools/MassEditTool.cs b/src/Smithbox.Program/Editors/MapEditor/Tools/MassEditTool.cs index e77aacf3c..c739e2b58 100644 --- a/src/Smithbox.Program/Editors/MapEditor/Tools/MassEditTool.cs +++ b/src/Smithbox.Program/Editors/MapEditor/Tools/MassEditTool.cs @@ -19,7 +19,6 @@ using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; -using System.Windows.Forms; namespace StudioCore.Editors.MapEditor.Framework.MassEdit; diff --git a/src/Smithbox.Program/Editors/ModelEditor/Data/GxDescriptorBank.cs b/src/Smithbox.Program/Editors/ModelEditor/Data/GxDescriptorBank.cs index ab147498d..253c7e6b5 100644 --- a/src/Smithbox.Program/Editors/ModelEditor/Data/GxDescriptorBank.cs +++ b/src/Smithbox.Program/Editors/ModelEditor/Data/GxDescriptorBank.cs @@ -17,7 +17,7 @@ public class GxDescriptorBank public GxDescriptorBank(ModelEditorScreen screen) { Screen = screen; - DescriptorPath = Path.Join(AppContext.BaseDirectory, "Assets", "FLVER", "GX_Item_Descriptors.json"); + DescriptorPath = Path.Join(Common.FileLocations.Assets, "FLVER", "GX_Item_Descriptors.json"); try { diff --git a/src/Smithbox.Program/Editors/ParamEditor/Data/ParamBank.cs b/src/Smithbox.Program/Editors/ParamEditor/Data/ParamBank.cs index 9bad73dbe..55095b4d1 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/Data/ParamBank.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/Data/ParamBank.cs @@ -2363,7 +2363,7 @@ public async Task ImportRowNamesTask(ImportRowNameSourceType sourceType, s await Task.Yield(); var sourceDirectory = filepath; - var folder = @$"{AppContext.BaseDirectory}/Assets/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var folder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; switch (sourceType) { diff --git a/src/Smithbox.Program/Editors/ParamEditor/Data/ParamData.cs b/src/Smithbox.Program/Editors/ParamEditor/Data/ParamData.cs index f5f8df590..e963c66b1 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/Data/ParamData.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/Data/ParamData.cs @@ -307,7 +307,7 @@ public async Task SetupParamDefs() } // Param Type Info - var paramTypeInfoPath = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Param Type Info.json"); + var paramTypeInfoPath = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Param Type Info.json"); if (File.Exists(paramTypeInfoPath)) { @@ -362,7 +362,7 @@ public async Task SetupParamMeta() { await Task.Yield(); - var rootMetaDir = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Meta"); + var rootMetaDir = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Meta"); var projectMetaDir = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Meta"); @@ -423,7 +423,7 @@ public async Task SetupGraphLegends() { await Task.Yield(); - var folder = @$"{AppContext.BaseDirectory}/Assets/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var folder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; var file = Path.Combine(folder, "Graph Legends.json"); if(CFG.Current.Param_UseProjectMeta) @@ -467,7 +467,7 @@ public async Task SetupIconConfigurations() { await Task.Yield(); - var folder = @$"{AppContext.BaseDirectory}/Assets/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var folder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; var file = Path.Combine(folder, "Icon Configurations.json"); if (CFG.Current.Param_UseProjectMeta) @@ -511,7 +511,7 @@ public async Task SetupTableGroupNames() { await Task.Yield(); - var srcDir = Path.Combine(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Community Table Names"); + var srcDir = Path.Combine(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Community Table Names"); if (!Directory.Exists(srcDir)) { @@ -631,7 +631,7 @@ public async Task SetupTableParamList() { await Task.Yield(); - var srcFile = Path.Combine(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Table Params.json"); + var srcFile = Path.Combine(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Table Params.json"); var projFile = Path.Combine(Project.ProjectPath, ".smithbox", "Project", "Table Params.json"); if (Directory.Exists(projFile)) @@ -674,7 +674,7 @@ public void CreateProjectMetadata() { // META var metaDir = ParamLocator.GetParammetaDir(Project); - var rootDir = Path.Combine(AppContext.BaseDirectory, metaDir); + var rootDir = Path.Combine(Common.FileLocations.Resources, metaDir); var projectDir = Path.Join(Project.ProjectPath, ".smithbox", metaDir); if (!Directory.Exists(projectDir)) @@ -701,7 +701,7 @@ public void CreateProjectMetadata() public void CopyMetadataFile(string name) { - var srcFolder = @$"{AppContext.BaseDirectory}/Assets/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var srcFolder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; var srcFile = Path.Combine(srcFolder, name); var targetFolder = Path.Combine(Project.ProjectPath, ".smithbox", "Project"); diff --git a/src/Smithbox.Program/Editors/ParamEditor/Decorators/FieldDecorators.cs b/src/Smithbox.Program/Editors/ParamEditor/Decorators/FieldDecorators.cs index 26b5d456b..01f58da4c 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/Decorators/FieldDecorators.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/Decorators/FieldDecorators.cs @@ -920,7 +920,13 @@ private static void ExtRefItem(Param.Row keyRow, string fieldKey, string menuTex var path = ReferenceResolver.ResolveExternalReferences(matchedExtRefPath, dir); if (File.Exists(path)) { +#if WINDOWS Process.Start("explorer.exe", $"/select,\"{path}\""); +#elif MACOS + Process.Start("/usr/bin/open", $"-R \"{path}\""); +#elif LINUX + Process.Start("xdg-open", Path.GetDirectoryName(path)); +#endif } else { diff --git a/src/Smithbox.Program/Editors/ParamEditor/MassEdit/MassEditHandler.cs b/src/Smithbox.Program/Editors/ParamEditor/MassEdit/MassEditHandler.cs index 87dd54f59..681d37e1e 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/MassEdit/MassEditHandler.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/MassEdit/MassEditHandler.cs @@ -415,8 +415,13 @@ public void DisplayMassEditScriptMenu() if (ImGui.Button("Open Script Folder", DPI.HalfWidthButton(windowWidth, 24))) { var projectScriptDir = Path.Join(Editor.Project.ProjectPath, ".smithbox", "Assets", "Scripts"); - +#if WINDOWS Process.Start("explorer.exe", projectScriptDir); +#elif MACOS + Process.Start("/usr/bin/open", projectScriptDir); +#elif LINUX + Process.Start("xdg-open", projectScriptDir); +#endif } } } diff --git a/src/Smithbox.Program/Editors/ParamEditor/ParamUtils.cs b/src/Smithbox.Program/Editors/ParamEditor/ParamUtils.cs index 7960c22f3..270c4d081 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/ParamUtils.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/ParamUtils.cs @@ -352,8 +352,8 @@ public static string GetFieldExportString(Param.Row context, string fieldName) public static bool HasDeveloperRowNames(ProjectEntry curProject) { - var dir = Path.Combine(AppContext.BaseDirectory, - "Assets", "PARAM", + var dir = Path.Combine(Common.FileLocations.Assets, + "PARAM", ProjectUtils.GetGameDirectory(curProject), "Developer Row Names"); if(Directory.Exists(dir)) diff --git a/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamCategories.cs b/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamCategories.cs index 058c9c816..177dcfd81 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamCategories.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamCategories.cs @@ -258,7 +258,7 @@ public static void Display(ParamEditorScreen editor) public static void RestoreDefault(ParamEditorScreen editor) { - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(editor.Project.ProjectType)); + var sourceFolder = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(editor.Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Param Categories.json"); if (File.Exists(sourceFile)) diff --git a/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamUpgrader.cs b/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamUpgrader.cs index d2ac82396..a93b7991d 100644 --- a/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamUpgrader.cs +++ b/src/Smithbox.Program/Editors/ParamEditor/Tools/ParamUpgrader.cs @@ -252,7 +252,7 @@ public void UpgraderMenu() public void SetupUpgraderInformation() { - var oldRegInfoPath = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(TargetProject), "Upgrader Information.json"); + var oldRegInfoPath = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(TargetProject), "Upgrader Information.json"); try { @@ -464,7 +464,7 @@ private string GetOldRegulationPath() var oldRegulationPath = ""; - var oldRegDirectory = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(TargetProject), "Regulations"); + var oldRegDirectory = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(TargetProject), "Regulations"); var targetRegInfo = UpgraderInfo.RegulationEntries.Where(e => e.Version == oldVersionString).FirstOrDefault(); diff --git a/src/Smithbox.Program/Editors/TextEditor/Framework/TextNamingTemplateManager.cs b/src/Smithbox.Program/Editors/TextEditor/Framework/TextNamingTemplateManager.cs index 5c5b84c9d..178c440a1 100644 --- a/src/Smithbox.Program/Editors/TextEditor/Framework/TextNamingTemplateManager.cs +++ b/src/Smithbox.Program/Editors/TextEditor/Framework/TextNamingTemplateManager.cs @@ -28,7 +28,7 @@ public class TextNamingTemplateManager public TextNamingTemplateManager(TextEditorScreen editor) { Editor = editor; - RootPath = Path.Join(AppContext.BaseDirectory, "Assets", "Workflow", "Naming Templates"); + RootPath = Path.Join(Common.FileLocations.Assets, "Workflow", "Naming Templates"); ProjectPath = Path.Join(editor.Project.ProjectPath, ".smithbox", "Workflow", "Naming Templates"); } diff --git a/src/Smithbox.Program/Editors/TextureViewer/Data/ShoeboxLayoutContainer.cs b/src/Smithbox.Program/Editors/TextureViewer/Data/ShoeboxLayoutContainer.cs index 20a4ad084..dc3bf97bc 100644 --- a/src/Smithbox.Program/Editors/TextureViewer/Data/ShoeboxLayoutContainer.cs +++ b/src/Smithbox.Program/Editors/TextureViewer/Data/ShoeboxLayoutContainer.cs @@ -76,7 +76,7 @@ public async Task SetupLayoutsDirectly() { await Task.Yield(); - var srcFolder = Path.Combine(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Icon Layouts"); + var srcFolder = Path.Combine(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Icon Layouts"); foreach (var path in Directory.EnumerateFiles(srcFolder)) { diff --git a/src/Smithbox.Program/Editors/TextureViewer/Tools/TexToolView.cs b/src/Smithbox.Program/Editors/TextureViewer/Tools/TexToolView.cs index 88fec46c0..fa105901c 100644 --- a/src/Smithbox.Program/Editors/TextureViewer/Tools/TexToolView.cs +++ b/src/Smithbox.Program/Editors/TextureViewer/Tools/TexToolView.cs @@ -78,7 +78,13 @@ public void Display() ImGui.SameLine(); if (ImGui.Button("View Folder", DPI.HalfWidthButton(windowWidth, 24))) { +#if WINDOWS Process.Start("explorer.exe", CFG.Current.TextureViewerToolbar_ExportTextureLocation); +#elif MACOS + Process.Start("/usr/bin/open", CFG.Current.TextureViewerToolbar_ExportTextureLocation); +#elif LINUX + Process.Start("xdg-open", CFG.Current.TextureViewerToolbar_ExportTextureLocation); +#endif } UIHelper.Tooltip("The folder destination to export the texture to."); UIHelper.WrappedText(""); diff --git a/src/Smithbox.Program/Interface/UIHelper.cs b/src/Smithbox.Program/Interface/UIHelper.cs index b3de49553..154516c97 100644 --- a/src/Smithbox.Program/Interface/UIHelper.cs +++ b/src/Smithbox.Program/Interface/UIHelper.cs @@ -75,8 +75,8 @@ public static void UnapplyBaseStyle() public static void RestoreImguiIfMissing() { - var curImgui = Path.Join(AppContext.BaseDirectory, "imgui.ini"); - var defaultImgui = Path.Join(AppContext.BaseDirectory, "imgui.default"); + var curImgui = Path.Join(Common.FileLocations.CurImgui, "imgui.ini"); + var defaultImgui = Path.Join(Common.FileLocations.Resources, "imgui.default"); if (!File.Exists(curImgui) && File.Exists(defaultImgui)) { diff --git a/src/Smithbox.Program/Resource/Locators/VirtualPathLocator.cs b/src/Smithbox.Program/Resource/Locators/VirtualPathLocator.cs index c758f71b2..f54cfb22c 100644 --- a/src/Smithbox.Program/Resource/Locators/VirtualPathLocator.cs +++ b/src/Smithbox.Program/Resource/Locators/VirtualPathLocator.cs @@ -618,7 +618,7 @@ public static string VirtualToRealPath(string virtualPath, out string bndpath) { if (pathElements[i].Equals("worldmap")) { - return $"{AppContext.BaseDirectory}//Assets//MSB//ER//Maps//world_map.tpf.dcx"; + return $"{Common.FileLocations.Resources}//Assets//MSB//ER//Maps//world_map.tpf.dcx"; } } @@ -626,7 +626,7 @@ public static string VirtualToRealPath(string virtualPath, out string bndpath) { if (pathElements[i].Equals("worldmap")) { - return $"{AppContext.BaseDirectory}//Assets//MSB//NR//Maps//world_map.tpf.dcx"; + return $"{Common.FileLocations.Resources}//Assets//MSB//NR//Maps//world_map.tpf.dcx"; } } } diff --git a/src/Smithbox.Program/Scene/Helpers/ShaderHelper.cs b/src/Smithbox.Program/Scene/Helpers/ShaderHelper.cs index 1f5591483..c002c9b52 100644 --- a/src/Smithbox.Program/Scene/Helpers/ShaderHelper.cs +++ b/src/Smithbox.Program/Scene/Helpers/ShaderHelper.cs @@ -9,7 +9,7 @@ namespace StudioCore.Scene.Helpers; public static class ShaderHelper { - private static readonly string s_assetRoot = Path.Combine(AppContext.BaseDirectory, "Assets"); + private static readonly string s_assetRoot = Common.FileLocations.Assets; internal static string GetPath(string assetPath) { diff --git a/src/Smithbox.Program/Smithbox.cs b/src/Smithbox.Program/Smithbox.cs index 6ec799d2a..c302aeab6 100644 --- a/src/Smithbox.Program/Smithbox.cs +++ b/src/Smithbox.Program/Smithbox.cs @@ -18,6 +18,7 @@ using System.IO; using System.Numerics; using System.Runtime.InteropServices; +using System.Text; using Veldrid; using Veldrid.Sdl2; using static StudioCore.Configuration.Windows.HelpWindow; @@ -154,6 +155,10 @@ private unsafe void SetupImGui() io.ConfigViewportsNoAutoMerge = false; io.ConfigViewportsNoTaskBarIcon = false; + byte[] iniFilename = Encoding.UTF8.GetBytes(Path.Combine(Common.FileLocations.CurImgui, "imgui.ini") + '\0'); + GCHandle handle = GCHandle.Alloc(iniFilename, GCHandleType.Pinned); + io.Handle->IniFilename = (byte*)handle.AddrOfPinnedObject(); + // setup ImGui style var style = ImGui.GetStyle(); style.TabBorderSize = 0; @@ -177,17 +182,17 @@ private unsafe void SetupFonts() NonEnglishFontRelPath = CFG.Current.System_Other_Font; } - var englishFontPath = Path.Combine(AppContext.BaseDirectory, EnglishFontRelPath); + var englishFontPath = Path.Combine(Common.FileLocations.Resources, EnglishFontRelPath); var englishFontData = File.ReadAllBytes(englishFontPath); var englishFontPtr = ImGui.MemAlloc((uint)englishFontData.Length); Marshal.Copy(englishFontData, 0, (nint)englishFontPtr, englishFontData.Length); - var nonEnglishFontPath = Path.Combine(AppContext.BaseDirectory, NonEnglishFontRelPath); + var nonEnglishFontPath = Path.Combine(Common.FileLocations.Resources, NonEnglishFontRelPath); var nonEnglishFontData = File.ReadAllBytes(nonEnglishFontPath); var nonEnglishFontPtr = ImGui.MemAlloc((uint)nonEnglishFontData.Length); Marshal.Copy(nonEnglishFontData, 0, (nint)nonEnglishFontPtr, nonEnglishFontData.Length); - var iconFontPath = Path.Combine(AppContext.BaseDirectory, IconFontRelPath); + var iconFontPath = Path.Combine(Common.FileLocations.Resources, IconFontRelPath); var iconFontData = File.ReadAllBytes(iconFontPath); var iconFontPtr = ImGui.MemAlloc((uint)iconFontData.Length); Marshal.Copy(iconFontData, 0, (nint)iconFontPtr, iconFontData.Length); diff --git a/src/Smithbox.Program/Utilities/SteamUtils.cs b/src/Smithbox.Program/Utilities/SteamUtils.cs index 7f24ba50d..9a6a771f1 100644 --- a/src/Smithbox.Program/Utilities/SteamUtils.cs +++ b/src/Smithbox.Program/Utilities/SteamUtils.cs @@ -16,42 +16,35 @@ public static class SteamGameLocator { public static string GetSteamInstallPath() { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { #if WINDOWS - using (var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\WOW6432Node\Valve\Steam")) + using (var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\WOW6432Node\Valve\Steam")) + { + if (key != null) { - if (key != null) - { - return key.GetValue("InstallPath") as string; - } + return key.GetValue("InstallPath") as string; } -#endif - } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) - { - string path = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "/Steam"; - if (Directory.Exists(path)) - return path; } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) +#elif MACOS + string path = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "/Steam"; + if (Directory.Exists(path)) + return path; +#elif LINUX + string home = Environment.GetFolderPath(Environment.SpecialFolder.Personal); + var candidates = new[] { - string home = Environment.GetFolderPath(Environment.SpecialFolder.Personal); - var candidates = new[] - { - Path.Combine(home, ".steam", "steam"), - Path.Combine(home, ".local", "share", "Steam"), - Path.Combine(home, ".steam", "root") - }; + Path.Combine(home, ".steam", "steam"), + Path.Combine(home, ".local", "share", "Steam"), + Path.Combine(home, ".steam", "root") + }; - foreach (var path in candidates) + foreach (var path in candidates) + { + if (Directory.Exists(path)) { - if (Directory.Exists(path)) - { - return path; - } + return path; } } +#endif return null; } diff --git a/src/Smithbox/AppIcon.icns b/src/Smithbox/AppIcon.icns new file mode 100644 index 0000000000000000000000000000000000000000..48325465d2598b4f0062ccd858d8ebce46ee9ad4 GIT binary patch literal 3003 zcmb7`c~nzZ9>;H3R3rov-j?m10skB5z*p;iYsf8_mszwh^VZ{EG1 zlbacn=gbGd|6E3DJOuzCX3RF502o+0J0fou06v3y^Cy6XqT9eAZUDx1Ei2uezYzqw zGesyVGcMh}uVP2>iu}%E5S*Knos;WSG7BrJ5AE7kvUOQbUgs)+Ow5`zCS&@{3G*tN znod+~-L_?l^>;H@06cr*#PoD`X3p%TdmCGtYY!hd_=P2ES`<Q#H5t;7v@l*0X z+y2eP z88a5FYI*+XR#W4d+ST^NsV0MaIlu`qZBHIGHfK@oi+?`<>#g%=%2Vt!9cpb6z;K)| zx20w0ZNKsO?v0iU=Z{Z_9Gjx1R{}hUpcvbzH5Xf3o9gRoPA`c_`$R9LYgLC%o;p_fxi)@oqE@4(RZ6)!A|_J4 z3d4H=6QXHaqla=z-u$?*jNh*f$GcDMdV?+Mtmt8TAT)>NSjUSXwM?o$6FE0H6x3LaCCi0)yRpHEkZ@&dJiK3V^pt zEyIh!AhS-*M5Kn(xR$xG}TKZ{BJ+ynEkQIYxH| zJV#f8E86C8rH`MpqxD`#=jU3=5Xs!2+RLq~&@(|KIG;Pv`j;DWl@a@eT^`n_#c9L8P zFg7BhBa^?l43}xUa(xRCYyA*)glbXkYH4(G(!s0796`% zSJQB@?#v=-*w_e(fWR>n;maACgcLfbmsHlBs;;d+U1CyN(JaTk%g2a|0MNkw$#Y!fG6jLII+0>k@&$jQ~wRy{?F>-CH9>JI>YwUj3QlHxL61&BxNG81YHgMD3Vl0 z$BuAGgb+fpMA!u(Nm3dcEg*X#RLIp55roie4*6dQ^>ey^4$Yw+2$=~R5AEJrTrjr_ z!ceU_I-D`&l++&Ex4oonX_^H>7@;@ljBzQ$b2hZJ)$QK4qinq184n@UTf!KfIVxe) z_>!jf>*tPDRxVMg9TbF+a4=d%uQS*aM~z!{`A%zn&Cy*OY-AK2yc`geQl(NbmPGfs z&(Gbt)p4!<$bl>>+)QvGgTWN7)f=oMvSyus`Q!cTE$7b_s&zIoA2P@eB2?zc*yM@3 z|NZLqzaCz0*koZ6Xbgi4`UM2>8LKO!@cK`W?%le2*ld6QAVLNiv`^mOUR(9YuTNIb6X}w4 zcu*jR6X4ImgaRI9(41Lxpr*RA>h$rIS~Avz2L^K3{sDoQ0O4^x431v1rF=)lo_z<` zT5+S52nb;Nvw3_Wh9JQl2-(Q=w7FX<%GYmLm&{khgm8jLwZ;$~EBq3O*(-%VZk4aMEDRQz%NLk9HJ)pc(4aS1SRM& zTBMH<=%OivGcbrR#Dg&cg9r*yLaZ~WP*uDJ$Kbt-2v7{;Km>6Nml(nwkpx-*yl{-W z4h%$aL5Pt;1GfSnTqGg59`Si&Cby9wXZup z<3;N%PX9@$4Np5e-##iXc-AGukC#`b^%?xL|Ma%2{^n(`44=&b-5cN&ef(9wa$mTA zK$q^d=pTKh{=t*z?)HIa`&awow?*DP)1T<8^$#xL-7)}KkNekq;up!iGGN&oe|^vK z^KpkykAnq7n_j$U=zO|b)NNpS58zGuz#4Dc#`t+0EboDXlYV@Eg3iwW?9stJWO;k5 zuYE{{wGMbsvsi)qKO%QNv%&?u^MCo6-mZXpdf%bFYiqMXdGOcomV5FyyJb)Y1CICC zUp4g3_IxqhBLm?0ru+1}Y=?P?m%7sSkv#_lfT-wiy;D34g@12XKkt0K-}B9Shj+xT zCtZ$Tmv~A(smG`L_iEiwU-PP;preZ0llHOKXY;Y_e0E>gmwq7djgET1?E}95tMp%( CM?yCM literal 0 HcmV?d00001 diff --git a/src/Smithbox/Info.plist b/src/Smithbox/Info.plist new file mode 100644 index 000000000..a0ecd612a --- /dev/null +++ b/src/Smithbox/Info.plist @@ -0,0 +1,10 @@ + + + + + CFBundleIconFile + AppIcon.icns + CFBundleIdentifier + com.vawser.Smithbox + + diff --git a/src/Smithbox/Linux.Build.props b/src/Smithbox/Linux.Build.props new file mode 100644 index 000000000..50f9b7014 --- /dev/null +++ b/src/Smithbox/Linux.Build.props @@ -0,0 +1,8 @@ + + + $(DefineConstants);LINUX + + + + + \ No newline at end of file diff --git a/src/Smithbox/Mac.Build.props b/src/Smithbox/Mac.Build.props new file mode 100644 index 000000000..40f6912a0 --- /dev/null +++ b/src/Smithbox/Mac.Build.props @@ -0,0 +1,8 @@ + + + $(DefineConstants);MACOS + + + + + \ No newline at end of file diff --git a/src/Smithbox/Program.cs b/src/Smithbox/Program.cs index f3b510328..d78995937 100644 --- a/src/Smithbox/Program.cs +++ b/src/Smithbox/Program.cs @@ -103,8 +103,12 @@ static List LogExceptions(Exception ex) return log; } - +#if MACOS + private static readonly string CrashLogPath = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "../Logs/Smithbox/Crash Logs")); +#else private static readonly string CrashLogPath = Path.Join(Directory.GetCurrentDirectory(), "Crash Logs"); +#endif static void ExportCrashLog(List exceptionInfo) { var time = $"{DateTime.Now:yyyy-M-dd--HH-mm-ss}"; diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index 142fc211a..ca4a12c17 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -13,6 +13,7 @@ false true linux-x64 + $(DefineConstants);LINUX @@ -41,6 +42,12 @@ + + + + + diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 433084ce5..80760f9ca 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -2,7 +2,8 @@ Exe - net9.0 + Smithbox + net9.0-macos Katalash, Vawser 2.0.8 icon.ico @@ -13,6 +14,7 @@ false true osx-arm64;osx-x64 + $(DefineConstants);MACOS @@ -27,7 +29,19 @@ AnyCPU + + + <_CustomLinkFlags Include="-ld64;-undefined;dynamic_lookup" Visible="false" /> + + + false + <_UseClassicLinker>true + + + + + @@ -43,11 +57,9 @@ - - - - - - - + + + + diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index 9b8583bf4..2bc089cc2 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -1,8 +1,8 @@ - net9.0 WinExe + net9.0-windows7.0 Katalash, Vawser 2.0.8 icon.ico @@ -13,6 +13,7 @@ false true win-x64 + $(DefineConstants);WINDOWS @@ -41,6 +42,12 @@ + + + + + diff --git a/src/Smithbox/Windows.Build.props b/src/Smithbox/Windows.Build.props new file mode 100644 index 000000000..349850693 --- /dev/null +++ b/src/Smithbox/Windows.Build.props @@ -0,0 +1,8 @@ + + + $(DefineConstants);WINDOWS + + + + + \ No newline at end of file diff --git a/src/Veldrid/Veldrid/CommonStrings.cs b/src/Veldrid/Veldrid/CommonStrings.cs index 8455897ec..3782e49d9 100644 --- a/src/Veldrid/Veldrid/CommonStrings.cs +++ b/src/Veldrid/Veldrid/CommonStrings.cs @@ -11,6 +11,7 @@ internal static class CommonStrings public static FixedUtf8String VK_KHR_SWAPCHAIN_EXTENSION_NAME { get; } = "VK_KHR_swapchain"; public static FixedUtf8String VK_MVK_MACOS_SURFACE_EXTENSION_NAME { get; } = "VK_MVK_macos_surface"; public static FixedUtf8String VK_EXT_METAL_SURFACE_EXTENSION_NAME { get; } = "VK_EXT_metal_surface"; + public static FixedUtf8String VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME { get; } = "VK_KHR_portability_enumeration"; public static FixedUtf8String VK_MVK_IOS_SURFACE_EXTENSION_NAME { get; } = "VK_MVK_ios_surface"; public static FixedUtf8String VK_EXT_DEBUG_UTILS_EXTENSION_NAME { get; } = "VK_EXT_debug_utils"; public static FixedUtf8String StandardValidationLayerName { get; } = "VK_LAYER_KHRONOS_validation"; diff --git a/src/Veldrid/Veldrid/GraphicsDevice.cs b/src/Veldrid/Veldrid/GraphicsDevice.cs index ec45e3831..dfdbe5781 100644 --- a/src/Veldrid/Veldrid/GraphicsDevice.cs +++ b/src/Veldrid/Veldrid/GraphicsDevice.cs @@ -56,6 +56,7 @@ public unsafe class GraphicsDevice : IDisposable private const int SharedCommandPoolCount = 4; private VkDescriptorPoolManager _descriptorPoolManager; private bool _standardValidationSupported; + private bool _isPortabilitySubset = OperatingSystem.IsMacOS(); private bool _standardClipYDirection; private vkGetBufferMemoryRequirements2_t _getBufferMemoryRequirements2; private vkGetImageMemoryRequirements2_t _getImageMemoryRequirements2; @@ -1673,6 +1674,12 @@ private void CreateInstance(bool debug, VulkanDeviceOptions options) } } + if (availableInstanceExtensions.Contains(CommonStrings.VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME)) + { + _isPortabilitySubset = true; + instanceExtensions.Add(CommonStrings.VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME); + } + var instanceCI = new VkInstanceCreateInfo { pApplicationInfo = &applicationInfo, @@ -1681,6 +1688,8 @@ private void CreateInstance(bool debug, VulkanDeviceOptions options) enabledLayerCount = instanceLayers.Count, ppEnabledLayerNames = (instanceLayers.Count > 0) ? (sbyte**)instanceLayers.Data : null }; + if (_isPortabilitySubset) + instanceCI.flags = VkInstanceCreateFlags.EnumeratePortabilityKHR; VkDebugUtilsMessengerCreateInfoEXT debugCallbackCI; if (debug && debugUtilsExtensionAvailable) @@ -1818,9 +1827,7 @@ private void CreatePhysicalDevice() deviceVulkan11Features.uniformAndStorageBuffer16BitAccess != VkBool32.True) continue; if ( -#if !OSX - deviceVulkan12Features.drawIndirectCount != VkBool32.True || //! not supported by metal -#endif + deviceVulkan12Features.drawIndirectCount != VkBool32.True && !_isPortabilitySubset || deviceVulkan12Features.descriptorIndexing != VkBool32.True || deviceVulkan12Features.descriptorBindingVariableDescriptorCount != VkBool32.True || deviceVulkan12Features.runtimeDescriptorArray != VkBool32.True || @@ -1966,11 +1973,7 @@ ref _queueFamilyIndices[(int)QueueType.Transfer], ref _queueIndices[(int)QueueTy var deviceFeatures12 = new VkPhysicalDeviceVulkan12Features { -#if OSX - drawIndirectCount = VkBool32.False, //! not supported by metal -#else - drawIndirectCount = VkBool32.True, -#endif + drawIndirectCount = _isPortabilitySubset ? VkBool32.False : VkBool32.True, descriptorIndexing = VkBool32.True, descriptorBindingVariableDescriptorCount = VkBool32.True, descriptorBindingSampledImageUpdateAfterBind = VkBool32.True, @@ -2025,6 +2028,11 @@ ref _queueFamilyIndices[(int)QueueType.Transfer], ref _queueIndices[(int)QueueTy requiredInstanceExtensions.Remove(extensionName); hasDedicatedAllocation = true; } + else if (extensionName == "VK_KHR_portability_subset") + { + extensionNames.Add((IntPtr)properties[property].extensionName); + requiredInstanceExtensions.Remove(extensionName); + } else if (requiredInstanceExtensions.Remove(extensionName)) { extensionNames.Add((IntPtr)properties[property].extensionName); diff --git a/src/Veldrid/Veldrid/VkSurfaceUtil.cs b/src/Veldrid/Veldrid/VkSurfaceUtil.cs index 3300497a0..01182bd9d 100644 --- a/src/Veldrid/Veldrid/VkSurfaceUtil.cs +++ b/src/Veldrid/Veldrid/VkSurfaceUtil.cs @@ -145,7 +145,7 @@ private static unsafe VkSurfaceKHR CreateNSViewSurface(GraphicsDevice gd, VkInst if (hasExtMetalSurface) { VkMetalSurfaceCreateInfoEXT surfaceCI = new VkMetalSurfaceCreateInfoEXT(); - //surfaceCI.sType = VkMetalSurfaceCreateInfoEXT.VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT; //! handled by constructor + surfaceCI.sType = VkMetalSurfaceCreateInfoEXT.VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT; surfaceCI.pLayer = metalLayer.NativePtr.ToPointer(); VkSurfaceKHR surface = new VkSurfaceKHR(); VkResult result = gd.CreateMetalSurfaceEXT(instance, &surfaceCI, null, &surface); From d6ff65cc8ed2996e246e0d82822696094bfe7171 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Mon, 13 Oct 2025 17:07:06 -0400 Subject: [PATCH 06/22] Update workflow Don't bother testing macOS workload, can't deploy it anyway --- .github/workflows/dotnet-desktop.yml | 9 +++++++-- .gitignore | 3 ++- src/Smithbox.Tests/Smithbox.Tests.csproj | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index 19aa3b336..ae24ccd79 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -14,7 +14,12 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' # SDK Version to use; - + + - name: Remove extraneous platforms + run: | + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Mac.csproj' + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Linux.csproj' + - name: Restore run: dotnet restore @@ -22,7 +27,7 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish - run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy + run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy /p:SolutionDir='${{ runner.workspace }}/Smithbox' - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/.gitignore b/.gitignore index 9343ba972..4e1d2458c 100644 --- a/.gitignore +++ b/.gitignore @@ -367,4 +367,5 @@ Dump Media .DS_Store -Documentation/BB \ No newline at end of file +Documentation/BB +src/Directory.Build.props \ No newline at end of file diff --git a/src/Smithbox.Tests/Smithbox.Tests.csproj b/src/Smithbox.Tests/Smithbox.Tests.csproj index 69e63bb94..21a31ef51 100644 --- a/src/Smithbox.Tests/Smithbox.Tests.csproj +++ b/src/Smithbox.Tests/Smithbox.Tests.csproj @@ -1,7 +1,7 @@  - net9.0 + net9.0-windows7.0 enable enable false From 796a58f7fd79f7f1a7aabc7c34ddcb9ed1ee35e6 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Sun, 28 Dec 2025 03:57:52 -0500 Subject: [PATCH 07/22] Squash --- .github/workflows/dotnet-desktop.yml | 11 +- Smithbox.sln | 680 ++---------------- .../VFS/ArchiveBinderVirtualFileSystem.cs | 18 +- src/Common/FileLocations.cs | 2 +- .../hk2018/HavokTypeRegistry.cs | 2 +- src/Havok/HKLib/Havok.HKLib.csproj | 10 +- src/Smithbox.Data/Smithbox.Data.csproj | 19 +- src/Smithbox.Program/Application/CFG.cs | 4 +- .../Application/Data/HelpBank.cs | 2 +- .../Tools/FileDictionaryGenerator.cs | 3 +- .../Tools/WorldMapLayoutGenerator.cs | 1 + .../Application/GUI/EditorSettings.cs | 20 +- .../Application/Interface/UIHelper.cs | 4 +- .../Application/ProjectEntry.cs | 14 +- .../Application/Tools/ProjectAliasEditor.cs | 2 +- .../Application/Utils/ProjectUtils.cs | 2 +- .../Editors/Common/CommonData.cs | 4 +- .../Editors/File Browser/GUI/FileToolView.cs | 2 +- .../Editors/Gparam Editor/Data/GparamData.cs | 4 +- .../Editors/Map Editor/Data/MapData.cs | 6 +- .../Map Editor/Framework/META/MsbMeta.cs | 2 +- .../Tools/Actions/EntityRenameAction.cs | 2 +- .../Material Editor/Data/MaterialData.cs | 2 +- .../Editors/Model Editor/Data/ModelBank.cs | 24 +- .../Editors/Model Editor/Data/ModelData.cs | 2 +- .../Editors/Param Editor/Data/ParamBank.cs | 2 +- .../Editors/Param Editor/Data/ParamData.cs | 22 +- .../Param Editor/Tools/ParamCategories.cs | 2 +- .../Param Editor/Tools/ParamUpgrader.cs | 5 +- .../Editors/Param Editor/Utils/ParamUtils.cs | 2 +- .../Editors/Text Editor/Data/TextData.cs | 6 +- .../Tools/TextNamingTemplateManager.cs | 2 +- .../Data/ShoeboxLayoutContainer.cs | 2 +- .../Resource Locators/ParamLocator.cs | 8 +- .../Resource Manager/ResourceLocator.cs | 2 +- .../Renderer/Scene/ShaderHelper.cs | 2 +- src/Smithbox.Program/Smithbox.Program.csproj | 33 +- src/Smithbox.Program/Smithbox.cs | 8 +- src/Smithbox/Smithbox.Mac.csproj | 5 +- src/Smithbox/Smithbox.csproj | 39 +- 40 files changed, 214 insertions(+), 768 deletions(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index fa2bc3d59..c09261e1d 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -28,14 +28,19 @@ jobs: restore-keys: | nuget-${{ runner.os }}- + - name: Remove extraneous platforms + run: | + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Mac.csproj' + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Linux.csproj' + - name: Restore - run: dotnet restore /p:Configuration=Release-win + run: dotnet restore /p:Configuration=Release - name: Build - run: dotnet build --configuration Release-win --no-restore + run: dotnet build --configuration Release --no-restore - name: Publish - run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release-win -o deploy + run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy /p:SolutionDir='${{ runner.workspace }}/Smithbox' - name: Upload artifacts uses: actions/upload-artifact@v6 diff --git a/Smithbox.sln b/Smithbox.sln index 33dafe9f5..bcf390b96 100644 --- a/Smithbox.sln +++ b/Smithbox.sln @@ -48,762 +48,218 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Andre.SoapstoneLib", "src\A EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Veldrid.MetalBindings", "src\Veldrid\Veldrid.MetalBindings\Veldrid.MetalBindings.csproj", "{77EB2AA9-02E6-4356-9A86-956A946CBBBF}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Linux", "src\Smithbox\Smithbox.Linux.csproj", "{2112107B-0BA9-4367-BA40-3DC687C5F456}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Smithbox.Mac", "src\Smithbox\Smithbox.Mac.csproj", "{48004B40-5161-4DA3-81E7-0C1755A5558F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 - Debug-linux|Any CPU = Debug-linux|Any CPU - Debug-linux|x64 = Debug-linux|x64 - Debug-osx|Any CPU = Debug-osx|Any CPU - Debug-osx|x64 = Debug-osx|x64 - Debug-win|Any CPU = Debug-win|Any CPU - Debug-win|x64 = Debug-win|x64 Release|Any CPU = Release|Any CPU Release|x64 = Release|x64 - Release-linux|Any CPU = Release-linux|Any CPU - Release-linux|x64 = Release-linux|x64 - Release-osx|Any CPU = Release-osx|Any CPU - Release-osx|x64 = Release-osx|x64 - Release-win|Any CPU = Release-win|Any CPU - Release-win|x64 = Release-win|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.Build.0 = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.Build.0 = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release-win|x64.Build.0 = Release-win|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.ActiveCfg = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Debug|x64.Build.0 = Debug|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|Any CPU.Build.0 = Release|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.ActiveCfg = Release|Any CPU + {E22C07F4-D305-4093-B44B-2A9914DF06A4}.Release|x64.Build.0 = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|Any CPU.Build.0 = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|x64.ActiveCfg = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug|x64.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-linux|x64.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-osx|x64.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Debug-win|x64.Build.0 = Debug|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|Any CPU.ActiveCfg = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|Any CPU.Build.0 = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|x64.ActiveCfg = Release|Any CPU {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release|x64.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|x64.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-linux|x64.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|x64.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-osx|x64.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|Any CPU.Build.0 = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|x64.ActiveCfg = Release|Any CPU - {6E8C5B37-C0EA-4BDB-8E33-D4A1F86139C4}.Release-win|x64.Build.0 = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|x64.ActiveCfg = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug|x64.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-linux|x64.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-osx|x64.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Debug-win|x64.Build.0 = Debug|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|Any CPU.Build.0 = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|x64.ActiveCfg = Release|Any CPU {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release|x64.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|x64.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-linux|x64.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|x64.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-osx|x64.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|Any CPU.Build.0 = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|x64.ActiveCfg = Release|Any CPU - {EBCA436B-24F5-4E0D-B32F-5E7EE0D061F6}.Release-win|x64.Build.0 = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|Any CPU.Build.0 = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|x64.ActiveCfg = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug|x64.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-linux|x64.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-osx|x64.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Debug-win|x64.Build.0 = Debug|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|Any CPU.ActiveCfg = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|Any CPU.Build.0 = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|x64.ActiveCfg = Release|Any CPU {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release|x64.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|x64.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-linux|x64.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|x64.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-osx|x64.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|Any CPU.Build.0 = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|x64.ActiveCfg = Release|Any CPU - {7ED94989-2CE2-454E-97C0-59837B24A61F}.Release-win|x64.Build.0 = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|Any CPU.Build.0 = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|x64.ActiveCfg = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug|x64.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-linux|x64.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-osx|x64.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Debug-win|x64.Build.0 = Debug|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|Any CPU.ActiveCfg = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|Any CPU.Build.0 = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|x64.ActiveCfg = Release|Any CPU {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release|x64.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|x64.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-linux|x64.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|x64.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-osx|x64.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|Any CPU.Build.0 = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|x64.ActiveCfg = Release|Any CPU - {F14604E6-9FBB-4F47-AFD8-7DB112924AF4}.Release-win|x64.Build.0 = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|Any CPU.Build.0 = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|x64.ActiveCfg = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug|x64.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-linux|x64.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-osx|x64.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Debug-win|x64.Build.0 = Debug|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|Any CPU.ActiveCfg = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|Any CPU.Build.0 = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|x64.ActiveCfg = Release|Any CPU {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release|x64.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|x64.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-linux|x64.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|x64.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-osx|x64.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|Any CPU.Build.0 = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|x64.ActiveCfg = Release|Any CPU - {CEFBD024-2E4E-4B74-ACB5-2D17B7F4C17F}.Release-win|x64.Build.0 = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|Any CPU.Build.0 = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|x64.ActiveCfg = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug|x64.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-linux|x64.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-osx|x64.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Debug-win|x64.Build.0 = Debug|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|Any CPU.ActiveCfg = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|Any CPU.Build.0 = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|x64.ActiveCfg = Release|Any CPU {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release|x64.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|x64.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-linux|x64.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|x64.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-osx|x64.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|Any CPU.Build.0 = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|x64.ActiveCfg = Release|Any CPU - {2A3A911A-7573-4A5B-A83B-92164B349BEA}.Release-win|x64.Build.0 = Release|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.Build.0 = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.Build.0 = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release-win|x64.Build.0 = Release-win|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.ActiveCfg = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Debug|x64.Build.0 = Debug|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|Any CPU.Build.0 = Release|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.ActiveCfg = Release|Any CPU + {56C072EE-4011-4A0E-9B72-25A1A47969A0}.Release|x64.Build.0 = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|Any CPU.Build.0 = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|x64.ActiveCfg = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug|x64.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-linux|x64.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-osx|x64.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Debug-win|x64.Build.0 = Debug|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|Any CPU.Build.0 = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|x64.ActiveCfg = Release|Any CPU {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release|x64.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|x64.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-linux|x64.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|x64.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-osx|x64.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|Any CPU.Build.0 = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|x64.ActiveCfg = Release|Any CPU - {AD901915-1F68-4774-8D9C-5BD443F933F6}.Release-win|x64.Build.0 = Release|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.Build.0 = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.Build.0 = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {9E5E426C-567D-45F3-9198-5280A4569B80}.Release-win|x64.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release-win|x64.Build.0 = Release-win|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.ActiveCfg = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Debug|x64.Build.0 = Debug|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|Any CPU.Build.0 = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.ActiveCfg = Release|Any CPU + {FD73CB42-214B-BCE4-E634-77E4D1ED3BEE}.Release|x64.Build.0 = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.ActiveCfg = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Debug|x64.Build.0 = Debug|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|Any CPU.Build.0 = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.ActiveCfg = Release|Any CPU + {9E5E426C-567D-45F3-9198-5280A4569B80}.Release|x64.Build.0 = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|Any CPU.Build.0 = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|x64.ActiveCfg = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug|x64.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-linux|x64.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-osx|x64.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Debug-win|x64.Build.0 = Debug|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|Any CPU.ActiveCfg = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|Any CPU.Build.0 = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|x64.ActiveCfg = Release|Any CPU {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release|x64.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|x64.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-linux|x64.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|x64.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-osx|x64.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|Any CPU.Build.0 = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|x64.ActiveCfg = Release|Any CPU - {4687FDA1-67FC-3A6D-3D82-C3C95BE30040}.Release-win|x64.Build.0 = Release|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.Build.0 = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.Build.0 = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release-win|x64.Build.0 = Release-win|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|Any CPU.Build.0 = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.ActiveCfg = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Debug|x64.Build.0 = Debug|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.ActiveCfg = Release|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|Any CPU.Build.0 = Release|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.ActiveCfg = Release|Any CPU + {958445B5-464F-F7E8-8AED-F3415FCACA78}.Release|x64.Build.0 = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|Any CPU.Build.0 = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|x64.ActiveCfg = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug|x64.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-linux|x64.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-osx|x64.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Debug-win|x64.Build.0 = Debug|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|Any CPU.ActiveCfg = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|Any CPU.Build.0 = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|x64.ActiveCfg = Release|Any CPU {DAB51102-413B-083B-0371-066C72D0B5A1}.Release|x64.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|x64.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-linux|x64.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|x64.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-osx|x64.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|Any CPU.Build.0 = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|x64.ActiveCfg = Release|Any CPU - {DAB51102-413B-083B-0371-066C72D0B5A1}.Release-win|x64.Build.0 = Release|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|Any CPU.Build.0 = Debug|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|x64.ActiveCfg = Debug|x64 {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug|x64.Build.0 = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|x64.ActiveCfg = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-linux|x64.Build.0 = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|x64.ActiveCfg = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-osx|x64.Build.0 = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|x64.ActiveCfg = Debug|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Debug-win|x64.Build.0 = Debug|x64 {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|Any CPU.ActiveCfg = Release|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|Any CPU.Build.0 = Release|Any CPU {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|x64.ActiveCfg = Release|x64 {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release|x64.Build.0 = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|x64.ActiveCfg = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-linux|x64.Build.0 = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|x64.ActiveCfg = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-osx|x64.Build.0 = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|Any CPU.Build.0 = Release|Any CPU - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|x64.ActiveCfg = Release|x64 - {59DCD3E2-0EB8-914A-381F-7F858AF7D939}.Release-win|x64.Build.0 = Release|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|Any CPU.Build.0 = Debug|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|x64.ActiveCfg = Debug|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug|x64.Build.0 = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|x64.ActiveCfg = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-linux|x64.Build.0 = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|x64.ActiveCfg = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-osx|x64.Build.0 = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|x64.ActiveCfg = Debug|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Debug-win|x64.Build.0 = Debug|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|Any CPU.ActiveCfg = Release|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|Any CPU.Build.0 = Release|Any CPU {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|x64.ActiveCfg = Release|x64 {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release|x64.Build.0 = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|x64.ActiveCfg = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-linux|x64.Build.0 = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|x64.ActiveCfg = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-osx|x64.Build.0 = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|Any CPU.Build.0 = Release|Any CPU - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|x64.ActiveCfg = Release|x64 - {A699848D-D9FE-3A8B-C923-EE94F182E23A}.Release-win|x64.Build.0 = Release|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|Any CPU.Build.0 = Debug|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|x64.ActiveCfg = Debug|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug|x64.Build.0 = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|x64.ActiveCfg = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-linux|x64.Build.0 = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|x64.ActiveCfg = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-osx|x64.Build.0 = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|x64.ActiveCfg = Debug|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Debug-win|x64.Build.0 = Debug|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|Any CPU.ActiveCfg = Release|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|Any CPU.Build.0 = Release|Any CPU {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|x64.ActiveCfg = Release|x64 {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release|x64.Build.0 = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|x64.ActiveCfg = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-linux|x64.Build.0 = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|x64.ActiveCfg = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-osx|x64.Build.0 = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|Any CPU.Build.0 = Release|Any CPU - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|x64.ActiveCfg = Release|x64 - {8E322882-1EA7-7252-B0DE-B03E4B4C88ED}.Release-win|x64.Build.0 = Release|x64 {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|Any CPU.Build.0 = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|x64.ActiveCfg = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug|x64.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-linux|x64.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-osx|x64.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Debug-win|x64.Build.0 = Debug|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|Any CPU.ActiveCfg = Release|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|Any CPU.Build.0 = Release|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|x64.ActiveCfg = Release|Any CPU {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release|x64.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|x64.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-linux|x64.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|x64.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-osx|x64.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|Any CPU.Build.0 = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|x64.ActiveCfg = Release|Any CPU - {E43E4287-28B6-D908-788D-84F10D35D0EC}.Release-win|x64.Build.0 = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|Any CPU.Build.0 = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|x64.ActiveCfg = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug|x64.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-linux|x64.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-osx|x64.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Debug-win|x64.Build.0 = Debug|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|Any CPU.ActiveCfg = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|Any CPU.Build.0 = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|x64.ActiveCfg = Release|Any CPU {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release|x64.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|x64.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-linux|x64.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|x64.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-osx|x64.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|Any CPU.Build.0 = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|x64.ActiveCfg = Release|Any CPU - {902AFDD0-44EF-F607-FDA3-F44055BA8B40}.Release-win|x64.Build.0 = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|Any CPU.Build.0 = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|x64.ActiveCfg = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug|x64.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-linux|x64.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-osx|x64.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Debug-win|x64.Build.0 = Debug|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|Any CPU.ActiveCfg = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|Any CPU.Build.0 = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|x64.ActiveCfg = Release|Any CPU {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release|x64.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|x64.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-linux|x64.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|x64.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-osx|x64.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|Any CPU.Build.0 = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|x64.ActiveCfg = Release|Any CPU - {69C825F6-FC8C-8C96-6DAB-2CB46589894E}.Release-win|x64.Build.0 = Release|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|Any CPU.ActiveCfg = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|Any CPU.Build.0 = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|x64.ActiveCfg = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-linux|x64.Build.0 = Debug-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|Any CPU.ActiveCfg = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|Any CPU.Build.0 = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|x64.ActiveCfg = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-osx|x64.Build.0 = Debug-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|Any CPU.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|Any CPU.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|x64.ActiveCfg = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug-win|x64.Build.0 = Debug-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.Build.0 = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.Build.0 = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|Any CPU.ActiveCfg = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|Any CPU.Build.0 = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|x64.ActiveCfg = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-linux|x64.Build.0 = Release-linux|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|Any CPU.ActiveCfg = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|Any CPU.Build.0 = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|x64.ActiveCfg = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-osx|x64.Build.0 = Release-osx|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|Any CPU.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|Any CPU.Build.0 = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|x64.ActiveCfg = Release-win|Any CPU - {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release-win|x64.Build.0 = Release-win|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.ActiveCfg = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Debug|x64.Build.0 = Debug|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|Any CPU.Build.0 = Release|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.ActiveCfg = Release|Any CPU + {3ED687A7-3D13-472C-CFC6-DD37A973F82D}.Release|x64.Build.0 = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|Any CPU.Build.0 = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|x64.ActiveCfg = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug|x64.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-linux|x64.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-osx|x64.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Debug-win|x64.Build.0 = Debug|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|Any CPU.ActiveCfg = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|Any CPU.Build.0 = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|x64.ActiveCfg = Release|Any CPU {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release|x64.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|x64.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-linux|x64.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|x64.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-osx|x64.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|Any CPU.Build.0 = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|x64.ActiveCfg = Release|Any CPU - {A75D395E-6097-BBD1-A21E-96B3297BD78B}.Release-win|x64.Build.0 = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|Any CPU.Build.0 = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|x64.ActiveCfg = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug|x64.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|Any CPU.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|Any CPU.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|x64.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-linux|x64.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|Any CPU.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|Any CPU.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|x64.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-osx|x64.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|Any CPU.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|Any CPU.Build.0 = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|x64.ActiveCfg = Debug|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Debug-win|x64.Build.0 = Debug|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|Any CPU.ActiveCfg = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|Any CPU.Build.0 = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|x64.ActiveCfg = Release|Any CPU {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release|x64.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|Any CPU.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|Any CPU.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|x64.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-linux|x64.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|Any CPU.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|Any CPU.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|x64.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-osx|x64.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|Any CPU.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|Any CPU.Build.0 = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|x64.ActiveCfg = Release|Any CPU - {77EB2AA9-02E6-4356-9A86-956A946CBBBF}.Release-win|x64.Build.0 = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|x64.ActiveCfg = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Debug|x64.Build.0 = Debug|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|Any CPU.Build.0 = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|x64.ActiveCfg = Release|Any CPU + {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|x64.Build.0 = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.ActiveCfg = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.Build.0 = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|Any CPU.Build.0 = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.ActiveCfg = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs b/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs index d7682c1e3..a8d29795b 100644 --- a/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs +++ b/src/Andre/Andre.IO/VFS/ArchiveBinderVirtualFileSystem.cs @@ -85,16 +85,16 @@ public static BhdDictionary GetDictionaryForGame(Game game) => game switch { Game.DES => throw new NotImplementedException(), - Game.DS1 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), - Game.DS1R => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), - Game.DS2S => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSouls2Dictionary.txt")), BHD5.Game.DarkSouls2), - Game.DS3 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","DarkSouls3Dictionary.txt")), BHD5.Game.DarkSouls3), + Game.DS1 => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), + Game.DS1R => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","DarkSoulsDictionary.txt")), BHD5.Game.DarkSouls1), + Game.DS2S => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","DarkSouls2Dictionary.txt")), BHD5.Game.DarkSouls2), + Game.DS3 => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","DarkSouls3Dictionary.txt")), BHD5.Game.DarkSouls3), Game.BB => throw new NotImplementedException(), - Game.SDT => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","SekiroDictionary.txt")), BHD5.Game.DarkSouls3), - Game.ER => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","EldenRingDictionary.txt")), BHD5.Game.EldenRing), - Game.NR => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","EldenRingNightreignDictionary.txt")), BHD5.Game.EldenRing), - Game.AC6 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","ArmoredCore6Dictionary.txt")), BHD5.Game.EldenRing), - Game.DS2 => new(File.ReadAllText(Path.Join(Common.FileLocations.Assets,"UXM Dictionaries","ScholarDictionary.txt")), BHD5.Game.DarkSouls2), + Game.SDT => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","SekiroDictionary.txt")), BHD5.Game.DarkSouls3), + Game.ER => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","EldenRingDictionary.txt")), BHD5.Game.EldenRing), + Game.NR => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","EldenRingNightreignDictionary.txt")), BHD5.Game.EldenRing), + Game.AC6 => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","ArmoredCore6Dictionary.txt")), BHD5.Game.EldenRing), + Game.DS2 => new(File.ReadAllText(Path.Join(StudioCore.Common.FileLocations.Assets,"UXM Dictionaries","ScholarDictionary.txt")), BHD5.Game.DarkSouls2), _ => throw new ArgumentOutOfRangeException(nameof(game), game, null) }; diff --git a/src/Common/FileLocations.cs b/src/Common/FileLocations.cs index 9ebc9304a..d3505b118 100644 --- a/src/Common/FileLocations.cs +++ b/src/Common/FileLocations.cs @@ -1,7 +1,7 @@ using System; using System.IO; -namespace Common +namespace StudioCore.Common { internal static class FileLocations { diff --git a/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs b/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs index bc9d34ab1..3672b787f 100644 --- a/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs +++ b/src/Havok/HKLib.Reflection/hk2018/HavokTypeRegistry.cs @@ -23,7 +23,7 @@ public class HavokTypeRegistry private static HavokTypeRegistry LoadDefault() { - string typeRegPath = Path.Join(Common.FileLocations.Res, "HavokTypeRegistry20180100.xml"); + string typeRegPath = Path.Join(StudioCore.Common.FileLocations.Res, "HavokTypeRegistry20180100.xml"); return Load(typeRegPath); } diff --git a/src/Havok/HKLib/Havok.HKLib.csproj b/src/Havok/HKLib/Havok.HKLib.csproj index 0cda723d8..d6c1b137c 100644 --- a/src/Havok/HKLib/Havok.HKLib.csproj +++ b/src/Havok/HKLib/Havok.HKLib.csproj @@ -23,12 +23,8 @@ - - DEBUG - - - - RELEASE - + + + diff --git a/src/Smithbox.Data/Smithbox.Data.csproj b/src/Smithbox.Data/Smithbox.Data.csproj index 07f92a7c0..3eb8fb0cf 100644 --- a/src/Smithbox.Data/Smithbox.Data.csproj +++ b/src/Smithbox.Data/Smithbox.Data.csproj @@ -6,23 +6,30 @@ enable + + true + + - - + + Always + Resource Always + Resource PreserveNewest PreserveNewest + Assembly PreserveNewest @@ -35,12 +42,4 @@ - - DEBUG - - - - RELEASE - - diff --git a/src/Smithbox.Program/Application/CFG.cs b/src/Smithbox.Program/Application/CFG.cs index 967118ef6..ad76622fd 100644 --- a/src/Smithbox.Program/Application/CFG.cs +++ b/src/Smithbox.Program/Application/CFG.cs @@ -187,12 +187,12 @@ public class CFG /// /// The relative path (from the Smithbox.exe) to the font used for English text. /// - public string System_English_Font = Path.Join(Common.FileLocations.Assets,"Fonts","RobotoMono-Light.ttf"); + public string System_English_Font = Path.Join(StudioCore.Common.FileLocations.Assets,"Fonts","RobotoMono-Light.ttf"); /// /// The relative path (from the Smithbox.exe) to the font used for non-English text. /// - public string System_Other_Font = Path.Join(Common.FileLocations.Assets, "Fonts","NotoSansCJKtc-Light.otf"); + public string System_Other_Font = Path.Join(StudioCore.Common.FileLocations.Assets, "Fonts","NotoSansCJKtc-Light.otf"); /// /// The current theme a user has selected to override the default. diff --git a/src/Smithbox.Program/Application/Data/HelpBank.cs b/src/Smithbox.Program/Application/Data/HelpBank.cs index d64005973..06d18df86 100644 --- a/src/Smithbox.Program/Application/Data/HelpBank.cs +++ b/src/Smithbox.Program/Application/Data/HelpBank.cs @@ -32,7 +32,7 @@ private List LoadHelpResource(string directory) List helpEntries = new(); IEnumerable articleDirFiles = - from file in Directory.EnumerateFiles(Path.Join(Common.FileLocations.Assets,"Help",directory)) + from file in Directory.EnumerateFiles(Path.Join(StudioCore.Common.FileLocations.Assets,"Help",directory)) select file; foreach (var file in articleDirFiles) helpEntries.Add(LoadHelpJSON(file)); diff --git a/src/Smithbox.Program/Application/Developer/Tools/FileDictionaryGenerator.cs b/src/Smithbox.Program/Application/Developer/Tools/FileDictionaryGenerator.cs index 321d98ba0..e467264fe 100644 --- a/src/Smithbox.Program/Application/Developer/Tools/FileDictionaryGenerator.cs +++ b/src/Smithbox.Program/Application/Developer/Tools/FileDictionaryGenerator.cs @@ -63,10 +63,11 @@ public static void Display(Smithbox baseEditor, ProjectEntry project) public static void GenerateFileDictionaryFromUXM(string filepath) { #if MACOS - var writePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/{Path.GetFileName(filepath)}.json";; + var writePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/{Path.GetFileName(filepath)}.json"; #else var writePath = $"{AppContext.BaseDirectory}/{Path.GetFileName(filepath)}.json"; #endif + var curDictionary = new FileDictionary(); curDictionary.Entries = new(); diff --git a/src/Smithbox.Program/Application/Developer/Tools/WorldMapLayoutGenerator.cs b/src/Smithbox.Program/Application/Developer/Tools/WorldMapLayoutGenerator.cs index d623cb981..1c4af20ac 100644 --- a/src/Smithbox.Program/Application/Developer/Tools/WorldMapLayoutGenerator.cs +++ b/src/Smithbox.Program/Application/Developer/Tools/WorldMapLayoutGenerator.cs @@ -2,6 +2,7 @@ using StudioCore.Utilities; using System.Collections.Generic; using System.IO; +using System; namespace StudioCore.Application; diff --git a/src/Smithbox.Program/Application/GUI/EditorSettings.cs b/src/Smithbox.Program/Application/GUI/EditorSettings.cs index 0f8ca6e8e..33bea9773 100644 --- a/src/Smithbox.Program/Application/GUI/EditorSettings.cs +++ b/src/Smithbox.Program/Application/GUI/EditorSettings.cs @@ -1457,8 +1457,8 @@ public void Display() if (ImGui.Button("Restore Default Fonts", DPI.StandardButtonSize)) { - CFG.Current.System_English_Font = Path.Join(Common.FileLocations.Assets, "Fonts","RobotoMono-Light.ttf"); - CFG.Current.System_Other_Font = Path.Join(Common.FileLocations.Assets, "Fonts","NotoSansCJKtc-Light.otf"); + CFG.Current.System_English_Font = Path.Join(StudioCore.Common.FileLocations.Assets, "Fonts","RobotoMono-Light.ttf"); + CFG.Current.System_Other_Font = Path.Join(StudioCore.Common.FileLocations.Assets, "Fonts","NotoSansCJKtc-Light.otf"); Smithbox.FontRebuildRequest = true; } } @@ -1490,7 +1490,7 @@ public void Display() // ImGui if (ImGui.CollapsingHeader("Interface Layout", ImGuiTreeNodeFlags.DefaultOpen)) { - var storedDir = Common.FileLocations.StoreImgui; + var storedDir = StudioCore.Common.FileLocations.StoreImgui; var storedPath = Path.Join(storedDir,"imgui.ini"); ImGui.AlignTextToFramePadding(); @@ -1499,7 +1499,7 @@ public void Display() ImGui.AlignTextToFramePadding(); if (ImGui.Button("Store##storeImguiIni", DPI.StandardButtonSize)) { - var curImgui = Path.Join(Common.FileLocations.CurImgui,"imgui.ini"); + var curImgui = Path.Join(StudioCore.Common.FileLocations.CurImgui,"imgui.ini"); if (!Directory.Exists(storedDir) && new DirectoryInfo(storedDir).Parent.Exists) Directory.CreateDirectory(storedDir); @@ -1533,7 +1533,7 @@ public void Display() if (ImGui.Button("Set##setImguiIni", DPI.StandardButtonSize)) { - var curImgui = Path.Join(Common.FileLocations.CurImgui, "imgui.ini"); + var curImgui = Path.Join(StudioCore.Common.FileLocations.CurImgui, "imgui.ini"); if (File.Exists(storedPath)) { @@ -1552,8 +1552,8 @@ public void Display() ImGui.AlignTextToFramePadding(); if (ImGui.Button("Reset##resetImguiIni", DPI.StandardButtonSize)) { - var curImgui = Path.Join(Common.FileLocations.CurImgui, "imgui.ini"); - var defaultImgui = Path.Join(Common.FileLocations.Resources, "imgui.default"); + var curImgui = Path.Join(StudioCore.Common.FileLocations.CurImgui, "imgui.ini"); + var defaultImgui = Path.Join(StudioCore.Common.FileLocations.Resources, "imgui.default"); if (Directory.Exists(storedDir)) { @@ -1602,11 +1602,11 @@ public void Display() if (ImGui.Button("Open Theme Folder", DPI.StandardButtonSize)) { #if WINDOWS - Process.Start("explorer.exe", Path.Join(Common.FileLocations.Assets, "Themes")); + Process.Start("explorer.exe", Path.Join(StudioCore.Common.FileLocations.Assets, "Themes")); #elif MACOS - Process.Start("/usr/bin/open", Path.Join(Common.FileLocations.Assets, "Themes")); + Process.Start("/usr/bin/open", Path.Join(StudioCore.Common.FileLocations.Assets, "Themes")); #elif LINUX - Process.Start("xdg-open", Path.Join(Common.FileLocations.Assets, "Themes")); + Process.Start("xdg-open", Path.Join(StudioCore.Common.FileLocations.Assets, "Themes")); #endif } ImGui.SameLine(); diff --git a/src/Smithbox.Program/Application/Interface/UIHelper.cs b/src/Smithbox.Program/Application/Interface/UIHelper.cs index 543daa8dd..607df17aa 100644 --- a/src/Smithbox.Program/Application/Interface/UIHelper.cs +++ b/src/Smithbox.Program/Application/Interface/UIHelper.cs @@ -71,8 +71,8 @@ public static void UnapplyBaseStyle() public static void RestoreImguiIfMissing() { - var curImgui = Path.Join(Common.FileLocations.CurImgui, "imgui.ini"); - var defaultImgui = Path.Join(Common.FileLocations.Resources, "imgui.default"); + var curImgui = Path.Join(StudioCore.Common.FileLocations.CurImgui, "imgui.ini"); + var defaultImgui = Path.Join(StudioCore.Common.FileLocations.Resources, "imgui.default"); if (!File.Exists(curImgui) && File.Exists(defaultImgui)) { diff --git a/src/Smithbox.Program/Application/ProjectEntry.cs b/src/Smithbox.Program/Application/ProjectEntry.cs index 521346f62..7eee5f191 100644 --- a/src/Smithbox.Program/Application/ProjectEntry.cs +++ b/src/Smithbox.Program/Application/ProjectEntry.cs @@ -823,12 +823,14 @@ public async Task SetupDLLs() #if WINDOWS var rootDllPath = Path.Join(DataPath, "oo2core_6_win64.dll"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "oo2core_6_win64.dll"); -#elif OSX +#elif MACOS var rootDllPath = Path.Join(DataPath, "liboo2coremac64.2.6.dylib"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2coremac64.2.6.dylib"); #elif LINUX var rootDllPath = Path.Join(DataPath, "liboo2corelinux64.so.6"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2corelinux64.so.6"); +#else + return false; #endif if (!File.Exists(rootDllPath)) @@ -849,12 +851,14 @@ public async Task SetupDLLs() #if WINDOWS var rootDllPath = Path.Join(DataPath, "oo2core_8_win64.dll"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "oo2core_8_win64.dll"); -#elif OSX +#elif MACOS var rootDllPath = Path.Join(DataPath, "liboo2coremac64.2.8.dylib"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2coremac64.2.8.dylib"); #elif LINUX var rootDllPath = Path.Join(DataPath, "liboo2corelinux64.so.8"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2corelinux64.so.8"); +#else + return false; #endif if (!File.Exists(rootDllPath)) @@ -876,12 +880,14 @@ public async Task SetupDLLs() #if WINDOWS var rootDllPath = Path.Join(DataPath, "oo2core_9_win64.dll"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "oo2core_9_win64.dll"); -#elif OSX +#elif MACOS var rootDllPath = Path.Join(DataPath, "liboo2coremac64.2.9.dylib"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2coremac64.2.9.dylib"); #elif LINUX var rootDllPath = Path.Join(DataPath, "liboo2corelinux64.so.9"); var projectDllPath = Path.Join(AppContext.BaseDirectory, "liboo2corelinux64.so.9"); +#else + return false; #endif if (!File.Exists(rootDllPath)) @@ -964,7 +970,7 @@ public async Task SetupVFS() else FS = new CompundVirtualFileSystem(fileSystems); - var folder = Path.Join(AppContext.BaseDirectory,"Assets","File Dictionaries"); + var folder = Path.Join(StudioCore.Common.FileLocations.Assets, "File Dictionaries"); var file = ""; // Build the file dictionary JSON objects here diff --git a/src/Smithbox.Program/Application/Tools/ProjectAliasEditor.cs b/src/Smithbox.Program/Application/Tools/ProjectAliasEditor.cs index 638fe085d..339c8181b 100644 --- a/src/Smithbox.Program/Application/Tools/ProjectAliasEditor.cs +++ b/src/Smithbox.Program/Application/Tools/ProjectAliasEditor.cs @@ -44,7 +44,7 @@ public static void SetupBaseAliases() { BaseAliases = new(); - var dir = Path.Join(Common.FileLocations.Assets, "Aliases", + var dir = Path.Join(StudioCore.Common.FileLocations.Assets, "Aliases", ProjectUtils.GetGameDirectory(TargetProject.ProjectType)); List sourceFiles = Directory.GetFiles(dir, "*.json").ToList(); diff --git a/src/Smithbox.Program/Application/Utils/ProjectUtils.cs b/src/Smithbox.Program/Application/Utils/ProjectUtils.cs index 57c85435a..08f69eb38 100644 --- a/src/Smithbox.Program/Application/Utils/ProjectUtils.cs +++ b/src/Smithbox.Program/Application/Utils/ProjectUtils.cs @@ -81,7 +81,7 @@ public static string GetConfigurationFolder() } public static string GetThemeFolder() { - return Path.Join(Common.FileLocations.Assets, "Themes"); + return Path.Join(StudioCore.Common.FileLocations.Assets, "Themes"); } public static string GetProjectsFolder() diff --git a/src/Smithbox.Program/Editors/Common/CommonData.cs b/src/Smithbox.Program/Editors/Common/CommonData.cs index 9a37b0e12..8152eaf96 100644 --- a/src/Smithbox.Program/Editors/Common/CommonData.cs +++ b/src/Smithbox.Program/Editors/Common/CommonData.cs @@ -71,7 +71,7 @@ public async Task SetupAliases() HashSet sourceDirectories = [ - Path.Join(AppContext.BaseDirectory, "Assets", "Aliases", + Path.Join(StudioCore.Common.FileLocations.Assets, "Aliases", ProjectUtils.GetGameDirectory(Project.ProjectType)), Path.Join(Project.ProjectPath,".smithbox","Assets","Aliases") ]; @@ -124,7 +124,7 @@ public async Task SetupProjectEnums() ProjectEnums = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Shared Param Enums.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Project"); diff --git a/src/Smithbox.Program/Editors/File Browser/GUI/FileToolView.cs b/src/Smithbox.Program/Editors/File Browser/GUI/FileToolView.cs index 571d26ed9..fd0a38fb7 100644 --- a/src/Smithbox.Program/Editors/File Browser/GUI/FileToolView.cs +++ b/src/Smithbox.Program/Editors/File Browser/GUI/FileToolView.cs @@ -392,7 +392,7 @@ public async Task DeleteUnpackedDataAsync() public void UpdateBaseFileDictionary() { // Get the unmerged base file dictionary - var folder = Path.Join(Common.FileLocations.Assets, "File Dictionaries"); + var folder = Path.Join(StudioCore.Common.FileLocations.Assets, "File Dictionaries"); var file = ""; switch (Project.ProjectType) diff --git a/src/Smithbox.Program/Editors/Gparam Editor/Data/GparamData.cs b/src/Smithbox.Program/Editors/Gparam Editor/Data/GparamData.cs index aa1100455..c5f8e1c75 100644 --- a/src/Smithbox.Program/Editors/Gparam Editor/Data/GparamData.cs +++ b/src/Smithbox.Program/Editors/Gparam Editor/Data/GparamData.cs @@ -96,7 +96,7 @@ public async Task SetupGparamInfo() GparamEnums = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "GPARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "GPARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Core.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "GPARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); @@ -141,7 +141,7 @@ public async Task SetupGparamEnums() GparamEnums = new(); // Enums - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "GPARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "GPARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Enums.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "GPARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); diff --git a/src/Smithbox.Program/Editors/Map Editor/Data/MapData.cs b/src/Smithbox.Program/Editors/Map Editor/Data/MapData.cs index fa4ecae6c..85caeb0ff 100644 --- a/src/Smithbox.Program/Editors/Map Editor/Data/MapData.cs +++ b/src/Smithbox.Program/Editors/Map Editor/Data/MapData.cs @@ -232,7 +232,7 @@ public async Task SetupMapObjectNames() await Task.Yield(); - var srcDir = Path.Combine(Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project), "Community Map Object Names"); + var srcDir = Path.Combine(StudioCore.Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project), "Community Map Object Names"); var projDir = Path.Combine(Project.ProjectPath, ".smithbox", "Project", "Community Map Object Names"); if (Directory.Exists(projDir)) @@ -387,7 +387,7 @@ public async Task SetupMsbInfo() MsbMasks = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "MSB", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Core.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "MSB", ProjectUtils.GetGameDirectory(Project.ProjectType)); @@ -501,7 +501,7 @@ public async Task SetupMapSpawnStates() MapSpawnStates = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "MSB", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "SpawnStates.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "MSB", ProjectUtils.GetGameDirectory(Project.ProjectType)); diff --git a/src/Smithbox.Program/Editors/Map Editor/Framework/META/MsbMeta.cs b/src/Smithbox.Program/Editors/Map Editor/Framework/META/MsbMeta.cs index babf53e5b..1a33eed0b 100644 --- a/src/Smithbox.Program/Editors/Map Editor/Framework/META/MsbMeta.cs +++ b/src/Smithbox.Program/Editors/Map Editor/Framework/META/MsbMeta.cs @@ -25,7 +25,7 @@ public async Task Setup() _MsbMetas = new(); - var metaPath = Path.Join(Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project), "Meta"); + var metaPath = Path.Join(StudioCore.Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Project), "Meta"); if (Path.Exists(metaPath)) { diff --git a/src/Smithbox.Program/Editors/Map Editor/Tools/Actions/EntityRenameAction.cs b/src/Smithbox.Program/Editors/Map Editor/Tools/Actions/EntityRenameAction.cs index 3a7dcaf3c..908c521a6 100644 --- a/src/Smithbox.Program/Editors/Map Editor/Tools/Actions/EntityRenameAction.cs +++ b/src/Smithbox.Program/Editors/Map Editor/Tools/Actions/EntityRenameAction.cs @@ -215,7 +215,7 @@ private List GetNameListInfo(string mapId, string type) { var list = new List(); - var dir = Path.Join(Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Editor.Project), "namelist.csv"); + var dir = Path.Join(StudioCore.Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(Editor.Project), "namelist.csv"); if (File.Exists(dir)) { diff --git a/src/Smithbox.Program/Editors/Material Editor/Data/MaterialData.cs b/src/Smithbox.Program/Editors/Material Editor/Data/MaterialData.cs index 32742c79f..6b4cfdc82 100644 --- a/src/Smithbox.Program/Editors/Material Editor/Data/MaterialData.cs +++ b/src/Smithbox.Program/Editors/Material Editor/Data/MaterialData.cs @@ -106,7 +106,7 @@ public async Task SetupMaterialDisplayConfiguration() MaterialDisplayConfiguration = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "MATERIAL", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "MATERIAL", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Display Configuration.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "MATERIAL", ProjectUtils.GetGameDirectory(Project.ProjectType)); diff --git a/src/Smithbox.Program/Editors/Model Editor/Data/ModelBank.cs b/src/Smithbox.Program/Editors/Model Editor/Data/ModelBank.cs index 0a64cf4ea..5a83bcfb5 100644 --- a/src/Smithbox.Program/Editors/Model Editor/Data/ModelBank.cs +++ b/src/Smithbox.Program/Editors/Model Editor/Data/ModelBank.cs @@ -182,7 +182,7 @@ public void PopulateModelList() var binder = new BND3Reader(fileData.Value); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -208,7 +208,7 @@ public void PopulateModelList() var binder = new BND4Reader(fileData.Value); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -261,7 +261,7 @@ or ProjectType.DS1 var binder = new BXF3Reader(bhd, bdt); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -276,7 +276,7 @@ or ProjectType.DS1 var binder = new BXF4Reader(bhd, bdt); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -332,7 +332,7 @@ public void Load() var binder = new BND3Reader(fileData.Value); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -361,7 +361,7 @@ public void Load() var binder = new BND4Reader(fileData.Value); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -417,7 +417,7 @@ or ProjectType.DS1 var binder = new BXF3Reader(bhd, bdt); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -435,7 +435,7 @@ or ProjectType.DS1 var binder = new BXF4Reader(bhd, bdt); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -543,7 +543,7 @@ public void Save() var binder = BND3.Read(binderData.Value); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -575,7 +575,7 @@ public void Save() var binder = BND4.Read(binderData.Value); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -637,7 +637,7 @@ or ProjectType.DS1 var binder = BXF3.Read(bhd, bdt); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) @@ -663,7 +663,7 @@ or ProjectType.DS1 var binder = BXF4.Read(bhd, bdt); foreach (var file in binder.Files) { - var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name); + var filename = System.IO.Path.GetFileNameWithoutExtension(file.Name.Replace('\\',System.IO.Path.DirectorySeparatorChar)); var filepath = file.Name.ToLower(); if (filepath.Contains(".flver") || filepath.Contains(".flv")) diff --git a/src/Smithbox.Program/Editors/Model Editor/Data/ModelData.cs b/src/Smithbox.Program/Editors/Model Editor/Data/ModelData.cs index 63c11aaa2..c1f4834fb 100644 --- a/src/Smithbox.Program/Editors/Model Editor/Data/ModelData.cs +++ b/src/Smithbox.Program/Editors/Model Editor/Data/ModelData.cs @@ -283,7 +283,7 @@ public async Task SetupFlverInfo() FlverEnums = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "FLVER"); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "FLVER"); var sourceFile = Path.Combine(sourceFolder, "Core.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "FLVER"); diff --git a/src/Smithbox.Program/Editors/Param Editor/Data/ParamBank.cs b/src/Smithbox.Program/Editors/Param Editor/Data/ParamBank.cs index 81fe9174c..47f8b271a 100644 --- a/src/Smithbox.Program/Editors/Param Editor/Data/ParamBank.cs +++ b/src/Smithbox.Program/Editors/Param Editor/Data/ParamBank.cs @@ -2367,7 +2367,7 @@ public async Task ImportRowNamesTask(ParamImportRowNameSourceType sourceTy await Task.Yield(); var sourceDirectory = filepath; - var folder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var folder = @$"{StudioCore.Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; switch (sourceType) { diff --git a/src/Smithbox.Program/Editors/Param Editor/Data/ParamData.cs b/src/Smithbox.Program/Editors/Param Editor/Data/ParamData.cs index cf9dafaa2..2e4d6ba02 100644 --- a/src/Smithbox.Program/Editors/Param Editor/Data/ParamData.cs +++ b/src/Smithbox.Program/Editors/Param Editor/Data/ParamData.cs @@ -345,7 +345,7 @@ public async Task SetupParamDefs() } // Param Type Info - var paramTypeInfoPath = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Param Type Info.json"); + var paramTypeInfoPath = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Param Type Info.json"); if (File.Exists(paramTypeInfoPath)) { @@ -398,7 +398,7 @@ public async Task SetupParamMeta() { await Task.Yield(); - var rootMetaDir = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Meta"); + var rootMetaDir = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Meta"); var projectMetaDir = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Meta"); @@ -459,7 +459,7 @@ public async Task SetupGraphLegends() { await Task.Yield(); - var folder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var folder = @$"{StudioCore.Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; var file = Path.Combine(folder, "Graph Legends.json"); if(CFG.Current.Param_UseProjectMeta) @@ -502,7 +502,7 @@ public async Task SetupIconConfigurations() { await Task.Yield(); - var folder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var folder = @$"{StudioCore.Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; var file = Path.Combine(folder, "Icon Configurations.json"); if (CFG.Current.Param_UseProjectMeta) @@ -545,7 +545,7 @@ public async Task SetupTableGroupNames() { await Task.Yield(); - var srcDir = Path.Combine(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Community Table Names"); + var srcDir = Path.Combine(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Community Table Names"); if (!Directory.Exists(srcDir)) { @@ -665,7 +665,7 @@ public async Task SetupTableParamList() { await Task.Yield(); - var srcFile = Path.Combine(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Table Params.json"); + var srcFile = Path.Combine(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Table Params.json"); var projFile = Path.Combine(Project.ProjectPath, ".smithbox", "Project", "Table Params.json"); if (Directory.Exists(projFile)) @@ -708,7 +708,7 @@ public void CreateProjectMetadata() { // META var metaDir = ParamLocator.GetParammetaDir(Project); - var rootDir = Path.Combine(Common.FileLocations.Resources, metaDir); + var rootDir = Path.Combine(StudioCore.Common.FileLocations.Resources, metaDir); var projectDir = Path.Join(Project.ProjectPath, ".smithbox", metaDir); if (!Directory.Exists(projectDir)) @@ -735,7 +735,7 @@ public void CreateProjectMetadata() public void CopyMetadataFile(string name) { - var srcFolder = @$"{Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; + var srcFolder = @$"{StudioCore.Common.FileLocations.Assets}/PARAM/{ProjectUtils.GetGameDirectory(Project)}"; var srcFile = Path.Combine(srcFolder, name); var targetFolder = Path.Combine(Project.ProjectPath, ".smithbox", "Project"); @@ -818,7 +818,7 @@ public async Task SetupParamMemoryOffsets() ParamMemoryOffsets = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Param Reload Offsets.json"); var targetFile = sourceFile; @@ -858,7 +858,7 @@ public async Task SetupParamCategories() ParamCategories = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Param Categories.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); @@ -902,7 +902,7 @@ public async Task SetupCommutativeParamGroups() CommutativeParamGroups = new(); // Information - var sourceFolder = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Commutative Params.json"); var projectFolder = Path.Join(Project.ProjectPath, ".smithbox", "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project.ProjectType)); diff --git a/src/Smithbox.Program/Editors/Param Editor/Tools/ParamCategories.cs b/src/Smithbox.Program/Editors/Param Editor/Tools/ParamCategories.cs index 6a5c746c1..3d771aecf 100644 --- a/src/Smithbox.Program/Editors/Param Editor/Tools/ParamCategories.cs +++ b/src/Smithbox.Program/Editors/Param Editor/Tools/ParamCategories.cs @@ -254,7 +254,7 @@ public static void Display(ParamEditorScreen editor) public static void RestoreDefault(ParamEditorScreen editor) { - var sourceFolder = Path.Join(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(editor.Project.ProjectType)); + var sourceFolder = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(editor.Project.ProjectType)); var sourceFile = Path.Combine(sourceFolder, "Param Categories.json"); if (File.Exists(sourceFile)) diff --git a/src/Smithbox.Program/Editors/Param Editor/Tools/ParamUpgrader.cs b/src/Smithbox.Program/Editors/Param Editor/Tools/ParamUpgrader.cs index 29b50b5df..98f1fb05d 100644 --- a/src/Smithbox.Program/Editors/Param Editor/Tools/ParamUpgrader.cs +++ b/src/Smithbox.Program/Editors/Param Editor/Tools/ParamUpgrader.cs @@ -10,6 +10,7 @@ using System.IO; using System.Linq; using System.Numerics; +using System.Security.AccessControl; using System.Text.Json; using System.Threading.Tasks; @@ -473,7 +474,7 @@ public async Task LoadUpgraderInformation() { await Task.Yield(); - var oldRegInfoPath = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Upgrader Information.json"); + var oldRegInfoPath = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Upgrader Information.json"); try { @@ -538,7 +539,7 @@ private string GetOldRegulationPath() var oldRegulationPath = ""; - var oldRegDirectory = Path.Join(AppContext.BaseDirectory, "Assets", "PARAM", ProjectUtils.GetGameDirectory(Project), "Regulations"); + var oldRegDirectory = Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Regulations"); var targetRegInfo = UpgraderInfo.RegulationEntries.Where(e => e.Version == oldVersionString).FirstOrDefault(); diff --git a/src/Smithbox.Program/Editors/Param Editor/Utils/ParamUtils.cs b/src/Smithbox.Program/Editors/Param Editor/Utils/ParamUtils.cs index c42959480..e2934612d 100644 --- a/src/Smithbox.Program/Editors/Param Editor/Utils/ParamUtils.cs +++ b/src/Smithbox.Program/Editors/Param Editor/Utils/ParamUtils.cs @@ -338,7 +338,7 @@ public static string GetFieldExportString(Param.Row context, string fieldName) public static bool HasDeveloperRowNames(ProjectEntry curProject) { - var dir = Path.Combine(Common.FileLocations.Assets, + var dir = Path.Combine(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(curProject), "Developer Row Names"); diff --git a/src/Smithbox.Program/Editors/Text Editor/Data/TextData.cs b/src/Smithbox.Program/Editors/Text Editor/Data/TextData.cs index 6c57c061e..c065312ab 100644 --- a/src/Smithbox.Program/Editors/Text Editor/Data/TextData.cs +++ b/src/Smithbox.Program/Editors/Text Editor/Data/TextData.cs @@ -140,7 +140,7 @@ public LanguageDef SetupLanguageDef() { LanguageDef def = null; - var folder = Path.Join(AppContext.BaseDirectory, "Assets", "FMG", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var folder = Path.Join(StudioCore.Common.FileLocations.Assets, "FMG", ProjectUtils.GetGameDirectory(Project.ProjectType)); var file = Path.Combine(folder, "Languages.json"); if (File.Exists(file)) @@ -171,7 +171,7 @@ public ContainerDef SetupContainerDef() { ContainerDef def = null; - var folder = Path.Join(AppContext.BaseDirectory, "Assets", "FMG", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var folder = Path.Join(StudioCore.Common.FileLocations.Assets, "FMG", ProjectUtils.GetGameDirectory(Project.ProjectType)); var file = Path.Combine(folder, "Containers.json"); if (File.Exists(file)) @@ -202,7 +202,7 @@ public AssociationDef SetupAssociationDef() { AssociationDef def = null; - var folder = Path.Join(AppContext.BaseDirectory, "Assets", "FMG", ProjectUtils.GetGameDirectory(Project.ProjectType)); + var folder = Path.Join(StudioCore.Common.FileLocations.Assets, "FMG", ProjectUtils.GetGameDirectory(Project.ProjectType)); var file = Path.Combine(folder, "Associations.json"); diff --git a/src/Smithbox.Program/Editors/Text Editor/Tools/TextNamingTemplateManager.cs b/src/Smithbox.Program/Editors/Text Editor/Tools/TextNamingTemplateManager.cs index 32829dc0e..14b0cbfef 100644 --- a/src/Smithbox.Program/Editors/Text Editor/Tools/TextNamingTemplateManager.cs +++ b/src/Smithbox.Program/Editors/Text Editor/Tools/TextNamingTemplateManager.cs @@ -29,7 +29,7 @@ public TextNamingTemplateManager(TextEditorScreen editor, ProjectEntry project) Editor = editor; Project = project; - RootPath = Path.Join(AppContext.BaseDirectory, "Assets", "Workflow", "Naming Templates"); + RootPath = Path.Join(StudioCore.Common.FileLocations.Assets, "Workflow", "Naming Templates"); ProjectPath = Path.Join(editor.Project.ProjectPath, ".smithbox", "Workflow", "Naming Templates"); } diff --git a/src/Smithbox.Program/Editors/Texture Viewer/Data/ShoeboxLayoutContainer.cs b/src/Smithbox.Program/Editors/Texture Viewer/Data/ShoeboxLayoutContainer.cs index 7faa832ba..8d2f50b53 100644 --- a/src/Smithbox.Program/Editors/Texture Viewer/Data/ShoeboxLayoutContainer.cs +++ b/src/Smithbox.Program/Editors/Texture Viewer/Data/ShoeboxLayoutContainer.cs @@ -76,7 +76,7 @@ public async Task SetupLayoutsDirectly() { await Task.Yield(); - var srcFolder = Path.Combine(Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Icon Layouts"); + var srcFolder = Path.Combine(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(Project), "Icon Layouts"); foreach (var path in Directory.EnumerateFiles(srcFolder)) { diff --git a/src/Smithbox.Program/Renderer/Resource Locators/ParamLocator.cs b/src/Smithbox.Program/Renderer/Resource Locators/ParamLocator.cs index d46b430b7..2511e2660 100644 --- a/src/Smithbox.Program/Renderer/Resource Locators/ParamLocator.cs +++ b/src/Smithbox.Program/Renderer/Resource Locators/ParamLocator.cs @@ -70,12 +70,12 @@ public static string GetUpgraderAssetsDir(ProjectEntry project) public static string GetGameOffsetsAssetsDir(ProjectEntry project) { - return Path.Join("Assets", "PARAM", ProjectUtils.GetGameDirectory(project)); + return Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(project)); } public static string GetParamAssetsDir(ProjectEntry project) { - return Path.Join("Assets", "PARAM", ProjectUtils.GetGameDirectory(project)); + return Path.Join(StudioCore.Common.FileLocations.Assets, "PARAM", ProjectUtils.GetGameDirectory(project)); } public static string GetParamdefDir(ProjectEntry project) @@ -123,11 +123,11 @@ public static string GetStrippedRowNamesPath(ProjectEntry project, string paramN public static string GetMassEditScriptCommonDir() { - return Path.Join("Assets", "Scripts", "Common"); + return Path.Join(StudioCore.Common.FileLocations.Assets, "Scripts", "Common"); } public static string GetMassEditScriptGameDir(ProjectEntry project) { - return Path.Join("Assets", "Scripts", ProjectUtils.GetGameDirectory(project)); + return Path.Join(StudioCore.Common.FileLocations.Assets, "Scripts", ProjectUtils.GetGameDirectory(project)); } } diff --git a/src/Smithbox.Program/Renderer/Resource Manager/ResourceLocator.cs b/src/Smithbox.Program/Renderer/Resource Manager/ResourceLocator.cs index 561c5af6c..b076967d2 100644 --- a/src/Smithbox.Program/Renderer/Resource Manager/ResourceLocator.cs +++ b/src/Smithbox.Program/Renderer/Resource Manager/ResourceLocator.cs @@ -632,7 +632,7 @@ public static string GetAbsolutePath(ProjectEntry project, string virtPath) var containerName = p[i]; absPath = Path.Combine( - AppContext.BaseDirectory, "Assets", "MSB", ProjectUtils.GetGameDirectory(project.ProjectType), + StudioCore.Common.FileLocations.Assets, "MSB", ProjectUtils.GetGameDirectory(project.ProjectType), "Maps", $"{containerName}.tpf.dcx"); } diff --git a/src/Smithbox.Program/Renderer/Scene/ShaderHelper.cs b/src/Smithbox.Program/Renderer/Scene/ShaderHelper.cs index 01953d3de..f10f65387 100644 --- a/src/Smithbox.Program/Renderer/Scene/ShaderHelper.cs +++ b/src/Smithbox.Program/Renderer/Scene/ShaderHelper.cs @@ -9,7 +9,7 @@ namespace StudioCore.Renderer; public static class ShaderHelper { - private static readonly string s_assetRoot = Common.FileLocations.Assets; + private static readonly string s_assetRoot = StudioCore.Common.FileLocations.Assets; internal static string GetPath(string assetPath) { diff --git a/src/Smithbox.Program/Smithbox.Program.csproj b/src/Smithbox.Program/Smithbox.Program.csproj index 38fe82601..43faacd7c 100644 --- a/src/Smithbox.Program/Smithbox.Program.csproj +++ b/src/Smithbox.Program/Smithbox.Program.csproj @@ -3,39 +3,22 @@ net9.0 12 - - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release StudioCore - - DEBUG + true 1701;1702;0169 - - - RELEASE + + true embedded false 1701;1702;0169 - - $(DefineConstants);WINDOWS - x64 - - - $(DefineConstants);LINUX - x64 - - - - $(DefineConstants);OSX - arm64;x64 - @@ -44,11 +27,15 @@ - + + + + + @@ -63,10 +50,6 @@ - - - - diff --git a/src/Smithbox.Program/Smithbox.cs b/src/Smithbox.Program/Smithbox.cs index 7fa23795b..2b4121610 100644 --- a/src/Smithbox.Program/Smithbox.cs +++ b/src/Smithbox.Program/Smithbox.cs @@ -146,7 +146,7 @@ private unsafe void SetupImGui() io.ConfigViewportsNoAutoMerge = false; io.ConfigViewportsNoTaskBarIcon = false; - byte[] iniFilename = Encoding.UTF8.GetBytes(Path.Combine(Common.FileLocations.CurImgui, "imgui.ini") + '\0'); + byte[] iniFilename = Encoding.UTF8.GetBytes(Path.Combine(StudioCore.Common.FileLocations.CurImgui, "imgui.ini") + '\0'); GCHandle handle = GCHandle.Alloc(iniFilename, GCHandleType.Pinned); io.Handle->IniFilename = (byte*)handle.AddrOfPinnedObject(); @@ -173,17 +173,17 @@ private unsafe void SetupFonts() NonEnglishFontRelPath = CFG.Current.System_Other_Font; } - var englishFontPath = Path.Combine(Common.FileLocations.Resources, EnglishFontRelPath); + var englishFontPath = Path.Combine(StudioCore.Common.FileLocations.Resources, EnglishFontRelPath); var englishFontData = File.ReadAllBytes(englishFontPath); var englishFontPtr = ImGui.MemAlloc((uint)englishFontData.Length); Marshal.Copy(englishFontData, 0, (nint)englishFontPtr, englishFontData.Length); - var nonEnglishFontPath = Path.Combine(Common.FileLocations.Resources, NonEnglishFontRelPath); + var nonEnglishFontPath = Path.Combine(StudioCore.Common.FileLocations.Resources, NonEnglishFontRelPath); var nonEnglishFontData = File.ReadAllBytes(nonEnglishFontPath); var nonEnglishFontPtr = ImGui.MemAlloc((uint)nonEnglishFontData.Length); Marshal.Copy(nonEnglishFontData, 0, (nint)nonEnglishFontPtr, nonEnglishFontData.Length); - var iconFontPath = Path.Combine(Common.FileLocations.Resources, IconFontRelPath); + var iconFontPath = Path.Combine(StudioCore.Common.FileLocations.Resources, IconFontRelPath); var iconFontData = File.ReadAllBytes(iconFontPath); var iconFontPtr = ImGui.MemAlloc((uint)iconFontData.Length); Marshal.Copy(iconFontData, 0, (nint)iconFontPtr, iconFontData.Length); diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 80760f9ca..632ccd93b 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -15,6 +15,7 @@ true osx-arm64;osx-x64 $(DefineConstants);MACOS + path/to/oodle.dylib @@ -29,7 +30,7 @@ AnyCPU - + <_CustomLinkFlags Include="-ld64;-undefined;dynamic_lookup" Visible="false" /> @@ -40,6 +41,8 @@ + + diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index fe601b1a1..1dfdf8c39 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -1,8 +1,8 @@ - Exe - net9.0 + WinExe + net9.0-windows7.0 Katalash, Vawser 2.1.0 icon.ico @@ -12,43 +12,38 @@ 12 false true - Debug-win;Release-win;Debug-linux;Release-linux;Debug-osx;Release-osx;Debug;Release + win-x64 + $(DefineConstants);WINDOWS StudioCore - - DEBUG - true - - - - RELEASE + true + x64 embedded false - - WinExe - x64 - win-x64 - - - + + true x64 - linux-x64 - - arm64;x64 - osx-arm64;osx-x64 - + + + + + + + + From 32e17ed88daef1b2655c79bb67b805796f59e869 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Tue, 30 Dec 2025 19:19:45 -0500 Subject: [PATCH 08/22] Paths --- src/Common/FileLocations.cs | 32 ++++++++++--------- .../Application/Utils/SteamUtils.cs | 2 +- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/Common/FileLocations.cs b/src/Common/FileLocations.cs index d3505b118..eb18b1c9d 100644 --- a/src/Common/FileLocations.cs +++ b/src/Common/FileLocations.cs @@ -6,21 +6,23 @@ namespace StudioCore.Common internal static class FileLocations { #if MACOS - // NSBundle.MainBundle.ResourcePath - public static readonly string Resources = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "../Resources")); - public static readonly string Assets = Path.Combine(Resources, "Assets"); - public static readonly string Res = Path.Combine(Resources, "Res"); - public static readonly string CurImgui = Path.GetFullPath(Path.Combine( - Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Smithbox")); - public static readonly string StoreImgui = Path.GetFullPath(Path.Combine( - Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "../Preferences/Smithbox")); + // NSBundle.MainBundle.ResourcePath + public static readonly string Resources = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "../Resources")); + public static readonly string Libraries = AppContext.BaseDirectory; + public static readonly string Assets = Path.Combine(Resources, "Assets"); + public static readonly string Res = Path.Combine(Resources, "Res"); + public static readonly string CurImgui = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Smithbox")); + public static readonly string StoreImgui = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "../Preferences/Smithbox")); #else - public static readonly string Resources = AppDomain.CurrentDomain.BaseDirectory; - public static readonly string Assets = Path.Combine(Resources, "Assets"); - public static readonly string Res = Path.Combine(Resources, "Res"); - public static readonly string CurImgui = Resources; - public static readonly string StoreImgui = Path.GetFullPath(Path.Combine( - Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Smithbox")); + public static readonly string Resources = AppContext.BaseDirectory; + public static readonly string Libraries = AppContext.BaseDirectory; + public static readonly string Assets = Path.Combine(Resources, "Assets"); + public static readonly string Res = Path.Combine(Resources, "Res"); + public static readonly string CurImgui = Resources; + public static readonly string StoreImgui = Path.GetFullPath(Path.Combine( + Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Smithbox")); #endif } -} +} \ No newline at end of file diff --git a/src/Smithbox.Program/Application/Utils/SteamUtils.cs b/src/Smithbox.Program/Application/Utils/SteamUtils.cs index 315cac645..03c426b65 100644 --- a/src/Smithbox.Program/Application/Utils/SteamUtils.cs +++ b/src/Smithbox.Program/Application/Utils/SteamUtils.cs @@ -106,7 +106,7 @@ public static string FindGameExecutable(int appId, string executableRelativePath if (installdir != null) { string gameFolder = Path.Combine(library, "steamapps", "common", installdir); - string exePath = Path.Combine(gameFolder, executableRelativePath); + string exePath = Path.Combine(gameFolder, executableRelativePath.Replace('\\',Path.DirectorySeparatorChar)); if (File.Exists(exePath)) { // Only return the directory From c9c6fbe8adaffc689cb6b661c0878430cf97ba6b Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Tue, 30 Dec 2025 22:42:43 -0500 Subject: [PATCH 09/22] Configuration --- .github/workflows/dotnet-desktop.yml | 2 +- src/Directory.Build.props | 13 +++++++------ src/Platform.Build.props | 5 +++++ src/Smithbox/Linux.Build.props | 8 -------- src/Smithbox/Mac.Build.props | 8 -------- src/Smithbox/Smithbox.Linux.csproj | 16 +++++++++++++--- src/Smithbox/Smithbox.Mac.csproj | 16 +++++++++++++--- src/Smithbox/Smithbox.csproj | 16 +++++++++++++--- src/Smithbox/Windows.Build.props | 8 -------- 9 files changed, 52 insertions(+), 40 deletions(-) create mode 100644 src/Platform.Build.props delete mode 100644 src/Smithbox/Linux.Build.props delete mode 100644 src/Smithbox/Mac.Build.props delete mode 100644 src/Smithbox/Windows.Build.props diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index c09261e1d..a947610cf 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -40,7 +40,7 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish - run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy /p:SolutionDir='${{ runner.workspace }}/Smithbox' + run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy - name: Upload artifacts uses: actions/upload-artifact@v6 diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 349850693..ce7af885c 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,8 +1,9 @@ - - - $(DefineConstants);WINDOWS - - - + + + + + + + \ No newline at end of file diff --git a/src/Platform.Build.props b/src/Platform.Build.props new file mode 100644 index 000000000..97052e0c5 --- /dev/null +++ b/src/Platform.Build.props @@ -0,0 +1,5 @@ + + +$(DefineConstants);WINDOWS + + diff --git a/src/Smithbox/Linux.Build.props b/src/Smithbox/Linux.Build.props deleted file mode 100644 index 50f9b7014..000000000 --- a/src/Smithbox/Linux.Build.props +++ /dev/null @@ -1,8 +0,0 @@ - - - $(DefineConstants);LINUX - - - - - \ No newline at end of file diff --git a/src/Smithbox/Mac.Build.props b/src/Smithbox/Mac.Build.props deleted file mode 100644 index 40f6912a0..000000000 --- a/src/Smithbox/Mac.Build.props +++ /dev/null @@ -1,8 +0,0 @@ - - - $(DefineConstants);MACOS - - - - - \ No newline at end of file diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index ca4a12c17..e53eb544e 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -42,10 +42,20 @@ + + + + + + + + - - + diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 632ccd93b..65e099da0 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -60,9 +60,19 @@ + + + + + + + + - - + diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index 1dfdf8c39..a792a9422 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -38,10 +38,20 @@ + + + + + + + + - - + diff --git a/src/Smithbox/Windows.Build.props b/src/Smithbox/Windows.Build.props deleted file mode 100644 index 349850693..000000000 --- a/src/Smithbox/Windows.Build.props +++ /dev/null @@ -1,8 +0,0 @@ - - - $(DefineConstants);WINDOWS - - - - - \ No newline at end of file From 00c759e4285249a50b41bd653dbdddcb124d435e Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Wed, 4 Feb 2026 23:51:11 -0500 Subject: [PATCH 10/22] bhd5 link fixes --- src/Andre/Andre.Formats/Andre.Formats.csproj | 18 ++++++++++++++---- src/Andre/Andre.Formats/BinderArchive.cs | 11 ++++++----- src/Andre/Andre.Formats/Util/NativeRsa.cs | 2 +- src/Smithbox/Smithbox.Mac.csproj | 7 ++++++- 4 files changed, 27 insertions(+), 11 deletions(-) diff --git a/src/Andre/Andre.Formats/Andre.Formats.csproj b/src/Andre/Andre.Formats/Andre.Formats.csproj index c65f9fb34..255eba1b8 100644 --- a/src/Andre/Andre.Formats/Andre.Formats.csproj +++ b/src/Andre/Andre.Formats/Andre.Formats.csproj @@ -8,24 +8,34 @@ true + + bhd5_decrypt_rust.dll + libbhd5_decrypt_rust.dylib + bhd5_decrypt_rust.so + + embedded + + true + + - - + + PreserveNewest - + native\bhd5-decrypt-rust\target\release\ - $(RustTargetDir)bhd5_decrypt_rust.dll + $(RustTargetDir)$(RustDllName) diff --git a/src/Andre/Andre.Formats/BinderArchive.cs b/src/Andre/Andre.Formats/BinderArchive.cs index adf8094e5..5380f6daa 100644 --- a/src/Andre/Andre.Formats/BinderArchive.cs +++ b/src/Andre/Andre.Formats/BinderArchive.cs @@ -205,11 +205,12 @@ public BinderArchive(string bhdPath, string bdtPath, Game game) Console.WriteLine($"Decrypting {Path.GetFileName(bhdPath)}"); #endif byte[] decrypted; -#if WINDOWS - decrypted = DecryptNative(accessor.Memory, bhdPath, game); -#else - decrypted = DecryptSlow(bhdPath, game); -#endif + try { + decrypted = DecryptNative(accessor.Memory, bhdPath, game); + } + catch { + decrypted = DecryptSlow(bhdPath, game); + } bhd = BHD5.Read(decrypted, bhdGame); BhdWasEncrypted = true; } diff --git a/src/Andre/Andre.Formats/Util/NativeRsa.cs b/src/Andre/Andre.Formats/Util/NativeRsa.cs index 8aca41489..fd156f66a 100644 --- a/src/Andre/Andre.Formats/Util/NativeRsa.cs +++ b/src/Andre/Andre.Formats/Util/NativeRsa.cs @@ -14,7 +14,7 @@ namespace Andre.Formats.Util /// internal partial class NativeRsa { - private const string Dll = "bhd5_decrypt_rust.dll"; + private const string Dll = "bhd5_decrypt_rust"; private enum Bhderr : int { diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index ee33818bb..9abf10c80 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -14,7 +14,6 @@ true osx-arm64;osx-x64 $(DefineConstants);MACOS - path/to/oodle.dylib StudioCore @@ -39,10 +38,16 @@ <_UseClassicLinker>true + + path/to/oodle.dylib + ../Andre/Andre.Formats/libbhd5_decrypt_rust.dylib + + + From 3d55a19791d4eda4a6f22c3beff66698d88bb51a Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Thu, 5 Feb 2026 09:43:51 -0500 Subject: [PATCH 11/22] Scale patch for high-dpi screens --- src/Smithbox.Program/Application/CFG.cs | 4 ++++ .../Preferences/Definitions/InterfacePrefs.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Smithbox.Program/Application/CFG.cs b/src/Smithbox.Program/Application/CFG.cs index 42afae90d..877721d0e 100644 --- a/src/Smithbox.Program/Application/CFG.cs +++ b/src/Smithbox.Program/Application/CFG.cs @@ -90,7 +90,11 @@ public class CFG ///------------------------------------------------------------ /// Interface ///------------------------------------------------------------ +#if MACOS + public float Interface_UI_Scale = 0.5f; +#else public float Interface_UI_Scale = 1.0f; +#endif public bool Interface_Scale_by_DPI = true; public float Interface_Font_Size = 14.0f; public bool Interface_Allow_Window_Movement = true; diff --git a/src/Smithbox.Program/Preferences/Definitions/InterfacePrefs.cs b/src/Smithbox.Program/Preferences/Definitions/InterfacePrefs.cs index 1d15dfa7e..3ce140997 100644 --- a/src/Smithbox.Program/Preferences/Definitions/InterfacePrefs.cs +++ b/src/Smithbox.Program/Preferences/Definitions/InterfacePrefs.cs @@ -33,7 +33,7 @@ public static PreferenceItem Interface_UI_Scale() Draw = () => { DPI.ApplyInputWidth(); - ImGui.SliderFloat("##inputValue", ref PreferencesUtil.TempScale, 0.5f, 4.0f); + ImGui.SliderFloat("##inputValue", ref PreferencesUtil.TempScale, 0.3f, 4.0f); if (ImGui.IsItemDeactivatedAfterEdit()) { From f084eba37432d92adb7cf0cb9f6145553fdc635f Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Thu, 5 Feb 2026 11:25:35 -0500 Subject: [PATCH 12/22] Limit font texture extent --- .../Renderer/Context/VulkanImGuiRenderer.cs | 40 ++++++++++++++++--- src/Veldrid/Veldrid/GraphicsDevice.cs | 23 +++++++++++ 2 files changed, 58 insertions(+), 5 deletions(-) diff --git a/src/Smithbox.Program/Renderer/Context/VulkanImGuiRenderer.cs b/src/Smithbox.Program/Renderer/Context/VulkanImGuiRenderer.cs index a3a61b611..1d6a977d0 100644 --- a/src/Smithbox.Program/Renderer/Context/VulkanImGuiRenderer.cs +++ b/src/Smithbox.Program/Renderer/Context/VulkanImGuiRenderer.cs @@ -211,7 +211,17 @@ public void Update(float deltaSeconds, InputSnapshot snapshot, Action updateFont BeginUpdate(deltaSeconds); if (updateFontAction != null) { - updateFontAction.Invoke(); + try + { + updateFontAction.Invoke(); + } + catch (ArgumentOutOfRangeException ex) + { + //TODO precompute and check for excessive width, height from DPI.UIScale instead of using io.Fonts + TaskLogs.AddError($"[Smithbox] {ex.Message}"); + StudioCore.Application.CFG.Current.Interface_UI_Scale = StudioCore.Application.CFG.Default.Interface_UI_Scale; + updateFontAction.Invoke(); + } } UpdateImGuiInput(snapshot); @@ -431,22 +441,42 @@ public unsafe void RecreateFontDeviceTexture(GraphicsDevice gd) int height; int bytesPerPixel; + //FIXME can crash with large enough uiscale // Build io.Fonts.GetTexDataAsRGBA32(&pixels, &width, &height, &bytesPerPixel); // Store our identifier io.Fonts.SetTexID(_fontTexture.TexHandle); + var format = VkFormat.R8G8B8A8Unorm; + var usageFlags = VkImageUsageFlags.Sampled; + var createFlags = VkImageCreateFlags.None; + var tiling = VkImageTiling.Optimal; + //_fontTexture?.Dispose(); + var maxExtent = gd.GetImageFormatMaxExtent( + VkImageType.Image2D, + format, + usageFlags, + createFlags, + tiling); + if (width > maxExtent.width || height > maxExtent.height) + { + io.Fonts.ClearTexData(); + throw new ArgumentOutOfRangeException( + width > maxExtent.width ? nameof(width) : nameof(height), + $"Image dimensions {width},{height} for {format} exceed device limits ({maxExtent.width},{maxExtent.height})" + ); + } Texture tex = gd.ResourceFactory.CreateTexture(TextureDescription.Texture2D( (uint)width, (uint)height, 1, 1, - VkFormat.R8G8B8A8Unorm, - VkImageUsageFlags.Sampled, - VkImageCreateFlags.None, - VkImageTiling.Optimal)); + format, + usageFlags, + createFlags, + tiling)); tex.Name = "ImGui.NET Font Texture"; gd.UpdateTexture( tex, diff --git a/src/Veldrid/Veldrid/GraphicsDevice.cs b/src/Veldrid/Veldrid/GraphicsDevice.cs index dfdbe5781..bc0cc8465 100644 --- a/src/Veldrid/Veldrid/GraphicsDevice.cs +++ b/src/Veldrid/Veldrid/GraphicsDevice.cs @@ -679,6 +679,29 @@ public VkSampleCountFlags GetSampleCountLimit(VkFormat format, bool depthFormat) return VkSampleCountFlags.Count1; } + /// + /// Gets the maximum image extent for the given . + /// + /// The image type. + /// The format to query. + /// The usage flags. + /// The creation flags. + /// The tiling options. + /// A struct representing the maximum width, height, and depth that a of that + /// format can be created with. + public VkExtent3D GetImageFormatMaxExtent(VkImageType type, VkFormat format, VkImageUsageFlags usageFlags, VkImageCreateFlags createFlags, VkImageTiling tiling) + { + vkGetPhysicalDeviceImageFormatProperties( + _physicalDevice, + format, + type, + tiling, + usageFlags, + createFlags, + out VkImageFormatProperties formatProperties); + return formatProperties.maxExtent; + } + /// /// Maps a or into a CPU-accessible data region. For Texture resources, this /// overload maps the first subresource. From baf08e2e05857de291fe861798f7ba9ef6f13d09 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Thu, 5 Feb 2026 20:34:27 -0500 Subject: [PATCH 13/22] Hack for screen resize validation error --- src/Veldrid/Veldrid/Swapchain.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Veldrid/Veldrid/Swapchain.cs b/src/Veldrid/Veldrid/Swapchain.cs index 4e544b0fe..699c7762f 100644 --- a/src/Veldrid/Veldrid/Swapchain.cs +++ b/src/Veldrid/Veldrid/Swapchain.cs @@ -115,6 +115,14 @@ public bool AcquireNextImage(VkDevice device, VkSemaphore semaphore, VkFence fen return false; } + //HACK to obey VUID-vkAcquireNextImageKHR-fence-01287 and VUID-vkAcquireNextImageKHR-fence-10066 + if (vkGetFenceStatus(device, fence) == VkResult.Success) + { + _gd.WaitForIdle(); + vkWaitForFences(device, 1, &fence, true, ulong.MaxValue); + vkResetFences(device, 1, &fence); + } + VkResult result = vkAcquireNextImageKHR( device, _deviceSwapchain, From b3eb2a7c06d8724911635a774009585a0db6fb80 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Fri, 6 Feb 2026 11:58:24 -0500 Subject: [PATCH 14/22] csproj --- src/Smithbox/Smithbox.Linux.csproj | 1 + src/Smithbox/Smithbox.Mac.csproj | 3 ++- src/Smithbox/Smithbox.csproj | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index 62bd3a7f1..3729961e7 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -2,6 +2,7 @@ Exe + Smithbox net9.0 Katalash, Vawser 2.1.1 diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 9abf10c80..908e776e2 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -2,6 +2,7 @@ Exe + Smithbox net9.0-macos Katalash, Vawser 2.1.1 @@ -46,8 +47,8 @@ + - diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index f8bc575d5..ab000f601 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -2,6 +2,7 @@ WinExe + Smithbox net9.0-windows7.0 Katalash, Vawser 2.1.1 From 82091ee85a3cb6c4af65926b3d3cf43aac67144c Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Tue, 10 Feb 2026 20:54:47 -0500 Subject: [PATCH 15/22] csproj fix --- src/Smithbox/Smithbox.Mac.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 123a2fa8f..52e3a8534 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -48,7 +48,6 @@ - From cda5ab5f9712fb7051bcfae2a3b2d505b2b98150 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Wed, 18 Feb 2026 00:57:50 -0500 Subject: [PATCH 16/22] Add cross-platform Tracy --- Smithbox.sln | 8 ++-- src/Andre/Andre.Formats/Andre.Formats.csproj | 5 +- src/Directory.Build.props | 4 +- src/Platform.Build.props | 5 -- src/Smithbox/Smithbox.Linux.csproj | 26 +++++----- src/Smithbox/Smithbox.Mac.csproj | 48 +++++++++---------- src/Smithbox/Smithbox.csproj | 26 +++++----- src/Tracy/Tracy.cs | 36 +++++++------- src/Tracy/Tracy.csproj | 17 ++++--- src/Tracy/libTracyClient.dylib | Bin 0 -> 1381704 bytes src/Tracy/libTracyClient.so | Bin 0 -> 1016664 bytes 11 files changed, 81 insertions(+), 94 deletions(-) delete mode 100644 src/Platform.Build.props create mode 100755 src/Tracy/libTracyClient.dylib create mode 100644 src/Tracy/libTracyClient.so diff --git a/Smithbox.sln b/Smithbox.sln index 2045c59a5..3912994c4 100644 --- a/Smithbox.sln +++ b/Smithbox.sln @@ -256,12 +256,12 @@ Global {2112107B-0BA9-4367-BA40-3DC687C5F456}.Release|x64.Build.0 = Release|Any CPU {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.ActiveCfg = Debug|Any CPU - {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.Build.0 = Debug|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.ActiveCfg = Debug|x64 + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Debug|x64.Build.0 = Debug|x64 {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|Any CPU.ActiveCfg = Release|Any CPU {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|Any CPU.Build.0 = Release|Any CPU - {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.ActiveCfg = Release|Any CPU - {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.Build.0 = Release|Any CPU + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.ActiveCfg = Release|x64 + {48004B40-5161-4DA3-81E7-0C1755A5558F}.Release|x64.Build.0 = Release|x64 {C1B942D4-F5B9-4A2E-9C8A-D5B582065899}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C1B942D4-F5B9-4A2E-9C8A-D5B582065899}.Debug|Any CPU.Build.0 = Debug|Any CPU {C1B942D4-F5B9-4A2E-9C8A-D5B582065899}.Debug|x64.ActiveCfg = Debug|x64 diff --git a/src/Andre/Andre.Formats/Andre.Formats.csproj b/src/Andre/Andre.Formats/Andre.Formats.csproj index 255eba1b8..a4d23efe5 100644 --- a/src/Andre/Andre.Formats/Andre.Formats.csproj +++ b/src/Andre/Andre.Formats/Andre.Formats.csproj @@ -26,8 +26,9 @@ - - PreserveNewest + + PreserveNewest + Never diff --git a/src/Directory.Build.props b/src/Directory.Build.props index e4f0f75dc..378e87a56 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,5 +1,5 @@ - - + + diff --git a/src/Platform.Build.props b/src/Platform.Build.props deleted file mode 100644 index 97052e0c5..000000000 --- a/src/Platform.Build.props +++ /dev/null @@ -1,5 +0,0 @@ - - -$(DefineConstants);WINDOWS - - diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index eac587a60..31e5d2d15 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -1,4 +1,4 @@ - + Exe @@ -36,20 +36,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 52e3a8534..713e4285b 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -1,4 +1,4 @@ - + Exe @@ -13,21 +13,23 @@ 12 false true - osx-arm64;osx-x64 + AnyCPU;x64 + osx-arm64 + osx-x64 $(DefineConstants);MACOS StudioCore - + true - AnyCPU + $(Platform) embedded false - + true - AnyCPU + $(Platform) @@ -44,14 +46,16 @@ $(VULKAN_SDK)/macOS/lib/libMoltenVK.dylib /path/to/oodle.dylib ../Andre/Andre.Formats/libbhd5_decrypt_rust.dylib + ../Tracy/libTracyClient.dylib /path/to/libzstd.dylib - - - - + + + + + @@ -60,19 +64,15 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/src/Smithbox/Smithbox.csproj b/src/Smithbox/Smithbox.csproj index 0d9751e95..d82b230dc 100644 --- a/src/Smithbox/Smithbox.csproj +++ b/src/Smithbox/Smithbox.csproj @@ -1,4 +1,4 @@ - + WinExe @@ -36,20 +36,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/src/Tracy/Tracy.cs b/src/Tracy/Tracy.cs index 902accddf..ef26c75be 100644 --- a/src/Tracy/Tracy.cs +++ b/src/Tracy/Tracy.cs @@ -23,10 +23,10 @@ public unsafe class Profiler Environment.GetEnvironmentVariable("SMITHBOX_PROFILER") != "0"; #endif - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_startup_profiler(); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_shutdown_profiler(); public static void Startup() @@ -43,41 +43,41 @@ public static void Shutdown() ___tracy_shutdown_profiler(); } - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern ___tracy_c_zone_context ___tracy_emit_zone_begin(___tracy_source_location_data* srcloc, int active); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern ___tracy_c_zone_context ___tracy_emit_zone_begin_callstack( ___tracy_source_location_data* srcloc, int depth, int active); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern ___tracy_c_zone_context ___tracy_emit_zone_begin_alloc(ulong srcloc, int active); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern ___tracy_c_zone_context ___tracy_emit_zone_begin_alloc_callstack(ulong srcloc, int depth, int active); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_zone_end(___tracy_c_zone_context ctx); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_zone_text(___tracy_c_zone_context ctx, string txt, ulong size); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_zone_name(___tracy_c_zone_context ctx, string txt, ulong size); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_zone_color(___tracy_c_zone_context ctx, uint color); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_zone_value(___tracy_c_zone_context ctx, ulong value); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern ulong ___tracy_alloc_srcloc(uint line, string source, ulong sourceSz, string function, ulong functionSz); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern ulong ___tracy_alloc_srcloc_name(uint line, string source, ulong sourceSz, string function, ulong functionSz, string name, ulong nameSz); @@ -201,10 +201,10 @@ public static void TracyCZoneEnd(___tracy_c_zone_context ctx) ___tracy_emit_zone_end(ctx); } - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_fiber_enter(IntPtr namePtr); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_fiber_leave(); private static readonly ConcurrentDictionary s_fiberNamePtrs = new(); @@ -236,13 +236,13 @@ public static void TracyFiberLeave() try { ___tracy_fiber_leave(); } catch { } } - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_frame_mark(string? name); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_frame_mark_start(string name); - [DllImport("TracyClient.dll", CallingConvention = CallingConvention.Cdecl)] + [DllImport("TracyClient", CallingConvention = CallingConvention.Cdecl)] private static extern void ___tracy_emit_frame_mark_end(string name); public static void TracyCFrameMark() diff --git a/src/Tracy/Tracy.csproj b/src/Tracy/Tracy.csproj index 995b166b0..46d5fc67c 100644 --- a/src/Tracy/Tracy.csproj +++ b/src/Tracy/Tracy.csproj @@ -9,17 +9,16 @@ - + + + PreserveNewest + + + Never + + PreserveNewest - - DEBUG - - - - RELEASE - - diff --git a/src/Tracy/libTracyClient.dylib b/src/Tracy/libTracyClient.dylib new file mode 100755 index 0000000000000000000000000000000000000000..d5723fadb05c5ef8882e3a7ed5e8552951515db3 GIT binary patch literal 1381704 zcmeFaf4p8-Rp>cr;kQWov58LIvvSqFI*%K-a;T3?aW-5ig`(ZsAc9{Q)hxkxk})E-=ELg z=g0Gl`trZ;>y_kn*WP>Wwb$Nj@3r>XXYakv^M_yh{SUNStt(cvTF)e0*=nt8wVwUX z6U46scO@a|IsRTbN$fdFUjBEv2QK%(zPsP>rq?I@Ait9{!SB8eK~SbkHiK>5wQK*I z-ui|&-MQ-xZ+hLEAsXa&(FPzg@d-e%Wm=+x2}v{6nt@Z7KCb zilu)8X$_D5#9Ji0cD?@1b+3)*w^Vi({L&CpI`r*`V*!T8VW54V4LOgLia@$#-C$Ei zCFdCwDdeost=5I$(^^;`$TFSeF6ER>=-;kgcfNYxt0Nw1wX05-{0^2V_cY~R7uo&$-W(#?KL=2zB6`NZ!v_t?k=`7I@Wo2wErj%D(z%18=# z?MjTQbicftKNtNs|Nhi}&^6_4+OAk=T;KS{H@_*d8f|o7A$jwU(4S%{v?I-gy7${yZ63&-=1%| z>kY5D?e16K@wV@~>kY4c)4rE%e#s3leaQ_kx$|w{gYL#w>tLwNvsxQAv|2As=?xp6 z)jC3F%TC05_bZ>(nn0k=rR&VIqy|-)rCalJ9Ny z+lwfpdS`b$t96`yxh|#EPnZ8)?t#laaJdIA_rT>IxZDGmd*E^pT<(F(J#e`PM)kle zC)=N$oO)_qG4tS>)@1wiWWIl?c(>x6?MstWr`EmdL$BlCOD3*)z{N}Y$@YCqlb!pP zZuq-GFC0NRaZM}bZ&rSL|3#4$zhlmIl`#BK&?T67Ti(=_NxKa?e z79Ux)ru7GU9V?Co>6zjc%gf8{$7t1=_L|PEFeWm&3StUuKQq~$TvHr2?P;3ypB*zb zIqQnIL=JVGnVkB_I_f*~KE1(hzhSQUZNeLukFVH&#rZ4F|1pAWM&yz57C*J(87)in z?cedtB=TT?6wj}+Ca$@;<^Cu>|Hjp=$<>p*rbTa#>Ce<(o&6V!KYkgVQT6^X{Ra1c zd;f*W_A86_txw(@y-81kqBlFBI@`|`e+8dwSHNk*t3Fh94mq z#t2Q_SG4whBRyJlT3feY-2ZGv8LFl8&vUG^Z5^rN{3j+)Z(pM0=nkt1>|Zy;zg6*n zULXH&s`)=Bab4p&Zs@Dy1pucu3z%{Vg_qkxp<=SM8rY!drc_zw*@&P`fbZ-@fnC{r6p>vUj}Y znK#U-bH1Uo{Zf1TMd16E!T-|d|GxcLXZyt!^HX!{$fu8*{WH5^TOa?I{pc%Z_r4Hi z|K!io*6U79wtKUm*3itHaL_$Y(9RzQ-rUZPImnMHt7F0sh+pyReA$x>O1Er4sH2K6;{?)PBUJ z_f*YfCmPss13PYD$2B6sna@~)1qa=Ef_8pNiPPCE0ZnS1&K|8|C#u*Z#AKVNv*Q)+ z;S@u9V)ysN2$FZaW#V-9WXfB7lD(v<$lAYSs%MV-)=%|Z$xk&Ye;>-pPNqhEL}f&J z#s0OR)U?xT8`X=kwtW^mkl)gou|%DRB+)IMhgA6HPFF3trIV}N%^l0rF}u!;F^UxN8TiOq8Cb+rXz22#OgHzen1nu5>!I`TByXyq=D+RMPK-ww> z4EWMHr^K~$aNV|6tDRj8ln6Sx674^{;iHq+eQa{YJOzrnz+~s(8cKjX19GaTT2}7= z8kj3hZYy#RFxuz88noNqhX$!!SS&PHh*m5*2iLnr`^4b6i9r+D$&}U39&Z$WekVzg zi^Zn8*v{smIk6(ze#Lb5W{~^VB~d0GoD0mmjK6lp#Cs@zN)2-r zn_O=@n*%dB)sqCReP2s673<_`RP@fcn3&*q^9cHC2)wtK2M);m;?`Lx_-FR;bGDQoW)`>{Wfthf*Rn2z(nC3&IlZO_cAaJzegpq)SBM0U&!b7gh1z~u)QWdrvDr+R`b zCmuM15X{iZDL(bxEL1d|D{r!$ulc;lR{=X+!CCD;zfXJiQ~$7X;^xQNSqp6O5sFPM zwf24Q*!#9Yv?*8d_D3iGSJBR{B6@z? z6xukES@WuB-I>nswcQ| z|5v{u6H?VaRy>zUg2egfHj!5alBWP!!M@{4+SyU}bI<)e6A2GQCkBFv+~d)k{wqq( zJOE^*4k(fDb0XVAz|0njEvVq+RIzg6omy&2k%h?D{u13fdB>{zF`wmgi~m0I#D%d z^Ehy-CurppvQoY$NJ#l=B+4gb$1vD4q+*vH@a&`xUNMnnEQHEoU{)sUbaoq1%aV@Q z0gs(~MmyW#K~c$eb_nS#@D_h7yUhx>KD=MCJ+VT`T}aOh;> z!|DuitSgr5ab5>CQAw?Q8>ZswZe&5wg;ijU=QiH4J)36p)E(R*C#kC$i%NEL$V7d2pgKB46A3qY)F8*f7+`6m+_(fgV?? zlSf5qqDpi}f*|N}Ra;I}%84@NM3ssh9#teJDrH5Pn5c4V-2IPfeQ{#NvXJ}bUO7zRf;-gUYx7FFb3hR3nL-^554-^zh3vZ?YuV5pDs65d+)VjX;Ws7CZ1GooPASERt?y=6>pXCT(}uToCWPMbOSJ{Xg3X@QVE} zf{UH6*7r1izvpd z+-Pw*ZAi#cigMbJNIb!SY1&ZK(?*keaN4+@x7%__o_z%!*Kvhgy$GL}`nVdBr%pQ~ z-uYoQpT#D@>FfcZ4%4T4j=5Kq1Hl0WbUQ)Eh1@F-l2osVJbERO?+tPVK_0zgdU{1+ z^on9tuN;=pxx2`3P*Nur4#1U`qas`YMWeLBJpV$PrI8;j2s*7~P4D``KZU;{F1nX&9IYs``G)*fHjosyYvR8P>;w2;*_eU5~t=^Dv2Eo8?q*mqn>JkmQeo23gQjDO~q&rw@<5=e(` zQzE+w$lAm4YnhRziYxB^hVxiWO6+@Xomjc=`tvRR{}5fN(&*o274M2KI45$k*ZjJ% zrrIc~OjI$cI&DHts#CoywFcS0u2jo8+JDa#=U<;*-1dESWUQ9OZ1vPe?#s)`_KD4! zY&SF}+YbuEWGmcv&hP(vwrb$m+V@p7k;tZGNqT`i|IG8P#S{PF<}Z;(q}>YAB)l~{ zL5f9*-sk7R?p5Yin_a@rz2LDM=BEC>HJx2Ub^BhBicY*|8(jRfn0U|2HRo%CKqT)n z^eX4NvYx3q)$9hOIs&8W7T>&FH>i`VL3*HN8x`rqOETNltgIN+X(7=Gf_N`pvHxEs zqE7A-Oe<4!Y=UO%XbTS{D7}+-!^c1WIoNcJ#}1&|njIv!T#_|kng8Sknj+UTY**~x zTQwqEQ?Xoqfyu3(uQJWI*^n!|H!(GLCE=xk3N@8jp6Clj7jL~r6|2z`cmLaH{Zuj0 z&aMRm`5uCgv@YD=Q(E)uy_-rVeO>gC7NU#hn?)4G&wn&f)9M7*%bUv72kF(WQqybB zUlkQTc5anvRN3?zy*m+MtUWSOv@^3&xD{-gch~&2h9qw}$dM7_0HjH$U%L-H1Fs7YS* zMr4a0{(6l=m=#*w6Ovbd;KX|`6hHFK%-s!!QRw`)CPK18)nhSr-Mq?t{m3%uk+pAa z^-TYMF1f+roEo#$PpFBEDYaTRu|uk?PS>Vd?nJIPE_1Ne`(AI+9@`P2+kx(Mmz0|N zAV)pXu&Kw0MrOOa=b}jS-43#y3h0tZ?P#QU8BuELvA>_h=zm_XGpiThkCq|43Kx%F z?>Cng<^W0@ieEEIdS~nn+B=;zm!5)_mm#hzhS*VF)=gq#R`mQ%7`PZ4XKTgX!Wou^jTISX4Snx<7A7 z_lZrGZs}9CbRRNG(iv;%wz=s&1+D#>2A@{C#ka*Y=#sn*NWeCnO96$b1$?9wQ0P7Z zmBaRm&{1n?4yjXyD1v+jg{#zL}eWHrEFWPtDCSs255>x=amy4a9=t1vuVc|%kF0NO*`M{AlsmTCwQdRH&UJ4c_U3ug^QP6XQeEn)5M{8 ziBVEYW380y#FL4JAWY76g~>U}{BIJQoT4^47i(uHP^sec8*7aeqSnZhq-=6R_i3bZ zI+-BLF__jS7nP2ZE}5LAyMsCzm~##3b{Hk;jJ0%Y-1MG;FuA9dt~5E9WY?1x7SC%4 zC`2vbL6O#G$cR^)-7W~J)QRa85A@|FL!Tf|v=9i?D`K9VqHkqHJNvA3; zs?5)o{BKzLi8t4%=VKskenQsfm+F$S_17g#v#zbyW}BbTVSXx7n_uE3^Gm!U$osm9 z!!b&I`6pg1v0D=lY>6%Qw9I}6oM&l%JSa!JFDWxds`(zadhv5C$kMWXBKueLMIn~idIa!h zkLB93Aq+xdwe$5~6vb6Qb~b?C>=Cls?75nRHhXF$n>|8y41+zdBx0AXQU`Yh8T#fP z@1DPPC+;R_XSV}8hA7;LPm#j`;al}e;6%Rm4T^J3m2|ibB3a0Y^7tk(=x3 zRr4rS>-_ebXflWt1kveL)24YrO|va%6a>xdPOriz3<7ITock%d_-^$;>wI&w;U~UQ z3NP)QnE2^GfHlSTDD|E-Q;$tduL%qCHh_p&D^C-AfY*iP;+w8{CU=U2zJ&GN{p}Q0 zW}1H-ZIUm2!!z0X68SfaKJ4K92LjcdV;k*DyLXSKiD3XhdmzjM&`Z1PFHZ)9uI&m{{HJn+2dZa5Jx=5+M|jm zdptyRz#jKBIgGK#0S=t7i)FSG0c?+!>-g1Sj}oh$7wn?8vnPR5Jwe-}kd-|?MMCyi zBe6#zJBGoYePyxB_PL*X?&q0Ecpy0Ec1{dLyEn<%cYEe$9gerVTa?IebRyeG(8*Hb zc(T>%FyDxL?Nje=*lT&1FE$wL1_hn2YM{rJ;$Dig(ivHzTOR~Lm#f02G3EKJXPGmb2Fwqn6 z=rJzeU>ms_$UQA!J%-9Deid0g<0y|YT(b3E1a`WD!((^>Z1GNt4Ub_#mL^aI zcpAf1!z+MuO%7wmaDYQ66Cd955Wr(-xxSr#)WSw$ajTN28;d63R8P=jC}cH;>quw} zYb0YRBr7vuuxB4a?6O=WIcb{*<0c@}6R=ioCbDW~n zw`Y8q{seHUCm8n{gk?PE74S|@(8*Q6C-_ei(FwlD;{-pE&w+qkL6FA@zUeu^SEzMv z$1xpw>kQJh^I28EqMYD#_6U#{Csw+SdCOlp5FAs$Ycc_+8-lB* z+u2DXYPZOv-HH4N2*?!#d9>T~v|C}cTd`<2_L|Xd8M;>dDgbr!B4rghWr;szmW4 zKZcJM+cZL@o@d%ML9kqzOwU2tvsY6jJvBWAv!knl*uZ??y8}^CzF8|n?e?xBf`%yD zZWBC!9eh7VtcCCoy1hh>1=m}yFJBt=O%W4PmCb3W7g4>mmIU4CC4mtlw+1Fkz-ax znH;m!D9=wK4aY1s?X=oP^&;0aTRLW0qRvB-2*)fH#xYCP;h3dzIA*CTj`am+BuA$! z8Ca1Ey6re-t!K`|F>4(Gj#+C6aLiieRKE1*N@W)b+Pw>cGfxS23&H$J!R#E6Q56Gp zaUoLTS~_MuUK4QirZP=uow>R|?U;1}YR9YteONhW?G+|9rgY3w^*Ck~WUbsU$E^MaGJ%uR z8R3|vg1Y3{M?XR-c7#9*bb`ryF04Vd}J%E@UvqWOY ztPL99le8^*!j4%QBX00Z&T!09OjD=m*q8zi zIA+aKqU=g_jdi-|nB^f0eC?RkK=wOk^<^|2v()y)zI4nIZNo9kD$?oNCh|l+r&8^i z!|v?vGy!|LPGkoZu$N1~UaoQZ1zq^ho&rww1nc#Ya*CVRr1g>VSRd{6F2!BIPFHYv zeY6K`@y!$)ULWly3xULA?D|N>)B5OMq66!rolOp7)<**zIGq*CYzYCpKC)bApAqXL ziG|0{7e#SBkVPWU>mwnn_0f$av_7hltdE3b#}ydtd3K6jw$J_Cb3e~S!UMrxu5)4_ z+P!HuB5=&oP6duxO62>T$o3F0vqfUdryywVtQe86J@HFCNz1dBaxYhGWMm4sTEFf$E=M+*zW^!n-xeui55LlNjw7@xYENy z1Z*V&lZS<(_ONJDZ_V_4DsKUoj#*KM7c!l$n#!!Cd8_#F6&mquGEh;4^O<=p-CaOd zWWZWilvDi5%A_mGLsw4xy@YuL*y#!m>&kJk#RC)@)|F#q(Ffu&R##L!>B>o>1G;jg z$zhDH3~=BUmsn;85Wu=(xn4?-=#^Pw;cnvLJ_MZV30hZ#taRl;64I3#iLMCAOFl5z zv*Z#xk2q^_5AsY5%BY7)Z~i>gGpB$|RI^Itk2;YZCt!mw5}Q8-L35%qB47J8-4PR& z*f7+`6yTWUz$qN2oK-qz1>KP#2)bO=mJ^k7qD(naCDw;W6^V&TSy3h?s@xiP|6^KT z*fC38f|nHn*)dDm#qkzHk!_Ta(Pzak2*cnAS2|`9#W4#w=$Ivz2)v%)baoYRzzElY zDvj_;(XxVYVAJsH)*6v?BQy6?-!m!qi?wUV{bKLQ-44Vn1{fQd!cy@L1yn%5>58B> z0`DTCjX;sdMqnbJ1Od5%Adihe)3Xt%P-`(XlNfJ;jTV>FhJ-AoD5njH#7Y;KrVT|s zZ8WI|r;TvTDj;1sksPyB;a0EnOUJC#X(z-xzwm!8bV0ywD=@Z49rO06a_E&a3it>F z0UHN`>XnN`)GH#7UP6^$WPvN)aTVcl zk#Mz#z&n?k6bB1ZeOk$y496_>iygD-KJoVGsA?(wPpCxOqodm5t+yD`G)*sfVtE{h zn=!DSrj=7%{34$wlF29!jh*x3@g%U*6&#+XXTcVqqS){>eS$1COu@L5Iu%dT^y5Sa zrs?BN4r8Y20S+`>EVDBR;Az@&9lG=k&jb<+ui!6=;%4AfPten}kkvGO3kglrHIivs zNKROR!5*~~J5SS{nKjad5yn4rNuH72B_JJo!ETaI0a;}^e(k4dM&+0liR75&L~|Qj zrP050D&7@ey4Q(Z?8|NFM0G|~nW$n?b=rin4gDkywqsVPP1V+V6$E?WB z)gVvtEk)QEP*81)M=IL}GTw{BF-z!9-V$l;m_;k_1OeB7<7gdt?7+LJJIO7VWNd3y zugu|?b%ES)%o2aPZcW8<#6?48ns2iqgI++*3N@9OarA|v$uUcfwquqezL9n5&)gZ? zNZT<>Y0a;8%u>nzF0x~mXp&==qH@eq=uOrrQf{9r6^>agV&xX=He*?mn3!vkswSG; znGs<)W}W$*YR?xOWb+Cz*GSDpD&@^a$|RiEMJh=0$V-k{#>I{0#KGBtNnD(PV}Qd!^hwkz6{o#Zq3&aqQtH#nXD_O{4WpO)6LFt%vfq|t( z4z_yV%Z^!lMZ-3~bGt4dj#(}oj#XZ`{%~`BKI+K=_!b7>aHsdy7Kt8mq~n0T~S|CcQGXT5^O*AckwKg zAqi36;=V-6x44DwyTz>>>;T9otYBJSQ+NF%rTcRX4N)xJcT*?QEuF2Ud$CcH&R9!# z#7*xhh->OkD_wa_-6iQh?7O(|x3z#m)B;{f$^r`AC!lgVxgZTvt))4Hd@-b*+(W8^ z3wJ`grrzHL)ires{^&(LhAuYb{&it^3<;O6sV6CQO+8hovgw+rqe-W#ey*;myOQrg z;Bd@p)bnDH;g|)ozNVh)(xvqNx`b)g#Uw!^d`(^GxTdZm^)>axODAWER|Ngt#Da%X z3_j+>V9TiFa<(#_rPcX?&1|cUu5!!@3(UP-W#7+c*`02!oTdB2zqWMe8q&SjC`o6mrQ7YM z_Y{Q5J*{-5$+;v;ELvFH2j@~iA!-4yCuISJ?h{ZsYz+w=<5!wo>eM8rhg2r#PDm!# z-vyP)S@4&AP9}G@A@{ckgUJb(OfE?&lS|d9Y%)1VlTKAyRGFMBc^sBDxigJ=-U~7u zvq07+m+F#%_17g#vo79RX@pHq=rB1IsZB2NlF21r5#)W{#9j@h*p|1+3371;n2azN zhEA8sm7T75>6m3x9D3p<^IL+m-V+>Tg#xTPQs){e?oBB*()?7oxbA`#bRjxW9E#@| zB?UFs3VOy|dJ4k)TvwQ%qddh-V)Ikf=I3HeEk_6}*H&w@%}?ks zKNYFXFY%K3C0-Haeci;1sU5Sv+!HUB*tKI;T4viZi{{6Ja>V=6ESWJ zW?cYtMdg^Ke0IjodW2(Eq1ho=%W{+};XFeqxLUWYIoHOnH?FWFJuHf)y&q1)oh4Wzz z{f=1&$fE7yF?O>@#pzr*W<5xBV6$g$lf#(Jo&gR_#A2CEBY-!1EZ2Yh%Po?3iW#?SWkc9J9nN9J98C9LX^&8Pzn% z+V~ETsvWaT5{_A;4)gc;tiHRO05=IIvK>B3&Xt9mgmL+tHRvR8swY_6qjHM37Rer! zhbk4`$b1sm=?V_p<2kU!Zi)?WzMdfqal~V+J*s%J$BRS<>~W#VVT?TvaNxB|EVFq8 zusvF?iT@M!D6!i4Z8oVLz^R^~?NP|e9(R(EJ=RF0fRkHd9llGaXi`FwM8q;%CvI}gvRtozGPG4rUhvf#S7);Z?2o z!8$WvW(>D^Lg{WHK#!fsHd^0vWueZ-<%ew}hkzVN1M4wVPO%zUy#i1kW4PN-)7yca zuHf((?gU%>Uz#~QhC9e&48>#Y7^-+0!@GzMjNxRH!6{pd zc5e*^ier{6nByN#wDF_SkvI22biAFV#IdvBny2zc9U~9Rc$%rC@0F4GfrZ?Fsew*ILeAL>H3iM)CWW?SEa3X%o4VE{+}@d z*-^=s4&$FC42wkK41c;jquvTs56fdSa ztG4n`?R8d@D}fx+0f$w44cOwj6dP9U7Fo1OJjSZFiYL{+n&^OPFU7+&IE+#40S@d= ziDfp609I|w^})|XH%crF*4lYHkShW}tG1ApYTrphs$C;dZ6W!BB{0~tt1Wif8J0-M z852)^ui**Moo;0It$DZU5<)xQ;wuI>0;hU{aj!vGbakTw?qCq`B?G}#(;U7M(FwlD z;{-pEZvX+gf*_9*eA9D+uP{#V6=MT}rd6jD;g}^<|ILFW)(O-HM<7+etW3c7Yk_g| zz%k!EP!0qw1)L2Ku+SG&yRRmqc8fgPoyeEs=7EABk9M1$b}Ni_D;DjB`yOd@t`^rf z4?rIWO%rCV@5g}b=0X$28aEGy3XZ#ZQ1?mW=D|?uMz#OgO6r>j{oLf3HBN12p5RQn z-CY2pJo8Fqr+{o>IDUi~qB;>ziR75&oaTwRN~@<-yeq!+o)fv)mnY(h>V&8=QN@Jj zv_=g$8w40ES&%$;(~`bW&2jT3m)yD90A&I=bS$1K}=d|$M0dOhX| z;V2L`zt?XUqZAvSUN@43Na8VedR6f>z1~c8 zV0zuq9pKQ(#0R$q1n~4~x$gMW^ppbI&hPRJxd+Gr1<=#0kk$0MmxQL*8p-r3 zBV2?qIoiB=%j#&p81y?8TgS;|R7Mpk47CUII2+VlLED=># z3FMe{foiVUFUPE%QLi~uZ#ZVTf==#W$T7>uvGNS(c{rkfgyu zONDXJQgt|JsT>Yks;c9fJ2R4lH(^spAUn$ThIRV`tzU)DBuZ`ml1)niM8ArgYF! z^*CtFkrfVF{S9OyCufv{mI}%XsgHhyQtSwU9I)FJDF^rxL=(>`;Hq4t9NdvhQ$xJX z#Bd(~VwpH-%@ebOmPqWNwUqJ}ueS4*6x$A3>Y~y?tD;%jEGD8U9kdGK>K@t_Jz)ne zjS=g4$r%n>irGPn2pd$ufg_K@lqkDWU2{Qvn+{qYvcT64S`B2sgH~Tg(?LsZPwYzv zEz!zB>)G+kS;tM$RRg$g9^^+9v}g8wRzY_+0eiYmWIGga+nRtqUE}iIezM;V!f+I5J)`6u9H+et&^T4ISnd4i7e#RdIMoyMI!VZCopg+Z)=4#zb&`MYOa76B`ayZBf1O7m)?N2@+qfy(Lz!_<)M5nehY!`3^1JB9tI98-xAnj zf?~tUcY!RFPdvsdpNc2tyArwqIZO;@O5kMHS9(=jZ;9T6Y$RGas z1?0E6fWx}74s7uk6dTr+HDn>Lc#PE*6;HZyEztp8X*D^F(Uk!Xtp3C@D-giCV!3|) z@z52C)y^+@xR-!aJwfY=kd>~qz7)DrBheKh87pA0XQ?4}9&wi89^{!Alu-|p-uz!e zJ#z}kL^Z2K{-_h#aRMB)BC&aJqB0_1`=VVVCMvOEsE;Y&-Nk`ZJjt9@I%oymkst`V zT-BBnm2#p?IZ-9nhes8OiAq^fCMK%f8h8I=T6@?*OI?D476REpOWDOU|A?W;HcH6o zv*K_6Fa}4s(m{(T4qCuL2Q9Hg;0xH->Fg=sfDsm;N+WzSj8L@6H2m6iP9)vP%>C5& zOxo_wYxfR!7kdSr1ad$NjEziTsrZBfybcL?RTk8S;NwKJAt>_L5KQF9K|rn`$YVp$ z^lS(!)H;ppo5V28MvKd7LqfvBQk2t%5~v?AO&f}O+GtV_P8(n6U(TAN2P+3HRk+pb z{L(=yb=ovk{EnZR&ti{&T~}ailRD;YQsqFfMFD#^1RWQ0uiQpby(04Hl|;Td$Q1;6 z^or@}6@}3&idDU`jV5(+cacBWAa%k?QsTJdD#C-HXw+c>?_g?D94ts{iv}4ETIv@& zXw`k@=<7X_~%~=)g3+uE}A{G(Et9vq`bcCK15XwBg=GUqRBx^^i2mX zNN~^sRt{ROCtQ#mO?3oD#Y+dR$j#LtPw{6Eg%)j5nmxGK*^X4U9%Q^1hl7^T{N}Yv z)DBv-f>$hX{Wp)+fyWNKtGbzT<&unTttFD0v=%@7g8IE%znqn-T~o0fap6#z=G$z@ zpo3PkLQN%R9DSka;?`?au^Md$Ek%4Y>j{a*It&^+Xeq6x+CeK?*X$xYXo)5{XelZO zErs4}jUweXs#4*gr3%ZfR#oO-&N4CABT1(wcV1YdF{{SFqLlUUtx$6e-uNoZEHz zxUTNP;h^Qrc6Yt*6?3}oAX}pVeT!79kz(&#sgc*!Rk(P&1ZAa-InZ(9P`utK?V}s( z3*Aflr8U;>1aV#6b;S@n$}X=f@^y7ZeO=wfIDkR@i_NgrvrvX4M17n4c2d60Ep*>) zZsoA$1LXb(OzZ3FQRyh@(sgx9cXZCuEq$_Hx!?kgluucR_Vs-GV>&5A+zi z*pPdLFg%8YOV`ztl)4<6s!L-ijH5}XDlMw6tGkk4g=IKsHR@@D3y`BmoBIG z*CkA|E_|LDXkS+sI{<0w+|jTH9^lp1MrDqKAC16Il+I!zpk zi#?&Fl*U>q=gg(2AWY76g~>U}G2DpmAgTWX{bwMO1c${HzjpGGQ& z>sLS=ZD6|i)x3dtV>v1vCEWtgHf9e?cb!Ga&NZZaUL~EemTuNf?HSHdX8fvF8lkn1wQWOBJMbh-?z z>~zITcPty;(DQB5&%o{uOc!IDbdYURz*8eqTN)|uDk(M6*i^Xq<=?llEkp;3L-9_d zWNgM-9XFdxPeB-)>k4CYly@4F*w_@cvAGyukiuGu9k4BpO^8Y(vztiS*o1ECrE~bX zG0^;|3{30iTU0tqy7YXrbSK|u>E;{K{gzRZ&R9#g(M|6u2xEI%=}KdBNlwCOVew`- zmjVh=3wR4D3n+A-fXeCQf@%CpO-P-Z#PpEL{M-r2{QA3~GCvFc(pj0`sfOGy5C-!T zE}37FQs$ScQ`uyGjwYR|w5T#aSMmW^hC5cHp5Fo)?pPpe^GkKf*!t@drdiikYqQNy z=rBJOsm(9(lKCZG5#)W{#JY%5U;g(6V=14_KC>R-jy0#*A=kXHDOVglkmV1YO$x=G6Y@i#M8)cO9XSK;SR$rx zW`mo9L|3|F30IxgT=1UpQ$Rid2duYtlv5mdkDtBFW~7*NE_j>dDIk}`fx}xn1=!-% z6q7adyJMXri?)l$*sUEEr*q|wb&2S}*3OwGhcR0_1048-fmmis2;i+9%e8JM3_@Zd zm3L>J0@4XUZ|w+KZS7nnp{<=7$<~gLtQmp9p1U<-mp!Tu?g}#W7d&{{9cg#3{9AWo zivaQP7o>4OhU8vDF~vbJ657O z7c>fjrgF!!=ENzVq78SfC1ml|Lbzi|duw;B^<>uWSjzKDzar_~^8?Ix%f<5V$sJ4R z${j1&pJpUS<5e}t7a$LVOzv1JDR(S|{hJ~xTTY~k575{h%lz8|dj_~;iCeg1tq(bp zJ61BP-5_h@+d-;!$1+K{V|mC2j_$YlWWKwF0OtrNvW*IuUJ2NMG%nxl&B5z|d{z`# z+oN)d;&+ohDi3?yVcot3*y#!m+v6nI;$svWw#RK`A&z*AwMP|C_INwd0ejri)?M2dz4rldDx^*0y)C~+8%|h?C}%{*<+2w9))CL0|tAxHN-Bv z*8SXbKhH$M1A%jdb7CNH$Ks?LcPt%+uO5mO7Xm35b zztN*Wrbpngww?f6d?Uq%we>hzXsdXP)m9Zx+IouUfVLiMau}nn0~}B%vCPgOfVI_f zef)PqTP0RIf8>%Vjsy9CHqhECWTmYqNJv|2B-$z@CwIVL&l{`QWe)>8Jwa}PY6R#j zCvuHI@rnQHRjqfuIx}Bp4A*-?>8>N-cc7feTGsbmS=?eUE^paJF7f2zhaQ0S7%HcD z3$prBwelFld0X!(AgBDm;W3;8TkN9P@EFdL#Tbgm*fCV`G=@(Q9T>wCO%7wmaDW4Q z#bTMQK^%{v<$4bNs3oz);v@H-G|mC1dV(H9A*(SgNN5aeBx5Kf+Y-QF&vlCEO+P4l z?&q0HPIw@A#(D%|AaKXRKyk;iA$ONJzs4O)2i$PhVRn`h#|CE{Bl5K${GJgrj@ZE9 zoC4gjVs=o9D<7_?bjJ$1Gp5UeE?2eXjH8?=Q_eVv^}?tkG2gIs}vgzSWo&vdJ{W*PJ{!W&vs1~;y zJQ!C4`3X2+t=h^deue6++R8(<4_Hn10Xtp6Vb$IXws?SI!>YZ9EZQUz2{~ip@dY0raXkXM(~Zo&HSaMUuJavkADur4oazb2Ee2s3&uInR z4JP2SxZtX3CPE@QuNQfo*C+CWARt!|#B~fNur~s@?YzQM*MR?M~!7K|rn`$fMn+ zr`-yp-HJuKA>SsA&eh^LABma2dEj5(IuK11Yuqy!Dp1 zt26@dQSq+$(rhPku`kcR6V+}}Wul4+&1n-h&%bfUitgHr__goUgVbHSV<~|W3dwX) zx?}mAymrSD(KW%%v*gxHT~f0=3<1aW!NcxYo;!E^XU(05K$mmpKNp6%Q#j^Mxnun! z=FY}>yXxI!vG`O7Vl8$+_%4WTJr1oEt)|y?o)E4C;(G|Jr&r|^H_;+bugYT-k9n#( z3hZo*|zA@{4{zPp?8&)9YChnqF%p)2ondhXaE>PcyOewUEWH{Dg(wNoTX- z-mSpCPRAILYS-#FnJdacUYRMYbjPw*1ZKQDmWZm019HcjrSHN_u zdWPJwjIEj|cdR9NXfi9^u|!e3W0^kOv5tu0C|wPAEM<$4-LZxhI^40$qjbko;=Fz* zOOf$61muq8W|VgXf_eX*K-#ikA?`uwbX9_{nDM&-O#AAl)bmWc?zCXJGMS!(vS;Ov z6-04%#*VJH*(qmtEZ5KPK8lZadmkmjiL2fj)q(|%SW6Vdx8MRnyZe+9r?Ybe8ohRYme}d+3{W>4PiIdMQ#Gfvg+#-(!4%_k zp4k08F@eO6SXWXB@z&x2J7PIYj#%PoM=VufN34qShr$s{4YDJaNW&3J%{nb^R4;Nh zY4MtH#IiJ84PFFJU!$g8^JC0cM|6ASh&>R7d zShEB;Vm<0qe%z_-VS;w=nBdG&!R`^k{6WF&Fp!}Z1D-kuBPFh-Bi6k&0p3I;`W&(L z)&*)utlc2-VgQCCmeLJJENt11SZ;gmh!yj|0R>zqZ?KRfmRMAdSYjYYtY~I(!~)6V z7TC^iYZS&2DY#!YxQtSwU959rTa=_Cg znmDU~-JnQ0xFeUQhIng;;U)l-`Ak`R?T953J7O)Qyu}aN$x4cCM=W(w>4;U){Axv0 zI%3U1M*WktEqcO^SQ;Z7u_R|WVkxG{Q*>-i0S68{_E4hiN_EY=_%&ZG}72&=E*iN3v_o`HTW}Ejyx?8+=aHA91Mg{EV z60lWhT)sfS{uq$`F<`wyQcm%852Y27@>n5l`+~@C0(QEB!z-jMV2hO$8(tx8CJTYY zW9$k^#nTGu7NP?yq>W7uV^&B59Qf%0vCPgOKzo(}9I@Dnz!6J(6*yuk zk?(UN+e5(27KtsNgrNDU8zb_y|658h^h;S$X14+yu^ePd;UML#(hY{}nq2U$&ABjapIAxrId|7dAiLHmrO*$wK+WW32M2cv8N7LZ>! zj{sIa%k^!)6v`*D+WA%1pLIZfDjR6!6S7ji^(3TxH4^0$k|jAX*fZaVUDl#&`St{` z{-rDr0~>Da?48ce0>cO7Fhq95Is=O9f+TUWBu+nxmcjOLGUW~;u+lc_y70dN3dPFbH5(^9PaNh}>>Iqs`gsgPsE)vp}8i}q5$tS;n!Jfyt z*m=a6s65CsF({)RCcXJZsAo?Q+a3sYDsUZ;S2z65;uK~P(P*AvlJ zpvYq@Fp;kT0l9)8kF7w{vlXaN>oo3Z6XRX5(c*I2kdUPm<+LG@Sm^@Ow4tb{jVATr zv@v(BR)k0B!O9U!6>jx9zjVY(owge)ekt#-Ec9^#_FI9mLF$+{NR>mc98tiVI03(7 zAgEq>l!$soru&&5n2v9LqWv{wT$ETE@pA**TnS`wP3Yb4XOkX(BP z278W@#m>_-2dz??5yn4ryY`5?JAriQ4kfZ%fIKrCzxI14Dvkba zQ}M3&(!EaPVqb1VC#o%?%0v~Ds?#QnjpzqaOFLqPT27J-M=Ys|9kGg5l05Q~BbIS-XE||jc3=`0XW*s` z7dc|NJ<*>rxUs!bZl1^y%VG>WVrfY1h$VS3d66ytYdd0vS;-MgNPac|C`YV+e~7ue z!7vKh5i9yCZ6(HHDjc!?&B!w8ktIj0BQWQg{-tO5s6ZBoA?{R-8Q-HU}ReVr>v9OH1c=T|O?VyKp#SIkVl}%N2NragT#+w*sDYk=ofv zu|cL(|3&rRLKW#H6)ry4@taEva{wg{#ixzZ4!W_v%Dux}dJ5vAy6cJ|c9b_%llY># zqUUu^=3?#bCyL*OryhiInmAG2;NE`HP7^1Zcel5n>})^DQ7WHHvVOuC^x1#vC?X=N#|rMqN%`&{wKch%y|)#5yEapwBOdAxJ$<7sS4 zRZkt3gz|9dSi&NwOX&RqSC`N&=I^xih`HF1@~AMZ=Y>m`(34EM@|mhr*>nlr(WEbx zhE$i(UCDPMVK`Ye>bVwVI9Y+LFQKQpt{AFIm}XsDt*O3*E_7T%SLyl^dg7%^=&9Wi z((sc`Y@(>A9fI!zpkpEXM6WUN(iy}9%hggLpcFegX($#0X`oD{V= zxmbJqLh)npEX`@5*1xmXzlA>iJKNcQmVIJa)aDdbjFKgplV$nDJ1xt(hAba4O0pPh zS=PCsJq2M-Pb*7lPA=Krey%tK+ftl!wKz{%oO6BRJk`1NsWdjFIi(IuLV37kP8KGACE^m#_?%szyD3 z3^H7*K-T7z>XPw9yGvaVrdbzno78M`5<1LDMQU?Oykt&^R|I)qH}P>)N^xV%<|Me% zMwJXK7X|@kPGzSnzW9A%QZ}=pC)EZ&&AP|ojAoDbBH4oJTCqu|9Dg>D>BA8k=&IQ->v?JX}6Nm&nPq`US2`%VMsYl4+f4Ncq=4 z9i}B*GOZ+&3@KHovgt|XXwsKTLn_m9B|l3g;V#vv=j|ZFT?%AvTB$A>Qh!~-H0#=G zO|@wW9j2uswP__@GOffbg1oPr*kq(sGNdt2s#x~c?ow&#Yj-J{9}l<@?=Z7u#z^74 zjJ3tPQRyyq3{34VrFp{9HSG=P%&~w+wCv@?}L}y#b?~;^p_tVwjYb$9%HWd(O83J6*xy4VWEZ zi*Kcv)W6?dYLYD4E*@hyU{svWmAllPLaW=bwR1>*Q=E0S93+u8{!9eDPJxY z-XV7>p(}T(WPh5G9E}&sApbSU!yuEpluF87O5woPg}T~X7r|$M#_m$)-yV3g$6ZR? z!d)uKk=&({QKgrAr((~!c9$|T+@(C^0|)HuZ9m<0*0(F2$XW{c9RmW+g^kOP5wIcv zaw-R`?NK?!`|eBjs613@_6s6^6o^v=aM&JCfGvKVV#D@$oGi3RJjU9iiYI$KMRdR( zk2N`rvBv=pT(%U;>^K709xd08+#B{NvD*3dHmQxksh*(iQOL?3H6IyGm-E>;Jlz-+TjM@*ADVHWF|LA`-`wt=8^R zVXyz`ISqTQ+@+$-1_iiFImndau86ZrcPS^b^+6DHxvDMCt&|gG%5y8VP_{CvNNlkx zE6T(ct7f6vUCJ6e`Z~z8{ByXiOwi8nbt2oVfKM(N;tKkf${*48s%i;Hg`rL7BOF;?O+R$Em(Y3ox&2efs*$zhDP4sgIv zSS+(+2w-isT)*+Q&{m0s4f^@=C~&GLXl)g;($zf?L zjNt$WKDi*4*#QLb7+S8+yfwy9VsQ@QN#hnE=LA5Hp^()W-bO-WSR)xjA-TE=4E8uK zh+X!C`?=?So{5A9q7wtbMF{tOZw&^DyOa&NyTmCo?ov92#$8HB&RI$v8=P^B$k%?~ zvq#K0VgrM73UHT-*+D7Xm|RimE){fVOqT^+u4>B}M>$cZoN*HCg;7Of#!*(3NmqKT zr>nJKV7aOp$L>Baj`HZ0Ugf2Zdp=DIBjUa+iuHb#vPu+4OKGPl4Q}ZlcoC zT}o9{i`&B zx~Ssi^h9((wdb20#;EoH2c{>n%#I*{Roil{+8^C0vG~y#Yv+wXeh3O^)fTc+?VCtQ zwQD4*EhLr$4EDT$h+Q@veIE}GU&HZ1)B~WoK<3Q8HE&B71KRnL54bM^r+R{M*Fab) zy8<@q2s*h6_*8ur5uK`wJWkaU`MDrh5ae;HZhB7D6>5FTQ3Nq|C23T3auDuPLiOJU zNMh|qeQ<$L1$c}Ra2XsJw*egUZ2;v!FsFcJI00X|6I?aTo)!_cTjbI1L_P}was@#i z?KVB_Rv7J8EZPnEdTDg77RSZcnE9K>^5xwC(L}MvZGfSIbMT|>dkEw%b%fBj0qQSM8+Cx(-3&x|HY$-_3*@}p@gvL-)hTsK zBzGz2G*78j8iCiVcvpPYsY>KxU!GDYs&&f9M3t6M6=Cy~8h5Gau1UnNeVZPn?%G{S z36xMsri;>DN^7u{wY!vvt_g0dHT+vMbxFIr&!6|$OMCrM~}t&vQxLUL&w80>Kt6+2(v zSp3OPSV=cC3UvP#1@=Wczz|itR>@t;gS;|RR_QKftq9C`cPSB7$NO@ZIz~0&F104= zHRsA*$`#<{sd|RorHrkbD0is^czBZ_{d$!sYIiBqhr85XF&w3<;Vz|YF|xaqThw>W zA>5_RqjZ;2!tPRvj6cVhyOf(zp5zDf{yl-TWx+z+gV5=!MDY*5Z+9u9QqNasUuL;7 znVy5PXXP$+FnZRrBRjgfoM4)6y4evZFW{C$M? zia+A-Z}@xB-z_iy0*{{~{Pp-gLAuI1%7^4H~Wp1&nR1SQV3X$ z09V|{GQ$y?e}AA_D_ZZUuq$|8i3dO20p#X2u$Xxf2%aoLac%X`PyU7qD@$H96Zucw zCHJ+Hq&b(;^FkH!jS3*M{<;4tc4vWj-2sCp6MAa)Dx~Mh_^`_v*EuNMR+H|(4YxWK z+5dG&qY~k9#^>mXf4Am^du|AlEB4FVOCgjm|rQF ztpPGDVt_?0EjT5vr4QuAK#8D}E75m?Q`7}&AILKx@!_CE_&_RM`#>IJOzi{dwpTuo zLemfj*n5M8d?3Z5^npAo2C|B1X81q~$?GwY1Bgapd>})DTr5f-$RlE5H#f(a929aX z9UA#Ss_pnd{vt^EKw1?0Knn9Nq1lmy`esTi)SLi^V9v?_lN z?NHA*V7Cm7fNR1Kul#*IWPz`JAREYjAIQE8O}R1I@(YxRmDra)kfN0j zoc?Q(KLBLv0uI0S90Xe|-!ba7=Kxs*;I(IOlf#(T zo&gTLvx;SQI|BH%$8!D7YvQ#>VsS*n+Z5g{K#pjDe(e#mdhOXvLa#kFlGh#~+5ZIw zdk&VxE<5Ue?zx|5BH@AP#6U3Nx$k>B^~Hdh+klMJq!RhfPWa0NT&Rh}Zd9<(waAEk z?e~5UYqCKfNU_1l;v*4V)j*Fcg-5ot(uQfG+ZY5vSAGbUv&8sSq$pEvn5H5dMiq(u z1!YBG>080W5`tGNQ+L__(uxw~!x^2;^ATKSYy{L-tF@+lAHJK=$R1jsL?0Ed-N zwOcarFU@}+x6!C{Q@4RGK{L@cvO1hDd1t{ZlT@<}YV zG_5~30@>08#+D|LO8IUg;VsPyiSh}_mL@RR^ZqS%*#XZ^>fqW3(tVHn8(I8d5>U$$ z{F@-M59AIHib^sS0O=>uqDLyph&FJgGm{9|s{G@P%xL>_^hkuMN z>hMB_pNf+%baKsG#V`K2Mm*a~98^@1bYhP)0pWdiqvN zd*(qP6V8b{LT&YeT6{U$P(d`L> zpvzTld9tINC{s>UsmSh8MPi~-R+Nc}D!0Zpd?3{&)7ig5Ap1ZnyLkKU3`Mp>LPnnz zdxT+dgiAh{rsQrC?g--kX{zBA#EoTz>lJ+^{o5?{Q`}?Nn z6S?1%JveP#?;oR!C3zO79;$Gw7vZH3 zWa_jt;_a&^2(4qD)7gW-D`+g|`il9~Lpcy=qmni%;PXj>>XnCys8>WDryhx1d!~>p z2=eF^)6**oqgNEGdgU-p>g4VszYR#8m|lP@-EkG+0w@}Fj=-lLniK~MQhi#OS$Q$Ea#4{ZFVwryir);vMxE(lkwP_Cx4;AYVuZ*3-0dijVy3G)*gyY5I&G zk52&kabw`{G`#?}csIp{r|EgJXqb46ou*YhP18>j9hj!)njFSV(*qp1Y9N-`76kA# zZMlAYXUqf=i&Y%+EtU>s8yy(i=tQb%dXj{<(JLg=w2(Z;fx(`E7CX-gote$jg%QR- zbBPnn~l z&qNiIY8}I=rN5`BuLphYzGw#XgYASS^d;Q~gAf59D5=#oB+R$#$|a z*?!?iql<;(Ob8!Hy@%TeQiV4qOVSHu(+6^iG$QR*z;vcyYj%QwMTy?$3gVNYOWZAVu=7OtA8SbUn%AQOr{vfl=|&2hxN%vx!I>jHg+4opBIT)wQsD!+kyv?hvd37KBqmNH6HV^Sh%kI0{V8yM z#mwLAP2cB@?}PKC6_N*O=^iBzfc|A4ub36cYz$2PScG##VEY52V`@ zjf=sJ?Ui!#L_UxfW7r2$Lt-DuJrXI3Eq>TOkf*@3_Q?lQWw{;)ln>;)UcubmU>Jq$ z1L;bVb#b*zEW-!#M@N=Pk1Y8>rf2&1KQp$DRgz!%QH|NR1}<61tg<@Y;GKLR*Bh5P z;I=&}`#>s!NRiuJQYt)4TsV9no!R#*zLc2diUktRE8rS)BgL+XQvIGK??)B2l}%3Z zSO3y)E*miiP~uShsZlx>GuGZ1$IYduAUsQ4R}8VE?3SCvo+XO<$9i0h9nvqt_BUXw zXQ2#9h{_?u->dX**$CZq%jo-_8^g={7W^yYwS|lG6xdE!{CU zy{902O`cY|($~Z#dGJWU55l<=P>5PU{rZOm6uM79<#ckvG=8Nyq)ts@dPp_Rx)YN3 zNq-kq-Y4q(;%9c~F?4l9?tQ|r<`*t`pCl=D*E?0GvdR0z(WFzA7FFISuH-8b*xo1W z8}(eG9($h%S$m(Py5wupUzae=y7;UBjj;EL(BXZeBDMEP;wA5s#4CclubX%;r4-*I zz>XMfThrVsKCNlPs?HCb+G?Yl$nNF<24l66apvzg{MeUncMrpjh03%8ea?gxfD={TEHtwSwNxt1XK=}&V`N)L8c&mRJi!U4_ZN& z9v6q6I246ZQcz>9py$k`ry$JFb){vFs)g7jHa|seelEr{82c&y8*EGM6r$G7lccPj zLicH>a@c(Z@~uLusm<^I>iVPkaiGZOzVa2T)i;lqsw++WICWglT1PbYCa8_>us|G(>MY* zAmcVnOykJechGp<#5Qi52KM_rr{16UUdf^VI8}A3>ePFx&Z)O{gK)w_p^4N z9op?Rw0l*how?R-C$v)#?)S3VmG0-7OxZkPvHjJxf@0JP>Yx5wL9ts3Du)9+v19y7 zO9=g9NZD4^1In)43CaE1T~N876@TihLIn6>+*w&ZN>w!~?+#j==(u=|M}?x!lX`z2X&za%Syb~kY$ ziCQoH#)~C(jkiq8Y~d|;dHi@$j`+Q#%or(V3p_G@hn0BCW7^5NGkYhSRg9|g+5WTW z5qQg^Wb@@`=*e7hc@jbAv{EcyhsubTca&n4Jp-?UxAe@x1p#u9<{*_T@s{FM=Qq3m zSyFF67Y3sBW{+};cYmdqh=AZpG3Ts!fBQ0&|9l7?-t1Y1Tl^~3}CGqiRO&dCH7FE=+mREMcuObp zBj5bj8hh>uZ>g#j*R5cB(wBpM8+rQr;Vtc2zW5;QRA?d!Dd1-&w28M&We!Cd1yQEL zTiSBs+)vR4-m=M2sn9hBAZvx%aw&0nU_z#$F>3Gf3HDn ze^gHKRSzV8R383#$hLjJb|#yB&|!bvhg-akYQz4xM;7Wx##nz;_2iFtP_E;TMN`5U zf9yzLX7)3mKmq%s_4=bP3xAYapr7ngXQA9^fZ89$to-pI67t8Ii9d=7`U%P=9D?}O zE^*mo?&pE~c|8&y2>#cvb7CO4Y{l6(m#uU-zSN&kB0uazwy(pcEG4#+uU2?VGx8(- zyBq#m;w>cxgWmH&R$nd9<4SQk#98T#ER`!o8wAQKvj3OI3D9Rf+9f zWksFX&eg7MjkmPLj=p;0|I@`k<@*!$!9!3~m{!2Q2_m4A&GY{cdWUb1>T9*lcXF_{@(P3-71h;sCYQxsLNEZDd8Dp(g)swY8L$qV97n>5sSZhZD zpE#1p>~Tr^My4d|_4+emtx^jtqD{C!C$XaVA)+#2$3Jvk>(z&Sz zpuK@8mn$^_{AU9va*aUo#edst_Bl^Q>n|~ev%jrA@6QnM9|fGq&MD~S%HpPrdHJ5- zS+}5kn-yA*p>m3Mxjn5NNil}=_TI;!e8USmJce^{i%qHxkKrs?jG<(V9Ya-5WB3Ho z&KS-#C5#!vjs)gbiOlvkF%%PZ zpdp@jgT!TL-OmH}^Liva5WN@(j+@>0gB=`nY5jS5FdLal#COZt$CT^(DR(HlR zBR}%`&l)k~NDOt>6!iLPfgV?i+quq4GfpbE8U>$caoN-c>l~Gk<#!*(( zN!N#Lr#>KJxhiWl-csD+{r58h*){2w4&(no9866-ex?X-8E@(mZy70{CXlChwD6YO z9AuYxOEpm~ZjXBUzXQtYIJ7oxW%_VfeHAvDSCL3e{DxZC-^EJC-|xOHVld@h~jaA@A91BE7V$;`@O_)OdhQ| zrHGpcVzqA`B(-+Xj+;knfFJe*012S{nB#QIG2c8;j(ki3&PC93B|rCbB=y`X9?zYM zuSRhNQ9Pd8$Q!EOms~p4iCp5#6Y*4PO{FrGiV4kW7i^x0gSU+C+N2+9aO72xg*kx7%Y8eonZr2dFkYy`CWpl_X>A^s4G!=lrUy`?MPsaB$3$!>Ues! zUSITv=xM3d{Hh1vG+?&$^g2tVnqDuE(DYg}nO?=@n+DJj&sL3lb6!3Fm+!Q)tHfEY zttl{=agQOYcC8ZL(t~_krYwFuYg=s9RuP=BcuN5Z%J(*D84XxEZyccG9} zH^6kOc82hl=2nj=yyY|t98G5B=jl|U##_34;4KRY9A&G4w^X(S8E-jk(1EwKj1q6D z#Ebeoog(A!37UO(K0LbJkzc_EkxdyT+cz- zv%*_Op*T(Bcb&G`C+R5TE!{pCaIFlr+k2P@zd4od-sD=5fotb&e{)3Z@fg9Zyrbx0u0A` zIOQccma_!MvP8kL+=$>r|-u~L(m@fYj^k!Y5hGVV4To|a8fMY4$ zfMen0hGY5JYdBW;{)z%-f`$meu_U5`V@ZJESn-$%js=sGD<~Hz8xEunosj7nN|Vs?4hl$5NRRj+N|vj%SOWFdR!` z#0yS(1{_N<9fqhJa4cx&fMbIiWml?eY|~9RmWM3(H5{wKY{Riy8BI8ro;`^#;aDo$ zfMeN2xb*;+yC_k7Qvonmc-p}wUvi`R#HvVYvD4>;%~McrU_-qs60=$rT_&MbQO#skBqs9@G{p1EM&h!^ zeph-9+|TQg@IbJG>zo*frNMcYtiZ9fKLH#|iTnX4vQq@Wu_7^p3AW)_V&q32`J@s1 zDH4N|O)2R0)dD@P6rdVsm2fO4vJ+7t%H?Xd+)q(X)G7B|0jPZ3Oa1~S{vkerm@ma5*{2O6>Qfn!H#`d!U<$qm3 zZG2)@#tevM)Gvl()qUbk(NWD(`>)W5 zHbqB0i#Ob2NYgaE;)&%ll>fjCt*2?_6kmK#dZjB5i#_AlubN@SOztV|t0 z%Uo1#KBq*2V>zd}`K;R5-z8P=OD^5(gg*jWZa$|{iz=0=R7|Q)yI^cSzrX_!}o`Op<@Y?r` zPQk|yyoY+8+;U0AwpR6%IpA1(dWb_h9~|7V(&t%-i2}`G3vY9{!hgGYdo`Ccek7Wj#!@%t}mxYqocG-m(#7?#pBj) zvZ37@&GMOmxYlm}{pzEEg1DUivf7oG(_Iq;vlM(il1l}}s1?-z7Wd_Jv0Dl%rw5wWX`*?Y6{ewsqRp?91t5$K`ZYsV}D|SvoIE zvLeV^-Bf;bdLMV6VxR#5Dgg34ikTE2>=1jogXC z0mo{z^D){9I2O#>57+dEW6^+8!x%vc};;_Z*Y)JE8tgtq|P)_yvCJk8)yO` zt8#JSf3*AU|0hWpNJ8-qX30R!wSk_pl!1b9KerX`=O}v~E@Jmn)b8hMKnF0d;&TyO zTBjJbbsi^W>lC|XoyuX7hVm&agx2mCjgHbTxu3QBp;ueGy@qz*W0tft*V;|_(FY2` z{a#kP(*0bMiI*oVz7)x&f@0JP-b=~~irrFBIqb}e9phJ8Lh96{riWDS=T1oO*Y1MK z{jB)ycgg*3HT3@Ar-l28m)tLDDfdgwscv#VN0UueR#ds48@WUy0mo{z^F1&Fjs>%J zztonTt=*P5&9+Y4n(cmKhx@5Y?S4s?+%L(BAa8XOA3dX1a<(yVyjWt_aICb#z^tyWqdY%hm~-wJvcQSOZn`KTl5GxR^hooGs4MSaqK{z-#M)mi@A{e zP$-pRm3@kw4jfB`>6_h<<{*_T;aK8T=QroPJ#iKa@&Q_J_9&QD9iiX9VD%sCU@ z-#!clZv-9Q>^TItcsz8V(_~mhxNPuPLDXnt^(=N6c!oXODz7duk?|Jz_GGKtntZBXQXcb#Pyl zp>OW-9(=%^xJQ70LKz0LvK={51;+k$_{3I?SKdu`%EX0&YkW_DAIuzw*h+AC-qc&Uz#BQE0C(I_!@#aEqU!+OR*KCku5XW2`@_dh*A|h<5z( zTvNgrf9y!$A683bwu}PyN9*>D_i4#$CGDUly`BHPztQ-Eg5!dj&k7ix^Cx&`IX9%^e9v$EC?k&w04OsrK*ekDLdJe#C$>JDgcAj&P! zNhSL3ZT7E76sw=)Rjv2Idh0JShG#sX^iL7+8Am6w6SntUSs*#g%V+E(4@3C?F0>v) z-^|{F)Ql1_9WENNjay95eDG54~^1j3Y5j z3u_91V>xgNn3S_hI98NfjRH|FSF`1eqnxNy&NxZ*%BU(a<0vcYr0YYr(-Mv)Yc(88 z+~S*F$p~cEq+2?SKPwKVCLTXi1jmXu^@vjx^7M}G!m-puwYa_L!FU`B%pO{swsML$ z(wt3Od6@Pko5_<0I@WwCW$gMz()+O);2O#3+!GVPj)X^YA12MzJubd|Vl=eMnA zOg#0yhUZ~pZO&}1dCzf*PTx-ZF#Q4O!ay|cHHeF?o>IVnt|aK?s^Am+hluC|U&Z4D zKNX*XL2(69JWlXko)dh9ae}WHyPG^zbxIL%EV0@*50YAIm=Cx-HNX#h0{&|)G;SU^ z=9>q~p}&!qH{fQ zee(eJDr_EM!}h)cz0Hb7wZ_eZp^D>f9@Kr(xOp&CyV2~&+em%$pe;>stZ`z ze1BKx*Fb=k$R2~TdUSk~8KOE7Pl*J_a!&I^T(#+`Syk^#t~ynTT;j_U@l=YTEt|!DB)N>Ij`YZDs*>9OULNyl3L^j1-KU& zG7QJ^-1)h$(A@bf>~iirDh_j}c+8!GV|^TRXX6B3?Ve0Fr1Qd?6&%aH9>>_N>2=N% z!UZUokD&GRs+{7Jc_L4*%3~BaJXJjlSDF&WOs^dYyon?-n@0gpuh#3Q4@FN)Ej~Qu8FCxS=To4bUd61Y*Bug?UTY@P ztC#>#p&=enx5W9PND0Tf$SAPlUQ}SL(-uQi?OG)`mIwK^Oj&H+Xa4Z$7 zt`Z22wMR4Y`MdMct|eD+EH}{09Sp&-%&i_#aI8rdIGW5#IF?G(a4eS(IM${fe3Y#Q z981{}WH{EaK?fYmGD5-$plrO5a@1A=4uG0Iy5A-ugOkhUyXhGFJ^{g znU#9JIzzL_+mh=!D0^0LEPE0Qd9D7~(e*YvoozUl+wbKQDKEQ02LA?0+3rmaAj#sZ zA@2}hl;04)iJ!jx-NI3A5Y=l6gV`ineSU1)1)qan&$ggZCKJ2+`7!az&yT67K0l@~ zK0g+@LO0x&N!*ucT=e-dOZDf+RHXg+G3EL5W2#YoeoW=c&yW4eSGzOCYJGkz7(<^Q z6T9*Gv1nVLA5%te)aS>P(f<5c;v7O1{iVv+FV>$Qd-+d|O-Sm}`XLAX{oi6V@()45 zwiN`Ddp&!hitSdh8^kmQd- zB@?zy4`pndiUzh#k5*#aRJ@68vqrtAr4iURRR-Ip=D@b89@sWD#mD1B*QEywKG9sy z&j>)lw(UKyo_V?;0Nb`p0JiOhQ~9=2*>eO-gDuhZYoh&4(fq1twgF{KBtWxSq$IV( zwmnl90H8&pg>74|E7aJwMVJc%wG!Air5o5bCPQP}{OmQhEhf?x1puNNB7|*|hzi># z0m8P$VQ`k1E64*94 zVB4Sx+x8eGqluGlmmAt}I6s#Lfo)T)m+PToO}R*IW80L0u1ZTq1+1LJtOjHzQmYCc z$u+Pc<9zTP)Y!IjEv~R_)8eFuDY0#89&FntS%Gb9KOpZwazR8at~R{0S|F&_#! zU??NyfX$b9#9ama7KxODM{-$es5eE7H9Az@$gD@q*fte0wrxM0dP*ftMY z@M~;agW1NmwKAI6Ha&Y1Ut-%-wt;P1b&0+npqHoO%i=Aq&%RSZe};hVa3`{J3iw|^ z1iatO%cs03x)%zF7g{edl~eq?kK7(hOy#k}JpWS$J0}JLY#VzyVB56W z1GY_x`~fGjQv_h!A~Ayrwy|wufe(r$sFO8r!J~1of^QXo!zM6^giOJC`G{m#zDRJ2ex|V$? zXpL?2Fkr7R!Cxqg8J6FA#Efk_M1=ZKa8OzvW7Q_4p+w@9AQcth5;Zh|R1`Hx zrCIuPb`ExVk-EgTMH^no@F6e?Fe_=^D(?Mn8u4s0SkZ*@!3*5b(_Mjr7l78bqMYIt z^r?RfD-T;)<}1_uV>&4Rm<~E@E0^FFFVf(!tt^s-zLGK4R#ZLN$}>bewsNs4VT`SG zB(S28$ZP`zY%A95$NnU2MQSbOj~=MR40K^2YFiPrvXxm9ny6|fwjw55GSCpu(BDw} zg!_5mL0*qR8TB$5EdLRu*PntiQ7tNwKjB0+PrzjBQhP zapxXGk)4y0J@;Ah=O2i{5wFCy5e3@@?PA*`5{38huj|<@XvYZ)Sfvxb5KgGF$u*>H zwyPrj$jtrL_e{Ff-x1_$DUZ*$KSzSk@j+t`SX>(RC*k?gPKs-zqS{NnK}370Djs{O zsrUvAd_X}IkG)ivXD?Nu)@l5JCWf5G6PMG5lthHJD5ni2Sm{F3w4tb{jb`cYv=P|0 zO?t4xwyD9>UgwwCw$y2hlv>JX^!VHwAz;HAs-J`l1IN6>tQ-nVD*$;yz%3$C^~$3} z)GI0;y^@NbfkANvQ9OFZ<>?iL(JP8oy>f;}>gDbtc7$SnV?RpjxZ|pV7h#cqiNKq` zniRVgX})L_1KXy4F}AJl6YnsOYL?o6g+{c)JnC7DZHpmI)AUilgzkXyHiOpFv~r67 z{rzd0Rvs3+>eu5l&|Y73c$!{;TRcFu;c0rAEFMfU#!l0!o~G$%iFT&xOHB!5rs<9Z zHh?8EJB9+DrmfcpUyPYRYH^_Nnf4fze-#AvG%aQ|O;3{0G+i^9rp06v3L4_UIY^wR zX}-!X&l%zT>kn&_y?-7`hn`a+JF87~Q{v1;)lPm&By5{=nmhTbjs2Zb^}giNy-ws3 zU+(0mQm0fZQ>mC#op!<4$-jzO8rv3TIY%k=8Rcq<-$50g^OVvRwk=ZG zF_`hYIIwMEGdHV7jcwy8*!G6kzO;1;K7Qa0=_%@!OER{#_DO2ex*6EEEs}w4OU+JI zB1hcSRHo%NAEb+IYc{B<#Db$Q6iwJRJ+!fHiuh97^HL2jpp3C?O6yULZHuQX53ZFm zwoPRcwoOrC+Z1}AI;xaA&`JfiO%0a2)W^(aN#epx@}$!v_tsS~ux%T{nz1T%kgW#t zEST9!q*C5;q+EolJyKC5kGzC!GcPWECkf6DPLkpbEEOrjw)uIYKVxuXd!^hw5w^{0 z3}f3gB*wN$UtC_r61FYeO4v3rfwn+}ZM*ybW$tbWj7r9~xsl{ueEmQo1KalEe;rjP zy|RRD+oWubZIcJ$h!@pjiET?BGOH~9*O!74+qR|Q;FLiDH=D^awoMUKirl{I$4!4% z4s4q<`KJJ22pGmW2idFwUd)l2X{6XSQEKE(e^oBNUy3qS;|_G3BoyCnmX09I^;3L*k{I{z*&St4+6`w?8twcD%)qw6tZ(|Kwsfz* z-Ih4bwococebZm;xaqGd^-cdIOGlbXRs?ygoA`N0Ely7GGR`36Yk_UEV^!w|PMx;X zRoJ%hz`U^Q#=i7Y|BU*EFRVMrrWCNqh}4Njihua0)JT_8<>Jo&Vxv47ohAvz!F$D$ zQJQO`oV1jIf^a#v6)xu}Q<{s|- z;B%y`px7-1mBT-|6FbJQbh*^2Nlg!_T+W@4T&~>(mCIT2)m^#V;fCHnDh@6uUUIpl zrCcsGr@G1I98ES=SyAP3ZsheS9N4x-JFkHm*fyB8%cZvDVC}ZVX|}}&b9o56oY>)V zs#3dLk|mc*vLeV^-Ne$JT3p?;%ZYOL2%4NQ7l%%l%axt3c!_PZD-ON!ru|mzuOS)t zTXm4FDB#~nMryf{;!D~}jdVX%E-w9{-EaTxk}!~j;(N{Vp}V*?&`XvwP!R6tw!-}! zMGqIT`zdPob2Vl(%&Yhc#Fp+SMs1ysld^S+-Lg*Q@PBup+=oVJ?S9edDD9H_S-W3& zkG0!tX!jFlNjr0`-J&0Tpdj4uWwk5a&owzI;|YszMslg37`1{=lCpwgw-i)PFBeVY zS6V{q)TE||RPN_aNbc9}g3A4@_~-v;x! z)OzVRUM#U|Y@1iW3!BEa@%Ztg9PxW;m&_O`W(zzreutIVwk5BxT!J4tDk?fvZw&|Y73c(Z2~Zt?Y0lQ*=nZ8K!?gpx6K zvq#nGTw&WDC)(NUIp35pX0xXwff+<1vn>?xW{>sy#NQ8xkXjsx9;n1aQ1%O<-s};x z+U$9lgf@F>CYwECvU>sz@%)Urq4=}v;JzqBzvscze#uh*xevG#Hwo}&DE(?ywj(F1 zux(1@NB*~8YV5fuY@4de@)h8p5|LYK6Wf*wtwtdQQK*S+OJ!D~jDjdrVcTpuaqg#R z1KYNbF5YYiY@4jN#~GiD zHWvwOn}@t}n1AM-8o2%`0+1$7WG58xF**W}Cg$abyj^&J9r5q`p|w9Mr+Cl1l0PaB zf874COzAmjuP-|6k6Uny>r@-|$4#59xqpBx=yg{_%j~h)1WBjorfzt+w%qCFB z{%F0v`}e{hr51O~4^-kF=)yqM{wQYUkN1+0Kh{kAQB3wapdp^)PWR?L@06Yc_w#xr zJP;sFoD%~9wvDrIux&aV2ivAZe%Og@Ux!UuN^B=zt+8$4um9o~8va^g+d{ye53>4d zfgV>1%$c)FY+IBoTrP`pxtcA{$dnUx$}=)OA-=LZs!D9|Q=>H){0t7 z`GMhS`%wNT5Y*NxW@W91((UG&iM5K!>APoHVLaRFU@Dz7|d zoN2#JAAt7yqQhf&25#|nR2v?{Q)DrQk}-A+RXvU2Lqt1cIMtLeW(+$L_}5+%neCu} z$IyBmrXRH=mRd{s*#niBhAs?5J%(adV|b2)W}KSI7>db1_JD?Xw(V~ye&83y!2P@) z2@eF{_4WwFKr9V*a8R&q@?fxSO61p^$TkRAq(x$@JL8y#Ehe?sFSV_*-lGro2=E?HgSvZ-)01| zYtk(p#?Ohvn25*E6k*%qP2D^qKsUXd$y3n9wyB9~al7ZixCI4u3aw3BImM6AoK0JK znD+jMHFh6@a;X|Q@ITWj7m9k;Vt;luQ2pbG=hxYr;q zbd0VpsYPy3fGa#9!`L>@onP^vG5@n*a|~b?OG*ln+N%} zOj&H+8QW&72+nwHn+jD|350FiqM5+9O+~wwTw&YX0DFOIX9(M7ZuN-5w(TQBlUa#v zQ;8be=JJ7UTb964wi?(rWlNB;ZGNKGm5RW&Sw@L%Q{qKo+Y}jpXF%9CKSp_LAcVK~ z1aL01d+Q#AUSBneyI*ZMmRYIinReZ2A@a85dJf8-6}Bx3#c3Kly4r}|rk=5F(NMlC zIoj=gmI&^wZ1*NFV8?|?;?^)UVcY({pFG4?%JaV&2#P!N@3~C> z#j8;8aL_1|iQUDziPyU*cp3jRnz*oTuJT=<$%993VBI9{OEgZxx~a%3jCE6yHr7pf z#=5CSg>_T866^L`pXSaLtA%w7#t_y`>;~2?+7{ML86&Z7%4lFcQc*aEP*i`3)5N-E z>cZ5_olpG87aclumKNY)AiECMcL?~BrD(n_nmq?S%jq1Duj!@1hJ*Drf~EcyC9Y>H z1Zr_9zfA0UwhYyk((Bn%#56M3vrDNA>w}aF^oZD-2NFUNBjBD(r4jd8-MoCoOQ*|FCOT-n5LHg`vzuulsyr5=n}4d_x(elAY(a+?q8o6F ze@V6Bh3FbtC?pwU7ow`37NXA)?JPuBn-az>L^~3AnMh=|iUMAUTCXqtzhfaPwK$qP zP>Bmr{?i213sEtvh3I1>v=FVCEJVfRKZZaa1NYeHgZ;pfQxb` zqCk|()oi(irJSf!ZebK;(49jQ2fyE z*_EL+0?vKUamPC~!`^@f_~sIYjDXvL#eO=;rR;g)^pnbBM;@+RRZ3n7Wl;h4Y@rFt zqNt%P&C;i{6G$zuTbBs9Xu}JcUO(ooT=Q1(H~ynWJll7Bc{Gu1WzyOmhk}-b*0!RY z;t+l6U(CwGRu1h;nS+nWRz!zwWgl*FlLm)vWsfZMm5i~rqUy<3?x0-9R*I&CF}Bi? zz^Q_t`2-5sR;<_ZuY|2gEzT?tq}6j!4jiDi6)`JYd7gx9rDkF)Vsa52%CF=bii?J= zunhMgug9Q_dYKHCcPYL86qJc-QHlHsC$f10u1H4We0QQUBR_KXM@LLl5~H`V0uXQx zoC3|}tP%kiXZ{z53w{jeTgxybrA$dSz7sFKz;U z?Te~ct`SkMsCe{BD!u}P;tHa8^oq;VD+;4m6svkg3*cVvF7mGdnGNeq3q&A z>uFj!#W(y?nx>V9#U9lxn%x2A!)4InX?g-~@nuvSo~93x#e+%4*lAkT(=>gYXlI(< z|I>zqG1GKM0(ajfGFwCePt(@xPo9mLKx%Oaa-b4VKoOw(e5 znTLjWejnaY{E)0*eVp^J-=VGe{sdI-JteY(LXt$edCXi??f0idLclqvx!6E9=r4);PgA(2sl+fnLJ59Ae#udH0>4?K^dp`hxHU{KOk#Enj6T5j_}x(K*tgPKY#IQl}-gn-jS8v&W}s-Tb*xbX{q)JQylDi;@}D68wY zOTs`BiZ`02g9>wfV}8w21_}ZX;I?9j9c9tyBE|zKYCM3eF)wr9y?6s+^)8eniBVsd zKOp7n@?y8H%PWWX0Ti%3LTfxgG&)MV_u^=%V(otNKUllThIT(}mb5e1+O7K02MPiY z@Uq&KcmUVrO^1IMUx(yUK{09t?;vFb#cnC69Bv4S9phKJL+aF|riWB3X?H@x1GKxK z!UI_G&-nLx4IOXj{Yr6o4T+cV07*;TzD>=kZo&gNnry1Fq6!b-MxH@rAmAG9{4mTw zz`?BX0I98447DXrvn@UW$wL?qAa>vZRJ+ClBw0H6OwS!b-s&c9ol=XHGVa7eSxyxQ zI6GFX_33n{PTT1!1YCGvzG>HueQ8c2kcP`$a*!=5VDBPQ7aJ+=c_=l~Yh@ zG&)TZijVy}v1F9y+9>BOWuPEj&TWOuIm&ey7qQDJYL|00rZ`Nh_&!Q1YDz?<1hmO2eWp$)Rr8q-Ih4b zw)ko=4`G)RJ6ujxYL`p0T-xf7E6wY#8lKP&!uKP~sW)zJIZ;^2PbCHG5O%KcJv zX$-}2G}%;TMV0%xkzYV$AmAG9JPk7ta4>84OKr*7+HHx`Z0oeG+3qKHxSy)j?w4fA z{gSK*@>Vx-MTA-}{l<$Wc8!2b%WNayc>H)#j`+Q_OJ8$=)R3hM3@X;Cpr+l{m zEP4b2ZdtQKt{3vjTyg9`p5HmG6pOi#{7@*BV!f=N#2o~j3ez{2LYjkAu0+6zSDoKX zd3)ksC>w~-db3A4#f4}5Hs&fADdwCVZ=5_2<+cZOc(Z34Zt-Y?2<8d zvq#nGTp{3IAlljN*=$M}v)R*;09r#Lvr{PG%^vG@_@}}lq!zc%4^(0k%1v3QH+#ga zHhZ>6XtSqgve_dhi+yN_=N{J$#h+9M_eB}{Ef1ddOP2bVKj2QhL_jGhTSaDNJ9455 z0jETMWa9f8d+rGVr>czZMFrT3MC6v*M8Ks&^HE4a6lx;iQkl6Zqaeyu2sm3#ock%- zK)`LIi#Hnr0VnIN5pa7-RR}occ^g2H^lS93EI0nL_~5@50#57-0hjzw^N*wP<28z3 zqj)%ELcpn}5O50H+a#)6PNa%=$`}D>`AeN$1Q2kN76`bcM?%0Qr%D?MPR0Iqjes*V z5O5yy&SCzscWL1IM+v~AIFTJv!1w?gt>r51Ob4pib2bYUQBe-yLw$7K@o$C`;hipe|)4e{IzzoGa6R)F!jpVuSdf#BEX zyW9gF2oP|beS?70;W(SIO5}%~$o6+7IVHA}uhs~-@Yhq{)9}{{0T%-H5Wv=lTA;_3 z0-5Hl5&;+G3YW{GT&`xzGcx5wo$`!KPl&JVj;a#dxyp(7;CMno~-pa(T=t5gD|TkjIq{^1b+TWWVVe0wpQ!)>zBh? zr50a2HHhsnbYUQBYZbGy);mbZT5BfODkg3Z4e@L+NL+Rq+8c<1fYS(Y!_bLbBT&5k z$GxicK3H%4CB|@1R=?CQ2tYA9k?kk|#Yn(=(Y*YOedK;9SGb||7%HduC+O-^dF3&N zYxdqNP@W4qJcg@qi~p5s!(+HY79$`TW5-a{(->YQ+8M*;ri3wL*pUDTK_ath6z~{Y zuUF8IS`tewzC3fF63;?8F@$;y#jM8gDhZ8Y&14M4L_9RabF^_o@#o#o1NZZKBs>tk z7zoxt?)$+G4hjNJ9t;9biTs)q*#-engGg+3XB;!~Bft0EBW4_lVOm&I00Pc|Qy|lv zRU+V`+-ekva=DrfcDSnvdY}(4h zv}bH44@3Fikt)+bBKqW3ixgH3$X^UBz_A?}8+BFl?7L!d3Xov^7bwlyR==+#>>U#}O z!0z=Uv$f_us!Iq=lD=Ya7|J9Gje8B^GM@XKw9|JA_^kxbC-`>}(Fwka#|eHaz8A$6 zMDaMmcX>|m6>5FTZ$M%!mU*=5lp+vtVzqA`B(-KRA8x6s0p6?xT(*M7%>&1L^FTQi z*jB*2O~4mWL=P|W!<&enTgBtKQ}Hbr6ju<%ft?eeo4fwyT1#?cy^S?p7&w3D8JR1A*vJclt>6T=QK~mRU3u3RJ|{`8UrPAi7!vY zQ>jg5WGWRCn$s@WJP`*07u_|D`ZZkbDs9&YI3+MbF_|t(1f14jx77$Z6}mg5-LBz3 zovBM|ksA~M0T(iifb-n>z*Cw#pM_n{ov#yzxl=smP9fkvj=8gO0Ghl^gtJh@Ki9qdYMCJ=BF(XJ)a?m{7{ZlISt7(&3ATRmdyM#6*Kkz?~%C29nm z%Lf8(P7glHRs#X2Y|V;BzzrL8AmA*cM8GNWq7ZP3jK4D=1e_nEyfqNQ+j|0O%Yuct z2cg$jjpDQ4!)FWm-K=g(JCx*;hhF}GsGl7`*2<20<>_St09ls^0AxMsRDRK^>~Vsn!My1DW1{^z(fopFHVftP zB>-nRA1O&K0a*{#1-M^Nq6NsBt}E1ltWz)-25Kb$SxPqmS$MDkS$_5!kQLs)q5u#< zLxccX5>WxNBtU?yc+3RIg2@CA1qa=z3?M5s$R(lzWJyE-vJ~TOx9plHC?i0Yo?U<} zm;z*3l>lVH0gwevfUJ8c8BLsYyPRsmVd9Vm0mxE}(@L>@1#^+w24pD%U6n=~2OyTj ztOn$0q|PgNB-g-(jEUeor~z4rT3i9L_TNQ~^e`nLOU(nwnxk+4vf2;G#7)j9K$a>B zb<`?9!YJlLAqPw_k#fLKAUzPr-g;6n)RA)VNG?ka^>*R2f`#HUIO04x24ty-0a>d= zly~#E!B#SC1G3abB_OLRvp*#vDpLZomWk8;9M2X#VL+C~2r!QH3_zA*@@|y_kOl1= zah#z>*_G-VnPdx)wXHViwK$gl1koBrB)C9C{69MWBx0k2l z)2g+!e(c=}`bP=a!*wD%q<}qK0ycBZ%a8g^eg~9KNI>g#k#dS-y|gY;9_ykL`|7QG zpuN86@VaOcZt)3J8(tS3BMXHjW9+&})ziA@KBAp<(b1-aG3%m^1fXXUnH@s`uZyhL z+ET2Gq}Eb?<3J^LpbG<0uZzU2)}vAU5?7w*sQO z{y_bH0IiKrImM4JCgW2c#m{*l&q8~B(P878hFd&AwPE8sLl(v-8Dou4)syi(OtfQs zrGfmY$~A8l|0>gnXWMQs zk0z3>TvBIcPeK9jL2Fx4PVwzOkZeVH*vjljRs2yXYb@xnt<1nJ&QopJR?d@!zLGK4 zR#ZLN%40-3wsNj1VT`SGB;XYinJuG$ZN+-Mk{;1dWvR84-~Z<-aSFOH5Vfs{S=q`N z60((=iLHpq@(~*1S!zg}N1TbugS;MtGU{bASpGvwuRjH4qFPiUf5M4uo&Z2rB+hpy zDl_sU-#Rm5qLLWBjTHdMa^Ms|DQA^{tSC1d1)^N8X3L36IZ>yasFLWJQB`81QdZQ7 zi7L0nH2_)a5&&7hkpNlBE*@WCD6(_#QlAz7L>vZ3yb_Q_6hIcV3&=`NxPqwb*=1h;bnwnf$8X|MB3KvwFsQw$yd!bp$LYngyuR%mRCI_7Or zjIq3tHK zrfVkCw3wVMKtnuniSsnwTOa5A>sPfi+~0uGp=(NHSD+kxJARhAsM>x`i3G@UPILQN zwXweyRqsnK-Rndy@#Xe&Dz&UqnM%c^>a+{S_Va}u{q{P_yUVURNiqOgG8F@|lySQ} zhL0=}O@J(UM{(yr*JL}*6PA2^(dc z;=im@vjNCbiyZmM?S=taG-p7TswO~|$~OU76akP0tpHhWCm=_TvLU86f}>~&$co%t z59FP+MHS=!1}I?9Eq1aam2JU{-^BsQ5}OOhD$2AHH(F2e6znU&Yu_{yA3yLe>MptE zk_sV5m&XZ9YgBkkxEZQ;8lt^@XB0Pv5PE_0R@n zDdL-0PpBLRAOr?vDXm8}AWJpdU1UI($|OLRq5@VB0!ea7zSi%NDRo@l1fqS<}ZG>#v$BFfGpMJRx?z9 ztSA2&b9X~vR5BpTjU?~lpK3{D0J6@Htdm|@0%Xn6y#TWAd!>J<$OCc2DS|t*$>1dq zIp%TbhwR^uEu(og#0x+H*Kr99$WjEABDe4QaXmeJ(10vwF7;37LN%)e2iY+NyqF_( zw2@-hM5&S2(^a|nz?=NbAtob@>f757lk)9tv0JydmBVjQC>QV$T3=6(Mn`FvuBThOPYLZN z8`}NFyx-(Jgt^x4kRN@ZAg-sstajz~bk_u~$P*UVkX$M#My=olQdUsxmV(M*vrg<7 zztSC2rzSN$q*_V46Vmncb{ACF)2;a8Kh8es+PfxOR zVwPk@khi*t4K!-;`vI@w=YxDJ09kgd>ioc|({{Q$vl;I@^uq)5WxHr%d-AyjZFB;FB+Y zsu)eB9(=O*HBY9|Djh6!VN%KiC@bxl_9>ahh$Nw(Z)%#102jmD<6Q zEIC+`6+zzWCXlk!;#ZIzO!PLpS#r5t96DVNR(87LCH%^cH}rmscVK@;6A_=yagd!; zz`d_XO*c}#+<7CNO_hr~|4*Ca{+1*RB%wI?&hialuFdg`WG)O8gtNJ=a5hKL!$s_D zirU#+jl~h(Qv4cXOJ@_KvdHXyQg$}6n|A3Ou1CV=C{OAJ(;cPFfUFmGD$q##;uz2A+Y6Zop6+BDI3X0uQP&vI^G>ux! z;8%@yUIR1WS1@b$OKr*7+HHx`Y>Th@@DO%CvBUjTrFOq0OYWCsMUc0;iF=9Edg=FD zEU0VvRa#UVe#PU*YjMP{qg^s%q?j#m;u?OXd^YLa7w1<4t%S_?2f4t^4@{XLSf?p|-ANilZsdz}ekFDVzbaHF*4K{4Pt_>?AjQKW6Z}dw1;0|*-V{;Y zaw1i{Q^xQs%dg;9O0j1E{7TXSezoP;M1o%>r%KxfPQ`9^4Zkuo;8z~<&e8oI2EaK> zAv?%la3b4L02qRR8=vOoySAVkQ10(SYkyQu@r~b_{84$B(#pO}=`xgmf(RY<$7Q(1 zS5R%(A1{%G6-mZee^mA4k5`Cx{Bf}YM=>jZJWN9VSTpfQF6GZ+WocuNC|%>g*wa?I*QBk1GW%%2_4+D#{fumqoc; z&6X!(%85GViI|>{xnOrxmDs#hR@8~jTg^f>{K^(P`l89jJ&Eqm6D;MAIg!mO;AKU? z+rzy45&`ENP!5}*wY4gz__^6+t;)k%PZ`Q|9~7`4bl6&_;1<>MRx!C;0uAw;07+c-D6}^aO{7tpqDF)O@8z8wLeg+SD*_6(RvJ(Q@rT*SUW0@F+AqC>0QuXUvzj3kHRgUr`qrs zPLRbIO2*hRRP{85_Ym!j;i0C4F=N<~z(;E>T4_kD>Ki_~sZxskM~f<4I!@x-by+ z7>Zeq;RzBN!~g* zH7BwS0&qx?*y_$WX5>d+`K2Rf9Erg|))WB0a^MuOC})-Mt0=b`1)^N8X3H5zIZ>ya zagykjQB`8bQC8GRmxa7L>*FAntD12PzY@3jghv^H?3#3o>k7pO9*Hp#kDn=mU&Whx z#F+_sdPfU>_1=Q@$wRkmo27jfY1@PG9F%``3$0CCImJ;P!1w^=VcJ{!8oO)IUSD+B zv^U`vALS{BO?!hZJ(GgB?H-%{<^Oo&>Sw(}dp~#n+}nQn43U$$swdNao@mFk*P0T> zn07}3|BzQAvmF$$Xzsft3`A|(VpgVol!Q#XW@6f6vf~B~@!VpN zxNL?_N6&b9)VCNOhTZE&W^2tm_dfUSECF*Hl-t17nj`c*gSt-|_Y8(=Pc>=_el<;c z#M3n!sqY!Ir3rpD&TQ77!l#$|m!LT2q7vB?P|p1v-`rwMi&uQ-Yjov1B@+C~InDEL z)kfiY0`A!;!Re9`xx|;}->KA`GBTBl3C(F2Y@UAuzl!dfMEx2ob#;qAJ+h%YKtOYq z;OP`HU6k-Et-%`bD;2ssq}{IJKb@&dYLOch;H?re48QW+`D@>#x${}r<=pv;;_#Xl zkGWIutB+&uEDr`hm0zN?dotP34dOR@|3wOV~qJiYFcC1+4DZhBSqG`$`W?M$ybO$lSB*Ny}> zaV0X_LIF>&*6XXjF?w2Ru^#dac^8zMMNm(#Vph}ZaT1zdYbMjHn4C93Lp*N|iSxCP zo1Y>G4hI4|3d(B)nD9A855H2O>f(UlSM#(M@T*;# zpi2K-9d5@h(5pJ=JM z7zp^4Wt8wMB@Dk(Wc&>Q!LR%n-9~=wD&q{gIwT#4)1Q345L0Y>b4HUZU(fzJ~W(fmTjlS6_#yVob)gymQBrrWwTP>HAP$P2gCqrW)zl96$RL8l^CjXMfT&uxyHH3RgKc?V%kk+c9dCU8%0I zO*cO-<{=Ayjb&>v+gP?%Mia{>{gU_+%ciozvaNlA-ZJYp5kSjuIp~by_RgjCJ*C(X zCtyR|iEPIua%Hh0ZeD)T%c94jd<+6wFEW)=oaJ}F7n#aqk$LH(>a8cC`~y7b@FH^& zZt+D_8(w5yBnyQkW9%YR)zc#LGSSW=bG|8I%p$WRfeAt)vqco}BGY=k@b_bpDYf`P z>UH7+(1n4h7nx#Ki_Ehmw8*TPEHcI9{0kc5@n?z4o_9YF+|TQg@IbI3?wlA1ux#w+ zfMwHm4->Q!`2$X5rwG^^jl>Kl*v7Jnksm2!1dkkkGw$=3yXA(s#9-u83c#{Ca0-l> zvq~&mlsgdxqFk`Ry2`p<&d>I zpcIEz(Arj%Q~cE5O}3&uY-RgnQsy~muP-`mD_d}jC#g1UE1P7|2a++?R#ZLN$_=6& zTiIwz7-K6P30xYM$ZP_2Y%A95G(Dny2dTA`uX?zjfi4V0Z7X6{wsM7pY^7#mD`IlO z01ffH&MRBtH<*2LJqBge%VeZTjeUSD*0n%;q1ypL+b)ATl3JeXvRou*YiP1CoCcBbjAri3xm zbVmZW{3J4)MFCIK*6XS1mMKfA?alzaIpk+5veY3}8#HuiUpfO$pkfXWGWSts?#nQd-)Gwmd3J$S?<5P#Ing$jAc_s+Lo7g3Ckw$D8BqFHQ7#Y z=@I;bDqbrNldX8{z=LJe?{H(;RQY7`B>jMFV%gHPy9^s;oZ|nblS-(yEx2lt^HaH9 z;x;}mMsvopscOQqseBX5MiH=V&ETQ14iOTLI=nzU|y>*v(JyM<+w ze5_%r5;@|wrZO$J`5;{^TeCq;B^Dfgq3F#&dW{;^LmSJch_AIhtOwu*6@jsAO6yUL zWmC;|7a7Z@G6~D3sIY7by;B`k$~|bM0?Rf-tlXzwF_$HY3$sm6Iz4i4T?GTnc0$-P zKu`{{V}UdaW_C1EDQ_ZDF2etRi&PZJBQIgu%!_N^NrJP3lcYFw)y4E-3@_J$yhcw zlDv!W9Y|zg*`6F(C%v+SWlQh$zxYINo67@nM7^Qz%>Fod$wT%ewAT;W3CniQyv)IA z?|T``wk3s&f43Dw>?n&q7x7(xMPJlWqpK}FxK`Zw zvUm{+cd}Mpf`9O;aVKld>+cUe_35_z6t+DhHEZ8xLF)&sIytC^PJV$Y^n2H?`xh*V^f-X>ae7ghf60r zRyp0{Z!28g-_(`@UsE!Fq<#g2RYs$JjXPqK7inVvg>ywy$M%&Em@ z0<+S13V2~hYO0aq zf2S!m(w$Vfc>ZtO1dm3iNkZ{9vt)wi+5}Hn%0NN5liLb+a+FOD7qL4jYIkzAr3bf* z9GO~I%AK}r`@3QL+iuz4joyPdma>NsQM*$#F-n)@PS#~2beU-A^5MTF^`wir)@9NU zI#3Yq^s>5??&O+F5AGIkMQo|gZmrHOtFzlu=T`4)Zl$p)-6?fgQp&?6ce2XKo!Sal z?qoH8Juk za;LJ>6~FoA;Zk<9K&AOL7jLTMS{q2lwbmSDs|wi7jMPda#am9Pk*=l6#hdQ8Ywcf` zgn=X!|Hv$vqq#Q6WlI?-2-k93;aZNeSK%UdEk*5GuD0~xrQ&tSEN$^pZHt#}ivG8tI#3X<^|HE@uH~9b53UrC zAhuLzrB>&P)mdq&bEWq+SJK#&qntV{DdpjkYgy&wT5W|Z*Rq;#_+R8&w;EdBBMz=5 zUUIFZlUyq`r@G0t98LC8SxDttZscu<48&QZohvW{aR#$?t<;trsoj=1&9+Y4Qtet| zhij=y?OI8eTr0_nAa8XOJL%MV={Hp@duzm5TKXDs#^c8eZp3exT{2^&_{cRb8o!N7 z#MwDKv__mMpOvIVk3gJFlg)iS=*e7h>>#|ob%HJy^Bno1P%6dBcNty>apqZp2`i*I zNaaeznRwNi%296_+yUjEQ$p(v808e-b4nhAU6FUXU`JtY`|PN(~-ar5{b-?p@27Ftka}yfkxk@i_+5PI^z9>WA+;_eI1Mb8r0{)#Y zlxqQIWjk`B3UQ`He&nBiYGWTfA~QlVo}NI?{8BF<8oqftgd zl&KJBwwySNQ?!9Nt2O`vaVG1n5oaq(Rfsd?`KP%e=@;T#S=9e!@rpMHaVBs(JZ2ThLi3r*hERAC*(Q zcwh2I<>8MLACoB^hW7fR!~S>(Zt*qgF>U#`>eGCx5()XvZJ-ni9tNV@Cp? z;gHDeJPOz!t=Gcq!yly<|3lj@H49xBh}s{;to(6~g#58);*Vmo+YJrzjJ(8USAJi5 z4&2Y{k?=r(|8PzW1cNv#oQ zw%F0vL8b+9TI!!6;6GwIkxeP!raS@v2f)1iJON97=)yp>wpQg7U-G(St;)k%XN=x@ z7|IuQpu^UB9&Yj1sWxn_=g6Y(Bx9_#s(P~43q(8CI^C2o##%cP*szw!Yz75vt=8+E zQ(>)Ai%q>hQ;Flyg@LH8Rm{p-?;#;;t(jP>n1G?6As*EvF1r`n8;EjcMGLb2e?|VcJtRlY61PzUZ)NpMYEZAk~IVdy*`kNixQowyG!7zMp8vw2w6< zj4|zw1SVpM%%)Mmrft36aBp;@)MB&R*7+Ee18S&ETg=L|A15Kxu9=v&nEZ1kXo%+r zh{R>5Jn_UHUtGiSLDYS)d;Q34t$DX~1P+?d2i(`7d>RrOcMZhFRyP#zbCZC7Z6|to zk$Z7ObgHi6ajKq*ufd?Wf+!xR>i<7&?*r!PQPuf&m{A*?VS3jHBgUI%chtc|?!ZR3 zb)qzG#@l!&*g(+Pbb|)`^PV@wwj+icQ;(dYjE4gJokB1t zY+!Ik2{J&yx$XcX4)6{M(&&f{jOqLNeowuBe*cnOp6B-S^r@;-Rj2AyopXNgTUF;R zmuFX9p*E;+$0Nq7Bwed^4#MM1sNT~6iLHsh){w2J0iN#(_zW*FP6IgR(*Vk$z_J1k zKN0YjEU11zKt%mk@#uFdz665e3Zi)Q+vVxE!sxeR(Qk^M(a7fNaU6UN%ir9VFV6<3 zOjK)}1{kP#1QzML_DiolHa zI8&i&dtV-Bvwtl^aDYKxi*`+!cH_b?H_*-<40xOwTXj($XA4l1F)KaJRHF7cbNTQ% zn{;DCWHmg_lr2K`ICGDBjyZ(KnQ4?BXG%P(3%?W@y^k-CGk2rh$q(YayZtDa(e2g3 z-R!7FasAKPNy?}+^3~p#Np4H*I4DO}9%t4hw*D9#{c392`4Dk?oJB+Ve9FsiB*O2z zvOStSHajjqA@IQPIBRE@arBwF>(uPj*w~M}_(xy$?$<0o_k&wo-@^Y(`M-<*w;@n} z%KxYNe-2J_KmPfxt)Jlk*ZF@J|EKif}x3+$j{|ER#%m3;1$G0Bl z|1$sI`p(C<=HB!8)~or?`CsS%=!M6(eu4kr;r|i-KXUQ$t^dLQwog93^_~3x-ucJ3 zR``D(|DWf7*R^*`xyD{O)B5Dv?DW`J@rM6|Og`__OzZWVGp#!|TCaSpb#rl3>%hgC zJX>c5_yJr~z!r{!J2q$9uiRi)@22*F;->b^7mL}C{qq*Pg6#trBumhI)w`EPe`fKq z$zHNEZ5nCcvC)1d+k(Z5?O|Q~ETccOcxn>yd(HC)`}eV*?&;r5>y<_8<|ppl48-Z( z#o}3T%5M_==I2el@9E!*f9Mr!7g#DSez9z#>u+tfR{c4xR%c3UoIKqV+!V{MjDm{1 zV^SkGv--G3$7`uxj^)`%HPBXq_Ehod^9&5XtipcRnLGEV+Il;8xo992AIB|EYq~G~ z6P?#BzO1_0Eg&wP`boW@nCM+o@;};@FMfyJ8{^Yp-JrJW?j~vzdZVFo&^(AkvRZ6) z&pKE=L(uA+aw1<-B6|>s`zbJ-8Xq9Wb|LPKE5wKpyT6K^Af|ra)fEvUc5%Fz^3!#F z&XS9xsM^I*jo8JpDw(e9Q-|#0=nmYm6MogL(#285)m(X9pSfwjN!;M#sLHrFsySR7 zRgbY$Q*F20UKKAK=@HED7tGXuTpXt{VYoO>5#Zvuj{q0P>z&Fcoyx8uV1-X`^=iS+ zgkZiyFdGNbR}nxIHoe@EiE2B!I9?8v3bb=2dNyc^xFu>$VH-baU2&3 zd$Bpjv#LTI@F*h}NA(>S$FBh?7e}*V7e`^{k%;w+G_%rFhGBoIGkU1)?*_ z#c@N;ea=?pYba9_J;aMT;6E7|Abc!3(_P-? zHhoXzOBY9#ZCux95ovd<6J_y&-f>;unku(CCkeQw*NNS55HL9N8YVIZ4 z_f~VHNnylWO&PQ2BKtyX^cag{g(Tv3LF$}L5KD3`0*ay?WzQKwuFO;r|# zRf**TWksE|9%=!N_q34JTmhS6A$%udxPYu50c+t?PVw08Bz($4_)dBv9{{#Hf`h`h z0=D=t)dq#{1X&D)Xp9s-RZqhA5Yay2JKm%)LiqY9AQ2*&t-yeV&wSne><~V&#l>=# zpWA?ZZVG7O6S5M%+et|HY9zuZB>OeMAkRqyk;{(RI@#`3*Y$bq5pc3jd;dz0CH(#| z3wCjw^`xjK$FqQplgc7Ts)^HT16TSgsQ~^Dz~rl>sC|{1rT1t0eJan>m)G@08-9@C zLw?qlTz0GY%-3tivm?YYRMA9|m3`*!dLYX$z*<(6Q>;I$Tz(;iteoM~oh-KldBy?` z%E~&};`gaGC@X7ZF$SVBQdU$w$;u-{`(#CTn^zP@$Vwjt7H~x}n}UH@ei2`X7!f^= zi)FUbJ>6@-#jc=bMaW84)=5ZKY9z8EBnxD~AkU+Q$XQl+zV{@r#-t4UG3jpdqTE`& z48%|sO5_)v$j%YqE+2_A{f5ejeCPE)HpEbg3{!npLA#?C7%!!GxNuf7RH@vVC=lgx zHCq}gWX#QdZOnLzP?N8ZM3+lBMi44B5p|*~R<5j;YAj#bk_G@pfUD z9O06SqpG~o75iNrMG}Um3HY!Zuulo6Kyknw$l@=M;ZRvEi7C*LxP3(UdTC(&t8Yt+ zi{n3ucD_NtQ8*wzi@@aK=*;Yb0v>A!@L3ep^8FPec5x(3E{??L=Q#yDgcC&Zh1SK zc2oC1FH z38Hv%aU`u#QN0)y#i~(Rrb~Pl1Q?IH5+}?HaGN*4tAb}$1aDLVZ)#}f`zz9X`6R1i zY-(s+ys1%-i8nQdHB0TUpb>3q4C{+s9Aiq8nO?SGxd+JBGO#w&$|=6#UnDcFJS6s< ze;ywJwmX7@X8J7H;%QVHG}C9uqGO^l(oCy*GSe4{_L=GRCWR4Zx{m_ZP9(GAFkmxn zzW#7mSOT%dSBq_Fj{y0`A<$-8$jVF~BOx>qPD^X9+#W8Yob;u@uuOhr7DX7-|BjvAP z$9r+OI10@kg^E@#jw|$nrG9X|=LCgE54;DmKyLX+#^y!!${g4A?Y1?Mi(_i`L`8DQ z@nB_|ZnGo(E{@FxWlBsq#zN6_U7tE_7e_^Wj&ctXiq8|UKXO-BY1vo1II3pv5ZT31 zWs-}dqH=Lm=&g~cQf_)E6)ui@iIp28^TzT>;==8indowRRRzPvanqXO?@A(F`gS87 z4P@5*UL-%Hk>?^j??ft!0yEwX$q+M+Ih-A1p{{GN9 z=_gArj_Ef&UDqcKL=n%b#qzqoq#kT;_md-=yr~s0b`YZf8@ea2#>v za2#s$BhSMhEUwq-|@mnZG5~A|A@O6B??MLXQ*M)O% z^#$GXfzrwz0vOtUSn zuVfnRTq1Nhm#B8_T#{&M7d`bmg1l##$|KB^=n>n@Kp$J*7Qdy{{(;qu&jgTPUDszN z!&!}A6lsB~wmN5}0=%F*$kr9`Od6@RMhZU?rG~1UDi`njY76B;44NnuZ!=0lX{?3v zq^WcjgvzcK$_Y_RSiyv>6)d$Sb?R+Pm}XntY(>jfFrh=iRHat1L`w>mXhqOF zOnlplTG%A?17!nlvzoC>D@-m73`)VuL07!Iu21p7-?yY}(GP$)FH5g9k~OL7{sXR8DnWpIR*?A^3|a<#|vYl=^uP zlKS-yL8X3X{EK5!zrzi_KP?RECtOm$#HG|PHK)2s{T%I=qDuYT$lX^Z^*hvP=Vw4# z{e-O5FSR9Q>upPzW?Q^6(g~}d(4l^+QmbF0CG|_RBIq3^4){?kDcgwOw|JngohQ>n zwVWqs>3;ky4tYCLX3W(7Yymxux31E8(r;S3vJbN~g_tRy#XgfB;ygJ)HYbpQ*X4>+ zBP>GC-n>w3r~`wcRElTnIdFZ>leQfE_6Icwsa)wiDO|N%GwsEQ8-biJ2i8kF$|=5g zYdg<~NRINbIVY~D6ZZjGN&pTn?HmVNd@I$Y4ZY5j%Vg1a(HOb3qv{N`m-&<= z0S9iK$d36DI#(87lr%11ums%+Hg~iKuM{rOdH^CPF zg=&NPxIq@|h{i~LRQ05fJ1Ezuk42Nh2z~6Mz}X)6c?kxrkLK(9zZCi?wpi!4O5F)$ z5P;T4AuD~nn}qbSMxu{GGLS%4F(AaUhR9_{JX-jr%#w1VPPrqNs!R{75{tLWiaN1)t2Nr%dD0R){GiF0=9L{N%t9-_EE~ac zm`z2lEY3+8mrqDKvK>HN?}4?nDyJCxVv<(n>4}wqeJ~(v-oQa=-3PX~v^h*#_magp zh{i~1RrMsTHxccV*2yM?5z^X60Y3_nv}>fL)qEZQr;t{$#TTqCaMM7pv<6yQg{-7? zhJ>WGMk1|3GOfTM&qtWt)J2B2-4*0`re>hs@o2MUNTRs!3mVh3o4)!4b2x9I?#vNz z7{-ZgRso+jB;aAtxO~<+auA5SHn5&UzL{!+ z7H6I;=1??7&Y`NOIlP-_-yF_0DU6uIJ_?uwk<1RkfalPBJ@St+hhmE(I-Z6Tz{Reh z=TOLM4p&HM4r?THC?sbzfI*%k79y7&^f-4t&a08|M6_cfSmX29cc)O$*6Iz?;8tg^ z68Rn{vfTtMaz|pS-{KgN?>zIOAr?nu5ReH4xU)HMs+~te$>OAP<53{W^w=BoF|DP+9wro>Wd(XC+A7h+OJo= z*soWNwM@EJ?Ma05q)@%*3=&)CU;yVy>e0>#0-Ps-an8W8aGs0;%L*7I0-l}))$a$0 z*m;sLIZqOU-jV`DnjnfN=SkA)x9UZ|6^nk0I$dI?f*#lB3_zdNP{*l)^3;LKM772_ zgMo@(xJ}0qn&%AaF=?DL7^vN7_Ng{fpEKyCCg;gfVzYXb&9GMIh&I+ZO{YY58<2-E z$M<0&s{QYji2d(KH21$%n~^%C>K)N#^qj~=Ubap9->KBBN@Xe)2F+;~Z0>*KJQ>5a z&MefPj@Q$x%6ZZWURo4lE=uP~?~_-~lY3R;+Mt#;%{3%7Nfp4V1Pwb++IBwcbF!U# zK$o_2yD->J;jo=@o_q?nv$5ZL8FS5P*Z`bp~wl=-&-9uhV3~l4y)Hud1HR>tUjO=5?w`VT5_@ zqrfwgNM`deVDoCe{_AIBq{UV%KW+JZo8Ox1}O5Bb_H*s5&?x=SeSI*?Dpy z+BId`4d+ROHx*&<};$w7e* z=SkBjohOyB^Q0o9PYB3)(%mS}2n6xoa|CJ0f(P-F9+Qr06rY=l8|H*cBVX;9ndG*_ zj)QV!5B4bAqshC1^ZWj!Ak ztkc;wAoMfEU2`);>G@M}##&aHN zT*VF%3ui15A=A!S_oe)F-<-4Lj3uge#!@48#;QuD`{vXkJ7c*6cE(b-N@pw;w=-6{ zZ_eDb-z08u#!_XRvD6&SSgMCJmYQn2<@Tz0;fi6w{IFoA{^N|b`yVtaZ<-*$8Ec#X zXRPf`<(q%6RCbx5)!h(WeN3=Z2<8_BvkO4xRs>MUvyl?j(i!XFx&R(Us`D2w`16_P zr6UmQb%oj)>mi0dN|O?r)UuG(ge*nstb$u} zO>EFu2)u*Z8S7XNR?b*Qgh`z#ow3wB&R7Lm+kD?#ZwE2sID2Gx*W0`I` zV|mH~Upr$pkiE`WJsC}BEcHE+FP*VewsGH_MTC!@fo_* z3b@9JfK>y?QPf22n*FQh#oC5O1 z3G`EvkkwPt!zA>SR3mvx5)wNA4Dvh)i(Gcp`r6i!mkDxI;S+)@;Xa=Dr<*H@Gi zb;|XXM0#OZm3SRdR@6!BD;Cgr?h9GX74Vr{3u!*#;o1RYffiT`pK^*H``aXZ%0u{e z`(qwg199O24hr7{*kXoigTgmXmb6L1s2jCaJqh0)qJ6?Q)}$~(`1&aD!XuK|ZWyre znXiBPn-D&+)yf~S{G0{i%?q^f30Vo>IT8}S8j0`;$w72rkcTyq%Vrr`Trq(4eRCdr z&N_fRon5aitSEjN#O#c35AZ+YKbwBZLC%m@XrO0rwUt1f89vzb6e6V7K_64l|w1c>7vu$C3&6#s@X_3NDS zkd=KNnCmr29l=3a*$cL~hH8VdGD()kK*1NaIAb|*3MVONmCjgE?o1Sj za=Dr<4V7}DPHCtT>Gfe%!cZwI>V%=nEpZKJEDZ_HSTJN~EM*tdA7d)Abuk%ZRy#u7;w-c4{iyBgT1gcG1jCETI1XtV>XhF`kIRiqP{xqtO-Nn4#m zEXg7CvtF4y2xPMa7|WQ#((tqbPR$VD=P0P49GHqvfuOj8C?3m!F3)nH zLOqMI2tkbZ!A6fuvmqu+E=sc@mUz+yCbOZa%|^3yzuAcU<_d~d_syxn{eI3bow3rO zofPf-f_4G0k_4=|0%MWXF)xxThXQ95utZ7Fb|sI>MUom76^~I##n+>_f+!xN;_{4& z!Wb3Bs!^GzOWZyUj7MFG6DLi8+dObp!4(z32Zg}vmokd|73pnyl65f_Ni{BZ#;V7} zi=@MvrS@0Qh!#nQ^~KIuF{Q~&kD*ztw_{%T@)@u;)5 z95mBYV2eAbHfW~zkwwQuW2Bi@^<<_G674h7dz%zSnCU(WoZS-1Y#erMrp?!$zYa?v zwh%rW^7FvOuAt4dkd>LfNJ3`1Mq;Lg#FzquJa4ET%~?so>bT$#hwpPy?z& zb|aAA6UQII7FCPUDUqD9oYP#4R&C^OpQ?96m*I6H7x{8AI+fb1QkhDHQFYn{V=?+7 z9kw%8h~;sT;fy6wu``x3(z>#^OZUyq5G_7*PR4eP9+t-Tox)&jg<}aBXDq#k+Zjuh zx%wT*q7$&`jCGbYEKMn3UqZqDY>6PbUC9|sErOLkC2YePi{|W%rK-spOXZu+SQNn- z3s^a0xt(w~ax}FO7*#Kwu_8BDhiu}<6yX4<0#@K+T{}|QG{|@_4reT(+xeJ^*3MY; zfr?wi{n_i1;?8B6pTx)T-2A;%4sX}Zmh^gClU z8ApGD0Edy9X{6e@^Lh`fr~Bqqxp?a%esejFI%wd8I$@Mn(T(+S?rG8FAPzwsR(D%5 z#g4Md>moj^uBdPEaW&mHcRMuoL->^Mo4XwnwI4_{F^rew2V!16{UP(R+~DOAqr{7` z=4Hwq?J9_)=}*c_c{JTMb>G~ZAX~EY)b5*88AIMUpolk)bM=Ox^ zLG;v?j-B_mB}}s|u70CsA4C^A4x+0{eGom-(vDlA6+!PXvEx83mZwo9R->g(ao?Pk zrrH~DYQGh#x^FJDEBB))E=pFp&R(dYPLmF@-3nMEh}1+Q)y|zaRGn10xa|WL!G#z! zQ7B$!ltj>2i{Q9uE_M}!I=QV-Cr8=AauKVOqE;tY(|vQ_1kFof1z{p46P`rgPPfCV8nOq*5n0@&F{m zt*X(^e*qb8RUm71N^MDbdfO7F*%mH@bi(Q+bf}Z6)asOINu3g{2zrN!15ecAb0}6P zL0lGrNx^bqm~*L9Ip~U)_sv<&27alMY8{6%s15D6{_VZKLsvg)l$@|c-5j4RxP1JwN#~6twc+zm1srKJ520` zQ0s|*sp7G>c9}|#zIK_S`|$%ee5c6ibD6SLVADRRIY{M7mnq?@J(ZJMfyf>J;w=QM z7hsfAeC=OY)$uzbg*_SfYQuJ|JahyH7huM~7MK4##J|^NYBQEkL}TOvjH)xZa+$iC zXx{?NMw7yb1(-exoSzlRYz+py0As#>_e>~+*lOk1c&U3gkn=4-FTe;{Ex=5Y&;m@2 zWC2FVwqcNGu|edr^BUleAXDF5cfC{R;9L0-0-if{8r~35o{lVjzi&=eDL$uw zM_G}`O||JVl?ok-LJFc#(`71^nT;|EqDl8RE>lVW{OoMC@e5@Xzm?*lkjZ6AHRUp;uy^S~WJ*J- zcwZU2Ou4C6-<$ojqhz>DO$Q%WePC(4R5#ANx?AO{&@ocA%arvlT&6tbeH-la)}PLt z^rLsGQ;#|19aF@(`tYFD~8&YGetaU0e2 z>)NZ2hsc6C(HNBkjvZ78bv1%o?cA2uo4nGcZMrMKA5efLDqZ8Rl1?^l}d^FU! z{2T#i+ktF;0BdPgPVv5XCuvn4(mH3Kpu<4!n*$C?>mjhkA5m>kT4%|U%~LRHmsQo1 zwBAm%Pg-Z16h=sE9|a7wNM;vcz|v~IUj43+R>`&v0Bm;!IjN}`Xm>o?9J(S=y!M?M)3oQk`UG=0E!pO4`vk501}Cz; zmiJs)ynGm!uM_ZfVBlg`u%1KZ6ivz^;4#ie0pWrtM-#;KnOMsq3 zA*(sOnuO-CMly#&@_+#h@~r8KT((DJ#i3P#_G%oX8*`6AEyda^Mt=JF9e=igM#oAj;)xwzN3Pi8`glNu+a19{(Ov>uJez8RqP;*CeG-k4 zqOIylwC^L@C)&rF6h?@49|aEGi)2>7fJNJU{aH7LQEcJmU<-2@xY!l6XbV}1_7xHm z?HY+_3&~yxFv#-)B68U|Kgq>2P#nYYyXhmKx!us2J&Te!1)CN&WsCgUqUj7XjfguV^=*Dp8!E|1yMY9)m@%lb%n93t{AJ5bgJ4p2$w0L zdQSr+woW2Gyyd6?yu%3ijx1aAaT>rep9WA41vbc{BMRECQrh>r81RD22E)fZ0=IyG8MyhoPn?Xo35wr+GR=!URs32 zT$C(<7T#Da|_G@Puxoi?2mMYDXLbj zlFO7Qd0VEe(q+n05tz{~Qz}$#@5^OsgJ$BsxkJ&eDOWC2ZlIkz7;u>~w(6o>rY7M= z#;kOiQi~&CDn6Kj;vg!tVwK^FgW_v)Drq8gKd|o zXeb{~dD(d~`0$#tJ({dESwiF|#P2>ZT&8%3AkH0Jx^(ORr~Bq^x^HXiCH(&^|M&C% z(G%RQ#{V;ZXKU+w`2YCZx3(_wzvH2;trzkC;`Obq@8|zN@&7yg|BJP)t*_&MivPp> zH}50kKC_8Got)-!u0u~_Tw4b=W)@$+F?Po@W=GOIOW27tcRz@V)Ey$$8bgcU`+6(!Q^4oQN=d@g&`^ zHsSl#xK-^1UwE6F{m51HESh=^e?9l9rTf?l+AGwp(+4h#^yvc|dTLNF7T2zxCc5kH z1)vb^1tIny*tp|Gu)6Jzs{<)-j%^1ne~$$IKYuehPrHK)#|~`XwWb{Yrhk4H*sG2{ z{jS$v9-H7`%ky>h8=V{@zj%Q`#e z9MazLyz4RgfFN{dP-dqMj8YD6&0Pm0#}lUU zrdT|iXId!j12xDs9}WXQ{(4N;8{Fki z%5nodFuR@35eNA^0WOe0)8WW~@c0%Iu-2tS>*fXAr-||9A|Su-f53P!kqgD&|6%%Z zR|W+Ot~PAH^5Vd6I@`>jrl@|%ciAs2KHAe)EO+9Y3(~=nXS# zzxo%CX8JXy*4d~v{O7x_g@tGxxaZLqxvPJCGJdbs)7H(Ktpk@AUw?Vq9lKt8V6*&< zK5*sHomKMc)`2SsCj{CD?!m^2LB9D;&|Zy1M`PE{Jw}|sQGwR$&$RA1#Wjj+t(zaD zqbuzL1pa~dy8cmSZd?WPop06v+`9cPetx$uJo+PWv_^#!-2ceo!UHGTH$#SZ^zTa< z#|g=}c_qD-CQ@TxTT#R z5vks*-p!StTetI{@&9}L54EotkFh((U$9Q+FFeXBxvlaA!V6#ujCe72^o1m`e>OLF z;LuoGr>l^o1I6N+O~@VN82f^8v4Of-wv=l#m&T{nnLc}~`z0s1TDADbFY`&v=P_8_ zy??10Se^?58X^h71xFI1KK^Xk*u}yv0-_i_hOsaM$8*1TNUlT`Sovb+58nO57Dw4aff*$I;yV zvbO___ZKib(TFQ1(R~+l@Vv7#SLr!QP1HuTF>1TAfB#de?-F$4YEc#GRWO}O2i6#e$9gbQ~v!CbP1LorY{fxchuch5RlJww1vph}$1)(9AV6|N(T5!3NZ;Jw}Do;`%{d=pTxKc6iAV{2{htkmoDBQpI2x3CQ#vz?q2Mwfw&2@ zEcrG{!lgPCH-Qp)THFLmtaLuVNL*dI)Ta2s_NuwzCQ#7236wxLfjX6o9o+;JYu1o{Du%A2MLbQ36nZUS{GpL8m_hJc$u1y`>Y>`VyeI|Q?FAl(-M zsn=PjM74B2zZ@tPz(t2d&kt=;SE!xO&w=C{I@Cxvfx1w6<>xtRw;amd_saQPXpjzg z+Ha8XO`xPpd-{k7_$E+yGn~(b6s8CcO z4d)J6a1yebkdu+}yl@jJ{RkQ>fp<_lpP%T#`X*3eQfHF$`I?&7O`u}R&gbfC-9c^w zReJED>ZB^ldiRtcA`~h}F$XXdDF>WJi7rY~VSOo54!8-lVs8OFH-Q4t8Qla*PTT}a zByIvFqP$Dbe}M`}u;V6BBBk^BOj+g`RhiQHJjweCeT$KZn?PxhV?g55!r_>-TjkI^ zV4w5(1!|N-siCn<*AMmhYSM>@cHEAT+c`TUya%K)uf zMEF1>SUwmY#S40;n?RM~CQt%y0(Bxg;S#yBIDBGUKKn7Te-Ow<8?at)Qcm$>|2;jD zDv$Lhy`S?PO}$2U1P7i?vjwol4AlnLn~ssixcD7^)NZ4yr}d_LiT15G9cfY+{=k~| zQQ#&}k<1RmfY+PM*FU`_o?pdQE5F|Rk@|k*Vpq`XO+uE>vYEd6sP(2A$$FEJyz>Bq zJO>U$F1yd;-1RuGM#2-pO`y(+iD-2XU8MBtEkI^!Mv43;C$cF5zAPDu3Ex9R`-D&H(iMdf!q-QEO?{EfW?;a=XTDzdyCHmH ztNG2-#jd`2YT?sIOe^8Lk%WY=Mk0Jd;$H>~^1Q~2Tz1UXNdsIvpL^_i86}I)djR!V z!n+fN;wDf}ifUpCfN-g@>EVDGZQx2TQWfA02Uy+&N;GZ)ZIs@h>G!Ghbo#1Gw?2=C zyU~UpWO(kgPUNy%#f9I|jAutoA&(}KtepL*diOApg>hglE6OSU=>JTzqC8|J_KZ)l zy2mpXa8Op(!4_|(+Mukgk;NE@#zZCW71p|ZR{`6r!Mz-*t2 zbRskNuf8p5tFyZh?R=qQ+qFVHi}6unVtn7A(c^fhXy;eRV0jZL(YOh;QM%u3Tpu@q zVks);b2Z2pI)SD0c^b5Hp!imWy3cWDg45Z(K)n+30Y1gN-K-o6EGb|H3EHmYQMsR_ zMn%PAR8sMUD6Sxi$EdhGqoOcIMX_pBmgy3Yg}``{m$YGCfZPNMtO}l05mrD5;^Ub_ z`YY1g^d#$I`a&n;5;uWTJjNux&^f&JSI~&R&^d&fozG)RlbPPC+wzShg{0xCM(?V8edWM9|bdAJJ3(3zoFvv5}B4?Yx zO`sb8A zwtgygPNg!H3Zv?@3&yto4#YBU0<~DK1Jg~Q(&M9F&o(}&v_miMlJofyqQwvWR~g%d zhOxa#7>uoOY{u&*PzuIPphT`qnxq%Vrt|qGX;_+5z{;NjZUQApZssfl$MeR1t6jp@ z&gZ{Gb8!=>>ip3(RQzkva6VU&H)evB^SRpz_i9H|8-WpnrSo~@=IW4s(6YUXV2>2A zml-DnB9+a9jQ8Sn6DVnJ|4~skWWq1#2)*EJ1GwH3+`^*=-kn|`w|peimpGXY8Ldly z_1yZs`$*M^Y`!8n#BoEJrrYdDzw>#sL75Ws6Jw$1rJJu+!|HV01WLpw-1iWn_&kA~ z&y`kJ<0epL_6(7o&sC{O{++aMJnZOe#Ut&!ttg^MUg!6lJmK7F^h?UvjdZ;I0H9O zsQ4yO_tE1SlN-w`<>HBN0#%Vg=W|U-+ytupsCMZ+-=uj6wUYC>hJf4bfO0n`4${TLSs=5MLh>{1 zAYW6^>(ZBQ0#)VWJH;qw26bTIRHyjYMrj@0Si8Zkm`Ybcxb&HNOtGV^3A%_~`V{p| zX|Bc!=|4mEu}=IJN|A)9FA~$yVP7OBbk9X%%HiAtkdx&Qt#3+;Mu&0t2^0-h%-tc{ zgu6ox?hY6w?u<2eC*1X}f^hPCQtnD8KiA}khaMJR+h9Td)jdl)zwA-JMwcB56OWN1lmN3n>_?8Ntu-l)|;r6F0wcB5!CAYss zD}uadn0POx7Mt*B4CiI6LhIZ4uCW!X+COj#H(v60Wk0t~veU7W@ik*~oM|~8Dz^+Z zRBp*Z+}O#xX{3%RNGY5&l^UvYs$9JLH!YMiF=(PtoHR;8X>53&no9QwL8zSD3YBvd zljb5;IYq5sHlt2O+6k?+{cfXT}dNOXY5C@cjeApmM?`l}lVoNnYP9n~kXAV%Yn4lFNx^#C@=u_eO>OPBG+X7=NT{5u)GC)~N#zo)2=bm` z;wT!mIGt;i6WnISOG=mvL!(l;a?lm8?gmx%z%O1>zp>Ae$q9D#8}U}aqJWWE(Ma(n zccq4^pDGtO{kjEoUksoq6fZDJ0&1)U^n$5$6@>b^t@N0qX5qs{tbU4G{alTkJkX!w zOTSi2rx3MtK19mWDRhr?Du>lqAPXWiQ>&lbAIe=)KXdmQ+GKq8Hn@9*QR2>6b9XMd zQxNL+q}-M2=bD&odRTlzgFzu`26eQ=3<}-DpmNy26FTOvl!V|frj)fKbx`W(K}hP? zI|P;bnemU_BlX+U;QPJ8pnk$7^-Ekz{ZezPo7B(IBvaKmSL)|R=JTX}lZ|#>0n+Lx zWUYRwEh$@XTf#Kk;<1=cSp9?!^;4Bv{SqyyU!oO3?=W%xfLc%dix-dBwWGV=78cj# z=)Rlo#}DO@_a$YY~Xa^z7El zFmOx_7z|0@RG2$I3Hlt}ox=eE6<~j$QLc1!7p~gBx$sd@JrBee2v{%nD5v;WZRrq_ zqdaWR39oP82jp&0;NW7(PzbTbU4&k*xf95VKA;zSgsc{O?k1tdo*KzwkC3dK1A{!iKq8lI z*8q0}nfm4$@7@g$;v@mfwm_C%jmjpZM5Uv<6Zy_(PBzxu)7_w|ihNEeKqN#WH`S)2 zdnz;@g%m`grlWf*GZtkOM48Ib-I5dgeu`fDzyFyL81uCsF^fvkq767)2-(T|Gpr9*9_a&9lhm+#1w5Ry%C>{z~-VI7&-wjIGyG$Z7r6E;3 zs#Rs;Zcy+um7}{#rMp3ig`@ktW7XZDF7Gv`TKP_ZtR3C0cj<0W2B?2Ce_0RE?7R@L z^WsEyOaWh#CqRsh%O^i(*#Pn-d0?%N$|-*HSCc*}4}Bbyx@1>a&SbFv^n1D zj4P3EcOu)=W>c0D<4IR5M|UIgo!@&+Lto3ye33z*H@uP6Q45T?QV58%(jHkVSGZgj z<#IJ!?vW`c>XdtAsmg_6Rbn|;Sy3mJbG5)i9w%sJ_X67;!9i(V23x$3YJ<|cL>6Nw8Y87u z)swW|PqgpXW1&f5gtYci;Db3LncXRBufimmuR9k*TE!OE!Qg++x(9HvD`;sIvXWL^ z>M3chkw~kM{9*uuJganW>Ly^jE6DL6%|N^3(dOHHB#MP!_EW7F(Vp=5(EJB9=AAhL z?gn)tn^nN4H3&HAVqCuA->k=gd|Cro&!KXPNqF@Wfby8bW7giIKrUJX4$k2bu*K7< zHaLg#WHE=LF>(%7JjeFcZ1#pvSrEabAstCxTCFI435e)jfxTwpJgJ2DdtA zl*msxk*yKnXBUaFev4y7zVrOEhgcku!Qz}$fa|dXr`mZmlq^mvw-N=ST&`wIi=&*V zQ(Bx<<;1WmVR4idb<*)6%W3K8E{kJFcVUa~Twn&WD-WxmKEP1y5r&6N;do8)-Jt&E z9kPpp80j}!j_zmKzP@w|o+gO4ny4ObCv5(A0NEV})}pPP;sDKAw3UZw@3olh0pbt~ z92D(Iu*LJKHYnP=$)Zo9F;cWuJ&E=WMEgX0qDf(dX!lWwuT}8A0s|Ip^Yzg;#4w62 zRNvBh2)Ni4v}g-iiS`@`iFS=dw1s5Z8yMtSZx^|2OcRn`KpN*7uDoBP7MVTIyc^nX zZ{>wI(=P%SyMnQUFD$ZpP64~X1iWnuZeQa1Eh5^%SMk`vPsPuIptyo49y|Ch&knvq zZH95aml%pk*V19nU0J#t6jblYgT&T3xZ~uJ8sNpA;B@v7Fisvg=934?k&Y?gKpH{Y zmE7-#Nvhu}9{o>8|urF=v++HClAEE<{{1*ury7A)m+L% zwZ_SVfr_I}9;o2J$%BE~jb@)}BlXFHUTVG@ltzb%&FUlCtnQozB0Oi5$W8$h# zA*vnml!zViNHllERhyAoQ}vGMGI~zrB46%^r&1?XDpRR2XimFeb4OfvgL=5u8Ti^O z{W86(9NnFe5UQ)Sqr0BLwpEVq8>(?_P)pnB(xjTC3h=-fG~#Yhnk>HbI@!+0K$o_& z5C+>R9JbSUgIYwM&~}zvh5r(xOS{)48Pa~?rC-37`*esO6w}?HWK`yL%m(2Kzj%Dr z0a%+?em@V-{y+{ruG_zKTzL(7euoE#6PHLGwBt#!)mznpag%=JhbqKJz-& zq%gv~_ECt>kFl5nJ2tQ8>kYqwNpU>Mu-UeLk3fjC1S((?{Nyxm`NX)B{?pgF6WX^TUGfyKV#h zkVfTA69l>qlt8zEI+bsJP^s)P0k?q)u0AH%DFpM2g4qQivnc`y_1Q>?YTIt-9DA+{ zu;#BiJ-30@6>5j9lOXv*4=~*Z>Oz%67HS^1fvU~gAuF{1oC5BtYLM`4prk8@ED`W+ zpzdaJ$O6gl9}th4MrGXw>gIFx>bi6r=vk2nhb+bTwG##xJ<9ktP(nFmf%I*lB$GoH z7#y;I#n zZUfbb*#Ukb@D6H+tYbY`-v%m7>P+d7rRH@TC|T(?P-1llG2BWIamZ3dc^!$hs{9b4 zI2jB%;Q1v|4!8}Jx{#2h!unjK9B><`QfBWEG28`!(p0Q4vA7MCNZbYr0p%r!ED3hp z1`57($eJw6Ji`uIDpNXSC3#<=Z!r>a8z?0ZAMqIuS&GSIsvH~x`y8^?s8J53hQ|8X zbjb3Q1-^F3Y9M{MEQ<)|9>8)MC5o>r;5JZjTEit^4cCe6 zm;%;t30P+^E??J!LG}=kmjGb>T%?@hFMl>Y7b%bDqK$u0@yCE%;|CmkE-Jtle@wN( z=b{T_!H{T-d@fS;^jvg>Xy0?uxh91X&qaL{cvuw4>K$I1A(u#@&G@kTAR&xbB_*+QxlOC=IfPA?cSPP$W zikJON5tCg zBV?tI0tb#nGMj+`%ZmBx{#3|{*y0$Cr~5LH4?zMgD?(PXa)pFsrA8tvLShGjL7vBR zk@JjWs65H5F)71-OuENELFv_df%-{NBEQ>->=*&RC6QR}H&jOCJAd}7A%;q1nCc@6 zaL97t6pm8PDjl+-+a=Dr<4V7}DPHCtT>A7K5!cZwI>V%=nEpZKpEDZ?`Suhm0 zfl4@E_>)XUwj?HF%!)~2SjP~qbjTu#Ll&^#Axk7-csBvJfdc!KZ~|1RggaCgW97iA z;n%Ej73oA~?q7Xd(pKk~R_pjGz1QMy2lCbejD<^KX?RWntE2?&Tot?kcqb7p0IGN_ z0H)%HKu}yk6psZ!muCS`p`OLq2_nWDV57&S*$|T@7p2({OFZcU%iBPS#%-XD(*0)R zdOKtll&BoC)F9vg1eOk2Y0yrBVzXJ@=S}xh8tu!#SQd56%c9DmK%s!GEdo9rB4)Lm zyPb$eMa5%OQt=B>TtO6%QE_=jMPZDJV%4b3(ZyBKyCvCRs~m71ba>p zpXMaeUyIP6Uj^~kK)t*dAt$GZJ@wGGd%^i_z9{Fn(2LH(J|2&X{J>@ndyT>`^@y- zCWR4Zx{m_)Uy5Y50s}VF=IdFn2}>Zh@Eo_LeE`UF4bWy<$jVGVNJ3`1Mq;Lgq&Ai1M#Kpq1gy3Q*&(M0OvLCsW7o#uin}&nb}{vYgXgepYSdZ&}ql zqRa3)k&Aq}{G3WHsZ^#?VN{)V!B~F2NQdJ#P$KwC0Ml)t#NswkB55UA+?BV15-r|y zn~d!OJuHpwTZO^c3df?cZUd!Y+y+X7+dzRFtN=D0vXa@I0u3`xaYYR&9!m5+FNdrd zWpaYO#x@+XXfAF8Rc<(BseIERiy}B=0V{_rw-YW$j;1yOqw1wYR^;aDkWKuUB3Nk! z)#_oSvT2aJ*We?u17Vyo!2=-13o3-}&UFL`Ew) zWNna}ZUYr%Uf(N{Lk<`!({!61>37I#HYihKeqt;XO%7S=ble6?#3!+?Xnhd{Cmpwe zl2%vaHc+s=Lln1xQl`8Ol&Eh5C5*3#x=QJgrKZzupv20hRW)XZEM@by?3sx!a~r5| zcE~E^SjDIG9c1Ui%_@-D*+`|lGm&x;7JecXMe@i?4q3*xp`@@=5xaef9U=c@1fkJ#>N@^l)(%pmNAc8nUb`ZUa^Dyz(|sCYEM56mT0T zS#cYv%CH0B+>Yy~JJytuZUa>&U#HeNV%{trWD^Ql=8n{OBgL1(lp1eJgdlJel)LhHx@+>a0(w}y4$38iLevcEY7R3fbPt2dY3G7z{z`R7gPPd%lxoAmgOHA= z_YOgIJl%|c?~m$d=#~cG*9*hXkZ|dEdg4-tK~r;S4ux?v$y6mp)$w#U^5>AWcgSp` zod-dNLl(&TczS9}+Sl8bFwM61Tbg}5UFbNTt}6BM^h8VhaEVp~dCxH6H%%=brO_BR zf2B9+#?Vl+(9iOhRZ3SmWQ7Lieq6;R+2uQhgapg!AUmgk=kG|JZKU`}m{LPkPL+!n zzRE&56N4rS#kEFBD2=sHo-viKf>1fP6)NW_3n4CIl~dFz=W0BAAyP$gxRyvEYKc5d z$`UDbk3=emJy{^zF%Yd)E*c%iT~ax7cMEMYG1Cq1UTl=OGuGU#yX##Ap>j{kU8!=e zi4CWR#n&_#6ryJEc2Z_g=pF`@)6NCc{FN$~1~swiDV5535R%IE4nd`IX8gVXK`M7+ zgYQ2P29*;osa)bx3YMBvT?;1rTZ$%`s-&n=IXCh{KT_FI~*azcm7sYXeTtDGPQW`Icvb75dmnpY0G;-y2D zHFDq=FR9-llo|D#b&$;{z=TI?x{=~%T&bbzr^>}!|GfotUksoq6eo<5fEsH7oidfK zf>1xV73$|GYaT9Q^;6X9=V~|)AYR35AzS_+2vJMtHKZ(^Lib3ga`0FHwzAtGTB~0) zI*hxde&+7Ohs@pH26yi=O57Q1?)JIsT?L_jPs&}Xey)k(rH925luHJMs2RMTlo=Gd zhe74AGAneX&Fq z{SvJR@}6Ph)7jK|;$OUY#I7B({I-xBvgm&NP!4%t+D&H66gQ8ev+*8QI%I8tsU5PE z&l`wI4{^vUWF2zZh3j&~kppRd-)^N)*h2Dyp;U_J`kHCk_JfeE`;rJ<2J5!>De=)LK1GnQ&Z zW8`9wsx!F0d6a11V$VjC!idG5J_;Nk6Upol40y4}d_C`$PzbTbO^05uDS*7z0KM2F zWVP6{K|+f?HIl_1A$fHH26+@luqA~)5hLslwuE($4#LQRLPROW1yQ4nP+hb&7@I^hK; z4Tr31u^}9?B)zpm*0dzDa>!DimjM*vrAm764m)J+euZxy1zkC0CH<2{aRhhVX6nyQFrBdOLWnTV>&)a*!0zS%{M_t})PPOtK z16ey{S?|)#qpZgCZ|2Wy+Zgu<0?tS~k9u>*# zI1E@H&DZ}v8~P}=xa-m?wFX@53R)k9tn_i6g!HjSqK`td$PEngc<+c@cF^P8^*FCa z!V|%vEa${T;E=`MHx60a9LFI`iF~^g*`_v|vXmH4x>`GAg}%P(Qw@Es9I}GIhBvZ0 zYJm|~3P&ktl@3`^u5h_5%H?Xd+#^#?)G7DK)I-^VVO3%|S6NXfmUFehUpr)3Vuv3+ z+535q!6X6qGCPq?D8OrzfTuF!@+kt21p@gJDX^AS~UHcjB5 zw61|IZlv1aug6KU7(3AzDXprWr1fE(%7J$^Dy8!G+*D! zIO@ShY{8X{#(5xq=|In+kkuSsB%wL1k<6ix9F7GBd5o#ZWqUl%U61o>Bs>vZ%ITb# z2pqCdP#m(P!8l|ok)LuRTO+{xAQEH!7RQKu=a>Ixh{X{Z%)&_pIAl3+3P&ktl@3`^ zZY2stxm?Yb7DqWzr?fbU^oe0r!r~|^>ZIdCmebN9OVVnGEMbec`~WkMU3sti=>rVK zZwbSk2*+!RZyu#&?-l{PO$%9WD)c&Jsfp_0cEOWzClE(_U@h9pDITObi?;F*?PZI} zJwR?A1rCb#64>HRR2vlS1+wUqXp9tXRZpUQAJIP1KGvi#LbUrRut6x2*%Ay`w9VJS zm&7oNExcJQou`0!UjQxILRO;vFbRovjYPDC#QFh)JVzu%E<5)D^BIPxKG*OFXr#@V zJjPD6-4pqx69LSh0$-tqTdvsmqh34aeeXt^on#K&KZ>F z5L70rHBKH3R2+5kpdORP$%BE~jb@)}BlXFHUTVI1lr9ewo7KCuS>0IxB0R^G$c_Se zdUSjf3sLQer$lnda!zwcT(udgc~$R-t_D?!T;$6g@lM^ zXBKMjsmruoJ7g&#hb(odcF58*Si>Ppg{}>1X&YUdRFmAG01u2oBW@mrK=IlGvYn5C zE^X%z3xn+x4%_LQM=c_y|BBvn7=~Wk+1PPa)6Jt0sm$vU8-&|| z96kcp=2bbxE9sHVtMZt|HJhpjf!sU_95k;d!4}_3wL$Z`LKgET8Y9iCsweY$ifEsC zJ<+5v!o2oT;0IVFvtuw|^J>06`|o0;#a1hS#1`@_kPB3RHm^cf=Jgy2nb#VLc@+{D zRA7+Dty|=LP^5IoTF{K8?Q45GoneZqRjcHXuLaJ;Ur9+kykNW0OBBRd?_~ucyU7i{+yRF`n1!>8G2k|A3Nk<(o zzVFxVkY!XF`8Y3Ea>mW0?x}-vC*L=Z#>m@^JwIa>j6=#z2`~uAtYt{ zdi>gN*9?v0)HUs3bxK|7+@QqiY%c-Rg;UoaVw_9?>XanEqr~((dOF)( z#jYmi(%A&DySgGm+D=`!q`c(RQp>Tty9}hUCMx0rQyZ_j|@Uq6EYX66$Q8En%JOmDDVzyr>@x^ ztem=Lgh`z#ox0RKPF?F{g;Q5=2QmKS40GyIMR_julpi7#CxameNLZvC@F);nyr6)G z@JKnhHJ79Yd;5s-a0-;BE?Ro+)TJVJ>e@_s$*D_%ZKo~`QR&oGm3fApx>Tlg>MDrS z{tA7Ik+4&j<_M=Q@fl8CirJ})2#f;zwn>($Q4XbsWuVS5HRM zsY`uNT61wL1S{1)Vtp)`6YKW)-jwOu%}Carr(!4O|c8 zRs>-EY^9vyi~G~FmGXGDI`oekty_S6z6Ut?Y&8qE_ypAkpRH!df+5iu`D~@?>DlTw zqJ7U+(@hE^o~`;QutO)3*%S=;*~)zV#&^fFmDpnS^@>W20lC#3=w~Y-t7ofm5_-0( zkvv-o$!iuc$n$0?a@oNTi_fmdc{LKA2-bm}6BB_`7mFA;b!n9Yr!FP(o1Dm|2yp6( z#BoHh*Qra0eCH?MKV(%#WDxRw3UKOj;1teQ&MKX{qTJpn5an_;Tdv9|C+d`|GKuu$ zuqyEqqpYZtR%I-p@w6DSnk(RO*Fu_4dbq9u@)irMg-p#%?jz~r5wsJ%0qrT1sEpvx1)rBhe5 z;RhM+z@h+FNp`Dv-FIrnv&le36VB(L{CV~60U!tEfwinCrNmi7HtQ`M>ir)+5 zn{2>ASy={Kd>7RQWo3yh_!W(jvZCrqR_-U-Co2n03L|8tj{;8=BAKnhfMvye72grE zBDPxjZC6xc4!GDAw5$kO$;vzl$x4kxR)l0N0vP0(`tyqK^*DD|2->SLDZ_qDy2t;9 z(yR9ZF;q)RC_eF=A%HA z%hhaYsFV|RN<)=M&kd`RR$Hn%VW@ITT*IkLLxNKm4B4qm*~P1FU@EdDG1>N*75}R+ ztc3_yI&~4nsSDWe)FqNIyn%k5&K?8yDPaMsRKkm)gesd?)=RHPG`xqtO-Nn4$B z@-=GZX9-wQ1#%M|Fcv?BrQvl2JaQ6n(oIl{i06rD5mCis5iu2C13_^GQ9KqAU7kfm zg?dio&5;;%8a*z}hM0texhTzs5B!&+VL90D?+vr1$K zwVG_m=bW)c)e?3}B&ROtG?%bd8~K}7^^WK=yiVjIUoK&%Qd26GsZ30x48~SC7M^kH(tEg_x>WhP zq)B>#Y&vx%vpWG=vZ8-+3!>KDZJ719;a!65`rrYdDzf)JUL75U0 zjSx@xDc=v}$%pp>1uR3f_8H1I-}`mXAU^hO9?x5DFRE8+j0Fk;_k}f)a6XP;dTBWZ+HjUyaIlh zBQ@7Zv1+2!&?D}uT%7$jzq!nz4h)MSR3v zQ6F)4HH3#F+{LdzR=o%PJkvx_YVuh&yaBGhJ2ot#YX?DOhh?!Zh33Z)vv52^}h@Dz(ZbT2i@0D}uadn0R!j7M}*T z$_Z|>;w2@_g<;U8a^;{aUOIJI6$gItX8fzzIjM2t#mhlR z=bfZ1okI6Wr*in<43LAs5UtfO8Xd-6Qa^Jy7ToP^aQE4NC5FYFvF2{cUGFLg^?Oq8 zO7(M1-f-w)@m4683<^;*cn>KvD0B~l%4z3Xp*T)iYoPUBTs|jaO!Hb^I6&nr!J7S`lYs{ zY`tv>(`;+MrP=Bybf}-I)asXLN&OP72=bm`!faFPiGT6p5xaKk@)K}!>Z1GcLpkJq zX*ZcMQ&-+#YNsycv;1e$L!7$SWgT+;AYYd&jvPqy`*tgZV%3lQU?`R1 zDSLvPKBq1fW^C4inuAoXbm|hW+P_&pFRBj#`648+UhGj$@zAwa7>1LSp0d5ZeLJw- z5gc6XnFm|Eg=*4_L?p8_FyO@= z^L5Mr6bd1>*b=>>61M-xJO5{7oA8f3-C#Nn|mEQ&%c;BFZR;GL=)8B`5a%6m2+lZNiHe8^Wne(px)q?IyE!>QbJU0sPDvZ=>(9 zQ`f)yCOLHpT{(3n{gXv5Wt}{h|i-i-}UIpC4Mu3Zjaru~+ z3$GwYe7PQ2>!Wgt>#s@rs66!X>_1AB9tO5Mf`j^a25j;5R2$UCb+TYbG)C&9swaIs zPqa@T*P0YY=wlxRb{j-88;2e1qxm}ZoX|(H#i8meDzOK+*cG%s3R&sn^(3T^H4=Rk zlC=(CkY~Hoqq*n9;)9rS5z^X6fiu}6 znT?B@oVvtu@vPlRT4Ae|U$I}-CXkQe04=RTR?<3_j`h|^q*X|E-+ioCJ!Z2Zpn75GeOYGcQ}!aS>AJHaoe47`PuVg@L?cZ zh`@Rdl~cUU?eXlWJS@(Pe@$-!wmX7@b2tsQ_+6?E&fyeU%%NzEoI_Plb9f8UzB%02 zq%dL*`zWx`Ba+!U81NjLua`e7=1^?4@`G1YVg|U_74#emS$Mc3oJ8VOGXS6X`pVj^(rLP2rrk_O|{r9^(piENF4hqOqH^;;Yx@|_>~ zgCQ12Wb}xj0DlPwPT_3jtkS6~%B@6!D3`0*(&8v5>Xa5Ikv=i3N?06aMV)kf$m_MG zQ z9s}ZT39Ln1ImO3mj<-Ra6i6Z3oByb}y9{i11P4WX18i}IYJ;L(kVT(FW29)SdJ^sJ zgQ9(*NnwO&_fgFdSMk`vPsNu(P+UP2j~#rMX9r)Qo=@54{eL-oA1J$ytIW3($w3n= zED{3(3|2sa4l;uPu_8v|MS0H}dO*&IhXDbCh_Q!h1~K#-91vhbi`L2X&GiATg)j6B zGSdTovl>QkXuu5};+tuLK}|5B10K>z1nB`K9K`}UU`WRi?)Uq?UFXmJ7klWndRNu1 zs$I3K_O5eIo%-$}#sel@tKL$?SGL6JJ$aDSn#Fut`K%h?!JdHMzJy)o+AL| zIRur7YK@Zz0~HJ8(f5l4&ooaS)ML^(c`#6Wx>5Vp^lol=@0yL&Cl7k13Dh;pY?cn` zWp(Eu6yq6JBHIsT3&Zg(R*342cuFKtmvfqL#8n%G_o{kFa_P1cxx|-m#8as~DwU~J zEND)cjvIHDPhF&+9!dB35m=K6!7wDz4m@ejI`9^H;r$q#8D`}R1fv?DrU93 z-c3TwYt3YN6_ew^&=Aj!?N!CcHS*~zTc?O~$9+bD5mWO_QMGH8KwX~X9htJ&yfdiF zRuP=hpe_}vjuHsewMsJq>N*(hT5<*Ias%uIs+|E)m$_9J1?t*Dh8D9D)TI(NsLSQq z7{D#(BygCm2B=Hf5@b-9d&Kr_*rHPLl`YFCL0w81)TPMiGXny3xf|uFfe_xiCxCOA z-Cpt}v^%O%e9t!<)MZv0d6r!dT8P|{T+cx{vI2EQp?I6dj;=PM*QjSuS2UDwNRD=U zA1A^kOxYeyF2Ifplf*48lm+1Tv6hFyYrXidY>iP7K-Si~6fA8Lv^qDGxRPxUXwF*s zRbp4Nb!Y&xo+hSi;FWBR*bc{@BIeTBDzWoj2_bDj)~z(6yadQ{mH=6jXh4=4Fd(Zc znE+YpkO5gL8h|Wys{~}JcoUFiZQ74Y8vt3V3?NI*0mxE4zOtpJ+HSeMBt6<4>A-H6 zsQV5eYxR#c9FMLL0LWS<0Fd>#Q~82Z*<%E)?!4&ICDG2DX#R+3b`i>KN&rSZ9VtmI z0a*{$1wa*%=mBI+)fH+$))|;HU9}Q`ETtQOEIinNEcd+zWQF&yE8y^CLxccX5>WxN zBtU?y=wBK`s#$AWI?wkfoTm=v?z8Wdz7l-v!8mDL|H02|yMc z09nuk$T~sEXySm|0gqKqWaA3h z!zJLh(Y$=#SMp0xF!Rv*zDPO6E>Igb`U$hLj_&TZ$-WM&B zB{Nqr3KOI1>AvVGqJ8&83rz_l?u+^)uo)zg*#ZjqzQ}rw-4gdjQj0f5H&x;+6vRK& z_eEk>_eBqo(0x(OGYEHU!kJO9&=9Tkbe$PX$2kmbNBRwHMXfUGDt9tEOYu4c;} z73D;oaz`bJ-Z!jDJb)-G>ZBbN8))3=g{|faI2s1Unl5^{9)|L(aM0TLlv6yjBN?Ca zC|-CXuR+;ngbo_t2HfIlstp?7I$0Q>WQ;UERZqtEEYUvWTWd-fVSIfOc%qWXYz_r% zeAa8`rD1$htCc@^QzgzpXS$*`J~1ofnE9BN6>a!Nrrn8kE7!VJTp!bnXIpMBk0z3>?6Y=vKmqSTYgGRZq5ZE9LrZrD#eRVJm$S*yMJf$5Ftx zV!ghJ5z(Wv)Z!J|O=Kk0ZAHw=R-PsyTdA4YikRFeL3wDqs<>#_3Xct*Se00)lofSip~`J>=YLc89*ZxTIO1grKo$xakfrS6 zspogFk1;DHW6X-*5QoVTuLNWf1&{^p2V^BDTt(EC>`7>!6RyB2o$v|b7@*2>!S*Fx zk6Ftq(uvI6SADOfT;{b~$EW4I7k3vFbTu?KF2!Y}_bFgkf`CIFqS^pFN<JBuR~m zipQv=;`32lK@^Wsad}2XVT_7m)u`wOxSe~5{4^kQ;#G{)@xWCDPr;&7lLX!t)y(%- zq_-=LVr+|QTnxyn$Hd#B!hmQ2NfEM?pxkKqefL=zxO-ch{qV_Iyd>0!Cp z-Xji+t$1u21IW^IxB*$Jd?0y}9w3{5thDSF6hRrM_~CF0aZ^$PveY6c)Z})F+W=(I zoB>&?ngCfU-vne)1V9$F0%WhM3w2j-n+XD{^yn$UA9^Duzuf-70qvBb9BE z7th53$P$~EN~*!K5@%ee=mm$Z;Psv~5+6VCF6u66^3yBsEZd)JB(-QIK-N6T0A!_R zCo7Rd4j3xaa+@9L2V^xH)KX%>F&2s@K$bdfK$aptiFH}3VSxk&WGSt#8juyeYYveC zSt^qNS&9mfrO=zJQKj5ARVn~kYOvf|Rb&3jmJ4&~qg3j0dr1WYkTv^ZV*EyggY29F z+%-~DkxF@!k#Z5h^pT1pdE_NPmU(Fwqm;9Qlccx|fI{*G$Z~&TJY#ZWd!^hw5g^NI z3<9z=B?e?kUtC_r5+EzwN`Nded2I_7AnWSiv355EMkNEXVyx0uV%$sxAZuZ0opi|( zAZrfcH6TkKh$Eg-izOf{dB`zkwL5mB@+({O>N{KG3XXW+%YdwXDhj&CxgFP!@P~Pj_1}#g1~*=OR9yuBeZvyBg~<$FGaOdp53xawIY8)7v*m`SiBfJ*T&o!}S0P z_8Xz~@$_hPn0D!Sy0!Zb+C;lk4ej1wmb5e1+AX;2T?KJG{ROovkEgpPS33N=xV@pE z7`1}8lCpwg_b8|w4y=eB^H;h<8q}nwr&M>+9)xr}y>|$z{cm&`y0@YC?})=? zNW64BJ!z@Kps6|4O~=z6O*U0oQFT1sjokOQI}#wP(asxS1|SP&eLOw2rNijGZHd!t zi%;><2_H`vJC3KTN_{*%$q~UTG9b~f#*t>|-bR)&F1Eq$#oGKSjeZ)pN5rZZP#aqpiQJQO` zJZC9g1>tgTD_qV|PG`7?T~1NEoU5_KVN%79Ay&7azIMT=E%FXhwn&xhu}I}`uLxy# z8KJeyMWe&COD<>a{%X_O9cyU!ezT;Vxz=vVUGFLgmwQ3&N|$p@9t-JV@n4W!Dkw&+ z;9aDwpx8YMDu>Vfh#m7+x?CF6q^74-F6Ti=F4sE*mCIT2fBn~TxuXrezg`?%PQ2uD zNlUq0YEE^N%Q>2Cs<++-T?hFawYUvv#@EmK?0NEpeJ{@%2_ZVV4s- zTuxPLmrJtba!FPMdCxHM+dS0bH!z!h(wuZo>r zU`_O#;2_(g9V7)a+iaxxeveW^-A|Q^d;ZD>dN2l15{iFjmJHNf8)#uET?OHOZY$i+ zQT9C4m*6OB_j5JYB`#UT4#bw$DMoFbS4r7A#qP0A<*;%=`Ryu%*6tUL4%05VpSAnm zzqEGa4ed^wCGE_$b{nCcf^feV)UI?t*JMwY9u}X6h8ch?n6>+*w&ZNRZHd!t>xiw{?k9G*pQ_aEmt@KPlB@{wo?+s5 z&ZzZ?uXu5bT?4YxZT8EMyqE6Bg>uOAk}_kaj%4*?Q3=SJ$46^Gmh##Dv*;m!tU0X? zxh}{Da>cO&d4Av9O0ifA$q$86Dejl`NZbd=QeiZ>7}6Z1awQ;3yz2eUL2pmo1!V&f zT5t9!r#SFo`4E<)Jl33bZ=5_0ZFfWmH+$CL7PnJP-p~ukS|y9VOUB5}9#v;>1<1Na zv~RO#r72;=W>234zylJQ9Yz6f_E@jqD#9V87Kfm3s>BMEgPTxq_J~<+_N3vz zvqwyB_Msu3V?|dLe^>+D5oPLEJ$c$MX>~6BwFmJc0i~d96`7UokrP#bEG6>YU-%=9 zJ@*92QdMSmS^>5q5xJ!{0a>ZgxhSL{3N-;)smxTAQ4nP+K$a~h-uo%q0A#J9i#Hnr zkR|J_0a=?$RbSasp0@!MNl&A1=XPVe_?5rd0U%543XqljPwS7P@$eeOXDA*HnE+X; zDL|IO-fa@qEf-S7`^p%QW%;eXT?7DGk`{ohq(=f|C8tUo2~NfSb`8ifGXPnh^1he( zd*7pp>+B%_9^phbrhxCT5%A{7ynMTvFg}m-QY1VPJZ-+mBjAYu zkj1-i09krD&StC<`A#RYtqn;|iCxK8Yd}``>o@&S!(S^vRtVTc09zkwfe}{&p zKvtA1TrP`pxtcBCktrwYl<&yYLwsdpSe4k$RaVrA?Od%wH6Y6t+aC6|aA{cxpjKy* zpp{>CBAZvx&XvV}oO$^w0Y5qb<)ksRwpQg7fBEOhT9t>j?)e)PzZJ^XG<48fcfl?G zm}-O8Iz|>_CmAEHRn?QV-a)j_TDJf^RT4&6Yo7!j|0FV7LjhZ>^~(M%tW|39OgSL=PS z_R=Sq!%bOzt5XmFs&gV+R{*Gvfa{`p`7!&*Q79*hq4gXpr+5vz`VK&O%;BQF_cD}z zK?mn>0dDaMstwNJJXy?uWQ?3cRZnyH1kt`ZoNG!LF^7E;Ks`%jHh}`3L+kaM8!?Ac zi!XrOREfu-yfK7&4#lkI@Cg!{!o_QYEO{`1EG6A11jvdjb@LSgy6NIfo`QZrmYS$;ZqIl!PDA;C9JDrV_yNJ8UWgSgD+7H`@aI|V!|!SfsZ+llB6zKX{i{8W51iYtiX z@dn@Jd4sP|_oqAq660o>u2pX-0+1zE@5zIt))~x)Q)+5}D=Ptqt)Ox8z%idZP!0vw z6tHd+v|Y*lzClv`R`KX}D!v-U6-4pqx69LSh0$-tqTfj0D~rz6<2Ym+D}VC{KzR;9 zWujW+XQe((gesFWj0IK z^y0g-0mXRMmB^m<%W6?9h83cEBc2iokma1_8*$Y};Z;@dNG{!WBA58`jd&`xqEeYk z#e(Lv3pU?~1IUWunn3*;J@qVY*MKY~FhVg|E=oX_?!g*g*;1i9L)tBx{v(-&q!zhJ z0am(@VL+DG&K>X5+Ia(Zxpsc!z2WrYv33fO^&-~J#v6FGd%$Y7{J!vd1<10m2M9*d zYI!~B1>pn~G0=K>RZj8O^vKJr@|eY0FI5+yeC!N5xV%ooE!L?vxV)Yt3zZ~eq0)q4Gh^%!ZX#oh5ul~{nzbVa?qidikMizKwX z)=ZXHF}V?fhIrn=T~&OH0WJYq2Z?jHc36SYPUo1SYS$_OvOLKS~ zSt?W=B@iHMo@N4&wJX}SWZIo6B-IVHa|Z)}EOVA*SuP)d ztSNPTn5_mNOW6`+K$d&dbEF~wS(Z@(vXn3&OOerM1_a1*H_B53A-s1_AZ=N2BkoCP zcT}Ue`uPTAnUzMKW!HliB6lR$b5M?~09jEe-lnmmtBvRd>KTyb_IbXN9PRc#OoaU* zWqUNa&Nwbi63-3L1jt(dw~R1b@Boa?FAG*PHujRS+h+c=zpG_-KyWZ6l{s==2!-2b ze)N9}$F)pNa9oQHmKF$FoyU~8lFbpQQJ&k0UCAy&bubc$F)>{_uVk}T>_We%1R9s!U{(}@h z!9gt26YWQ(4LB}U2FIo5z;US_I4(8ScFXN0>A}s7XnsM|eFw)izphbvbdCTV*F^$w zTn{^yPdk-8NYLt@6J2^hv@<1|pB2p}p>$sY@Uc^olGGB%b#GmOWBDX{a9k60g&N0o z80Jh@tptus=?0Dq$2X44eXns`v1qI-0DI67Asm-PR5&gP5RNOlnQ&Y%Ii3s!&D*F9 zjw>|CC8EM{Nkrhd6yqYf=9=S_5spiJ7mf?2a9ma;a9nV}aX}M~Yd+ zIpVaxK;L2{jN{TA@!%mn1IMM9y_*O)E@>-hf+f$lkCB9dCG!c{W_72DPZfDfVJGb ze2;GcZiVt81ZaIbrJQ1ZE!|EjkK3v7EsfTGXuBgicssQZZqcIJ;O*32vQS7eM&3@T zdb*uDM6~aAYEM(bh})??2_V)aGTVy+zMZmOhyNgMr=%88;F~J34h6mo_3f0H)$P;< z3EfWBOm3&d1n~k5@jNzNRs80<^z3?^mm=YbVC&a25EB88i+u}lT-w+G$E8Gmw-ec6 z0`{yUF^38E;<&`fci*@VBe-wpdE94vqulzH7>xX&0&rXooWf_FRpPj!+;|j-a=Dr< zH)50%b;^yHBzoVlD)HQ+tf-SVVr-ysgBZ4&D**eZ5#lgG4A=WL?l+;e@hPYH{C6ee zQy#@ndLmCi+a1wC! zG)o`JbbTrh4c~J8>t4eaNjKW?jZC`}>sGFHt9aG#X~wfPx0go~$yP3Eu(F4tVE&-B ztthAXsB5x~r#x(B@?$D~KeXKu9ki7*aElG94cf{nvd~vDM%s$1CtG=dXrHZ|Y)Tkm zD}5613W?0-P{6igy?)}IVJlLrl^^{Fl{gHY>5AG`#H?)P7zx=*&BRv3>L3&u1H+$U#QH;cYpmGhb&YQ!&FZx z0LSIPDezU!Dsfy zaVfjl`MXR-HVZF}S@AckF*)LuI4+{#xS;(wuH=OCh`N$pg7!J#9IVm_A0dtbsw@|5 zU()q-c2Pw-k(v9d@0FCZk?h@J^cM;65hy+ajr~q>8R=;SJVX%iydk=CmMvN$+Ba13 z*f&hY&%vO$f+!yQhAz*(p+en@u`ff6MjJgYmklXdYEdp5QVH{ere#A>FB{F${maH@ zy;?VOzI(kbi``T;c*OVlC5|f%+F_=SAL3E>xhxZ~ISY;5RL8uVsvHXJQo!0tz!yP8 zH7fgwXjD`@MkN&=gF$fxQ9MS)tgp(OP`-8!^)fAHwM=i3&@x>!S*FG0g#1ztS%n!$1DIovodRX&hBNe_@s99LR)S74)zQ~XvqH5)iCwaA-7 zx!oX+i{^~uQq_dxQu!v1iz48-pcRhG?F3TEQ8pXYMsO4@aa@s`t3%#^n^iG>Za_h` z=@_YO6=pma2aZc@&MB)X%Ss%CouU`)Si|c*pd>zi;LXoOv`O{q#wuCY*0&yI-bTt(d$RBP ztHyDuX73Og$E7j}$EB!nTnfD>8&%5PR;2>RHA}4AkzF;HTM`%MRi9=iy4+q;!N75y z`mkEhPddmZ6kuJEIu@yvcQ{fm!h>0)qDUTj3CCq#%wm$@?BFCR&fq8cks=(I`xBju z$&Kxma`QwuE~_z!@+$sBm1judsGE1V$y}xZFtc zE`IA@A_K>@@jr&uNtZ0)xTY9ha9oEz$qy>>KpgQP!EM>T;3W^)>v`ye?DS!+b83hS zfC5hO5*Wv&2r5Nx$Mxe>d-$MnT+VED#&r&xy9Ec?UIkp3BekcIV%J2ep{Lqax%dGo z3XThRVBjR7xZf;ox0~y8-@7cOs~}FbyRDdFM*-Tqh(RTa`c%8C@l(8*fAPhL)wNKL zBu0Jc`!p#Z`WCzA(6@4U7KL(d525v`_GomNcIi~Rwfm26w|1u*+P&E&*O;uJ@ooaU@KSLu1m7Hv} z^JbWVo7Wp74Tcp@M7O5P5>AVRNy8c!hJSdK=AX}89;P0KFDi!ZP$*|COpudK8) z*V?VR>s2j{wIzC-o{f*G>QzzQTrz_QtKm5!q#AqsY{NeUJ52x8G9V`uD zQpyu32eZn_!Fm<09L#F|(p%+VM;lr`Dh~H~;w1-5I?0_@bxl?aj;xyYjV%xQYi5(86Dz$?pS#q!>D}uadm^gYyEuMnx zV4^$hX36DpaTs(tSUKp5m#8f}-oW)Ou7RC1T8Q}gi-YW>0xn09nrNijx$}lPn<^JS zy=-SY7y~E?#RaqEZ06b=k4ffCS3x+N+X`oM6g^zT&ZelH&DFR$!dr@a5L-H%7?nk4 zM@iY)#BSQ9bFdiL{2UuX>+4%II!wECeY19N{dH?M-q7y9nkDVbwRVTy^{#?&winc{ zbT-%I!JZx#XOUbgC`PT|2~t*2>>dS`)6PZH{FRoF1~sYaDV6(q5R&`#4ngI9R{Y?v z$^G^>^!{9Na6j>q`z0;qeyKUtP44GtvZ>07D))0EZ$qTrZ(pOG{|YluTQF<)OKr*7 zdfO7G*%sekrxSKRvBUjTrFOq0OYWCsMUeLl6UP~;^@*=uiP}1c7uTpQ<+Ism(L+#MQ)F}I4SFC~96N{=q37MaSe%a|KNL!( zxI12f*N58j%E57fkmewjD^XkGRc~wNy%}){%9&1Ry|ts9;!ThH+RKI@Db}20A5$le zLfakD!L6OcaEouJn!KSGwRMmz`YstGw{}#W!4+!j1kt{&o$;oG5nDTb68N5>L}m*p z;H@3&wfk4YA*2>RmE}$JyP!bVpx)XMv)bA@L_%9THIuC!F}aa~hIkH-NL+Tm2Dl^2 z)X#hJv^&!3oE1ij)4>FMgbT{;yII*DIZ=h$QX=2|s)@!9dqQogDwcmz0Z$4Nky~mL zwUr7@L?H!HsEOK2WsXG|1yQC#ZP{|-EuW$d)K;~%5U4F#Z;jeoRjNX5DbEl6ilk@H zfMMPIWudmju25Tr%EbM(qw%O3#ebjT;gAWnrJ6!*DeT=8QQdMORlKi^QCpVZ>f18_ zwIykR+FEsNS3+$ir%KxfPQ`9^joLCZP+OkzzE}5~7y$2C3fVz^&53MX0T>Db4vLzW zZ`gvaLOJ#et^H9s#RnIYKPnGXn%|NsU4ru4iO@lRoP%4ui)w@Zc#$luNHRwHqpBx= zyiByuA7`5qM)+f&1a>ebGAmHP{%E}(`lawksl_W~yVT8_8U#`MqnMRH?j#|9teNkyHkhtvWb?MplI4?!Q69I<8IWZBSwl*lebUT!p+NDIk(}`^B1C|_#UCCE# z)K>WG*WKOl*Yef9#Ne=-2w?k3EimFrfu?d+iQ0;Ch0A48E?2YV8!_cXo$`%X61_33 zN^IULE9%7NtyZBLwPlMPe$ZrkQ@!q-BWUFhIFU^%;9^C<)x*5}A_4C?puB8?*4C<= z;}stsD}I9ZIHWQ?>{RZrG>H_<+8-Pe>b!dm+z za9%?qvpE!q_qWpP4=#tbO08CY`^Qyc4|Jw0YHJmSgFmSG1l(4sCZt2j_4P+~PFV2Ip`WS7i~^oR>-EWuW2sgv-|t0ZAC#|kLp_ILR&zK`LUUL%nL{yo zmVkzMj#$tLqv>((dYqRc;fZL+L~z8yW8YoJK|yWFgF$U6kw57~woCwOD-vT`V7NP| zRva_(-GBYMAuEo=u;MH#0JY`7DbQ5TDp6ZeZXpUpxm?YbD~@uaPPyVF(euNq#EPS= zsFMy0*-rgBh}%`II7V%WTeNdCa9CfaA(i%kh5OuJ742W2HPTSoz#w)Hx=5W^_7I45Z9+y$NK zirTcrtW0|k37K}y#I(iaFg-NHbBaOYvNH@idd9`0KE-evcDoaqJ@>p*AN1Hx60o*G zXS$+sia}g#^^^i+67U1JqC02VIw7L>^(r3k>r?TQFet7dipTqUm*;)GLcRLpDn$(G zbggOE(W)H=LQjeJ54@L*5CkK01yoPlFLXP_Jk98|zg2>}N>MAh#TMAUB; zkAA1(<1i?$Ac{x7U7mg`jD9N?{igV)MmATE<4A3+{LL5sh@{&)tY}ngoHH1xI7eA2 zMG;+xK96dH%j*VN zas~yXmRD6z%j->|eaq{5Q^JVlwNC<9B8kjaQNYWq^?LWu#Yjsn?uWcW-VWtt5!B18 znAP%n2MH~&HIwC4Onwpo8sfQfNSu#_T>n%dcR0VauAn?dfC-;uTB=>Egxc~X?{F3m z&)OE-uvG+SG-^wQs)GYUZJndFKy7W%4DDKSh1ycvFdYn_w#+qZOEICg7LcaJto)3Y z_%&+F5Rm5PAhRGJ4v89FhAE^IZucZTQuLDew9@!>^nr_?09Yex(Kszp6^U zA>dc)kl|M<8t^N1tAt;vxVm)x&VXN8oA#s92KbdK1HV#pz^_yf_?4P!yXE$h^k{da zLpwhz>b?WNI`=+}%A->Rz^^6=fM4D3RDQ~->|TOa_oV333DM4kXnwb7b_~jFN&qf+ zFjA6Q!msYC3xFXa(X++7udYzTulB%X%%B0kQn~@Z!h;RJa^Kt2W5>7wW&sKBcfd)= zh6us0B%*>}Nr2#2(ai+Eg2`Pal>L-OW#Ct#K`s#${7NDMex(>!yEWGwqm1BJ>bu}q zFa^J|DgnQO1N;h_;8!=_t9I4I0k_LxIXJv^k_G|4Qmmb;Q*k4-LT$sZl!4|-qm2W0 zTvWZ9kRnnCRr0=E6B{x%g72V)U#<6W1;1JoCv~QTU#WTES61px2WhLfgDl)MGYo#E ziozK6lpkUgi=mJMo-ZTifNMr{aWbhMsTBqH<+9XJZy5$(Jb=nmXKcNOU#W=USJOn4 zcl{lPR-GVe_?3pJgkM!m&BLwE0q=eYVnKp0J&rn0iFw&cXLtP z-pMxym0}N;bgCFH%nNs-H>sMatv8=;FsTS`S0{ zsW<50ebFr3;^kBuyf2z23xyb!^?i|;)qT+k61p#{ncNqN$(juf@f>@Uxa?_! zxXwcP**9oye99>vn@h&0JdAJoV;bGZq3w?7pz$rjEpn<28s7q07@uT}G(J^N#`h%A zKI5BjN*G~$eG=FelgR8G3fTCp*U_I2 zY0wbQdLwb!;(H}X16+Sb%VQ6EgDl|bP~DdBa+5;-jMgkH_W7VZxkBZn3gYH~^ZyNA ziK9>f3?7wC-fkB$p|6>a!N1|Xem0W1SS@pB!`c(y)Byi4EBC}nnV_UIadl(UKGro_!e8JQG7?j@$fZA5XtZd~n3E4`` z#8$*)Qyd!Nxtv$F!efJdaw#Td*u|tf_ovicdIZWsHLFB^!HMh~0s9=0xY)l?nUU|l z0OoFBp^_M;dP)KCD+f*ii*i;8zlw5`Q6S3YYPMXcloNHzg(`_YGptH1RLY7vu~6l< zxCZ=6LjwE?h5Q*UWf$2`G8NgZl#DSezE2$XF~lq3S44qdLHprX$qCOPihVz5pA$~O zDxL5waSTvplWX`fYf?ozk(v9d@0GOG*}6tSb}a~a(1L<}fyTzAxQz6M0?@(){J62G zHUMuD(FUN3#|B_3z7B)p3Zi&y0J=OIfC_al#kBPTMhc!#>e?%kN79G|XZ@I;kre*q!7najd zetZsEFVo5?-hDAG)5^nQH$J9ex(aP~LJ< zGQHZAFk+eRlfbT}L}rsH;APr+eb-OKN+7j3G~<=_G?YPrdYKlpTBh$Op=G*evP_G~ zE($cnW0n%<3v+vEl=Cm0EhyBPgfgIKl*mp)*(G)S!YbV;x1UoY!LOXt+x>d?JSmY&e7XIcN=+yuQ>j=~op!<4e!d&CH2f;ea_hY%{7R-`_?0r!PO`L1@GE&o zvG>Qd*iNsi3%)=VFB6BwRy;P1fnVu4-0&+^K9D>~50FjxRa$oEV55vv{4zMH1hiU( zs}_0XC$~%7#%Hu>&hRT$P4Fv~Z^ExA0{jYE!LQs-fUO)&Z3IWvOZZjf=IW4__%n*I zF`%H@J&aT~4>O*N1AZkoAHY`88h%ADSfAkao-~?*j~{p!b(!4qmW=JsX%y3F&2tm|6iZ0hSh1quN3h~tkdcMhkghQ zzfxLVHT+67dxyyIE0sy`D@6srQs~Xqs8SxKQYzqAXNZ+stMle^OX9-pER#-MZZD}| zz^}#yqXM_%AlnT0lHyeI+6VBKJf?ug_+gmb%Uv=KX+T9Qs zl?=afBgwn?Wq*kb_|OG$R z3z#CKq{_us%TF$6a0ghDP<+rV?VFqH1KejUrK=#0r@O6~Vn?~@a}gg;SM(XZ9dotT z@x|hok*N!zpc0GKx$Wam7%H*YJh6TJiT3d)*s4K9jr@ovhUt=!AJ*lr(B)J^m(Q$p zG1t1Ba!0!g;xPIP>T>-D@n6(&&DQai;?HJlbyjM1p0YYCJ?cEwzUQelH>Ihk0ZU4G zy7V%_DyO68y$V-H&#mUtf6yi7-iDSxFAkR&@zT-rq?3-Gr{+{Q9sP7P*-K?1)zNb| zatsXvTGeRh0L*|^!K{y-r?y@?(3UvOwvO0Ree_)HIC`$y_0jVrOYhiHzaz+dh6!ji zwb)F+RhSkzOhBvbG}XHSr#SCU{%zSC0$LT`l~3WSOv{?8vWca!;pDZ0?63k}yGQC^ zBgM~sDK*rcRJr(tH`|>iV$dX^_$jmGPUhMK$1SC+Al%7qg*!RQCWnjIofNe@xmxS^ zTJf)tS-R6&ZGTs7e``JVceQ=|D%OIC+MS|_VY(!DvMztZkKiy3#~Ql4(=6#?u65bx zj&>D-a|TlZY+V*{IdIVRbfo)Va~V=SG^F(w)+PC8a!Fawn^t+^JXL z%AKs{cV3V?9c^fNuQ<4qc*&iTPI9Nzoa!cbax~dXWg(S2xsi_`GJsT#cCNwhs~}vZ7q}tMFnh_2nc{QKxM(~Zl_05; zcxVlhQa*Q*7Ci(cH9jO!7RbasiX%14k z5+o&F^-g7vw+wED@_UNVdILr|#mOI)$FL|XkM(5XId$SOC_e=Y9o&GKhg*Cl)nxv? zAgMXB=(}W$+<;Ma23H`d$BFiBz+7xf7_kAQSMg9dgw$%~m%N8E z2j!>Uq27QIv)X`}C!r0Pn#l%?m^^MmLp%>85|Nl%Dx=cazUc+Z0ZNr_#7q*hcWKvIsz z17#Fnpm;cB0!gW+KvD{Ow=Pt-Tu2q~D`Sw9<+u8t>;XwhT7abH9Vf-IPk@4ose4S%gbQXyay0c=O8 z1q?_jz)Q|5K~hn!aJekX5~5Q@*!S4_ON~hE<6zR%Jz<*kaXAY7LUI#ST9X zG9gq>t8N^1CF^AL7 zsrZA?c1Lt@4$r|YUQ4yX6=#Yp=1?+5&Y`NOIeeIC-yBXhC5)KEJ_+nvNMtsS0-i(b z^`SS#97-(?DtXa(7z)}C>Nym%n!`s(Xbx*8b0{VQ2@UZ)MMzwB;eFDx>v3L+geQWR z$j*t0Xm!_dP(V`hU_eqzZBt*wo|{f;dWKlYLJw;#r+R31KG_h z>Sw&O`M<^CW>Y*KQv{NVD|LA;I#S-@Cr{UCfuxRJ=l&#tq|`)pb9>B_aTE$<1zMZ7 za*FSxIh(ffFztiSY3}ZVwmYJOraca~I8C)d)80oGeUglkrmgD9w2u<)Gwr=i2_sCq zPXY_EL}n8xVAHlj8couYFp<6P+m|&ZQ5d1ru`rZnRd;@w8iB2fS@6s2M~$N z4twE=H)C-O$1kD|!ESdVv*(_7O|QTKp!o&&lTbc_2#vD_;$o}I3V7Tk;Mdqhcg}Jy zj)>l>t9ZOsPsJBuP+UP2kGJYB&s%kcdO^imUt;V^(zWW%L4c&h>OBpR)Y|ht4cUSk z;QpR~Uyg;wX#mH38bCP|xTt``PXs(Ai>lw3iKyQy9{o zQFvU{JCaMcoyaA=d`q25?Ng~trD8#I+69|$sR2pFaBVT-2+yOM{nZSKUjjKw5BFtilWu>de95PT~K~o1X?ez$|-KAM_yi)$1I+DPP2F~ zwA~RMTwYJYE&k!(4O?C($U-H_7`eQvdRkuZC)&5X9&1V%vAp(4;B(!Qj3#qULmKUGhInsT^uQik9RZNxwXov@{A#pyuas9gkB(=dTaJN<{ zFal|uShZ`FKvJIM9htItcs5ANRuP=hASo59UhfMeb@F{$2#zzz%h9eS({6m)$_=!0 z2Lm7}bE_^2BsGmREoLQ1N+oKLl*g_q&E zujU1=fW_hWRqGHLETqal|Ky&-V`Ja?`fvZX-@16?-P_wA;r}!L5Tp?Q8CLif{(pu4 z5Ay%TAKBjiGXB4X|D6Ay_`B`xNBDn&|G(z{jeohl{T=+jng3tp|8p*FZ+{;DU&H@H z{Quhg_V(NO|8xF7{lDP+|37@-c?RS8 z?fo0iZ%^=l+npEWkz?O5(fZ&->!GdIo1W!Zz*c)&D3Tq=pZzNGrf+-my9jDN$dQ+f zwT^F!Qv$Tw_iVLW!c_T&^Y%eLR_+>^|ZcV)I;cYWN6JM2cL3fK)T#53lazE_+ zC9!x!iyyPf{XxEh8yrx6<&sA(iq(gNTZlQ zt)YMy8kK=Gh6cGrl#s@~5@FPuW89l61aLLQ3+|R z%ETAtRHlS9CVStcr!f+SG-{5xm5`n`4##x7PUYIUl6{cI4QiA_siCn=HzAFlvf$T{ z#s;$&(%6&Hgfyz}Nqh-uRN2NCv8Gu4zZ;wh$20vnVPnLU95eu}YPAL2K!^}HyxTKQ=%WV|$i&U8in z6eDK!6my1zo?>byPcdS$Zw(FcyvCBa?2^a1>v3L+geRgM6Tw36vF|SbJ*Af(hcZ(O zO5~3@k}j}gz@!Bz#=3vTR;ID zpY{5#Zx7>>T73J=_H#d!Uqpi1_{6M??<@%!U(Lk$#N_=9G{keVK;p7KvU^Hz>vn1o)p#OI2M#~Qd#UsH36wMcqKMT1-LhaCTx9t%2XD=Tn|AE(-&tt^wp7)ZuQTT%67D^C;cvlV@{yOJ=%R{A8cVJnf@ zVHAk%7U}g>jEEL0sm!Z$Pxmr(rYmY&5wo(D6%w+Qnu)E5$%Ys-#B-}5akdp6@;%8* zF)70?CfzNbZ(B>xLRqK^CGu-dWa|XL<5Qx4p;{Ls-~IYG4q2!qhN)gt(C(-O#!D$~ zE}WGXs#I<@3PibF&6W$5a-vSTP^Bs>!>YtWrL3qE3sr85Yd{(`B(vFj=)WP2$}WE8 zTbPP$O*+Mx74zaSIpQTqqpG~c75gEL5{bgc2>9(WXrB`vhQ)z)D0>u8hC^kw1*Skp z;0_Yu2R4K2tG-uKAdMfD?0l1edl@JgMQDOFIy2i)004{tjH0Nv>u(Y(T|8i~=* zbp_mn6GZU@X(auOAdQ5&7vpsmv3PG=_PAU&;>B%fQ7#)&3G;)dWkXRf8_m-F%SL=r zE^f)w7v=7v-VxvDmypIZXzP-lPtz;3I7a}a5t<;4iUp)G3QQ^hJ4OITQBa7{%x)Ii{u z7@GP1iZq|@WL=Dx7#bJ9#Hh!_FENHSOYMI|BYKH3tS{buiz!XZ^hGZ$4?}sC46T=G z#$x;B;;`6?$15Hnjd~6@q*0X*Bu~-Z^=X}NTb^c(4M2Ijo_$y32BVnTpjWfKduPR zND9~?j~_&flz*r>o{Iz0C^qjTRJ4LLF4GIP_TlxO3ltwe@H>xba?4vXwzaB9=J=xA zUauyCG^S=3E0IHv11r;Vn;q$gG&UR5Qewd|7K)}X%BjrNsvZG1!+|1S0PcQe956yKpMx1l`ldj&E=NFh1)SR(dG7%3I?Qc z%bwz&KE%58^MZ6Vm|62D4Y`m;o{Mn%5UD7VM_z(7nirUXB*EFiNm85vdJidrG`c_0 zxtQG8UMV+E1ZlJygOEl|i6M=XQYosXFUma$Cm@Zg%gYw1AdT<%I@a!nz^G(MqZ>)y z#S0#Z3`paT53Q3fS%NgCYkK;koIDUmTvLnX7v++NEGw(s3E2tKxYxYQ0mr;a8Pcc- zDn)K*OQ`^gxN-nRoXI)I=TtNwbC5NUgz`gUA5)8&i*O61R4-8EZI~jrf~s7+T8i={ zhC9Ggo#GW{=`EMJ23Hi8(p3;Z5lfFLj)pS#B{+)ui#x6cNE7of-hVQ#g>ob@Dtv{% z80Qbth}}e4I0tAi?3NFp)?eHit=*qBwEJq>M7#Nhc8AQ8cIH|;|G2J=ITXCa(S9qcz$9+uU!btTBy){+4#6~-M9dmY zlG=JHl6%_{r`Z-?SY#RuCJ{TpB&t$_Ns=tRHBYi4$a{vVJhHqGKVq*Q>SO9V;#yk0 zKd_tevjF5*UzD?x0Z!wJf}PB%DsOe<0z9BQ$W|0^Pa3J^Mhe`BQbS!%m5X1w$3}TE z22B!*|7@0w(p($mqNQ{dgv+_Da4<)?rEn2rvlO+3>aoZNON$h{ z$0C(eeo;<8)={IiqS0a6CA5~cd-{a6n{8=)~j&kU{>?nzE%!)p`qp1ii3lRmmDnVBzH>9 zscu3`IGQY|vYE=k+(>~)JJ@uioj-zU2NSb)u+)~^skbe0nr$7i?b^Y_4hK_}+QE`6 zIarbvLGLi}TUOL!O~OBLHs}t!8L!R6$;DyLJ9Dkw zUU$8#Ae`+5wJV*?HQD@;f}hn;P>fnZ9iw;=UzAg;r6q)ZF{RuOs)KSr4?=Rk-XW;m z&x-%)SIhm*HuQc<9NbU5<9*=Xlpn07xgYxhfS z$=Q0_5~tY~=c(z0-B0XrKUJySFUgYoC0P;l4ig9ZsFj>;#Puz1s5!-W*x=*xrdnXh zGju;Li$k7{lo>O1B%8)hlN5RcCMomb^@~Z)<0^DPhFc zPM-u`2TEi%fdbyzv0iVxI~+o4@eaznGnb*fFNJz*N6cz#=W!C++Nqgr?TE?o4rqwy zJh{YWJ2k)^QKr7Rqq~4jY7lLjm!RBnnw6cB6O~{|C-U954f&#+s$!oP6>vW!5eBeM zG{KUo&};aE+*WdqMg4#PN+om9Y2 z84|E_WL|#KK5_yIJR4fip>m2>p{wrzl*b&Nv-ds#W zBj-@n(;QwP+Bb)1ni59LVV?w+1c}T}p@8SmdcE~%%%Rlch>oXW9y-$%^&E;>&EWzG z&0)=C4#i|A5E|k+Vj*$a36FEv0)qJ5^lrzv5CY4=G0@*t7fITWyITdzO;${0qe)yf~Xb;|nLYQsYrHdOY*+p2{7ERU z_@D_a>C9|d0U#X$(2t@!X8}tRF<6o?fhCDy+KUP}^+gcH6Ihb8-q)*MysuY`y-d1R zy^{#Aq*%S@43b*wXa`u5dbBf709XP5d5i+)SGEIL<@>vIOM*EA1ts-Qe|pfXXdan4|%qBm~SafIeM zgL+IF=L`mFH=2F1jnwB1dZh_0Im&F79^hqIt23n+Yn-N2BD){TO_<}ySRtzS-zgFA zza!Cn|E=1L)G1Z(NG_x2L@x1K+w}fBl{%?XnM%ci=Clho-+u#^jNw{g7HVYUQF>K@ zC7s}*MIp;Y36}JG@(L_@ST*hpY3Zf8hNKp$0^Ib341*=Tc7FUTw00hXU9O$i#bNCf zkF`@^$rrJ9Hr}_Z-2+w&q%>;PUzD@2$4l#;<@Jmggws%du)@SYG=iaE~OB*(3^h zd9_|YdMHL(YPIq?uaJ*GXS$+ZUd61I*GnX{yw*&XS220|hlY3zP~v*W(;Ak-`!ICObgC$))z>|g5yFUab5|^2{Y*RJ6;fab&+D)d~lFY zyXu2VT*;;gG*4HuvsG-eirr64*S;&+nJRX=$~{F)=N->?C5(unSC>+L`kI`x1ii9U zL9g79pjTDN^fftk%+M;iMr#&?||kpjQ&0ugOI>6Z8ruPoYqL53f-f=v8QtOT>Zm#KqZNw&ZQOs&WW+Szx;J#cF8#1PY@1TZWo$KKWdNn0Z>P!i}Qu9Es z3bJ76nnk0XN;!i=DbqZ!)?lOQm~fBIV$|T$UQ@ zogxM>0E%Y6F*+lqBGr06LimxbWEnS4CC6s{uTPLz}3iwD90ecMQ<@M*#FH5*wIcFZ49`1&NUBPNmAUKFtLS+Bnu595+ zW@UWqBxHOw6XO$;W9QHik7^Q^on&YMUO?-w$$9KK*#PrOc9*hPML}T@GxTbl2+t}| zeiIMMIH@dlq?(-lZ}3VCg$iKs(1f8-)EJ6p=_8r0Pvtq^@@sO@hHqq8Mkv6lq;;#f z_X{=S*+j6S3Fq??64&7|1PV+KTHA_piZ5bJ{qUwdY~`Q_<}M9VM|99u#^DyPq}rgZ z>?2EKpkS1(sCu%MqeS~`Wp7i$2wUlsz>~K`W(z1_Td`j6_=2z%sl|>T4;M@kluxTe zZ7X6{wsIE<*-FjCR>TCo1r70R0ZW``oJR&v@={F7u!~7|OP00tER=<+u+?63B3mcm z<~}9*7pnDGsJ?&L*W@Hd2BrY$l>?`ML^-R3UPZapC=lgxHCrxJ%85GVLX||X4670g zm9nBvEL6EIt^vK$kN~}+|At;EyLj!ZnTl*pI>ne3uNH?r4Dm|n6;Ys9(0=HZM56Fs zf-BkW&^{;J1FLkxTU8d1c3{`=Bi1ez=|pDktG-v#R_7EOa2Wkb@57yd@@fPco0j6z z@G%9Pks$!pD5}lB(?qoSr{b~smx>>TL2(69JU0Jap3Ognx))>1ff!GJjUJcFhLkL| zD3=YX#GNiQEgOn@*=UyTUpC@vas@@JugR&wBfifsp;u|p79~61(4If5Bmq0D(AW}n z%v++$p}?vFHY5q!uH;d38WUr=Y{+#bfzonWm?Q? znZ8Cs%XH0TnHH196dK}rKJ;jwloc%P5*_0FODD7|+?jxCK$XajLb;we{uFCbwe_45 z33}z6=GL=nV}A!#y(75{uM@e%ms`)N)VNAzDiw>W(=HfW&)4X%p;uv+b0h-KU7z4f1bGV^bs?3Moq5QZVv|!Ny$l*d|T5hu={m`psgIY=~IL1QJ^fftk+R!US zd1%S~R{ENp>hgsgsGwJ0 zeFtlILts=g^vaDS@8b8#B{HB_uN+z@U9tqdDk#e}J$+419*83@sKxSYa>+w3DvMw0 zQc&(hZZfg-$N^v2BFoS#MNlbnJFXwlD_0Kal`~tNGdjZ0?_xU0PAWjdNKG_S?c902 zN7K{SxZ#>TmS8 zn!YA?A2M|ze9>Q%JBx@K^$|@B(GA;=U%QHY!tB2hwz5bxP?)gjG(*&U+QEj-6Z0fAg8T#9V4<`3>T5 zi4iXyJ5M_4*m=k*=SLigsXLG?q&jx)M*aqo0jp}X^CvI^Rt2*@cAnbOA@kn0#A&w0 zhuvt|$Iiu$W9O<;A3IO7^nNYLilBFxc;i4VUIyVvY~IS9;%jntnz)ZgL8p$`p{lRR zg?Ht?6$PGPm+Oop4R_k-Als{eJ%UK>X{6e@^M<;UDi`0n*Cu!|22B!*3A1E^=Gp{z zN#;yfLAaCK3U_jp_f;-pcT&{uP3{mPYIlkzhUt>r$-4Z+XIPin zhAt19C0)$5E@SR!S3$Vb3+ht3lWXd0a>o%{s`KK$CZ{$^cM5G{y4ty?OYUTqlRNb) zT)C6g-23Trrwa`&UnUOjBwli-q?4Q{HK)4i6t$ztUMdTz+{umnJR$=`)oAC(VFri_ zX6;U?EjdqbTjDg^0x(D?>`r2bJE=94r@y zs&c1t&=oJgCTBMrxKbt8np3mrLh+Zk zizRb3*XDT6Qo0JlwcJ*?mZSKgi`cakwQISWz9#opWR|x0qP`~g7$R!diYA8Xl3dHW z9CF9AsfI4Es&p~ex=gvFT?OG{VGmnA(d;nkqI=kYfU!V z`Er;6kb+seR%%O*)Z3Og&9->dqDi}!*x_2LQoB}?CD%%_BFKA&iMJut`oveNxb3Y0 zQt8&$04cg37q}tMFlWe&nL3iyk18cVY7-Bwzb2=AM$n>%0Hg|eelDLskSkt!d(Rtm zIXb^(Lw+cfN^$3Vn4CU@pN=5VYQaQBLvFPqnLq zG9tx#vdg;-JGJxB5gpus8G~CqvnR~I_iJ)nv3(*LBR61Foxv4A>UN@i8!($q2_rUO z`Xq2#RwA=y6z~R&_4-e@g+oZKR(^-Ky7xjk%>wlXjF{C1%svv@fT@{mz=+8m12n{Q z#8cw3s~X^rC{y3ucYRQ&-dp(;0sg78@1~gYDLGLEkWwPw{j>bq@x*;Q&+`<%y^+2q zr>Yb`qkvmkiO4Or36M&KPDLRFQK$)!N@Y$)83j?M0!Z0%;$57g4S-a&0T2KwS#J%H zIwp&(08+~Hqq!pK3GwZW*LKnR6al2ft^iWW|9tOkxA6mI6#o{AheIZSlxhkfrLcGF zLSo8=RPnwt21vQ7R^O9704YfefYh0^kY+?2DV1ZxV1v0OhS5wDw2k6#ssA@<-)iN|WAPydT=`hz|PW z8Mwu_QcYLaUVl7A7RpJ+NPkrI}v@g5rDnNNw!PH3z+Cq>X+ii9VEgHq0kiD-4t z@je=WlwMc^kWwPQ--+xL0cUd~aWeU84Uh_deb=zB$w>?jdr|=aDF;pgTyj zQ6S3YYF5vv21pT)I^}z-B>LE}DzU|?tf&)PtlCMf0aCWu;m1K%wJh-MLjr!l(TQwP zK|5C#KM`tPzD~eNb|^1DptZFsr+D(^$y$|%wVp8o=rokC$w3FL^%UIV|D)QVwVotP zYo3BpZ&_76S?gJ%ebzeBlrX|t`y{YHOJufz0=8D`b^4!#wMs2squJn2KzT0)wY7>_ zS?j$dWUVz5YZa5-GH8hB1-ry$m!a*hDCaUY1MQASn?qM5iZi=3rsE_@Zu93wYO2)`JRP{86H;DGl;c8RDh&k+&z`c${W~(URIkaALpA>T_wOaWeU&L>P za z0Hl=2_dAj8CEz$nBqsV-95eFWXNP@FPGT^SJqiFwIdF=`omB#)qTH@15an_;Tdp|D zi8|$qlSGdVs}d`YvZ78p(&IhU5+EgOH9$(-;?rNo3}kmpxAcO1r#L*Oh{t1!08(+K zZf@J7n=a1eDd_*2oSLX^ZZ|v`SE0OEgVv_4oZ{6qXVX?5rhU<7@-VdB5gjz`S-8cg zP;Jn(r^%vEk}=Y>RXv&ZC8B+%eXc2CglYFlVDC{PvjPQd+SaSPGlo%Wwel^mFwa6~ zx}r91F)P!)NkXPwGcj#3c^3i=@jQS?T(-_F5_-nMQ=c_>8aCf9bY{;z??D|5;3$e; z`|pQx6a^Y*4a8+W_bTB00s$w)MR(4!lSD*s)m1#+s;A<6U{G8^6py#+F3($ah4EHh zF?J>CRQ2W{08(Q0o(4#2En+@A<){IUr4sO~vAmj((*Tb7G=Op_ut^pjQP6fJ_xn~d z)o&G#ey8F^6ju<%qu(x1zZFKm6^ni&eNq;ktHB6$@eIB~Qibl1@X@G%> zdu;4+XrOr-pdORPX@G&+jb>kLBlT&3UTFeIjWV01{k-^Ub@u7?7bp3Y$Zm(S*gAfU z6{31eoe~Kk<(%eQYSm_>cBy(tav41*a)~eBQm0a5DwU~JTF{hs!RA|P08%kra}0cq zW;#mSH9$%U9$Lg?xhMfrew$qbq*Un6kd|I;Ye;I5hbh3Znvh|Dl-JJpjcM&X1iM^2 zSH)rN6pyu20I3(Tb~fIMtK9?1hV%}v{+gV9Jzg#MEU#-`5T1h0bVcjsRXN4)&?7Ie z%3~Iny;MC8ZFfWmm)AwO#V=89aCu!I3zZ~e(-lUd6-=p&_2LnG)wScIDUP zrkMrqxMvj@eYDCHRl8ORAmvHkktwSLNZBfaGa4YJLe=Yi0i-r*CcY+jD%!Q=3LxbM z+PQ-PfRwpa7X^^ohc;TwN`RC~)Bq`$4}jE)IzG%+10bbr2{J%x(4Ye#Wf>(vN(lp` z6dC;UFH{Tc(L%t|9)z5BAr9m(|^lp`yEls$=; zB@B-4vb2T1#b6sC6%FOPQeJkI41Q)!*&a=HnrtD$331(r20#i6nIM6vg9=*dTXIKh zUimFK!KwIuoW7zJ-;aCl-3%`OU-*Z7BaZ){{NwHIIsRAp|6Bf#pzSgKC;9&w{vYM; z?&tV_C;$Jz|My@--^>3a{4ewWC6~6h5AlDR|DWK0b$)yM_xb-j{>S-#+&ka4z5NIL zf0X|(dSZL~t`)x1#{W0-|1keIf1Pi)@&EbDd{d79=J&rQW^NqRH_#?pZ`y2q!;Sb@ z*zt|?58cog$G-oQt{iuyeVnX&HjbPZ=I8r&Q*0xFg2l3{SY5Kd(%1}LA#;vldVp?V||Z$vynzw%{+O~ zA293rewq7z<#-{dpg5mq8`Ji7^`W+1aWaM7CO+M^<9I<%F>(H(O&R|K?}A%=+i&%Z z$N3wJ{$a0MzTmvNBvA}bcmAe~U}=t^)ppwszp0wsXLCn3bt8Radk^@);hj zd0wIU=_ukrx1s7cpD0T)uBTp4uViy2=Zf!rRg71x5;gX~KjDjHiaf-E@DvgKUH|6K z)&OMxKYLdLA6HTBH)#U_S~kd6g({H`NvT3BM2jUFl$Avr4QRD0V6j+=B34MCDuKl9 zrF(n5&xiz~4>djzs-VUvp&^>Gftm!xXV5AUQG!;PH5DUbiGcL||L4rTdpFs%r9eU1 z{+gXRGv~~lIWu$SwrS9q{@ zm(nPU+#O?Ja+*%av2~{<6$ksLjBDv_g~Qepzba$zYMsdlylX}$m3b6@Pot>y8mhTT z=pzVCBGeWT7r*2z7u2Z8s=*eR(#WnjBo>>W!8h4}Uy^p#fRo09Y?;vnI5)UDqv31Y z7>kyVesTBKJ4@n;KHM7tUG@khqDc^2GK&gzI--%JaOlYgq}gUu@;Bh8@*hZw20C-fU=a><|{1O$OxCX``EIYNsvY4fqIr8It`Fbk9`$&kn9LO#hC zZo$s=1p_lJY+E2mJ6dWaUZA6W1N{dKD%Y7OWjYsjwoYy9>);H?D?RLC=sv9opf}Zf z1AWrj1Xns6(W9NM8!-Rb&Snv{v$Z1**=ty&vq?Ac^hfSB@&J`m)OXBEkYXHR+xPeEAN-y)&Qz0)d|yGf=jj8D^I=(w3J#kMibhdV8a zFYO;N3p@6!Rrw1)R%EG{X;?u~Jqb|-hlQ5~qv7I!F{{X|a>BXH69+F2xdyu&yQwWE zjAI%@>2MTR|oaG>4a5c5m+01&b}`uM*v(uMTJfor08X9J8=~ z5E@J1;XfWvl~Uc!L+7U+l(|Fw`~;$4@_%TisP)HgXXQ! zQiW{X5`_c>6MKae#n-qAQ-Zv>Nz)pM)k%!aM-tHxo0ml33@-Az=qhQj%C+>r?76tJ z17_3G_@C+AeD!iwOhSz;kVvqW!M1?(vW0$J*sJ*h$jc{<5o+q;T!Ax`mYGZ+|_|oPcw^D z?BID0CM(%#(}fEb9_yiHD!XRNCzXk;hemXUGzF zk$|U5pj~yw62>w(=zw8TqsJD^yRibnQZ}1hS@vMqbt!;g4k2Z;la!NQADyH~Ot|I{ z7W2AnP;4&2BYDVIK{VB1k@Pe~g*k3&FU)c8V7r}S1-XPxLk~TmsU@|cXrNQ8P`#iy z3ltI*tojsE6kp?PHD=HG==T2Py`2t5fw}a zRU%HwC?u@oqiKL-g(AV>3Wd-!TcI#7bEq;b`Q|Z<70Q>kO7%=0QLKiHueMX76{@;L zgQxm9yu`2EU%R`lMpf=Q5uLPzT?$4DHxR}^a^hf&R;ZS_Vc;eNW4;DjCT(D+21*=u zPeE|WDY?-R--SfH$WYP>Wk_gyGCU+Vya=J!#{A5E$4RA2rhz8a5l}}bbo`|-J7iCT z`6rl|1&cc!Hl$f$4Rq7*xdxK8cE|@;LK?zVkffUypK!}1kqx6y!>}Txm_v+WSjEH@)k@&%yp6$cEUtbBxFY@)|kc85UH+0^Ag<$Da)Rr z%}1M5=AWqOby}zSZH-$e*rq%rvb%!aHDJb5cXI>@2V~&}CqS48Ua==bcxp==$0&Om zs0ZzEKtPsY+SiQf`UC4g%m}uL<9?9N5WK2HU%No5SxlbV0Q+oT-42txsW3%Q1%g6S`oBL zE2f(cZ~xE?Gg-aP9-1~@3cq*E8FKI?9KRJ$C+?rTwi>J4Vb3G zv+go~KW2I?epqaA(*0vHv?u=RTqWABJrS=)ehzuyz#D!Sioa=Jg)kjO*ys#=%onag zn4gQEAy7OW;^dhkHD;$wk?2nU7N*E%l(K*+lEJ87ab8$cq6>OLKU6E9;^u5^Fhbq++g52dYD%B?=Wyk+Mf>N1L?ho9EgT`GcWd zog@`ak!YnwQ>5<3gl3KvI@qccoDzGg z*_k3|_dkE8$fXzr<)r2_Gew@3N0zr>Dw-nMI*X>r{}5B;dqmlkHOs}xs3}q+LQ~|5 zeQAnZ4bxsMut#R##kE9PC%awsSctf7i)7KmX=a=v!>Q(Fb(?d?s|_#g)D3IEIvndBlIxgHu>; z;s!5qgS{}vgUn6s@y7jIiMx}kc)+h z)?8Vxl=BUVZjm0&a}0vA8I;HYCHEGu;|tu=a7-NM8$tn`u0(k_JZpmoT_}eklpX2l z&WYVX@fKU`Mx^++bU_|w8&fcM2(qRY;N$)R6Q`h5u;5{_kJk0c|e79e8#Ok zpd1kR5hzVa5%u9cqKw`pNr$=R+EZ%0?Bcy_W#cx?5=;xd#8WWtXOJZ?Am`sd4(Dd#S-drzL^Ty}4WnbjkY2ns481Y=lzj2l@T~vHTf@~o z&&LK((NteF)xV@o^{X(WE^Ml23}#f~gd1VcwWjLU}5*@CrrF zi$34ChWFYU?fj8`KIIDKS(xgt`G;io?_;X}<72|`FxQF`S183>!>K#*r7gMZEN??i zaclVNe-{}(2d4T@-uV2P>bw4lj|lNmrDtZU|7spt-h!!Us^D**y~UFi^zTF?DcU${&%(4XY_sVw;i<;_WDJ7&wi2XH)A5R2+v`PBlqdOUcLkF zb+vMeH6*5)y0#rbY93e zzq!F*;G(_k`-j{AOUdO6^yc@aV6f0ddxo!V<8L?iZi*M}c|xRk(S8M6YVpl)w1u=t zB6^wPg?sb+(l0+BdqPF)ebIU^J2DeqoXQLPPk!_J8Safe*Vg;L{9bl0!~l@D`!nU< z*t4+Se_Av9_p#pJ{g6nfoN72vI=jJozZA2g$VGb#2G)BEPG!BH4aRr#o8Rld_$;mW z2R&@Jr*`n>_r5v2yv?Yh^}cAmf1$1SXMAB-CrL%?ebIVP6SYiyiWlv>bm^lXCQ05O zouo)ixHg(Rb9u>I?|=HaT~$Iw>wVFBKgoK(1QXH1)_cZ4Wr-7>FMh5s+P~vh(ataG z@%g)GKm1F{Y=i~NoA9HU!&2JqKLsW@yYr&`(aNyoo5%2Oyl7uPWdmUhBqz>`_oDqD zej%0KNoJqjMf>kx`TSY$AOH0(S?@>k$nq9UMe99VXVH59A7Z^FHR%nN=o8Dj0Wwxnr8_MA$E%H^FO=ileU#HWa|DZ6M3do%urA10QF&`9}#|Amn!Xsjnz}r z*{m0NwX@7U$kHZpA(DWVnsQjAC%wF0kwcf2o{paND4Ufa-|*JJTH35TNa@NwTvzVl zx_S@SZA&8tA8v0JM;@sxYz}WFf?nI5pGnS@FKH)B?u0OfR4=&h$U2S&^rE(oFF+v+ zSjQO*d5ZJGek=P8;G~dsoZ)NR_*=A&7p>#gEMByZPkdx<1rNRG;lda03h%9FKOcK8 zMeBIcI{uQjj#pvuE4=r_7!2Ryga_oGYwP$iH_6Tbcee7+tUn)Dc-P-3nf?1%$M;Z% z%O^=^H(cSZWcBB);}#68;})FCI{yA|>~`z;WA7{FvaNG1*Kyrx{&ucSmIxpYpi+hC z0Gg%{oVt#rU-s^scg{NgjvQXzW>3*NUbK$C(AM$KFW%KjQqekIw2pHNMcyLBEwEH`|Pgpj=i00Ah9}g86<-_S3(-XRgeaWuNLi7mP9rTt0Ies6_E{t z&tJfH?3bN@L2wtWbK+#Vfr3Ay;^5FCC2)HmN=h3*H2i>NJ>CVVm~a zqIOm^JK}rh$_$akSZ`p(gGV8TwxfuW=i0DZAs)z>*8A~qGnmdOl4=a6k_cHz;JCX@i&Z_g+^8jDhUVq12d8KRQQj=hIE5C6k61QOA* zk#_L2?lK2mg);>4!%hjmC*G;=DR2FW(rx$q$M!vCl)poA>uQJNwO!3$zg2?7rkj|b zS)?Y}MJ1V?{~9vQu~5_<)QbahBUnNPxWwrTU)oN(_F5jj@cu z@GVZb)$v>#W543cLbQq+CT}r6VendvSTY5K*}RBshA;;WbAa5fSYYGlE{t1?HH z#Ba-BX)0sM3->kT(gnLZNh%s+(N>CILzYcgjKpl~X!$GX*v=C^-t<`V#KB7s54ylh z;A_a^&CyAUbo}Cb$|8n5y^75*2AZbhcU1`$jj=^z>?C9C(kWLcjDZ>wCtRUC*T&c< zFN=2m=h+yW*33p&u)O6Eius~6#@_cCk?NG^7YCB+3iZoa=EP*j_aR90FQD=m@`iyapdal1(Oq{6M{oiQ>V$#Y zE$*_q&B>BMfSm;A-<_OWH>?5caEW^;)>t|k<5C}Fu3gmEWw@eG+~6f{uxojIfH~FF z9&g+)={IG}7a@&j{we2d18ews|CICVtL!v7k(NTGGNmGuR8wof|1ahW|E&mb1x{-+ zm6>k+5K>)ta?W6KVWRco8Mw@jdfJw~QuZzq-6FlTO0OA|$N|{i;&n+(zoyj8z-7{9Wg?bS;RL4v3j-TSdyK;B}D-G~(bmYnlrWQdemeYz_Y;Q1@r*1#s# zn)G2oK?h7zlmVKcR1ir#JFCR^I82 zTct*9?~>CS($U-`_RoUQa-7~^X!P`kVj*U-76}OvD@owSdxiNZGRkKk=QeVxMb2$R z+1!C%;kk_*wI}K+*|Kp2x!~b~*2PKpkI9xTLoA)!D_eYSS3Sz$wk=|7aeZnW9Kl#X z$WshYFg(S8bw{EUgU>#=jmBNPIXRFRMyg15_bQ%4s=(+o{)YU@mAggp^d7N8#q)uq zh5wg`;u*j287Q8g2=a?s@t|w5FY$qqX10FmU#Ttg;Qm~ww*Ed%$j~wL(Z%v%VIIayS*9N6z=MV6V$VUn>z6U=N?AjUv|YIvDo}fs+STiNjt^EYFJTxQROug zrybLHvx@($ai&?Gu!><~&pD&MXQg4~YRTh7MZ%{!OBoGwWE3lgmx5LyAbxFuEDlY! z^pchp({L3MvMG=UK;pPgB`ON`GCJED%d+k)w0AtQ#n8}lQbkD5vhOAiex0!6W^6ifCV!wgnv2I}}L38nf*Xqtf*RqJG!VskF`lCtdZ4D#D1$$4V; z1c9XEw#f=k=Ti`z&Zl%)=h_LRBQq&%x1#W%6BLLezQ#?k>gL5wvg%5#+He(7 zGtdy5mqaX-ye?wpRIyku%9leveaQ1+0{Mn4#2l^7%#&E{l_Y(wKxkq%QP)`qXTZ4u zztk=0KCRZ9>XpETqairK#gMX4(4(EL8`%73JDWw+&eo2&kT}xWBz&4=1O}L2h!tiL z>1<&Z>};eBJDZTY4iS)oIIc5G+HNl$cDC6EN@tVMurEkMuIht*g^R-ek|!EQOMHuho8!~(S=EkXC|pO3?8 zO`2H+OFGdMR30h5*VaKu%x0H-BxoVi9Kms&n4s!p%yq_PqNj~`p~PK046mp{aZRR@1ZpvplT!^7D4?u-bk(ygb`W@vxfRfh-n%{V+WX~V&Qg%+>IGC0-uw9au;dtr`yhm2%}SCC8C zG+e)494Dy_MFX8$g>2jcg#-nwONA80*Enk%m#|c(98K4zAki9PQ;~>;lFCJ}8U>TI z{PIf)gCiDtSZ!#=t}3AdiY+)J?3}FXQ$;s%rB;D%f})he8E~d+=i*9j3=)7~u@I0z zS*Z!Gtkj4eU8&6i%zt*JW)XFzHm{Q?PdX-Bpp}X9;ytYPr*})GcaqsalLqTab|7^8r8o?dJ?$Srup1Y; ziBe{V4Ou&44RqTc&);FSC*HqHht>X&N0zr>Djrs2>nt8t`_DS8c8J`F#PB%9VYSkC z;jmh8{vv~Zo%G87B$pC*&K`-+3^YSi6gEp6S+q{dvhAg6om`5+ukg~2F&N*(2`{QW*H3Aj@wR8W_OH<1FPkiL9f7bd zC4qr~Zz&-8ij>5b^yAzJedfW0WG10`OKB8SQ`r8ip@OqJt&_(p!;)_v!@I#cDNFj? zQyLZwp3<=3R8MKNoU+@kld~T$!F23deAnPJZ{IoVyv26WI$5+%zR*u;tbc4* zCrL%?WNtk)g5?noFRNK%Pyk26B4!B*FIp#q)l+D48>c1W%K2EA24)DHQ_nlvxlj%R zUh-N5%L3OP=aeH+RXV!Ml&s*oOig{4;FP+qyh97>N}<#a7$!A(Y{9%6D-gVb1U9*{ z?7@4h^(L4@q$N4EPJX*4I!Te3;!_$bpy=8VC#)D~UN^R@N@#m4wW4+MC2F0lpK^u5 z7<6QD!WGJM{gg)MiP6q4ib+jK&xdugMl%~>!SW{jDCV$~cKa(7!P%YG$u+Yj7q8!CiPtBaugzw_qw-C)qlS*2(`6>!g04pzN{>*qiY`v`$Jy z%SKuv@s!57ubUQ&A6BdPSHt_^^;mu23-(DkZrdpW_zU3RisT7!Qoa0*HSm@cgK^8A z0dnzEZaT%CDlv4*{c(Qk0I{Ag2`!TpaJ+jA$GeS-2Ptqz7I(;bn-->{#Gtsl>G6tR zWuL~#hG!^T{9(5SVzLiDwC5gtI76&od`F=%gCpwg<~5KRu-ie2GwSlR2K_Jw;4hL& zYJA4Ua}dytTfLo)`@@Imx-mS}fSaw^C$T08-jw(&{CHp^H4^7znS6)>FKc}2k9OiZ z_2U%>DgUiX^Pm2B#jW#1?mPE*#Tr3=QQslgH)KY!^3(@wJn3-wvOQy+{bkD_^A!}50r!QG-!Dmf@{d5m)MMyy{66Pt;!oP z8WFpA7&q%rb~84EOEd%A3%B?4pBaCT&;Qr6=I{FJM0SPwyGAo8z#r-_kQ*w`ob^gH z36azk@-A54r~VP@EhpdZ%36J~AoxB@YD+~ZZ?qJ1-rRrDQjywNG1dD3f^WWijL3yp z@xvnRk8O_?<~7G8r-|1I6WBhV&>y>sVwSR`xEz- zcrCm)G`HnC=I+%Emkic0q09G$h+EA$XUAekmZTH+Au5f$Pt&}|lYU)0co;+8MvCR) zT9Vh@%0!km%T1(`0roC7Y_s2ML^%PY&P+=))|FrM)Mfxyp!x4DY*!xV$I%a3(ar#*kpeViaVO8ON$yb$6U*f)`(}2%C;Rh8}(c>PRDH;GUv@<+2OeoHGzl+8Ic;OHP;AS z{WHRT)0pAA)aDELVY?e8&2Z9h95bsioe_kiI2Z71UU~HF*aoVw9=z)iGsiJBwGrJI z&t|zpXf(!6Y!(9SfHN6mUUf9zEX%L|p#QP&js6ykCFyy&?_ebGcHc` zeBzw|Jo7dDfQcd8mWBdI40o1D_nRG`4+#BZG5d!}_Kj3x8U#2oK3a~c+&I`(8G4Q5 z^M7tuFqzawK0XqRKS)l;E650X1EM~ji^fm`O_rBm^XpGei)}l2ZS162W354vP+9$` zlW$3I(j8!u=CYYQ8QX|PTk~~#{R8iBeqx*PQ40vVMsWLMxcgmmk#%Cw=T^tH2N2Ko&g)@*$Z{HN1DQ1&PI`Olm~*spmz zUP9V-FdiU-|4zgq8OSnbK8qF`j+a_LY@bi=6L1o3pAv80+{WC1^sAo)m1oD>+B?`w z%)b2$ulZF9IW)X8>COBle7F#^AnBF;9A5X%`I$LG=r`lI56YCh#>dcL_Phpp4wT(M zGW>)0>pAb0f!8m)6kfDCGmzLUc<66l<7O?+7u%SIeWEJWG<@8}xB`w>@BFg6TUd+J zp)lC8@%mlEJZa=!a~d5Dp@Remny&-IQh=`^v-(FU2?i<>jowWafe8~I5un2O8ZycV z2dSpan=d{JlATW0&QD}2&P4(x1Li#gLZ7iTnbA!HWw+wRTBV{2K@+n24)5`ZeBH*! zY}0^P&@{}4vO!(sw>Q7WIUI^fbP|sIVN{zqKMT^cGB#bN6j)RAH?u}ItZK{ce9_=a z32H3^CT;(%x%wD1s(4#;KpuD#O6*skcs!k%cLVC#100zLj+iDFQp(N&4T>rM^7@;> zm+UZK$%Oe`D=nJHlAl>axU3c$zcBrI5`W5+@#~+I^f7PI^zQro6Wb`EP~J70@$wYQ zBZJVS_mTXX*M3}e&k5TUBcK2KXqiMa zheX#U-BT-(=sfd-NLXrMzPULMex3PmCP0FLQx||K^r2I0>Gq$Rj18Q+h+d>qFQcIO zsvswTT)TuZ#;?Q-QTa@|=`@0H-)%secVioW-b{c(56I^AfjR6ho6j9Xb~v8r66P z;=C>bmc4Ss8_XU9b}I;5-4Yl|C)g?6NGhI|qrgkCTqQRGgU~gVXa6JN7iN zHyVrY6U=>v-NdHsO(GJV3`xN1i2)y-7;wtOfTJ0JuVGSDc3#D#%!l9Ka%)UTb&o8O0cl3I!mwpi3(j1J4=NHRvCi}9caw|I`b%PF&F3U{ zzW&2_He34?(3%yLeaisGLmNfXg@6xF{?zKN4KN1QBB8k5{4yNnTjr zb9{`>pHNs%o^<9k%DgAdrzeho-{1wRaJD(s{G6MWLHXbM`zS@e{*KP~KDcLq7a3pj z*V`h`i+3WuX#RISL;PtW9~^L}=J)2W2UE8kzb#uj(7I5ioC#sdShknkftG{O9bdgQzdTfiqwZ(6K0pQIL1Im&4ap27Zr~;`TF^QyzHTsIc%=en z_!Sr$B)1Eh+j*K>dtPqCSd9#U+abFe0h}0-)yN3aWTzZKNUJ7uG?GC!?Z~Fve3SqT zUMOPH*WM)YT=o0tMLlyF&!?Oz1;<0@w59VBWwV4 zAm>8keQL|foNyDZ1Bs3GccEbOgp)+~K!T6a##)+gt^E3)vAF*g0C|NS+tJcXM7u7J zX6FRd0YP;n=VCnUl{+Bk?qHSW(V>Ay%qdT&<9q(^fz;0~@2gZ&-hsb`>XH<_?=FLB?eqed`d4Hkwa`Jlee<#JG02BGE zMEjEbC+sKw>p_vG7F8}qtl06ch>9RLx)VbAOl24Dk@ zL#4UQCd$#Hy8{I`NH@6@EL7sq{(0{#}YCf2SW{PRm}R)Vv!0-M z9C2_u<#9lM%`cBcS+=%3A?-r~Q>zx?rXAn(N&C}4Lbw51P$Ioryp??qNJnROUvn6y zWD4LBZU(x}Q&{2+IOF(bY|`tMY`B`+YDNxX*By^FzHPwS0t}q>!!Xo425-{uVu<<5 z!8&V|K=U97(9CYPvtYj*+_=tk{AS;UDDySNR?e^nt3rY?b2maUpk>G;I1mru5oVL> zr4wtwOTywqzV*!aZd9i0{7^_dami;;Xc(oMN$n=9Mq}nnnto@HK0Qc3NesM#&g4Fa zhCSqvI* zD&TBGH-bnd#P4E=IY!fI57MDWv#DhClP?!(wFc4jAe(Z;^*ejwH?~%s8Kr4)Ei_%B zerFG$lqRtbM+M)3v^X}xMzu+-Xs}lqyrax$T`+$|Fd)w%WP>@$QQNRL>Mb5=`90nV zj`#g}`d&l0*?}aJzVjCBT42(JEhc9HsvL6)XC7SCC_$tlkXsJaw{wHTb()c=>3Kx_ z>7YRLumb70{tA-f8muNHkmn18glucotg#`3QNdY7I&Hs|@{FS|A+EnfQ>xdL1oC`= zn3C;YJ_~^jzgbBSpS*DWbxPEsL;`ufKm~{@L4<+KZ&#vLB@)Q<1u8&P1)?etrIn~z zi3EZWBoGn{_?ib!S=As|r35RLKp@<{v;-5&vjDj)0Z~$kYL!SJT;Z}rVJ@}WXn;S6 zsI)Vn=mggK1aLYkL_T?~v?(BW3-WqJCa~5gz@t=&O{kjHkS$)~#+`2pIZWW4p0*&@ z9|pGTY|;b>cs>D0&F{UMG_X9g@LrqrxVP;`Z7IDk>Hn~d7#nKYZ|C%z+1Q-`)h4B4 z?*o-|pbDj;pH#%y03(}F{V5LR`tmJ^!98r-AiL;6QX}JNtiKfv2j~Gp+XU)&egh!3 z)uHk&X?$;deHXQ=MUsWE`3Er5&LVGXj$>{$4HUksm zR9QTuUmQibSiF+POQA}SMY$vu93&4$iq{2GuX`WnP%=bhaG9Nh9jgG#?-J=<0o68& zl57Ny9ZUw{g;HmTsYfv}0{FcQG*^KhgNb)XIZ`u^eMYt!G)Y1D!b+xM}A@RyuT1uH$9=p{kSgVnV2zf$4XmfH{nT z+FCG%(%cF(`cPPHon365p0ACdjnU>n)!OxvA2_53ZEPKL7;rjl3Sr_~v7gg;vAILp zDji)B6iOy}Cj^k^Gl7AVD=?7QBDOKa^O@-eDd)1Sch}53dJY+P!dM@J4c{5~iO@k#QPsePE4L?pfOZ!Y)6P(Tv5(HswGva^vZL5= zekec*NV>gMNZnjHllnybFxBN(;Cpmbo@d$Vq6fH?cF%iI`Q~<(GML#khdY;6>Xx0i zgPnkTyi37yzKcQFv0#DxUOFcI7x?kcw#`dCfLAIC9aF6+vjP-)fU-(a=$H>HN`*y{ z5gd6F24*ucag&73+>amy8nfXCLJ^uv@jQQf;x#dIHiJ*m#qFM(Fw;s*~G?$Y3X0Y}$#7fYypjrFDhkVT;mWu4mNNJV9rN~>fw=x(P z2KTfK(w)FyV_vTFCgd6`nCrC=LaLWJEo%6nWxC(_5MUf-7BSJ^Lmh7R1p}c{l9Jr> zXnx7A`+cF39WTSKDx8*qa!hh%kZ`+VD1+KNuYZUM35q%RuVJEI8&Ue5v%v$7TMIw* zo0Of2+LqLvCVyw|3GQ2>n*!aIL-JdJbx z5o8E)OQ7plu#(Xcq^=zc8KSiGGBE!P6cxy|wfPFUVkFx^B}yVSPs!;$00fN4@-dwE&v8TtRh>*%X?@&Hzbd5_>MJauYN_4@NzapezA?$XPBnFQnXI-ag@Qq7+}f zRAwe2qo|D6p-t#eWS|DjQCO;`oja`b=u&!zi}d)bL(!h>t$uGv3;QjHqHZC>R}|n* z8j23(G$10A(FY31B>S-JmPQ$zja+po5(ZcAPX^ap2I)>xLTpJ7K`pI0b z{m!At5LakKbxY#HtjP5*oA z=tE3Po0V1QPa*@?>6C)mD10;npz9m}F3iVJGp=)s#CzhpP6Z-Ty^I!xPOzl0P;1(7 ze_m_CHYAih=}H@qPxX?nv=QGvoUG|9f+l{!2`oQKH-M%~PgJTuLuA^yS$JD3u5_qm zKzvv=K%&Gmr##NXk zPnq%@?j8t`)^rJ2`BDixO=1MzYt(C)4G>36U4VEzgUp3Yh{ybB7{*Dxq?`3af<`DI@w zYz-t4{`|7V2aBA>&FlUpQh@ENX)M+NRRF2xPG|5m|J3$Fku1-De9=hxU^$#zKAabj z0l93C*K6Bi>V8@5X>f)o3S?C3700h0fYR>7Y63jTB3Xi$-OW2>6H&hd)E;!Y7@n&< z#q9&t?5U|>M?pTA)o{&$6O5FN1Z|LjgEWBSGH}q|V`f<{XoCcdKM5kd9w7avO@?sa zm*=|u>XVf1{|3#D*nXv=uACax?`>5+(9dJ$H_X-#z5&JO5(k{i@QWd%xuusrOq!Z6 zJ{{#50^oHq$h=#pK>E6(&xj;PIvL?#S5YMmAy!MMz7D6mF!@}@Cn#c zAm!V@&{TyCzT>tO6ejym5g7ek{Zubd`b(y!ACS+>amxVnidi(@_+2X{^R^Xm=4Wt+ zXA$lhogb+RuT3!e{=9dRe}47o0m5c{>TJBS%Xkdc!+*X1Sb^sF$tTeqaVP_V!v)A? z;N6~gGW)P6wX=ig*~6{=LVLlaG-i$mme&N8hSTNVV)WfRr%UpwzVb!TT&JZnGt6Ib zcQ5FS%^=E4FYi3n@dLyhBdpnQlF?@FE!PJ6n z_*`P-mdqitZC^creR%98?GLC2_YGp^)Nv?0o{t_OlcP&zmCWCNLmaI)+`iokV!Jrw81@${m#xEHUBmr&czAcRFmNx zrF0bRVrY5ry$IKf5qaljg7Jkz*unz!kMElz>*cs{;?4ZxJT`P(-$p}sn=)u)-DniI zp@i@|OR$8^YZTbvDqAWfppw23ckZMr@oNs-myM+QzqxDc&wLn8&jM7bIdrSE6`X}a zPnd^{%^ZkhAhDYDJ&;IiwKomL*Dt;e^p}7TO5~F&%5Dr*Lufb6*a}$%W=soG}-rv_a9=7sUq0`BC(7lz^aS~QP!#ss#^{6dt zvvl+VXd0kPwIjvd;nyGgP9)8uwtiM~}k33G2qw)4|v&#AmOdQ0|~G&6hv` zG&HxLrJeUlN@X|WENVod?YCAU&>CAdvN1rTec`dv@cc$)*dFz=_40wTm6#_?iw%^0 z6fTc(!%V&0Ejt^Kd0eJ?WlP|<+6~jLnv)5p1`aUCl7GKuzJ-(1n#Ou+kwS9r;xSmg z4`npx6sgPs_$v{`U}$74d-|VDf)`IGwC{TAFR%JnuVtZLk4DSJJA#J$JD%fn>+WG! zMwiL3@rKt7*m$oO5>VO3+d@YCn%BruzWR6AOGe{86;RK`Y`kaxosG9Yku8Pd`kndq zni77aYy-Q;a<6W~a<}f!UUIryx5a}}KucY=_@3KivGUj=KVeS39jygg5ptE=-epJU z<=wa!uXv|6)-{p8j z85Itl@AsYwkL>gIaO26`i#*VC;{SCmAT&81CkEGk7yDJxZ(~C>osY5~NVo6hFB&Th zV$$?LHTuy3=RFA2Zo&AxZow$q)H{&b9n#r<{2{RvCJ~1T10Ao6l;-QJz$KnFVTAVB z(S0I$1)U=J6lz&^Ze9zn0Kx*&24B=RLw_q(eHz|}Xos3?hve#sr^kKf{?slk%d)&Z zZ{80g$hR4D^=9)3LI9)zq)iFx9}^;>mAmygq&T;w5_<;8n%G1CD2reD9irPy*ewGX z0b}NKSH)s~$4QIJkmKLu72?L)$&!HEf{osq?;FOhrbtZn>c3fXJw`-5`0sVG(I!*GPjLyv2fO=-LSDg2V zjM-!W%U@wXfr$*chl<-QD$aCDlh8{Ln4sB5DY*TFDqDt&tWpqUK8Wj`OlWwtOUlF# zvCCr?`c-+%hVsw*rnb}v`411pH_| z-eSnPZV0pL?nPc*#$3A?%?sIYO+1Wk7VwE8#`x6#;^A%%n0ReF^+YUwY9HR$P?n&R z!BQY!+_%R0OLVkWwLFLeV+@WJ^gEwN7@1p_ITD4-Qs|$z3|jTG zmr`>4zcWD5n@VOasIgn|ilo;ilJx1eGvFIP4Co|Kwm|4Z%s2|0j(71)D`fq zpw}in@MlSSsl+xiILuI-;UlNI1=n#sp{xZ(yLvIMa{frf?K2Kre5j$89)0N+} z^Dd&_CQfSnq`3bcSOYB#PDUvFlvx;GGYjEJPy+m!KV|aErni8BZ6jf+G&@yO>;A>U zIqI-{9U35x>(mR+U3ARQ2bgrP_)j2jzb&T(DFdTYO zQdDQI$`(UhBrp)TFG5N6A>BTxHO0ZfGzbOBG}FP0l;X&jKABv?>jd zl{$`EC`aOi9Ll`GEOB;%>7YM7*{k5A(V|o}3D|{eDc*x0!vZrQptIcwq3%Wv4gLy^EjGLd-KuToAbl@ozHUm(=Zdxeup%@@WS&0ifdRH*^txXz&FEl$W#CK6bP zA&GbWS;|m_G9-}a3nVkMu+642apY^?R8@zJG;1FcC+I_}Qa>J1sSmvmy#R-tCdhe~ zmO>q-R-pmnz}TuK5GO2FXC$ytu_WI0%e7cBEtWu@FA(JXNPHqE<(jcN*YQi9^7QmGa9kHrdhd_3&qZ%JYfAL?NfQ zG=~*hZoqyyptRw%(f5vC z3=VZdw`v8~Q<2@$gR$u44i?tXm`xMv`4QezFfadu%%-uWgxcUFYxLLw=Q{W~56#}s z@yM^aU#O~2RN}wFQQ`-9aWijR7*|oML)ngLfH;_Lh?vxwt8+B;$w;7`xM4(OfprkaOrAP zp6XD*BN`wM^ohz+oKV0kBY}kkEb%x}uL2%Y0SkoV1`^0QUPP0YBi|*OuR3I;UIWAl zdXZ|&2c zK%DT7%2HNLSWQc`nk2ALHAy_~S!gw7w3-C+e1XspHo@9ANwRpxKsGD}DcOx)Vj~V9 zie&j~j)KCZWQQV>r9YIc0y~s!7uMzI2M35VlTgneDcSYE+n!`)Q1xq8De--Ok!tZn z;!lHkQhC@9k}6MiDBxNR5GQDUxf;>s&meR*>WPkyE&Zy*#c`c8qyhpZP6$eTk9v_P z2P<>`yU=()$&-i^yXO87aW@)oH${9at`OtN1Q9WR&7ClkP{j8{L`;7uVg+_6;xj}% z)!*Y%*`GZ@f5?cpB%OGwB)yoGm}uyKPl$F{APP%{?1Gh^LLbZrV`&35_f`l zQh6w5^iKUOx&7R-%#~t0L#)z2d55=s&4#m8h+cJLjAF_02 z66z_%FmA5Ae|us+l_R}hbE*>GsKjT6#HWF{fSB=7a+Rn$Y{?ZGAWk4+9j{WS<%IO` zJ0PUXVYr=?C}$UG2q{e=t@aYD^)92=wSYqU8Po>5d?q3!`a>ZputOoqyI6kp20Us7 zArb1?n?gG0*V_});b^W9(%~YV>J}w_Lr8oih@<0`YR7UFh&q%|OasKR62iH2D8g97 z>ue)J{rw54n^v@mP(mujnq*FjUw?ZfI;WMfJlFM&I?QuS1H{R%m6@11*j&x&NH2?g zb9n}da<0Bg_Ugq!-8c;ZJ^95`&(e(fYhDXw&Kmk*q=x7ZYe<0|)==-mteWcC;>;w} z^K#bE9rtaohMGB0WB#Ya5B^E2w=E?8EQq5ugf+5OhB}l~MgzprtWxe!DGP-A!4gtI_oXINbBvENWIY?)|&!5thcX8X{w*bG85bp>Ulj2_4Q5LtG5r+rh)5XO5CT! zmxjdWf;hXZkWyyDOltS1!vdZn1>`R@8j9w1@z)#+#mb}H!vZR>!vby)=Bi(z zJQC_z$O2}5vAqJeu+sdR79}3xI@+IkO-P&qarUz`=T4kxmZ5-RT2>1)3wVMQkiU9I z*ONQNrVcui1-v0rK>EW1DzL)>{#KZ)K1q2b)Kkj>KKS$P6|jS~s5r3P^ugKm~SKz^8<{>JKW9 zgnHh_0zQ53_6m3hYsatQDj(Yal}fxRB<=%oHd9D<9)KF0r3IwJ0v;d*ICI#fL z@i2n2fY(I|NPk#B1$J0Kd56fa{xqKx@@Eq2S;PXqV!H*z%8Ld3olsTRDDmInDDlV; z3iu%HZuw1gTL$GT*YeR}`KC+x_=^Ev%Ew=G^Ql_C_DK2Y56h>(4$HStS^P3r;r>iQ zJ*TsLHDGb-HT~199KYsip{hPhiT4kQV z7_Jj%=1rV2T)?9m^*>|wK56@%^&p*i`;Ey3x8Dvxr4iHc6dZ5okO1el$lO{17}o;TGmojMfMEbB+WIuRWgRc9E_uC;#G67XZIIj4z_mSd+)(1S4kHew!p+q2jaJE zqzV13yWW7I{%Q;jKOf(=?fWRn0a#9L@2?TW?*;#Xo5p1^{*B^_>KS})$+|U2uX$Ae zP6Fq*<6i9VaQ~L!!QZQKJ&k|I;tJLmfO7=y<96XM>OXZe=~7ol3~Fug)_uc?MBW z+(phm=zHR0atKar`Z{>VVkgJjGHndbB)Uvw8VIf=B-Srp>{F z6!kyV1885vGr8%+w%{=AJe;-2e}7ERr=qAh=7FOg!8Djx(HgJs!4^R5b~(}Z-Sc8R zD1oD(8)Dfw2E(<9>(hz<0nrUyT*q&NAFY{sGG#D}yITf(4e)3Fg-~P`w}NGe95mlCG z$JCd<75~X%Wh%>6=jmHoZqv@!WQFk`kgu!cF*0BV_{1)ZKOBP9ES*WehtbU z3tP%yJ-tWOKmwe==}+9T9K2@M*4@ElVe+n_8XEWjVBL_L-~r7cukIe&4|CC}J{a*6 ztzIqW(DqI5+_5e#X=6Hfrt7$)VM>_~3M6We)rqv%V0R#_AN`h)d#4I_e2~Lc_ILRe zV19|6gzVk%G$gOMA@4WD-G?&d^GcGTAlp-K%u>mv};KFiCnDd`G`&D>|7w5 zo%!B!q?4Escnd9U^0IKQy?KjoF-M~5XXP>CARHy{Hy?++C0inC=-M&WU61w~Yd8b7 zBh4+0u1w}>!6_W)#oXkRXq1pxV>Tcnqj|!kk<2Z$qP9rIw8OwDNbjt>c z^n?M_A&2STaUaUB-b0!GA)KC@$@DjYfU3gz=M9kq&aH33STh@A$s6$(hyO_YEydp# z@%MeS-2cNL??b)=f86lv#osUSw*`M}e3AQGm2y6f2kmg|*baR--Sr5X0m?UmK48!+ zO>$vN43*J%B4jlJS=Da9R3K&sh!z~uOcR5jKB2QPVH)?wwTf||#YSI&iItZa!MSiq z2w&w%^_3=r(^P8Cw5ocN{v2XrZf{KbW7jwefGSidIJ?0>*#=$0*p!(bUsI~9TnX@J zzJgFrKiX3+I5qG0j)26_UXQt%f!`fS_B~u?wjD1=eTSK#*Q-t!aRanFlYPH0Gp|JT zm|uLIszS^JU~P~j)_`IaTSig|V#brcGo(lyhcFKICJE}P*Guq#pb8Wf0$JhAAc}Sr zr*`?LUjMQ&qTVC{!JTL75dl6lNYopWm}goToVVEyXda~6?;MBUYLF0G>k|@H*DYL$ zO?6yKz<0~)nn9-eE71&vCtgu~Av(@@tyR0cTi20Jd<})@SX=kC{4`U2dm%>=tiBzK zWVL^&>h*M(nwau_AQ}_l`7#)W`x63r{t_@Ra_d#0cZsCKqqBprf>OZ=Q3^=QB#od0 zDVhtGpgr%|A$8d*<+bPBcnlMNdV)Ef7sC_G?ZOV*whUFZ1hp=|#S1Gz=U`m|r(j*a z>aIv#N&QaMpLsb`pF@IKG#K9RE6usX$48OP>AkbQ$kjPzdU?0cvKw-D8 z(@oq0jykEez?vT*pl9;*nF>c9s;fsD$Sg?*&r6Bp3p9}s*QA^dNnX!Chg%P|O0+;y znvmN8Yn@v_1MTM4wWbrF2UD$U>poAe_5LAFHZaYw4yRY54*Bt6^MS7lXDbyh!{|8RW-LL7m_c|_X|2i*)^m>A1lRN*VI{}cmw^>T4${uNHoIUGFh zfx!4|{wPwiC(Y#~P%z?@;0bz6y*YqLR=O_Zd1*Ze{{)Z3%AFb_KZ0xN^fNiR)Q z9C~-5hcJitIt9l0@Kk0x%w;Fui`|HE9!!_Jaa;~e7|){j*={}^!kX}&Yc$^b_T>1M zElW{jC{i=}Ni&+2VKeY+&crg=yzw=ByOq-Hm0(@mH1x5JNgE?9#@qXWhXfoUc_#mSCoe$tw zPLh*5`(*ETFk^_GBxjVKB>(W2b0^738J;9pYI)H21W@A`HA46h09`DXj$m24q^xqX zTxO9i{qiF4Z-233`Iub3nWd-4RUK;lLb+WMU;Pc)+?258UhRzKuJb13 zhr~#ZkbMzy61+He%ZT`TU!d>yxqW@v!%7D49Z$9+&v`=BOUE2KSLQH-0bBF{rAkmN zcWA?142Z99izI7WQAiPiFz+oe@oOn~W7;K&Opqi!NOG1YDNg>>r<(|PKSuE?^6;pS zIcT9nLQ#r7?j)Y-+D2FxERPGYURmuuXPzW@k5|xyt*IC zuo+2h`f^Vz8w*9;$lD6Eaoot;x_lzy9zbNRW27`d{1Xrj5dS2IQlV>WE7%G56glS@ zkr|l;x^kEEtQ!CQL!OpPZjG{UfaLyb`kP% z1I}X*CeHs+jmUuHcQM5Lve)Vs2AYEfVy~p4C}}t_P$^G8fpWEMq;@;&uI#tD(Pls5 z@n>9Y3D+y~9zE_mdL_w)Czs>Q;)M6E16>ahCOuA94eA9t9)=!{Fi8dtYtU)*qv0hh z;11d_`ZMs4$Q*!Qb>r6$q3wB%3)Hx0qd}*`4@`N~kkq`}ldPDu{}b|iGVu4pRiWD< z*;w*R$;bc6!C}&PCHUkWQjq8g<44Pu5$uR1y|No|B$E>qy-&G{@AJ7`E8)0p7x33# zfnVII#qaG<)Uhu;{?GXtTn$P)Z$?n#Ay`94qIhTM>Ws#%6%4DXdCzpA%__KOdig=D znY7A~Af~ zAxqMWwkM7+CG%jWuLwUgmlx+rar=H>nq2ntq;~=kR|0dWm!XyZ~_l5QQiECbSfZMa9eo^Idpg+m^tn=-ocp-w=xJwyKZ$jG5N=5Ux6F zQo)-aOgADo6-VXcA`WrT4Hcpj$0M3^^wCXB_ZhA%)hY@dMTu#EMX5wZEYJ`-iZUio z+XSi11Ij!_p`$2#+YS>5z~fJiV_%#;ytj-_t&f%9u&nr-@$0qG@A+x|3eNKQg|b{( z9)IKEcb4$Cuav);X(+==pv9}ynIliz#jE@Z=3J%F9DisW&>Sa22Z7@FgqFvD)5i#K z2O<_VN7SiA9ZDonl~2eL@hvV8vG6&fRwZgyB7v%WLY9cHB7unF$PuknqNPeCP?b-} z67hi`V3W(`@s$}?T(hRbAjAkX$FGMS0dci-svLo;d_v3P4J_tLB~r!%qIpVGsYC)* z`GhRdQYGrh%c(+%VoD?s#FrzgS0c-}Wp7N2IikfB2$GOu3VXFmq+B|ZFUq7uwMrxq z$|OWmb@P-+Gjt@0Ir3H{%3G;K^ThE9S%Fq6k&G9RUHphu6kw7R@j;KP3=-^30 zG!_2CMzFMGE<$xi;5s*mzk{u}jefif%U@ZjvL!QSa!Xzwze08lmd8I~-7EZ+BGD_H zrQ&|VQTP+S!V3=Wi(iFn%o#od!FS5oN7q7ssRv))QeXVGC*rsLEq+^lsX1sFM#J?P zTs*EoFRcQ8)`b?uWp*tOdM17N7z23JO)1yeD1J`Xyf*qhe~`a|!}2g@a(N(1&YRE> z#erb0{E$8Z1)AfJ5t<`!k0DSXv-n$mt8^h`@Mq(m7_NuVm9kR^&qM9?!WQKu4h zD3L(u&N-qnWp6~BfW1~FYE~kF(4BKciXCX1m|*)nu)~H#r%F!oP`3bD9>1U6a117` zoZ^rqAP9CP2!aj-A&yVT5{+0QaU6l5*OVxuL;^t&IievYs!;YVd!5Q&hq5OS1R?DG zPLyFG_F9#wS&0OKAaX>VN|aId1ezm{{-aDwm1w0n@{NS$amlGevB@R%+V_ClszHni zf|@1BCl(|l2y^5-63{!e$N}`D@*@y*2_VbQQq6+2%zSU) z)@u-Bf}mOn@-+uVm?M^Opf@W&t;!D}%g;O|vN=c+P*ciJrSc;XRBw)-N+nXqkt85g zOm2}AP16vEKo~3lEsqbg`YH+$wJK4w5($Lr6QZpoiV2ZANa86;TO7mz!k#&P?;XdP zpT`LC7pp73%)xYRxi>wD_2n_Zz!F0o=oZXI5V$XNB%B%Q?5z%0F9_U29iG$xRH{x4 z4pymjpj$HVN<@5PrUZV$g&&WQC^`Jo;FlEPpANrd0)H9&k}v#wz%Q)8zbDE&rkY6{ zbUKuVJ(WV3a5LJLu0HhXR8UQ9Jz;po2Lx3^>%vOLs0FV;__5?uY1SkhUeg)VI0E-~N z-T+uC0rmmFf(kGL0Lw1GOaK&z0Q&-kZvJ;sY8jZ{Q-15@cai+QLw?^b zzo*G>QhraB-?zzcLViz?-?z%|Tjcj-`K`q-YMzd5x(t^_z@|%70oZg&EdZM?6BK|= zmw5=lrps&vVACZh0xq5OVa zelL*UkIC;x<@bE~T_L~c$?tOc{fPXYE5FO+_rvmgj{GjgFPNuerO$9F2c=I`0VsV^ z3qa{JK>;Xz<{<#3&uj&t^vQ_;ls=ggfYK+w0#N!af&i30OCg->9gztQ2G>y z0F*u@Bmkvf4*=2^XO5h2Ltv*$KO>G$D3E@wN}v6v-&uqRw0$~I)s%kX^XbHYr4xQS z@ws%uODEQ*6K*<@PAAr+6IZ4aPCBtVok*n4WC>S%kXK@@_#mu=Cq76j@j3B9ObK6n zkWu2l#0LQ-J}*8>XQfIyOHf8e?Pz^ei}I+VSRY80MCv1wIvtra!;y$Ys-i?ii4Pzug;)tp zp(X)*1Vo645)ftARH*``C>Or}|G)M*bI#0!7B2T*zwd)zvuE$KA8W7IUVH7=H;S17 zKr-O5^9?~n?0i$dh@Efg7qN4Zei1w0)-Ph`JNiZJT&!Qj&Y*q~JKxnWV&{AMMeKZE zzlfb5=ohhbiGC3~m+BX>bD4etJDI+=`S|x@T^T}T2_d>p1jadI5nkpQUQBcg;-MGw zeQruR5A=Wm6@%9SF_fA`NpH7OhSY-UcyZWdr8Zkziot_mZK+g~m9oNSm|$$PQj4uE z#pZ{Moziv>o7xQWaEhU_QK3#Nw7?1}Ha}#{7n-s{R<@uRaAAd3SRuuL3l(}lTbfWI z3t&jYiW(~%fxp<&2umqs0%)$JQ`+tx2WC_PQ*mY83xDB&q*28LWbJ1XvR+H&X^l@< zw!Jq^3D7yV?UvL17bMvDLMpaF2dZ;cvO0zwu}U|0)mRX@+km{ zm5+bnma}}S7Ra-F3NY_dKK_N{4*AL>tkpgAmZW=Ofj+Pr_Xm79h08GoCbnI9eRiku za>$a{$1@KR?~OnPIwcV6KVcf$Grz27HX=Z3!N@5f8LFI)4zYtJbt>@QsG1%KInda-|<{^6GT_1XBoJ%=UZ zDK4`3J+7wZR&bH7OE7*#y%V=#ah)Xv03U1C-RzL?A1JMybCU6=D-cy|2d$A zDcm|}o1iw{iNy`Bs-d!SC)_t!IHKc+t4#P+;mUO1bjv|lRX~V*c(44}(}@C9=(kGR zZj#yA7C?^$Ot{;>{cf(4>A-eWE%p`qYVk|e_WEjjRc)_(6riC{1)Df4O?v2k+(##Y z{*98*Ld!8(QMVX^p6H+MvF1rlD~QfDUVXYOE7y#@H=g3x|apEZ(fzP(f0| z^_~2tW!jIxY`S#tA^7+}-c@6hDB?;N#%tubGY#psKz{V6`~o?)B|pT~@f*?3V77UX zEeG5#(c|1+Ul&rr1c?0S*A$r)o(|7UcI~5Iw$eJ`rdUu+U73dprlxQ6P_RZfiNael z56$X=C$b8gWBqEj!qQ?n+zU!TOX}vz546 z*67~N!ubu$lJDon@*1JDW<4za-YH?OTTjFLx7sf;LWd_saU+MpfY#c8F0|v2seap z8_eVnar;d!DmjIcQ#B>O#*$yCD+xKUYcFi^ZvrJJYD%8WlJ96(ava(5kI;f(_?L$E z#Vq-}x{|mF$!;sKlAxs)>e#`kpZ9$nCI4s}>k`<3BBb_Ydjt46P}AN|Sn86RQj&G8 zsjsn;eJI&iQ}RrdOrq4Et+oQaD9~F|;EinR)pbqr&a;)0Y##trueU5nBdCS7;5PfF zWZV9lAghJ*CP86)^KnL=3F%s{?M5wEaILh32d|AQJ!eqQIU!bo?hZuMw!GjSANv%e z*xHtk#K;=AZCc89t^{)5j}|UNQSNeO*mgz8nhqQ9c>|gsvJ`%ZH|5$!KEIz28$fo$ zSp{SrV4m{I7WXIy;*#o`gAE5Ps$29~mAf0?Hr`6POLdJW*(Oz90lRh^q9y$;7B0l^ z-Vy$7>N+}Il2no^_FEFjQ1U_`TW39f-_r&BzP+w}qIRKB(m>lt67XNTGe!#h{e}4in+sae>oi`EjUoyQ>TJk%8AAo-!#lNF4L)gc+ zOK!XzY3cnZes4)*`%#t(1BKgZ3aJODa0N}*L* zIG&%)uw3{y8J0?dZOI#0Eo=9<`}&t^%u5(mX11XnnwNg#nzz*!t5(@+S^V_2ntnn~ zNB9FU0c?)d9LJ>cC%xuI7pTa)@ofo4_uK$(q#bnEpGuR!K=LDsjIr^gfjZ|MGEkw+ zIrIpyPQl^qyj;1Us@< zEuyC8Rh!aJ6!&5sGR{|DS6?rI>*4qVy!Zh^sOd!#P~&&3YwTX3cI^i8GA{YI4eX1| z3U(KMSRH^p-cvM-w+|L?JIcgHC-s1gPNsUJlWC~Q0-(=~&Y~gNEZ!mzVHR(ndr^Nw zG;O?#GM%(|*?3d3@s_A@ruxR2hQ=+38y~M)ycISLOwi&b+soojpMOiRsb6Jit$KbfV=OFx+{eMh^(f5 zl+!3ha*FXGlGDD$CZ|mDa%x$-C)}2EYvgo6B&TRc;;>v5d2z6acyt-ky*TJ+QzUDK zDafMal^DeDCByE^p9B3plr|+C7pqJp<*^Hg9f4LzGq+s|fTc+QEFu6FR{_vZR?Z*p zYV-+p3;^*1Hh&!S(Q(KlPi;va2OuJyth?G&HrbR#W)gj0G+f9cl*bE6s&dZ&ssp)T z;#vQT=s$ihDY`Eg1QsUKJ!?$L06{n(g1GUCs+2+MV<{uELdvT5d29aj zfAfCG?E0e* zi_-%wILNOW>x|R&Q?nrl;$pjn18e1n2$JUP`Cz3y7sLCNG7HR?*i!5*%~jxLJbBjk zrQ{8rBNwA+*m0eL)?Xs9gZ*cmgY>ePel&A_&8hy}n&?PBwzQ5=1l;?s)yDnI`7skV z|45@P)M4n)`Ot!q9)^bW2Ip`eh4JKGK-QF<#m9Z7fR#zNYoD5LF-#l6mrTz70`mp> zi>mMpj$wdGYAl0eAQWsezqf(wYuB*gE>-7zrhcnES4rLofL<6COnV6TuvmiJ5Za~A z!*6eS*Ed2fI_O?!jYvkzxxrNJ(Lh)8J{GjnR`;!-Twq15S*_r|w~Ic_z2_mj@t;z}e-Wk-8rQDsfm^7S|Bl3o1vK~? z1+8yHVEp&c*+?%-Y2!(aTK*eM@*hRQ{plLxzl&oSoB#4fRKZuALVuo*d$2Lo$!X^2 zTJ^-+4B|O=Hu{U2j5YiSvc%Q!-&8g<43MkGGT6v0{sWhL8?e51SRqR$+{;wE&(v=y z%}t~@q@3%;Ruy40z~c?vPHv_&e*4*GeeD(0KI|rhI-e;woT?VCZvYA1pSG_e`z5XK zBHkf_WA$aaDy8o}1e6v_xwF7;UexUhU1?1{qXlz~Sl2FiG9_ipZV%+bJvz!DzjcSU z3zNF(czW{i2;Ns1v@S<%-Tv?&xZjmLGZL_&q_}x+S{lZo%2THy zHEK81kYB|j0igJXg4Q1(Fb-V;D8M2txGfFIJnl6kRSjtvZ7#|Lm`Ovbc{QKeV({%rOAKB`^EgIIjJgL9-Zker!<+62y|HYeffpTeV@%va{=nj^;D zow&~e*(NYB;vXJOT?wEu4cCdCV&+#{@TQvN@^~6fLflZp{lxU_H40j9pq|y`PN#Do6pg`;Zv(P& z_wM1UhNH@ZFkQj1h~#c)1I|^ZdIp`6hHKF@)O#)baQ4(`xbLZRk%lvHpHdC?I%{AX z8ZLV8av6*}m?!jM(7&O3H1L?%otQVAwVdk>l!8@b%kWdT2d%?eQj>cVMDUf5`9oIw z;55~5Y4d~~%?es?N3ia*wBH8v8ZuY)Of_L<^YK=+Fy)T^`@__a6A;32FNEV1!nW0n zf=M9>bl7N-XRtinrF9R0IGa95j1tdf7a`L@ZrCQL*aOtFn|mu7%P*Y6qhOhfOPP!H z(DV+|>oA`lZtB6}_Y+OX)w)k7Zhe}`(yvoX4i4%4!FY1?DTqnP+~s;6bkh+mCk0|enMJy z;oxV_X14=8wD{pXS@9OAXnMfAknDFH9OL&JtlGr+=rP4gHb|Lhey$j3F}qkeN%9n# zZRF{pS-m4nU0y64j-cy(QNjm&!rP*R5Bh}HLcvBhtk(*o--*(I)2YNTG)CG0s18Y>h1NWr6~mY*kM;5!D_BB_)f;O zv-#s>(()Ym^fc?{_iUX_IghCgHSV!%gpZtp)};tc{ddi` zms#zeg|~CQ{Ur1`by=i(Pb(GyEy?1TlYn5 z-9O24g-<=zx>zde)6m6oIWZR0dz`*N3o-0?tAVoxv2{(HsB++xQ z;8~fIoo(x%N7m1{j;@?z0YvoB;dUbACA4;rNvHKXs=H2Y%J?lbipvKv~~=EjD>JB)E@2<^ZwlVf$J zk;4@G=1;Kqe&m=zv8Vl8?zU5G1)yqA&7-FvkncJh*tHcgV~|tPOA$G=JFJXPMkPzH zN8?0Hsh{#CkAiNhfJY%7Z&0_n@uOvW?}+MOrn=j+VSijEe{FkQj_YXsORfFI45IBg z{ffaskt*0yE!cvBSu5CS1r;lsd$G3QTwk!23%>DdT-qB zQ?Ax$cPe*cPy8i^VKt2Iz<_Q+{4>8Eu%4O99&T5=sTKMY~YP|my_4;LQuRv27Y z2S37;T_U&kS3sLOMsGmveQk~Xh0#Qv3<=6fKG(aWbV288{{o7>!JdF^?T-7Xn9P#= zu1qaB<9eOgq3E}3$s4+LEb{<53C!Tq;3W@e5YRZnp-MN^MQhS)fZsl3TLW(H)0%Yi zYp8(W*~x~sTRk44kz^YZkbe+4CQx=9zY!Yeuj+ySsCJ?6Z2_taJKm|F^?e9TaCfs# zk*P;BW3_(p@uVM|dE6u4GQq`KaX)#rlo_Ls2J;Y@5CVwa+F1MJx0jpxi71!|qWcX2 z5SbH`Nk91Xv3_|wVsLpO!Rf$g3Ml{;9B?4UE;2JxMNZCQ!jh*d^O>3*ZCDySphmWXCsE{ zPp+&T2xl6I@dui^Ve88gTXz9X^cMyf_vgYbN zkSuqumD|_KeV64fX1NX3a@Z0Ut0c2q{XNap5WTvq87Swgr_d?^(=TXwev7DxTX2FpX|^yt82fp<}Y^b*<|d7LgntkY`DkSNOEWV1&dvIR5#YV z0&%PN$amu>a-sS?J_iUu+0*`xEo_yegNobZ#-^tHk*{Uu^djqRoVAA?Z&A>C2ZD9S z!Vl>_eyUO7$X%+ncH&46YW*?-tM$HLBEj!52wVStI@%9f%B@rQQN%T8c9WF!TE1tf zsS9prbkiU0fhpU(n63IaD^k|@&fbl!#9!F_66KPP8AtA=lsFy}IYUH?7Wb#fnMlXd z&)6(ixZV4hwb#Fy8o86n#jA?g{Do7ihvpZVD@1XV9AKMdTy9s~!-&pgF{#SOac|-Iw zZ2dNV0+*wmEwg~}F7mqVC+meSAw#A1Z<#(p?OH>CC;P~^v8t~9vA-7WA9*ZmBY5E+ zi~cMccH9dZH(_h)bQ@tms1l4GbhFzBsX!3=wgI}PD$lDnbz%U8ec4W=1Z!pI1pQ5j z1>qyIV@-kD8>FL!e<2MujVNQ-@j1ZnF8`2-En7T4!T`7Vzl8Oc6>}jnKyt&i%ka&8 z3o$PB75+soD2J2SPz@I8V{3;WJ-;pgN2agR0h!H@&2DN7Z&pS-F;kc%{R>N(yF6k+ ze?>7F^;$%62O3C=m2UTdAFhKpZG|&XnL7%L=cuLAzALb?4yvg#A72)xz5u^=VYa-} zx|4f?P}^0McQ1&nkIlLk5NIwpyc+np5BRGnp8?QS0ZD>8fUjCk{`IfA>KaNV|CPzu z6=JX`ux&x3g`+?r+_kRZsU$BuHwA^tW1BRD8e2dhzDQqx+9YuecC`SPZ*jPlO~D|j zx&1k=HoqPxV8s{MhZbZm08b5+a~JU7rd^g?UYlhV@lBB*AI0!5u9-EB`=3QHch~LM zxEgcE$-v4M%hFc(t4M7R-sXoFQct(7o>Zb|lvPa3mVeTzz&JMSpO01_lcA#KN9G|w z$qQI=)d;_emGV8L{?W&NLlQT#E00m1 z{m%y8z>5yYEEW?aF6WL581;!JP`@w8oDIVEm2+p4usV0`Z#Jz`zc(m+TGeHG%OQV> z2Mlp*g{_zeKDHsv1BA`}ev&-En?9*hFsAN9%3O>)LeS^UrVSkk@H+I%^sf8HZTd|u z?fUt9)ds3@j2yM|6Wd>p(M!hK5R9y@mC)D=Zhn~8^?vsj(!lKi%-cn{c!tIXKbst0~l*7=yJ^+Su4$q<^-$U-r-^OvIuc8zx z@5W^+5Sk&{^1t@Ro9lWn5lG_^Gm5T#`5mL!xSRiVRnDlHdF~kGoPOh$%&%v4y#UZ3 z`k_7jGC4Jan>-Sgv&B0vBD@S&gb}J=UH7YoPSpJM@ZG^Gk-Hn40&)-&wG5#+q;apbhQQb1|x}KWIxf_*FKz z!TlN*ST<@n^r z%xo>?9^!_39)sZ z?ZC#?cboO?Ibpq<7hvi&42HDJaQDk>4rtk}Vx1V}79c2hZ-V0xqZ{{j{H6mC%8HXa zBJB^)Hk>aSC;0gy&liaNo6Ac!x%2-Hk>HyxWFj=6*&uk3bN zD464MkHfe-5&kZas&@W_{S`saBjuh)Tn<}U@EKPgC->)@J-e9|1I_ojGngwnzhJ#e z$|L%-0Dx`Q{u$1n57oIKLI&x5iA4Y|Ce#oe_mgyOa7NYWL$~AN+Vz4ya1WXo2)ZwT z3%swKxc~&o_iUQg_O;~1`cf>Sfu289&^m%(T|Y{?`OA=ga?d7C8t^jAZ1=NYXnsNn z!5U*NAf9_OGp(Vx1CjU#_%$9OzzngB#prT(pZh9CM0W*tb08HMLa+U)|Kdp~ZgI{u z-K$PSy!uAg&}il|Zi9)g?9TPto(fJra}{J9#>Wa;9=2BTS%=J9FodlH-?^t_86Lwt zf1|`i^2sXqLW2h*h`fPn|MC+A550rjeHAXO;$Ez&g_uOdP61f zE_97^O50EkrG!v_H@^&{ z#Qkl%XEta|GZ3%M-t?DXeg3Xl*`02>Kil?__4l_et?6=bf` zZ~j7Rd+Y7c0r$5Zha$VnIRIIE{OT_E)eT#9m$Tq7s~f_f9Dbdsx;8Lr18{<2F!o1v z#`44cXS&^-@+1}DFak`uxBgZvXFcxPACv}*YIK-#x4l!O2EyP=`6tYFjzrUQI4(uw zkw%PYyo>#zonWS5E%$fWo%FVo*1wX_-MsNA5Yb(~P%RsC<;NCl?uOawM`1hI!kjJ0 z1-iJ+eZ{haWDqUSdmlbt05UG#-1}XKM;qyFZ=ty%MsYAYa;5GmomNJnm&j`5uD!#H3GGQc5JbolMS0Ykl@HTfQ)O9 zaR3>i@lpVp*QgyC-G%IWSqEHEC^g-5KgQ5PX$2a%g-&QV`Z%G5aiQr`!l&4x>VnmP zSbP3~N6|4Yn8YL_SbGcq_D|riy~1I4DdhEHK@+(0VGMEZU~3;;g{6|<%HP4p$Bq8Ku1aH$C*n-&I%v^0TkGY{L#W=NF#gFsxO6%i9MA^?8zIO zF{LB>+WY9p%t$$et)iKORcP9stU8Di?v;ekZm34-r7Hb4{6%R-${`~`i#vjbMKm6H zwBPU!p}iQPeGYmws!Jx?@*_lMQ`_fX4+J}GRRv0g-ppVg=YiTj&r{cM+cz9dmvKod z>^NCL>uCsVG`*eZNsgvxjMk5)vx!#lR-@5$z;y!>e2b({+;S|dO$?w9za4SoQ`S>A zfUfZaD44m?0E*A?06IVv-^4cY`nm{|)*tRq2MZq4aUQLwvwa&-1>Yq=v!S)!tyO;S zFddPkdUjeRVnj(|rv>VWF6cn}LukKbSAYcag%u0;5hQyOtrRjM6~T<^L!j5myoxwL zDuUt(713fGqF}vLgnf|uo8AQrBXg0%D~dJN3RA#h^A-5DQojksbcytaH6H5?3ML9I zv_cCQcunk2+)9VU5StF^Lm~GrVhT?bTLoE^wAa~Do{@5R43k>i$**7wP-A7d^F0Or z{x(s7aZ%s^QA9VnL7z}(Xfj#4YQFEDn$3t%Q216Soiyb1V!CgS2(ZXSa+#q zp90YFSl7EmK*wXNt>9m|E&Tu9_xMuFx?+OSr8#L)(sgE zxRk4c?_t52$GRQ8#`?c)tot#$KEqfy2L1qAQe)kcw+MgnSa*)_nI7w+`DlE9)%J{U z-P*sj==@Yrk%+yYCAP$GW-7-e|15M?j~>x-Y(2=9NWZwe^@NE$79`G^vIO*j_I-P87TY&#=0&p8igHaC}_JT z);*hOopG!SKu2&-Bz@9k?_#xyv96WfdJ4z7Ke5dj#=3`JDtJ<3-C1uEJn>|4J>W64 zwz%t+ztLFNFJh#|x?@<8T~>wmIUxLhG}fI)Ol`+lcg6vtKx(XOexoQ5k99|hBI&WN zs!t|3Jr71`Qs(s{G40~t(8k-->W*}kxb3f2H+7YS=)#}HDGfnfl;+O zX)U>Tu@`oV4~2$<%;hLET+Uq%RGju=p(4@@qRoH4L8yqw#y!dTooP=}M&Ph3E@hy?? zRA=r)Jf#m$2HuK{lXx=lR(mqgYLfu&3^-uN;64Vz9hv62!DxeV?jmsA!!K0lQ(Sk} z>(u#}>(;YR@ofb){@LvI^WXD+zAgSch;GTS<7Q45!`6r3v|P86{MQW#X5zmchqu9h zi%7fOt)D6W`=j+U)`b08H2dGffA3-QGw|QXUmy~s_-_tDN$9};0H`i!8B_eXkM$wu zznhL#AH)U?_>a5d$&LS`{P#Y>Jp=!JV*h&n+mU@pIMa_NG9HKj{P=e~`W39DXykQ& z9TnAM90m8VHd3^|*V>3_|K-;TZ|Sk4D!26V)ZoqZJDrehxWQOx8RD^UA#%BQ5|nrV z7*CCbAHglgko*)MJdzPAVm)*Sz;+qSnBs$HTYq9cxSj=Tcv-F|bE+PL{wxPT38$*5 zP44mbQv=nfsMFtA`76@o5CR?q zA_FbOA-BIqU5+{AnE=)8XBkr*@}S`+=8%h7Fg_BqOvum<=1g+5RXPVA?|W`&>R6`O z!A7odD+ofgZK=l8Sv^lEPLb~E){mHUiwJJCy)L;PxoXpZ(T{`!{fNY%U-oF(yUB(5 zybNOQbCn?%QU0Z_!^|R^fgJK;Ua{-iVjto7@OuetqrkeONbluF7Wq34km6 zi=J{t;HP&qbLn$%SO;Q1K+@wZV9%w`De94yt`{rzJRjRrvFG|&EAs8F1A!+4l9CD} z4g@}*>xN-Rg-Z%J5Qx~iAJM_x1pr(w21>@^pN}R1<=^isWiACMH4g#9cmU;O%n}E~ zfP2^*vxrA~IJKXD0^cTKZcNDBu!1PuqD|bntwBbchs(JKXpO|5u{#V_FLsfjHt-s) zJFLzz3wI)|39>lgpXq~fa=|G<_Bk%xJ3^}9p9lEeC*m|A`t7eqpH^)kg`@q|t2WK! z>R~X_g!v=r%{?|j{{#FRa<@@_gumgv{w21`!t_+OazC?`Lw>^kMr9x)*jBfozY}!@ z;Su;trZ^no7X2ktjPC83VkIifk1!Kz--~3p@p%M6yZhWZ$QBe{imzBM!(TY~@fTc& zzcnk-`*Za*?0Aua)`Mx*XeIjVq~OUa5idqByiDfIQq)2Vn*o=k*RopoQx<@EXq*0^ zC6vo{Rub+0mmcy!=>`1kS$In)iei%!li<{IP3j6cT*UY?Jf27=AAkokZZvZ*b`4}) zDR(dRJ{Utv08CPUiIls1FIF1Ybu8*C_Y*Tv09gZ(2p=tc9e2H&l*=EWIOMV=EHuDKIppIdwFMxSwly~hCs}V`&)1jz zRo&r)63H%v-`@0sYXrD; zf)QMfryyK`fRc6^!Y%qsNjrW|FKN4SY56}8!#X@yszk#ax3pnBDa(Fn0o zy&w1-zw}}E-=eo$@rewz8#F8!>TfYaF#&2>31TQFfT5HChGNthiYXg^Y-yl;10DTaF2I zvIaTlvVbuZ#wk*DJ_EmcyshOJEiP3Vszo)-ytD{BN1&h(8LG)jWUc8=Yg)0$J|jc1 zP&p(4jG-7mrL1k~VyF^&kzlCj9S+QWJWdm_-wMo4H*I{j@l+Ek05H_%Nj=^_m+8PI z0`gTG!Y%qszM2DCXjq@%u>NP%k8{$<;dV(kbvK$X_wx&yP>r^Mc(m{t^bdTs(mHLH zh74x%l|B{=e~tNy3E(Rwh_9FczET4Cic#Y$rj(SP;Hv||J7e~DDk!PiPItx8@?~K#L8;8D%ya5A& zCP94vSD);`p59=s>}*`um>=OUv;A^?V35o?TQcX6H8!F`vBrDJ8aE;a7n8exkEm%i za|4>@rU@7?u=DoxHm~fsJ&T1;p=xjA?c-x+EezSDS=>m9FVw#XMs?lgo`K!TYW`NLir0bxz%rKsO0#L0 z0IpGjR0R{jI7)!3VAObrDR_Bj1pHLurSMq%)ey7*KR8fmYr#@R0=w|QyVPw6vJd{<0}BG}kVlKl zS;%XG_y8HSRaCR7lTKA#cXA<-iRxsb1Gt~zcTl(kU-1AO{^Dt5kTgHSzcrTpJ0-LoCz$Mh z0D)QZw-DDSt3+(cf8<-TZ_d;?zN>)M$o#{1jRUO6NJQJ(TSTKG7M?*opoT9zZAI4~9Ba4E8wI4GM>kT@^_ z;-DN52S!aCm{L-DLL9W_7HB zH_(uCQ3W;Zvk`95UuwwjqC#oNJE$Sch}oemHw5F^T9VkEg=(>Zf?&XOMKD_U1O7ro zPBP7=BxDJt77LfeEWre5NF|6Rm;jbg0$74kV+p2|l%8OT&vH>P?D!1VEW*}a#Ed0g z0f5{tF_6-b7cCG=j1!`=W@IHn39L>btys8IU-TMeDP%+}q5Kg`Y-W}~_l%&Yjxl2i z`(Rhrl>N;$_VPyjpihewrJn7uWuB;JV+q5QHfIHTDjW^WN0D*}FS4;jq5xT9LcrKH zozYo)n>a+9Sz6qVtpqrh-LJeHc)5SqC{4th0A65%e+MK6UN{aXN8peL;m8?d2)F1j zIpZAEE6zBTobge_FuO$#_oZ~@r=s$*p8o{Etg3;D^#deVO)SM?6HBqGiN$ECz`qG5 z=#fI`_yiXY!q!hAW=wD(+ICNi;Sm#D_%brVzom(F{4Nn$1nGST0{U#6CQ`is_1G_29qvS^$Ha)z!LreD zXF1~B5pfQo|2Ho|4%;7#jB8YB;-x&AJwr$=g_q&4G`aGa*)yQ*-UAo;>MBfx2Gq9} z_wyYih}7OmXs;X+gQ$5q0vqG@Z8*k3FkX%I+YO}I_o=6#^J&1N)RiROKv_{)%m z6n`zoYoj<*N=i>q{6kWM9XHUsAGUrNF{Air(42cm41$<$^NU1rO_Tl~oz=Z>PK0#z zc(lFENY9isA^N#$Q5hGk~t za1YFm8dT*s0>$RW29;SAER@9j%0Xr`2u zF~PQ9$NCu9_6RQagsopg%-qqN0iL_QDb@Y=?8okVH;`Px|IfIi@5Fho#60O^&qwcX zjMK#SgY12DomkbsIlLI=Ux~xFlv-GWU`v4!ibE3!C2@G*X|(*98I9dXK5kYo z3Vld&*W-6kI2%991?CAfCClr!lo~7WM9D+PyG<-kMPOFoBrpRjkW;zX3jA1~tU%8H zU|U_v65OID!$D)d@u!Wpe%FJMuuTQbRZH@QO}P0?v$9&*%f zz+4JGx6_w20vW5GNU@>YjKD0uKr1a*5IHv$^KaC{_civPsrKH<_F!!qL@QY`uQL^N zS0|+E4~D%zbNwc4y@S}3Qu)fh;H%Tqb?$0?Si#Do6%}pGp=yaY!s@fZt!9I|jiYYQ zbiJ4ELj^-(1MA`?tWzU~bySR8dt)6H0s7yhK(0v|GyI5k)I*Weymm~0f>DAL3=^>4 zr35G#)uzcGQ*i4w{w7dyB-cj6j^A;0AZ$GXF;g(-pxbWwBPsOG0>~ieX4C+f8DJe% z;K{jUD}O*zJJPU@ioY`Kl|ORP%u{|_GBjsYw2rC|a^Rzi`HF=!CeY#n2HqPAJ4=c5 z+C?>+i^d~tDLw~)uwO?-oa?9z zxRvJBxPd33oPP5>V5vOPhtH9u>9!k1X$oYgBXjY%g^8I6I1S>7JKzY zdp2-H0}*k)@<*J{DGI1tw44geIcXmv*Yp}?^G@UFnfO5!@+V};$WhJ4`5s~8$Q2Ye zSObidLq;0;t5+~n;3w1m0IZ*AdnYzpQGc;$#5%ZrOmVIfBSD;>-I~JE@16_Hy)sS{ z8}1IwVRG<@G5=x_y+4bf!H~LkB|qbQJpu{9X^Iz?A;3lz{G|Z=7!6bffY*h?bAoSf z-9r&HYWWL$f@XkObu_dsZd2!J!{OexS#A*z0UgaC9PrwITPAOK2`0I0Z6fB-OR0>CUK zWlRXbt0njyQ(TJ)TaQM}1mHZ9@zgC5GEM#gG6Z0P5S6uQ2|IEadEArIw!0}302o1} zE(nG?%n5G-U?2R&_!jut$P9jS4}x@#wnKP?Ekp}J;gvR2Gg1y2kpKvEDkLmI5ObkMq#H!~@$iu%8DpfBnZ-ABbQT zTpybYibf~18j8oTG-F2vetPi76^NO5bfKin#kGk){`@TR$CDI~S?RjYLtW)?5jzL* zMPPHTy|6aOG&@E{f%pufSiyWb0zV?)7nZA(5Kp$ST%`m**|Oy-roh>UzX^f(wG=_e zui(Z+$zT=u?Lu+=CtV%j+^yw=vn0y6XI8YhsL(HV~#ejT79 z4@PM8V~Y>}_M6rYsll+<2Y)fQ`8_5&Fm{-&+|M-F;rb$10<&T^Hi00JAs}|XQK_1G zY$-58cK#Va6FYxSQzu#tsQwyGoo@I$d!mVp`#iD*1@2G5 zuDgaEFI3R_3IsNF`Wh*EvP#5Lr$h6aI!&RLXsK3HCsym$u>hw|llmN8#H!3Bn_X~- zYecN{Fay7B;K662sM-4{-wt)+9@(6tOaC*F!*}r>Xl=xH%p5+GZp`OePvFyb-;cXTC<@sS`0O2&O_o&~h*Z z!2~D>B}hRq0SZD1P!Os{lO?8?St()h&LasRBpeVW9v9& zZ$#5%jA}L|l2vByfCvibSp#bjltV_ObrJ=rP>56jUsT|CXUj2O4KiH@No`qUq&p@ zE+KdIU!#Vl!TO1O+x`Om*J$$dJFYZ`9e?DSP1yQd#Eg&6M@hFLu1&grCwAk>PJZ@J z*L7tZd3O^#XY>vX2E>pp~A3;vzT_%8cl_1_#IiCRDWz+^YW+^FS zf_Jw_Vmtl;XFWRn0Aj|w-$CcxnVTZ?sl#&tByc}~8bMqJB|!=D4n~CJYU^gS56D>$6Bvsp4A*`6Y2}qUdW|Nzo^1pS?R>*8{tfh0i8n*hz(8w6Hf!60q=GSti;?PZnk> zSolSVU_afY0x5LeR#+bg&Qo|kZ<)TH{%GkP>b0KstN%r?Y3$V?}bJy1y zU_6p3{_fsM2nC&TIB<9&`d4${5abg|Wy?J=tlB(lM#SnQBiVQ+#2#euZ}o^2yw|j( z5&JOVuWm>0wEKZqZEAqe>~`Suc~XKM&*YLs*vgpUa~#dMZ~UnqpQp3^1cSbS@Wlr> z|Gn^e*FE)&dfJYHKR#;wUBX|7PuyQ#96u$v>6G9fytDL_V9DqyL2g4abKNnza}!DB z?$J}qOE#2p*X4Vz;yMX3ZapRF-h#{z6m$1u=|1xhccOvdfHEGurVhX(R4xC65JH;W zW#_EcU1V}Q7kR^um0U;(TYrbxy8j@rzZ4+1U76X^c4h8?Y};k)u@JBW zYMVkEQ*NZ2GcSyLcAYAC30JM|W<(j z-b1(|cYpT9;{tag$hP1}>=r;i0f)}6_|3z${JmQ#_YeN$NS=MKpG5^9j5uJhALnYT+@Gw z`e|3Vlvid|6Ozwoakl>cw*%L_hc#0nqK8pw1#k>2 zpDt;Ft3tk|__=^b-vjVhZ6Niyg`#>tFH<}{agA`{ZAKB27qI;6s1I%8*L!_WEhuctWp z_hJmMn-v5ptu0j;-%LWSy#l4tTTo1IAuVLowDzrI+sPQYrUYZC0++>)wV z`z|KO?-)^E0RWt+Jm&BY(o7N^t29ReBz7IgkVYWl-*!;t0B`qc0-GO`) z#mujeZK9O>Rl1t|`kl-zzCVon9L(TrkgZb6T~nKF=Td@Ukd#Ou26;@Z&c9wP6X!H{@J6TeDb2q_k38U6_kJV ziG{y06G%)wAlqpw8e}l1amxUS=hyg7m{+hw!hpW#5i(e6hL?I(!KPz26{{d)TD$uR zV7|hkgFYd572C9>Msir{RfUP)3ZAW!A3q^Fk?kjDZfpK?7ALx8JERKFRZywo2 z(-QD#t(DYb7{R|+o8}cl>E-QLEkV?m%yKYj1=Wn2g0^RVTCwJp*VuC&prw_yuagO_^ zh{d>w_eBzG)dmW=R{*v1_jxA&ZdjAfMQFaPlVIB=otJP; zE$kRl(0UaDlg<|r!lZO=SY9ukiAdz6Y$`5s~s(CO5lD=P!ksmms!-mIv?#q_IF!wck<91 zf3&#R|0uXc0{0kxP~ezQ)T00ZlbXC_5xbiM+v5ni4U?si5eb|$f(aalf|S5%YJ}U0 zte^rDIQyWvoCIz$a(IDbC1`~yV5MaWwB-?riba=lLE6oGS`|3z0xtmQ{&L3r)Gu+4 z+jeE!EUF#Z=s9<*ek0=WH;B{Vr8#%bE%mbVyoZGMSa#k)yhksp`}a^*ZR$07p$fxz zIgB9aznp(<{i3{9U&{Ubf;Bq+we3YVxMD?sU*A3m#2s-#{$|&^7_Kl!BaSb%=*i}L6Tm&Ygd159hqx0TZ zFQY$TrWs{)Z$MHzf^Oa-gvT=a%?A;GYGiZ(U3Q;jn=@QB{rQ^(PfAAjV*3dheLLXO z2ug~%m%djcD92_Dsusvzf~BMk9|Z#3Ay#inpj)h;98sl<);+*}7RFVR1z03O%y!xg z&HhnyvH$CcOQ0{r4+=CBqN|^Da;Q|`CrHRveR+rx8!}5FBNAveVgg-6T1uc>Bw%{1 z6$P6ZGl8}b8oVUX92~qrvl3)x3R<40z#r=MFE;o^5DK(4E)V`LC?uQ(cJo4fVbB6r z5nV=FQ>dj};7%id{iD=Jv2cD%^+{mI_GCx-@WiOry&`oJ@-ZRPTpaoN_iAbfziG{VHM z@yZ^5C%~{(!|fXJf64{Cu;Xe4tv4VrZPGzVliK9wW%b(RL}r>%n@qr*tkovpG=#+3 z+E2k_a={5SBT^8meFhU-)HwFK>h0>u zQcw^ql~54NRPZGHML|XqnkCU36oeIw6$F*Z44TF0W|qk_(48SP>F)ixn25h;uuLAj zv0m2mxZ)iA5zG3>eTYX^ea-r1!v6#NB&#mjOvigZ1M}y>chC!{h-3DON%X_Dk&|dDnx&T;x`O8eaj|RP_=)u`aOJ-e z?xd4Q$yYJC)=9*xbe{%vMXq48Url5d0LCZiv}Y02HU#=t(7j>&uEfsxq^}3O?%m-H zy!*+Fm}rugIjmY`xRSG#D>|BAHuefV{|$g3zKFPnf4H^~;Gv_y76klbZ*~j`r^QI7 zV}kH_25c3l>eU}}JmFqM#WYmgUDQ}-`vF$e2Ji$Y)cKM=z*!73t5Ns|AnX7h23!L! z!O)f~mXRD}9zkw6h4FA>;2#_u%aEy?@Uq-EL)-RAzS&tTytCzjo`r`O$FaZxY#IUG z;U5uK+a>`p^}UrHW=YUa{**l`z@3&7L6Ahxc9+ba7v&BDWD6(I9!tj=8>jJbo} zsR3#TxE%s+uNH1ILwq$Ny8{!;xkrL5ctr0X!|T%xZdx+wP7;^#>N&WS^6PgVozv13 zXPS*i`}pW5pE4~kaqbm0nYDN{JLgnL?;O9NuIy|`hSf2FI>z1K06O6TbxB7~`D^F< zeMm27<{}qfS_NggL763>Os;Pc)@>HSf;pzVPlhyajp~TjsF!4eKULo=kovRxqut#<;}8%nm2!xIo|yEA zosTc3)uY8z>dK{-32axZD+^!*TLuNCpi(l((@IHPYez6nrOrI7z$*^eOObKnuY2cQx)@>ft`Q)-s5|7c; zBJDv%GKV@5GQXa$U>X5IH!HBh$68h0xdJ}8pZ`uzO@vt9zCBq;kPo=jCObykN{y&U{%lCb6Fzc7ytR65Pu5o@Qc{y40ibNwSs3W+ULd)^Zc>> zgdN`dXP6^rDr2+}QYKz{-+`@9bJhgju@ZZ%-Xmc?cs<77t29_~zG<knsFp@ZE zEyP*P6n~SiZR}wjF@9JpCWwXi*GHqV$QrL3Zz z4Qz7;{XTh>;7RHCQ`mk&zYpNr7k8mDKGpjDu#2CNe*YdIn@PX#ET|jl_l3gejQahB zkE7rJ7c_Krcre3DgUc*pe|rX(q}twYEu1X$)D8-b_51yYKc0T4d5UQeM5uef&0i<} zEJBCUfKAx!nO>g;Yh4@5p<`vL%gbTr!|fMsrz(H*?-QzA6?mO}IW9s4e^^pgmH&y! z(VfNKHqjRJR{*GJ3%YH3=7`97Uqk1_N)BRvf$kLB$x!cesMdoSZz=OlR8_M*24+*a z8=I&{XRX70yUCsVDj}Gd#EiAZA2EQ`pyyoo3vd=tN;LMSQR^)uB@?^Ee1u&ZHr_b< z^tZMXyZ8Stfn8PLvHNy>0Cp{@irurAoVFgJ4&gL<5iwb^=ckM&Hu<3~@C2PkG9NfA zX+#%$=9GQ_oXtFF%R1byi2I?$3U&*2Y(QnsMFkB=W=tqQ>~5vZdG#c#dh}wd-2sCE zW)JDZF)i9p*aWvA?43>`-u#d5=~t3;{_bxJQnC@f9kD=V;8h6C5Ui4MZk3E{zphS{@^5JHDhWV=+mf zqv|Lq@|o-0K8PJ;858wDAs9>BE|6KofIkLoOhp3!3q7{5hN}(QE9NaI>iTi)4Q2V8 zWJ_)nLbAHyB^DKQS}q7sRcPW1%+n1#liPW-%3r_BG+FQ5l07Y5zr8Kd_;X5yoV8uM zxh;|Dxi}zdnFfkD(E$Zh%3a7sijnzDF0Wn4AZEaK9fH`Z4P-c|jXv*Bkv_c@s9*eB(V`63y30X*_kqi$V}Nm~=%o5KO3>vMQai>9W~D$H zn~%c)dtSJmoO$kT3C>gno--f3Rh(%_RnB}N@~43B1xtX2xuMa_We4N;P-)3!MZ72r z4@&;pStU&JmP{0L*pZldC_aqe6_gsz1}KagjZtd=Txa*i)yKT5QnmOwzKpI_gWnx^NNK-medK`>F zPd1oGvMxp$kP~YFSYf+F36@?ZS4M~lV0xUCq61fiFr^_0aUjFU zt6>^+tvMi2C5SE8fUvczKL&xu;r0>@ncQ}f?9B&>WF!rT;?#YYOvHFBQrr8I?%d0y z<~I9ToHh!+SBR4rPhPWU-P{0U{vq!9Kw9EepQ>2c!b=KgeZW}}`DcE(+Dj)*P9Qil zfXrm%0du}4Fv1Cfbpx6!eW?e&G$5Y)1Unj?4y}FgvPuq|FNJSO8Y;*+_?G?*7#w^{ ze>UGz0tWb&K1MEq%oa0a$TnWejTKwmQI`s(sfpvDKe^{}Ee5T>ceXq8C{6W&$Q~U2 zA8RRhU+#8c`#>{M4D{+X#TE-P)mLE??RS&zAvk8+i>9b9hmtzsvB!w40103qDmp}uc0QhtY(U}AT4Ez zbs_=V?iMoeOTK1`*#{XpGR3mU0cim!W==&5=C;-vFUT0fMrV$Zxt%rJ*hwBWQp%@V z)j49^_}<1O#5QkkLLKh0IMHmaum<|&6;@$N zzsxZb$GdZ`_yyU=q&8Z7!9%7xQ1KFU=YL4QG*la}Cj8r@HXc_aJ*E2P&hLswDgAQl z&qbs71nk8`>3>bXv}{BbVaF~CTAz);^vh>ibyC0Vb9lXe`93qvs9&CEJxJ-7`_u!T zUx$8qWRP8q^-KSasO`z>m!WiBuVGyY{c@P9LX015dw(l1rzmQWR6XAk53=Z~W* zwp%0px9OMtE*9^m^ve&g7e!+IGL1LR8tIq(rWLR>VGDE*y5D_A^`z9wB`lY4MxVrb ztIlX%(@7uKaCA*4CNFYup+;EU>1#SMD%xk9?1y&?#z+HWAkG5U*7uNOvY5FI4NR7D zx4{fpXdtG(748bwfi%AF#rWUUvYo^c71QJF|5T(^rNg=`$9Ee z<=qP}1u)UH8HpMaYc7=-f=LF$03Ebh3gVgJ=@x9S8Me_6?gl>2+z3P14N~K0I!hF& zzQPR5eWfwxqH7c2VY;9WbB|u6?xrwz_E;Ko!en$8MPxrsaKQElh3)*R`;pZ(1;&_) z2C&se1;%A!9KyP5SGSg7bQ~?5gunFmFjfi~lZnxZABInPr&1=y3VsXx<|i{!&BU+| za<<6CSc!~=WLx?4%ewWqC8PbgLG$)dBe{#&HNO`E%ok*CA@h}Ux5z@U5}H2HD55EEdUStDRF~?`dWYzNXELP42ex5{)@bl=fca7-_XcC#==UHN{4i__5l8wCNB{RX# z^LEQLSj=3EOoOG|#gLwVep5W)KsVlKAUYL)CLUm1hRC&}h{t=^>g0#|Le7WG8t?h( zex>*P$f-Suy74b|`;34M+-I%blwx@s+es*vrx6a_CV&x+)-xw4IqDZWV1`Reu9TZ) zAa=k^7IRPxxyjO!+p1r@0|u&vbA38rpoPku;?n_x!lGT|fT^8|xZi%GUP#`*L4d~U z+3 zLmzUav2+{`oS?{72nP900($TIG?w-y)?zHxk8cB{Ih;q=XqDo&1(Z(dNB1e!K6W+y zxlIS%?0$ey9$Rvhv=)Dqo9u{$JM#5N#VK{{Bzz1zJ5v{XpF=-t*fEzA-mrB5v2{B> z18X8b1>&&<|6ClUK{uw*4UPxWEAJ&uEUs=ni`}YS)FI=)A;I|7)fLm@@I}@sW#evh z8qV=Eo+l7whznQJ2+(Xd3ypuA+WJM9cqmfz4`yT0e` zJNMWH0w5(eHyHr2*yOJvNuWolOMnJAzZcd8V4r=OE7L4-v#Be26jpyZUqCg=MiVMTQ>&W0bfBMrJ0lS zXX)dhr_Vj|)p`{Cl3h-WLcOfpmW3d{x@_y|fGyS>MQ@-`QrxEqT(r8AtHDPOSvA38dXIU>(7`tdBjj=zVm&4Qou^vgBXNvLlbE30m z@8Q=C_c6;XX3c4Q;jGpS_<93D`**|FpTDeLrtsBuRT^KHvX`;SP5FN#`MS`mNy*no z4ec?q_G7ha`FbXh^}i`!ZcTmfKmOBn?}rF>)!?a}PeuF^bf2B?IU5IK_W)XHc74-evWqaCV>(BgWaCKM~H> zpnd9S+Q&Kkj%EQ~3&VtTzh`Y!t@YT7X5qxvU?bHOPr|9#2O11`?y@h{_xVV|mQc)R z5C?VoxR-h-z$76$8DTx?b(^paNH?2gdK;aPI-MTVu;U_5(ZklW5L@>J+8oECm1(xS z#{K0*a++Z@(V>a~*rsdT;lQA4GH_Fr(?w$ShNOe~NssvJ>PpG3gdcA)mzp33lBVA1k_5krh*(SH{yhm{X zPTLg~Zz-^N-TY-p^zk<%`SqYo?^uB+N${!3U5;9SpA;@XN8BaG(S?M%k#+Yf^gWu^ zRBa~nQ>TVNaNXn2YPR2MBNO*FBuUb?duCZ(Bwfc#b+Ti^Tr2yKFiParn@kdhit z+`VT%`WTm3y?%7Jos)`Z!z15!`E#4D#v8d!Zu$$Joms%nW4l8ER`J?{Dv*+`1G}K;j*gZBumBfQu8#cPE`bXMYWe-*OHx`bJ@ejPj8QN%@z)jfu$B=!%D^dkN|M8J>N6j)ZKwk ztZ4`#`DoDn^m5UE(9kp_G(7@`;bRkUif%>WrfJ*~MrQ)*3?Q#LtNws2Wfw`jACt|Y zn_$P;N4KEbar_1nkUSgN0%ipPl?~Zne3LH)+HgXRfB6l|K#LT=fgbG22@!L}fm z;>4gk@tx?BCR8={-hx_skaj47rg5ASE*1Ay^e4Zyse9+RbBCaPd?$|33H%&mpV1lq z>}*N=22qrbKF3gtA^d#<#;==`{NQVeN;>0$dDi4Yw?{}pjoTc{JVMc!KG}b_U`31j zs}A0fjh)FmDq7eC);D4jZW0q`Ab%uc0vQIk4>O%fl}BJ#94e*sSSiM6682SEesPVpA!@JK&lwUY|^ClrL^2ykk*q97b*BKkMRO$Q)vL7DR_=QVY~Lsn23&H2C`yBt)(2)X8; zk3BXGfw7$B6?5aCi|1v-5tjJLT-3EFY`)+k=)52Q5XiS;$jQ=(4YAq$2!p2X=NJGe z(==At#3cN;@y4A%7eXW$@E#zG9DelNZfFEwzB1QWH9a|2_<=82SEA+gUG1y5=rvJk zoFs~B++iA5L0X;VPH??%Yu4#IOeY!xlPS;i*YYE3YzDxe4#2C`fpZE2YzX(lE9mV- z?~vH1m^D@ICoDkk;jf=tESwJVLk6>&-KmOw~y_K%IsT&mCbGER_tR*#j(+? zd7~P_H6$obHQUAWmuVQ53WkCL57Af!#=>LS!vtT~4%7b;btPYk5D=wkPvFd*+qgF? zdffIGTl)&E{jtIYNCSqT%0~M5v#o%8({a+fkc~c!6*{AzW#jR(@p!qvf)7C4umVwQ z5ujWYhFgKtMPWZ{%;Lx%W5F}`&j!cr-{O{hQ`)a>^<``}0dOl?b;wF^#0jKQwt0ft za2E%@U?VEgi;bxIgnR4|TU0Kj0LZp4Dt}G6!+sA3`vN%Fk43>=`!5RKwtowOX?I1) zOk8WKKjB&yc2|CfVnQr=i6sCUMvp_!*)w!ufb|E(qB<0+wK%cQ64`b&=Nd~Ce&U?H zNZfd~zIZZQ{XsaTW-N%BiL$6QyfJTC6a+0zHEG_)M#N`Wk!sG zYgxlV*B>2RpE;ZLQ19&a=wmgirU5(-U{9!m>k>G-8oZ*A~X%s zazB3_Q+{>3>IEOgmHvskElG$WFDWrYl=~zYX?{8vCs*8Y;2q$**Z7ISe-W6a046!) zs^)0OwPrNr^5^s z#mm4(B-SttJ zTAPt6#XH$$XqZK>ZkhwO3inuvCF`Lk_xA5fs0bM(X;^_Y8^E>xV-^^)x?{=$6rj&ou}K&>UWo*+FoEjiA@fd zcPm>^lcFZE8ALL9V;o{LPO*8dZ(+P{njPZCAwvHLv;j%yq`doS z`JN3;T`ks)X?n%RQQ6S+*CnPPNY4ZvB6XHt<`MGV2PUdV6*1|XmM>*B(Bs!%R&63bWXsLZx`V6$CBeDAHbg?N z=&;d%lop-#1Le+zLFVk~XGOmY?*-#Q$>T55x%}1je0&2JV*w)U_%imTti!j*=oAZNl)E?fW|7=^mD5*uUag?H;}2fsSElQMj0yk3Mv^ZbgAaY9)sb4U#z|A zq{lO<=5}g3YZ|%1_}W+&wtkX8ojhk%cGmb~Qw9YPA>FWXlsU)r zn@w!Iq9%^{6Ld!NE!>sji+s_NCK5@#N`iK`TL;~Hzd>x@ zkD)SC+`*jH_NNa^MqUa;1A#a)ha1k^^uGX#!7%;wWVU8^;sC15Yf*#j4zH45;IN|E zFyz*||HIz_fyL5mg;N!4nk^qOi{7H?OpQo+l=UaN?gt5%vV zMG2&A0@?0eiGR@QMG5{RdR5||LZ}uJsANHus0dL}7OXPs_G-K$1V!?Df6hG5v%5)J z@P6<8z3%t-yM@j3%sew^&YU@O=FFKhGw$6C^f@DJcBjZ2>pC>MQ(s~XZboL&zj9RY z_2PMzXH^37V%Evo0z$bPLt2>qEohdvE+)sy$#-=uBeE2A8J06+&dUgj`Atm!TR8!I>_pmViAucrLsmJ3ca@ zcIN*`F?qT2g#LwY@G}juE4hj9v;4ln?^b?4;iv0wpAQ{R;CB+gxAL?7k55Nlyx<8x z97e*S9qebw3r<%tdBK=6m%OM`6zc7-ZHNa%M0LHu+wUbd%(#o_Q+;_{)C_A*qBJ21 znf;_}qGC2v2#E<2xU=k!**&cx{M_0-AStjVp8Qav^ID$paPw>TU_Q_8YMrsZuz|$Q z8nbelJyPqmm{Zm3u;DIGPIMkgA~5VKBBefvNm0xeYHyMaZs(_II3ys-0%b3~BX?)& zvCK$LLy{u$>F;pE6`zOlL^PUZc!Cf7(j%#CxdBlUy=MO~ojOX1`I?#FV8T7nWN7I~ zZj7bdSnMWs0QW@|h~5^NBa(w=dmblp0LaR}&0TP{_(_LBh>iockZ|`a5**y+2C}>@?mxaFf zuZAW#TXP$l#~Ye+*u&LUwc{Vcej?T>MRp=oqPiw;hDHs@#yn->l$`ClC)Tyjr)+g+ zQe3uuUgrVs&Gxn^qtS}o*3+SgO!`pJTk?l_Qebk#E%s;L1IKlN;5YKsn4!zfN4wvQxtkrpKw(B`f)i7R8=cPhe##cCvxa_@o$=!$w9c zTA8cmevfjbrCC`X#CYX$&@RR{J-1pU@N08Px3fZ7trLRS=?poVSIb}NlKU0HGD6F; zMje#-oA*wg^xb!|e6J-AuoV)%EMYtu0XfD9Wxy{Ff#U&C#wTa`+`9F#n#PBeC2$q8 z!qjbC#oN@@nBOBk$u4?=eNF6@=4G-^!BRj;2#(S&xM`WWnNyLQ{E>^z^U46^~){xm9{Ymkm^@%=&lkNBLOLiv8&Lyv=BohvdgQh{zF>nMgr2E`Eu{)3;+jVuUD_-_936-(Hm%*GiewjLqk;%r+ zf&AL5sq7$8-KqRpEYF=KQ$hFAk(Id-47~-^=tA;eR_8{?<}bF2<<4B(w3&6 zmuisJre~RDT9?)m9F1I9l-1NWms(Oe!XmPpmq3=_+jR#9-(r;)TPBT^%Jc@y6!?Mp zhd{(#-TXr;0C& z;~?N+??o1!9P;k!>C&l zJD|S?^xWl zDtGbX=2f{)^~y6Bx2lsaQ73IvCvA7_*ev{AMdhvg?Hl_M0Oxym@i$S-^?rxv-%^($ z(g$@>R$mty@RohmMVZX;=jm4G-M@>f^KDyyl2x<|4qA34jy)PN%5Nh+-z#pz>;-&S zqw@&yf)DH`yJZ+SATyuwTs=PovmpfY3V;hrB zUEC~AZ*d=jH3UCiJ`JLH`il5voVw|?0lIb!*N&7h{&BxB4tM?qNDqGWKaVt2ts+g& z?S5*cfBNqs(w~LaHApvsv^-=Iz2>SFwihy|&`14Kd8S6WLchIsK!M(E_FBiUp_u9B zQ@$X<2Z1HiSZyHcl!lR2`NGF6-=}@F0cp5xRsPdg6Aiu9HCkD~6NnTxR+?5JEytV*?L^icz}hyHmKtI#Im*I9W)KB$^k%CpxT`E$L-|WtQ1GhVL0Gh+Dpg*e-Pr@JVx73)czvQegc}jxjnO%4 z%`n~h%o*)bFaj?I1EC&Vl-GNzP|3$r48EZqh6S;fy#KIemz10{R-U=?td(c4JcpIB z7hx*H7Okbw-L&~{$^PH*J0XC5E%58+FZjdFv^SVNDV&ZnhcF}DTj@DdXpxM=OiZ&~ zn|U7CYxLn)C8JR0ys7cpv#CHu9J%R~fFHYf!Tzf=Y+c zPoIW)9gYe@BR|O(F?UgqJW5f|nNgI?7vq9j8LY%?N}HjPnfv<5>ZH~NimP+CGAY2! z*;@Mv9j=(d7+{Z6n&4EkbD6PW4tp86&uNb<1^RC*7KK3n_1bSO{cnlk2J61@*c5CW z|7ic=%+%`Vv-uTW#JchIavP@f+4hcBo6BKqz(7wmCT*el9PBrtXX~p$WYVn?fmW!v zP1R3}{T#VDrX;ESvV$orRbcK}NbhmoIcq&yU2|cx^UYO$v(?|YV{?mp5r|rb{N`qN zxB`I>Yve!Ls#(B_Uvj_~Gx2G>g|jPussM@=Vca8M?pLXf#Mk=s*MLG{+4c5V^lctH zUP)5-<37!KZfS+rT;@>`ZwxHl&0HBAbE}921((XjF9NVn^~NX_rYxm;o=-JNsxwGc zt>8?1lCPiUH=%3p%l$H3hLB zvq|2RG00LQ_hVa=kC``W^I5lr>x~BBifMc zuHnvGwZSoCI#0rlKcYs$CKg`xqHoKSr9}1;50utoB1)G7+vPeG?RxY0E(UHBSHTz7)#ifmq$J1vBf+gp@I2#x@3Ak{mP=%IhXC`1jUvaTV~BZV~z&r9?Ug<(zu zi=BJ?OI}h{>?E5eFfAkPMua;;DLri1aU{q!o0|DNT!Y;;Ta(vB*bRqy3_InV@Ys!$ zD@5IuA7${Vv=QYD&`UC!yjMTpr_c3KrVk^18#=XqG6CRm%=&if07pW4=PG91jeY?X zy6@!&do0x#K6lbQx&t|3ckP7hO$DFQm~^cod2(b zU-*~-xIgn?6*hXDsfP?fS=4RK_Jsto-7Go{_}=a?SoJ&~yuD*#tXwee$JBFy22nFz z4+cqPqR5zzDc2F2RcGytT|x&bG-gK)tBuj3 zZ5cJVe|XFeqw*hintENZ+c4aZwwM)HZX&@=+5WWRAbW74p4Q}oW4Cs;Qb%_hRy3lV z$(fyc#5$4R!Hp{hLi(8{*4Cjy{1w~8Pr*^hrj>*A=M7U2@&lNENiYE{*FFz@_Qnx{ z<0_$Gm*Zl9Q^Ay)+T?^!}n1*wftw{SP)zL3l$5?j{lnZ6MP*gxn3>?1RGz48wEGGs3p^2 zRXENkpvQRgTVdz0)o8nnXl^JQR)woY1jZigeVztC#{SE{s|IG8Bf+4hv-2iFNXgyT zyHy+irO`tuAhy?ECDhzU?Q4+TZg3C2q#Azc>s~OJ>ks`)uT}pEJ)-KT3h|4vM1#P2 z;_dJxPrC<|LKW#otcc(`)O0s#H(OeN__)MFagWtugOB!)Og9x!LN|G-D&Y4+`hENX zVwQ0Ip>Owyt*=FlUc7$MDgMLj?L*LstXr3Vquv?x6l1>|ud+(C3xlA~Fg7BPeY~dr za&WcYjB_cf-@a+J6`zvE&};iLIYG(P6meq}55Nbh!^B@UE1EX_5hA8AbQ z$=$&?*krz*O_bo5?`Qc7G<*1(Pg$SW88+4NJKUeCF&^cT`NX`Ko9CdZX3V+$Q)4GL zfdn-eYrdKM)9z@6m>q>$%2-FMPhf}R%&wo6&v`lk)L}aA(6Z43EHt~^OL`@CXUvIj ztLkI$3}xq0e&fT2vYUaj3hWdZ<{+~XZWRvo`c6QP8hm>rEcS`7r=OU8{#%}$mQ;j( z5N+wBfq&&RGff#PGEghdzrt(-9vKNJGo%zj6+{-K^^+BY?2H?KL1iRjT zG8^A_Zh}ps+57DJ8T~|G=;#6rzfK)<$w#tXk4)DeMD_bC0ajS{4SOtln8%I;4DDXJ zS%~Jl9&sPy4QK|*7=)9r-VOyo!N@yB55z{^96$tzO%_}$u{ndg5KR*ByCO4}=}Sm5zIz~lK$;n@kD-PQ{|LH)V)qIRO^ zNj@;jN=1drseGz6m483Kj@JB|X19wRwi-S(ojKdRoe(E>CBKsG`pVIr_~m|Oac05o z$-84^89E8J%l|Jp6`uyYmGo8E?)}vubBaHh{Wb zl2%qO_(y$i`c<+F| zz)>wteF+q&z)3XGBYQjFq&Vd_b5e?blL^$nty$>aOo{$hzwFdBD@Egg8#AYKVVK{k zBH+1LY{&D_c0fjc>MMs$f*wHLAcdr;5jO^!IUD@^m;6;42(x$24~hFgCd?FIf%&&J zLa5nY$9HdNKgXS{_x8n|i##mXOSrN$YE{%4Uv16l3Z^sWQmy%daK^F0*r3Og$3Ese zmY_`NwLD?tvR#Vf-Van%FU8{*u3VKj&8*fjr12-$ht)b=)vEGLlYr#?q)ZI6T}Z$) zJKp%@G$0$cChrdK0FS>Hoxa+^G6!$%eIto6qJ@6@?$pjYeIOcN0$C#e7R?kt%}mkD zp;~{6EqjKjbkP5;sJ-=nwWZs}pZfj}b5+qx^qS4Cu%b=Y-@>v3?6K&XJa+7+9Jh62 z(EkO^q^-%fzyvFSa>)#UVqOHw16vK?P4-yyAdelt7Qk0|fQ7E^u=kt{ImVJ|N*)*r zl|AY@A0s23_Da$q)`G6Hwi{O6tm<6@v}(VJlX=X}0~9dWPHA8YmjW<#63vG3{vV4_Kt;C zt>pdM+wwKCZs~%@=fy5&;m6xUDN_E4pW~a-Y&G!u^h%<4m}+;0zM0c3XsFyvWe6S5 zcN{{F${CP3s99H&A$eEjfav>O_Lja&r`K4G+om6>ky7OSPwd6g$Bbfs#s36m^$_p#4 zm?kYp6Fk}E13-y5wn=AvgvWU>xiEWQFjpCiscMGdocc3xZ9b8057l0+N156iDYN&V zhB7-_KW&zNUz5LHAw9bnVi%SjWsgN$dF*IKqjA^1#|!%8BpUdi2>@ZzV;LyJe*I_5 zo_-KHH%AGJvh3PSoEodw;ku(r>A8dPlrfUS*NP6pO6 z0?%Z-f0JzYZ^-t)1B%}W*n{9CAF?52bHV>KlS$cNm^7Y1SEeT~@wom(R@=g&qlD|V z!gcMtg{$q%So)*fWA1yP%lIS3hY8NZ9QH#y*)Sx1V!T$FO5YV|QhD;=V`3^-ki>t% zlv7-lyVd=ZCD>J)!1m1YeOCbEWRj@RgDAwk5TsOiF{gNvd$*&oa50tGQKLv=r?!L2!6FRm);e$$&e<|-(l7c>&tmy@cB;F}*H>ks_G39MJ4U*YH-XI@KiA1FlU?y$(WmoZ_nUVM z#-z$D4>6M+ix2WeY{S^YnR)2mh>^kyogD1JxF@8*$R@ft;UzF;hVHZRIX{=ZjTtQ8)Mui}-o%Xm}{&8|2^UpfyMi?{KjL`#SkLyh0T>LUcMV@k~t%dlFM2*cas&k@v7TqVrJb|E--n()m_Aqqe(b9a%9^ri? zcdIGDh4=>r^pK+EJ4gAd&LG9gtzh%Ik%rjFrF_`3VmYs|OJXrvaxDImAQ0g~K`S<% z9_1e`E#SOGV_fM;{FcX`qz`VIXU8)R2N+~WS5kvNeLKPei^WR!6GVOl2{pcQEhX+! z4^|xuE56Gsy$CaB%$@NL2vUe2JIVtAFqVA85_!wEzYF?xKPKJMbE8h{r#^V=O(@jo&k>ob$R?~@JoCGf1t6gYsWZfQ_=pQP1`S8(w^n}=g|OT$q7oI z%&wS6j#wwB9!xCK9M8H4?p%!-oh!n2&0_ zHzhyx&3m&~`MXN7&gBrf1SfDXYm zDATv4BiYBN`;tG;9OVAAPGo$6d9M9@Yx3vjZnen$lIStX5h4^0)V)^-^?&NSc^bhtNPX^WJt`_xErTj4|&&{1$#3-9YoerbF z6GXG)vukSQ1@cxxpM?&p`=+#!#JiHInM(lLN{+;hs{{zumvay-y!wapaT(?qMeVg# zeEjXir}Br;yoVGqC(WyTrNZbN?7wQxbv@xaY>bkHCh!C8n#^aOaHr7cZCtg^?-xC0 zj;9@dKAE1%Z@IdK(f3v^rpNTQ4Yt^~5C` z*ZNE&O{w$K6D`6_u4iZw0#zHUGZ^Qj&KJaq!V-@sLuR7#dCR`OdmEVCbOPU({wVd> zADHZ@Bg@^Z+eC?RAM&3*zC1aF@}WXGfzDG*=}uQValwgJ0%^PLE6HtpVH6=j{Y#&} z&*zum2wrKqTSUn4aNs)qO#CoGPE8dg!D(wmDRNkpXNhv{BdC&-wrL*MXm|O~V=+6^ zo9@tEA)d8fW}iMQgdA>q z2k)K7`;6TRfuE;UK9#cQT%Sd2*zE^m<-0yM=~y-Pkh)wxv)hkDH{S(>;BeR;ef9RP z!it|@449_9=hSbRf3d&36tPSp{&&_QPlr-x{%meab>0WA+a)CAXtLrxbavMay{R7+ zXD@zcfm;)X3-RwGVAY@Is+4A4G!g?^?sj)3Bdt-uFMWsOD;kvqtt8os@)xYGnnU9u z+?jCg=FlShC!$L;Yjp6r=KtaP@7hOLzx^iLD|}K-2%De602TrOMnr{dct=KNWsF)DOVH*#BBKBq&dS zPpfLTDzc{r^rsIZ7^5o9_-?&>D#cXF)Ce!vtKDm!9go7^;)R!NWan@|q7Tkvrl786 zAGCv)<@DDz63My5yjFIbU(NP+5 z3;)q$?_cb9hK$H1lvBa-Z(ht{0eAYrW61Xu9X?#lcPu6gRaiTuW4KL^ng~BIE4tui zR>bn;Q0EaCeY2$oWS4xeyN0N?@=dt>+ce~Al9HS%Cm5s3ciN!G@yaMyWiKKl}O#B)*Mu!Kd8d-K{=|( zHin0R3po3j5)rDYAC?iSQLXxC)~Y|M)%Me^R{d71SJ5)%|Cm{iKA`ejbno>f{V~dA zvO9?RmSQw$AH|p$)T%qEmD2cH1ulKniUrGal4Hk)Yj%n23g)-bS&r^k} zI~|_q+ZtL!-O=(q@tA*YG%~AmU5QLFzlfzmg<_rWt5%$qso=D(-gW~AdBWQ- z8Ag_ySHMQ0$+&KN6f1JWRS7|u@;WT1KNTx~RU0AK^;XfZ%ek|KMp#B5+rnd%5D8WJ z)fUPV)EjU}mkZ@>j$E3` zmb$4$Hzp(xomaRrsmKX?o3M6iMCiY&7?m~Q9yjlEn&I2XIucg3QK$VtWG@0n!~T6= zX4rpwh$OZF=f2}Ji_YVz7l>Vu5js1R7-rwWsZxzbe4i*Bu182Tl20wk-Z39n7Rw=C zcttoAhQM0f^WUtw>$60%@GMSqK!Pkbt!{C#*(rYKr4y%m=~S#`M}Rst8K#`zpsZyJ z6y=raAw?t4AN`V|>ZLb>rcF?k2AfcFXp>gzV8AGL2*88GLM15ddV#TfI^ZYq9PX?? zd{8>QWE<}#ats)$`>9oo$RS4Q_=U>ncZY0a{?PAU@)JJlwxeuUUo6w&THYi|EUcx( ze!iZ4(GcmW98ynnGGgX#ihR0H13w!c;V0h&jiLk5jd;nzCFp=;_f4kgR~0+iU|jV* zCha!Y{>z{WwIpHi-E^pX*P5A4S2?{L_p-NdtYaZ>>RdzSP0*K1y_i6M7-0Nj2CR`b zm+CMMCe){is-2INvsa5Bhe*D2ZrRlhb!PR?b*A4US}?-3z7*5Ry&&dJV7E9qVRJYM z*Rab)%W!^8??U?;60N-I4yNsw_gOsTNShpqk+ z0P3iva#92hk0wG!zIx+3Kxo)YUl$n~hD-$}Jm{y*urpj=YiJmv7=9|v^STfieX!Xh zflEplPp7I}MF?Q)1k75ZYl7Tt`BiU{$eRcfS9Q03b;f^DuRm|OZj~peQ$aXyu%Ul|WC=yJNfNng+ zIbXKa+Vj@Jr**v0{N(ubxgyEl#Z#yjhRQ?$BE&@DVuO7*@c>Xv~QG<>tl63`RM3W zQxHt4wv4j%^J@WSE^gIIPUV{B`fjizb4GpseEb7&8x5SeA^8NEXU^Yia6dPnepH~? z94hwh@bgE_9f?fbNQI5P>fvKAK~6CDypqlvR(#Tp5`rF2R@f%3j!zGx%847WhC=2v zZ>KbjKG@VyR3bSm1a+T0Wi?%6S7zjUP$2#0m zO9L155|_Bj%tV)d?(uRECg+y1RXzr8_OP~$r4%Eh%EO8?HI=leR-<@o=hBlooaCPH z$tT@KDJ_^r^J~WpJVvKj2XCh}B(-1_e-+C1*xUtq4d_WU8VW$`mlcfy(*D zpV>Z54jPjocnzh7xEDD(Nt6-*EGCGQ4}&tB%y2>gCn z&%fK&^E+7e{t%653_UkJ^6~dr=5{n{>agq{)+>;Jm1*zF$-QzQo;H4YZMXeKqmR37#4Tb%NsP?-&V~YHfK)Yf6|F z;p02Z47X~O^|FTBUGM84Ld0ErYtIm0U>ZM%-12nNi{GCrz4+x{r5^{@sa27^tcG5` zk0T&p;8d%*E8A^zB{mN*J|jr+KS0=AoTN%NJR%2DEhKCapGXlN>u6O%x)usHPg_}_ z<1Js=YHDH$^`nJx*0sf2HO}7NeH1UGBaI(T9eetXT;cjlU3-c?&lKRj_rL#9=_6j0 zk}0~HaPOuDq5Nw8ABAt|pH<6`|CRK9y7Z8~rttt-6SQ@`ef_@+zyI#~|E=(!F1@tA zz^Z+q9Uh6)|NfbD(!#PI+hfsg9y^k8G`+`OgTWeAw`)pW&~*^>ovE(BNnU(#h#_N^ zyqIfzljC66BWKC;ImW~PYtq-^&e^u<$NK(1)_7MALmDwi zBYZ4T4z?+KG>Lb1pw~&Up$>tXArE+6` zX9e5Bq;@pkcMKcF>&{y>c^t04v3>KMDk>UnW{$_ApVUV`gQv<&KIEOj+Xxh6S>78w zwK_&^XU!i%d0^{3lvqj4wg=MGPW6`^L?0ADj&&8hjD&)2mVcjrp_ZVZC{DGc^ zyQw1VA9#cv3)4lN*ZOSjAlRLCaUIVIEhoH!>nbg^0a?kyF9E^p;D_}U4nIE(C2)p( z`|mH`_os0D%HcUGJu-WHlRLwD2S;Ntp_O&W=F}K^QCZ!KPO={6t+B8(>n50UJR9qn z|6rozAeYPfUgq4I<>=V6I5SiBUlc*&Zjq{(YH z5bOBS80$Glg`8MBUumo2;~Sl{lkOBymx{^y1`7t+$E|2v=qm-Zk%*zCF-eOM?XgbW zIiN}&V^*r!T{AevsjC4qn2!3C`_r+v;A?$i$d{qMq4q*=V|@g?crSXx%@6zv2-rwG zZRR7dOo;vbq7BwEJIx#P!5yR8Xfm}zv!vRz6#4+B9dq}PTQs_lc+^*$Y#WUGhpZ36U! z+T~_I;ThyUx>=TEyf_|pO@7&|1PQ5ZTBoCVUK=-FD^~lVd}&lgnJ?wPgF&H?DMhBa zyOD3EeBsA#l&GP2eSc_G?QfBx%I#{m#-V2!XF*$yByH}c2a5cFv0Be1ziQ-r5=bNr ztPyjKPbO=Cd>r(-iPZYnjXfTH(I2Mt|Em1mu($TN-akUM**!$<)t2LMgP7!3oc!)y zjE#t;P7MQh`J;!^!&x`~Le`|QGZz*;qV=xumLoRn*|3qgY!|gvp8FX(582_95}ZT#7qe8^av zML`&FgnEo`jcr}~tI5RB!F{9Vhj~L^`bK)$o46!tFDbs&m)=f_*Hm7)w-n##OMjCT zFRLu66s(N&jaZ^+SijR_` z=$u6Sa$ox2_Ko9UU;0b?#_@}N>FWXu~&>qCQ)P3V3oJ;R! zuwuCIgO!GXJW-6%4&V1^psMOOTlO%aiG>56?9dSilXu*&wA-)YN!|@Z4#pT(?NAy{ z!idkgg=}C*?+WA{im;b=Y=u~){p2{t_LVS*P1(#j`DN?QGj$Iqnb^CI!FUihSyy=roqDgyK0&f=Bzr?;<-U?#L9#xQ zom4rY%-Aocqtx^un&Z~wbz-RdD!&OLw^`&TeB=*<$Ucj_!bi$qZf_X%UMTQ6bETrd z_f^i>SK@d1#PV<=@mZDhz7n726QAxA|9xe7`Kw+IQ5EmHMQyBnk0wm2S{4Ld==Z8L z{|RAkp9IT33AX?A<$a-WvZc5C;GVj2uk?xAc|3LHUgQ%m@rhNraWBAB1M}um4OD)8 z(}$bR_^=yR6IpUSwj8qsbM@2y63Sj1Tt zK@G+_Qog>njI<`4#MIjZLi>l-b6y}^q8Uv6_$&K^OxDstLS&>@FMA=+o4E!vApf&IaW3}u7Hb-G7 zNS$XsFm^f%@Azxwc;q*qml}PT?e$|XazA5))wm8K6L@2h)n~)omZUlmqkM?5l+9FI z-6X@QUtt?!?9#nvMWd|+`ZVB zu!~??8hvO!M;`0={akY@e@c^|(2_+}jzHP?HUckh$Xq8j6}GZCrH8Gu8a;AN@W-%t z$(%#8ziVJ-y`ayQRh61Dlqy9jS9Yrjd{9*fp_4c89Oo%~0epoe$&Q^4uwn0!@?1zz zdjiOsIp_cIhnX~1&0%jkUqqZ?->b3zsU6*zWULHM_Z*{Mu($mfB$={yAJc*q32hbm z@P(=_To4>$9ITRhFrodZnS4{qznAj_qVM(itlBp|wf$$`^3B8lpORj*2<;Jbt%vG6 zowmty40L1lKl{-BH(3Ne?AZtRXVtjYzpK^g3rssRT%^uSa(Alf=rkMrnyA)7~qdVW3J z$`|(nSq`Qe5gv8#^Dwsw=0|xC79L-~!sCavgi~1d5B6Ae6^|WvBH`U7FVrxVIM4(N zMR(NWZ7z_LV5Cnes#oHjAM|XE`5;4Eh2@OCc3B|c&Gh?l=FB87Vlm4#a~<&_3) zJg&FxiKr?O>_5oN`Q_>d8D|e14hYv*39~CzPc@bNY0arLIc~eBu_g(fD>`2Uqk?z3 zG}Mq<{`yp3@^W*WU}FGoHo9El@~z3sNw_t6g<-9oy3{R$=##A<*_@nkm!cU|Ox{|{ zP?43XM6X?90JA_B@lGdB)Dek_yz>i5G@@Yba#+#5RxnLjP^QgmD6{BFFR(}f9ie0( zSb;?qm|^d$FTpeyJ|pDiFn<)W!?uox`#$IoyJ-VM^pH|jjI!=rSyZ>|0wqoHn51V8 z(h6HuKDU}24K1Eq#+qnesQkPN`OKX-(`={FxbFZ$13)E3X%4rsAmt;!4O1pQUc2CJ z%VmXS4{2qou;^2)HSJg=zT3}8pfNT)Ov+?}@2@lEQLs1Mp9F6sPQ5-7jvt{s#a=Ff z;~suKrFtD^ro9#$M4m0gvJZpl?>(6>X(sQnP#dB?C%fk@>8L*38QOm3XBw z@wG`X>c{hVT0hQ{o_>rUn+zg*2mWEAZ&k*6DS>~|*dfpvSG`#Gj`{p`ANogg7|gJh z!gd=>y65>SK%Bb$CN=N`x2r^BefU>2K^1h1dT2i5&;Z^AY#>GjHW2pXd6)lEqNh;5 zjEhX?AL9d^0$0UqHmY=~&-NR((6CV&iS-c}bCx`>sqYN=Z{^LA-o``h=Q+?|ROW%R8;x>zk9p^epnY9Zc1i@ugbun`Df9+TQYrpa)z24L4(^$r2 zbE3EZul-7cY2knES5*@aVhFuLWI;~V+k<=me`mjv6~Y$Zacqz|h_MQP^_8+QL7jF@ zKy5kO50Y zojTlG=9^W*JJQ@R9%icZcMSD8>2fbqUA-!8)$zVYACY!}zU1k5{U2x{ z(Yt!zkrb_c!aw6b!d9(?Z~BX$LwhCU|0;jzkbbrF-k1HNj$brIpXGlk{fv0?&vEWW zw8>2!uSvvGpG-aWIQ&(@C58e&%)Rf%$LO5X9QoIx0n4p(SD2nEWUY8h%}Tt zBKv3HQ!2x@?GUj$0=c|MgxDt9*|wOu@^{GpGr&DouPsFBqR*uAue^?48OqNZt?a{`IKkMx_Z6gQ2j zp1G8zmxbe_fBh>H@VV^?>u2@<8hIs|rO9yDv^#-bVwNEtEk0da-3jnuICF(31PYmj(fuW zp@BT{d&Exs2FIUc3|i5^?g#B?t!cDh{^hS)J)A+GbBFD+xX8XtP{)i%|g!KVj+D2btDNbVt+P`fD5bBO@&T1o@k_*mcZ! zYIG_dEb>H<@f7))5 zlReoM2c(||$$}dQd<=_?x-wEXFf@a5o0zGl{S8;iq7)Sxg%?s9Ln3~wwdc*SZw2;5 zgj}t>3_5ppeWOU{07WEbx)j(M$3rh7+HcW&Yx!3FmHL(N#Thl5bmjH4qvU5eBNZ#F zGov`}X-1R?Cq3b7G`D`*q|9dZ>4*7+{#v2FRih7NgkYqN&*Yy_pPZXtdKW$wztq#e zWfuMUZn)4yl9T@p`w{lSuQ#`--YBt8&f?me!cWp~UF!U<$rg9_2j*nl^Vhl-_iW#5 z;M8{a@FlinSTgQJPK`WUZ_u0eDt(ZQX(h&JY6Z^5Cz z7Ku+O{shHasU7X$!_hq}+cP*#2oH;4l-$xs$_rE!*t7IrSoQ%H>X-g#dc6ES5X3p6 z&lc``&x1!vMZG&ZQo)TlVNkFeSGE(qIZD+nz*g#U`jYHc=6rXNSigoub&~x=PVn3| zmK@*%#o0YeslxU%0pu=jA}TzuDmY0>fSB!IYe(3O=L<^6fLvT%FcjS&d9;)jFCQrU zt7#!wL6zVH^Fj9v{L6hRxd&#u24bD@^3Q~UT_qha2b=jR2)fgj%4H1cPF@Qk{5f14 zlcgiIRM=;fH@N&Oxbz|nb%0UyF`WGRkKu)Q!m^MV3=4CAe5+rYm{-B4m}RS=xZnb* zd}hQN9@%v)<`DOj_o-SB;zwYbGS zuPx-MSHO9dFDZlH7#=U1$CL5mS|mjpfXM;RPE&6-b~;_C2dA#VPCC^(JPXa!J`CkG zO8R#3$FUI+9-77o8oWkq1`7EO_`sh8CwgZ%OD5t3L&o)-8nWA^hO`k=>{NMqz#z>q zh)+B57Q@$=EoA?B72TNv&-gv^sgO_Y_UVvS&v_+{dhC1DLLsY)KSS?Eu?wLsyTm+a zXh@Ij1$;oCk$xu~-;@$$Z+7z%GYp#ff_}Q84IFr`S%SXN2$3B`F1hpGq!Ob<9YLb@ zx@6}|^?$lpy zrpQ|`XYEn8{lNKN-(E30*yM!HP2eb_Ll42W{AfRm0twRFHM>A&lB8ttq)svse^DJ z%U|dD16k_Ev)cKG35AC^x}SU4FJ7&y})E^eN?2Z3ZYcUqTz`_X+w99(roNMeVYv5xTQ{UJUy8 zTSMrl)jOX>Vrg?Gqjt;8rJ`GhVQ54%|z))Y@n<15?#ljFz zJaFN{u5OpAMJK53{4RVnl0}ZZGoo^{3JH&_O~}bdL@g8odikin-5k`Z*`g*vJF4a( z7WIqTD5O)mU!^bsYSoirlLH)cxc*w=0h+xIWA7hrZP2xZicM1O5D1={aTbW<&UgRtfEJ{Np05lAZtgI_1u|R zaeFZTr3jYp;}a#lA}7ph#@j7>N<`H1V>s_%jv@6O-rA)H1(z6w+Z#6NEG4SW#6VUF zc|skSD#SOyG79ik>Z?tP(}$)4LkepHEzm)q>5^d|OBd4Nd`M3r?dFh99{4$TBtO zdRNm~g7OSt-eMZY8%AzpvCaaFE- z!y3WQD)X7{RNih)c1;K1qNCh8v9`Iby@a@*{2PUrgj&FE{nbj>6(xK-Y zU?o}{BI9ZDVej+d!!L#Helo~Go?zk>beB}4-PFv%nAT_Vr!4gMMN~UYsxiodXH@Vt zH=axGDz6Cvf2cJU^IfHUQW*EMgRHRARgYjQ;yI-Kf{+<BxjPa!%y06O_F#^*N&c=AZU?FT z)Sr7=g2TLj;g2;a{|dj+I>B6`W)jRXR#&Fm(f>Zo?+g55ROKLk&*ay_Zxg?d^1F)P zC-~iiTJspcX7(YSPu@Cx<0c;WHMqZCwWqiLc6+VK33ELL=Ah1mBb>c7Tt%yfhje8(X*EK zmk9YOv;oV!vOMXkQ~Z|*4th~6gC{exyRhs{tj22m0}Fi{>)_OjNcu%A5cm&l*)wVB z;^(&c=?WxfuD*n>#az9WNA9X46e#R$(<5I{9MV=Pn9v1p#_Rd3EL;A~O|1WL1KG{e z-)Z~`bdGHXudwz8dJn!{?V0%cBktj1=$_V{ylC*5lhebyK7 z0b?sw7U64iM8s6crs4W{$Uk%9b7CDn$X27tvTkraUVntz%^_-@AEW&?p5=pe0&-#k z=~zM@@mwhoeYB*lLX@!AV=J+Z4_f(Oo-Xz!uasGY-5NKjuh^cAE4L=Ev^9ASrMFuZ zikAPF+ueE^-L`EsnkiLqC+Is%{NduMCE7q!A7g#N;x=HR`wbR4VP$$8PxQDqtPl;+ zN6446S*qpG#Td`DX*xfUBIx; zr9lx8*~@c>sCLu>pbBSC;@*WQtM>TwnP}UqGE(_46$*}v?V-8FMN#5=q`(OlUHxxq zfe+1Ufe&p>e#lzjyqPWV;2$YN$V4r`Wc~ovt2W|s%^_+dTwR1UQG3v6?PafZ*GJa0 z8%EPP+U?`ZYul~E>Yd%(QA3XJ(mF(|-A=d9`Hqggwp*g-N}qg2+jUzk8=!7bON5(p zsx)60et)ZKXghS0!+{;_C`uioQCX5>uJYml2Q~AMZ)SEoaqqZqeQMyjq5Lb)RMni% zs>_+TY0jWcb4rN$dpR@*G5-p$$En@R-!lkZgYHFKg9B0nP?NiJePEj>E%#m&EGeZv7do$5UdB>Nq+#e=4JWxfS<+iv9W6)n7>f1wLoX`@=Qy( zmW0OTQ9XfHa;;(4IBW)^m(N0G*NlZ*c6C!J(@V{NG>|{GhQny5VR7bKr8M6SP=$Ff zG@uK0jl`Hs1}E*8ukb{gq(*GqH4dAoo8i6uRYrzkG7i_UmCoM+$N)zBpJzzbX*pupG{r!s2$$Ioa<=Yj&kjy6TVxVl-P%QI&Ko_Hv8@0-z@|e3^ zP4S!y!XI)8`Jp+HzmQ2CwH^f8pdo*?vX{T6eD%l=ZM-yqL{ABp9c5sE9a(^)Cdok- zqXteH{Z-@YhKZ`(VHwqu_(Ab7Jj52@qD2tv%1iWIjaYMMfD4EVfl8Zd3(94P*tP8T(PYXu@$W~M`VTVyA^-_Qw++bx+xWgaylD2xb8HgfSq$Bx}7WWdAksejC>W>y~f+q=s!_nP* zgJ7NVT$&2XQ2xo_-EV@|RFTD7oTB~s(Z650G9c)xn168s9 zXG-IwtG?s|ToKT*@!9Ab4`fT1rna${D#b0w2U?w6yvE;v{=7U{ zOk}+c00^*a{$jgvly;NBS@M=En51APxjZQ~A1-#MWN&LH%p%>ICi&c@3dw=hIjyRm zy0}U9v}X4UYFIa{ev1h5_#);PbIBeow4DhNfwy^`=afHdRlzkcJ0|Fu!c@4+_nYEN z1Vc~ zNc4OO4J9a{8CnD9=yy{Gu9qL89mJYG`qyCliH6evZFh;<8^vfJW}K zhzQ%`8;-nl8(d$Xv|MJ5#as5X9k#jqI|_%8PqGe@6I0}(61#X zw=zh7T9h6dQUK|`2w(x#%%~2T<7THl0GPm=l{7Xx>6I#ecFKF9nJ0&@VVAqP8BE*& z2Q#QbH$>lQ4Ugc_Q+1FGO{DrTJW;(0LU}(B<*lI}vVuxpD;N?v&|+Co)ZfpQyxWpL z-xIrAD=D|T`9TKptH(Ve-s8|!iDpsccX0ZQwBO%b+FPTvbX8yH55xX*P;Z;16btQk zKL8xuF-|G`(p+1$@;nI%9eN*NJ!3Jq+IieD3@gwt36 zE6p>l#ro10)GXB&u;ZMJLSLcwH6OxG_Lc}189ljQO3FE#@kO)KZlbDl_LslVdcNKf z+@F=_?l0rBlb)kP7pk=gk^SQAl+w@UNO`fPgx9y*cRvq0Dx(o!9PuWW)KKoGI0YhX zsMmYgBe^jKSQl)w*IkwqhepQVA_AyAI622T|^6UZgV4+vH52@1^r8qEb%EKV}9MsY2hz#u6 zk>5b$TtSwItUKsJ6lL$$S6K8B!KzsmbMBwfw&-EQx>^~!E@HdApJEPIIxOaVhzToL z8qJQJyMwM{mbqb_|3btB&euUiWWMs3a%QplC`ANo$A8QT>mQ?(xJ^(6 z+NFQ)l&_3ZMljEvJ7ut_SX+~m=1%#mpiFg-XV>>~wBnXnMrI%2=wHa#*IORNG7vlee3t=b5 zq~BvmYqSY^En8MN0NxXeH^kqm%k{JztUEjX9V7}FtSpO$6LY#nVBRwTSF2yf;*a)k$wwlWY2 zwzpeChU9SI(GONQAoaORts82Pw}D;=od?VC31ohS3IWS}n-d5_mU)3MB_$0)nKW4p zxYu?aKpsSxJh{7htJ?E|^$8k*eKWy+84d;8|H9J&f|+yC1thPP!;|h~2oo>LrYf2^ zPP+d95iiQ7bm%oP8@L|KFNsu+v515}L1(I>m2p`&zWx`h!(+P<5wq^4>({#Wm-zjh z-?xLO-u1hSU(I?lH2>S|GrK@V)BWnI>Q$;E?eRC8X!i4!cqx^5Die){IB)mqpzzM; znkDEkorXM`8XMu`bd4nlWatsKR<5U7Pm)x2zlG|mS!6ms6+nJ{`-K9DH7vLYKDZFE zx=`$wwDD@OWw&{AC!4W~J-5BA0~k@~t~D-kkn}y?%aQL{uFBbjmz$D8d&FY?6k^K_ zsq^n(JB~Wa2wzKl!s67B5&jcCu(BzGhuA#|Xs4V;Msas}3x8y3fg8N@3`$e7#rxfN zzd$2VXpD~N^Co~$1jLr#fw?U<5k)~HWg?hQQw$qB?IS35w3tdrgcj?FNP+XH&V{I7 zKkkssmAqSd+RC?TkA#+h$+3iAtIuh|kEJi1Cv!To600v#0QwB^eK>HLdlc1`3Jtpr zIxVc$ti0Q*tO+&Wi&$nhr2Gm2)kwFve$4=pHH>HjW`^Dkabo4KTKe?BP(${jrkC{D zF(aLbjv%Hnh+!{Vav;08>A8uIjrgdomNdBN{Oa&CCQj7}`B#B#(wQ(CjV1e4R<`Tv zSmz3mgP3a#shgJ&?cREn)dT}l;F#tyd#0~RKf9SM**{KDfx^xd{UY2v{syAPdRGx6 z_>|La&wR356+l2XC$bMqYXo^U6|vno6X=w{{O0*{#IlP3w9V9B^mfZ)V7KI%YSUJb zz-~D%yJf0i_uS9Wzh8)k9T*RNO-`}tn$hoIyBbN9e0`!<*s08s-Va9T{6Z+om`!IdUsVGajy1T}-}?~&L*+M> zIU7L?LeF3kJ6_&DEWsPMi{7|B9vQbOHq{ZeIQdqG{24ZUK3G0MLV5zoW?42}cC1%! zBoN$J;^`C-fKL@HYn8o@o>@vteK5Pz3h0C=fyatf()V9#7OUWtlN{iP#u~DXrMx3b zs&JJ$zB>`l_4aeKpmzrr^zQQhsFNmOjtdEqL`8&lR35f=0Kyy`3_~;hAO{u!R%~hTYD5x<}YJ)?YJ8@56^w z30HghwYsqETBZ%Fb0@Lf(W&K*GZ!~&J6VfXKMS1hLQu(!joFGIv0VPkVc^8Yq=%PQyl& z2Ae<$4L+a}`qN2;GOl;>vzz<7yc5~^)HNJ(=n>;;cT=T@eI^a~%FL9mYxt&Cs>Xh_ zm(lm!v3HX;asyBqR7$PC>?MK9H^OxGDA?G%ZoaOhl9v)&!~N3`$}iQ(5*xj%l! z{5G|orC&cIb$}|8x@d9H{By%5=J(P3^S0l6B*OXL`%{JZIC13dBNU1Try+w z$Hu-$$59(T@z^$1^*3TYSMdx{}3oAL>5rh?4Sb%l5rJV~I>h*SV zWbH4`e{N{w374&DazB$fIMV8?Kxr@m zC6V#+2AXDWXL9T3jW2bxrDSUs;J2aoL-erZtl;eog zqT3nfyDZALAoG5Yqlyjj)q4%jFZ9`l(0_3^srm@Kx(4B)0O3IoZ8H#XH_5Lh92DLW z6b>)ePoCF_7kj{{#vdZwOAEKEJ$7f^!JW@ld+_#*&i4dw=w}sjmAPkJ#GA~vH)O}-GfVVR zEx#_6&%pKq#M4rrVV+GB_nkq8B7`jeg{4?ygVX_`WQmYc@zfX3+-eyMXO&T#%4d+B zN+sBtICcIh;e4=<1f*@}Cprp5E588*8vXLb@$kwP}sArhhwF_spGTbj=xK}BZwsvrJ?&WM?vc2r4hMc;XuCZ!yt6PK= zggN}V2%r%&ulJC z4tve$qtB4|Cb5Z_$k>5p&Ws%ZX{v?CJLMYeW}eh(FIEl4IZQtF^a>q_)K8y=?$JsC zrMYwuZBnFBWTT{%TL1Dk`oa`_0r;4S^O-5Q7z1LLvpW(PzIQX++FKx+cvP3X9l5XoYjE>LY~7W!ae z*&AKGmQZf@rU+0@iL9m6F&cm|sm2E$HeCCOon(k=Cwd$2q?Ge+iQs?_GIShg;Xx%0 z54IR0px#bHnF)C$yey@_hPsn~YHi;~+vDKFz36y{7M7JL5rgs8yZIQ57j_{dxT9g2 z?Whm3QkV3&JJr^FnaXCnx@)bZ?_x&6KKsomeQGIQH-xXjs+|ljW`UMW;I7KIxtUvv6TS-_(`<$^YqDR zo=&scJRK*rwd2fSG|2>eWv@=6OW4%w5q}&KmyI{a?Bow4xw`w`R?O*j#auM2n2)F> zgOf;fqqsk1M4I#mE3!Mmpr-rKVlr^})!E3#L7iBxDcJ5px5pN`d)KIb!NgkjFCXET zmqTYb561lA?6tguwIz~@C~)=^EjGoxN7bLD&mae8%ysBCdpnY8WlMG5qdg_#aJbyU zTdNy*>Lt%i`IgSLqJrx~BuE=kqd>%PUxaWDb*t|H%r43(Gw(ruc9o)2*L(X84laLxBa;Fy&| zo6uG#r$ncdBWX84liuNz-g{!xRj>f*J4_dnhYyiiXPK zaENf`X9{UIHSqqqk^gBsaQ+6eQlta|1K9GF>n=Ew%!InykZs5Rs%~af=0Hp=74fA+ zgL)q+p+3^aPmcV%JZBnLE+KAP@O>Syn-T7c8_@BK$w4c_uh6v-8?MmFoxQrpgi>N8 z9G8l(b-U}dp2cqH+PIHeoMsfkd0aQ4r?7=W%YgZns^LR#PYV$dCmm3IQJn+7QQ zM)2Jy=q}Y*^F=TQg)#G))^IDczY~!*qJ7eBFkHKDBQaUT2TTacnC3C7QN1X({_KDO zaGlW~x9sspk?d8K-Agw?y?lAh?u_v*3zJoriDRHD2N-a|g=fWjk$`@w~8 z{#>);ENYvv#Q-0~Bw`P-1qU4rgISEA)v5DB-e89p!w%hU_zq)-5ye@}JamQmiJNC5 z{f$yR(r=z`&`XBt-m#+}tHei()6;#um(r4n8||-bZkY>fI!1)cnTy@ecO9AEeDn-CQ;emVB-3xGi ztOBB8B~p!5xp!)BUWioGfN?lg{P+5->byq z_~ZMR#BH~0e?SE%i{)p`_;93s2sXQh;gtB`tV*Qx`emZst;p9rBgrjuoE$*e}&(7`Kf*}fv@(j+Bh z$3KY}k?h#gHK~aLYskU6@e`F*DMb=n8+pPog-mm@(qwJyvzdNOPS?iNDQfsbTtlvJ z@xxd-jhMBk-t~KcpRK>!>iY)I9Ic=UFG_pk?4BIP-Q3#oT>367EG(C%hndl+vw$-^ z*42U)xrJAE?@boQ_0orLw=j^R1Mtub!}mh`)}N9*^rn>5CuI7-|HIz9z{gcp`{QTM zWZLva0#pcyFd&7LLLbnUKntXgfvGfYY#XQ`rfD*1L-Qh;X;Uzm5(Y9IMk`n;f?Aa; zQBf*V2$kX#Y7@AK0a2o$1TMmf;cAp#hzj)g{jPP+yfSI=-s|u4`+xp+nzPT@&$ZWH zd+oK?UVHC0xEy9U5cu)FE$Vwl1rW+xI~6crr?cfIws#GHaSHt;3r(2`aP>UzmU;{g zoaAE~;^oj5MFA06rS`|velxcFbmU@rcMBN`k>fBnw5&fSN3HBBW)pNKo>_N&BFTIK2Qg2)x$3%!}h&=;;1Tp@!a?^I~vIIq~AE?ITlF< zf&^Qlds-)Uhx?EYP#7?Sv@@Rd1cxtV%%JwYe40UI%$G43&EAJgxs{7!T)!{L7x7@J z&aSN6T~b>=Acv$yheO~8GR~zW*~zLOFeGjqIU+6{#(iGm#>Cg=om86W>`3P=tC4L= zC7xkQR^lU0C2ENsR)Rr(9IqxtbT^_&^I7tZk3iia&EurliWF$SUWrdYck3%jrZitk z$G;j!6Fr0B075rc#lo6xyfHZ>a8rqn`V&wM2gU?kFQ6?GaN&?XmWG4z1Uk#J3HDn0 zfqNW@1*bm`9y6Hl0J>l=@DJ@KhKyn&*@gmUFnA^1XuZ@5k4B#D2`fCTZ@Bfyqlh}0 zS$L7DF3f4wh?ksTOvO@#9oe5Bjgby*kBGl88e zyNg$|{hXYfi;nG#yNlPShZd!O7N>vu(?3hoKHJ*(iGPW*M9fV0*(Nbk zaTKA{v;^Digd{Mb452r0jrXf03s49eWVghMZSQB~SokppjHU$cgbr3ohjZ`ty&RIr zU7o<#z^yWv2)B6<->KaX1C?!Qb=(I$&|PgZ+V>VQJ^Is45?_6xsZ067@@wLRQ^xkg z!!d%PBHm6@%r1i>IR)3ljD#-MGli_%s**`8wd^B>5LN85-U9bG27b@vwxT2NmU|^L z)y3GSrFM&=0{(24Qsz5Px_fh_R@4@o?9)tV_rNls(cwN;DTsWOXgWR4-?I}rTRrdb zIBHu*!tH?aIv7jEB{=gM6mLD#MQmW45nDOO6aWpX9M8Jn3Ae|dZr@vkp68$AkV8}& z8g7p5mtkCAg1=AM?&Wa#C-%6G;`8wOTMDlL>CnK}QGn1MMm1em-k7kzYfpp~qunxB zkk@OnWKePixx@|vH-j=%G~G+`G0!hbo-#yZk$wb^h;pR!hPJ$ATLuGf9Qf1qylEzh z4qeK~&eoixHd--La<_09ea@h+I>|5)HR1Ams7<)x4XjKA=t^sgdZD zp-XwIj#R>;?UZLSrTzZzFdBE>^Xwdh=Quv^V+?jWvi8FE;Zs96dQk>c>&6!_1nhIZ zdJ%cxGoX-kSh$@MosIzLPJZc%a|J@G7IzD1``++?sDa;-eCzzbl6}}q&$19l`p?zW zsH-tB%=wKoXrQgg2jE1xO1fS1d(DG8J5Sk_hC0z};N)(d9d%eIYxQLOP-8OksVgLN zm7pTwe83F>yTkf324>s%ho84UYLB2NNd!SivdzBofE1j|O5>k{qVIEXN1FvN0Rv#5 zS~J=6ZbfQD1%P34YBefJ!}<7M0Ot-hQ%?v@eFjbqH0FN#uKp6 z99r&cyn=a5Yu=owtRwcF|-#JS|^76fCD)pkFk#rCcSejI_g z4qn}IG@nwR@C_%hR08KCx&(GhAC=drcGrXraHsTP-%bn{K%&@RrY$~Y3DCtS;@jud z1t_n*00mbpfgxJql#Q5e`)V>1Pxw51l z*ceU|#Ds^~*fw2}__nY=`>oUnR#~tp8QPS0GdDmbJ(}}w#tHf<9>KhuFN4Q`JrxEH zXn3iZljR)RUJ5nGwyy__*5khg;VxFPq6PEOa&o`eGKWr8>rR--=*##J4#IM5St)fD z4UEs866Q48=OQ|lO3XRepiFIhBy>*F@nsgAl3e;&BDr6ZlR6~%ZODTykO6nWDBu_RnLpYZ2Mk^)j-zFd@y%W~ge*@X z9^dWp)tKP2!z8DAolj@b-uF;{900smI?9L4b`7#6I+NLcGBev%l5GM>1c(Tjo@(HZ z@fJuIgA`T;d`I+M(UQk7JHYZ#jC5t2q&T$#vvN#j846R`11Rb6mK+a(@1*rN%%f58 zi1x#2Dm!qdeEZ%;eq zV&3VS^-dPMR)04PYLGu}X2Us1gcT~g*Xc2M6qZ>&2Ty#HQq>%V+}kln$*`|b`_AEn z{R8hq==Sw7FTt^GGxSlWNZ!DeLd{L9vVZ1~-Mra8SkiZyGW`PudOEprLSo94?K+z-*y;`mMMB zQ{e5zDBPQBVtBF8II}rbvk9Kg#1J-mnZXl@wmt2S$iTJ}frTMemd>KQG;Pv8M|U^% zD*^ZsvlxFx_?rnqgzSvMjx;SMMNnH{yHlj>8Qf^(=v=#f53zz!dP4KyYH!6YAFNxa z7oI2@ZU0a4Y4g=0Z`+uqt^1doMwHLpi? zxNZJC&fnSwN6C%WB-R%tH@+fKRL>lCGMk*58FGzFZh*F9o^MyEkrf7DGtnfdUuc^( zV+?sGJ<(WYz(h$K>fZ(A0PDVt&MdfXt z4_nJV0Rn>bBEr90g_wDw>)d!6KnIyaM2^k*%6?lr5dO5C#lT0A(18v3hWO_S9+MQ+ zP6$>G#8DJx!>o+oy<3WiwLY|mpjwv`Hoapfswjw+Jp@45u&^V+DtKfcM%x7uh^Qq6 zXn8NdDNK&#bFg)Oa9w8ZvbeB^)wlkzb3_5#*ANn?jBQc|$gLxL3BMR8NPPP1f*|4; zDqg9CEddA;NnP?Xa32V)Tkr$S05!x^L}z4C&u6%Nf`(6C+mXu*x9r!YD(g~|lH@lgEa-mLFPStS;6?VOq*Asu*-n*M zA$~#<-zJHjU5-h+yY6t%1~w{h^L#Jlwex&IfqelQe;0)D79uS=IoIwl{^;Udyo(Mq z@8P|R5o%3Dvr!*GtDiP!Yn2>so{_<9#Af=4bTA|@V)CCsMK&_IOgRXkG&f(6J5~My zkS>c2EK+YRl(P@#YA-Gm?-r&jWL#2co%trmGF8;J3(-AZJv0G92qS7^5i7c?OO}mQi6Y_Hvue7*vNaxO`-u zImkefNFIP3N!C_JBFBAzCmLof%~5BDsCpq23ZI+jE0DYUydWtM-JD;7+KPKvJIPD z4rtHxp;>w5$4CveL$*)|swfJiDHMfK3#53!CChS1SqT#?tKML^YU&*kR~H@}i$*Fo zO4^(_x<}l?q{s*@M)O>Yy@lw6r;7_gTuv2g}Ow~ZK@VnqCid|W5z(hhyGg-uL(ncv_RGaN^v7h7O@~{V~r=d&OrLb3pk- zBub#IU+WGl3RK`@n^Vl-Mg&8U!h(fZXzxU#vDSZ7at-1DmDG zwRR$6A0q9v?!8OOfrp&S%Q8Dr3^)rRlan8{{0UC^G0z-@vjZh|SZ^}}h=)jkqLIK2 z7~S}$D;X#c73lPu6bCp{fKv-Cd%6oA^(*N<>gzCA=V}yy1(=6+2+TXdo~7-bSoYUG zJ=;L$?FWn*=q*YiIKCJsKw1xKY5 z9p|+CeM&#-Lir|PZMB%*?fpkZd4q9Ku zX*Z~PKB}JOeBi^vL;ghk;xA=+7f3xM7RrEHuOc*fNh4S;2E#*QVJuM=iXYZ+l_U~z z3R2>v+UOUIVxylypI+7vI2;1~z!giwAuErR2xJ~8E^wi?UVFX7xoZ&Zyn+V3$qW&(f+6SV;7wt zM~SgH^Te6thqLDd0AXE@?HCyMv%sr$8?t`AO=189i_;hd+aKw+KDgoiLs{C>(I0X{ z1sg9yT_6(ALOxDqtdsRasc)XIpM1rkL!6La31LY*+T%dB&l-FYS@a&btiWXreL-Nr zrYieBlf?bxxI1w}0>D&yA4XRAgH({6{_OB#-V4uv>FvR`mh^&bMoAA(l+QAXEbH3$ zx!xy@ODy$W|Nfy2`pN7cA4x!+4L&>nl>6HMzZKu%1=tE)axg+1XT=}t7okzJunds1 zbqI*G`^YHxOOG%8Py5vWD89lgc?$(&`aML*OHvLi%h^PB(+|o08n&Hdutp{YW0;}5 zePI69Ahe%p-_tX`!Ftldk4pbWhX4VS&&c&>j# zi6v)cwYT76ZH)36-qDtP%Rb>TJ$~YJi_8QVa5xCbyckz2$Ux(VSD#ja8qeo zVCY5L^jH&gs|F*WfQC+?i=&MMOc157dFg1YS94VkEyS=9tF_ zTBT@lVSB#|f{Tnevk%#}*RSKeIcm0)ug7UQ!I7-QiY}QQc^act{;a2X6P8pUj=(r7 z(wCa;+3@IPE}^sO-34_$&g1a>@jq~uWdX2_+;CjZzBlqk?u|TcEya*Fcr?qwO+oEX zO@J+?0twlneP0m*dLvKFiciI$RDvVk53eC|rSUVYJG0?^|W zy9vcMb9*lWW->rQB@RSM-a|+orsnP1)hQk8IR47vE^s^Wo&(8Hevy-+eX>J=Wg(7`ib| z8zrs9Ja@b)I2g9)CAfBjS+P#hvV&083_S|gX82~stskP#NhYXWQW6?#Jq54^ccaub z%!(IF-1Ifc0+goQlSiU?zWb^av_saS*u!?9t~=nOGkKu8>9VCkQh4v-G z5J=m`?rU~I#1D?si+MIPn~2Y{SA7xDg7$b1ID}zs9~Nm!`WNyZCHEG01s z`Z1_H;(JD;V(G}hq1Yd;;1i*Wx9b6l_w@~6?TJzedU6tfrNG~i%&9O@1#4jihSG*h zMGm}s6GKlAzOWe&1Q_0_I0X8MLu#YC;6vPih_L=8oUuz>jWPJTy@)9}GKoYzF6w(o z=A93v#{CZjVml5o+YA3LVipLL526`<>A-fga3jhkAKtDqdFpdGe9}e&u6Ok!E$&aA z9Gad$JxPHD2p{aXz>Gi!;6u;gV6QCGQQ)sMi9dTT1zM0Xn4NNnl+I~`-!Gnkn8!iE zqnNS*+F9O#cghPm8bJsKk=t7>SzUn10?8rbFCC=RpC&Ka5dvU`is&i=dN%%zxen)p%%!bSI}pGU&@eOWN2h0ZMyw7AMFnJx7>;(3bpplW zY6e}fk^?qG?ijLeMYlu6hA!DOMiGuk7%4cxq<-`5ZA9hG(q>{`otTe!>cCNfB7k+# zwS3hZO@}R&|4IO==PLSB3F#^2Tl+_?5?t0MJdh=UB$TKZ%k>-gfXC zDMJIWAsqa5Xte|f&)A4ne)6ljM{)7eHE3iiMheWvbC;?^O} zJDsSnED|7;;9@Li9DzJ{QF}jf4xWK_z6o#s=$vM8KJr;O)@2Ao$Qr)S<3SrbhU@|w zx~$*iGLRral5&*0b10gUS0zm_M)p_g(t$iyWu9+1h`9|f9xXJbG}aHq1H#&8it;HT1`B4uwyN-S8AVi}YZn$S?R>@9REm`J@Y`j*pe zP0Rmg`Ymt80ZKLy*nNFngk0zVEZ-N$bPu!`ZGGMP(^4#?VO_ij`}^!;t$T5cjLZ~! zF;iU5A={ZLV)x9U9y!#s8--D!_e{HmTZGWe#sE*qNJgL$WirCm_>!%s$p}xUMWB(F zoGY4)umO#d%z@Vy4a~$N8Q~a+3CRd&<7?nWMA+(k1qj}KJ1n3@ck%K@(|QapB#j^lRd`wA|>}D#=^n#M~m^TNXfm3ao%9z;8rQ44HA_4$gCpK0gR=(aCg8o9khG`5EBV1!a@T;L3)C@Y zzyM~a0S}K>;szKUOwoC#(P=rMnh zbL>>ImC?nr@A-8;&IUle&c}RwSQxUvFi|+f5>*i(mki}V*&y0Y%@DK7e`}n<0vSRF z$631(#GD37@27E~11n~I@}sc7UW1~D64fkl_(UyTp&--w9c@oP#$h53E@xy%`6EAv zCJ9QTi~W&RJ-HIHrDz+n3eBYqREjqTk&uL_blTG01`{l#xAqhR7K^6?O1f@?u?PC3 z#zeAZ0@=Mjip^;T1K}5R0+J=#so-0w=a$HEQF#~h4E+j;Yo5vn@>C(v0g!ee zQXAY3xR!0OjcXoIM*!SvMaytnYN$V<u&=h4%Qvf;v8AgpXb}Q5!N^Y zK}U2+jy4yH!tEZSrqrkjJ3 zB|yMN&e+<}xI6N0#|i%Q+A2@*QghIcKxA3c<_9O?DtZLDM{|0BAzD`;6t(ZjB`%yJ zx%^0D+msO<5;%B^#Dw@|uK@%8o@i*lsyTkZ3rtdvhyy(7_63Bl9gC5y5WtD4ae;tA z^Awa#C+g@kg8;#{1B(}-MTXgvp?cH#lbGhrTX6P`ry(aUjysWM(x~b544XmNyNUga z^<&)r0}_pjk%8)4<#pgHrnlGFafhLFX}hj{-M$y_4PzQXIAG|Dmc0Nv=uObU{)5@+ z;AI?40Xj%M#6g$w^KO0}ISM4J1@aOhiVJYfsw}8Wd)S+r7lY?G76)Q@ki<_BYC=w5!4+jhksX+X;)pBp?O37#mXWgp7G zClt}?P=mt2Zq@E2TI>h7%yHl-#&rxARyz^w&DZuB3+*j_BRCmhe#ux8^OXitsYEHk z(z142Cy3H+CLGrF5O9iWwsu8B4=G80^!I?kIaMxwy)tz@k6W}8tHC4n?Hu2Ri49U< zaj~k2`mAM>h&*VUsMGde@LY%QO^!Mm$sUG8^@)J3zBg@^>cRHbgRm^ucrC~*G;9S) zZ)Ie*PV$jDJBHZf7Q2Bk;JgRsR6HZS2|=Rt#(-b|0Y z3=d@2cg>SsAS(Xx+?d~x!0>0!ciFyZMb5yXg>IR6C}?YXq&@ol9$O>Z4`lVDH+`5?S(7!^jPeU{=FBY7-jK{viQvd_8+bzBO#O>D zA>UxmPb}KQvZzpx(huk9k9t0MN_qiF1pQxhE&UMcq+zqlPigtvH}X1k!3^w+357nA zGycUR^#!Q3^$(}t@>VgqQ;OOukp-m%-!3Q{Y-JC=y3j_z0kq1{Z@xDlLOG`VaU7a# zQx+!mI_2-dl>e=q6v~28kUix`??6|hkr1c+zsHw7<#!@nD_zHl5W&~LS$HIKIKxcM z!H2JbH_{?FHx6qNF3#w`iCD=TzGhGPHNsv-;0=jeeJ{$CpD2+j|1Q)Qbp~T7>l^Z8 z)(^syY5#p7giZ|ZYX)(r5|%DTiFPNV?Lf3;g9{E9?N&tVK(zUTGX`4FGc-Ghb(r&T zHK@b);@}&$=MM3_Q$3%vJv+qnR`tYg#!(>(Z({Zl5iL+)!(jR0BCpfP6ciBon!%F8 zMW(SAa^~2C$d?b!8~DD?y@5a#WjKRl`3ffbGjXe82!mLf20@u2LClLa3o~yG`tIRC zxJ=^9scJ{A-1!>02+ol!ccw-z)X1z{uTINZ105X!Cd*H+9CMc%u(b5bF)s;X-XEfJ z$4h)Ut?bB^8>^9X;T*YgF!N)}(Q+D*S-H1$uFlF8NKU96%TKQybC(*hwDih}6*gOr zd4Gt?Vb=jcpb_hk$t`^rb(-@a}kj+2ae}q-kBpeBXOw`qH{h6d9Hn84<5#%_-en0lNZc@aoLBJ zk3u=@Ltl-h8s+vqa8v9mJTo|~VZE-23tc_dHXLk>7*N0CG_<@hCXdM9v*JmK6wkY* zO+6OSLkj>cdCujh<{wAdt5tPEYjjRXWR3)j2AnBzK~EFRfdHy(R>8t5WK;yt^Yu0p z5nznYV(Z~*)a}~|FaQ{~ddEULtsAJ0aDbNO5sTpikAvN-_}2oLI z+qa_=dtFd0Y75NCL>4E1%VCU|w5C*|1CcrsQ1&7!d`hxcH;%1oC6L5`5JET1hOZB&Y`5h1m!|!6-MWC zQJj1(*JjxJ8f2zmz4+FaPV{cTF`I2=C zF6JI&t+t`I7F-K6jh(3Ii1k1(gqtBC4KuMl>?7938dNmq*;ju8iE$V~!-7xPgxu9f zkp>q8@Qwgr~Go>wH!9q^$`-$I)JxqZ{>X0N<9Z6__ zp^?eZ;c(G1v;RWylDQDz=r({9oG0U%CMoP%MRSoY7(j<`2d*oL2nI_+TYfI3{2U3r zfU^}5L<&Mt*guOM3EU3{>(?7_sL`S04;ZLYYmXSZxn6>uBmrsI<2Vz6 zxz^z6Ng=xx`HFQJxCr-*pqyyFwG=0_$~$2O)YPOoMqSf^*+Ikl^*BU9p9qZu8oI6T zj>ncT4>mYq{c-x^P+KksNhR?AA?$3HfVwj$66WAotKwA@x101y4b2PI(Ht>ip68YS zS=r1~{`gBou}uSRmI|cIk3d!-84f@cHhY(4L5?8tT+9%Xw|K&a3^ng_7WZK(5`^eW zLMIcIwN7YIUbjAP`y%qNPJKox?;KYS((kjzp{NCVqX%YRF;5H&x_OT*?is_?Xi~mF z(tkKe{y=)nfTZ8b839RkQh%AUKVK>aQ?NERZp7{$I=B!3%RhyC66MGzZn5kKK%^an zvDRh%r2I#3L}F_pMn8lANif}zOEuYTh6gXvQNY*NT|AKy(Swnaeac@fRZQ4OB4gV| z5}^)6?3y+%N8Fcdw;#9=4NbSaB&3>Indl_%V<`0(mV(VHPWs@-tkZzYe=52)wnwB_ zE!7Gj?}3Y+V`N$aY>#G{BM0qhV&nYC0cS8jyPTvfhGq zV8O8tO{sZrwwhuN> z2u2NI#Zrhi?zN(1pDN1qYAO9HIKj{rt%*UtK~m6WZ%IB#qBpwYbO;bnV}Nc$aKadq zyLWidzGurGA|GRR`_Li(sZRhe@b%&NM}S0kS~0TWxBqmYy~p}Ba#1Yeep~ENwCSlg z>X&$WjV(Zq7XVHmMHH$xLpqbD9VfNmt(fw1Hu?pv6S-!EaoaaUHfpbN(6DwX`wi(n zTia*?=x@YMv>zMS_aI-`LuhAH!U#fdui=7>l9w$%`#Ou_Q4m8&z!HYQAByeqCPh&I zL8c$p2`^)>w=f+sI|8T5ZEt`spCT4*B41IoYvMTh9(J$jq=H8g`MCiI ze$5|8G|TVyc5)t`_%!oyC|?2{3Rw`+H_`yhSLuhcu(*Tqmup2F(%bS7X5m zZ;>ANNn9x&viLsfc^Bjc_tHCB>J`T}Gvj-Au@}{0eVhUShSL;k2BO;4-?|ZNgnkk2 zBj|xayTAPcSed>n`+lII1O=81V{2319WYyXcdPGR8MsifH2W#LeVIo_ul4)IOANtM z`E#krSKx1uh`3P=EXRUriJ)3)+trYKUsd5}!^>cyeZmcc&zzeW+a=?`KLDHzHLaHI+}QpBN~C3ank`-6Au4 z&9BGG`Gq}}*dD~R7nul+2-L`g;~vbUM$AuB?Q5|@E zBV7>_mXB@?W@Qfs$bE6%BUnM?3kr>e;?`ebGp-$4x1Ynh76e$*#~p*Gq5=ACxwOyv z!mofdfT5fp@J${hz^GQ1ffTU>d>tP^f@HT2zwx4ffzgGAU=M~OhQVL{nd=2$kFe_)&lGr@lacLmHgfjhAiEk>6ZEL8tdaVRmx zL?KDW0I{skTE!kERL^!sHlT8#`b?tQMt46V;x9Y8)9WxZ)8287jHg`x;hCAFAvF>B z*~2I{)kGi;p4b>hv$%1$yWKB0^$JLt?QUH~=Kz6;=bepAsNd&DOIT^_=sA^bT7wXxC z5qe%p4|aSs(>4KlcF_cY`!#eI2o#~F>|=?;s#>fAL`^0;utD39Yhe0ICyVx123SP?nYt_1AgS;T#D zv_;$(WpRe*=;QL*)_xo`nCNsr!bmUMC6G6^7w2&N6BY_?lc{gf@dz@K^UDP39iGKT z?bbg8lCCRb{}1ceg8E@y`K15AD*Ob(hF`K6hyO#wai)-p6X2BbfV_D7=CiTr)4j2X z2&N?Ws0d5&;_a{WYJXG=t>^>B;j?T@YD3 z;Wh=`D23U8;Ye=SIfuftE2Z_Dj?&! z_JQ`0F4JcXuyi4j9oS+X`2Y)I+=Gy{I`uHxoX0+%OdylP! z5-r&gb`jqa?6aR=(PCT;Od=IdDmRv*b4Qn)t{P_2FL!G~61d9A1}Ak(LT=6k-tfmY z8v(lvtoS)KZ5tkhl`8X>O{943#f;nYqwjE7VhvNHA{1g!2EJ46bCkTC>W+{uvh#ZPO-Q#-j`ToAY^5u~@vJrVZ()u1wDna87 z8~dzdqb2WcdDTFIeFL6xJ@O@4y_)MJ8Zo~7lk11`_x{`V8cRR=FMExD*=sl^EMimf zFMADp{hsW&3k#C}ve!tOG+?OMrD(yZk#7Ga_7eYpu-7Q=7^3(=Bae5Jhobajz=q(r zwdCElS6v+?f1;A)cq&OO4qpW#9`OD6b-$mE7s;&u zA3tve=XDVmhqn6AaZ~_Gmw%k|kDUF$vdTs)V{Q?}z+LReHc`Xy8rBxSVaOC0iZh0A z;u>KHL@m6w_^l@|gK@@AiXV)C84g|zo`BEU#)37tv1mQF%yV|WX^piKu{EcbQfmc2 zD4S#QVcp<_v;z<>d1KOww!&11#fhk7m;Xg6pW%_@D`D2Cnmt1ap??kJc+9@x5{CBf z)v!(-i}{{{R1C3fd83%Kh<>vliIwN zZ#W4^G1MppMoZWG+y8(C!RL@1Ui(F*V$)M%|1)IWE#0}O9~T^9+VJeX&VfRy@{)bt z7T|*J31>rEi!QYh*A6Xy;{1}~L5Q6QJ!O>8an=kC83v?~o=2Sjl_DR8xjE+u_TCA2 zfSi0_wL*=(p`FG};>okvmlG&PN!V`?iK35W)8h~En@_+SkY8NjuPL!+lE9=r`t0?D zKIyKQA#v(1z>kK{_U=L};B%mN^t1UtVV>4%21p*jJZ1sb`?9$hlD*V5DPMb?`OJsX z=Yl^ZbiV+OYVyO|bJr6EnfBbUT_vT$qWcp-PY)52^g4f}7gRTyvDj_W6CxK_c2{rv z0VcQng(_`}jO&S*-|V==K|(^t>qST``N2XT%Bpt0`hyxUC!I~ZZ11c7j>5K8$UZ4K&?q8pAlunL%{L|^zIXn}wG@rQM`Ll*u<=)+RvQH%B-jx@A5v42U%3yggt zHTk=5r3lV{DdMYD@n2k&ff$jH3}&1{saSkuJf~INJnTBK{k%HH|N3N+oreyzoeB>Q zS5RY)KK=kX|I7NwG+9sNxBvb1^`t)a@Z;xJSOdLnPe|oe#!vCx>U-On&SmI#Gv}xF z)K`xL%{uRmmb?Yi00>|-_TsC|dqIda3&=tr33&r4DBwbHN3-(0->W;{g_yWcC8S(` zG*_leaA+-b*zg_JRPN6Immf+b#emVY(e>)b@SFTr+4N zF3$UEsyzFER^&mg$X-_DJjAyOQYwPh9J#(~_h+;v&I9f{CjC6%p3}0Q2P|!m_?;Q? zcN{LhuAB{7V~bc1%nh(OfQi>%&IhXB5G>-7TB|H0OP^%v@ShR$tAA$y{3q}ihrf!x zh4U;dv@QY}h-?mKm!*9yu9u^uVMiHt45)_}o-+>?NNu*7y z?`fD#X4ZGQ_aCY+&s!e7zA|Um9U>sek0UP1?+0~S)^YMdrq&Nble~MdXsWX))h8tC zV+ga%>|e96Qk6D-rMExufaW~h`RX>kE6%8o8V7Y0^GwXw*EnOA!Y}RC3%{M#Jc1s@ z%UZm=)cOz#!}b?!u8OpFTA$ItP78VvF#`g?ZYgl!f(M%TJX$*t*A5`x3&F(jU3h?j-HE ztc4H|MFAx3+b8g%mHMn_C4~L7H>IB{uxb42A8W6a^Pi*-Dq9$`eh$l00K)!cSt}A{ z_fuJ{geLsKI{vx$50PS$?MwV<{cQQE+rAalId#0dxPasZ^nqr(XR2<=4Ik?d4Y;C3 z7S6ylH=iU?LR&+`L2-hMQuVHSU1#kTI|k>Ms-; zN1?e;oz=AhS!1Kx{iZCWEwAU>_la2IUoQH^UeL z;30^b;fQaiND$n0inllr>f2!}h<9+Pz(qz+WA7iuQS8-E6t_)^>#&R425|7F#fd9e zf$b@wluhu7lx;y6u<2e$8m!34M-7|(-!35EMFX6IM4TT z(*(GJ4&3o+ALS04k$Jvn@^0=;tDSD9q=*E$-2Px4!|R#%1OR2fqNZ}4koDW?c4cKl zzXP@G4h_OwQE!tL!1b)3sC`#gX5F#uBX#$qphPY_HAixxuj0e{3~KK#LWFx6f!$2&I1Q^;a$Hz129;ij@ZHvf zhyksNXJ8(>rGE=HW_oejI+nI*a-}D19o0oY=L^l`oT}CP6Ld4f`V)6H+OVNm$@+OK zqT9fFkW(M`J?4EmRm8vh)5tM4=jhAmO!^AG_VA_zYtA_;4kqfZ-Tmda6WzTZtqRjw zrzUX}7nhn?h$A(*LOMU-$9{rDO}M(wgZF6p7M7*o$nAPx43&mAk z{$p-BPXx|np{gVQW=a4%Jyz5dEAa1zR%8%#BRDU{f!=zSeGm5h!%s;us1u_ z`YuNNHtR-kGSs{aHE$u+CpK8?250re(gK2@DtED|*GoKXc6IZva@qcD-HO>B5Nygp z{|FIO&Lm#BXIoMvZb+neA{*Eq>t=-xXGv1_)!DsQQ%+MToV()f%lhQ*Gi%{lBtMuh zZePu8W3BI4y2DFZLE43rXrwg)yK~i-z%@;GZofTM5J8^lQoLhl>45BSl>PEHdVqF! z2@ZC`3E{mepMYqvOae2$H1bf=*!ennWZFtd;^3*Y{%?qo zHNZB6Fk@9OP*Bc@GV|Xa(Um77R<_bIisFx6PMGlX>lBtZbi~~Z{3*g{i z(uKRk;tqc;O_wM7!LCG{qf!%F2T?>nia;{_MdYqibXD@(4PqUxJ}g)HZCRQxN=1l$ z)S&X)*^D6kwwOdX4OArjwhI8l=pOubAz}!Zx>WhC@K)hc?4H`29DXZbK%jV|nqA6o zKL=?ElqgJ0`E3^#*-v;)S_)ka=)lF&>1{OaN};50ERZ%j3t!4_e+nU)ZRF%usBEg1 zmgtIaFmN!aL`}f2LY-2R7Q~U7R4BjYuE)+qO$t$e;kTWr7C%r8ah&rua2loXTe}*? z#1Qyxr_$Z!*u|cNY9bi9akl&EKq{55a4&9N zphhSX>yx+Q+;n(ffY5n#~?;jfYGj1t?MLE@xP{0NtKtYI7P#y*-503`QjVRs$ zWd%X09u1TUD7i&TR)?T8s)sn)KsgqmfJOK^6_jrSly8p)%G;zk8!O#-A9(5L!(e5- zmaGmzS)(4}WCMj*L2vf$P*A=MP`*4GDC<)|nNLtkvxAa;OlXu~$YAPBJHiD@C*n*C zOK*sT^HV&LK)zy1N<2?T!y~Z*>TnQS&fyBnS2QMHw2Vs0cx>M+Nd>LHGu zW4rVWBM60nyn)&DL8)Nfv_p!}UZPc*ky7d%UrY&3mWxca2z6MdS3Sf@uf-uPLVD&R z%0<DynGF&N$6W~-KjM`B%CtzB9z`HIHm3wXYTcE#C54N5(h)<_)zN_Qv`>k0)+ zoKe7{{=orjF~M3bV5Qa=;&Ql8n@SylM?HG!Kz7t-5+~7i+fqD7wjJ*+jfN#oB-W|z zw^Q3szM?VtLi-)a&Frx~TDUrdCaxahM8X|fusDgqqbPRD~$1XY$=_Ju^I@W;9vbL*0 zrB#K&izwrSF#P&IMg>)d7 z>DMj-9_`x30&&hI9bPiBTOvaQK`d)F=FUi=QDgLScQ7W7$i(wN_%h&~6I8l+569Sq zP$0y%iC)T~8&U!S83&plk8H#U7x4?Qh%?hVXEF>{a26o&^ywihw$@N7-SkLY%OAW_s4Cf#97V_+<%6^iZR7Y0c> zQ4Nd4c1rW8XC&6EQFZ<{wHkF#Wm;-#C>Uw2}kZ=nh;Zguiz+-mQ5E9w_}I z0dUAIg-3B7)G4uTN4Twe?4*NP5vee30)R#j`!x<7GPcX;%CjS!Ckb{lo#n&KyKOIh zK~&hBp$? z7(EppbqHXidWZwjZ3KX*71e`27z5bnk%nI%5ed!56?2>!f=Dm$$gyz0z|E(qRGD#9 zQnDJ&ti}mi4Te}B%U%sHs}Z{>g2Um^r>=k$iq#-0J8 zY#DpjOYexS5huKw4$j6`&kn!?Iup-GtWBe|NR+VswT)4>?4{>O25>tT7y#@JaVC8W zjxvCyq63IA?Sb$nB+X<1%r2DyFs3yd)+y}kOn{0KIGpQ`4|-lHo>~nD;_W-=8HsHZ zC)^=X!s;1rBj8yWfJ8>_h-`HUoOaY0y;2##J5s1C1XBZBLmTUrOqb*yaDn@)t~LU- zE%tYV5@8F{g4dby+R=t~ADlU`1a}i9(-&*B(Nn;g_|AH3adPpG(fB9phdp*aSO^T^y{y++KP=9=e%LSOiO$kw+PdL+zuAGPY>xQrXRN{02s2;4~b)~Nxz74B&bl)1RRe{(1 z1z);u7{lC~ye4DaaJJM#)@OlBtfNmWv1_smHG!!VRzQmpM{2TO*9~R0GEtL4)`W{N zyHG8Dpc>*h2c^-dgLWE44Aa#h+*%jfr7J?mvNnmpnJiS-4ga=389?=U!cOD4ClL_w z?F2c%`pU7>*zlawAX1K+Um(tse2~YEG&_xLsAy->PNM^#9jG_f7Y8t$m9*h|2Nt#9 zmLY?rorc(CiK&LJABwexSS?sFT|Vpt3a9}93dF&5D&;Hd@*ylj3`EM;Bex4KA)aAo|s~hYNRq?Y9AAb4p5}gsZFqN8Z0JxO3 zR|!ZgAJQUbSL*U1$jG+bkcPAgMv3K(Cl0@Sm|K({e~w_F)kV72rB`DUW8WDyRf?_OA7a6Udfv-u7umY=M3isjgjJu97j1#!>N2h&wW?uMj zLWnWVLet1no(gGd%{rvaGfmePU6Sjc=eluf0(LtKcz3%18%R1PHNki|Fi{}dF8GOR zHq*4839V2+Ywc7%Ca}vj392=U#0sSa!d}VQW*ag2qS8?lL_Hg+nB_H+w4M^RI(jBl zLxNIh*F01%rfK2wFtmcm?||>V41uPk(~)Md zoqaFkSk)JZG~>Guq6~qsFI>7690N>+0O3^1NC_CcEIs1gR=JFrE{EdaE?w4yu>`=5 zRMM3usrYVng|fE?N=|E!&w?)xEW;x~3A6IT^MzSwp#%$%;tz*7rME*vG2l|tb|Q^>D18D4)=% zF?ywulN9O-;Yb9VJEit;WS>e=gXgHRn!`Z6AY=nk2F|0bo5)~@P*FgJfD66@8;-R7 z7}?Lm!M>)U#9=u0Rd6^tSg(TX2Rkj}sFO5HDCv`9a5{W{9Gr`Omi#JA`{J##$uOP@ zo%q`7`y)3jZo}Ylh=0BK`yKuuZXZgs_sg{Jlf6PkI9&yV2>Y{WiDl1VPrk(wRMXO9 zy!o*EE9E4DBb`qWyXcpf^EMV|KTPbR-`d~Cp($U%4x2+$?vdwF7xO(|p2x^@vOJHI zXMsFVl;=tEJXxMzd7dWE)8%=FJPYM{mORgv=X80_l;^qfoGs6}@+^|)h4P#)&x_?* zEYF4VTrAH^<>{B_C*-+Qp3CG}D$f=2TqVydG`F6 z6V~LvAt?TO7D9FV6T`TEaiT#Hp}c(Yl?zr}nv9CK1?7zqZ?SqgaUB;cu<{QAvHTnD z+wpf?Cw-<1+Y9;UxDc=8pCB7=j_c&(d^@g_&iT%CL8kKWqZuw1u;icP9x2?3=ePxS zddG!%mHf+eop8s^40payu+uyFJKvburRD439lcrpIrws12OpVucD|i_M~mm+>qI+$ z>5O=H(mVKd;z8Dvf1|aJ6W=M%YsbgJocweAop_Fmg){k=`Hdcx=I^9;>gB}$M_s2K zGVANqGqe8Ax8pkXcU-5vo$r6PyQ-<8a&u`@HIYM@NFNStY$N9nuZe#UI}brkddP_n z{h+aIPLMgxnpxM-P_?@#ewRIP;C%k)dZV;zFBj9EseD`l{LZAriQ9eWuVFTPb=zNr-+3W%{cikOO4L2 z3Ir=^YMal?teKN?)#k=PZJ@bXbI8Uc9V8Nm{P)Z=-~H~A+l{vF>#D1dzox8g|FYAU zEM9CB&!7JvMZceO-g!^Xj7|@q{oS+vt8nd^|2gIM)0cnzw9|4=HN0a_Ir-!TAG_|P z`#<`Z6BnF#*9m_us3_t=%b&?zd3(FzL6i#YtQrN<>kG2)Xt-7k19H9>`}j(bl;@Sla@~MPI_nJGZXKf z_}Ph9Oq@A!;zVo0PbYkH!j=hZCKOLNb%HtJ_3_=~zdQc(&g_L{M!V;7B`J9g^Wlg8$ab&q{_%;1<;#{6PT z&zQ%?{BX>-$J{+;+nDf}8^$z_sUGv`F)POS$6P#S_Lym7P90M)CU4A`G4Fd0dImkO zd9VfB^OPs<>GJIIbb5Arc6hdVIy_rEn>|gQ4W3HRr#)q!WuD7C#hwd1=X$1jrg%>F z6nKvIOz?O-ALI<@{3YkDoHug%bAFTaLe8@}JvmS2?9J)Qc`)buIrrs!Gv}V1J9BQ& ziRIjyb5l-hPD@U6PJK>IP9SGZ&eb_rE0|cAEE@|7L#6{D!&H{F-@>dAE6&d8fJE{E~UQ`9<>!X3V_J+-i21 zx0+$|X7eVq&HS9%YJS$d-rQ_%GB=t*v)R1PY&7f5I&*`0t-0P@X9mnFv(l_E*O;F% zuQ5MuUS)pDywbeFEHhV{E6h)t%gtqGiFvvC33G{gnR%({GZ&c)%>`z$d9itsIp3UT zUSJlP=bLlQ+2(oXx#lc$ra9d_$2{AdW}anEHP1B9FsGQOn;$n%Gri_1=E>&A%#+NI znkSkkm<8r>=10uQ=CS56=Fw)pnP(nlPBJH&6U_1EI5XEAYmPBJW{&ALP19u><{{Sy zuJ>K~K4Sv6N^|@Yj{mS)A*9-Xl!u7oCIajai=lDJA z`kCt)*T3WUwCgEXkEwafJYem`)1AHVxu-*bHzzwfv@@w?CUZT$YtbuWJ3a(xrOZ@6~i z_jT9T@cXLk9{lcheFeX}Ts!c)6TdIJw&V9D*B$uXj^7tu+wl7WexG;6@Vm_w#cwNq z5&Sw_x8ipTeqqyu#qYDO8}Pdxzs>ly;I|3Cjjj-WLHwHW zYr^k3{2K9Vz^@*^I{a$!+koG-_|@RI9=~guuEy^w{62->YWZF1y3%z8ep5omtmzj_pKV~+sII9EG#U0NtY6bB8yk&No6BqJ zn}Zegl>uYbiUo^4RlaO_xo`E7RrXiu@)fI$8xt9%#^yNeO@y2~XU_DLKjX@VrVS`@ zZBs)dKn} z)r_}leN&*K%6k!GS69?F2aMWKMR{XoMQyFIvZ6Y$sG$*3MMG`FI^)zj)TFFAFg?&x zxxS))U7#@76bei=RtD;;RtB4D>em@T44ceLWCM<&7hb3#iz|W^-p_v4nLBaP57pEMXU#1SUVPz&brmgzHiCej+JKEF!C0WOA%Qn~EN!S?H#!=nmP_g? z)&&lO%9Wez);82GYN#3wl`9)UO_gZVsv}n5ymM13AkE2gSJqq~xVjMao63f~#yid1 z44;PTLN6=LG~TK3w2`x_qG??qD3CLu5{f{uw4t&hSkq8nTCuqn`*n6%q9~505 zfT~PNyj(s6+GeSl_u`AabIv^5etkoIpgb682^vJ5cm9VXp)7gSlMEC774`KEA@G>;+J?#v z6>Dn)<(0t}gCA9>{5cn+?^Y2fg`-hyvcac%E9J!|@`ydLn6nq#sL zFvmJzq@mIPw-J}@Qi#VJY-sS-l2VMix{5}lE>usavbF)dh$tlP0^Zu1wM`XGo4r*H zfo5-gL(tnCYHVz13fk?|YzT@kypV_ow*}@iJ%nr>-^&_9i-IjHD;vn7Zm0}4G_^WG z4#NfOLa!W=-zdRpxgRFZ+1^lnbIrQ?K$W)^9e(P_QcD7L3y7k_lsqCz;l>6uFBnR5 z@T`my&i1mqW-aE@ra<8ErKH73FC;Zr!DH1`pzKU!riLWnF>qjL1A^0-fiO0w4#@s& z@7jij+N_{AH-ixxi$F}lfb_#f6_x7)&Dxt2Rg&=+11hqAboh3vW$ z0yWk0MnqrKP}d0fn{_y82_g;KV=>+YqQXtyDc;#rMJOPi3fCvUjb(vAl`|A*I)~b) zuZOrZ3hQ4~S|(k${>)_0t*PHw0b!&*=v}pP(e&|97}V4Uya^d;$+9aJtXQ&O*{bqI ze&3?YFPa5T;YH7BXbPay*ED+rO-&6=XM4}8srGJe2zl8E-c9Q(g7Q^?SXB)`;91kh zFQ^p>fTB_DW(lpU*z9cztPR!FRw1u|x1y1{2^o^Sn`(mV#Zw_!wWP$iqWsbYOP4NO zu;_Acl|l(nLe1bx4VwZ@$O*I%;&|re(9<;CZUYE<8I>@y;bFyM)E~XH8R8Viu7-M~ zPZRwRRuhEOR&%{VSPj)hs3~xvcS`ekqf$CSc|}uG#b)j0<>*7Uwgv-LC@_7!QHil3 zC{$P#Krs!Q?f5rlDrF2?F>>LBl{HP3A@JpLszJ(w5cuZT)K>*sAQluhHkGd>eJ-Jg zuO6~rp!w>WYo@P-zU6FboO3Q-53y3hr*nkYL82~D*U+@NyrHQo&;$XrwxT6aHFc^{ z(~P09F}T@)%B2oEre+doEr!$D&9>B9b)-xvi!EHbe9`6QE0zka*Q`tEGU8B^&xM`Lc~uDP}0bWPw72X zfkqG?M0f4q4xi5^S36;&2+dA#BL5@AqflFQggA-3B(iWI6vHuM6aX1CdY);6%i*IP z0lKuD(tulB(_C56R5c2GcIfD3+Yu5Kck0YCjCwvOBZ!1sQqcsNW90lN5s3NO%3uW~ zmh97@)Of!7s$|A0XFBvdy{^2PvgRW8Xzdj$LDpsITM)(%BcG*9d?o1S98_(o^g~K@ zcB(~~AT}BH$AZSjCH2(}hDb5#L%h*^{dwoIuYSnvr!>!)(rkpl{vZHiaA>HmZVm*! z4I%thdz&~3HKtdAk*~w#t3F`JQWhjE@Rw@vW@Ab-cqclo7o) zuP7-8KW|LOh!a9E4igM;1$2(9PLdihUMlH1hBOC(&tw_pz+HMdl!7W7*42Z@RUrqg zB6_PEn(Bb&6#t5w~yN@*N!sDFwE8f!`3?JWFGv&gDuA&8aZ9WF?S)u%!~w zwIP&3vNx(jdo?6?haNJLp+*Z=_G4mwDfj|lFC57YREx|nIoaHHC87UA7{Xp<#j>)(R^=R=b>Qgft9U|mc z4JIjdYes!2%sNa;L}Icgn=L{+pgdRT-uVy)?0neRc0O%VaXvw?i9CdcQv#%4Cqf+- zmhf<>&9F5>$cm8Jhpm4HAHKzTQasRkdKE3JB6X>*}(3wydq5H8*PjJd3gh1VL$80yegso7H#D ztaE2qLwSN>WCTnbTNt{rzP<+1ZuZbo;FFXL+la;(C1p*pq87Yol+aO2tgIR>P1SXy zg+S9fN;&9c*#W2lQVth3dc_(?&2!`0x|&g2K>|n5mBFLI!?44otX(@QGB?(ajgNFgX(T*@m9$AYgt&a@I-fUSLWNo&7 zTp7qx*~;1~NZ-LMeYLW-x;E6jzM(N|s!eN00$5o~33Q}?AR9D+`s*s|vUDQ!*2YK&0r8!GKTUVV8rBIYZC?A1&|u4~u`F*i%xO)yN!!oBOWWzq<7xSG;cCWC3*z=aQFpE>|EX3auKI7{TF>dN(5 zI(1W3Gc;`@<2MDfj4sekh<+#w1vanCQpx7^Sr}q-Hn4-}8Y3zg%o?+~rM4>A1f^vr zK5P_adT*= z1>q}XTB^Fl#rHK__@Xw()g^)Fw!3Yx{u*B&QD7`PKYAK)UJqMEfXt6dm)nI`@qCu&K zb)g_oB^k*w7!>POHPzKrX>O2ZfTfr*uf%kAs(}&5NTeREh8309g)oJlN;KL4L4hht z*YdTY+6@LJ=*k8VP>@QGI!B!;${PbSfF?9o6BPf=*Nbu%Y_zfcYTrsV19Ix9N_7Oup-Q!gzK1K-NhJ4Hs&gPGhAP#Skh4Fl zR4K@*3oF$VklQb=RIfnxZ9GwZ3^_7+qWTVUyayZ5ZiYU{n?cS(-WjsHZ=z~|?21fO zGa%Ex#&y(e+z-P6jh88Bk!bSmFvPN(mkGUa=>%;}q1uCn0@ zM{;q6N<}IhzJUtmIT7+t5!*kjaKwLAp?oh@IMmA(D)VxMBeSeRW%roiaP2igWxk(K z=Kf)VYX4zEMYgh1`KDAl(o-r`V24UaVuwoQ*{RYI*{M?HcCK`IcBxd!8I=xSGvrpN zx8eI?P(K{{%#un+4sn(Id8H%sbJ%w>^q-9HXH}ND&w>62D$4_p z<0RkHmF3B2Dph28r8Dst==-R$-19l~{jJjJ`U>j*sw_*5z#oo@*fE3nbxw37oQT(X z6CFv2421hA#NW{q9f6~fKF3US_>P&VUOWQfUGuXh2G+#DniyCU18ZVnO$@A}7;we8 zVRgm1@8&`mg??OdK40UC^Enh3-QT0XqZQXOT4ycu`4U&0&jGpOxMf9u=kr3YIG>Yo z#c|V({*KFuw9MyTTyZ`xCxlQCbA|EC)pD1<3=L*v}g4{V$2OXQHq`hXM6FBD!Ra#-ZWA}re+>0)Y`l-K;omvJhWim=!@uX*%-<-yg}DDG;jM%}5H{>nOW8k$eOn0| z>U-PxaACv$5u5rs!iIe}3v>OABj>_gf8$WNuv`2$`33e5*ZWE}2pj2th_Deq3xtjI zJjtg20vq38;|GO}@VqK)g#Sxn!~V()`)^b6@7BVG|7vXNEy9NR`8FQ1nLpR2eyxq~ z7dG5~(Wd^9u;HJ73r`XMZu%no-%#IOcoR`?5;n@;Tw%k#J{zAQY}j|Du#rA@+ti=2 z@w>u?{omSn{gUCSFG{7ov@*QZ($=p z%+efCm6BgdNmpwHSG@fs(&1zb*1-B7Y}xg>FAwY7>!n(z4;o8hK3&tcig& zF|hh#V8(-7UmYoOpU7v6e3Qt}i>w}E{o9GWP~@{j{-emRi@fb0Nx!=gfE=4wD_Fi! zt9arC4g8n=JJr$jWB+cnbN25OS-a?0aY1Sf*8HrAfi*F(CI;5Tz?v9X69a2vU`-6H ziGejSuqFo9#K4*u`2S@LxDo0_5bKmFbrWP`tc^eQy^SQ(INL*i$d4X(yCx`wJ)Oo6 znah9I<9t@3@3^Z>Iqrh^0Ae%j2n|4-0P$yt4V}ud0OCxD+aPdPFs_PI&Kv}M!F%Mf$(eq^AJlRcHU5pY`>8jnX<7O*?2OTG zdYeN`Q6tWusFANBKHfr&ytAbmS-utg;8r7_LAx$0v1fU2 zx{P?5dQFJ3;%Z8>8K!P$Y#05(wLq+;_B zKGy2Ln_IfQeh828)w z4s`_Qhj2^+Tis)wi;Pb=ql5$VIJ*ih3x|e+*nS@E!^LPg2M`?e;One5+?(OgpNI`~ z#K`Pny*QoH6~yUDTysWdgPn_(L}N>WUHaw>`qB}_0hCyp zB4a^1erx@*aDeV-(3)^QzCVILyN0{F=&%9b+@tTF8vS*!hfa9uHr+=;s7oFj^M@yeZ`1|FkGRJxN#t_ zn=S^z850#GJ18MyIJFV(j4IsahZydS;hY2i8HwQr1YDz_Zxq5Ygw91`2B)AExN9&> zaUu731##a*XAjJh92wR!j#`lh+8motKn&>B8*Fz$I@P_%lLm{ptBqKdrSij0l6o~+o&%j(caUibLh4_ zT;uHJ<19D{Jrw)jY^uWX7TlE=`roapp)2nGC(qPGkMD^1TidFGVb0kKRUo zXUZYCMQF_6nC{;G4^qTpYW%TpHn!3nYSz5+WU=U$B&ZrI3Csq@k^L>&SDrd%?Ilw} zmk51WthT90aWdVSUX8M(Z#tjTwU``MZr>v5D97a7JvC|vp)MJa03(_O8( zyh;xlDd%y5Q~%VI0_;CUAdi8}Be8_sWMufOmV?EdH?^&JoJG&WPy^Tm6 zx81tsEb_8T0FAkB#b?j)lf4gl$=L5B)zGw%KTs;)j%~P(r({aDWyWJiUQg$7hxK-cm*8Gqzoo6OHAX6P`*9O8 zZl$2Hho$7!&C!!JbuAsZWPXv=r-gB`rwub0ZFJAeLjQ1JW@rAHD0&LQT(K97RI!bG z^L{CN>$JV52NV3T+*Hg8*0D~wZ@jfoQfC7@%s2m!>3o%kwHnuE7t`FBzqJH~Bv|lI zE!%IJL8(S}#F9(KZ?qOYh+gZg%lHk~uggY z6vgL)YG~$Bg7RNlQLFEL9@`G{sC*nwnza|Ve%1Cbts`cymm(#IQqU{0g^Bgs z9OdQ7GdCko+zA`Yz3LZ^8g-W=KW+Z3!!qgmBJ?M2BOfGhE#iak9d<9A>?|+Oolg#A zZ_&=&jJ*(sPwsRU=9lk-#tdt`lC&5R@v75^i8rAmORiRU)fq;l-0G}R4?AnsUz`?y ze(O|a)^!}!y|SiLz3wo#Q&_l1#NC7hQrWL3s|t16^3xrV&Ll}Wr{iH2zxsPw3$0nJ zf0ZFdE~R+MT|)6t$;0Q#?w7UienD}Q zdX@f8;J0#OV(ab+gX+Nv`0xmQ&ZOaqivMg<@TLjln!CGw!dMes>d^@+nT~pH!pdfi zUP3U^k8DH1_=Hkm98*0PP5j?xWG=^3mvJN1!34;W%e4#5R%w9#j{u zrRO6az^C|fN`M?CfODlY2hXpSALC+NJ*ZwLJD2K&MMi`L)&@t0-{(!ro6;lWizmU~ zXHcfdo=(3LkHhh@@r+-em{b^1J~PQQ#>0M|N-u7Ht5VA*RI95evV$tUmU%`(y|I>M zysoa8RJ=o@UYmrP*BFE8Suk~V`6`$nQJ1cb7=Mu>EcqlwSbm)O$U22lPXMdnmeO}gz=OVC2>t)GSMlGHzBJYODwUf|zn4zJ z@61CRAWT@V){h<0Krql5R=2K4@6k*TcgASa9SdIM9W=M0j-KEEX$q@5*Q1L(OKO3R z`_?O0$uFrfPJBd;=iVewPSv|h;H#_Fr@Jvjz5ZBOUAsPf0%iCxN9{Ik6?$y_D*S#5 zD#_>3W~yvnz8fkQ@28S>Woo8_c3B{P9pyh&C_jvH!>hZ5DHIQ=PgY;#}vh-1C%E;%}GXclz%* z(_cpYDokM@I~2a7jKaMaK+*rVRt5HljSJoYi!|CgV@&fKqzz8c$Bo8NP!_u|l; zPfy^$K@7<$F8q+yJsZ(p8J%4Z91IL%4Oo8Q-FZ$Mupstdwv8&W=2 zUu;-#Ks~mR_1z=CI(K7u?4P=boKATJGkaM1>+KvqG}4LqdtqaaV16nQA6|w2)U%V2 z0`WbdU03@?*hd#0_2b4g`t4iLhWUNUy1$r=M(PK0E~g#MK0&cTkKhbMOojM~$($`H zDardfQf78yn*5o`Fq)-^OkYY_Hgy>+DB}f6U3y2wC&eabEFGCYPS$(0{9)5)OlLxv`G_vnLzXxNR!!;mK_(Guf0l7i@yPZvTRV@zbfyCZC~}t#inhG24Y=!fzA}ApKe-kDuOGCQRYgL*#q`YDJ6 znrj?Xznr3+Mk!Q(-Q0KN2U}~5U*5>orK8pJ&3Iy)LFVR$*13+rXZKSj#xx>L~jIWv4jBM+NKQiQcK$+KJbW5TloFr4x7Q zR)ql2{@n#Zy+%Pn8&!AVV^yvB1sQ#-HyO}&259TEw}x$zH(H{o+32f>zv^MPDH0ok z0aR~jLa3H&Yrvk&wyD7|guksR2*zSbeNdgZb-y&!#u7PC>|VSzW}s{di(2xEt<@xt zx_MnM)qAI{SEa7spjw@|VU4NRL9%wt)EnC%zP~{WU7k-ryv5it(4DU*)RWs3 z8t;{*r+R)HQ){N)-9~RDZtjf?#HQ)F6toTM>}}!6t0<+vqm(X3C#S80UdZZQ$VHYb zpGUXRNuAiXkkr&k;2Zf%WOi!qbwXj!A*$LMOG4F9Lg71vAM0pTFRLH6H4Y zYkQ;_QV1<=3`KfTunWCqtk>iH-QqUUTG5T$=hHxWmrA8Lm{ehr1wA zrapnzQ)f5tS1;~>h}1bXcOLaT(_d0VW{_X=&0dh+2F>SJ9#4F`qi*;twaB0v*%6ui zN?k|j9-z#vM0LlgkoMBIQ}^wJ*Dyo4!hfv#QG488ADRj~jSF^C<5g0| z@;zoeP)j2=R90W^NO6vi@lJ(!QBUlIY_NiAyX1$uFM9_yo=IKvrOrkFsH|(CC!+hY z7>!_0ITe{Rcj3(r*rFcOONL0%^LF7su|r;()UdjE7tFgE`|pF2h7t)SlCea>S!3Xo zUGjCAx?&fk-v<~=spKb=iunwRgCw0H|4^*t5Ra4gkGpp17k&F%QO>zm&;=!|9^VzY zShqPkuRgsi@<10(hhQZf`@$E-76p6zaNZ$Aec8awMe5Ss;D~SevmCy@4Ey33>T;VGRLgeLZ_kIiW)H+rgBd+1b?NS?5KgDcA(zsL_apfs z`7(V;{hqqGriu#voZTsd8i|QIqpBevo05bD4Z)aSy^c=V!tTEL9o?2}U^O{P1DX8O z?gf{P-ZVFG^?4_`lTEsx-CdklZ=<`2c86Qr1N-`CFIa%;IMm9|F(U^K>n>SMK9h4l zO+C4r&f)o{|Ek^doi6JA(K`&5-q-GVU#P41KxBQp0irDZN9sP2MU*k57eW0Ddi0&@ zdn4k*>a@Mu7SZ!>;xYDbRD6pvarRzF!S^<%l+k&U`Ysd?ruw=>H-siJ-q=gKI$r%@ z^)8%Ce@qox{O`DVPIr}p1N7b`mjRvOX{f25@@T8=YSf7ctEC=l`p@3Zt6txsO5MJ5 z^{66@A|8%nh`L_C>|?|`ay3lONFKp3-qxA?E}B3{ ze*vv!;ugE{VB?IAs2(8?sz)1J(T28mpc6-4eNtOarW0R~^UdgX`&$E@6yAR}9u}E{ z2@T9<{s?W!<=T-qNLyGX_r_%7-f#{K!^`;VJ^1?2-ZcBFZr!`euO5Srgr4Qhz%(%p(4dg@hi@lrFb9+x$AMA~}_3O97=s3x%bvN>A z-TWAO<-gqrPYe6ijr*Xjr!H^yGBmaoGGF`E-gE4`seZjr=lr0$eII^)-P?#{Vm&++ zr$di9fqnWTG{iyB)f4-`*7K>Ons}W;nz~pw^Z1)XbHlzAnp^i(W!10@e_pY#j$xWb zr@?)4-zIhEzIfY)ecd)3B^8z47aq~WNcGOXh($e1n$dIcdJ_{&{(E2Es5_`m*$=V* z2U_*b{6hQWXpx_utAlDUCFP=mc%)*#VPOA=iN#k zK*gfa89}|$sctv`hA@;xqFqWxGe|lz+TB4Xdfz;N5~3e}{RR56SRl}IRr7JYIix;1 zK)M}yAB;d#=C5Q;@^bo}eu}0=a!*j?_#OAta#vLW^{CPY#l(4Oy`xcVU8+~o+Eg$FYrr1!E?jtW&=S+pq&!jw*`keg5**?%gPn~1SIEE-6 zPt{31Gt}Q3>Tbd-$^PNR>I)c4oleFwA5*a78A{gdo!dHk)GgEC-8(dYwi)=rX~=JA zf{YwTDRIX%o2-oAR8cAZn7Lp`jnpGJw>rk*92?xs2}Y4W@^ zhOXx~&M@de06Mz$62`E)r3t?Mwax=ND<;zvitL*d1^G-fRZmY2t52J(kEzqRtqCFj zp1KY2i2AlE(s6t*=M0WvD(F{FS7pWbI=5hge0yd_fmgB5X(vq*q0t8)d}h{oMVr*p*M*^<;rWj z)*=OVv;AZc1A!&DwwD?^%5@^El|089IyWU}3>YAKNIz-0~T! z9Jf9Ay_|X4)U5|qsq8_uDmw#FdJX04#FzT_b5uGKIzy!~$HGn2)6LXGz0i!*=LJVh zW3kHnTIH|J)D++2uTsBhuFF?=_cqr{w5+_=|6_9l`CqpmDDOS$@#ZG=YV&mUw`R0_ zpXf>L_@!u?X-uik+|L*js*z?igXqx@MEq*m!A1`nTddzb7?W7LAu!3)$+P}mywHcG zOw=V8%;e=71nCmI9hduu?v?1@as1|hJv5Vo{20_TS|y!Vc}=UlH52VMCcbdbMFX8u zr@3Es&&($E)XeGXy_slepP}Y9^)UU;QPC`u4aMiSuU*(90_S(kk&oR7DMSh5W5O)b2JmM~rE2j1XJ$ou*e> z>WpP@wY;TCebzEvoqh;n=5p!_QG{PPGjCMoW{!IcwYs|Hu&xN(tu8*KAM5-1B^;GG zL{0Rni?^v#=X@3SRuTy8k<<~JtEzdkplP~t&!b@jcw(-6K z?eWuS%SsxXUa&pGvfV{3pFMgr?#S%oTTJYGW={=Z@fTAL{6;A4SyxxgHg%s?#paW< z0?2J2=)B`m%K~-W`>k(|;!VpijXNJY6#K{Y0)x79mh2!`j~$AP{pxlI^kuKnYLg|* ze)ZL%qxOXP)pszHg&D-?D)6{h{cxzU$z_~-cyDMeFaQ4SZQ@7juZ`uA<+ zix>t>-|Iqdydiu>al<=qFX_dln-ebdC4d0q$EGhfddvjD-v3slk+4N)J%lBz~r@}g5as5Y6U-ad4WI^{5Q*&zkUK+)89;?n(fOe4!%C-uEX)|&t$tkfruA2sZ$k< z_G5cMr+VP<-d?OdcZRGMJq1IV=g4De>_NcP4DMynI;`484yOxQqOveVd+;&fN54{? zIu|CFllkoHWS)DIp)U2uxdTx=+pE21wd?V@cxjavTT}OM;gEg3DhHcV59%P@N52#I z;Q0&P=R5ZZbj)zI%|%DRl|LZ3>hdEn45oElb;c1r9sNtxO;AcdO5RBR<|htZi9&Bh zt0(X^`H24d>%!ONFpSbkgAFYBsArDgo(D%_7Df^eY9p5vjGTKUs`Pv4YvKv|9lxfa zcGHpYrFQPxBZqrC)$P!mNRYaE1b?RPAOo2*3kH^xhTABzI#Hz~Xq`(`_DJz^j*OfJ z&FUZcD{~_m&ixx<7WGT#LH&A4WZfL7bLSN-xoVzh`aLvdzN3ix1OCe1r!Bd#;Dfj3 z$%bI{(md)^zc&vnjw*Kqozcg5fcjzTq9bE8R(|2g6R`XpR9}(1zo2x9Keah$xGr`5 zQHb>)X-rt~#4ShBwJ=@k0jMROfL4{pU)e9I*O~qTT+o_@LOe-!X5P%(`A>YzTtP`+ z(DXo|l@wx(8SyI-B+K!=Eoey;iX zDP>LSg`->4n@7_j7Mku;D~?vqo<7`urS3X98l{Z&DH(X048$MP#{L99VW%DKiBXpv zvj81yH15Y>xlUbk4BUE{qWebtmAPIAHE9Xzvrx!gN-@RB_Tn*x(0u^4?1dDnPw-dr zAu^u4P5-`E|GtxcXVNe|L2u($@nbtN*6dejA4{p1I96Z8bIGwf-L5=#u%mk*q^>zu zRp|9oWP&3WMh1fFl%tTIryUdN?u)5MkKts!@mRR63qIa&4yxCV#VuGxO8LK`E&is? z`R`E1#cW=vUtNoZAZ#L3Hw6*6S4lMqtFRGosYxT>ULb&)NiX$ zAI;lE>o&9Z?%95^BS#HB*S$5rAMRIbgBD+z_nZdt!Sw{a$mB%NhCZyKNRi?|cWr?z6 zdAgEB)|o1UEoIrVR9UhtT|pw}NI4VbNtjMKvt^z*q?9x6Oe3bUPG7t%jz~sKMLb!j zCysPNluS;-MAjL1q>zH`zO*xvaYPbjkrcw{i*J;6`Y66AKHJ^CRC&(fqhPsnYiFG8 z?sgCULpAQmRC=}yXtbt1Z5?tq*AN|a?B_#+E{C!A@AFHs(Mx*>aza1^}} zUt(e)UgpV7NSDPO$O-t>j!1XA+mjCD5)WyHFFfufenFyNNOqP2BI|ECN_%{0hX>&~ zAN-GO6$zx^nx{QC(dWxe@*tTUo`fS&=0e`in{H1|z-Ny;5Fl3&)ZCrPB`!}?F7Rc0bd}# zR;oM_$T*Oon*+nX)u;L?nO+jynR0vUZ;@vle_2hdaK^ zL{A2$VLdVf;wg|s0q|wZA_-)dxYLtF9>NDtvOMiXWFqC-0|-MIqO&aPgkPWy-+eyB z9D?XZinb$~;SCrsL%IYqYo+lSQPJKWMIpD}+R`m@4o;bBi5o}aV&F2X6{Ug1ET)qe>l_ankLh&SdrDgyX`06HWE|us)H%%9m#gi|2+tAD3IAL;aW3n>O4xNC^LxU91oL;osL{21 zt~qRf;zs5$cezU@R3cGMOF8#ECb$km)MLjNjp0Mxttp8f!fbjid zJ}F#%xa7Y(S^v>svR~cH{Fbm=c-OhCp8k;4TZD6ExQiG+7l0{0`O29)ju87NGG8nl zUypg-k*x07kl8=r&&I4gXnp+1xK-zA(9epxsp?C4_q<1MUz zM`6z)%=3g3hcaI(>}z9QDy)uV{z^D4yk|(_XCA8`EF2IH3#Wun7tRP@FPsy8QrLAA z+xLO6M_4Uj_X5IOfhm1c!uuHNN3;34hPv=Q!dc-rgk8t5{!JFLeLmpZx2U-0#VW04e!V%#E@h~*`-_y?eUlMK?UW^B$Nj)LF-4f=s@LR$; z;l6Hhzk}_&P}nE@sBlC$C!7@CzlY6dgwGLH^Vz<8gx$is^|F4S@a@78;p#qCPYORS zoDq&iSY36p{W~1T>=8~0r-fe@&IvpFS--oB&3lCd!ao;|3qLQM68=^=BU}>||Ag4S zp9*_~KN4;iJ~YPq6T-g|P6>Z4oWx!4^mFw9>u+DkJZ(_?zleFA{`tFw;E>ss+;*lVP6mPBVb*B3y+9;Qn>vDG2hGj-xiMaGjDz(tEYtD z70wAidJ?O*53&B*pE4(eZxW6Si+w*6_fBAb5KR8_2>)Hw11GV1`_ILG;TMJZeOINX z#aTTi>Sqh{yR1rmE6ne+D%Eu|>-XvRS}|>N3UfsGF5#r`si(4fM!5AfX7w}n-}hkh zzgzh7U$A;W_?Xj~s02w&J_DjV}4aQE<6Pfuj~3zc)4&+ z_$oZePU?YQuzANXMZfUd!tP(PdgVE+uFhe8Uf3u6xp2Giq;pw+LihmTwD5f4tnj76 z?sM7x2ZVjXZwp6+*Ex^vPYUlNoDn`tSe?iAy)Nt#cAU@V1Hz{ZCxl-VP6_`c!TPhp zAz^hs+kd98NBCahcHxQ(BtC@Ogww)570wDLg;6@DIWf;g$;}K7_9j&Imst zoD+Uu*nI)pKj9*Y58+zjxNw(nO88FUtgyP6&ATpS`*s!f2+t5s2_Gw*6~0ASUBu=; z5Do}$@+&S+abd5p`(oCAFqralyKuK~QuuemDdG2o)51GkBL4ps+jqTiK=?c1xbVzN zS$|Ua6=ByUY<~UASlx3e^AW=B!jB2NFJtuym$Uwqa2QPWNBVMBKVR5=1@l^0uzL1N z=9`2)S2K?Yr-ZlsHS2dJS^Xg4i11~?scTvNSwsJI%==x*=94!t-zOZumH7=}*YBC@ zuVVcX;dWv7ZLEHlaQp4dw+W|(UpDloSiSr=5?RI9Va^~%?6aT-({ETqw zZRSm`XZ7qm%#FgncbSh7P72>79C%;s6HW^se}lNUg4K8Vo!I{&^V`Ci&zR}KUMdgq z&zbKMPJYe&rlI}~^X@mX{`P+{e<$oy6BYe5-OTFB!F;x`M;>~ARX8i$ehce&SFrv+ z3%6G??{O=uyVhmCLpbeXp8R`OPi?^5DD2*lc|Mrxuefl+&@X(SsJCy#`d=1K2&>!J zd|G%9VISTQqMsSUIpG1}$YfT(MmQ<_C*h3n*TQNO*1z5DQojiwC)_Ulh;Tyqufi$e zLsD!$EBuhKYg4wr;tp2#3HO01{d2;<6>gux`ZL0*pD_PusBgi%$DM56vla7@aAa%d z2Zd8^X7vZw@7{)ans7w;r@}emUkj^kS^rYuxbT#_*uISL;ll0Pv;N2edRhHkFu9iz ze$-H}V)fnbWBnQ7L19(R>RB+EPYLgKKXagl)n|bz{3+pQgmc2XKEUdpTGoF9nCwgL z&HS!#PI%ITtnS*M)%O=p3HJ%-gfA1$_*nmQ!oI1@j)&O3jBu@RVj8P2GPsHP4B@nJ zR=C~I>Kpx$?Q1`fd9JWJi1|WcpYR*P5#c=^X7h<=)_*pb;xBVB^WTKkOy>GWB>sf2 z1XKJagkKX*2~SS5y03-JA0wO;zDzhL{JL=J5Z1r>qhfwG^E_d9fcbpk)S=9;3%lBw zw|b1tXN0?i<8xU3Y%qn_cNlY4I3m2mM7y#g%d$m5Byo&Z)d(-I3ry4B&)kRS^XekpYV0UapBK}Q^J9#*u3gu z^Un)s7BSa9&FYCT^OeFWVaGG9?pe(0e-Tay`=4d?obZjpfhDYeo#$9RC0sA;>1Opo zLtXfG;dl?LFE`YMH-Db(%L=y&dwN;_J;Dj$&6kS*gnugR?qmIr3%3hbzrgwv!uJZN zg*_RuPk30^6=D0H5Dp0M{37d*3!fvL7JfxIE4=ngV!!Ya!tUeP{_BN(!dt)0`jf)L z!WrR5g|osty~6rk{cPXK!U5r&a9p_mRo0&tendDYyv}Q4UzF|Z7Y+!2E*uyB+3RAT z@Z-W6;r3->UySX0UpOM%`Ua~fg&!5p3V$n{6FzP^muL47+c))1sc(cQza{D?v3f|@ zBm9`K@29MO=G&}4Dct&w@X4%xm2g)08$WQDI{_1*u%oD;qTO!Zg$ zwXFW5sJpIX-uFFL4+vikUaw54z>Tbar*N0>pM@_IUM_sA@E5`#3p?Lu`@R$2M0ny& zZ2zvpn+fkPyt8ntaD(sy;Tggw2p=JQp70{!YlKe{zDM{R;b(-e6n;lICH$4}6T%Zd z;PAX6JVp3p;XQ@F6P_kK@n#P1;li54}`PA6F!1{Yb*7g@E*ed6rLljzGU})DLhg59$}a8r^M@Eeph(ikA=Tt z^E(PR2=6QG6Fy3KhVYPZK=>lzBZPl1+%Eiva74KLuk3#09}^MjO4S?u1M{)ML&B#B z$AzyJ&ItcWc$x4D;jHk4PuRVWg?AUu2_Gu_o$v|5>PPm^uMPdqwX}a9H}ngCXy`9v zb?2w--cUL7_QG-DX5ll12ZR&CN#UgMqlWr*+i3USH`IkU_>A34-pJ}z2H(ouA^f$l z6Sl1HK!0?LN^Rec!V%$vHDkSOGKYUy*d=_ka6lN%0qn#2naro{0K16;!V%&0XBE(i z{VT#s_*-GO>=)P@9whTFnU6c!V42UmSJ*A{e_sgaDko_Be^SQgvy+*dgYbS@z=@xjBr}kvkpSANIiW5t3N3mKZgA`6Q4=lBmLtCg;TPAH67Zt zd0FpxLO3PsS^Fc~l6pe;UW0?|o_7+f2c&;}t8iM}+jVVGA7KAHF04eo8g&ubpOXH; z?}QWLpLGzIq^^3{y^Dk+;$G!?tnQNdI88Vq{7>Q3scin-^;v(raHWem(ZT*ZMK~_& zfsY6$CH_Z*+a-Q?-GIzvd@lQ+rVFuCl}p~Hpad$a!Ig)^f6Vqv$a-(i@S_*p9K6ZKDp+b8SbtICbpeK+3! zrl0ME)z<9ZRAC>?(N9n~E9r5PaP9_<-&=&^U$FjXgww+uzRwKvId*R^_=D0rH;LUl zh8TI$CFOfq)UzkC`Ada8r!wCyoRa;4D}>{lu={0@DZd9~f8LIo;hxwxUASG+BP<*d z|J^K{UYq^*s<3ArX0<8%-_^#vwQz(g3jFLRti-=Z3%kX?Ckp4pe^(e>#^yg0&Psj0 z;b!b!`ABYC?4DcHcMd=Vv-`*7cslD005ySjtT;8|;3ESU}J^u95BAoh~`D{b|M>gNEh3G$k-JeHHT@P{Z zL{U#l_T?*`$7`0qtwx48F>prH+93STz>XJTp38!Sg+MB|G zuh8+p&rh}$`@Z4yZW4A$e&{vSw`2Qn6As+s)aJhwPDuXWZacP5NqAd@+a-QZ6po00 z|16vo|5k3#=997?)gzoboZUas;1k)uw+g4Fe7q*Cyj&k{y#w19k?@6ueKA)5jc~k? z`4!=S)K`uj*}U&Tc5iRtoaCQAgYRYa>x2`(W?n9wl=8pfPHdlB%pW7H{-&c-T`nA# z_SH5qn+7&>UFmNFkvP2!3Dxu$sc9AuzpW%rFLLv;cN|ai*US(IVK#D_Aeov zsAKh8h10S>_bFkuC#%0F92a)%D&bwu{@+sAC+7DRPS>;fV})J9KQ+wn!Ri+YCwFJQ z$uKYch+$s%RpErR|DOs6#6HJvmwI8}*33c8*nfL2yLXzX=X|VwqpjGAPMmTXFb7d{t=aT$|n*eqBa7p-Z ze~jj|v|mRGXQccbC+w5{##zMcqWs>Ch891+5%svVCwB>FCu?Q(ys%sB|3Emh57!rK z)v^0-;cbPL@IJx;;W@%S;U3NC@2}wS-YD#m_+B9#k@WV|vwMO4+5KaLefu(>AewJ{qGAa;eQL~r2d@TK<;BcK>GJb2xmWK|6eJbl=1De!nut(y}vii zFJb@28ri;#?AQH7SjqT*?%u5KlkxmA%_vXO9)3eSF^+39dHmk75A$X+AN!(kR@67! z7wYA4^}Wpho+g|S{#tmx%m?qYAGweDWmyk6N;oBaqHz2p4&POV`d^tJH~3@bkA$=L zG5;W(et>z({_LLbedfJ|10OOUW2nn`FK+PXtbVa@_EYA2g;QH_d_O~s{J)vBUmqCi zSF!#d4fB^XZ+-y#r~OLidSTbEndb_-Utk^-PG^~~6iz-pqW4urI*;J41gf^NYf{natk^yN_jF z-!Jhqmw6}QPnh2lc8mFM4gH%a z{j_3;N?;)&&X9x%6JX#p+P|C@smHN4j&u4}f{`uI(>L6`CuRg`bbvB-9h@)DTq5D?u7UQ#9a_~L)-&#FT{Ni4?+A9;$etKAkq+zLOcfX z1jLgNPeD8l@eIUs5YIy_g?IrX1MwonOAs$ZyaMqm#A^_*L(m%X8xYGO-h_Ay;%$g` zAl`+@Li`2dJ&5-qK7d#O@gc-V5FbPQ72*?!Pa!^o_#EO3h`&MPAijj4DdWFGd=2pp z#6KXuh4>EQpAi3o_#Wcl5F-#jK>P@y%2DPZoDgLYVZW;N}9N$Jf{|V}UhFBBdrQ`em>*e@+Da-32osIImBmUkK;y)?Z zRA%YNP0xy(?h>SX%|<_XZPi0hjTF^m+*IhX-i2v>&bb;FiQ%?NSUE23wfY{i|HOdt z>U3!rR(8>-*Y-U3|6r5-Rqg-Ysv3Qb{8$mUvS1lcTUQ6ii2apWl7C!P~`Iz#>XJp?1OdaaqYq<-V6cC(`< z&8y-fTm51=?jzNnq~}Fy@T{KU>1lXwtYpwuiR&wQP<}NAeC2P;uSUm5-Sz9OrOQL- z>w9g(y0#k;6p#A#^>WB<4dSZJ=~do^ zxJNTIgr^xh(bVU&yxi4qEvTzA(^u&t$4MRQ3+m2EHy%{u!YA+2uf~Y4s_PGR4x>X6 z#FL0p{tB@%|NqKmYbRh8r+s~-FEY@Ls@-_jN{X6}_tja_sv788YRY+>;0yY3r*k36 zS7)HBy+xds7xjXXzCLTN{oxbDEi0O&G| zYS8d(FrK9K2j&E4&%x8Lt1ql(Z%E~-on4)2id*#Y_H*Abhuzv;^7{u7=+ziti{tqa zuVzP!KN(TgfX7FI^b#WOvd1gw3p#N{ek_Pb1WyR{OuQN+qPU-`;idl@m+Pgz zEm@sZHQ<#VsSovILDTtl>N))#;aIeWngx2ct$0}(+i)GfNMEwoXuSL2^>iM0SZ{ZD zNvM0+Z)xl4sqSV>g3!xi))0^iMg;UkA-(-%@?MqS{BW67iR@~XH^XhF%&#}nyEyb* zso7Rir-zruczbuWfhew0FKNK;0J>YDUVdyO{}zqK2PO@5Q#(6D5qfQ|qz>Z^8=J38 zmNa?CFyBOv>6Eg3`dB8X+fCw?re<8o@9*#L>qlNfrY-GhKdbc+BehF=!*y zqqX5V&M3xQvj%$b>_-u2L>;L~@2y(BVR+K~^q)D}3VAZhZ$Ot$Pm}Ztm&#q9u;t#~=nNX9jp`no2O&$8>L`$$6 z3c*^4LHuAigvW=A)~n&6VN-!cRY|%`RkAi}aXT7BOwI4>=8Etjyc1+8x(!i&3JbZS zbBTU76Z^_cesAQ!p>l#9#_M{P(Ai%=rw8PVv>SG9^mw+Bhb#_KPQx&k3p=~ckx}9q zdP@duEW{+gajpC5MWYfQt7`GWRKdi2OhgA^fJ!&KrlXc^iQ-jiWa%iXOZw{JuX5dOBNAQ%INdP_stn9o_%BI7YEbPud~t8sMlSgPJC z4?4$f^5Pd49($px@>t4l7mo&tL_KRPbR||6_oh^1qo&3b*@;#-1}$qGqjX6{LQz_> z-DN{jJk%Fz?u`t@_#tuY2&T$YNJLXi7B527BhiW0R!tQ`jU~})DADj8!jEw!RL!NK z%3~zQl5nJLV7`93$x>dbyp}#-Q$Lcmv%@+GR^_Dx>4>4kEedvpb&4o;)_4fa z#I%(;p0&|VX@T@JVBy{YMD*w=L@=!*9(FcwmL?bU%j;TW0I!)BNXM>XS%OvBXbRA>cCq9pyri&wtY0HAlS3 zP=5#yccDTWqczaUZm<1KQCMTiJJkgbNlKtS3r8^+p?EfREybV3W51;JW`A%(O9)n# z{rSqWYoI4W&xOS>^bL2SsUl2V7tojB5 zGZ&fj2z8jbJwC9nfA)d}c;YeC8jALH4^oXgtoxBQ`QFH=zGM~msEs;=n(J{?B-Z+& zh!ylKv{C8nSQyJhcNj0(g}P=B#89IbYl`af9YJ~?vjf#e@g5i(9=>LNL%M3>Cg@YpTV zexxTX3vE|vi!7eEcOtcy2BIieTq1SGqiF96sN7@EJ~g`2ZO;)>E`!B#2Fkwq@?(17J5D7*)u|7=`H9@SH_J>1gK#O(&^kfgs z`4pWKX|=?(ys7Q2Y7KP`avO&!hQMG^O*EfLQ@+rrv$(nWHY}ojKfUNiOry;zG^Bwq zVy0{%`uO?x;_g7LbFhRTYV?$|ZN^#bEHc$BDwzAxo+{y)`WYQjJvCD#K=rL?-&;G- z@huuB4W!)M6Y2K120DvIt=4f^WDaJq2F)2&yoTxT;$MsS1uFr?^jc@S#a`RwxbfAd zcaH90)wOh>DnozL;%4Xk;QW|nkW`0Hy#qbw#<#936zd3gdmHofSUhE`qr_ree}t!< z%^&OAhNHBiM3eKDHq20Hr069b)@e9H*|v6&|7;CqJ-n@l{HAQ!02lQlo5flBs<+}< zzZ!iSucxW62OXeMd8M#})I<4GX2^z-^-(~1_u-u3h-Ct&w2_{1nbDmA|4`T(Zv|Vu zO&Epr>mWvH7X>CiOuJ^PQ6QoNJt5wBXiiYO4Q=}M?Go`()ihvQH_=tOIga!3R>c`? zZeRZr%q&{6S;4(3?$d}Sb2cgHsh&=21_PlneT79C^TH!4X!Dv)!LpjEol9U5rZo{w z7{?cPl6vI&IrGr;P%^~_LzZ>YNoGr0cY;?~u%b<^>Lxzzu~lekXX z$JvjwLUDKNbm2yyJzvC2Wv!w*i^nKyMN8RDD}mBt7A-|Zbr!c2En06EEL>^suGc}w z$QY5?(XE$8i-)~|i?F4PmMF+*@p}3OLrwi1(M9Z!Qstq+Qc|bVkg-IPYn^R<0~p3* zMV0r4mGEd=q~rKrE?}JLtZhdj8#OlfV*J+KJr0j@9iAVX>-qNLJ{`xzZr%r&BGnDA ztyU-=tyLb*r8*8M*Kf^MOz5?Rf>(-{ z!YYey9fsyusK+lmYiaouD-?zA#j<|Yc%};r(TaJ)4_KvdCRsX>S+3V2M_N+Kf=&O6!6qTL4W8Rv#A>Y(X?B*i5tq+L}0)qt5*HzwG+kh#?qDi-EgIIhktJk}TmL3Lr zX-3c*T4UOyIeIt-FEZyjr#XN6bk%yV$ceDk=ho=0eNG}LAOHV}>B5D@vNl+9hCo(>u=noJp=g7XI! zEC^B8#t3By^HtbpO4fyG&suS%o{s({rByKBZ1$qbN-{?)cl|WQYjJX6WPm2R^~?!& z;H*R$8;AO_@Ksb7cjE0Sq&=Y>F{zJX4IQ9FeA9TKm@6jbF)WE;Zl{=O`o0ol*v-{z z&V70RvsoyPVZjO5{l!Nwi@9D<3K)|SpsI&4KUbUxfrE8#{D<~2|s>0YBflFe#`=o+6cowrAoFpG^;AC%J3h54s=y7C2L44cN*(}}6xQB6gu;-SCW zT1j1pX@z3ds#X~6=pL|SD=J)LwTTPD*nCV2oR(IMzhXsW&}^A*eW>Lx(tW_dLmx@v z*2z+KXnRpiFMQb>mFS{@SQnP@^9L79ajRQ7T7?yhO-k@9me}bytIadB+Gw_7DAYL+ zBQMek5*RzI7YE|Hf>{5?3JiGOthQKnFzEGqV~g^878;}7p-_ZYob^muuvhW338 zT?74k_Op2iL+@JscXLa(*AL+_elT|T`%MiB6}~JSkj5Yy>w+~A=_aL^vhOp=;Fu$)a7R96q+~}B(#VAPnG#unu zAC{`~8yE2>vOIoAu_#F)rkaU*6edqbLpvYJgBLau4K1ebE?KZU8KR zq34d85r0R}?9fyOLl~~m$Ns*BdEGRf*cU<2$qv&lHicY=il#T#huG17Mq<pKW4PqnVu3#^$=4i!z5QrrDP1h4B^o=Mb>30li0iWb! zAlhrB2z??iM)Mym$$&hggGMq14Kh+z%e{s|uki)>1!)l-rbRr&6a5kEo8(UOz?>sZ(`?Z?wL{pqZ&re?Fn}x>qbM(0b{Hy%a^mz z3)A!CE%QBoKPuFYu4xUup(>9Dm9L)`*{h`2*4K}+=hq(lZ>+AO>$tG%D1<9XIu~KI z7YZI9>R4iOtQ9-m@qe_N)>G9j)%H^ayn7t>8rwd#6|^%Asem2h!2#ZcCOgYpyn5GK zI69RNirIEMwebFHF&abP1josG(0oh1&r_-`UcIjjH$C7mCGGf|qqi=}c6D|Z2g9k+ zM>S`eMsDFPY4#midJ`Cx6y7?=UJi%Nixw?a_N`!gza0W@+H+_RPL1BEZ+Feu|5bF` zoq0=6OO1VxpWd!#Hs3bd*A{Q<*)-jCp`2!$0QcIDD?(kbYSAqNc|)Ae=TMz`a`BXIe&C+G!;#2!168_ImE+dld5lHhe+{~6E5y} zxP;>+iZ%yfoJH91BOOe&L^Ln7NEe7}j^-hMlh+g}yrw8xxD)5CHhOVr2cxlq=4QI> zWUMZp?%AQ|R~@u=`tZFaj4H`LCrIn6Rl#Olt1-umRUDlF5(h^2%cJKUB4`F;+C}u* zO#Ly`V`F=QyP4W6es3MmUxaD03>#897ZpMyRe;s;m4&WWcQ!^@VvXYY)+pwi3anZd zTeX-Mvh52z=A{ypC$2--Htr!?(vy>%bA;Wdl`R$JZD-@-Uz*Dsv<7n68c6eoi1FKP zD~bPUm{wxk9Jw~FbzB=EZ2D}9ANvi)XfTJ07ke586>D`lhQ$eSm^%76r$K$sV1D>u zE+F=Lj@=w*CBaEkVh~rz(8ULCx-<<^*&RL7n-fG~whZXTHy9*4%~`iO%ymTTOv|cn zOBL*p&knUn;L-@FEvLq&{b}xF`2nA zwb1#PfU#O7J+GG9rpQ1ub|f#hmSEEgmUS;)j4F<*0;udfwsFu#VZwE zJ(pG5a4K86@`YLQy{(JTQ@ps+Ucu7E)v`x*RBHU^=~`7y>qlL@B?fCF-B_&9JMEe= z=VID}Vc#q}`pPkX_4Yvz4Ao(p#=NtZP6tED>-YEIPn}=PxxLDBAo?>?qZki`F>>xY zM9(1ejE<>hG#U9niURY#p|L`r*Ee>+|BpgZHO9`b(V=P`Dx_*jlL%*9VV2tYub*8^m_gM;94YuB6m8=sp2w2mLHpl$cJsm?P^A=a_x)+bB zyHQ5HQHiT1z$LAHvz~vHG$WM|;AB@Ecv(|Gsub>GtbU zyuJ(@_m0x!Ve`R8SGtB!mtEu~bG43k4%L8GX$m&CP1iZbGWfTr26A4pwBwvq=tWk| zrQ^)9gS)vE^$*%I%YI7p?n|AU{r>sX7#SP4idW8yTjrz2YFrS)>?2*AP>4kT;u2|X zG=Hd3X$r-@cgj$f15Ei7OC^pd>4Qt=+ZZfomXHkS5h5QTLHMMLth2{_7C_vFT8^328**avO5>_D}hKFzldL_wV zzSN=Ka;ZbT`BI0*ATHtXTdtVG+!XsEx(e=;!OWo%Kd^3$vvuRSpT?s%3F<3j@8nii{Lg$$hR9JqYcgYxx8-gZI$GF7x+&T%xwN)9%4a3S zUdzU1OwBc6JfxQo#&*zKm)EE-kh3}_)w0Zige?OPnb0dS6T|a4;~Zp3OjUc3?er9X z5C@k@MIBv>vCjvcQEZab>r~c>>S|BHLTvJj z1m%o;{;C5iyLDQ{aumL$+FLLvW;*HKqQWH!y42TL)T~x`8%>d+o#@BuN6SF1s=DBc z)}a@3=;9b##xt$7l0IEe6!Ugfoy|hy4h?eJdTbK;)#g8|-@K-@$a~8iUDh-)MRXT$ z2c}?HPGGcPl`x+Jq}|h+Old%gZ62VuR9U>iSFDX;)@Ilg9eP6DxS!4LtSy6iXeVB) zTy+rW#ywtioXDDVdVU)*80h1>)o1tO@arP~VoZcnd*Iaz)wD4Z_Z3+0uW0e=r38ec ztGWtm7JGS>K(EHMV33L!w3aaKtX3wogO<2rvt(~@YHQPsQC90a2Ex&na4go1JJ-6x z9lh2-c?-4|aXRm7QnUG5pZ_P9+0zzP>wLBCgafLRw*QB{w}Gzfy6!t4_(+2!BtsHq z!xk(-3fqt}TT=iiK`JN150C^YP=ZXzMq(z0D2Re6NP;Yg1{K7GQYNJww1cX2i#BWv z%WMWz*cr5oZK+$X3GK2IHeuH=F{fe2TrDB7UAzyEGOTc>)C(hHetVyD?mPFs`vB-O zo;9HTgnQ4~cb|Rs*?XU_|2=p2i+i8n+W%4L4Hz%7{?0O3u-FsiaH)C&o zeAL3y%qBpTQKbJ8ZOQ^geSGDqVb+zW1a>;nF8BKjqW9Up_1QR)AJ0B&ZKMOwu}6QZ z>Ew!x?PJ$bgEwDc=A~V^X|LpD`;(GM7rUBgkW26=AUW(bdk-(#6gQVYW_`)i7bo-S{d>tCNr2G9@Btz6B^wv%XUvtO?3hoS~dqTAx?b+dz6Mp#KE zDV}S0f-R#IU6z$-MwjEr*F-m!5cwl6$!~#pNoCuhY{k^bV>{#@^%y?-2t=9Xw@9>) zc^InpFvnHCPg+zPC*O~VsYVFiPqr{;!KcQZf29ZG#t?V|*x`2)GxSx7Xj_wdaK{zUKD==kfN*381^4+r~WRaRnp!O9e9;JWtH( zQv$D~V@iXw7!5Yw7n^p^s<>^B%kJ$=echuJ`G{;DHq3zhw#|1xFKlq+r&%`RYmNZY zy*8Rr@Z>1!6YV4Bf_(>+aetZyHu{S}jcaCBe;iT&2}bL=wDE>czCTdfNbQ?_G+it> zd<0YB(hv0sIFp@fZ@26dD3cw6kGag)NBI~YN97scDH$Pug+zUAy-HZSCa+p#IJV346t;R~j=*@s8M=hf13Zax%Vt9gQ_V zrou|JHdAN$vG~KLdt!SNzB9OHnA341*qpzA=JWX&n#C>He@x91^QK5cKU=O8o3vS1 zvK?gtx%%;Sb|vPU;`Axg=D4)+Vavz7lQ0*FXBw~Qydyo1S>^wKu{z~#sq6&oFV?7Z zm0|Y&;{gR52#m&HDLSBTri~Va=qKntV@=>?1sdp!!v(=!T8(T@=Lrc z_c4w(=i;**?lYA6qvTDemK$8^;&-5^+TV)5WEc)X@CC2KQ`7$V_VYb9ye#o+r2c z;;vnNFErG1xQm?NAg5ihX113P$Z;qPFPY(pbDodffpmwoko=2y$>QyxlA$Wlm{`g{PsZoXvV zlbfLPuC+fH^WU{jMr+>XOhPGUAy4iE#>i8~t@0{r*#Y3bUB`bjy{hfK1Fo-|$KFY&s+;8ljiPbweY&10x)-m>wBKtCH!j57iYxP) zqBV=z4@nZye2m4meTkQ1-ybKh4a#w{usz;c_lP(9@2n?H)vUCaCr`0GS#U4g?kp?E z>Krfp192-?l^JBf_WVja7v@EMpP4}hr;kF+YfJBkJn6zQ?kN?QQBm0{(B;O}_~E&g ztN9Evphmx3dqRQFC=Hy+NdZ2IIVm7r%P*A%%2~*hT8@#YX!)g?wER+1%O9Rwxtf>N zvS=&zmW(^9fR$qT&}np3f$3V^DFcZ(L;aOR~eY?VI03 zV?!_dN0RBTu(?%KwBJ zZ(Vp<9H6w1Y=7{P@_u++8@w~Zi>r@!J^#FXLMrwitJ+)Y`;eyYJL{p?AAdBRo8gycpELHCvG;Lh zJXHRK!hLKAr@d_}yAH*nfIWfXVYIi6^K2f~4->dCa4R!GMia43zw*Xn27ogdOR^g_ zfiU$gS&3lf_k9y_CFM2SZA3ZtmuHHDoQA?6s=nMBj5W>_nTf`8+(x(YKOUhI$PXi^ zoJ*3Zl?Ni9VI$lGNKRhc%PSoEjds3kuV(5Ujnl4zj8c?D5&(cUQP91 z9`;^^<*VR4vqnlYPuD9q-aeBZwMR5lQZ^^w;M0eocc^421+5Bl$QY_Gph&cz~tat^esOL^UtlO?u~OSD&ZWm}`6 zJ}y%EcH^7O`YkflCM=)eJEKOA@}?wW-tX?^<()^i?2)(S@P6~Lc3O<<#CyFDXmi+i zpzVj1wLKp&Z(MWCdGb}@`--+RyM|)c6SdDC5!Nq3R2);L*X3c;#S-O2NX}TFv%#jA zOxdDKzn;#^XWDcYP?F+F4fWB{o1N~P;d-!|)Trb=c{TLX@3qI=DpvD)t@&Qg50kg~ z;*ysk>jf6s{&{xSi?e)VR*I`n_o9SylrrW-k39PbpGKF%@W19xd9qq#RZKsCH-mcb zd1m+H^}Jon>7dxXfi=7CqrsS^p-Af9FU~aOGXyE6D&rAzt6r%q^Wk05&i$oIl~2OQ z>uq|xT`yAc$2p`~@np7KX@|`(CA7(Rk_~rz^h6(@+NHy?R*{tWeqr3n+G6ZP$a)IZ zug=SfpQ>+_H_36&9zI}7MT$(kfN&pC+rD`h*S_>#a*kM1ZeRWNrlC0DTADIR8lx;a zXTyvEMBeq+?s2XSs$WOe3Nf_gAPy=djb;orE#w-TaXp#3$4hf9OjsM|)c(--&QkO7 zw7k&>RWf8~-|DaYat3Q8mJS|RVAjK9Q#ywFMtd~NuE!sLVfQz+0!`++4`VBiTjGaJ z)Zgz+Mhc*x2c-me(OA-KUJ|=0@}X;w#b>_HE-!lX!Smf52iwJ9K@Rfe@FYHZBGzhD znl$8MWLpyvrP^h}CfDqJ{s~^1=hN9Q$RWB$WXmF9+tj7Wk;P0M3q+h`{xj_o?4^k{?B=8u30u-Fy%ZmU zHJOv7Y%c3s=8Te3r(?g-Uczl#p42<`i*zQk^-Gorwwq7U9X&ur1nj<3j&ETQ7 zk9DD4JGYWhKnMTSv*!FI6AR4rIqDE%QNj4UQ`L+XJDax1FX;o5{m6{U+mM`9mrpzk3W4k* zDrwR>VwQPdbP^d~2Y8kfY|5x?&n$LH@d!}VYwW!|PJ1gB^91FTDTE5lQVdS#RdCiL z&-|*UDO4u_WrSg}(Dk(GR_CnFhI>pspV&<&&-je0@_}ai2B{tFI~tRh5{8=3A`7_sU>j^vydmZ?_%Wf#bJdTs~eSj z<9SbV`|iVYD_8Tf3(}%3dlZ@7L8`Y0uP6$W0Q>wid%E`c2k#@cLbja31(YM(HTCx> zGDlAWo%v<2hI?%p(Q<#8avs%)<_gkfel6+VC-%s<8)Z^7hvJe8|EAefH!GyQKGbFf z$}vKh)wtGz|CA}oMUCXSakHLh=O4Y+_x!Hs=xE&-?LNJapIzsZvk3gWPpxaF5F( zx!)5sdI!uYizj;b%12aLbmEh$jLey03y{q0c{naKQH+UKrF13?B4*~`9XRMzXs0y0 z`Sz8Rk4-p*#PnIerl`+8KF1e(Att76ds?B4jTpoWS9&F^f$fD@Z9J`N1Ih7&i3faX z^jd{}aWmSD^J?&g!|*T-^Kl!>)=yNFuh^Pc#q?RelDdo8>)yw;I6k;0uckiBw?AZ4 zN)+V8sJCL6xYgKXV@k=Zqw?-znfRgzN*7-Ah0&5grhC!Jm;jH#EHGG zNoP0()Qci}o|7-d#cayAick&SvP z)y~SCS1%SaC#wSh6tS|MFmqbtG1jf$cd(LrrbVkn!>~3_^Cw0yZuh~IU8Z^F5Uyyg z)CO}eAltgVzmOGGtZe(47x~M5!p%lv7qcEHs$N3|pD^PP_7{1l|9MU~u>G^<#K$-O ziNl)h4#e%`bJy|i)^|Q7O-8dc_Fmtw*-jpDR!eV2|E?llr>gn(m|r>KH%{pFppndd z^5L|Yt;XWDUxVlwKAOB|ubHVkiQ*5X6~x&QF67u+#Gmno8BsySD3$g|eWQhMFf4n% zmo>)t0mF^{$rB&Eo9eyr{i5$l^Yzj%r?XZHH2JlPmBun{SjkF@iN zb@pxq8uN%?Z$Mh{|Javxwy*ITRl5&oY(-A-v99f7VqwQ?XU%3I_Q}1^Jo8fL-WT^g z!3^m@xOL9*o4u+(_y^O^b0q)5^kgC9e}GQzrG z;i;Ri%W125pI42kJKj+K@W!-<`Pj3WuUSioKkr+wKYTBJ+!;S34GqHO`80Z-qP+uxYzBcJvqYw&y5g04&J~)LonSA-=ZzXRqMs^kmjH0?lJH}t9>k{ zc`veh4?O|qhu&`Pg|G4AkIzTu=Nq8Gl%z3XL(07p|NOn)0?mGV$6qIA1r6CPKAFV$M5I_@BO(-VkzF7-kiE7Tkbn} zHXOuP*VA-v4k*Jw677?KWtZ>E%jn#^F8-maZCK3dZSJR2UPF&B79|HQ=9LetQx?>U zW?1&qRYs>XM-F4cvSKl_K1)4PDfd~JU(|3qX%t}oq0gQOYk4J!BNDAH#qywUAMnOoccB!o89I;Hr}L6eQ`~a*A!n} z^E!*Uz1K$po7ep6?iYH!elGTYuX#D~nYl>1Ti?{*{tPeW^OJuwN$tIGS1R=f|AKw& z#lp?8V*||FhI9V*=j?ShWl>LxY3ST$Yi?g^{NR-@zMYtA6H%#~pMQSlR+}>;U{vKk z^lHs$c4def7+THT=t)zxgG5`1jK!j3BA$71TioJPl_6FpufC?dU*uUn^DdQ9UK+N5mELL6xtjkLx!^4j=`my>!g0 zw6QJVk_ZKt(ieJ#S6n9)<<8W2nE6NSE9&t&71dpq^;{Zz4s2o)CIewvX-%j0KJ?&0 zm9~ku&5iS1qiIVMLKq1W8lZ`RaqZxFR3#pjE2Yi{mY?a~-=Jfce z4^jAl?XvqLW#;!RqJ}-7B=k$r3B!+>(uZ$w^cHhyQ?4B5paQv1R{M*AE{M<4_@ymE zg`~OZL1U%5e$+`K_hw)rD<_IVEOW3y+!|-{UMaau1c)>FkS3iRhZOs8DsB{QlRiid zKS1b?34rF40*YcjPz+D)rHiG-+z#60uxW1gU2M|Xii-uz4_aJWXP-J`N?BTHZ07Ar zIgsSh-k#mheQcjpNGbWFI9)Y%@^XE{6TBeJw6pW^z0dS)<7@Gq#d%+S^D`W~ptI6G zIe(2$*vG5BSwA1oLruJV;uFgmzKwsWlNrOadK!nul#i)CB}agMf^~8)BbV11cp>l8 zb4m3*+=`a&>3W9fuSXVrB>d{(Cp$~tTtB`P;R*DK8dTFJV{5b7QbhMNYetcTvv@^B zmsXRK#*V1I+vH`!(T;t^fK>KLnu1d> ze>THYS)o(y?88*I#A0SDdd47z6tjl056!%+f!d9XS@Dr(QJJV%cEy)z=M0A@mFla0 z>#paXcxHFIzUtK6`^0WK$`@YR{L<4!b;yfp-a^>S%iiXVi4U}$)Y9Axwxnw}FBRyw z*qa(N$)x&w>Pyoa9w<#~Y${E=FNH3pjE07Wl4l$5D=oJ%<=Muj(sCQ`FHKw1SX#!K zru$0DU6bCx{!+U8no8xnuj&30eogn6@@snFo>IC8 zO7++DKxw)6-*b;Q$l6}tsKYinleb-vBeA>(#B%$d+SRkW{i!{V^P=AF7oUn#+yi>5 zu|aJqk@3XtuKU)MX57DN&o>_xph}Fqp`MRv0Xu!Ey=Tw!?Ry`8Qnot!I+f#ygBpSi>8vhpWLKoCo(d)w)?&haAH*!RjSHJD`_w)gd?R!zrq4G2C zm#@f)>U^znB%68tUXB$oeB;?`c;836leEkRih6ce_wMFh41nU#;buKAJoij#PQwFm ze5!ZvGf(U=$M=}ts;}+IC*`Ce<>FK%eRLPySToRJYSh*9$cry*VWDsHOPe`ON}JV@ zKJb+%p5M;Bs8GH(sVSl#D{e8gu8VNs|edOI%Ey^fQ?T57#` zvF};X+p!YwadZZKFWBhkTFNzKpC<^+#Ctg5QZ%bietZ||w8%yNgaf?YD zwMU%c%vzF{KMm;8=T(nS?CEo1v;9Rd?tsgM!kPE>hBYRzcFFM{(a8#raFiOc)y05_ zx?aNY)?SvxpX2<=G=c{p*!Ti3KFPxQLomgjyawhq zFt34m4a{p`UIX(QnAgC(2Ie&|uYq|D%xhp?1M?b~*TB36<~5Kx`)6`Ph9-w%dbjO=JWhkF312&e01|KKB`Ia|Eyn}dcTNN`3XDZupBsKRSSE7s^NR$D_;s1@qel1f`u?4t8h&4_GX(D5@k#RL)OTJrE-El7-}i4f z?Qmz6;UM=}$1LS7`%`AsZ@SpLD!uctKk-_s29pHjWW`Auvx_526c zPUPO_=dsdDspo&fTZ~*@?#qUc@fgzG{dz;=>M1@U|2RWKUd)L8mE-raqk!K`a^YX* z1&wd+dO^G*$?s(=&pyjf?tOmN{ak50Z}~mmr%smS_par4PxORoM|XRRyRd&dJ1wK= zUfQ8ZwDQ-D{{GpC&qay8d>Wvl9H}2)HF>u8IhT}_??3$ycWKrd*DT!4#829FE5FXp z?b{x1-Mnd=v0mEI@X37NO7MNdaO>YQ_wrwx!&N48Bfs_hq!yYd3H)3Cf_#5_^)q`O z=k27fmztm1!%ItFy5~#vjbEz&(i1O{Zs^ufqWD3Ea$dPTlWDZ~ul#4qU2XhCc(1>C zNoD~)u=1-*GVkUx8FBkZOT2LM?3XtBdi!~vk#b+TVM*o< z^m4bo7d^>8RH^xQu3ws2`58@`|IfSz<~1;{fq4zgYhYdj^BS1fz`O?LHSqs44NULP z{PBAO6|cY7oO!kG&nmw2=JL#|ck(x^Twj>TF8mzW&~+%&XtsU-#~7&2?{lcYo)*_3)jj&J@Dx^#vBkUS*E*orx;= zRIM+(M*dr*PZTJd`yAJcE0zq^Rb(E>WMBT_N};99|8shJL}X)16dY;pd?Uy8%0-z# zpE1`3=0e{QxtNP-Ju*u&$eFqIPJ3UmA@k~6&~~ZpFYj1I`eT_)lh9n7p00Usp!xOb zY(;9FSGQ9Ko^AL?74bTIdUU$EJ3;f_z{%I&%Vu8v>Y9r0WbVBA)%ON|a3oEyZ&qdk zDdWw`^}*-=TcVs((q0Q*e~&g1-M)$bSTZbJ;+g-N%><(7H_@Ne?-I}d*X;V>=at9C z*QaR@Ezjpc+x!TfioX5}e?@lDgXlP{$oxxpy|`k1@H+aYO?qC-WFB?tN05ODt;KxTf5Y0DJYSTve7j3~+`uz2 zJ5OozChFnSWZHjohvfin$drA=8vgsfXu;??~m^goxX1CwU~AYt19hYfBvT{ z?>qaa;qPDl({Q+=@YKkmAHLFm_)o*nfB#RzgB68|@ruHmM=J_%ja3vbwPb_;+MEsk z+q!HpF}|TtvGA22PX87B^iV}1T-O{dUX=O9@7j8;lzKs@?Mq&6f2Kj|{lB>O38sro+_sNLn3kx!mH|A$XjXxf!S8w&ZO8w!(S8wxq{r2H%E z78LSp7ZfI&78G*b3xny^3kuU6{B2(t>_MJf8`rJ;S{4RjGr#UlQG0yb$~AppVQ^a& zZ9!hRAak$E-@ZxYS)DyCn0C*IYeUYr5(|bprnd&`+$} zSa@gc#==i{Zi=#g4BgxCzQXhQwoSog>!u*rf(*@@f{CjO3hzuUDEuV9pfGiIQSjqS z3kq+aTohb6u_(wNUldFpTNLER7X{%_ep4F@;n@X+@ao3Gk_E5)aPgi!Z-gTzJvXvh zbeIoMoBYL#9xH?=xjshvjhS!!z{z}aV_|UxdHX90EJocbyxhI&VE=|fc%t~+o8EIv zvbN0W1p!OU`mCR(&rfd*!d_&u<=$0c;|ucTD0?Y#-@WH)jXmM@1p)odt?DOS>+{!n zzK1&Vyy*09^c`MX5KK5ZEZ?wZ^fpP?XRd9OHoPV5rd%nfS9Q@7c5#1VV4?^)>2{-)@4C>-N{3|;-z%sb&>d;J-%N4bXYkxb@a z2@mS>!?3TSz?$E!P6xZ34!rUcy2yvU6$MsBRURi})TZRAe7(pAZ@up0`VeL3Hx|MX z{*EB)Nh|9?e4|e4jvmlog)9Fg_xSN|SzS)&7X|H0Df2k#*obQ@^~tlO;gdri?N&z% zk6kuhWf6V#R2W+$?={y}v;+29Y-6sKz6ZZPyD`XRmwZue_7w6b?FGB6TXZLFKznk% z6x&<5=ZkMhES)4xeSowjw9QKTv&9ultLPt;f0U1{CG(}O!tb}p6Mn*f@x7UEJZ)wE z-jd9%dD?vvnjEy@>5YZ_>TF?hRko08`&1Av=kMy~LfEz?$StcZgms?|!n%i5e|Ii2 zwmz|}rSMPw31c79C(hr9-P8t?V>^Ry6RVH#dk|eOuK4zC;o;igx1sy4jX$}Aq8I4T zKU7%!kDofX_*+X3O&;DEELn^nR4naT{FndWx5MML0qe@Q=7ym?V`<;}#j>=j@8dgz zaP_AH_62Sg*&cDSb>9_)UGm$d@;f`p)ie`7N&D84+Qr{m)*klU709?Co_?#QoA%tL z{PlYE!^G=P1y|5fe%+Q}a#b^W+k)Pj3s-8E6!I%>2_~zT6mm7U1YzZpLRhmS2+u4C z{=JLAXYgfg=rL!ra*qvv-@iwHk1fbN%DVootlHDJZYzXY;kB)h%Wf-7uGkT*eCdnt zvJYhPrWc#M%54R)x7_qrNAt!~M{_+vb3LNjr}e@nkn2^6zu0a;?Wl_OucrO06YXEs zQn*8OO!`EgHabiDpG|51Gqu5O$@aeleco&TGl}-U=(YbvOY7P{g;r(1Nc-2?_D8lq z`o~tbKH9!lektwW=e2*o*ZxsD?N7S$@2CCYuh+G-f9)c3Epdgmtf;Ylfaq;-K|%Y< zYxL1a$=`ijdw6xBeHMS4B7G1#(et(6&})sqJQrT2PhXU|IS2jXZ+&W6C_JFe9hN?9 zNq&#@;eW9hJD=JVyonFLg$$SQ;XTxOVhEnXTVlYuPZh$^8-sB4p}6m!+fo=8{g6J< z|LH<_`3u41O52_G+U|_kc2PQQN4oMqL)*b$ua7>YZFhxs%A-F&23|S7xRCF@ zIhY(@T*!6Y9E4-|OUIXqkDl+IPWZ0e`@SppN#7mcS_lur>-bjM5ufY+a?y7sZ`9_E zZ8g3-8qpZv6`Df{nnMwd@!cV8WO`Klf=TM8gm+R;K*d9&M_G{-YVmSu+Q4{MQqa9^##wa&y(JV9N41v zdFK`eljj)+VxwY@lSgk2a_vj0@2%M6qpCO8ABXJ^7Q$BYS|2Rrj*|Bho|78mU{&(!y4mKdj(-MWUWH)Uz7dtC79Y*0agh zQ)vBq3T+j%RT1sJ5L&G#f3==Xww{M5`>c%Z8OKQs=poLS`zqA~<1*UTjK63fpH|0$ z6E$Cu#>l*aaUY~O{(dSfpaqFt3b#W_&R`pUz+^VvD z4ze{m*#?PO1M*9WTZ3NQ+V91!D4n=Py7J#o+=9PeSD8L1e~y^t`BZ-DGr?s3Gx!*G za`7`kc=0QYi5Fl8jKAoY_PF*sVd7NAzn3^=@1=}tY5S|#TpnIiUkP&g2Md$=uSl$V zL&xosciHA$j`B?W8MpnQ<1aSTWqbsvgxb+v!k;)GHoo4cn;w-lg{mBN<8P0nXWRc) ziCO>o5HahxiCI75T4UC66SHqWR4(p6Q7a4fAZ7m8jWT9jlJvq z=ctWWBcr$FC~xxA#sXu}e2#nMS-M2#-p3XMTiy7LSh)C|&ijS-ZvKkQI#+{6$_S5b z3>c^1r`JNeh&hzZX`$C^{PQi=d}3vvA^ynxhBeH)8H43yzH@+|%x`GNyPPiy%^Bn8 zi|>MtYh7dvgg7SH@qZ49o8i+?)p) zv>wPf{3-Yf?Js1$u|I3$g}o0?FAQ=ApuL0j8`c(7AE%*xFZ+!i+ip2{t&}mR)R%Q5 zp$jdIJpX@-p12pfFG4p7ozQ3;k#e5>Lc5gV_)m&{Xiw2)Uh7abG}%#A$hB87pW)Zh zN*}}DcK){Tw~fEeRRxhP*D7hP^j)mcvJMw=FFICwNtbJRhV)#s&@IV#{dC&INXnA7 zlX6KPlKN72eEVfLF?5?J9Uyi zYG@<*xev+HvUqOk&B(}eOXM%~lLu}n=Mx-R&i=r2idqD5= zQlCwt8&{Vbjs73EabW@-zASYaCFVl&EmxOO6LX_6oA8(Rb$XX;^d8d_u}|98=lwgv z`;g)NJ;(b{3U9G<$6KxwyoK-gT>O`IuUP*;4w>%eFL^ybaJDXTN{oS5B%7xTO{@7O z<{8A`Q;Z9x9@wzzPU5!s0X8h<-DT%_licT~uzBo$vIpDlM#o+JdT6^&^EcO(V%y!@ z3y(NkyC6NUXg5` zE;Q}pF9zZ9g+cB(a}?|w-c@Sr+-slZ*}BmGYl#h{#bUVF`C;sQ6n!7!cbIk@F@JN1 zQtW(md*SbkF4kc)&>nQUSZ8hKAkQB3Yz7*&ZORCFR<9{b?Hsyr=;p#J@QCbuC}A^o z)@CH#*$in~|2piv&5Plb<;xt|IpyvVnb#VbpL8;>wK5MQ+wkl%tDQp^9=y4*)0g>R zLgv+0W=VH4lcqASwstOh5jz*Xh}=gMQCntb?HsmqVN~n zc6yg<^sX{E-bp)$_Zs2dV|dp)-aRS2#kL)9xlZto*}1g4*g55v*ty6lb`GydHcuCt z)>b}-Yd&MKm7le91Q|ztp0O?dkUIXgW8T+qwc{f@j(c;Ny(eGBq#{3ZePi)wGT+EC ze%1Bl2iWsGX8MxcG5QmkA4nhK_5!3&Azgh?()Sxa;Z2q|X<>&QOLY|U|9!Q|&yl9{ zVN2ooKOnA=KGDS*+)38=PNuByo%lj<47%^yagnag?}Wa~Ti-j8 zSl>JA&67JUt(zyO(5l|gGEY8X*Y}WZkCW{LbL8XlOPMF1@aD-Uy?Jt!&ODiP<$scS zGW<;&v%WXRy3-i3?W)n!WYulNIhoUco;3w*qTAIyV}IEflQns8?YD-Ke~tWWvHTs;Tw3z4;?r00 zX`WxaNU3#Ugn5Pm}i=Ks_tv)JV){* z{qAoqt;HXDl5;iLSDA#y%+rvw;)}A6^?=GFw(j;J?b=(H9k;!^!1O~^OET~H>$Le= z_Nr>wqgugURW*NWn+xFz_NuPq4^#NVRKg#wZz)_Ip-!YvEW>8&@Q1n-f2jRJFa=%A zAF7~V=J`Wy!XH+9{!nRYoj;_|YMoc(57(_fAlvUa*@p0i1M*Aphat}&hCP3X((wn< zmH#mQ0Drx{jz83}SA~x9HSAT@uvdkyz$g^1Tw}faGV9$_taqPhz56n2%;#C}?(){V zyNrK4=Ill8{q=6SmvtokBigH)V!iqjysoj{eTjAI%iemoM#?AcB0h)Q(SBy% zLxrcM9Y~)z08J%pi#461gKrBaj(;t9v-_dKTj=Rh z=R<}6`1k4KS*t41Z6*Gf#qXvUVP^{pxyoi@EBj5C@V}Gz-^qmkUD{GuCi0U$(T0zV z;C~}2{&(;TL3L8MEzq}l{&z6pe`B8iHCtMz+Z0-@?->4f#`+(!{qNLMWgADYN9C8I z+i_2~$2{Fe>FAbp<$ny_!e6h?;D1wKUC>c}ian4l{)eu@>l+JK&f|Y$_}^LlZv_84 zjm?kXf1RHHbte2z?tTB0`=tM!#eYu0>pcE<3cnfi{7>>u+Pu@&|4v3U#{Y!oM1tl- zL=)R@lCi1m70Wnizgs_G-RF6+ot=yi$$M7xEBj14k(GU>4K9|@_mr%6(w7Misp0x` z%_{btqJ8MA*w#gC>te#Tu5Ky(n(!xmVg>Erf^D^=*jDowf_>1%VtXC*D?Hn3PS{q5 zXIr(F*4b7Ht+sauww1TGg=}APvW;L@2j!PyTO*!r9rA1|O2@WHSN?~vE%@to9@{#+ zkbNHXc-oF3M;ZGZ_QpQ@*>hXRnteZeQT>U%sCBI8H<8!G{?dNC7j?kyMF}l-6|MCM zZ6mae5$(PZS{;}0SLHdtUeqDvN$!^&LZ0M)88YgA*-qqIW%tY4xNb|xxQcR@Q|@xg z-Dzd)v@!~nMtpby6CSglkmQ}SdFP_M^t~X_husSbo7iJ+ zH+U(xz;$;YU7X_WGz10SE4*?2hqOL;y*LvbMZlN8?S=V`CZ-Xp$@q` zG3zWb>ue%s<+l{tL>AH~))H5GiCMiVF{|ebfyf+-S&h)I^AG@bulZ2 zR&_Q=%(`G>7P3`1*$xx0M&*|hvkrSPYs`yTQ93b;bmc!r%!0pOUm#|IooTqnoMH^W zI%?xqtN7sN;FX2N`FXBY^M+(DB-hM8et7qL*;nuWh0Hs5FZsjY*1pH>O}VzT^YjXL zAD^ec6G}PoT5{*hKU`d~@Kxqa?<`pY=FF6pmwY$Z+KeA)Iy9%;-j>jDAGR!@&o1s= z#rC*bpm{I*PM7s3pDxaxl6i-X4**nA#c*dF~)df_yBWHZNEI%V1V`d05QBf z8yvYSbL%$QBVC;h-Uiov1zd9;T=S&GHNRcEpm3#zapbZEv?2KADzKZ?@^@j7tK@H% z-*lES5x+X-k``kg?O(35m}c@KOmmg^zO|KVy)I&!p;t`vGK*;zTELm?b1KKG{gT!ddCOrq8e27=$gzWXp~E zedNngb_~K=&$aTYq3(yMyXbj@zbBv{J0N-;3J-FB5M2qTdDvbHrg?~K zcpULD&C4vN*~+@h`H5G4LKpe4x`I7P;)GA*+LSz%uNwK_t=G%AK0w*$n+xH7{_aQC z5i9FpwlIB-HI0Ml0eg-7bcB26x)G-NRHeZ*50mbVe-zU^MjCx$glUFWG0j2?k6pGs zR2I=!RfVxN@?LXoMLUGmUK?|*^i|+-t36EfIPxd$1=~_gGjim(j$xWfQy(aYX?FQ( zm}cY`ei5b_+7e7N?LG-j4%+Y-^R3#2tP?F{y<;);;cx9G#`{}?+!^}iVfy9aM8AB7 zwaJ6TQPL-d=sT-#4<@UBr4$!gb$hTIx>&!wANnD$U#|LU_@i)sX{Z5pc#m0%vcngknw}W z-yGMW*wHE4e~|VcOtk;0Ers0QrTs~t7^RJxX#b{^_HVpB_;1j~+J6N4QLp_Q6YbyP zwf{j&>)JnsR@rHPxQl6cuU(2(RS6eU3H@EhPD)bRrEvp z#Hwo6jP3{~+rD1vyRCNw-%PgMa_CpJ6*0}NUyu84=N(1gt+TYQ?NVq}pPgT4oNL<- z+5U=?t?}o0k3fEpm-=oaY0h_>ey;dFLX=M1k*@rk9#{T)UHg!>-4)s?kN*4^c%?}& z%{K*;tMT2An}To!{?hSC5LSA=TZwP_zAN{>@5+7BcUR+k%i-08?=HvZx*sWGnkBE! z=B=>4TNlw7-xZqL1Wj#3V|=$C8*!Ls>Zaq0ilzB5>tULq`H!z+BhwYZ1T;V7TIYDv z8+5HnG0o7cp0Wu{v)FZ~wd>>9q_gW|o?VZV-iaL8qS$J9^i#p)IC~A)sMzCV73(Wm z=E2j;f^fQB^%jktvJV!*>%6mZop&~>?Ak@OUAqukukQ|p_8PR;BHDc+v^p2zugYJ| z+QpcWNB!*h-&EPu&!|Uu%=#JftDi}oMD~QADW=)>+YzRDj5_t2vBUS=z7q8e8T;i9 zQn%Af45s-2*9Q{yJk7f)Cz1UmvL7T*u-hZc40c;+{dx-R320A5wEKis>&aiO=SaJ$ z=K;z_F0G%$fM)u2b6=%;V9XUV2GQ{s?c>wxSdcv7rb;S1ZX#}-*izUoHcR@%G5Up0`kc;`K4<6c!B*&Eea=zn zk9mF0&P1Qn>-9Nfme$3s6k64NFMZB{ja$g})4yY7%iqQRkohe(X*TgnFwK-VIo_-o&KRcoYDI)Im1h*w3~db442_f#UfmF^ zbeLwL6-+aIeF(i?tmWn zq4hD%@LDNjPN}cMG+P>ZUe|lL&q1e{X6VqZ!8A)bf@!7$W8p#fm?3m?^^z@=5G^!S6NJRqojG5X6_YRCG?Umm}Yr~^xUchrkS!7A4a(v zgOO8h!RkD+Q_1&q`nuC8br2mWrWsq_YS(KfpbxKYQB3odVQgQX7i^FpKJu*u^J4=Dt?XNJXV;$xm786xYgSWKco&5*D{3(XwOQ0)aTdJe}QRU z&a=xsY#B7Bok-_d(@qu-2VHpP=EA>&2eEIB%6I0=)YHQ>k6LV*q&sXGX-YfVML*=> zJ}JwWIl{wH?(c}qSB=cyb24AGGS?wn-Rv?e9uB%A*_+-S@nk-dedJwV<|C(WdPDkB zO}8>jn#g?Q)FW@GEs9=bT?gHZ&T}jDo_EVF?$gyJiHD;utx}hZ#9U~$y1HE4pfNWZ zvk8B}zzKiRyIj-8syD|wiHC#kdEtG*@P5|uzL3IO?A-B|>jZDH)d=?~e6*s$tO;x^YgY*>B6VVb$mUBKqC`^g$?dl@>Y z=2x?wbt3aOSDj+p%eEJ4rT%&B1lrHJ`sb~kRPt=4XD868JyS-=vwBTgiuHuc>BO&uGR%X&8nQyT&?=ZG4dJ)?ey@=dZdY_m2DAv=}C28B# z#ly@|uy1&?UyH4CuW`b&b)i>GGik9HE_U9A zowuUz7JhBp3t_YQn`=q2^VaQ!U80MN*bKB^ce=P}ZDt+MuJddL8ntc82zgeoDNF4f zy70u!g?4y2n+Z=OV)&qq;garRIB8n{L1OrrXXljV%N*G`<*pH#FBqBYoy-@k%xjTt z?d&qEokJI%y1DT4zRaf*G7npsCEdwPn#w$EG0mbEv2)Rj$la{>d8v=uxvNXk&Z*0f z{x)?P#}=VE&$asOc)}Kizu30ZyIiApmBH~&+Bv+Zh4)dz`_CQkqba<_wjFP|PVkP| zxwO03IpvnvxyUJY4zEZyPZydtRz8MnK4Y;6(=6jC!8GF!spDTe=8Z7Tb{rRBn#q?j zsmPC9rI_X+)0gCi=uc$dUHTA*X_h{PboD_=?=^fPOfzX=vmHw{7xN=bGif?cKFB<| zj(KujVxD|(OW|)wn~*+HQ_Wb5^}Q7->wC-Z2>v>B-?if+#WYt#U*oOsEl;fPHF@iM zRhHJxlT&C_?@g@lt+MlEWLx88Tfy4ia``=8I!|6fnwuxD^49mFbmqyVEB{rj@4??( zKg3!!>rR8jwu?qjlNUc9Suo9K!8DIm6fwBkrdjTpua;n% z^Z55A;^8I!Ui>BYI}?~@$-hYc#aRB12-7V27jEE(PxE{X(@guStz!c*Of&O1#WYI{ z_c6^n|5;zeG~0Z!FPT3Gruo1BEsJTEJRj3czWP7&2}hfUR{II)gok39c`m{<^Nf3c zR_ATx#W2m}`*StLG(%(NX~^kgn#I;fvSy4mj4b$5mz@(SrkQ-jG}D&RURCA7!en+K z>z$RXbz}><%1woEn)U8u_(SK7LD-q_hhtj`zbADfed080I|o=dI*_t%wEyy=BxJH`uhwI+D zQIw89kgoi%?^6DH-Ge_&vDc1{@>8tAW;dZX)=I8}Y3>(HGwa>GtaqPhy}O$==JTv~ zAFe2#zjJtl`p09=KjhwD@0NR6NAmZodRedTf>%H5-Ce9xU-s6!C9l)wb=&ps&WOgW zcMHwV1kKKf#;iBVI+Cn6IZQKl;;-fB+rTupf@K~Czue5+JW?mL(r@S)4Vzb)4ZxSs88C+LFf;8nC4XpO!GPq(>!cxosFc>YP+oi(|pWg znvw1Dkd>_&`&cJG>;b*I^)}tlY$nawNQ-A9Q93q4y7F(qM&Pg4$G|iXf@vNE)7%QC z89iNUeyH$W%9Q=2d{VbpvxUhi{O&ydcbUIeo3R`G?-2gC8vk3J@V`S_3jamqCw(GY zjj!T=(<%OU{r2ET(8c`kIzE;4`lIU!|Eu=;qidGd={AK{>sw8KwAT6`vi%(=TP=N2 zjr>yjqgt;&s`L7zC>`CBuKerhkKnJ@Yw^F+_#ZmTpT_^Dh-2s~yo~>K2&NhTYs3FW z@V^#pegyv;_55!X|H95A|C4*)|KvXDe{J|rGrT(Rzh?Yq%=16VTW9lHtpBZxXpH{} z&DsRb+K9&ZA8R|Z-y~yG*(;W~9buZuTPwD6i18tL_ltgI{pJv|`j}?=iIVkB`mz|N zndfz^a}?WZ!?xNIwsmw%p+)$UK5>EeAIG-FQ*7(#?LjkiG21!^{RJ@Qs=?=t&Km&lX7sLOUQN@%gG z80{r!FGaNbgjV;W_^a|&qy#XQ4eC(e4YORT=qf+Q-Ux0G%P1*l$RTbNg4iZ)Vb~q%P5ZnNNEG zn`Ey`_@(ZbdG(F$m-#%#43F9PNBd>ovr?}7^8Jj-ytdBwvlrCIUeIy&Xu8=8>Six! zq=Gso_JT(6LmA_`K3(o5hS+=It$RVo+3y*LS3i3}V) zb;PW7iI{bGOW`(=h4hIj;>vkq*7=l}b?){+WRAtG%g|4GG3#6+W?lAT)+I~pVpa;R z>g+NxtJTIVWcv@_wz5?dv#R8m(jQiPF>9F@v!Zlj7U{}=88Hj~dfiIQy80=DX+DS# zjx=lE5jLSS=Gd<|OtZ8}lja#rGuNq@=0WrPAGo%(^YjXLPrf%#e@DxK*ODZr*_6fl zVYZ<0g1MGrnkC)GG~4^IF{^x6+P$mT9#AQ1hbq~$7k?8)s zNe>4Z;|(%iK_A+Fr?>_Ktk>%{5o5AJ-)GsoU)Id{rCI%PX?Mk=lApvk=j7~X&TfAD zT1DZ?)rvxXs-iG?J{wG5t|;VAXM?*17kw&g&Tl?R`U!r=vy4;uoo_D1I$z70^P9Dm!Pnd#++|JIx@pXTUa`*CHWc2ux}oqBo|~eq zA4B&xysz+l{$z77d7_z^iwwuWI-glsc<1!O!cR^uEKCh934VNHVd3rGCBc=RB|*M> zNif;9B*=9xp%3SGntAKkLiVRN6|v4OCOy}(O>~(LM@_zBokzItBAruLAmb8mXjMY!g{3Uj89$l2&?k65QIV@krI+L!?^ly+hyd|umTq&ncbQ35&zSR@C7)~MbDX*#pzfmQ{rnw+e(>9(*P(Eb`$2RiSmyzIEm-G%uHkXS z$2uR&nDd*hth-#l>6M?*MLrzQ6x4rx8rP=eseI$e2XDPT#&sWMpW0Lid->aoti4v& zo`r?!vx}M2qX+D@!j<34J#&Ky>wIX5!8&)7?v0DoHwQ`cvChyc)>&xbvCFoH$|CwY znlZLU-fOO{Xos-PYh$jJ{wUvcXxk7(>zjv=KWQ)6mSUZegLBy8SZC7I2g+fcU49zY z8To}@gms3t1nW$@PePM}HXLOgq;gSVGP{WR3-)wn7;edGpu4#CqxhZ~oe7X90vw{>_gof4#1vzn&s~p`-lNwqP>5 z8NH#$>tLO01nbQFwVL^B4fEGZ=8QGWUt7KTYb(C&&tK)eU} zHOstng*Shdyy;4lS83<3(=Cq1%wL7(dV=P9L}SLN*aULDD)BeRbtrZ;K>JV8{!@we zAJ|g(Uq#2HPqfoUqqP5MO8XzWBlunDV(s4weY@BGhZ5~S?zMl5rFHF}LaS{uPWxZK z!MyK|Y>zqFT50O#PT*^0lB-T|HJ`4zp^_{($Q;jISi483A7g$J~`0qMgMSm)8L!JGK- zTgY$;A1?e&#`Rsao$!{nYo_f6X}iHh+cj?~tP}l^K5-HK9rCBr zTv4$!A2wGM&u@n2x5Y-*G1h=)MD#3kzjesW+)uI2(5s%BH^k3x7Q1e>c0G(uI=de7 z?D_!dt;m5bimmc)Mlg9m-j^}I$6``Osr`fW1ZqCc}H2N=&@@Wy>?AQ zXuZBW6xuOp$0FK&A+$P2;jhZy%bLcZkw^V(_!X5+{fv5qL)OobU;Rw#B(f*`OtH?k z-;S`(gVd?Tj2$AZGxZD^`{k~3W`Dn3ySdEu-nq4IuUGqip2T`bi9^r9U$FRhrM3i}%sZ_>1=OX>}|} zp77JP8>ufg{ex(}Sgdcfc9SSi$DniIuWL7n@}*q)<qS zy*sQke5`$QZkmZt;xnR0#X3tY+iC1w=Rf;xyb`Q4c&(1HvCej`^y>*;saOwJhTw87zXg%x1mPVe}bs+9@(CJzabm-P#ouwSXI#Y(EiS8#wKj>6+ znb$gibzV`$J4RLT=eMG@5Z3Z{Ie%;TTgTsJ7VBIqX|42K_WWk<6>}x@k}gB88jZv<~VB}O=usVVV#BV0sH~p5!ShBVIgcH zz2DGA@^c@Or)BY+;^cTvaih>rUZf2!pu6+@F1E6FVgBaMx0asYe4({4LLDYXz??z* z9jTA_{K$IxFR;#MdG>6pw7EII85(UH$_RN@uPIA$a?l;ge&*e8!-LqjM&vt^{mQ#> z-0){CwvzM+Tltwcl=jqD-Uv_E6wkP&EMMjbCr7zYi_8a&%-v4rgI4A<$aZFSnH47o z-I45P-~Hv7%wJ8&{8=kA>5&$)bG&Yaj zPoBcIPom=!{7$tp&NqK^CsJ(tWGk2=>OX{?K>MG$R@)x3c5;kok9l?ijoLG1ggmR) zl%=)}-H~j~yFY|S(Y8Ahc2Z;Qg!ITxYOI}fyb%t2woO^S%#m$V?lF=1fRXv1JDCqy zna7cBe0G`DwxK(c{oK316O;KD6Ec6!%1nAB^XIJ0zi4b*^dhz`dJ(yg>wRA8qqgnp zlC*8=@=H>eO6(7sue!QaChSl6iyb(<%QbpeTXDRTwhiyUF1)jb_kiP_P2nx}?0Cy{ zf_KcerQOB0DYwM7MNYA8ctx^#y3n*?Y`dGjxO=PGH@w-$#n!pkKFhOpp;xRkX|WhC zc77c@zlOfA^1I&3x{&#syP9I>*IEldFS;1SW}sc}bTMdcCeO2Z&t{-e+op_=XZ4!0 z)Xt$hl3n)h=ipJa^Y(rwZ?!U$9?5*GmHAO)=b{&}bJ2^)J*D?~sgK&Z zt4q?(smrL;Wr}a>Li3MYU8dISTtAB8!e4CL>0PeTyV{N8owRd!|2yHGH@tt~c;{1i zi)}mJa-HBEvvX;8v2)5Tv2&4A>>OT^Y@RMOZMu96*ZiJsMXa-oqXg?ryiXnf+A(j0 zb>>-_6GvEQ@?}ga@*`I%*15~{C1Cvm#X3tL;;_y-7Z6{BM$&g0J`vWLv~aZ@ORX;E zM_6albe`PGJb9RT@^E6F+zS3j+Jy9pGt6a&S>GE@S>GF~3!0((u8(y-1^pRso;;LT z-y8MT_fA?`H&0HXRlSe0zIVvZlaa0P>sGdd%#nxX_qfgpE9{(5aeD_zbGW?`Z=M{b zGfyU6`HwJ9hQD4PVxHWwIGF4pww*D0nj8n~d=6akC|KuFu+En=MXd8>Y?k(W+094g zo_3C~&T`LuwFK*Y4y^JSu*_%pJD!4dmi*J?pN{1hvCfiz>IQyboq0Znb*6pQ*0F&Y z*7?v9gLTGcV_0XM|9Dtun=ke?fsG2*`2;#w{YajVbtYf^pZSEN{pZp?mQHvm)|vYV z>&!C|)|uyY%;cZnOuj!?Q>-)3n|WFS>nyhJ_95-sTbJEiQ>-)jigl(fqrIxD3k#D| z3mJzmp)L7)6&~le1-Tyl;Vk}eHsKFFTMGN7PNYu^V6#)K8%?FG8|Ci^2BC}jLm%`5 zoqgVwx>2vCb^ee-t8FmNy3qye56E_}ldTJ1=#*cIKXiHi(Czs{l#V};uKc_4 z2l(st1^nSOdsXNtf116jDfEc0!prPcU1PobGV9$_taqPhz56n2%;#C}zLY6qoi7>x zc+B~S-23a@axd#h{$AA->(!Uwb&d7zORQ60_SU;4@1o7SY}dOlMl@!jALNEnuBnz&fu6>x`Z*t$3)gn=)lT zDWBBsMf~pqem9Q)o#XFC{BIopYsdda@xRf8|Fv%^92WUWpE!<>bkiSor}Rf%b-`#- zx8u+s_x!Ib(I54D{n1fN>vWq!tM%=tKRRmt581xrWIKTG?U!GQ{~hrBZ^-k%C>`CB zuKb7aKltnQQT%Td|3gRlQT*=${)eu@bNJtR{BI2ZJB$B~RO6@E{7736UiAF$V#5FA z-uFMbPx{|k{O1(B&f|Zl@S8Eu|0M6E%{y)V?_@+{{7-03Bxp`VG{*l}+ljEw*oTaR zBCIoc8L^!Uj1S3sZ;-Z^^_vUG>SLX?AFbm(?QIklin<=DIo|;}GTUr`-LNTWe*kvoZ>;FQd>7 zLOU4I?hBz+8TqR+)>#?*uwUdtrlF7+=k~93-^`>}NnI4Lgl=QBr?JVI_RGBb#`eon z%A1XUv|r{uEA^0HzKt=N*Vg$J>;)}nFKBove!yN(4SPZ7Gt@D$7j)jlkc{io$VyVy9y_tJ~|N|a~qAlg@ou+GG(2xfzFQexKHxj?S24zv8gY(l;#E zJcD)SIu+||=jjpF+0N4=taE&x{!S?6z-vho>uk!(OTNYn=30t%mUJKMZ12Omg*yLV zY4@&Tdt7xq<71tvi=&J7xGatE(LFBilY3km8>BqJI>W=CQ;9BRzV_yR@ITNzd>(t^ z+UZO&52WjUk;FLZU!888Ut+VehAn+}?u724nKlyLpEBuT2V=Yrd;ooD`yJvM46t5b z1K$hQ`Ti<5Phuu7t zz&1m#*yeL!o6mx6=D8`#`Z08G!}|))=liKsAK2zzWat6ge0)*ionwm%KN(+CnChqs zemu6Q@ODd8aHY8_$giskCf8O4xu&Xs^Oe9tgQ+~Yi1F;^BDT5Cr042dC6?vGA(OAz z=KWl+C7sy(11IzT&9v8Jg|N$Fo8jf|wN1L#)BhEpd((R^!ZDxB7;Ll1;jqo5>GLPo z)4of=5SVhK{vY{rlpVu1pD=NJv0$6I*5^;~{MDt*vs#PT=HtX)Cx_*$*k;o8nd8J` z!8T7(u9S1_LD5AI-;oZ&!OcZ%GuJk6DD1G<4dfm=- zCuNUs28+Pooygi^W$jp0m>#3<&9njb>ej{hwy@55BW!bDmBBWzBi$PZDYm(TG;|o9 z;|#50n}wEn^Df&SDvRi=HDhdzyw_Y?(GKCT*T!5ceJj}J;q~kt=r_Fb;Q{1N+6%U& z*kbg}+9 z5B*iIf4-3DpQpV3`Ld;T{c{Sf>U)a*dBFD1$o9IE?dZ?3ek{L~{`siaKaYF;bCgd1 zOuF(Pe_Z+N^#J|zY2p_;%AalxCa2INx(Y9EE?gO5zPf_>>M--w8s@79m?PFOUmf!1 zt3&uQHsr>Vq1^lPRk@e3roUb^%zSe{yhfO>?q{C4!ke#3-k{ApVCSoY5sjIz3e7-* zW+0+5V^VAaxn7m{o8y`@?}A(-?cYiJcP84uaZ90JbWHk0UpEyX{)!h|L*6k{7yV|>gg~_%Xg8rb_cD1|WZMXWaV%r_C zw65(^XjPx9S!cUmWpL@p_HU?%%2u_UcLU_trSiKNuX`U=q`7sx>gC0AoTGHwj&$W; z-KG5X`Z|6}+g+iZ^61ZxfmfOY+x+QZay7o&@#!F3fxmP-j1POhdm!Pva_{@D+$Vi^ zHNLkTUQPJ!a(u4);UczK^6G5f3hTRd5smR(p{Y&K)J8PMciXTLhi#^AG9MH?Qn)`; z#5P0IB{nk1SOc2JM9;G3G>FU&+YG(xY5)2-wpr}D$=Y={HtFoT%d_iF(wmS2TNGOj zcPB#YYA&qx3ES9ju*W}W2dfd^zY>D+{S(pd4l;pYcan<>-F8N zozO1Oc0{!MgjVMy{8jnS?g+vTBaix7_iw3e>Sxp=?6Q7_{OV^?Cy_njXNqmM{dTlg z(?Ol;@F{<-hI)pK{c`QpZG~N{Y2mshQO^~~UWe>;$lh-2*wiepjh<0BH zt=5yjTF(w!&rZrlF0G%$fUC%3?yFP}jJaeCqT?^x$EVe?AbG-1vCUFn+9tv_d-aXh zY7*t?7<3N&b*&~*zLYD!9QxO|wTeEcjXtL>(dVq%QuxuYVzZ=A)ZWDYFMZDHls;$G zoxz_#7aMadgTD5WVxO}r(dVr5`kZP@>*7`lt?GUqea=qX=OEkPaj9}RMStXW-uRASW|YB!SCYx8=eJQIJKuo>BF za{R?+@@9?_!!{EKq}=sBom;D-ZsJpp{xirlLCm@jy-xI-nAIpcmYCIVV%9FlX9|0F z*k<@x`|b&uBS_uEXXLM9nk@2phpA75ZDwAh*k(Idim=U=S1Pu{l_5A>%P+z<^PJWL85P?sv_7`k-iK{V zgIp`LKDN0HS|8gCuaz?9l=?bsv!#*eb=`;i9CW(210A|G*k&n5u+5YqX`=5*sS`RC zUFNk8V4JI}IOns9F(<$3)}XLDIed$6$BVVk*EjFr$!x?r2- z8Papth0en^Q|}Hb0-BQ#ou*kFd?QPm8e4*nEyYLU=^jX5rh1KfpV}HZNbq zScdd2LmSD@eMp{`#dC^_<2l8NLO(e~8yrB7`}qx_=Rxx~w?73Jcc8WK7OD+BcN;)Xq1;Iu92|S-#8>E{<{=Mdn5$^F2=HMk{kavh~j{v*O~QJCgmvyMH+* z^Dif4{(_a6^ho9}Sebv>;NnCtvaTa~5xEETJ}>oAT%4;*5*J5Z{;z%1rIVNo&7W|s z`tLL`HyX1Ef5E~zy~{OvR~vA=lejo||5SMIG`z1n-aAuxi=8{(a-HBUwi;oZrQHP= zN4X`qIFVCg47?)QJY8s79k{qwVsI0PeTyV{E5owRLuw+QcM!+VqC-JHT(?Ah^_>jdwZZA-h0 zZBuTEZHt_`zv9W}=|bhb{M8^_M_;^-F%tF-Z}x4mb?&v#@@!q`728Z&EQX7nk74JB z(f267u~znX&EMQ;ik%;BEll;Ji#luu+ACaZ45_m=Gs3eYp3Oj`woMr!&+0X0shvZ2 zB>VYy--Jie&VMOkGoQCMLwaO0pSL#iOK*f7UJR!!U*^cpDfi!s%(X`5lTPMZEAv5Q zJ2<<{YUj`$$=>$vzl_QJwS>&KS(!jdwZ zolComol|a!or|1e=kSVT^K_wU9pz)V<}((H&T*D;lwh0jht%<}9rH%mW;>3Hu+8Ml zm{jCPu2O9CTGN;0*3zHIK8^GtZZAOk6w=iPCB4P)iLlM2@%>&?&)Q;sgl#5G=gC>- z$lu(bME0*ya=9hMA&Az zXTDm3Z9cJ`Jv6Y($M`##f^C-kaq`Dw`9*BAU$u2?Ack#b9;fFx zOAPnVan|{dhi$g`VqX*3s9>9a1D&gWB+th-ldt~Ie8SPbB<*AAgok3AxsR~TJQHD? zc}~YnKDL>Bf3Bw3W}Y|mv;?+UY`qsA;ssU8hmsmGi&iB8hPNYw)#%4S4hmI6~XumVq3SG<}RzSbn^N03? zKXiNRM$0X&^M@2#ZG&#sjascgAlpy(TG`Ix3uok);tyv%e>mr@8%62(1L?~D+~dmM zv^V}R%3c*Z%8#-JdjUP7tMD9qRsDi(X1%+Y_3rbZ4#IBMn9n~Pgv-74?&Zcm9&`R7 z_x^gf+{-$WzgN}EdUY4P`dRPpVx9W3x85yzoi?xAu6K7vG-kb9Xm%!Oc1AS&v|h4~ zBv?n+IxxlhDO%3yS!!~z%*ybo58zEi!cM_A~uh-3Bo2$V#SA%U{2DTYJU8;Jh@FmKW{iKq;;xqW) zY5eX0{&$kUXYjuR_+J(NSB?KwC;YE!OW_%jpY(|yeB>3?nb zPcyta@V{pKX3Xc*w(OTTTPbM*;Wdzw)Zf$wbt4evK?@;UBIr+%P+;Y zE_k+e(X*{69or(^*enaqqtN;?3hioWS4Xt_LTFV+{;G_F zR>n?rhFr+RH*&DML5X3D%)XgPuade%`(-}uF+(f-QuoWe`o{Lld>*#E+4x8MW!|$= zuKe;V7?XKzoj=cB&^h*kx>=(>&0f%H_JV3M)G@IaRAXXD#`WoPFEPa43vb;E>VA;E z8eZqw3+iOQ=bX0}BzZe+-p(k`#D?Tvkmw_?x;8lEWgfPfYbh^Ww!VmMmcAW%UbEvs z*~<>AGX~o%yxe{f^%t8`Y%}@Fr`p3d6Nkq7h(lG(Q}L01%C*L!DjSC!wt0p)6tWf{ z?JH59wV7yNDZ)0xKf*T4{Ej;0mJze+h*@=sn6+$6;fTmW`b5V~%QlWNT~*k-O%vCVd#9$}m9 zJUzlT$LHzqgi;Q?mL##wrmVc=YrJ5trPyXk_p#0P{{Lm{jiWj{t~*a?x|?oc2}#Jt zY2py46VnowvE7b|LngF@)O0tpkQ&)IAqiGUjAR^RiR91|lEpJ@7H7zWC?w0~usc}p z*`*!gCFd}6&|7u}c{pQ|VJD2koG=-Zffkd)d;D7Z+2+ikx5UeS?tNADtKZ|v@*nTK zdR6z`x>a@Wt*Tq!-}{9X_zGmaV9u_J&bTUg$Hz8%bncAH&Jw}; zJp4VC^rh_AZuf)#fu{QZL7zz5K2yvC`FdU?K2GLW+c(zkW!}J-$=n^y=owlvM(~a1 zl6?NRG~ho>gOL8v@f#ow23XT`E$kVR^mcDca8z;WrK6VnU;6IQBVYad{(p1p)w1rt zI$AFI=68oqeD%8{B`;xz@$K>w&fYG?Uou$IrIFe<-!1lEekneC@=Nl+5V?PB>|V<5 zlQQVB+xSzzQ1S=2@l~YD}~2zuF@BzZ;>zMUmodx^SeWj zeid0>5}E$K|6hOgyF;a4{ccOiOK1P)f4cr3%1VCk-k-h{mz-$+tE0+G-#i+r`Q~$_ zU%Y;ysJemwg;Z<7FSKoH>8F@b%qnt8% z|E|A2p?S}V|C~D+>~%dFgJlo)`pV*H?KJyLu0Fm24uXwRDWqcx?iF#fskE7rftJFHpVTEcthY{{+bA}i;e1^(>o+&QK2 zJay@XSyR5vyQL*x`pc7yaYS0M)@Nwnh36l7MV>9@^#pw({h@v8)pyIpy0je`G7+mA zyHLvf@W`e6E|i)%h4&SwEBDeLj z{3lKe|AEs?{|}xHj`(K$Q7`wN)5*8XyGeJQPQGW}$=Gyo4PHL}{qo7v$@j}Ca~S^~ z>3cJNy_zn3zZ`nS_%|p2krE0mZGYM77vFnl&8_-(L39Or#rU_j#NTddiND2rdFpxt zy4T@-hxc>cm(i!oLDY#19hbr5@cr^?zF%I&_seU~1aDOE{qo8)!JUdTL9YBv!2g^v zZR_5K7STX(0 zCz9`%!^=MFm^Wif8eD4 zR!j7OZ*eE@5AgnCdBAsw3mE@??AFR*_$tPqe66!zZTbFifqJE$CGCs8aGvL#mIB6~ zv?=31dQT+ZFPC!C%I6|&-=OW%&+FU|ps)Rs^y^r-#xvjSSB(FvNejk*g)}^F`56C( z6Uq0>jjYb*z4}vqkqhfja7K^ME}}7GN}0-6k9_dfbOY&S>aIf8CGJbeT4`im#6J3I zdj(^UzLr`aQOPqt!eRWI&LkNBa`Mp;J67roYstgEIE+8Eit!g(csy&yLuHZvsymVB z8f7orv0@y;R&R_+D}5cd-HN}qas3?fr}YKhQs03b5$Pg~KY3~cZ-w!<<=BYxOQm;J zh+hhkU-(&n7fL(R7=Oln51I(tFwg%;b@H3^j+1dTeTMiT_fFb74Il5jn9_gl9O34* z`2YI?b1C1;++KPh4hJ6$_6DCnjuReuF!+C=bL-T0`egz7rDqE3)Pd)Val)eyCOF|X zXy*;BU8iQyYJZPDAB23%^9RtcZDjjXD_iY{=|{O<)bY1^5{+YnwdC1zg!3OxaKc6T ztW(KX{^ws*{+j07p5ZwDi$2PYUkUa)=tufWzJGg%ZyDrTi4RT_S8S|dUoA03iPxPh zd=sK2nd9xADwJn*_*JXJ@=RYB#Z9L_9*6Rua5EnVfB*4#ueGay6P7ah4>&2CB-SWv zwsA+3#BGFTEJZWsXp+4dI)UEvjUnbB(yB*OcVUnG7PjFNDw7-kscZ57Abm{!_BvxU z&G=7ejQ`Yw!LO&se--+5Z~UiH<3Hz(|B9itKXewxiZGT z-W&f0Z~R?8<4?ZwZ(#i4ujwYnzpp$=8(-lt{?czVWeLW=75{XIe-n&!_yH|MFhg(wboWp;zp&@PIa2l{qbi@o#PoZezo*A;S(f{OA4bXXoK5yu}Cf zFm_Aq^_QM09=o1vai#PR`P<#^jKhV8g1v>$9=F~3hk}aq*mXkR{fUC@&VRPpc2^!M z*lvfRwPTk-tNpq1S=O5mB({reU#A@^+c4ucBv;1R4SQoZ;*FilXY9yV{v(VX{58Ew z+=H>Z!#L&WKi>!5X~lL&&jowU*zTa517I(M#J~A(nm@DaC;p#C<_2fG^6cBLJg059 z8QbG~Dq$=3$#+!tMt`4?F*J$o3Qc{ArryycwmXlGSd2eyleL;+ z{F_b|F#gbdR&=D1wFWf3($9*WLuQNdhd$Bq$BHrjqSsSKuN%-wtJn3OUe}R7g&gRj z=qkT!2=?k&tDvKzk9!rh>|glJ4&VF<`G$}5o1Krtk@h&0Zwv9Qps1odi8of(Cg1fI zT5s-F+CgXs9qo+}THTv-SNSXX%~x$AkJ?$osLG~xMmxfKV`s>(b|!5S*;96=82_?l z?cidTwX)9BbxYxU475}Je=(Y%ZT#oL6R@&K&?EHU6G(nlfRVRNa zX{XTo?G)N3Xqz1E4WZR`a@TfF@+~B3=Q4F8m$pxQz#{S_&lOtEnk!@tqU$fl$EVe` zAZ5Z&W0ulh#>Qd%z4p48WvV`1gMJ_UHD;NrU+R@BqW{%zP2jg`nR9AWbI!!I`1a?~ zS@O4cnHN@=b5=6uoaG0DzlE-7&9Mdjt~ci_r{=C4GVl#4AjKBD@*+k!U|FdrVm0%-d{DoF9{<5cqUenm8V*DwKY~3~3uo|z7nAllj6eGt#rT`OlEe5LUJrh~?7m|>Y#o9}H~bvNpZByK z$fy{9q4hET<~gh`5286}eT;uKv_8fkUKeD|Debiwe?uehYy6Yv2s({%LPy^w7=Nip zF#gmbdD8cL(kA*;`ZA|&0OMbNAN_hC^A5UO{&XB3axde4!2Reces6qlEbm5#qz|5A z?lRvm=UK6aLNED(@t1eVkM@Pm!}wE|;w7n9eK2yWE|@-ddMf2!pE`^@ZIC`tj6b@3 z#jH2Bp%438732Spenr+ryf0WeXcglx<)TNTTgW3A|G^ZU%3*xEi=CM{&0+k}`G`3} zcsPu|@ZG>3;O#K}qh)b8O8!bh>*VJ-q)hALJ;jIep5mpU-`l!BjyCTn_Q17uo%Mfm zk2bDne82p9+)Ep_tB99E`%BUuvH7Y;nZM-w<-EIgUB=vezx;YKHq;SrnlyDOJ`}pJ z=Un_V@WA(dMCI%GS=#yPf3~>FaP1>WtVi+<)>876cI{V#aOKAeIB4YYWp?;b>itQP zxiXQt(aKzDWL`zK)wh>f@uAR#edpr$`!e^XWZp6|OTLwvJe7ItR})=CR@Fu67m<5i zpL5b4#fRFqr17D&W&3lqr5c|L&EJyN{;y7au3NJSf5C*>ewQ@;p2%SODUA<>_bKV8 zs)Y9m+fP*)yhYC~Z%L^A1zl?h+_)ugzh7T1v#mB(Q$>#Ni=B@m45LV%Xt5_FG zJJ4b6JMr6M2k5ZchQ;{v97#+Fz293#x0mSSMXqJWZXvlxiy6ATbUpr4>DzMj1lq6J zzAZO;GS9p7o}NIXeup~vU2Kx3F4b-5!hv(~SK#4vdmyDJd7~$iZ}o&cZF3&o9`|&c zx_p_PZd31w$Xu4l{6#BsnUQ%8+2-C}X4P%z_%37oYrf1wDVdLq%#v?qCQoHPGP*7O zA~8$p7m<5GpZR{d(QVt7v~JUu2c<1XWnj6k$M3UkIpW(k?17wa3xClA+wYR5-&F?7 zJFVOBeo}ZJCcN7$@52nEE_!~5o*&TP`&@^NV?Md_KTOAc_`&t~zxPRBl=A)Z z>+wEm^&y9kBtAUHyE#v1ph@Oh@_9FzYmJ^m7j~S(Cwh9`kE#GVDnoI<|Z zpv*0^2_J{?Codc}YpLNvxx@IAr~BkS_Q`7x1mRjLzSnmxu9h(&f4hws+&J;Q@r?N1 z*h4`TbYC{>qDW%%Ezq}l@x8HBd~e!|?=>4*yHC!b)qbBQzPD-Od&u_ZpEa@#e3)}@ zxn9&gVX4{6X>5LgJR6%I^!CXvpM5g<%75@h<*(_@XM*tHbg*}Dxe#}%sSBd9DzF`O z;7@zmBbOC0{#)oQ@;`VX}YjIZiCI#7i1XCJ2+fAQfy#$We8 zmp(?GoJ)U9eLUr&U$TD?jQ<#YuDs=4ALCEC+C2LSOZ!C`A44ZR6ywjc!}#-#!}#-_ zu9jO)>twpX}3+v-BZ3r}~)6Bf4(SAx-S9$DFMx#-DP<`1@y7Eu2*~b4JDg zTgiVWMJ=qutx(*g~^h8TQcP*+Z*m4=x{jAYb{nVh`}w zbPaJM{=4K3eU$4Z2HVV86@4ZDL3L-8cz3yA*@<@_5bqu&#(Y4$d$X(%@7_%8al8^BpCSE-NuTkRN1H`Gzy|XGQ>o;YCCf?oeXp(rh(DbEf`W#IXZ<08Y z#G5R}A3gD7`MLTB;=Q^D;;8ikaYXL*&k$pOE{HBNM&0CfKc{x>&a*B)6aTyC(Gl{u zTcH`f5bTXUcl=Cbu|Hy`z+=A%JxKB_mgwr?|NwY`JPM>#VeA={5x*?O_P9=S5? zuh+A`KF|JKK7C8R^6$g`;IHW%^HDSQM<3;yvA=rkkG_&`sNU(t{#H0|>c;*Su)j`p zegXU2@a%6RWq3~-+_Sb>kta#^5Qr2$DI*t9cJDSA)gr+S;)8=T3 z&YNUyDrd#A4ssZO;y(Z3Ido^8^&w^dp0uw0*OAr7`0G4kF#a-+NW7D|tO(=J`?}VV zZzc0R8~OH(wAb0~$hG)ygg^P)m5hHix>cQ_TU8GQ{|UMxyDf*l($lS~ly22|x>aUq zt!`z|>Uh_oTNTE)Birv<+1k;oHn}o%tKHMB4o|mSKDtG|^6x;m;IHWleEa@s);r9{ zd9#Mhv-a7)Tv+?;{7?|d|7!66tRermD!SwLxc!_j$^XFezpl}aIg8pgXHh~+KNr#V zK-=SJZ-mh5Srm7bXP2|69P*ghqB}3kAjM(a5-DWE5IoMxkwow%yU*2%%LOxvPvzMn*ZmLN3wY5FcmHuk_q3$*+*M zxbrffR^mS2>%7csZ_#;~&m(;v=a+f>-FcZ;F71#jm%m&z*0~kVf|fZ8>b@60!dZ}D zx7W&OW9lquE%6~Gb`F~FG0poAZh+a19Ksn0>gO*_Yg_k`qqWz3tg7K$Z`K+`QzF&?X z`agT|L(7RDnkB7%XxaE7i$VP!eu)1ZFPtk;pV1k2uH-QO*r3Ds%l?iw_}|?s@>xUI z;yICp?{RIP$FDTwvzjw}R?|a)$Xw*JYM?*w`K+dt&uaI4R<)tEJ}ZM(`>Y+G#dpFK zJB4h|TG_fj%$y`whR^Eqd{(#Tvs^wti+ttZ{i5>MG~Wyp{Kbb4j;aM~=+3_e=(CC| z1&qIp$$H#@iG3i#nQPmE<+=H^o)z=^ck1>9;r_-{_ybkRMMBSU%S2D z62At`550;$k+yxNmbG77gRWfH(a5ZG$ zncEGXnKFlGt`WO8XF0W+F5sD=S3Gl#!7~dj`tY*FYgVQ3%+M>I`8;^$TJX%gm#3~b zpnDzOcX&Tnji0T;_A8O00z7j$-z+cVo8?E~nGeneZybPU-sL}PcFqR5t+T=2=Gj31 zTWkF+bK&F6Ehq5@j~DRFOG$pTbXELUF5FDY70oOLfW^G-X;F;lN zpLI;O9*M)X!h5&9_Z)V4p)5J$5;-iMnLK@ef!}IOB9p1t&H2a|QFjrZc|P&o#5%4s zZzk{0^Zo>F=6&(i57OWAI}nFwHhdM&?EOB3F}yz2&>E|WxJJ28ew)E>*xXAM&efKcu?+Yd^c;?zi=$TB zzC%BV|FZS(^2|Qh;hC%MO7P5EkGQ2cxL2?NEhLm$x|D6D?GC;&%!e!zwmQ- zW@wM$nHl#zXd-CCP4-$Xr{cZlQ*k8UQ*PwmLVE}Kjb0b~h&lEVbE$nq*R}ZH{W3n3 z{Otke%`N8St&BN&^P%7y&=t+eeb5hhbMj_tPR@ICa<8Gab8-f)_II8+dC|G(^T|b8Mj1IqQby%Kded))DYT08}!K;ovY887+ z{yR-#r&Y{rp_EmcvTCzOt#mZW9#v>6QZyBgCRvA~6Ugmt>>VwPa@gIhM)Eob@zT)^#b$ucJGh}G(_-D}Sm{j)# z;j9^dWc&MHGO|rF_7ietjQ^xJ{!`xgyL`r z@XWRNr*&*k@XR%az6E=$CVv7t>F3(t*0lOx-sAhk37#2x#aRjuXrl$0(^7cm>Z`$R zZ1^=~*ujSXkT!2m!&7+6*wrw04UAnwYV2yR#hcPUPpBjeOro z-nTS->&Va~wmXfESUfXr({)AZUAd6|y18lm$~H6~6&)F5tpUwN>1V+S4I;C}GefWa zG}KazXBNF4HF{l+PFlS#^Yr@Y41N|l&_&VJ@bFBqcf`I99Tk1t>m#;uk$6Klaf|L$ z+~Oj!hJ z^Qs?ijd<`R=PCDaJqaykf@eN>Pl9I_TECq_n}aszXm1Fuwv)TI^Wf)`cFs{Za%ub2 z2V5mzpDVNDdvR+=A4F%Ij6op_$qWoerp2yDR0iHPt7^a z-kdXTXszGMpw+%_X3m*1ehb;Ut!y{(S<`Z5_^q3s-!X9JyKP2<+#qBCQOjTGUT@dHxtB`b%}+4vM~6PvR1 z`pt5D)>-;>yFc++r=^d@XZ0sO%k4YH(RYhyhL6$jKEBDK{U*!~;gyN! zuyqLb*6?$9X5Q0wAfw`$h1SP2o98fpCWxk>_3_MkXnj00ye`O^Q`&3s%!WqZ*H{nF z5p){QfsVdS@XS(=;F+mI@}%$gq)qgx^kq)l0G>I2FR^R%c9$!U4)1W!ao^&;%YF0S zSl*3xB=4#CjKwqathg$nmwdr9%RA&pn?mQ|nW;;$VbrTW7&%oJOrJYFm2$679UhoA zNFOMk8C||&)*IW<^GzYeGk^RS(S3Pea6!;2o>|I8k3_eSNAS!oDLR$I_;iP7HglT8 zGo$knbA<44cxK_dj6J~H;h6_cvUekYKB0B;^UUwHO`C~<2ri2E6dMZt-WXW8Q7}^@ zTw~W`z9pphXe0v*H+nt3NE^22OZjH`_4tF*9*eIL=jm`LHu8h$*9^+>+Om64~k4Zp^DxQB(KE?;Jcg`?inBJ*4# zbD5QS&d5B7Y=dtvvtr?(3#ZP-Z$9hEJe88U*~l#UR%Y^4=H_2ZbW!?6;yThVBKNR9 z^UZRDg|lr*W8rAapHTO9Cq5UNuaegO?@WBITgwQ48E4z?lBVBP2Fp8*g@gAug?C57 z`!6i-jtt(S=a#pmQ@ll29iCanU9fP}dkhOFa*B_Emy^xw3(czq3zx$O=dL7pW^`Zs zPW-mm0XnRq+iWZ-#F7U5|f5+CPJyK>H7E`)7=v zbn|Yvrzg;;K2t}?yPBph)otj)o9E)s!^7$J&6J+B8$FSHt0&}Xo7>Ut-5)Jr^{LC3 z+37a*wu{U+6Pcf|GT$^ZcOhHX+smxF4P7{UE`G$9c{U|;w~<-$t<2=9%-u$}rC&t1 zrC&tu9)0GUwPsTQ_ z+weXo{nV83uD1Qul)+o{+47cjig%H2%eaefQ|~d|7CA+?;pJrW`a<(|e<=vJn2WdA zqoCjL=ByT7=UL}0PuGQB@yz5E`Eb$mnfv4DCjC9lHN!YgCHH7LL(gwskN=JI^AtJ* z?UL>1DWfx!ygTXX3^c0S)DiNorm0Ky9J+AiT>LNK;q-hYr8AXAXC&Y140+oAO7y(b z^WoIx%k1==djC*lo=jx^eJk^%k$D2yCf;6V)pO{=v2*dLFY{PR=2|1O;w?RQDj?<#}koz`=B ze_D8-Pk8^l<$XSbx9GOzE$I~RB0ZOJ7d@xmV|p%fik`#E$>#Ni=5@Zc57%nOo9V-K0@U$f?QcxJPXb9iRTWlbvbBiC^}^JX%aM4QYfa^@~`h{ZF@oI<|ZpyW>` zd>o#cys*!#rTPlx4$n-U?vu~o#eR%^a&u~*eEwRz(~VyvfBT5N>;e1agN%Lhetob7 z-IvX}Nb$@E&>wmGx!jBI?HgLVPtKs#elPzVI3BZ4Mz%k+vTc1h2sh<=QTK#) z@2Gg@E%GcjZ^zpwyL|S^X&abTCHXmHW8oKNB3oGfR0d<-JAa1w6Bq_f&C# zXXgDPJTv2~x{eMM;hEXTDV|w;xQ}Pn{f~!dHszvUvVRafb0>YS{Uc>Qo|$sBfA$lW z_6ZpuLnk~G&&;#KGxLtaGxMIVnS4Am<^Enx@yxuR?9)If;|jl55p;YXt@^GN}I^voKODAHyShcfNbCV1uGl2Fe_JvJOCTi2dG@!OvcE0Q{rf60jP0@LitWD*t zSk^%f&rICsf2B{it5_dW_D9mc`g?R__3_L)j~G0&%p(%-WG*YhGxNT#b(+wvesrrp zrCUwc;#{Ox7Ne;C~w&d{x)`rw~KS7f(~&@X$sHI&k=aZk4v46W6z3|bxUadd0Q z=oYg5td(sMy;_hfL$?+^-CFW=%jKh6aBfR zICHDztgMkUx5m_&TP^2k)s$6pj@Dw%+*-|ORv*%aQ1m_4zeucEfotOEv68HID=Ve}di_Xh@9_jNq zzs%$B&da=VX@^|771m_lSmy>g3mV`osPSIbo}2~Af1^~E(Z-V}sWqXF>dL%ie%@79?f$rmWtTWuFB}f0(l%#WPoUcxKW%E)^{WJhM3? zdfBW4eAdNl@sP+u{`LlbWd@%$li{;&)(0YU zkWj)>(|!0XurrEhUc?5MjNj^}&)8#s$$qn3#-v-z5Jb}040>ueg&oYa+*a`hMNwG_`R`97Z6JcnH;W7+>-FlSdqXIx#pyAvAmc0(~NF`%EzpS1(!S4yYv3Z*@QL(?j$ajP7cjt@Zof?Y_+$`0T=KvbvC&!Y zyVyNon3qn2nd9oo_%61W7cE{^J9gj2mS_BtJ2QjUe%m-&QrhF+#g=zi7rFV$d*|49 zv4xhsgF6cop8j{Sc~`!R{nPYmL|X8?XK0^(7n^5`t1S91wpZURd(QM0GP&>1`rpOo zeZ_*xUA~LWUGSi`-pp@cADxJEhbQ8_gA;MIdn!1}pNNk(xUZiIt|D)=MtYTNBw+|nUzr}lb>UsmZ*WrDK_j7BHGmkwUL@UU!{CKdv4_-VEUOaay&aYJjZ|t0k zUti*Xe-4`adarzb7eIy!aC7`Q$$_ zzHVh+GWhUegBORF;>CGZJs$>#yjXbew)dXHh98_r&JaZoix($P-#>Vibt^KNdYz6U zUqszSc=7!c1uQXXeSe?#`)D)oOP?xUJb$8q7dLzrFHXL`lYdmk@P7VBH{icP1OD$+ zZH)iZ#U>vw;KfOsvaxW$;Kik!wDK7c3^r|-exBvN2L0NY@FFJ7^9+3@c=4MiEqL*1 z((t(D0p)fYLwU&47W_*S3Bjwxj-UmxHykIA;soCy{l@ z$U1R~-%?21=?DBosr7+NJmU)-UOZQk;Kdin_tut?{1?C)d8{`aUL0D*iwiA0o;7-* zvPggRmL|GJ*~?aE7>97h8)MQ+-wR%R<!h?kK+tuN@7`UvERNEhM7$x|D6E4;WZ z&%%o%zwonuP1~9N{x##i2TcTRxWZnx;dH!Le>#rZ-$5*id&A{8Y=0t%s#x>XvgWBx zt$C`h#XtSC%u(cT*S#waTfv;RW?)WR-XHuVbVX~PTIlOOS-_mOq%fzQUQD{i(AqUm z2CepYCo$=Iv*tmzZ~css?SS>pzFZk=o&#^qbLg#kTs~_a@|FJ~YaaM(y8anraPJ@n zcR9}SzlnSGm+7}B=(o%9of%>Pt;7JPi2*bc1DIsr-AD{z`9uM8x{NKOLw0>0%CjE> zkY`!H`!Tp__V5$%njr=-!QQ>qivdX4xG9@7F@SMLlf(doW-LWB=4g_2K01M1FNyz+ zNQa_F6^wu71ME9e<6m(t{@2pSZa30@p} z#jy$xXrr4lho$i1{QuHzZ1^=~*ujR+(&p_kcnWVByY;hiI9(Nl(;cc$E;hP;HEx&w zA%A;?{vCZd*c<(o<9P9rhl95C*eyZ7;*H(NuN33OCm$~0#TN~&9lH!#?a#?yp`WUf z-(MnIsglnj2-#Pzl*Vhzout9bnNahPC5F|_knj> z1uy>YV6Pe59eg+O73^j3Q$e`o+3r%xcIDZ(U3pI1ZZo!b5nip>?nP{F^iu`AxRf=R zvPNUO4UQ(UU7@K@(bPMd#CFHf5sMe6ZMv=~y(qd4cG4q_BMzkqobmad#mpWqMds< z9|A|cl)_Q(JjodeWz<32W(;1um2_*W zoioTjjqKCN-eKC=Y1%2YemjMB3fd`0dn1Ha+sR$q*=gE2Mcv4y?Gqo+ho4EFE3_Y2 zbFpVg)?bW|PpfM|%7mZd#ihOIw8M*g?RD|5RDHSz{XY0>{3}(z)GJp+|Eu3BW6n9M z!e^)aR@t@qy`r<^Z@1%HCYf_4Gv=I$_XqERu4v9_g}&YMTN9}{XU3azS`4lATN$+4 z_cNa()@kM(WLxhvvQ^@9M*TgPX4HkE59 zM%YG-@cg}T*i4MDnHb^x3G^TpBb-nCREb?D%d_~Ybd2!)Q*l@WuXbXDHN*kiycnUB zRhzPESC;snxn#|3eYEIa)RWkV#ect7*8cbbsrQnVL+EV$kG7$|#dvXi)^F0U+jEJ} z`gQ4JIeVB(e3sjH^rG(;FAg80-+du_1nEDq8M!N7TzuI`qVKx@nKk}O@Z!|BxBR%` zV~g9V8Y~8E)AKBknytwRl zM!95v!&=ed#f4@yv2(#xN%|OGd?IO&!;7=8QM|a>D>=Nl;gyM(v2_Tx+3<6Cao*E* zAfw{Nh1SQ5o9A%lt{@tP*2jylK%C zyf}48p7i~mw23~IzRYPGz>9By7hgwj*SI#&;Z^SI+*i1-abLbSmUp97$$N^q%Y6Tu zXT_}vz2pmCT;3r+S{6DFFHT*Gy`x_B!N{q)VEWwYsg!$t>hRXILHa=P;^^`f6R+8Z zKIH#l1qc51Pon$szTmE)RlK;Aiynz?A&<~4r07%*4etF&vQtb*2Q~@HRL_Ti$lNH2-ff-n70P5MzD1C$vtYwz#3k> z9?#H*?T*rT8`^&^?Gc;rc!c>2ym%e&)_J%+Xmo6-BjjC8QKh5oNlkD^kmNHiR4>7Ay3;phi*4}x=mfa%uctdcUfd^No0Q2%G_dPE=RWV zx0hLU8@h1wT>LM6nKx51FBzF7-^xs$%DiNBTlz(GTlz)huGHt8v`2N@wk56GwB>ne z%P{%}&1Y;|hEw_{{6!CJze}2aR~antv~I)ucZK&*!h6i}9?IY?`fPbiI>oz4w`JT# zx2gA-Zi}3v+wgL-d3~XI&FJ<5bMXRu6!aV3oQ0$7JnNk0>AKJ>UYxulA1->{fu6V1 z-)&qSjALtZkJ>Wyy#0FoQR#~&bOzdswlA8D&b07ui>EWtsBTk7$h(@RF4c4B!ufOY z1$a0;pHJybztI`Vw>m?fw!a@epY!ybx_p_Po>T8xk-0IE`Lva}(a7A4Y|U>kv+6l? z;o`aY@EK3$#gxp$MrO&kGLxq=4;wv~ei1#Fei6A_^*JZ)Q9ZY9N$WXnnWOIQUUU(f zKOwDtrZ=UF!e4aT_PeC%ca_2NPU|_m|D*8kNqB$L^6tstExK)aOFG57NY7>5MbD}C zn4XKAqUZ2(vUz=>d2?^=!?m2Xn8S<9I!f^3*hA*}*Q|LRUfitX9A2DqS(A$V$aNeq zKA+4b(LD2sU>al&v3PNrQ^;2vl>Cu|kHd?T7j~MpRA-^w;l;_*eex#py*c*DbE$pu z=GC}U#)SOsdG@m1#P_;0;(J{W2OZFT*{q8cFFp(Xythy8O2zm3z4+dYp|$(u3|j5? ze&TzJCccMkXRT~)?2%jL%Gf8jdHdvcZ=dY)*(Z~){M*?l!#^404&pDwoo4WD`$<3T zExnKL-hj=XdmnxEnIP;wQNW9LqqB_P7wwuxo{4=pytq8GUp7*cyab|iWe6j?&HOE|Ks7sO}Xfo z>>mU#zS?2%;!@`0#VJ?&XFp+SUxilZ3Fw4};>CH-;l+8!;l+7R*GxWMoN|A!rg(AQ zPxfgkytwGPJ%=>0w;pr0rg(A66)(;u` zFrTuA!>jRxw2A!f9&~nzxY1HZ+-ULr!8mk9_Rs}=k7o~yskqUa7dPrOwALOnXjMno zh#MUmdqB3wt!y>eLbY5O_E6*5L#<~IE+2a!U-{P#D1S{KcEFFbD*7l_%~@6TW%}(2 z`i--yQR3a@oK+1I?>->jJxGlCfOvP87w_&$?BmncKIGYtcgwTHk^Hl&VdB*T@ERrF zJwTkg+&in1vVK!GXyV=djwXqB3r$~&rq9tN@g|8QVYd!1j-L3j{M>$3yqCxRHtK?K zm-{~Uw$Y1@U~_r$^1UjzI}ey+43I>!kk@sWBhH(4 zu)n3MAY4k>-_F%|UgRf#dm0;QWIk%ln2#<#9LzyiWPg*;PkZ)vF*P5xdh^kQp|yRR zL96X;Wj2HWwF6xP>p~yp@|=N` zVSn^hcnDs+7yDb`yr~=eTfqK0(fI}JuhX-?&XoPhvu}U$oVLGi?56`>z1Uv|cC+H0 zH%VE$DeE-$*Y0Q%`xBbB6iu6>DLQYGwW*vH%R0#6#fkgeE4tIc`jE1_rGGVkgRDMY zT;~yk7ngZN;+@Q8MR;-E*R{?*y0ujmgj*@y+P@nApztSudyw(p#kcQf`1YOm2k(Zi zNVoc-AM|u)Y_B8H7Q%+eCeh+ zi<&WKQ9_Gexmb_TERA+bm1l;ts43(zu|;=YHibOt^D<=A^Rgl2S~TZn z{iOR-GA>f@JoU~~?~svk*vKffzKlXU2ko4ry%9pIGICcLhmDMKeuZ43zac)(o?q#? zS(0BNZPB&bN{Tj*PJXZRGOxWw=Vcl7y&ZpdUgo_k?T{-s&6>;`>s%dYLFYLOsw75T z%~?=2XF=^JXk+Rus6Fu^C3a4iXYnECS$Hd6ypni$IlSsP3o7Tl=e&0oBxPl$tjv{V zp9M*On6n_oi?=0sDa8|#)^TZjw15{kXGAZXb)eF!_vp%&wZEXMeI_@U50SE4?nGwxi;;l;5*hZmRq9c_qm_^h=m z>@(%Fa#!QL$U^@17=ERa`LHr$KCE~+5Sfd7)(G@tp3kaC&4;z#d^l`qtw(wVG+sQZD<|dZFW74-UR?5h zytsJ|TTjKZ|G!|)u8PjMT6xFEi+gnLjLXmnA3fvZIeo^ZzCr2}yf{4kJ(cvO?ALD3 zg8zZ$7ru%Q>)E+dL^7 zdwJ0;7;bFaVaVkfALY)`pmiAXIi)?0A(wa11viIz?;OLB3oZKzcRnUOeGED83Woe^ zx4@8-F2a!WY_XO_7;>+^TlVbfEo92Xkn_IcL**_Qa_&BcJnVYZ^}(6mQa#&xoxD4J zkH)#)M_Knh7Vy0%=Gn)B*EdhZcQ(M6uY)h2799DBI2u0{JSe#Gu~Wfkx$ljVKXNLF zhQXE(aZP97%a=|C=PEeIr_ABY$2@%bcnV(*z2eK)4Zd7x8IzYSes(p5FNa>gN4^QZ zd;@$r@8zlM4d`Bn_Z{BPje;*90bf3h3`5|{w@%03-aH+DYvXjBpSe4DW9@YO`sCfg zor$}H-1yzW-q_v59_|jp5w1=4DvPICOI~(;$Nw>De$@YQ(YahWpOh=Ue3tYW`RLx) zt<1BRu^GNcUTg5>@UqWp7q#G)XA1A#_TF-!gZzlApQzRaD9FK=KDv~n1}iZ3T$-)Ue@6nuFz^-4Xh+82Fc6VEf3 z3;1%SC#`&{1hY-srJpCcFG4@_Po-bS!U>)y=qtgOkDIjM%g0E=?UWh!3<^1)lvm83_hd*d>A5bh($I%#AbJ{=z& zydwxF=m(iktk0a}89(9h<;!;``0{b`y|t+N!x{4MVGdsot>Vjt79P)<@laW$zsgG! zU8C$}J64QCSniE6X{9d*UtaFv%jb|ktuN@7`VZuYNEhMD$x|D6D}1>v&%&1@zwom@ zFNF5k_sALdJ!m3m!+G|;HRbVMb$J}s-9zk&drd3r$|r+pl{M0MRS=G+)<~;Y6o9DD`3qBYVw^qbxqX*RV+TJqLNYlhaYkuqqtzn6Z6y^UET zA={^{Y(1=xy5-7PBlUP|q+V~0-xJ)Sk8;&d27A@5^xKp4 zTWfr$PVnW#3~GrPG!iqYW}n_j%%IGR8I)nm=#X8{hw_XLziM?@o@Kr7$LwmKz=q*f zN6es#y?(0~Gmx@MQ&w$a29=H`i5Un@MT(}v(Ioo963D#lc_dzH9y!JbqR{zU;;p!6!z8reRy$TO#qj8zTQuy+fCxYA9 z@N3AhgAKnxo3{tyDZFLu#u&TGD)cfnc4JrL1?eC1w}+}3iw^{Q`OhE6m*+kZ%tKdX zy93YH;q(ImDz zh>lo%Ic?K*Md@996TGy5FNfxS(UF7FU>llB>1T=i9U!yCmqV}pbofXyzFhRW+vxQI zI%)NK-qY(j^1G1(T@+pA8|usnPv~4E`nXq5tZU*P)@8(zYEyBfi6@yKDH|g;RBz%) z4JM8xwBFnu3hgMgqmK4Q2(9i5xvTsQ#F1v+q4KDmE&PtA)y`-~IB)C>`PI&(O(J{B z&Jp__?H=qtuOD+CK3CEzIl5bA|Q;Yp#$rh_1gF zAD>p&f|LnA#g|Ka(P@V-_uA{?WvTjf4f=iX*LYc~eyLZki2hf@>`2n z-!kZ18z=2_~{nBrl39PY#GsGIZo_IU5GTYOb=CN5=p zQ+jm|S^30gy+&Gn zRzC4rZr{=T@dCaaK1RR!U-QI2iOonG6<;pCtUu9r-TzD)eG>f4*Uta#cYe0i?a zVSeQu#g{`{gfE9i$13+o0bee(f-jdnE%chkJ{4b1S!CV4)2^hcD+nZ3i+czFcU1 ze7SiJr{57o1JL^T@@Z&&d^x->$eL5yYw_iVM&8%h8_yAR8efC%LaF&4xzr>0a_W#g z>H9tCq)(+UbJ_;*!;3#QMVo=Umbrw*S@8>9~uUyd$cvG{W6!-FRjU;d!zzPv9u zEoc>AF6E*}qFcnbRD;9G#DtBZP;;mkZx1>;c{mU*2|_`H1|n zgx1N=b4Z!i#e0fP(nz|I52wk{;E-r-!zV9PS zzn{YSI?UcvzWll|A+5nbKGPvz71G^1ZLfT&np-X2}zoZ!JIdit3{Di^O%LUqtQ= zedZe@=M!wAZA%)PNL#)nZP~!*Li1a;EgOl?b!!>nFL*@T?~IhzkC(Vso`ycTM@t#Hz5I0iDQW*MdIIey zZ2NbOo-FY0f~P0Ys6JCi$h(@RF4b-5Zk65l<~4W}^yKN3p4?~jgnXwb_ZdBT`jv3f z({1YVWp=tvz4apVP9pOKEAx(#c^=v3-(F_bZRl>5-T&r$ie$c?lKFlkGx<*D`;E-k z6Wx}65#5%45xE!jIVbH=+^ua(TDNJ-H?Pu`CG-!PzaXu4x|GsC;V*h%`(4uXyXuPN zoz`u5|99cNnDE}WycaWgi#}W4l1}k1(rp=c(QWEIrrRQ?=r+8ZY+hez-Xyv`&RjhH zgz7iEIXg$!c~(E+>AKJ>zMQ-wA1-=+gq|PL-v?YrPvcjUdvuVY=Z8RR4_`ArT=K0CCr{hIh7T|I z@a5Fy%k1==dS4KkHxijYZ)M&vGUt#j_x3WYob@<^kK5nUpRHf6;B*?~^Im zDdBxH;r%ho`(_4j(QV6H(kb3WdM@KGdQQE^^jzc=J%^W*&Fc%zEB~dp^x<00TFl|g zWgR8>a{PVf`q!*^9lqSG;~c)6a#@p#{K$12Up|)1CD9o3iC`dP4zc)hnN!GD8l%7Ra;TBVY9P$u6ILGWp7XaX|TNy1s*0HF2k5eA`yiPkZCw%Ui&e4!@7G&v0&9 zTELf2qqB_P7wvvjo{4=pe7QWcUpN+}5gfC|wr}%Powg_LY`=3i6Bkw-h2gw>n%0<7nM=oP8U%dY!eXji@ zWj?-~a<%`F)3K$!Amd}`goonGd3N}6-f{SH-qSUck1wa(->WIUocEJ`8giCCRAKjP zVi)cl(!}0+%-Nda%PCiUIb-S0s>(U5D&vgm=x%VDr#WZitm=q(_dNE{T}2!(We@XL z->Ld_cT=%8PeTCHC=YYajCL$GhcO;z<5k)e-UPeR!2~R<%!@y4*Xf zlCr!hJ23I?yrW6t-9nQ~(c~OW5^s_?lEjeV2RoLU~kjC z_ylZjfxLy@VxPIy5x*$oK>qd!81N(T~A{5{-!<BUgs~&3g7X=h>gjr*Fwm_zx(5O*eG};R^OgALUlCzdU}7z6y7-zg^CoRyc3k z!u}SpzYTPL0sEWu>~AtNIV+ZRki(Z#c0+V$g7qO~zb5@F=S&mG>f_6G9x?cGnMWkv z$y`>1FXw$->&&8C?Nve8p3<$^tMUIR{K?<0XZ+jIt@aGvYWqO&Md*rr`+4Z=J>6Q)A=j(0b@)n#-G**7Eo=ob0Pe{w+iYr3n0 z^8wbG^pQJr8)WS>#P+y-Ys>zoDc zRjENF$Zpz%`Lm^up@Pkcy;ozvx6e294#-g*|a+a8Bo@Y>)kXp8fnb?+=l$~H~e zrYlQ)L;5U8`oo+BDZYHHRKK|@XVf8S9hb333ixt!M)a~-2P)lYX@V~oUiQ3*_A`D7 zzMOL9Gx|sYUydL8!AKn*+*U(`_ArU}qFx zK7kERCUZyFNT0FC{*wJ3xr|ApmL>Rd(wX>jvrl*Ua>=j@I-HEg3KA z`;8<&9KM@9Gd4hf==d#@1_P|=CGfqwCxd_cu964d64$%{u6Z6@^BlP5PVmb!;F?ka5$hxZ-c&ozT_$n{nRdp(sw)LqGZ&9&0X98=D^sIN?+@^P4Q=Lq@!5)N?#K69ISgOLHIuLJ z^y7;K*IZ4#Qctb+MIZlt5`+`21za;}Q#KaPm&7Nf{ZdX^`OMSyQQ9v3Ji>hj`r&cu z*RgPz=VAIvaLq#|Ex6`E((t(D%JarsqfxQ1@~xI0Wwf$l7mY?JJLu*6v|VL_eUfHYOJK^UQwN;hLu^6I^pI`Q92x zam~Zz`M73i71u1Z@OajYhsvUQS(4})WiQ*YVjRL&Z;VMR{mdoo_mRNGGN+I~tuN@7 z;+l~oB3*=QCQohPt#Hk@JPX&1{KC)SnxQ?0Yi8W{poyRjr-^x#pCMLshP?{3?&AKf2>N7uFgT2JJ7+O0wXV7YY*YyWsg_)a??MJL^Ys|~5a%IfTYu?{VO5y=n`# zj1Jj#WGK)6UR9oDo$1GlrrB#wz-xxR>I8etR&TE=W#gu7((F~o9Zj-V6`HXW&6uM} z)}!bIa`9iLj6dm6^k|6j&oln{)c6lwjlcCM<4^wfO<6xN{>>TV-_#J?fv#x$r=Y*- zjek>W{M)_ppER^~{4;2EOxhX$!~2u(3?SQAtZbW%{f1l_mNw4Z-h)9QbDFTD9= zf@_9e@s`2^+Gt4TuoSL&`pMunHvAeg>|n!9w0XOSu@l}hb}fwEFk?5I8oQRO@jsIO zA%DB!-N^gFV6XEF$8ERcgTZg6$F2_ghEEl6%^hDTw%y(j7Hs#tp|xX|L96}Q`vvyG zX6%sdqLb|-oL9*8t7;F{$LqOA19|q`5H@?Z+nlmpdG>8rp3}D5jO|^7S1Y!A5t|$RWC7PK zWeujR(b#T-qe*O6XzEim^^PX7-5zwr;+kojt}9CK%7slHt{IxYc?2D4WUT?sUz65- zUL!JFTr>3APfaOYv*>l3(d%(^((3h?r`Mz8w;>0*D7qSs+!O4L%5P&5ecT)SL3EP1 z!!YrS;Z*#hg_uMWWlh8+#!UQT+{7=0)|2e=(b3)rq1F8eca?vf_{DG{kJ{Pz z@2YHSXS4(SbYf@7uXZMF64_IBrnqJ^Z@W0nFl}m0)($RCLpwv(eo+-|D>rePa!IG! zS&r;ScXNFlTGP&I(@vrF+bOh%&>lM48zHpXPVU;yYSYdE>P9YYpZI_p=A-1fLi<71 zfUH4u{l)nBw7M3gO!z6TS=x(EJ6yBZUKgiH)u(IB?}NX_X;Sq|y>dnLzxu5K{MHtJ zYb)iq2Cl{(qO;_0FEB6kGUxPW%sD*`K|6FsbIu&}3*Ma5lbUk|y*X#r&|1HhL92Z~ z$efciehb-7S=n}(Z+7I$m~(c$IVb1MIW8Z+MZWUSG3UTPNhf|QH-gXdY$`WLENhln z)_P?eP7}+TCYE)v6g^1AvMwfms>H6-0NtIujk ze3sjHRHN@U{sbSR-+Zqw@lRqi(vOO37GKtt=)3NJMvT7_Tr>6UO|>eHvk2E*@8Ozx zUvbUQ7U7zq(Xp!caLqz1xMtbYLa%A;Q*q6dMYirC{EzH!EUsDhJKbEezoB0pu32b? z5<3^{kED;`n){OWI9xOP8pSo6y^_N<8(x{X4qJy{a1B3)Yvw&|2Qn(IS!jJ+vw0?F z9z@;H`ncvnXnkBWye`O^Q`&2B&4xza*O(8_5p){YflkiE)sIL$f@`J@$&TtodLHa;(&FJzKi))5HTzgV+&HK&hzPvB^ zAZQiWEajp{qFcx#xaKHDr*asd?r_a!PII_sbUtE^5FQTKEPO|?2Y5SNb7ML4F8PBA zt&^YUkTR`{_Y@Pydx{Z-es3I1+}M4@9=OJzCialrqtOgZ+}P9cU(<%|3Gijm{*|;x z&&3SBY?yb4J$xB7IyTf1@~)<-OEGcK-70(Mo2&4^_kBd zzstx>zLWV~M&?f@*iY#fiR(zeh}7|cF)O!pQ zCvu99ftQob>kG}R1N%9E4<2A$DD6OpweQ4liyffDY8w{U%yYDY&ZGBx1L$@?ecZ=2 z@HFd^ z3cB5y(vxbVC*(UlsWy7j`AV4okpgC)x_p_PZd31n`)OnzNo4*GX|=}@BXc*hb-%sL zs@u@rDtq^vyYMK;{Hc`8?=~`%?__?rk@-`JZcD$2ZcD$2+`amollG`?+qR^2o3>0z zTaHQs>Hq)5w&m!O?tz?c3xClA+wYR5-&I#E@3d~i`&Hq6nDG8rmiJ)>Z_#JVTm5-4 z?;_onaTndD-ebBga*A%l%gN^Th34gdF$jB^i+kClpx^N3%obheS?4TI*M(kj&EysN zaMANw^n8Z?zR5NFG;?Qik8Wn@`OMStbJ7<>=nS;KZ2Mx!=*$%FPI)>5jp{aaguJV1 z>QX(2?p9gVn?DPWg3ffLbf(Ja4EauHs*KKbyb^YMKAgIInVp_fZ6#k;yw%^tF8C|lx(|Qi?)6!2n3GXu7PdgdBMYk<) zNi(LZlZJPZp3At4o>O*A&qYqrb9lM;y}r=A?zi^gTFzR`;hJR~CAennA#?p}*1Qha zY}RoO*G##rNkx9-I*x1ZN#>HMhxtU#-enH4xMtl8h%G`R`CSPghifJ;Y%pu7hC;c+ zHIt|Nub)9%Aai>mv+iKEJd)?rg>%lX&gKKUF*Su9yz%_57vy9&t?V3iOiG4U+vpln3 zJ%($p?})?m;3dy<@6NzAOL;BjwMFFxT(gwdRB?605$_k_ni*f!b#$Nz*UUanan0hx z{qJV${^!!i$V+g|rd;%E8yyu~^LKyB;F_h($2C)~_RoI8(tZb8ohRhG+3-+YGw(TE zGw(QDGw0w;pr0rnqLx71zvIy0fbN@^~*_ z&e?k<=jz<|;juxyyAOLzf}ohvmusqyZ8@@%~Oz>6EX zeC&aI<$o}s{58FaJ*;q6MIYr>IIGIjkMvcz%URVZ@$PcYs)mVo9}w>zB*uI|ynC~x z@EwoM#6CW4?L(gZc(*)D9LYbc8YW&n0IyNv-2=p_%e}KIDeE_7gC^eH?`V>Ex6t&Z zX!;z@4Q-diktE(^an0z7AIr}zf@@yD{(8YM&v9SG-g?0`FJp7VKJZ5OEj%3hk`x>7Q!ZCwu zMz%MajBMo}<{L?Jy?9(l%E_}jQsMm%u**kB$XEUqFDidckAZ9M1lQaNu6Y4mGySwP z*AdT9r<^C{(tW#y{cU1*bJ*WH_bu#i4*ToC{-*B_!s(R#bzF`APUI(lyPP?rocX9c zV?HYTU~n6{BKteSrpmqfs4O)fReST%p`o>Xn?bAXt!6%&HTH*WlUBBB=AtUOGUlUd zZ$7H=<|CI+-;%HVYnYGVuj$$A^au7wALXX8zfJ6qz6#f|zh1#LbKcaA{VlwUF+k@R zKFL|7XMYbr_W6`=U-5kVx}mkYl|ifH zy@GFFHM)gtC04d0{Q99>8NU6<^X+AxZn=DPi+tr@hHk-M)2rxKhgm~Tn>A!RYo88p z?bE}VTLWihot#B=rp}@oIA5xxtd4WE9&;AeYtEvC7QJ%&VWB+_?RiIgBZOAZqPVL( zy_`k0Ay4|etPOe6=Vi#K=VeXERb$S}8b~*!WUQgyD(bDG-XGCW-#5@ac z#WgQ+-m?I&QO<%EIPV$p&VrD(EYp%FfM#>I2`j7xok)F-%Rc=&rN=}XzK-5vq|1I_RKK4V7O_L*WH$k+2Ci66=Q zYWv38Jvu8fY?-^GMLk1H#z^{pImr(@S>tuGUZFp9{H90`o=Vb#kF$?B8I1EC z>moN_dG8$iMz+whcW`H6!qfjoHt)(evj6K#d?TB*;Cau`z6;Mk^ol%NTxHQWvc39l znRrV07BXdiBb)aX3o3W{MmBf<8`*D(8=n9-J`Qet4BU7n*zgf><3}fx?_nRF46Y(~ zbZ{~_+ULrj48j~&<>SHGSLd!vpSv^S27?=?%;CllACtL5&&7rZfZCVsv3J}~C@1-a(?g1x5uf~fI6@D5z_;8iEiFkfA9x)RnV`BClD zqF=diEGbvq_z3AH^3k)eJDIOw3!i2UYH;K5vd^mf-Qbaj3-8_b-g6l7g^~m}E^=7h zIC=X1!lfWQxHqu%I$cG+Xyi&UZhStOBSr7PZYS^0^Zx$5L4@2F$XDF>9CMqM!?Z_n z0XI(Cl<^;p1~)F{q?JzxZ6BcR($D?eC!p_q zNqCKgeLVNkR}X`8=rw7-fnQ?MpkFzUj3=Q;J*w?V)cbSjU7|URK7Ok zgSV#JNq1BC+!b&h+`Evq)yUd;CO(>>?JbNw`dVszOe@d$1cw_RxG%wtHu7 zNgjRZzK0F1;>Lv*9?zQbP+6qET1ygLqwHlnR*XY9>WwjJrEdi{K6)u|vEotWH+|*w z1>I6#fgBO(BHTE6Y6EYD8@J_IxN+nce%8N*(#{_*dEv80=C7P(&B?g$K@&k6j)8yP z2REKS6Gt1^+AjBf+PeXtCe}XvtbO`ZYoDg8{0@h?iu~;sVgbX%0){hU0Ye`Q{tI+P zYo8|QTfA7nP%0KM?!^Kc4Xs`KWYB7VkAEQuhs@ds+5W)F*2KD}QLc=&Pm{OyY4+AW zE}yjz`O3eUwGaF?J;d5)1^-1K0X9kGBa_VBGx1ynkkBo-hv z6)BnuN0Y4g(Fx>wN&Ig_Iut#+$oO|N{@tnZzj!tNMd@Smw>uf58ODDmWBhM^F!+V^ z__ssf>5c!*)c7xWX=8eD0XZ*=m z{%wpu{59Rj_}{$O=tbfy9By3tt>sLD8z06$U8G!a<3oo2CjMfO{1)h>pND@>)9QbD zFC2O*!LvfIcvj&7ZPY7sSPC~j_!M!zEAeZL(+)QLwU4q#YKN!rma#j8UmknTBLn*6 z&Xo?Y#QV@n{`L<2yY!)8Z|Q~OG1A2k1$pR-Y?pc<*qn4`cC@dt~eTeC;s=YI2`;0^Q&jO!ztU9XWw?^Ic>X3*O+hNwQ?=y|99iP z(N7d`<5D(f$`-Ea7)NuCCb3el$t|+}L7Y>yazK0FXlcFPo ztTmu%lYW+X-XJnt+&J{wPeYfAzlSY)-Dvc>7oD_v-Q($XH~Edofi8-!hF$j(6MahO zBGJdaTul(|-_1U`CJ48>wBOuZxc~7u%u$vDBb}p6e)pcQNxl;;wBFnu3hgemyN>pT z(CU7VyUL&MV!xBfqjuK&dn%jS8SMyrjGZCB+L^RTWKY?d;>OLq?Qr9rw5b-GV(s8? zOg?84_-Uy-9c5>Ht z4w`m$Q#W#H`@{$ABTw>Nq5Z&`D`X9#>o3N~r`5F}Wx`K!Xj>^|J85RGv~B3=d`EhoO;gxejJ@8f4dLgvc{aVmNDn7elYktbVYuv z2l_tGZ>^^0oGow8={B_1Z)MPG-*0^(2)oRjgKUFVwhnw&yIdK5tHbkKou1!v`S>mJ zm47FG3;vq!O6Htg7e33gsa!X)!Y*Qkv&8V)i50dJD;y|64^pwhfy7Uh*mbfzi=Q&j zQisM0XNd>igjYAQ!kfecyS!MTluetmX;+r`pGI_sHH}+`i_YYdJxUR796uoSUb1os zos9$1HnAy7|4wAu#%H~ke%9 z#>JPlCi<@XpMK-71UF87d!ttrCtHLY?<;XwUU^4xbn$NC@uM@riE5; zKma)5azH8~WAZ#)YOMv2(#zN%|OWyfbN!iwUr= zQQWxMD>>Y_;gyM-v2_T>+3@>wyXWCOZ3i+cZd_=6+_-rT+wTpcHfVj^cssN{ZX8}0 zWX&nSCV8A0ChR!^d^~!PMgc;!wgPE}T*q6P`<4 z9zz}K@^P6ABGlzvNth6i2hMY;=DXI}``mrcJ*0kr+|NB{?{)V2vDaGr$J*;0;E-*2 zZd~xlxp8nvnaI0ectWNk%K_zqbK|=>H{Lr6|Hp6F~BhfABk#pmVVsJ`_@#)cCnHkffbK~fI zfiXhbh|Y~myBn|v+K$eRkFRFmmGb2wY(zizK6Q$V=k&}W&*>Rl;MwD0Jv2ICk4M(Q zoMj6C3lAlnIh-;tm<V-ZK0&t|<^|su{wJa*!0xvE zPc(W`%d@qPo&clz3=W@X^%`8N+rS;njJ@+mv{BUU#W6h@YxIQjNKeKZJz0Fh?{ah- zTrSO#Zi9EF&^$h*`S&c%;|IcZXnrcx zZIO%Uw#Y^3uG9Mg;YW4b@)Fl=co`|Y%s~Hu8DV*u5z{|uU-ZDrU9OS4>WXbUuG_Tz zWodg_*mkRJds;%)h*@<>$!2tN_@EJ`2zHOKJuQ+Z^1m~C*gl#Zi1fApBMbYmytySIs@z_ zuGNP$7@g_j*)B(CfKlBBhtIQm4KCGl;0|WS-1%>`QPlH=F`XG>bcXUsXT}(vS;#ks z96bk@OLL^>;5{rf*M~I!z|vfAXzqZvj(?qI)pOtuW*)e+uY~5W$7p`Q&`fzm^8<$F zuZMarauGcjxd`2}^?pG3Q9ZZ3#Pu9r<_j+q(M4b$x4cY@>7ukRx^3ky*T`M<#U9c#Np&!yi*&%s-!=R&9GIc-I>IkM2Q!Wkyl<7J-!#a70{k@@ZO%?6$WqAMZWbBRdz6-2n_p-mY zH(`Ho&t&g5aIctoQDLscd}UqjtdsY|_V*4r`+H{$tX(H3z^dF2u)kMh*2&Oz*wVI( zHFB@~64uGPoOSXZXPq3CvreX5+uy@FnfCR%<_XRovG3H1Z#y2!slSzT<8^h66Pz1w z{I@2Y8<+Yj>Z?lXi|59r zK2yhUKJ&6~LPNHf^KzS%2l`ia9UUk+H_kdv&y9-@ch8OM`iJw__T0Fs7yXj;gPa>* zhs?EYsdLYbQ?K^Vdcwl~p7f7_lQ#6+IQP-Hah{3Jjq{w&ncQ>Z)VpgnJvYwt;W`aE z-E-rj>+5Jk?7-~3EjQ~-JvUCdo*Snxqgd6I>Y)E}HRmr!bN-V5E3|Qh{qFJD!;H@| zu05fB7TLr2o?wdbM0wv{%=eTp*+-K7CVOriJ#qK) z2lmwk{V!pEt(+0x!~eed*eU1657aU5psXu)Zv4Rf;LoHVDDQjybIft_UjN*LbK|q~ z-VcB)(UDhyf89AZK09`9e2H^ze4l}}I+6gZ{4H7S`SZ=WacEm=X{-CP=hw>bJ1Td( z-=?_*b(Gn2Ueq zK8O9C#qM^D_WV=)pTqukV1G5(U+rh1EoOf;y#G_^r@ZeZHnNWKXkEg1v}Uq5KQ7y2 zz@K#NZ%u4G+UnTf5d&*wn*gi)Ze5R#8~cN{tfg%`wzpM&3HG<$vA-RT{YB--mU3-> z2lhw%dfo7Z=WoRRkkP`QzAMy<>m%G5eEy z*Z$-_Zhu#>pNq70op{ql?B=W!Z<4wTrtXrlzY7seXnz88E(UWhf(h-9y`AXXIJPJA zpy=EsO0XNb97 zA%=8Z;!?3#)D_}Om#Di$eCdpdMV&RVD1k+KkPXT)> zg8iNktkTH8(zwsixCEI&7c}+y_&6KC(zsbzUL(9j@iG_onE1PJex4XFbNDTZm$_|h z4cqwF+K=L8&a=XY{01g6Cv*CGU<$FIhlmC3B}OxmSkOdbLA5D(jKzX#Lm!f|W4hdn z4>9-Bw#I_?67ShXTT_Sy?IPaukP{1%x?WS)8`XurAs!17c?_tm!!zDB&be`}wO?x5 zis!~C?ekc?ApZtJC_!?|*omu~9@@&r&y9z;2Bcp71#2xmH!kJwxp8yv*Hr8JKWAcB zB{8lVo^j8O!;6KBVq6AB+R+#n_wg8)`Ub%#=f-KnT~moHWxaNF9p`_5sn~%&acyO$ zXC5fmc#-%x8DFhztli7FfiIJ>yKq2bXkj0T?2m-y#Az6FnXe!Z?Y|9Na|T$iTf=kX zO3U>}yrJ5*-9y_OcHiCHe(0aq{p8?VnI(V!&+Go`(A~}HLw7q;yR##nd*ZhU$~N!E&kybOGqjgZd8u@pN1MB8vxJ5r+P}NG;?Ujgsok$^ zZ@hE0CWXvW-ZgyBE8CZF-^P6#_if&9;A<`p4eh$J!BFGa>}BJ0 zNkdmxg{S9iIx4(XGDgg(;Jxbnrc~&;YX6}M&cMtpKO?`f!uy^3cz-o@xlHO|)#Z+v z!p~Rqx=XK%XXJrz7I zJpW7ZwgUShcy7?n;Eb8xz_giO|CE`Y|Ikct+}o+3>2xZX{AMcn<*AI<`bH}F@JPnH z@p{G^Jdp7QUd?#@`!eKYWW3yI-f^}+73AJ-3-cRzU%9^{EbrgZ0Z$_aaxaGUa$Y{S z8@atoIpgb9m-gL4|5D~zsX*r(!VhiQGLeh$;hzED^Tjso`cq{?8_`+$t!aIitCrJ_ zTdp$RiXJS12SZD{(IdqH-Fe!Qe2wV+>zkc-b91e2Y^IGx8P2J66wlG~ZujUMy=hy| z(NnI^z(axezUMhhUs%Ai;ObujzVwJSh4~q;`g!3w^`Pn&Db)o0hIw4HYdtH^8QLt(!k_r}l6SF#L+DmnAEQ6lq91SazncHm;5f2f zapYE{f}vXa=ylpa*Q35Z!aaL0(HZ;88E*->L;eBEo%y)h`YFnoqeW-zf&H3=rHy4q z2dx~dk)OO@UiqhfztvIr_UAe}z;(pK>(D&6-RsYcXjXlHp{Sp(UWtw9d3$Kei@k8R zUUGp(7`gQetwvX)+@ACZ`F3A~YXBH)Ya{4~ZuMg|HQm4n|I%)B?q1q+&fWjXh|teH zhHlITt^j=Zi*3PU>2xsrZYn6u80K|KL16Y;koS9%AmT?S$qd{9q+iQ zCLaY`sGji7ACpt;jTAk(VBmjl;O%@e0bcuYB00fxt31_XL+g*gFLd@v{>p&-n7gAZ zR;LPkv1R7k(f$?rF|u!5TF#u3a>elx^Kx)RIxx43dC4$u60#d?eZ*_Ii%uZJ+{bOf zq-~jCuq*4eY{~@vQ?g!eeTFqn4|}A}`=Dnto}q6`?c7N2(fL029(rG4&F~;}jTPG9 zEw`xy`^f~kZ5=^=Z3pM_d-QCtoL!6RSBLe@>pKF`&;05L?u4A-iQrbm;8sL%x~`Hj zvK!rj&fVSk{2s1F=X#z-Pg>EF)&xCydS>uFWUqQcebZg^WCnUNBSBB5ea736q$eNK z?{^(NnHJL%a@9-p(3Jiem^p0f$~sLq}>d;kEcG`a3-)rSlK%1LT>ThYyso`+5cAD=>0)|5`;+&uZ{P zS1P>RJYeaA{_B6B*W#1qS^wHhZ$xEkbU)ANxnkN8*!R$#J8;X!`0c&0kN^8tT;t@jD-m-&Hh!-MLbj~4yF{JEumfN#5$^zRk}Z~Hd^Ugb^h zw0~}R(GNiDpMhWa=$p&BVz&IkwSI{om`j=6$DTjB=m(;5`j>LWF`xAaIOJM&{M@73 z$CK#GL1f#4Z2OUI4%to`hacEc?X`@-4{WUVa-;DB8@q`GIDUX{eU$hCxp)15+$Z^g zG5CRz*zY*}z)0+NM|Y_okos&`-#ps*foud<^aBD{8H1~g;KKbC^dq|%zBunM^NSJi zDmu&cfPA0gn)O-0rGT3!G8bLr{r4$g=g7UBr<(yU_S`?usXX~+#ZUdJDRTW-+W01E zzcUru#RbPM&V_a%`s#~aoMk@V*%tI5Yn^kPsqhBQ&h&cd1JUDw-Vt8U*kSCojqv=f zvsA8jeAe-3>?1+;{$WA&{g1GpNxkF%>>AkjLd4K!}PuK7KM>?@< z7Pf;OLYvy`g+I`1wORP`&l#JAAGKL{6xg`U{;;|@FS}Y5`VIfoOs}v5KfxU5OT&x4 zq#wR>yXm945nk?UCd>z@g72yXzORxO{eC8>e!qirOos1z!?(c4`4;&1fPXK7=Y8^q zZ~h~`>kZ#)p#wUVU;Ik{BKj)4uTi-?k6f5D$^23MApPgU>l%Z4Y4=O~bZ#c|!A!Xf zX1ep$7+#sbep);__M=x~w=OM0gZxD2dgvqdk8AOdjf{Vd3FF_|nZb#?8ULtn8jXMC z9h&{TGqcP;@~*#Qz?S*PEdFk^;~(W+fbKkr_gk0v$4Ucl{bK^W@W6K{*%x!hKWP0X z_=S(YDtu!`ehL1u%JGjij(?2G@sE@%jvD+UIIPV4mT(LlJj0q39ksSO*jnQawA6S# zYq8J98e}<}aWjq1#P*J-;WOy_l=U%kkA6O5?gh_ieyT@n9|>|RXs>m)mtXNn(BCp! zeBy~n&!m2tsb3b=hdyqf8J{g4v9tN1o!R_=@ghU~ir{Z^;q3k}Jc?af_&Lsw2{y0zrr=7BHCF#t~R`46?r8F9@q zuy`4_Zi#=(@r+($>sN+~bTum-j1ea*JYDCJYcPwsWV5XM7UBnGoyVN0-Rz5NyQ{Ik zlQY$K$eBF39^jn*tn9f5%zCRgzar#sr($b(PHrGJFp7J*0RBI`kw;eEX=`-cV1 zFAu}7@!OC7zrg>?{O{)fMgE^37TD*TUy$-g&>iOeX>f8ceW1@sxm?S0l;@upxa>g3 zzYIn5S)q$>f&D=6tM7+y)g99>`;CrAvUTMCjw^TJi)ROiBXjKGIlE5=k15*rYdbVQ zVR|m~vx<+ie)5d^Mc|r%6P*@)7CI$QVR8bz(kJ^i_?ReH!R+Jg|F^~QH77R2cp`0G zo#K>(qj?*$2hXf@&4BVf8QDz+etigE!W(5d>aEO$#v0B*iVey6S9z`_Ul}w{sAO)( zFW(vD#)kj-ah*YaZ0eTKV9$`Mf0@u3G{Bqsm%XVV#WVHhz92qkFY~ul_HVLdSSO9? zl)il!qsqu1aT-=+NoeC~WzkfpsQryr`%%X?nl`iJ5<()&+{ehLj*7o9J4 z-iLqSKJR&8T-+r*nfZ+6>7OPVp7w-1{leTUPkRhc_rufupN^+%);9s4d#@_^JK8JZ z>Ag5lpD*$xbrDbD`|?FT2haSw6RPtf$24m)kt5gnv2u?OhUdqvETvrf(43w9iH!$} zUL*VMmfuFk2w=C$z4TvWI7ZmHsP>EC6MeD$CfD>^nQYBj+BmNN!{TZPalK-3HQWQ2 z*q6m6*9o{(FI^iKed2s=Uijvp`ZZTwI~N}CZ_;iF-Hz;Rxqsj>-qljUkGZq(iruKZ zW&GhfkKG9Vs}B@yvxTze)7aa3Y-%Jnm8EYg`HiIi)8T)vrm~&EqgF<}=pWC_ zH2121y+;4;4r8z4ky4uiR_zF!Ioi={a7Q);eD3E}!B=RnME`ys*T4Fr{z+Y=f6jaO z*TrlK+$B7@HU%xCEl)c_o<_Pn?JztA@DzMHo+6t9KKB9N*8I&FPanj2`a+Q>sf&0D z-_sx3)bEBiC2|y-5;+QAX}QOy;5o7>%WslR!SA0zkNU+b^c>h9$i3K9Rf3)iKG7}P zZ*on)SshdwL|>9@3S1W~u1tvQoW+&72QINAi%YH(aFyAV=#$u#$|J$1ga@%H+AX2m zk)18~*I`o!D!l#!Gu5t;b&c8>_v+Ie84+i{*gSL8|RBA&wU1BCYVwa~sqj$&UTN8xL#++$zx9NCxUH_5)>_wOed`?^Uy z9N3@9z1Y`HbLPbz4+NjslLiO4zn>MbK0s;8z#`>%#$X#cB>qr_cg?2O`AjHN#1 z;sbO{eKH(VpZl!SKJdA`Gk?u9_8Pd{=nziVIh5;ONhf`_A1^o z_kyQE^iJgVbSJW_gXEX=u)Zw-qibyRQr3Tx zUvlX;On!+xPkza(RtCZwFnN4Smi3^8KL@KuEjckC%D$DSxx9QD`}IIQgbhA#HMiP0jv!75_31^NmZ=B^T(Sw?K8iWu!eVl%gi z&CDY{j@2Y%q1WGZ=1liTb9~z@8oH^`D(nzK?xoq?b<8B@e%Fn(^}G zRTuGzFZG|9Q@W3RX=JG`yQo*>{N;?nU_}#Bnb< zaoo#J95*UQmnc^pmx<$oL$9&%!jU;%VdF@zZ{r*;XkT%tZsc%|_4OcNHRwayynOg5v zV9RWHAvU?pvEfW?OstQMiBB4MEB6F=l|wya;(#+ILhHX1xkG2)6zumQ`6bw}oX@sn zBJW;}&RIm|$enVzgMV8_q{?MH?2l z2{E_{5uDnvjuY(vNqkl2<9X~?=B3x{IF5cv4B?Y6A#1KVBdIZj+j1{+?aT1s#t?v! zF|a?A)&2GnjAhw{si2xMN^)KPYJvb zlgAlXjwg&O$3Elz3v`v~uIwT9jO?P=^DgFXduB%Qt%2pl zp0mR^8$k?qK|%~ROYAw#K1-Td@^TY{U1?&l0*_AG{XU(q3H;p*drib(LwLTUU}CWR zE1fHezxGx{XB?xLaqmp8kQ6h9UX2+~BWC=ui5a&-Z)*a*9}@$<0sb4{pJwQtVdxe3 zIK2X20KO2x^GyXqFaJWX+V_l*=G+(y>7;r~(! zzGHFEOQD}i*|~u9=C&J*9q*sh<u~FoJPYZKrsMmHbv=MJM?HC{T zlX1q!oeO>3U&+1rxO2wGIX>~%`8bIiMR8Pc7qowhanwaYxE8VV?<{M2AAc$5+|(aF zi9ftKoHK$6{_x3}!71oc{iVKX4*u{8{_skIKfL@I?=OHY^M{@Iw>geKyd3j~H)H;= z-N0Lam;kRby@@~k#2KTZb*;z{I{RAig%jnM;163Ie@G5SG)70|_(RGShva8~L$5!1 zRL?(k|9>X#yD5x8%Kk%cEV5*e;-@CZM(vhysd=o7ZzD9%My>}MpZVFWyP4gy$a^8q z`^P#4niy}v_P5#V7-#Oat7uv;`HwHT|!l9_F~Wa+R38T)S~t8yg?z&?2)!mqP4=y34Bd^m`fqB%mMcspXFz?T=`M|1-#9p zxLVg9^wqWpw|MrK;JXRzhqQl#HU@9EdjlV}d;K@tnX|Tg;81`;f_l0#`a2YaBHPEu({If=NlOQhDtAYxScUB9psL-7xO5VgysE9I^hNTc{Z%q zJc=#pz~4+cW588Qx9H%OcKT>3?*()6C}`7`i9FO#EvJ7s728PLamBO|RdXw<%6pdS6@T}DnG1?6%dwYh+~ z^4fHer9ZN(`G3AW=->OSwA-6q!TpMM=KthQEHl@VN3l2^2)>d$iuopw!qC3WwKHIa zR`qM8@)?kC57@mlY17gy{Hg6xue8o><2_a3waR)v{kahRID{TO$^Vn!*zv65$jwU! zLwsMw-%cCIHtOpg+_P5@xsDIS! zd6>Dw5#|m@66OvM&kTOlXyy*oH@(cMX z07s+)Cz(G~4QG#zJc_DE*`q^`kzwv?doU@@`o4?xeZV(rrm()hgRL4Q|leJ}Neu)g`$%s|J;LIhV_-wWIa zF}M#RIGtnb924Dv&fVSk{2s1-bf{+%{Om(d_9f`aBytn1o>1R(6g@eBo*YQflUHlK zaY=e|h<-on=*g=wJvkoJlh+Kq)sqBx?Ze~f$?J}uKjY-`sP;7ecmGVz_hGj?x=QmX zq<&{u-@M!Sft?Xt(GLjRvoW}5Be-y_%^W7%179|eLiASVKg{*~?c|4Bp9NeBxS_Gg zoa?@=tc8L7MDArRycJ$-9tF>7pKWg|&!dp`CmXvs;Mm2hppWc?0{1HPHv6#{&adujhP*HE!1Puk@%~?f9&FQ|H<1d7HhSx7q6%pkBYFkPY)F z1RlAU!Jh{HbOg`$6tZC+1^g zD9pSp+7sLRh-c+_)p+SD4b3OEt`o{^_@h<%1t_1%$f!qZ2U3~-f zO>Yn9i~!@`g@p0%T&=eZ*fRh4Cga)Lj~4yox!Cx3B{u$f2HyI|1bE@Wzry(UlH(tt z^>bpI(Al?vv2UIH62`v`&iJ>{8ULbk#y`px$416Ka9EkiHvwe~9DIrI-8r^7cx8k) zaGAa4&SA)h{lp9GCvHxmGqL@|&G-!ZK4pE3+@qh*n0vt!?I(7!UpSriuFN9t&VJ$L zS*3XtQa{zyPmStBAGZ-5V?Jib1<}_+3uUY&Y+l58ks*FX@V8ld1kUai!lMf>=eoqt zh)?{BFB+e?G4zRlF8AUSH-l`f#g5RqYz)&9@>hX zul1}p{!sELz&&dlz6D=hl1H&2RhmaZJDNuUd`TV!aDva@&{mp9A@Gt%!JH(=GkT4! zM|l*~H!B^C5qt1&vd*)46teE?#1G0k51E(bQ3%`~kt6$Tl1ITc`)s9o6!Sv(mz6Pi@+mu zp?gqZ(&SO>B#+|RVfb5qJJJ6w{6EY8CjPha|MalHKHt1W${z`;(W=A`{YJ+l**bE6$CbPA#j~16fjvBD_s7JRXxqQe z9G1L@fd;dODEQ=@9M42~6qM!A!Mx}ubPD{H1bC&-j4x3hg&A{8@+icH7*C|Fk~|90 z^R?|k3wWYDim_?-bAewR!k6$yS&n)ubD>esr1HF;59hg-_vo{Ck@I!Ra-UopVh|1u33++uRq#$4p`VCV3QZ4`W=3osR}q`xTry+RfjIJJXLnbc=}?IC#j2g3cnvAdVKKAH^MWiB1e2yPUI+j zy(9PRLBn%&Ce`wrbS4#kCtH4(Fh&47N$#cpmV{%3or|jd2tGN7YWq#D>9Io z{t$VVy{rX#nL7)w*p13t#viWp*p1qzn@2%e^I_}_n``l~sW<4Gqx?Mj|8V%9KY9r)v^-t;|{d2xcaW-aC;4b0GwJB&hWqFzy@^sSWX`%WslR!S6RLzg_4#u)iz! zVpClSdM@}xw`{-3HT`CFP-zf-NwO($ZLzpILR_0Hu8w=)5<9ZELOiqzK1a-mPY~Z5}sW9f|l!JjL&EYdAerqm8S;7 z)6e1Q=bw(J$i9HjeOwj1M|&kaeH`cMfg(>*7x5H+FC(`U}X>`VAgvM=F5?2C3w=yqgh%l#?jQQTw95*S_oxOo&ZkCi+M zY%yuQV%I299)+D(yLl9>W16KM)_c%do=34c97FpzGmc6g1-2Z;u^3Bz%7tbfQ`^Ha zwIq)M_}u-@{PljuUISN>M?tynmE5Jx8N)q)#-qA!E;*}vw>@Z}4@D=XzA4XM@?Q3m z_a^Km?-}KN9@w|yc@*QScqajR{<1l%yC=4n%y$h-&V7$H@OG~x0bcutZ^`+yoxKuh zedi14HgvvnX7q`J+vPW}d@uP7Wp*z)E;tTm*h>b7T_^#uVGnbi zvxiwr9>rqLFc015`9tW_#8felVj_A^A3tOF4&Wt?%AtI%%fOL9>tU7NIcmY z__g=QqY#*Rz|1RwDb1r0m^qw(o7JifToq-kow&z)-EXt$cxhRi^(;1>^)Mh zIJUF*2oAYc8T4XLS1P?p$ZqgTCugwnb;vMxp4iM)Vl!35Xx}F`bDP-AyU6u6v6=Bs zY-W6DUrVih$-Nt!k$dc`EJpi2F_rVgRIU=6IZrI5Di))a`gg+m=67eRug<>{!4+dO z0{3hlFD4r#cVlH_UTgao>i9OFHk79Qv@Ax5) zVr4=e#cpyF=pU6M^-b>qdy_nhn+bUo10%g7z?SLKdHlkAP9DWTERSL+mPhf9fw#Jp z0I&T#L>|QkCyxSJ|GnrEboN~vMW4$rA&=sklSgsg$)kwM(Iv_i$941-9D2?8RM3+ttc=?!^amK`s(K6&~v&2_DZ1^}fd=$AJ$A%jn8*Yr*u-v;gEcZz^>|uL{vAxsS z@L_E3Y%IPi^@qax=A*`j4@GcA8y2|NVsNiTaB9QCr|h9ec@)^M%u7r1D5yX5d1MVN z-wM>Y>T7Z@bL|Fri04r-Rz-OfjAdE&+p8I)%JL|{rSr7=k=;6Ua$SN>-cN1cQWaRnT5t@E_a=;Rt=&&V!{J+EZmw#J#a zogwz@5qmyP4EA_J4Avv2dX$*zQDUlRObqs{iNOjyI%)U&G*&I}hk-vF!Sh`a6NBYn z={!sPbvg6sPpO|^>L*0?;rt;U_Y^sqxToe()H!(+ zTnk>muC16yA@dLD+Hc}FdX}ly9cKCiHRN zmV5DWHO9x;bM^Sa?62{0eybBl1$ROFxEMz*$)muIqdW>(1H)6#Nc`cF;hw)F!5@w! zHvzg-f2nUuGe&pe54#flVaF(M6|iOgFu=d1oiVy2<_{Od{Ncw2-ulA?c$Mh_{NWnM zA3|$`$PhYT>0o@$$S+}x?x4)BTepuYj?qy$V>IQ0o;8|qJ9>q`HJPKJuWwk!cqu@F*kHW@dZGW4+j*>iz(!Gvbf-gsVWqA}KKBY(V zC|G+&c@$C?&!aG9-IdJQpf_jYwI#7#^sl;-XXAMkz<103kgOkV9)*F+(Vks*uA(d+ z-xZ&uc@%%fseBz5cuuB&8TfIT5M?ek+?lWU;Ytur-`LazI+w|hfX zd{-nhqV&5W+vU3=;kQjvd@tiAXy#i(fuCs$o-^nNvv1hnSHJH8>J=`Pe&%Ni@6aI6_3@10 znFuW<^QTtdX2-4`k!l2c^x* zw)L-@dii!sI`!Po2EU#D{voa<&!HM#8tF$|FHW6lJW*-%;vb-2?uEWr&MY}m+Hb?&{pWR~ z`G(GC`F_o?-DTf&sfm5lr4}7%MSqCx{bFtkeQpa_`-krzp20owJ)b>%pFR7++-Iae zdl{#BrY%^@cW?ahj6cXR&bvRCejDfHDlAWVZ$PhKPdl_lI|J42ZMV*w@lwj=UT_It z3P;;cF3JEp7t%p_4q3Ww6$IAg709*prRb^jt+prhgCjpKd{^8-`>q=)2OixC`a4oV zVFo#4JXhd+lFu1}LI-u6O)5xk#4gHqg*x11-nGz24#W@Z7*{BNW&7AW2Rp`|_(8|w z6FXz?Qa_j(d*UE)uh@Ot+BS6Ii+2ugUwo(9?AiVxv-pI2{+I9GpSTZM6l#FY7+5pz zCBdq`W}ag0S${&_6C<=e718z}XMW}Pl&(vQ_Vm<=Jl_B+@C~47+&lB&3E9&-xIJDc z=YPZasZP!3lq5${R#h11sCS{u#&=nfaWz_~G`3JFj;%ocO`^2kso|c!0g) zG05oaC*(VGKehH$i%hZGrPhw+9-C*b@HOo_xyNrT#U}_~@|}o-+rNHCzVUu=`=UFC zG7IngpkvVqdG}47t=s;Eux`72_dPpsX#4M482x@n_I`^yi%$MN@0(Fw z7u&_(k*}qGzi)Y)cX#s>e7|ZQ-+vkw`ef|554)1@M)~yJLHBzt_~~KLDCNxOLS4^r zZG7x=6($D?{jk2#PlY*h1N1fI*`gY1}5@~x=9 z|Dz{HWm5ks`aV@H--@g7<_yyidabWtti%3@oz=V1=jsm)clH| zZ(~Jpbwfq)i**&jwM)aif4n%%```lWMHxTN(Z|*ZFZ4sN_L-_YK@I**Q0 zhOXjQ*B1<*R-Pp~WS&u2`29r;*3zzY3NGNCJ{hq5MD<2SS3jQ#?bmG|T7J@-E-TkI z(QW(vra!gc`RbY(e8}@RXmfDg%wPa{7cM@+IoU_NufD-IzK-(VmcyxFV8?K8$!qxQ zjl;dX`0owFy;=PCvzJp~j$T;F8fH1a9gmjhqaGL@e&36_oc+Gn2G%=P7dPs4F&`Cp z{k|8pRUbCr_Y!z~)@iFxQukWy`(8Y!d8yQmdxPBHqkP|s=YI*_R$xB_&kfocWY1=R z^+f+l))dPh^~S9xFLecZsmsVqy;jmSMaj{i>Ne{+Yl z+neRwV|Fa-3du_yW3DAH_5QTBUou{_R)pX8GPG}Vrhv1NFm31rqIU4;SMwc7O|449L*`YXOT{$#^KDtaB=z7%GSGdR5MtP|< z)nQ)hCCbsOah7Jz#riiX!|z6UslaMps=(65GNXgGZ>o`>KM{W@{8PW*>L`5sU5*ZL z9q}-cedR7WyJNoZHMOXpu3m`^XkIEb<;7mi{87K}h1~juR?0T`=rV>IzvDksasu~n`I5mwbVC_{49Ghe3QN_;hXdwd9M;!=2u@)na$@J zp37E#HmDx?L^0;s5&JIvf_%6)J=ege4Scj0Qx32FxL~#CH{Kt<@5|77Via>`=>`hayI6hjhI3gWrvAY|e-@~PBC+iaQWKG`N z3~ZU6jG^DhIeM}t*6&+mdUC&kw|bHQuYI@`J*jc@1X}-%=m~W8eS(hMmS2LNeB$WI zkfSG2IeJ35;uu0tz@gVQ=*YD2y-*@I@h?$cs`LT!%zc~+^HS?&d<91GQtQk+3W4#b z;fHD&Uq5D!O&|2v@6c=U$?~jU*A?ca@{H!V(T>38$H=%6%S)xbzS=HN_OyNhJsEt# zf2}31N_ktF{^dFC-=p;JF8X&@LjN9RFV*%h^-YKA-yO|f|Bi2!=cR6M_A*KR`x^aq z*y-Qx-zv>Z-P>I12lg9y+rJ6$D(}7DA}8u|MLz(oe-3}bN8j8pbIwS9-zoP4b1Aca zVE&hjejqBRe<@cS^S`4wc0 ztBN1!`Z{N{96vB4<_F~7^#gLBkxbhTZ%Wy9TZECYaf27xHv+(7A@@QzY@S`>hj{+OFSL0J-A8+CxZzlN1t6jlc zpE2Vf^-T}sANMl;?M)c}_T;^jz?O}Flkj&BJN|J`Z2UVA8~^eK-ulM`c;Uf6!1(ux z;~$~*KY(BO=&QmvX5^RPAFCYySmXG|s2u-Dx#Fn7KZ3)`%>N|xkAokv=5%ax@KlpG zaI(qkIXyD)k2HDyk)^!zXBavYi_bn3`ool+7s);P`HZ<2JQ|;szB@gK`~})OwbaXd zbAtYpOT{OK-}kchZE|l9wtxi7yVq{Wv>c z>ltVKq2#54d)8Feg81r^ywsLq#k^G0j^?ETUy_#!oc3$WBgMQ_3om)8%t>-Q!`$Xp z4qMl}R8!xqbTCE?;NN7OXY*2J-FFv1DC<1tL{VOXSf45wh<)vmr{&t$R z+7N3z%}X`w#wah%+b5U1AJw zUg~w=-Mm!bd*Cl8^J&_YxMeP#n(7-kpEfiv6*wtd4Xnl`MP9&JALR=jl9viTDVP3{ zxk!t^BXg1Apuk98>XV-dn&*9n_dD`?@~c6vhyQu}ck(}n|Mt%W_W9->DgSCvoi=%? z+)E$mGg2W=A`{YJ-yR-v)lk^4KQFSSni;#tj0 z#U7rs`(!+q;yL+lv*ej}jtu>*wk3H7JfmlufNKIyY$Gqa37rBzH344fGvkYm>)Ab` zC@)p$6&qqak+!0|R4E5X^91s8z!T-AzQ^3J0>ex}d z&+zf$w}^y(V6|VtnWG)O2Dj$;NImemqxHdP+G}$9q59|oWKqmZ_4j?Hxc??~CLc!1 zRmS_i>-l>p6!TII?h>ACj*sE#!}|A(7LjIeW2wGqK5c|Eq@~N8U(8E2^1#1pyCrlxva{v>-W8mGVJ&ctxwG(!-Ke}}{NXx} z-KcHayj0qkcY!yrz}~RAmeJVMNctwrZ#4a18UE+9_pqsvj|X41GO9xVcxINlSN*Fp z`j;LB-kAOYt9As=9PQ{exFeeaK6ko4_@8L6ME_35^zW3Te^O`lk8+WVe+rvg60<3A zm+<7;6ts-7JY_7u4o^~Nd7?b( z>kG!F1gF@P$Wi#JlzVIno+F#G{3h8H{Qh~3@gYMQPx|n`$i3LqP=~HXOKeK;iEi0` zlWY3T(xo(rz9iWcxGq^-pMP>l60HWz3p7iuc0D>pD6Q>_5o8*w^(0ofmv!Q?}pKk2`v5aV6OoxP~mQYay;rEUs(!z$G?iamh70 zVr8KGqMK#*CHf@xCA1{jm+&C=MY|eRBSnlV=v+*O=%*^zk!x??CR^Cu_22MdY5ninq+Y;L-1Ufh+s|<3aY_ zQT!ff-S$oO_r$t?7Jc8#!kh=@dD&vlumr9!>SpW5i4cfd^V04X*UdsAU@=~v4O*Pft9i-FO}z_yi}f*x{|z9>fQBtwb(Fih`q|%Kd1h}$xEe9>?k+R z%u!8DrX(*Fm~LP+FO_}kC`P-R813`KXnDVF_p|Ij>}K7|J7{~}$DXcWPgfG`>HV%? zKYXe^QQy>qJ)L6j@l?XzHUHuGi#SB%XFoEL-hBDiqhQuZV90sF_9yj1k5EZ)Cq zbTIqr(VS1sdEIMA2R)nSakh1p*RyRjXESo1-?}Q~!=3@7jnuYz!Dp;4QQ!0eunTft z|AJNJalZLE>?A>#o*x}lzc8;D@1MV_G|sn@-CFSzHr~I}z*}8PfY*LrxeDK#E5`Yt z^)IW@CFtxsKn(X)`6a}04>)n$*PS?SRE{oDt~g#NjtdUGMjnM3tGq&0j(ze~Ui#^I z!7q?sX6?M-yWq9)(=xel!GrdV8cfeZ1{9n@FUt(8>YVL zS!{R;W8##AG4Y{h?{#3yYmBuGpBk$-rB=C%}htU`#ye*f6v{C31(( zzA4!6L-I?o;VF&{PjhTIDo5^=D~@T{FgWB|WpEN3uEmCt-C!*?ya^jdhPm~`SKq*f z_hQ3`M+E&lu;JIR;T_oUCC7#@#cWvaT^pABBpW`A?d`|*-oS?UV{?0BHZ1iohxN^` z85@2%f-Bmvz`YoQdohAj8`g1>{l6$LmGMC4rBPn0*dz5Bku}$S7n%P8GgQUB%(XAV zgPWHMjEsR%UMgc*mi_i>#;B6KRN$gB9q*!(7tqNI2|D?1S5RYhlKQ5_=;U?AmFo%P z%C)>VJV_^?M8_68I(aQNuH24|EAtGz)yV{S)tB3hE0-OegjP@F0-b%0=wpNY5_GcB z(aG_SPDbVEB;|@@JUR&uxz>5wWpwfkv1j@qianoV-gd^Bw;dz){3fyI1H@ntB*b9f zB&PZXG1WJSsU9;i*yAP!EAZ%~-J6g;&kFoe;EzV|-}8aj*fal1=W*h%Cz;>JW5y@% z5i^EfjT!e6Gd^Tu##^CxYXZH8z`q~-`@!F9=-p-L75F&40{=4bFGuj-^MO}-`4@WC zzITN*YwQ*}bv;TP$;NIA51a~Yo61Xu?xR~dDhfl6Ek*XP!=XYN1A}15~)V$Pl89fIp=RJI`1+Rau zqnMX!;-ULZ{6^u@w2zB%)F>~NcEpaetm*apUa|&;r=EB4ho|s|rxN_(J6*w9 z=u-WqzG*%Fu$D2pHermeY4&~sY}pvS8vnN5@rO0BF}g7}Mz1jN)*mLot4tdiqt7}1 z5L%xW8A4}Y3%+oo{1W_Oi{lSl9e)^=;}0oU9Ig06aOm|pd?9DtG%pod%KKPt+&6bR zjPd@|=A}x#tf5ZJzJmF_7uSh-sqACO7#Mxu%j|VTd8yJCFwS1bEy0(gy|TR25Z{2* ztN&r`sd=fiQ7v_DUMgkXrmXu-atHk8x zTKAKXv(jSaXZ(lGInaBFkH}t8ej$9OQ`)Cm2X6bGe4lrJ_`H|HM{e5ZHQkJ9CNKE_ z`$e~hd1t4GW8*z@DRz@f@jST{JISS(K`zBMaw%F(E=7yUrIl-o%x3F_(fiZJG3$`l>7R@z`P;cHc^Ls+u;UoQdO^Vl0<-+;Z*zhe$Z5*SGod?< zIMU(eC6{6e&w{I;?{RGMqarASv0OXpk6ZtmTMbeKzFXy4}A8n8mE_`R5X z2K;l(&t+VdesE|O{=^4Lz0!KFojH1Vt+KvAf8ND6%t4O={sZRx$9F1@+{ffn)YC`D zXail3`dZ$3!hS)NOK~k5=29G?ocYB#OYR;g z&*Jxlf7z3;Itt(Z4o3&LmS>cQv(UVwgZ)R7OEICSpRQhsjc6_fH08x!;<*$;tI^ea z=28G-ZLKVq0-mJZD3?OoOUk7{H)aD@0KPlVUd!$Z_US6vryIdOT?PAe$e?SM*K>&Z z!&c@GTNCCFhq{8}!_54F`li#&AC548IFc}bc)i*CFTj?~A3Wv*r=9u3>#_O6so4DC z4FhlI4+-$vkEfVF^g8ngXk7t*;iGR6bB6`;OPD__a^??9ocTjk&isLL#j%9>12`fb z=w%KuWd!?lYy9ob8h<-;L-cK_ z(OqBe-8H`4quXWsbZc3gFJo=~G;922tjX(RYka9+9M(6lFl+q95nOSNFK`QEa0??i zooDOWJah*-cX#9Sd${(|p`QKd$vX68U4owM?+PYaJ)yqoJ@n)fdU7d2PcAllxgPZ5;_ThE(WV53u(0Vz8o)~Jb z0&lR_$8*}htLfjNI&x*^hdSu)v99h4-ryOfjryi#b(|}1@%nGBDc@rqXz_joY?&We zSQk_;n_t{x9avMk$2!zfy2tvYfw%pe0I%{MTEl$L>0fAFF8vFgeJAPLbTxZ}G0)~wh~CQlhq<1=Ia8WT0o-trInVTMWIYUQh1|<}cq6>nTne5G zZKR_-mqOZq&)CH!$1X00cA@)OViy`$OB<@7ctD&nEVJrkVYr8D@V-;E}r>&xN0?z&{QA(-A!1e>eL>{6{)5gZ-hi z)m{$T)MhU|r`Kw;@a11LHVZ#$v+yXeahug#3NtT@aw*PsduEPRno9xSIp(naXT}l- zH~V78$D;3xRi8@u=!B2y@G%`e&QLEoBxlElIV1uf=Ud>X0zWl^=lybH!+kOSBfifr z4*9-|u0W^qi(lzqPG5!hH7Xb8i@6ERON|YQt+?>I#-Lu>)m#dZfy@VOE`=k5l6|ol z-rWBHo@iezMvKrOKhe1!`bhobi}=SSjDJfK#=jT4g0&UKKT_XRVEh|m{2NLb|2}E< zRsmb)AFnc=6`b+!li2uI8}pApH}KX!Ccq01el7lSjpHAowE_IXN8bi~<2v~z_{R;7 zf86N!$EY0tNV($Jh<^l!m6^XL^pAt*x=U1d%+X!DZa>_;cnVn$DZPD_6*l7E!|U;`sYpk^HF{1;|`!>%*WCe zkLcJU%2-R3 z?G@B+*aKu;B)rOAko@a6zR*dXLwpdfuk3uSXQc6ml1l;ZSrb?b;;Tz?Db{34b1Cq- zno9wENiGF&g3n*mQJPC3@RC2loFvCHdX23|xfIklD;ebd0eCl;;uP@lTngIE$$XkNqg)CD=hH@%OF`LcV0AA| zhOEH!Fhllx1Cs$%J|5N#&#Q($m=bc=N z$x`m*QgE;56y+Hyms|>Yj`DmyA(sN2dIl5x>ieNvb;tC}exu`&Y#q73?-1IqVl`s*}yln&ubc%v*wz3nrhQO~9Fyq*!~xt8~9 zgXZ^YgWS9P-sg<+`S3sg?%d>asqf7V{ubVJ&UGvuq`pw>1}v=`_u6hol6BiSEvtm#(65lc&dH4xTh#}mM6+> z|M|5~hdM8EOtU5vISOCr<(_>oc#h7cT7HwxrNZyOwfrt%i~#m4axY`Vf{yZY--1uh zqS}6wYx>R7r8J1XB%MnI*FuYHeu(Qyi);QpaEX0cTymX&OZY9xr4W6RGjYOq(z#UO zLE;XyTSB)ZJ6rDG{5@i-tOZUocNSi;8?(5K@mvMJzmL4EM!I8Q;0r&fn2sk1y$9`$vru_=+G*p$do_&O^0*c3cRHf8xu zvMKmoZuy;oo&&o??!~5NBABRgB}AIGMSRI`WMt#*a1Ij?|?aj)aJV`K76 zluJQ*$(SYf^)dE!i+;Mn?_+eK5dPMHj_eEg+`Hue(O!vty&KcTE6$iDbygQC7k>RKj9C+7xfI|o;mNfx zX!-D8jL+B`^3-qcm8ZRir>pRE_0#bb*%$D+_sRdGy%L_@kMVTV;YsQ&Pn1Xfe$(Vq zh#bYfM2^B&LGH0Hc#iDL@|$E|@Y`$oorul@yF>29z9uH(5z2q}3-dJGYisw>vvNt@(*-JhX+e^L_+bd}|@OG~x0bcv&5_=^L z&Rz+${_S0K8#?=ruut;3{1Wy`jyQWI$DF;AsGPkL%ESI=uLK-&t$Ugc?3L_e4|AWh zhk1%ziqoTz+vX;Lf~{QF8RW-Tne!l;`3@xCML7otaZNv|8~ztb1B>y?G|FRn~2di z5~E#D>}?Bs+Kt3$cVka;v8TBS_O!bz_$qv=JyG9um%Yb{*we%Wdm7*3^#EIDPam_F zc-Pr`93Qi%DKUGxW#FwnCBSPxO~IZPIrapt|NPJN33T>t{W38#`6bxXR>z*UJN6Wn zV^5STj_u!39CEEPScE;*5~D?SgSEtHH{t7$VQxLKnI|Qeg4oQQ5$rt^o9P^Z?;$qR z;KXJcLi<{3?Mv?6*o@p`Uu7}cIkU(q9l;qHVl(Zt$fbzIW~6?4Sl`?^OMP{IdIVRD z%?RAo7~IqdF5I`2{YZSk{&7w&1v*y}?_W$V#X@o^u1xg0=aEaXm|Ti0E4`i-znrdG@gPSQUrN9vmn0lPKl^>0ncrP!SF{v6mcUD{7>#33h_Vsk8)VplAe z;$;JGbtwT}`+3(Y&R{yZ6wta_bO}29j*&-kM1Jd)C%d1k??^mGnay)M?&MNL<>(US zisSft#i7^iI~6kIQe2qm^<7x$r5BP*f&4P_<^|)xD>mH5-sfX+xv$2CS75`pvtIXN zYv*o2D`*?!$)nCD`ywE#B`Y$$c_o+|>ES`07hB z8$J@V;YkMG$~^&IArc2u^KS_>?{LD3<~~ zl6hB2E(P^J`UF`6+gHc@7nmQ)z09@i;31w%!B`dLQZSZf*>A6Aj4I2epdFp3?L;SM zpp!EabaH1`Z~|P~AJjLEMknW@lXDYva(0V%4A?SXkVVHvJ32W#rjtuzI$3GptxhJu ztG+BjCuci439a80xj<)MFZ#GcehE6+>*(YzM<=6lbdqw#u?w99hg|DCZ8kdjQnlBO z?4sE7Ugm8tIrFwUV$W-dJy#KXu1bhKuO+6sf|%+GVybl}_FQjb&jOE5w%c)sKFXQTmo?96%-DsWhYd~mH8EpH24yj0w;lHQ%VN`Ry@RJDX6(QSZ&p_Z_Y%Ky^kT4! zxMv4(&u584PHEx{*;3{x8TgLHJ!`RP{8Y;7fZQYFXUx5{AH_YNC9b)J_PUmO`7OjX zJC>HlJ*9q=soxaUC&xWSPA2ZDxfC@{E(O zDOVgX;Sa%~*VFKYoNgH0&8tQO6O(vm z&!qsqTlR+-bE8}e1DB&cyY5^?Sv9h{D;mt(0hrG$X-#t6Tj!?Qt)hkPB;&dZ!`MxEk@*~ zeSVE=at-u)2{{DhQhawZeqlNAeCK1;=QBUnx=Xy5i*HTMG2gb3Z;=R08kh>cul0XI zyNsvz%)eMm{>5tYFIJF$al6u6vY7mf>y_cREUs00`b{Ff;as>}=?z_~^!$tbZg-aF zU(}oY3+i$<|Kb|oCbaR)>v~4)mYvHT03i}Ekll7F$9 z{0pA{C3stb{SZ7iXh*&`J#e{`GqIh}-06*L&jd}=Gr{Dknc$cEYP{CTnc%}+HQtTh z8gFn%jW@8phILmB>*E?PH@$(C_45Y<2Q4Xw#NS|EYi5iXLT)ZP@jc@=qI4p2h8oVyu*Q+;Y{0+cTM4!h@m3 z&TSM2bmwWSB>&>0isH8{xYjm4qK#=aBp2BqjgimbsSviyIYz;48_$SZDGt4DH)o`vg{K6&sGpXTV>>oL|i_=S(Yv&=Wn$S+~ean_l0oO9+JQ8{xC$`!{s<{aRNbl{Wu z%$x6HZ?A*By~o(w!&Z=CZhc2E>EmoLSkJz|jV$>W>k0B#d&s|t?F&f#&%^rW4|)O}TYnzG754=M?)@0t z`w^VZ&1G!tMt87_-QD>79%)kr+br3Pr6Zgz$L$ z5D*xIjIoRfO%p;e!_u^xp=m<<0UnmcgfPS*9)_?ydI-Z1;_+aI$4fk3Klp|vm}Us= zA*|wN2qCN&(S+gZ2c~IaBaYP(mr|SFOz9-{* z+D-gR0)Ih!<}cy{1%GiKzqbV%!C#z>-%(%F_k0kZelo~kWPU^+^q&7cy%(P>?}lfe zkMS40qi4A(M`#=F;g|8l9mby>sEmDe_vz<@5`4i=s81=rpceV1pJ!YpKFE98zhmj& zb@cDLjQ$h)TpUWvPXCgw zJQ_DB54qR=*|JdkxQV{(r)?W)+g{o>Pun)_#}6zX88p6uA7~v3HVZ${`Yrm?^8=?- zen6gmKOoOpe&7x4cRTjGA3v}iyIuS(S#uY@X(RbtUPI-NL7OzALoNZr(C zk7KjktIZ-;c+A)=@~F)sqvWS;R`C~RUglzHho9Fuq|9*=-?BjNJagFIam3Q@SH<75 z7=hd)GUUEL4?Im3YrJ_;&p0FZ1S7Z5r{xy<9_V`<{iYClUCZ+83x>DRQz0}?ZSL9&z#A{(&#^*Ue_4pOSy`_kT#I{pv7N!ZIFnirTFIm34B~EEmaq( zgIuC>ZS;})#|8Muu3?N78UArWYgCQCt8XB`{t)BeYR13S8ROr|UkoasEgJv!GoBst z#=n)R@o!^l{M&2jt$)m*7a78hjDOcW|43a=-p4knXZLl+zH4%2jDOd?@$aTL{<(Dg zBk9WHCgUGGY@3DGV*l9x=JN^L?5`sZIhr`+dg6jL^~|MS3BvaWp);vCp39dXDG;*6tTNyZ^1f0fB!@6x6O>tmXGMzWYVy+1pWfQ zBK&9gbQXVsj6S`?U*Hp0NIQ#9JRbYRW%4XO@p$YLSJ?8VVk;JZL3urDH^dED7m2K5 zbMou(7vd{FiQ~?8zSb7SV}B_43wS?YJ1b&cn8aTk8$j+pikg0pc8)Kv6)Hy zh0qKBLSg~Dqxaal!(Wg;QR@Nz;voJ_)_E3xaSPvm89ylNJmy3R{DsgRjD3fktCRa8 z{Kbt}zSqs%W`H%G;xEj)F@e7@^S;V%qbNEr@)L0Sj28h?}a^6?i^55Zr+Ptv7-q`r+p zPn%1<`-MjE7vsTSj0H0>hHLzb>;>{Wmfzw0j^Ve~!(WV&biq}aZ&~oHXB*`mNf-Qu zyhnONt|cDZ+DT4cNKquJ^ZeXlObb{vctQ~ zVZl@U!QaPzR{KfL*YS?SUqF{f2OC5;si)BY>kN9WpBY~q{=$s83H*iF5aWrImB3$! zo!%U zeZF>N^qZ7d@AX4P?YC$P?^_njy>r!)XU~0-u5G-Wv*N9(v*Peh$mE}8r7q7}nc8ES zrus6q8=2N4)A}zalRL`_eSXx)s39%WsFY0WJeefV%0#;Dzi^#7D=zI=!kSFlQRLbz z&&0uy*_~yz@@Ac7Mc%*p-1K25V+6GSRi0&x=#0k*I~P^^5q@%h)%Kg*({Hw3S_jdW zth21}iY%{vF|YfU*S^Q_68o~e%m+f0Mc=I8>Y)FZ#lHL2OSF5xz8swQPq@J`6&+Z1*Awv}mCEYrXAWtwGVT7*oCzL-qTrl8L^jEsIQ zEmK2Erahial4oTi-SzbzV^h+OVpGzNBG)o`#-@g~0iO%H3Zsa;P7y}MXTV^_2_XB@CGo^>4eY)sy9_zTh#W0u(05$x*_ z{d9oq2)eL8{%trwJ+tiVPIrJ0X*AU)1H_Sed5AGX0(} z(^MnV8_4v=7n8}^7xekckr&Q@baV`U5F>`U5F!o!NeaW&fc)ehGt&DliwY*k7 zhL_lsaufCT+Rmnj+a5n=35~9QeEfyXn+1P?EoQA( z>>9=4FYLV9$6v6HnHbN%v+)-@;xV*$2ji&VFR*2|kHuITk}f_#$J9^aF*Sj|fIk10 zH-CMLd9I;L;4etmSV;r1l5NCFwq?Xh8d{?t-ZQZh^6N{8B{vgGZqA4$H#P;Qp#3O~ zzlex^lz6e^##AhMdMcKD-_YAwNd~?4&2(bPyS-Qmb^Sj4MUL*#lZmUzl@UuG?ZuMo zyjZeJCssnb@~GROJmg+un!6VU;YMPZ8@(9j9`G0M45bahUu*+^v3yVgf3Y0BXZ`$| zjUC7{aWaR$kY{2QnfQx$z)c(hTXEzi;-injUkJ@1XbvT4lK2auIWRP;H~{{Fa*FU5 z=z-b`I+MU(ux3~Mg^W9C`~~a3HnBmAzko*9*yyFK{{(;Wi}Z!Ip}e2QUqGYy3)X{{ zzFzvy(29QBb1;(T@E5%2@E5!*c?tXl`Tly`;V*Z((6?W_K#~csLb%e9O>Vd&;2KemYF-@q%Yh)b-!NU*zcS z`z6j;%asv(?DJxecfHu7OUIr_R~~nNOL@q>tdYVC*wgJQ&Tg|eb9)|VxAAqfVSX8V zGnd($xx(JeMfPUSvo~{&y_xgu%`ElyW|qeG^@_DGdG_~an-RJoMHe`_IBqHNNIADK*27<*Pl^5h7VsC- zz+W5%e=!C8MazOHJPQ7ztrlGZe{nhkf6=xeTIzHO{KY9~kLH8kqZ#;%H}k>Q%OW-d~PXa$E*Lv-n5*u@p z?+l$L&F=G^_3#%i9bF<_d7NFZJoFx2>bbBw=;;K1(Fy)y8u$y^uXM_S=*->1{^<+p zc3*@IFTjSou;Dgrco8<-g$+-_hW89(Pb$NPC$&b8C{y*9{Q5iCa5-aQdB&Jn+7$c) zv_&?23!A*Nu+Z+MsWEXxYD~Og=xw`a&}%!4U`#yd*)VlI27i&GyJj-~ODETc;&!hg z&9?h6Z%lOQv^(j_W7r1eA@|w_2N%+B*f4F^e;ONJfDO}z`8I6$18lex8-5oX-h~an zg$?h*h8KG_yf|gU^6cBNJZIVPyV%|lZ0`eX_y{)FnX+NYKNROre9PGIAxBrRVWB&a zqC4Q|)P^;lL;TO-FVG{ImnQHR6{}+RW&=%?BDRk_d zr<3oe#+CD_aV0SHRwpy)RbS3CuAKCAlDa-2?Ls}fA26nTE?365^1vHc9(v=7OGhV3 zR~`=;SKuM{I!`-^PHtfDnYMF#&+C}CZSdx88`ygu!`}01_Fz|M?7@yG}%&Ble6Rv1c69ZwjH;`tmFFRefrY z>ztRpTk5InQTCDS-ffTU9cw!H3uLP_@5%X!1pPGTSwC;j*lUBLJ>v|%UxZI$&)6$N zWV5=`zmEMYPcQl()CGN?*9C3M*oVAb$NXeDSlU6zo!a+okNs56&OPLrHh#@KOZjf! za~b=Zizx5Ga{iB*ea+98C-*%ie}Tzg;PSKgJ*Az@zNg|Z=EY|q^^6kt!Z(~Zvw**l z`3LnnV&=3;*E&f1N&3yRbsP4D6lk9q!(y8iGEZAd-4 zODFT6y7${X?_jzS3&^2uY{sOvJ=h*+CE3~WZ$x9pSzNp0aq%OAo?0lGVWKAmjBf9>W zg#RqbIlnCLHgHB;ZkQ+Q3rG220Tb zmf|>Aif6!595z^rg9b~{Sr&9~uB>Mtc#1t`#74M|XW%Ki%7R~kpXB8&p5mZ~r#PI# zQ$X+V6fFi%A@s}x<ZY?OO3n3Qxg%4o}ero?2fd4{gK%Lr|I_>& zW8Gl>-|)Eto??2O-aCChJ`+1CiSrdt5#gVfl8(>4;nzKqzIp|n^Y9duY15>y)L+$c z{{DWU47)y3`69L3d-@*wcn@WyGI~{sf(SfC=cr0Kv@Yq#boa+J@;D1WXc#; z9rRF!o+qR~!e$RoVairK1?l<@{nXQJ@Dw$?3$NZ0@Dn^mRdrBtU)sULQ}EnFK6<=6 z9OmIENS9|<<}hOOJ)B9SKPqqWTlrknyYUSvcX#Cto^PkXwfQQ^`Ti4K^mrJAkc=YHK zem{Z7>Nk`}{$gn~aQ-R&Q=T$tTi4gCc_wDy@D%&1V?4!j($TB2w$6g5*hm`Vw)>t1 zw2G$?TFO{qbkMeA1??A>gQpPrB`#rg6uHB4PY1YnGL(a-DEIIbj|%$f>y_Au;wh+8 zgV;+NPa$+;_7di$Ls~b$Lu9{fg zU}AN&!Grlh+bHG`%b7zg&zM7u;%suinM06Y-$3kp8|(aS8SDHlO~L=@%a}uq@w z7yI6lTIcUct@FnidOL^6px1uf!#aPBH;16E@4;W>=$_0RqFFBH3+Rf~DLpSe*_%U5 z_2v*RojC;Q%46yV<>7Q-%|hnF)x_$aBUU$`SRM998|Ifi7d5@gI)4P~{I#s}%US2I zszk?F=a+ix{8HwJ=-VqscSCvh*ZJ~HeT!msYgwPKV1527>--h0%SWWv`I5gZ&Y!r- ztn-&Sy23hN=$54DmN+_{YwP(ubccHGor}+J<32=(+G^30_F=38GW4XjHQG$utF4n? zKMg%Oik=+J(33Ztf*)k*$rSp1nx`jkru5`QN>3&kdaEZH^xB6f(37Q}o>12bq9@d| zdpbJutXvs-GTqaYS)QJ_bo7LDj0rMUDp!e|a>%I77c{e=xLX4;29X*>(IYQg;X*?I|F#ha- z#Zz>?5R~8xenNdp@dc-PO+4@%@jl+u{=NDH>w_-^;q{ke9rXX_=IWfN#P%=w^&iu} zr@tQbp8j4jp5o-!gMXy_qP4^s`s-t_e@}idiKpoLdJ<1@%Fx^X&7jxz?)n~c`!5yZ ztkm^5{6&uLee~@fxib29pVz;gUjMpu`j>R&(MkWpL+-VI`d-#PZlW*yY1>BHwwJce z)3!~+@dJxT@I4FsKq=2g$Xi543dG`H)JZJfVYV5ZJ`yGxSD8X(Q zFP1fQ0Z$?Mk18~OVwv#+kLFssf*%mNC`A`Jx_Hga9H#OdI~b4O}37AbQ;Q@T)=FjVjJxeie-1Z)m&P@mcCuc>|olRboC@iTOMvU%u-w z@YVRc4nj}67tvpa{<5RrB=ovQ!pzHDY;5BTI){`wP6AJX-1&$;+VNH5$_7ud5xF;J$o&>_A3}~p$g#u7z01fg z^l7<;{s8m`9Q~#cdX<}BC-*KR_hsrqJyl-(O7Ae{Qt@+@whQycJaZ-&v!efedR=3X zFXbwpLfSy)gBDNWwLu~_mg1ZLC-8Bxu~c284swakwb4iFA1fLErVk_TxUkqiR`PA) z9y9)tU%vqV*v0tQl`;NZXbS#MXp8(~8~$#A=N~Vm#=q;S@o%=FxBfAMUStTbGycu< z#y{%18vY_j_dI-Kt6UlWah~TN+dcp2((#X^E01>kBRp)Ih4U7wf9&7#Lc%utyND}Z zAgFaqcD~kjYgVNGQ1BG+ ze*O`@g>`x2dlr2qNjwGRD4qiP1fBvq;TQI`B=HnNFL(-x1@MmEW9tr2LH&670!jzYF zKFRTsbN!~w9#f`_?NVozi~1^_Lh6;qQ;?=-J=Q%HRGxv}$5X6>K8>fK%)HE}DbwL8 z3|&YW4o^W^2ecYbllJoQ6jBetQ@~HsrGKQpjY3bGOTGJrM(`BX;3+DHz>}-`Mdt=H}!`|U1r@vh=2u!rCE&hh6cJ3P-E7JS67hOwX3ev@^Nd>o$QKq+xu=~3E4=?lW*Hx z>ZoT^d0)?o^Iqd5&Zaiia6Xx9QaiDd__v{-@9$W7 zuP{bH`*>W)_L#R_Ndji(QWjPcV?Mq)xX|IPT2)95+0$K+XT>U4&l3qR2<+i!ADzgZpB zI*7hx*%Z9~%JMoH^ZHB6>*Qm2i5*#9a-YGg$fiV}#HK{b7lb><5_*0XJhh?!&8u+7_-E_=3`%N^wVsv`RGDR{M#^_dS=;I zTYI$5w%0Xuk$2XZXSJ_uMi-~m5DQG{BD88#@XS+=-oxA37xei_Bco-Mm$0u%NnH#N zdt;X5*)fZBkvBZdm~|y(U+_-I&c!$n*>{J@dt6a`pv%{+W?c zJ}uKTDVdIYGD)75iFDWR#|@rB+EMIF+EL_ck!S1+nVo%Ed9&;bd9U0u_H`7UhxU>@ zi+vr<(0Sn}Hf8%w?&&vMFRg>mMwyH)CFZZ+X4>7+zvimY3XT@G7z|(I>Gl zkvq%2LEZ))Og$y#q`qeXeSWVuf8EPG*U%;K6r^jc zAgaOU06p zreewO7qn_Qnh?DG)DlqCyl3I{nsWoXz>)#=o%Znl=YwBDgNf~44y*XPva?|Q9K3f zK}-La(CZint?0Ks*CJ^SPr-W*Pr|>Q@PoJk^kL4+QT4Ly}J!R0Vu9ss^&w8;(>N;2Y zgnD)_#+DY!m0?edJ$qW}*^^7ho=8_7OR*<-$i23~vkQqUvPVnX^`B;sb^*SQHq5uN zH?xSnnJetg%x7=rJbN><*_%1f-poO7Z{}cZU$0pEl4pN!MxL>+qCMLA?5VV{H?xSn znHKhDuB7&6B!60*KXJC%o0;b53VSm`_e_fJ8Alh#EhQd_4>&T`!&9J7iT(cZ;3>v} zr&tG`Vib6a@eBCBH1HHnwVWLUPq8ZlPtmj>Dz~~se*GuVc7dnp%D_`x$OnV6bm`;T zsN$0ag>(HEQh18%DLlnFLvM8{gI@djI(UkG9-e}_esB|AqMqFsCI#Vnxz=mn*m$n) z_g^5*p6l=O@Dwf`T_Rn1bgfq&dXF#c*$19tIe3cY;3>v}r=a~xM=glf!dHCv3}T-z zq}#m(8=i&@AH{~JV8bog@KJ2IhcR*BOY8$?jEOySqIW1$^_TqmBiQgd#>90QW8#{x z2mb-uA{#z{O&;-Vcui_d+?KN8{f6GQdj`F>!!~TV%ClkWx>(wsdUkJ_%pQ+i*ef=X zX!k9o*>>ON*|1Be-ARvmY)~F@uWeAZko|9Ln6~Th#D=F~!?a<33N}0i8}7u0o3PDh2+%7*3Hw_$nCvf(CdZ!ESq1sfiV&2^@1Sn|ij`4h(*8y@563N|cs zqf&IE9G%**$SE;&ho?Y~WZsp)Q;`3UKcTIm?cT@y7n*;NXPIm7Lk52j0h&t2Du<_F zEUP5mUcneugr}e!ou@_UWZkeJtXmkjhrj0^&4~tEog}}0Gdfv^PS$1U$dF_i#pi1NgrO|M%d3%+&X|sjtwd>nrr{LjSI#-xNZx_2pOUtM+|7 zu5$dXOy@X zzTxhc0-i$VAJprJnbRuWt`hAhEz9nW(hm5v7*9dImb0rRiKoEFoxNdv+>Y4Cot9_u zaXXM-e4IUB|3C3@VU4$s3hy56pTa(B0#AV*SF)xLODq3G&bg^SyoW!m8OHzBWcb5- zbE1!^m+CM1^>5%0Tk(gj8UAqA*MpPL7Wu=S__sGae>f}U4;QEW;dVoB{b2^Zw&`O0 z;b_kvQrGWE8&c2ib@;+Ha%K3#b)G-m;Q2$Bjz1(_d2HCAJoJ9_LfzkYc#0eG9;Cz{ z@;g~W5u^B#kEf6|)XrIqZw61neI}m5?#J5xHnENbo+26RxF`JblvjkOi1}%K)c>&d zba)EMOXDd_+T88z`%>RLx*_|uiM?I)uVOpzrtuWe&z1O)tRL%MdwDMVvw1_8r#!pv z{0?d9{ax`nil-3%f~SzSqO9*ymfh!-u|U_fw`N6ypd0%y44#5#+pe-FFZa4HN;_*^ zZ2KAip>q!OUiL?%uNubSKYcs}yc;;9E%T7Dy_(nq_C&jBpYP)ytbyKl%~m{x+Q{Sc(52_!D8_KPvP4P?Pu`0LplBJU@_)_#b~7+XMx2S zRTk9`FN-GCmPJ2puL+tf%c9Sw*93Q-tqJ<4)&zZ%YxuvBnjmbf3G%~dGfoa>emT2< z#TXH%_l{`C-(rJz;(Wzo+`_j_CLMo$!>{`->1VJQr*qL0;@?Fc%Cu?HH|pz7&)~n@ z3uU-5L+B~P_ItRor0{JE%JI{stZ*ZK|L%~$*2T_qln3>0pe$cM_>M&3+ZNnw85=00 zZwT1G_5v1TT}k2F7Di6RVvw%yP|u!qEkT2P+u}Cw!mIc0i#&tHxH%-KxFPM}VKI2_ zAs-vq9loE7%52+^F3+ya_lfIY9t=JfSwG?TK68`yJyP!O%8NW-B=#d%jE~K|U@^`O zj)Y$Vi*Y;`eMNYfx^MSw6r}j&}*7ewoD1?XHYg-?u zKhK~awdm0)eow(;`X1$x4+cjAhv}ndDFa=1eLbCL;tdXqv8E=*VoW6+y&7xlELeSM7O&{$h5!eStkldeTF`-}CgOYF+ZIeqD3&to|)SZ}lXDUi+|a z9sgJ2=?QiH&;KuaLOr{Wp(97-%FvTzo}L`{^u(p3C!{NnH{u{j)pDgc&8(xgD7`&tB zx+zC!8$OnCCF9!`>s|~>@C84iKBf4AUq^n8CB8@h@}BnZUi!D4{%z0b-@S99f6qHw zH}dPZ4(I#T-w1jqe80GV$9*F>0Bw;Ucy)MGv2{@)Mmz5N$^M=Cjb#6>H}tlDGw8Lw zr+%L}gx9~+^#$o)>e)R&-#(Npqkjjy{w@9G!nZA4I{iz!@+kd*@{oINgQamFH_?~< zv~448+e_Q#Y1^j#_<_Yw^KA?KK%ekXpQ^_!gG_WZ!~lpm01-w()hmLGTn``wQH z?#B;o$8HyYGl|8J{H<~R#GS?uY;|-6KOl6QQ*@ghUA$h$4^+O#IBl^QqPG@{@oWl< z0o~nCX>;D`p2~U}+CF)f_4HI^u~-b=)AoF}r5KALvUo{@uha`kh-bOF2`oMSDQtyaH+9bj~VnL zL)gmrchd8Z)OE1fCUSJ2z&E}xSB8H);rYjt-uUOz@sFe{kCPjehi$X)Wb7aN7rq$y zw%NapnB*2>l4FSxt|KP7j+o@+5_BdNlbjs;!A-+eS=s z)cmM-ODZNQ`NK{AaF-wZxMp;W`G1M!BRY0dbU1~@z^@4Z89tqjHzK1?@30v7#6S6e zj8ANied2$VXYq;6u}@rK%e#%OSS$wR^{CwtLu6efvWm^guft-9uY4!A6+2&R`^5M| z!D7Js`5t@=>+%E^qcMfWpd7_wK%c;3Kqvgd#uOGq=mm=*u>juDdu-idG02~&^#F@8 z5C10XJd4GUb>F-AL0RX~<_Ro@(9Mf|hn%sK`ywnx5X<+vS*s1O##1bYSvMxI7^b|e zvrUeVU;<2;J*G^tU#YXoMST^EA@xdQF-X&MBCSJ$%6Fmnu^6q;r?D86nV0!AWjZW| zp$jR)VKGSSfL3F1(q6>$td9z%9)iVypQKCwNPQcHo;H_y_X~|+G45AK6Yo{?|L$D( z(f=NP@9}$!-#h%?@UR#?l0HAGuviS9^_-);Bk6+0koQP$xFK{YECxLF3@7~6_fv1x z9n&vIjE=ju_1gVozuiSH-c>9H_VBwN1|Ub-;bG>mU@NX&i~X$jlbp5V9f!q$E{_g2 zh;C9(q3_C|*ZP_9#bGhbn47?2hz&8GNLdLihUod_=b}dVI4s7_!Ni22KNr&{WFsw4 zzU?!qqn>N!eLZ8&dySuhpScSDb-ubSf4xt`u5r3 zg)`QY=gwFU|4?|neRk1@;e&sk#A3iZA(MZumAd?nm1$2b(`&v=dyGsUBh$xUOeS}( z75e<FI(@lILW4T4fSFe*5e<<8$NEjwP(gq#Z@BPvn_6HZr?&tybQw zbFIib*2+7AF#_5#@+@P-h!b2zmh;U{NVZNJGq{pR{yoSZRe%10C z_84AbUzV5LXYdkv6IcwMrl8Mn9~u3a@)9<+J*|Hu3i>B`PX9(2 zn_B!~csgZM@J`6&+Z1&>WH^wquGS4d0MkCWLWV-dm zWODWeeZFI4bS^DZM_Q&Y7i5w=C)1Zb`}(!mzN8(+zN8&Rt~>IKeIc{6FDq}BeIf4; zth~3;d1${c&thMDwwSeEv1=5E z#jx{gAB({{W}=kCdXIV*V=*SjV`%SW#!O1k6n)tQ_^!csc z{Bml=8+E6JeOzNsOWyvB=_P}ksZ&~573{W)=xyK-g3N$Z0tauiIX`jhCCCi$i!l721BtPoW=T=INSei_4gHNEQZjmg=TGn=4J32A6AO~ z(r=YQ(=n7j0EgZCU3gLfq_fyE%-UynO1hS2F+JOhg% z_QL+W+SA9eJ*_lzV28zkMzI+F9&HPIwA0w5J<1;K6!vIaWS^S7w*Y%O{3XsyX4q3O zCz^_!YER_XkHVgoV^7O7>}hFp@JrAZ*;6g{G0L;2r73$_mx?`B8+vO`8T8su>xexb z^X!Sb-nv4cP|xnO*wSgaGVJNBXHVxndvfX66Y0w1JoW?+xz{#0_A+N3*`uZH`a9X9 zoyOh_ZJ3|J9_?lJX0EU|bCJE7^X$!>V{hg>do$N^h5yOA7Teb=*1qJ~-<>(4~GeQ@n=mJN#NoAIJBtGECSPzSV zJ|*`1E5TxvfyI~#7UR)S{!?!Oz8Ne=ZEX~`Parm*fyJm@5d8=GN86G7`diRG0E_V; z1B>x_J~#|*kuH5&%RFa6VW02w6c(erA-T_Y)zDjA%Ai-7%RAVE^RO7y^<~i|>e+n- z9L6QNGO!p|JS@gF4~yZ_(IwKA$2G7R@X&kwT+dRl7!$x^OaO~f1{Q<%D}D4*^dx-6 zch4a9`9iwgo3P;qYn!iKkD!$+{;b=dH_3>!W&Cz@m1o&5Sm*zgr>_)3Ni zUuq6ovf6z@l6ZRsV^k3qgK~79_8vO92c6uLp_A{;iH^Wa`-A-YCUkNaI=L%DCwDXl{|?$B zUoajWYw~n*M@lC^*N~?|A}y&l58Cp0~26`YL;> zud=5)+3Y<}HG9uOk51ZnpU$&{em(T-9sQ;ddfkKNSL->Iedp24?@j#LVKGKOX3v=V z>Yi~GSd0#{XFR~3@j%9&aR>ZYz<&k&t4w`sOnrquU0&vgySM{kT zu5(`YZmFlPNAab0@3yCp^@yf}#XvThcdEVINzqH3@8|6qdu>p(XPm+Ji}11gF>=QIaMgfaq z_Ct@DIjx>$I-iTN7*dwq8>JmwndECZ=Vv6b82GqXE*l?rHuiD9A62l(LOHhqb9Hz*s;T6$Ql@#+TOt*Zo?mL%kYQq%!!s!FV$c2>s#=L z$MJ{9GyLJP=HOe<7WuOS|-tNq(VlD5cu^7G7kwS)G&s%6RW6+`+N=eU=6hYcg0wYm-*JjXVmQuIE(%be6M63 z-zvKDT+nmrIsDsm!NrmsbG1QH-@ZXnZyn#R*gYufsWDiJD)ViNa&Q!-nQ zK>hy>TW{LB;uC|HSngpcC{r;Mq)FSTk6O-|`-_D#?A%;*Ny>0oi4(a3hJteZbZzGo z`0MjS!Ai$VMA=a1oDdX(WpocP~y&LEY@Bsx3g(+Jx z6r?L(>e+LAM$jM_iqpIcuio?U6AZ=4p+Ut(X$KEO!E+D!=pv%J}~!!p?I&1J@na03`M)aP?)-J_iYSXsjJLu zQtiXJm|Ouv;ni8>Q@bNy>pBk%1w78$Agw4Lg?>q1qu~&KI-ztj+HquAK z=p)+J_4Npzi4!;s#jM&GLs1j=z+n2MpUnLj{*7iHRwfzp} zgy`EVMt4Jb_Sg3EoVB)J%bI)zYw}lF+pl0PJ|eZYm;7aM{=`*gZNJRX71s7bwO6JJfUUTzq~T_aQpewjDibMo*eE^kn;-=p1dYwoZQiTj`A*_C8G9^FnRmdluC7;V1Mj_3U0l->#O6zC@;k zA6P@0^#kj?{&nf}FX_r-9sLUrx!3-=ut58`iN5ToZ5wIZUfMQK+cpgs48?H1XMrDR z9gZIt48H{p^u=C9Q~#cdX<}BCwHrn z`(5fmJyl-(O7B_vDt@lgc45AlXU^o}RP>)uuWJnQrCh~ONE^s}&|)aOHb}(7Qhf9O z1U@bvma2=?K`zm`Hu^~Y<7WJ09phhJ#`w2+PE>}zt8XB`K4APi%=mXWWBfb#4gQ}m zWBhxM@htGhzk{jq?|5qbd)Lrg|Cm89GK9y!4^Gb;|ETNxe}!#Q&+c*f#yYt&{Np&! zKTh!cqf5s>lCC@^;2+^(+bnF1$H4x^mlC$w-%KpAkyv8%6m3Z?v5r{ch8#MRiY0D{ z{bA0|ljIrwe9b%y9~VoEUf>KD ztVw*&0>2{sXZUnBPKb_mpQcQQp)hnIWjG84X&umN3{Bdr#KTZXJp@Am zKS`JVk@_|YJ#8-a?iU)tP<#r8;%YVimg`eu>7Vd>mEVi}Ugq~>4@2>Zqzg8}e9wYs zJ)bD=NV=R`l=nz)_*m#t7z%jm*-QAV@2B3XJEmWb7#(+Q>$UsGe!GiYysH=r?BRF4 zv->&94mUD~1rzamU9q3lev&hCyyGww(B;v=2GLFGDfIta2EEqLj4uvDVaD79hC*zJ z@kGi>U?@b-&&-Y*;o~qA>&uAcLjPV&pOB5TJo&cIq>hTA;C($C&U=loa~^dk=Nh+j zz0TRmt?_Te_Q#w@-T7kl9b{AgGMTfRyz{@9XFa<)*__?nJS3{voI1M+t@bNC^OU3a z@OI}>q0b)~8GV!T>b-ubIFdfQIl6FmQ}W!|&Cwr z%G4ao)a=XDY-D;BnO^;3GP(1p(C6P78I4WL^iEo)uNGvIJSWpvRVLBnx6l4Yd>&QW zv4l05w4=ziRi24IBeOe?YURy3kBYp1^?#c_T+A2&?O)2Xj1i0DF~ZJ8)qaGZoI$ny zCinE4(<{p>>pUvF?pa<7V_tVGuZ54{CH7@`$$bVdkvD;%5Pd4)ES%JZU-FX}3Xwtf z8z?tXZ?Eladf3i+@6kiKm^+KC*p0Tgj6d8rU^i-;K8Av{i6z9VvAM>z*i;97vx;ji z{l6mqZCLdfo9cKm+GpEn0{X{0d(5-i)C8k{%Z9K|oYFsN)sEnqryRY9x3eke^Y4v} zwo_ihrrt~I-VH zld~!4^TEjIg|tjTTBd(ikV*2KO#jTYso#ukO4?CuO4?E6S|QKa6f!%Tvhrrx6!Jd2 zXl!aadJgRac@~?Ro}uT$Pjt)no7~fHRtL2XqAyuC1+TB#wtY6{HBz31*Rzk|C3a+a z$$bW|BAXI@5}OjavusLa5SyahM7_PXv+3aoY^r8x&|AZt6T70VIj4Y)@vP&xXJhh? z!%(EhEU~Y*u&*QZ(;=?6(1io>Z^I$#nT4S^@?vz-_RVN?k#|m*XSJ`RnSGrbGkUn*w>N|!(A!+f_FkD-@d5J zzqT@sh-Lb1U#1a8roG6t_lwEo>OU zw4=y%K%TKLWOnvt<;}7$P6AwT9ltN;2rRZ#EK3zUIY}sq1&( zFLHD*Cr+|dF5)7@0!r+X3wiQF8@a}jp8>@(uco>R0^q%$eYc_Tu&&0_bhC-gHUnYiP1=xor;3Jm2 z1a4)O`g``ef1LQ9h0rX5W>JDBiJ=gh1w*5X1z;#BrwBuV9;m&bGYJd@Yj(v@$hecn zP_X`M6C1P`3TSkVjb6(7PcRg}KwoGZ%KK>y1vHAGU_EH*M@rurTG4NNmPOJWhJyDT zhJtq`FM**T-(QbA4296?T08?oA@;)lyxP+Tu|2IcYh8z-fJQMC^ts!kZDNnMfj!!7 z?9q;8kG6@J_BQt3)?-gKUt)~Th&`^K6aBXf#-7Npzew!y{5LpnkP&-4`;FiRv__B!#U82a{|M+S{8M9oyF{*1qJ~-~=M(CbN(LLknHmS@taSZLqSPw&iJ|*`1?+lIR^$f*6zZT5B0fyp^*z>o8w);b) zaKwZl9I-lJs_&Q7!SR25hCHc%N@HsO>CWx>w7d!GeNs9^H}L=W9-3 zDDD_~t4kU5DswX!ig6x>g1VN7E>X|!o0Ed@x?Jmvee+GytZ%;UVJKWWx$So-2Gb6efQfzNzY5sPiVi=8!tt{e<|#rzL0MBQP}WsY$TJ|V@zB!C%R9Ws=wsdS3b>|493Li8DrwJlY*Z@TV%r}Pe&D%-z>EIv#Bw$ zJvAmi!iI(3wtEJ>wnIB@(&vqd)b&mHiyYkxvEO#Nu-EjMxR5m4?u$JecImV`>B?g< zHVhBB*EZ-|!2UNjOxyLhV#C9+VcIZXjSWu`37{ z!}6SE!%f)USZr?!Har%a>rC0OSPAJ z>dOG*N|iURP}l$QG3`P-6 zMccW(=LgK&9(wb(ee69qvG=@-J=k3td$3LHsg7qac|3c``^+9}r`dxQdUVpp`*iPF z=*L1o*3oYYq1QcFezl&R?7x1_c~=v^c6-L3w`cDeQ(xUPUc;X8D6?n0ocb=$sP8EF z*TTOR{%cHq*O~eXeY(CvUk!b=qu&%lul40u>Z|&+F0ON4_HL=Cu1DENvU|5ZXIYPE zIv5IMt2FP)`HBR6330xkw`c6NLD8OZ2H!8jC$VSjl_9cOUFmr-3(O=HKXDR!h zx7de#@Xvzq!EZ8`%OQ7a-?Jw6Q#m{LkZ0QXHS;XxyM51F>}!5XdFAYTe#*XPX=>k7 z@~@iwt1dsDKcx3PrJYVnEXZIesyqw@_rf=<@-P%K|Daw+%$!!wGL;()g_LFYMrj9E zCiz-UIp=9hbHA+j__Z89u10KEd|YYlRhhj;OZcQgFqiaF6!)Jyf3{QCR&!x4f~PMo&nM(LILV`oj!*ZN~|W(GR^bn!5hkk7z^c+1-jSoF!L=KWz2<;XKbD zx^(;@>B?gs{tzB||B&&SGj0w;5wJ!&CF2+8z?adM#3+8`V<=<|wM_G438IuaO)WUS+!@XJ$P5r!h>r}a_)!`jnfC?qe9p)hH4m$2_kee-6&HnF#h{#7jD z-86;*`neJxlJ%p-P#C&A<=J)TcSuX`?~2b+42AF)42856Wqp^j>^`s9hOTK(&5i~^ zw|1<-Q1EQqRrciNUiU>Mz9)6D?PvUl&NXd0I(jRb}o^Ulu>o zQDOd5)}xW{XN1g+A>ni!BoM~ke9dLFqu4)J~m^|RJ~vS`yPFx&{L<1O7jg9p=aH2#?WXU=On0;>a&h} z@EOBW;|0#T%q5TX#cPOX7c_wF{W(K_zW>V*w!Ps-TsQyeYnsh1` z{q%Tg(ELFz`s{FNaOYrY(BD}a^zADRdiRuqTPqFnXXy7M^xwI-9V^i7aATa_yKxpW z;dc+j`HH{Un~TDIq%%g}@aw)8+2k80XAS;_I#*DpO%uHmIl{B>d!tZ>jdiO0lwtcj z+-AOEV#@K;rL1rp-ydm522&S1w^bh0yMeNNy$H8>->=|a%h*C0^Gbsr%8>R}{0-ku z>9%s2vK4~9zj@W%3;t$(PRoBg7ypMP{^ZB ziK+W`>!0D7r!G=gnG>hlr%%31BIAYjgI8yfkGgBV*7Z1j2oJf}wtk;-*P}z095FVrqblvs!VV;RIJN(Us(%_XUcz2TS&-;(h3OY*Ym)sxymiSMH z!GT^eI6_Z3D@=dcwydBH<(n+38{{9c{fX>hyQc@-J2{R?+j!qG*>B$W>Lc=sohSx} zx;2Q+_!u1Wdr23)7k$md;6T#{jkUKT3=T3$xekLP<)tw=l<@-kF%P;P=;t2bxuhhT z_Xxk%JQyr~j(B%V6gEEx?tT!zYIq~B3phl-wIpHH^%rTS;Jbs!#K6AaQ5Ej zcf|P<*UyS{e%0aV;@FU-Ta}_)<>+*M)(hQSbccHGor~XZ<6i8p?N#)o4n3*M(34kZ zMt^tC=n47tkI<85^rSgMPa1~=*P$)all%0$%>S&OG^X@qdP-038G5TH8T8tR)6tVg zPfw`pAHZMa=6pV&5SWPyrbv&DMx4< zUZvmg#T~|<9jJ``b$8dypafs=6Y5inFUTXm^z)2m^e^ve|4yTSk3Ru!VNS6hm^L%| zSGIr2uNT~2YfaGG+FtAjX4M3%v-)@Y6MQ>@xxek-S?x(bu(&4a2euk|+rJs~+TM%7 zSD$>M;0LJdSEPTbXZLj0)6dEkuc;G$U^;2m53tVA*oycEmrnos>koJcKkc8BbF`0} z=*xcEwvo2&rET-HZPQr%z{ZN8aTI=Fbw!Y`#Sg5W%RJHZ1AGrF;Roc|_XF~r%>~`baq#uy{$~b>wt?>huj;`Pbgsv<_SLW#AI1TzyxeU2121oSPVsQ92 z(@pEcpvysb>Oa%w+;{W6mK?N!JWCu!zR6-SIJ~EQ#`l_j6qZkw`xi>$HdVWror~?_ zv}YG5W4jQ24aF`_Fc+UagYQekx*oniDCj#eGiaj^M34KnJQ=i&0mHxU$skhtPZDxsG2#UkiP$qu(U-x~}Kf>BP3@u^sG? zx~a{c{%yTin?3RC%>Ds<=8U>M1pHmm9f-J}tM_`UdjrYw?eKZ>N{< z%)HM0^lh%^Y2S*H*S``j91_$)TQvSv;_qrb|H$_&67!_hsqv5hP*8g7A2aAhhHy3G z-)L|Aqpm+bi)~WR?gxy0pUago{yp%$H4ygS$BH2 z*phyM&) zAEC2xW@Pl~6@x>)#3yc&cIIBc?SxPKfjo;(oQgb&{WEOEVsI$0N9~5#@j&eR#O6e1 z#o&m{;)@r>wqoaNZCi~$6buf$pWlyfVQrqk;PB0u@7VK9rX0oKK%c9bQm13ysR^Aj*nnLOqo4qzN9iz7nO_pDh5aD zm z8|$M&sfS>2;3w&}Pa1`uHkUT+7aGCf9N|B04)H%Y@?Eea=>L9x5AnN~-vj)-koBN74m@Bkz&k@P^QN7#yiHJoW4@{MGkUZ`B>sFGq~cxVH7$ z{bRq~MK0b|3{LB;0tN>jIm!+PW-12fogc=2R^-J;aE3V-V{o9WCrxalL3ERP3I^v; z2EEqLj4uv@W5!&E!J)jo*bw81l;touk`9lF+h;_L@NpQNNx3LL3HtRheL^}VIVsekFrMLFKtVV--$ z$8<7(%T@lD%2BM7MzKd=zhffxhgSO)o_WgAdwA=4X32*>f3ZAzmGbIs%#!qqi>WSV)NYDU++66olh0MV`6wGWU}X($rG7gwleLDWqQ$IUrCof zOrK{aPvpIO#`Iww^JZxKN7+*R#I_{kY&+i!ADzd60Kywc~H4X>fLZAZtv zo|0$bHTp5U#J(&qxzFGw@;VHT$Se9(!dXhG3%}$SFgT_?@UL2KqTXKH+4QjUg&=%$ z5EpZ2J-aQoMSIKmgAFxcH)@*}gG2d^q)j|SJ=SwyjZIb3H)UMa^nXeG+fXKbmAj{P zw`b6#jVfnH|H<~pZuF0L{txr4HnrR6-=o3AD){d*-=?5dJA!APa`YbF&ZeNxe_9^> z5#=Rp>eICTneUiTp9;xy`saPeWO>S_;GK}kw<+qf)ylLhmT9vu(=H=ZgiO&FlgZf> z^!Z!m(VDbOx6(41@0f^8lILVH-!UQm?X%`PCen`5$I^}>SBX4hQ^@RW%F3H%Q^@-j zD{nb^4(-$OEP7s^q36O+bj$Xe+|zGX2el5OFIhGPuV*c<(wNs&%d7M;yu^+yFS*a) zrF!X)o1#x*Q`#OGHYGBMO;K*5-d@|;^l&*g)j25W?VPE0MO#;?jq$AGICf=iOx{rp z4*gR!W{G{x#=ctUr)gZXXLEKm{%x4{82f6O9sTV`#@}s27kTHe&9mCqHlvGE%J|QV zlz)d-Z3>=w%F%mxJNtq@f2utC5#=T9>r`47&38;h7bVZ>qW2w>u9SVjJ0X*AU)1F- zE7O)(rX#*gTZ~MTkZIBvlgZf^^!an;(Y~}y=h8Bn@0f^8lILVH-!W19GT$+gb`<-P zb`-guk!S1+nVo%Ed9&;bd1qRA?{a1a+FzAtv9G)AL9?z&j9J1@Y|8eV+|zGXAGHpm zFIn~lua%ZpU(9Q{<<<8XUSd<0m)vLYDzY!pC$TS)J8R4m8N|LQH&Jh|?QDA3_4qMM zXmtH!F*ssZGLIDu4r5%_dd03$90teEt1Sjc%3vKcQOaSxM?H(bW3n$ELwolzjtT|` z8+RBS#!~+8QO8*wQx{1&m3oQ`=qicfy3hhUB&3cLQ;ZwPm*vG4L3bEwTsaSGz zDwfPyQ>C}Dk_>w78~)!nyx_%>sp~HIiyYmPi6b}5l@Uvx?8TC&da-1ePOOA<|P^Vy%s6~1F~ThDp8SV$<(#7Z0nN1lmQ z6k%|r-CpI~*;>x#uALo)jq}yt%bu{q;8>atXgU%!1q_a*SydKQtOCD6ISC97`FZpp zp5x_`7#!B@pOs<*=(?<_&w6vOCt3fsi49r|4m7&PesfSD>p#KZ%%U%}4ds0wgCli< zMlm?72QB?n={rL!W1OCaf>zQT28Z_?28VYgFM+`!-(Qc*Ssc+pu~%99=ha_Ktn%07 zYA;)J@f`Kl*q&CJwXR}tcz-T7r5K!Z@F%{cd$f0Q;3jgM3u2GMd&hE|dKd^3Z#-(FVq$>~3 zlL`;H*EXmk_V}PQXrk@gXpeRYdn)tUQ(3{@%zXAz9;EhWB)=`rpSWO_`s#)@M_1UJ z5xUtay4j8{j$2AR5{bYZbc5y26OMuj(&^&(RL)i{tUDys)ODW^NZuy?^g$Fp)Jy-0KagC@zU<|y+1!0 z$39=3+~@ni&|6)~px1srj~_f-UD)TNuJxiz)U#XuXP5uU4LQ4Aq)X?$IQ9iEj_uOX zCDN701>)H7i1}fchvx@9tE+?V)$@arBeSEQ(0-){W=DT>s<3}r)b3ZY;mg?Y_0nMO zMQr#gc6pus^ZD3t7dG6LVZ-xhMqjq=PJX?d1%7}HKgh7*&xZsxS?vzSr(%U?!=I;Y zxI8r`E;97C-81O59m*LKuX$r4b^RgoiyYk(u;FoXWsHdvJR5HGY}lpK?xZV^Mr;@! za<95~jWMwc8>a30yRhNQ*f4FFzlaUDV8bV{;b*YnquB5yZ1^ZPeBHC*>nR(SXWxe9 zIm?Eh!SQvAYwo+RG5>{Tr98`A`x-L%dkE0T80auKjAfO?+bbBO5*Qrl+?kGL=;U2= z@@|GsE}I#xgO~OP`Ss7BlSk3XqZvB+=8)jK&=&cEN$A)!o=(1*(#aF4aiz)7Tb<0H zSA99bxbo1`N$NUA+J$;{*PxG8a%Jdbji;0R*SH&3Tsk^Qy7J)svha}mc<&jV+`-;6 zec<+9J<#_!`b{D9T3>#pzN$~nah-MVmU`-Xlzk+-ciSU- z$C?fX2iYpkd%92S)1SeH_Q&gz%speT4T|=R{c?!$7wsAQ`5qs;ACs<&$Yyn=e;fN( zo?i4ncrxhw9Nk!gZrrA=ZzKPe9CD}jJ+H)mDre^&@=P1QW}c;dx9_=x*xLfid+>bF zuz-Ed&!123drJO%lRw|(XYYGTJDGjYaO&Z&aQ?dR9TV<_Z+OYW;F$f;BW6x3=R!Ec zt^FkZ=JrNu2YlKZEt7mLr)x$5gJXQ$*Z(i$<1WNLZlXMkkGo)eoW*4PPkda+zLDEU zg?EqkVPPNDVQ?r%?6{IOeOOxgCv%VF;&tmH{NeQ{7)vtz;UfO;j(Vy7l3za`f7pdT z?8@+m7ls61gSN;Y&c?sZ_x$07ls~+l@`o*k-ulA~dTrC|_`^QWA5zz=Cuu|K**zLx zI6|%re>mFnhjpGmbm{m*(v?RY{tzB|-#16kKPd)>w#;v4jkHz9FV2FGp)H9~{K#T( zBwyB0V>Ca;;Benp_u7x2e^k2nd9X0gS6=u-@c}m0(PR7D#5x=XN6JdZI_?R-JmnQ( zaAJO1AN4=1Jr#pP85NQT-&unT^XIuHZSE-MY}7Z8ZpeOZVsBU89mVBia7dHb%Up>M z$@QtM*d&-f302fdg55$UUj51==A0?mVW!zsxl9=NNNxCHh@yJ??a z;C}U>_L(X{L<+raS z#!%cYVZFuk^%6Z(A70~mprsf?Q8y@%<{@ciOvnA-gPCc%*1Y_ST ziR#}ii6*^M68&^nSB>HS)S#W1VSr{{$Ec1a!Y!mD=z`~*8Ox-6*JEHZo837&h%M_+e` zi#_ZF>GJH#T#T<@Tf%q!khO!~H(J2&@04a9`5n9_Z)pY>8gD19qYZpH}_^ak&!WaGVV*Z%X!qs| zE}i)T>B^&>`2swg4jg07@Su#i9N38mvx&>0%d}zsMoZLG!kT_6Yx;=qT}@z3e~)&Z zz?y!yx2E6CTo8SG#m) z7keCCVNEY|w^DSs9G%Xq^(-E`Lp}G-#qYOqAEHBTO~|tcJ=v3?CrvY>{j|N>JNfnR zp(lKYxwkVzPxjRW{}$RJJ$Z+If6vpCeJMRTn$nZE487Hp40`Ruqv**&Pfw`pEYTC{ z+0B2%zdV1p0(G${@$5QkJ9(sQe9k~?ab*0^;zZ2LA+A}{5KPc;s zUshBM2C}fHc#6&9T^n$Z!8ZQ58ww@mlLPJZdMb|-{tv%T`4~x&%Pg!=PW;P0Q-Fd z`#my~Gkw_Y##UJ`|HE)oue{{H9_LToYy80Lj;`Pbgl=bwZl|M**Vp2U+mOp*Cq!>$ z4#a#f+~Iw{1iBn_-;*}yzIz+%UueH8&$9mAhAb94!F$?gJ7yGPC#3vI#x6QNyVw`o zg~qSMF7~jmG^vH}O2oPz?j9WU?O}h3J`g?byH**rT`Xl?3x=R814D3;_|7@vJLib+ zTq9qw6W1$a?1a$!^9yMMp+5ut8ArcK=yg5DuhWU^ZS*mANZr(CJF!{r)n<_^+-GbS zdDLc+QS#F^tJn!MH*;~YUHm6NJAQ&VL;^d3+L8csTpN9){&75Zybb@j zEyF*KpBY^~Va7l5>(4#GI+F44bjJ91vL^T|Xp6?bQ;cWl<`n$n$<+AQl^Xv7LvQ_K z2EE7-b}|0#_WUDt-2s1*qkAP|-*UM!#=n)`__x{{|6DrbAL+_tHRB&VY@3Cwh_i_iPNTdo zVu;g-5nf2e5GDT^lmCp%kA2)~bWFzQ|DV10kF&D6?){&`Fmld}WK^U?2@Hf<&Kc_E z@+DrJQVPSwGDy5s(Go)pAv8r|{ZebagiF0(=31oFTr)8#H?@hNUti8(d?m(OI5#(6 zCDf`-ZGtwj)~50!*5}M<4D}l4G$r$Wf7Y}2Gy6PqMj*{Mxy|*D^LozS&)RFRz4lsb zul=lNJ=^yq8Jn8uSxxQ)c18U!3E_P11Y?w5diXSV0-IP8pJfv_CpPf{m1Pq*CpK}N z$JdIk_}mHbRZMSq=EvShW0lV7n&wW(R(2%1;{CPd8=XB=?gV{bdJFwyt7~#6ZVb*Z zfvzHWEO$b*9$$O0#$kI|;M8AyV{m?nhga?dK1q=_@a}jKT~Bi-z}IGUXpO+WX|LyV zC$#sw1Usm`9z3tfoe*5N_~>#c_|LPoD|n`MzI(@~r*wHTzMXEbHq0K+awpv0u_kxI z;j8y9QreH+;deMI4yV?3(QM;_Udx>jUD@0T>g>IaZR5*@OMnk^C$<5f&7A;eQT{YI z^=ysjRqe5Zi@}lRPEfZISbKIRegWrgR4h7_J3)V{*ZhdyIf94hqWfjRD0gBfxf8dJ z$KLYWiTvNp^;WK1xZc9`rtwwZzU^k!zq^{x@%%3r0n2~oOQ?D@Tm*!~f?8Nf-VOOj3K6#Rdz18?-X^(D=naBFT&?u2xR^+dR8awjC`*LPIs&`+8> zF)hb4T;Q)s;A_T4U6K2q=c3VaCunc)gwt-$H<`0T@cAiz-+VV`%p}*+Q}Dgsd)|lM zUA>sGnSEIhRU_KG%atp#F$?frlsoa*c-EE7JJG<}ywYb8JocZy)Avw;*Ex8<0KOT) zJmgO-gBM}$ggd_k-rK$Ooz39zH;qWGwBJ*hI!of&ib z9;zR2z4uTV?`}7~!)sY1fc+DdHGgZ9HKHTbAN8kqPyM{FX=LuQg-zCH?Y!>3^NRG~Sxr3CWY*ffFtEURfr0LSs;z0lYPI2fXw3@vG!kZe=g9 z72jE7MQ@DXT7URoLT^kr!`un#+8#jP(78Efbn0Q|=0SdC=Kq1@T6%B{oqG7))%Bi7 zbC5sUtaW9Rzd26+`o~xE{TcZK*7S%zi{P>U^quMy@WqLI*%y2@@;5OnfA0Je$)E0} z@)w+6vM-}k^j$NiP^X~f-}y1kPR7(0j%l_V)4h!8-cuV>s#CxhC+Dm0$c|}pc1-U4 z5{*gs(lNR7OH8NS`6c3`bV_{GxE@d$onp+XPWkcH(<#RLwLf)saT#(B?Bgm+rKvml>5=bC|LgQMN~a`G(kYF*o=#~D z(kbxP&>is3*T?(NsZHZ~hRa?Wy@J=gpMZ{0wskzvF||o^C#bJkv!q|g(XUsSrwYI0 z$ij=swN!!5dTZ7z@2>WEezhWtwAtaxreCd27LSbQySEux1lDwlK8xV7|MZ>e7x2Yb zCRDe8uSUOK$*x)M{1VBc?xnIAoL@3KlRH7*HDe0(3tE2Nk7;T$rYpiRO?6}XHe>qs zsf{VsFW`%>PpG~-JEqsOV{+%0XiU17j>(;0V*2IIFA*Q5U*e<2^`gq?7h_KK%a6C7 zelgzH9&-9M7nuk4Rh6Y*bL+^w`jbxidDDO9&C8?FAbF{$U-WgZ=k1)Nud`HEUvtLj zOFHHI(*HVrjnXg4lk`jDuBTrbgY*l$HFO8O^Y!s;awo=Evjk)NpD=eqezS5X(8YTD z6~9MGb0^$>XHS?r!9J!f@xSZmPF$C)p##^kjw*KoT~2c+SW9E-MYFA`9m$$nlRE)? zadP0lPG;?Oa5cFT)Z4R?6X2YCMme7QtF~{hc|Z3Au`A@oo}+SqMu}(1J9w77qt3JB z?z76b0{dt-cVgy*YQBV=`}cFZGtZKDWu7HZbMXFINga5bn_WChUKl(pf!2#9+t9iD z;Mx28y7jw!^t0rH)cI%04Z*YIw4P_l)T@ua2A(C;hyL3$&4s_p^B10Bt__}H4xd?G zehu#}zj|gleieC|9gXBp%tr3nKX3QX4pe5JmF7;U%(IHRxf9orJ8>0x5m#Npdkya~ zd!NtdP6+05U@otLsm+}b%w@dud>OeD;2D)WfgG5=ATu@Rm#}BI+zG8a+1v^Cf6JwV zK6e5b+hZe_+W#qc;(vX~ zlRLrva6g{rP6*ES;!E1|xlHba^kt*-QP(B7>b7$~=9?u?Ms`KpeSWEdqU`OfG zp)>fV&aaN>)3MC6N50cu6Qg~~!FzqG18@4oH>BgOfj&X&Z)i@S^YA8~J6@+>ooA1m zf@hC62G1VTdY(N}Z++azvq$>Sf8)Vc^y%xwXyM(7-JEIvhS<_NKwH;BzV zM{MRLVl#)}>r2FDW(BdCS&4pq(Ce4V=-1(}jDC%Z(LP5^pjR*O}u|6xf8dNJF%GD ziJQrt*oi(bCU>H@k@rf-omgEbccS-_>MSoy+@JAHU|%42;)Oc76VFd9Pp>CSPhl6n z8RSkppUItgHIqB>q=WaeR0rPX`Bic!)(5#0(0b@WWC=PCKSSQc*Y&HDJMm1AJMnCg zJCW8SOVnE*&tm`S!~WwlRo0U`F_+wlx#UjVO6~;wYq
Q4HV?OwvO&ry7T3>`jz z4(~&U%joc9=uZw>*2w(`2E`GHL)RB6Fbiy ziLa*htcldCkG{^!_p1;6Hy*4&hwnp&;oZykp~DBzVR%?9qr(T#;eF_E86Cb49exnL z-iHpi20GlD(P5QC9ag!X4wuor2hhC(=wbT7zwJS%!~H4Thz<+x-VEHm zDV*uB#;IrMY3>C2E5EcRcY^zG7q5XmJQe>Jm~&N@|2vg2WOFB2tJ2&F*0KW6+w-hZ zqjD#}V}9CXc()drTw6ybCoiqepf8&b?$3CIb)^NFY^fuY&1aRT0y|13Uu2zlC0JLQ zGcwtlk;x+t-pgbic$3LiWb(Q|CZYAOzX)HT^YB*Il+F6pSy#3O>&muZT}kV)1=L#~ z+gMlVL;uZByAGLLL+lyerLpJL_-$(fzwIGn&t+oI_Ys4=uTBiMOicAbVyX`kQ+>$A zVE4Hgtl*JJ|GZCgUJ(2Pz(0_}e>4W(Vz69|&V9sRSK;5g=htb>c-0s&W9YS*aSt)$ zdtJD_}{fZj+2k^7rEM^?=U{uVwPQRzpkB`S>Y0=octh~IM z_*EbmFW*Pp^B&@!^TzXD6mid8#671(j5`zeoPthcry}obs0@#{yRz`7anE@?8z_PA zKH{Dw;+pql;-0#HfxCY}dOz_WvT;xG$;CY_&tX!KJHdbT8&6tNE}r4uTbBO;U3;8Q zYwt3(xZDZh^086)fK5wsC%A8TT9(x2PGI9+_=2->&54bBUS-+1W@qF4yY$kDH?eVX zYY<1J?~2XwNF22$cLF_5b0@S1W=zW`Vh>lIQI1#Ev4<0vR{tKlOn$jPBgY!O0DHKg zjy;@zR{2?AN7=(F_AM8z(epF*a9PG4zV6_?J*)$7JY9x8Toc$sX#E565IT2vvOYKH zS7(jxq|WbKyU!X~qtklUXzJBRU-z%=S0C2jnqRed+|t~M53@(wsP&6?!3*$`XB1C_ zxf9w$73_YJJHh|Dxf4Df>*w1&>!`_{sD0LPT>TZnH!61`>Cfmf`@`Nd&7IJ_Z0>}s z>uSVjgWjTx*Ve>#k-vN+ZL_%(z<25SkoJ#0cf!FH!RPm#*HV{_@5<&_?u7bR?u2*+ zu8)Ar$9c6D*q(M{M|B)UZ zw0rbj>eoG<2d-_zFF>E*o6Y$>{3qYQ{t5`HrI6Gfd}@<>P7&Z=z!dTeDH0DisPd1<(C`&YG3#C zp~J+oju87fx{UYsh*P{ghuo#vywARj^H@5u$NYc!%TaZ3U&K3$xpHMaxh-q?t;v;j z#=!7>{O*bP{x7l5$mK4q=N-yu$iAz|Go*9kZJa65$T|T`d>62HAr~8NDcczCq`Z&% zU0iojzuwi~LHRzz`LM>MXHod^)ie07`pP|y2hIE^=cqUVK*d&{AQ%(x-ebcl;wxPH!KV z_zL2Y)}RXfQh)Z1l$Yq^=JBiIhJ0JRi7{-VJ+>-$wmZ8=W2Iav;ntmTOo+@32hAD|o-{bmc%%6-~bJgjL$;Rd2jD{BWu9SDtM`<|w; z@QVJ!z?C0J{IUF^C7+Bp!$Z+PY{h6$znhJwLEh!#d7AmG=Vaw~Pjeu@XFK_wk1Wk4 z2WU02JB$CT1KFMLWOr^I*$BR)azgJpK0?w$;BG%A+|6*8%T7x{u}&zxSH#k z(ed?e{gh6|z`=j`9+|zfawFx&pgeQQmg3B4i^&>oj7P|>-f7gBZQQ5GgI^I3L@Rrx zb#HTW70~+CiLNfoCvxJ%r-C1g)`W3>Ps3Q@i*#J?O$zRA$4~K*{aUgv1vXuEM)wrW zdsH3AIHrg;;KjEAX!5vXXJ-zBKkli$FW=%QZT_+mzfOGtm!q~ z%6fyrPm8K4PU;L7*FP05t|6{?EqK5^06tGw$_wf%+_!$$&<8MS{-N%zN&5Scx0kEk z+O;~;+_wv_{MG^H6gg}yF4~TO>nONy7foD4n*7`^LJmT?He0=!K3Ug~PDVzoh3L57L$i;SP8?UfOm?%c z;l0>c=sy^JiM`OBeGSuxHjUJ8q5M$?v!!pA{(pdclIi<@a|EUg%zg(`*1fgdyTALr z(Dq(vTWxgR-+eyi^C_Q4S--1?q(>if-!9tS{XW)$RB9zwX^wn2RFf4=;<>W-beq|M;RS0r|=zT^cJ@C z?{~0+g6)F_y=&12{bw>R(cs#ezK8d%Ua+*&yzT|IpMLtfuO8alJ&pg<`2P-m*MNg- z1J~}U{NB(1sn({yf&blWH2wrXW$Rz?syA9_Lw$dP;IMnnCqCEcdoTAsAim-IGPef* z_GB%ltocxzcRKm#r>-9S>&Wjr!DnkeGMB9RKS!TG2OX37{W|TqHgN4em)}+VKR4;8 z;VSyMGFbCnIbHLwO4fO`2QFFj!J&2yl%dbB`DR}v@95RqAGcb!jtQ&-;EL3B($PK|Fs9WXtjVU(|sS?}d9JaGSM_zT!O`Li?J zcMPQ0%-QjKyp4X7HL3eYT!Unv3tAV0aqVTkk1^l2W5%?@CTJxK-;?;;AC!+ES<;*VFFBD+ zdEex{+&6iZ3^^FtaWBK>tIRuz-_6_$=T6Um*67%ucO3Suc>!*txAT-eJ=t+&X;8b8 zZ+C}u8{Tl0Ug)0Mi{=)|L!Ca4c)#Fw+R)DEaCK804{Y6|t=9FwX>jX$!Y}jPv+I1! zIQzW+7vPONouY#=mRQTwpZE2?&)Gvi@9h*YvQq;Skf{dbW|(nJVD5jwwSns!T!(>q zEg4_s2mF6S^e47f-?6_qbH^h5AX4YIw-uRgS4s9LE7t{#>4Z|A$>z3UdcFueM67Vj-u{V zb#NQ-DSw=AZ{<_;oj1|`C+<79)bX9EOX$|v6W_T@v@!2Litqe`ai`!ruYmu;zao+4 zcv;{(Q)j+2*B6D0Yq&nd%V>vv7}Iy=K6=>`chblGv|a4RM;o58nT<$&=f!Rf2S)OD zQr{WekBTO)Ax+|+em{_3pne#e(QrF7Xm8`!^xL_Iohmuo`{V@Y7l;?skGbb*t}}1c z*}OGF%R>6u3XX-Y-vyLKhcC~kynr%wvRTXBdTs3mH$SOQ`2sF`9>#NovG}5AgJxTS zJxV|S8NL`kaLN8y|BOlft#dZ{0or^?Jlae>>&rWx&n-Oixj)d4tpcC#6W_7j?O|^xv(@_J5-FbmXQ~kEff!(-9pndEb-%n~cZMp)36iyvo=Iq4_0#uR_Z)u7g}( z;QA8R=iS(ksZMmcwUn}rSMaJAKDD7)yGr0SAti%=i?Hsd>gD?WpZR^a&I30Z{hzmWB_`* zd|YBv5SM`N_d<7Na}bx98T}_l>V}GqDM9T_PTU3qFm+Ca7Pm zJ~SR^DlvYOqaZ%IP;t_BNH_^TV`fE-MShm0SDa!Gfi!ziYIVZCusT!wEeHogC?&;tIvDL{;s_ zJxg`^0bv7_vpVQu?wRQ zT%y6taN#SAu@LcW3E04&dqFV_aI{fh6kpUoJSxKHHdppM_xq-&U7MnK?O|-5NA^}v zdYAxD@j~!k2%j~N$d=~uS|=+;bBIs#;b6S&pUQXa1vf`HffcSf(}*LV#~ybwziI4C z&*pj_*NI#wb1fu$O2dCPvE+#z)g>;rQS@c^oI_o7;^)EYiU`rZTCdTn1@@w?Dae4a2!tdua0^fhR4_^RUD!hMEBHmG$ zjO?l(;vHs3z}YmJa;|Bxa2{)ebYWt2PF5Fk{uwm5Oc&U@m@XUw-&0X_cmsNH06o}{ z(St)8Klq>0wJ?ZAa+=xQf7d zo)x~y_!=X00N6kerg=S}zD5t2WA<^J^8+oKAC=LOtWHd%ecalS#xiX_&jY^0!7tZ! zL_czM^uzQb6X&=BnV;w7X)IdiX?|;CD(}{r57#B}5x*z*G?g4Jo&K2>bDl>=@-w63 z=`$+o+8A$Z!N=vmT}nG2SNN*;1H=pN>$!ZojtZxZ z3tx|VZ`0#Rl9gmH_;F}Xal_wB;hV>ePjaP~zX&{q5;_S?Gcd}>pNVdcqtE{|%==p6 zJO3qXo{t^Q&KGFY<^;~Rm~di)Xk zEV55I&T~sWmzT{Fy*cn6rJr}Xv8&H;?CMXyg5oWXt|rDUx(ci(`N`1GL0rP+mkH)f z@QSxh7eWj7&%7j8ZSKfbn-=koaeI#Mqw}n!g|=bbr3E}ZtJ>{-7nQMrJVU(leEK)} z>(CmoqurwFfZG$_}hCE`6*tW(5W1| zE_iNb;xSfcZ)j!qhE`^8Xl3?>R%UP5rascW;Yapco~_};H-HwwxjxF+fwF`DMxMQ4 z)0VyalY6{d2dur{#a<%)?gjJ)?ai))FxFP^wAH+e@Al0Q`Y&Ea4)68!zY)A2=65}H z>$q;@dJWePbG>?`UE4a<8!wW6D8sv6YomJoS3BxUR|{_BTOpRGD_WV4;tj?}{At$) zdGfTWuEboa?b5)P8LOS*jC%fQ<3di`kW=$xE@E8spyfh-7tv>l>pZR(aJ`W0%%IN_ ze#`}dALGm3kD+Y7i*NvE|AmM8(#(Wb@5iL$Kv(3u%++3wai5MK{lTWhzM1{Q_gFp? z-GLv9-I$G;=4_OU-NgPmkNSZJO|+5EGlTa{q}!@9{e~VZbKlDNSXuu?KF}iMUNl!u z(Fc-!m;b-r@1tpJb_BgT=563f*3Nr;EQhw~Iw%{Pi$=<0tdm9hx9>wRPH*GyK`vOQ z6Mx>(H`Bj^LLW8zlS))Ayci|>lU?{_&tcDZW&E;=aKpD3b*l%fO%dWwagTmw~GYjO0&qmw$z|V-4e2V|}JEpMB0Z z9-v-)Gk#5^e|V>LQst8Iam2UU>-}kDBZc9=_~7?2d)%H;dKlu;9wpQX^U2(E$ZG@r zuG#yv!)Ihi_@8vT5aV-P>)$C>A0aKk3wCFSk2>vX7|&qV*Q`gA+Aj~=oXeVyND05&xaNb zK_4?h`oUp)qfESL9{tY_?Imz#FYl$VJrQSY^ShV2&v4zt_0wEG%e8l89@{>ndW|d5 zPn{!?m+e;@)$707QD5p!#^32;^x}(TsNO!$%dTwDJN}=9A2Bv4&pxa;8GO{^Q}l{2 zCS#L@oB2HtIcFc1XCJ2b&NSa1m$yx6JeU4!_G3BxfD`P;9!KwwgXi&#-sfcB8OMoa z9HaJQjk((A5)Pg=?ZwyODdnzE?_X!^$Bk~j!N52&_($nI_*1>7?I^tmm)Z6 zwwiIQ1~%A_m9d55{Q&i+s`sC#jqsW*GiQF^W__K;{^O5jhkx4pkLEGD+MdP4}G> z#+Y~N(|Mn;q#Acdwl^Q>OlXN0Q--#*yb#(JLx+upwI+;ZF&}yAD+|@OcK>$mc?thE zVxz|5pZ3M+dI0=UX!!FVB;Ps^4`T3&ccRCyC+pn)`YW`(*7=y;=lW2%m!XaJGWXu? z_A=lX9a_`6w3ks?dl{9rmr+@J8I`q{QCWK#m9>|dOnF@NjU>+H_A-W(`D2WNvo<-t z9jU#HhxdD#1lDY}?3%_Gv@w6r+G`B~pPwU>A=QZw8JXyJ?}`YQJ!e<-xvm?bQD>;=Y!~>O zjDxbRg=(XE(XV#Ym)0fyhU=pG6EFBi3;fajgr}<4xW$W*A0_zkqsZGYy74#BSAl-m zXY)KGvgb6~`)_o9yzvv5W}6G>(v?2vd>o$aWE{8h`#7}S!gVLto4MY~bxXjLTU0MP z9Zx75AJj(m!l`!Dm$nFQWY1VLUiuXe9{86LyHUC-fscu4cv+HymKkOT^r;tX$*SzQ8rn4xZmE_c|Px?zHfh;H!>GnH5cBnC-eU3 z?uOih zHhE8zcS;$DmG!P>PVboN-Odrbd2IJMXD`*pzqjdWt2BU%wk3F@{?+I0^y&NmLycME zbN*dCC#voS{*FEDQ=NavH*ySz{6qC0&lx@b&uRRs*Z9F<@}RQbqoEwqTrs%Oyugp= zU7j^VmDvfc@ho`FfALW7yK3I{b~6^{Q)B7R@bYTfXW<36+<#LHUTDty!69D8t>AA( zrs!iYecVqUdd8`K)GnUt?oV~}Orbmlct`(EwZsSaB)8((0A=y2sCO=O54n!P z@jdqMSsKIn$z#*AaypLw+iAD^;9BzU-qVl1TK-*4Y@7Tzdlt7m;q$*HKhENr8BcY(We6l-K!Io*e7YzwJD^SMLhe zqs`cXyRb2D<;m4Nhj=Sb4nG!OFnzxdU$2ONn3mtlleNe@kGD3^5l{{xf?$B?WM!@Y+QZ!yjmnExj?A&oo`%1Gz0-dF ztvosSz#h@o(8a_$$a6CuFU-A_C--kWPp;|vZe0)bCaYIJYk6`<|Kv1mz*~88#D|)L^w#8Avj4`!yw^{`cU}Q+;j51a#>?vG$xRim z6}5iqPdiWU`~M4?metbaedqs^^W?q=U&M!azIem@N_Xx^bY`7{j|_&umpDerV-W&y%b9Hbt24mF|OyAF?klyF9s1=v_#Co5I1ql_#fX|27v%exc$z znpZFDHovz!o9Lgv18=eXtx-CMisgsjY$+il!5rAL3bVPy1%DRv;;$Qjy!{dPe zPV;vPaloG!+?1cOI3PK$q3+ksZAF$|B(C{g*34J1uP>9QI!IpY0RJn*V-?T*?!l<~ z$|F(rW%5-A$yXiTlq;{`eVak@RRwYUZ?x2n86|dx7a=ypN_gz)y zeVHEa-O2x3_`iey&{!NJN7cTa8Rn>l-_C?~`3LCMn}0i#_c83-nRW70?c15q;=kuo z_uHBDV`~}wQh$7>q-^hi`fq0{{<0Zb^bUmocBaNkxk65AWfsp1T6u?`xr!HzD-Tbi zykO)zBJr%`z0XQ(61%%+B#!^dcy{nD9|vbNOyRpLl#4m~@y{rT{l$~qGYa*Q!CMm( z1h2&e6)y~9g0xqkHjlIUf1~Ed`bgjF?o$36bv9-_bJF-FFXDmrNBrlS?vL!-nI>oM zzRlanefxH1&_4AUnHQf&+U5O<5Dz@|_cuD8*|#%=3pn{DKb3E1!UyS<>4bC)I;2zf z?ab^rH6D#4lUHir&UE8QzmGKrUd`2E@C^L-U~Sq)zoJ1gLD3*w+md;)Z`TIzFx&ir zTk@KIJ5%yY4wcETo_8(a8#o(~-8uZ<5Xi1Q69e~xIqrCcMsbCI<< zPIlEt25*h*g4bl1HZ`(Kdwt`|WLMAYv~SXVOn< zJ2YnZ4rRgT^YEVTZT{Pt&?R0D(8j-)+Uyhet*rGwv);>J_=i6_4SzxU9>xT>QD%Kfzn%Fe zYf}1M0_Z!PHAwcnpmjMISNiQtM^Bn-bx%T{`75jNA67bldlx=SC*@s%&$3E>2K-xT z{zlDr`}BQ2|J}ain|$ISKL0X&7TOg@eLIu78lMH8cpL23IUkR(Z)Y;U>HS0wQhz-Cc4mOXKhLvgd90l! zmjlz~*O3q(ye={K$kxcWGnFgoV}co2!EN+-Xe+r@UDn^q(jb_UZwF1bFW~COtM=lX zeLJ&GpGVxDz>mr3aCPaoGvUDz+8#xo8eetmdO}~1{ASamK>jRe$oqf0papt_m;B!= zZ4O0;_>;+nOuwBeo&zJA23nA*X5?l9KipPpG$A9l@lpUa7*(lK}8}RK;yYs#_|_M4 zjK6rgzVk1B_Y{2RRq$WHW~%5deN^o z)ayH&>d&ty>PKU?Z)YaFFutkYuPc7s+W)ET>Bvo~9#1!ehy7(56QqCT2Wp-Qy3!Bt z)>bR8LG!Ep-hh@tuCH-@iR-IekGZiAs!nvdu~WA33SRZXr#94AjtOpL>>8Jijs7%N z`*x=I|40I-+(5~MJySoJ@Mz4uKyvu>?M&hVb@Ku@yzF9vnY_T7{Gv{aE2Ql$u7EBd zL5_}Y;G3E2`DW(YsQlubsQQny8Pj^cd$~6A?M&*hfyuWsxu^d&#%27c?RU}FR~8VD z*g!mj`vd$}94DSlJOX)o<#FN>JBUYg=gM;wi{Sg97L(XYOybMT$v*mhh~L+Om_&Ex z8=7~y^SpqGzX0qP=wpYAJ={Uz-SaTZX|wUPg5yqbJj7i2 zn8aLS68Ec&?%lz?d-#6~|8M6%G!}hKVq5UtOlY;3#EyY=N2y+_QPqbK@|& zm_&A*8jr?NFDBu}kv?}A1Fz=lFnAvOWU#;3!JLQ&#U!NX!nGrr7mEo>etq6;Airr$ zLh`Gja3BLVXM|RoAr?TtdOn-=PR4CWTE-{Vd3@>=5 zJ~DV~WEZ?9yNZK^@wEBi;9g==`M;TQZ)P09-oj!M)YZr?e6@YUN#xjK5_5x?L=WSZ zjg!oO*{o`RBlRJ5&>sV2;z6gmA&P0ci5LVrOTxUsv2byl;CU+I(w(eTVuA z_+v2%aHY=_Z;VXF6uXuEQhY4MNuA;1`lxVm4RI-sCfWzU=jlpg64d*5V=e9hjN%<8 z^SXCk(qHNaZg6WCFw#BYwU`8RiX4o@B&a_EE}d&~r)c6D(j@%)SxiFxFn*JbyBOyV z{pU;M=_Hv%=8`r4rxcU8 zOFH9X60E(a>NBP>3EKE~cP%C%J-R)y0i$9P8ZYoQz5#XKUYmX5zLmB9XV!c93*}Fo zhQANeMw^yZ?Yz(F$w59oi#{nw8bQXaiuW{M^74)xIdxK{1rX_O!!9(K(@K&9Uz{2rap^I;}l}aF|SD7t)x7=G*NXEGDsu zeZ#Zp;CkqLc0>o$*ukcR-cSd}j7e;$6O$mO!Fk}x{Ln`hZ>WQ5OoBEwI!ODPn8aH6 zu$FNII@qI_1a+sXgK11+oAIO9%W8azzO%(7e$u{kOC8^tI-BPfjXj7-Fs{%ymdxRs zTxoKJjF06zPw+Yx=+r3Rc@6v*{xyki>ARPy?@XQf&RmbbguZeO{Zz%0WFN-#ow;wi zyox@)Oxu-ieA3HRNq?#Dywa`Vz-SE+-Z%A~!TndFiEBucc%q-hB-D>&LiR+yv-UPV zCUF<{0^6I$B*Y8q$K3NY*O@o!Y~GroWd;58fMbR0cNt~T;me(rmrv;5L{{0spefVPZfGd5z$e7gMI%kv9n8Xh1Szpqa1b7sa_{e|5 zR)NpYMNu&cl@*f!hJ9>OR!l-=#UylJF$t9wlh{H3@}a}?ybLGv!FUAc`bhGWJiL!d zB(Q^mEik76yzQ&4t?V)PZM@(!`;5)?>yTetpY$;a@nIUzLKg=x^sw@T;o~1Df z)j?BC{lH7me+(Qi@Oz26=eZu^`YhKMxIUB6RC!)?!sFHx%0{E$RWJJ0hI+*>)Sq8Z z)Q`q&F^Pb0s`u-PAGh{@YI{0zQ>w?)ZQx;lnZ_jO-(nK#JPf;5z8W{+jAUmm51}8?WG1FMMi4ePvK^BV*UNY;5$Wv06+*{C_-wi+P?b znXqT-UrTsY6O-V6(jH&Q#Uzl$x_L@V|Ix)HI%~gGcw*}#e5Ww#oxwR_x$)bdem`(0 zwjStvv|;VHhPxxaW0>nd(HZp~ZeR=zORBfIZwx-dxAz*M?J#v8p^eI-CHbaWM?Y=t zn`*)le)}+%-50Kw?d1w>(INiZnN;txu{1M&?!l)XyWbd9)laN?!BaLk{_9(bqN%kI zRiXciw9iiZZ00@x<|XCZqM`pF_+j`nIl)sdJo<$zz<=Gxot@Argzaq1V347tD#pc@_}onNOT& zZd5(S`Dowad^C%}&1O8anfrYHmD`lM?Kysxezw`L{rs$Eg}3O7BJP1>B{+70;|_4}e_$DSa!rE+ zo#0r!q}p;b-z?lh`+d3c%MX!z^MzdbJ;=+;_vgyZ*Yo|&jo97~N7ekzL7eNMOq}cM z?yNZIE&x|pN1Ju@wa=XicMat&)L+f@YU&?y^;dy+V=!pK>1^P*~g9yr(sq-Vvc9b+$1H!zFyPQDGFpQAlvs%#!tZhZA8fS^qcJ5gBPDH9tqB32;jww;-RS8M*FTDu+Z9-qkIUQPYD;_p`^bo z{wJL-s&9|qzR9jKZM8>8&x%uj;1UhSYs!Tq{4R{D`3r#!_6l}Z9QWI(FN!bfA08Fq zbDJxBp8Gw!ofW4(#A^@3f6a@Bc~ZGRf(h^xF9+}C@LBVSYzZE{HXCEGAwJEAgW2fD zK2>MMfpd;<0xMi|Iyhrx5zkNB`E~Hj<07t$xX$C+&h^6Nd4=J>h%;8^1!t`IvOi;m zGBVHiooNf4{TCkUOBdR{ZRD&t@r<#H2gWnxP4pDeQ9CQH-q?XHXNY9D`m+1og zV$+4!!FN33yQ1j9i|E0989jJi;|KroWd29#K{cZX4&L;j5>?wM*XTh79=_;!N`J)+ z{!w}W{!|ZWJ4z40RRqTKtWafqrKp-O0UPLnofXH}+o-S61Ll}#1idHIiHSNZZf$T@ z9Jury=r*&zoM&=9cmn;fv*H9JSymtDo#{m;?v|bvC)lxQxk~d}=d8H8JrbIT^qD%44PlFQNG+rxiK2KPaLjGXT?FE#$)<$b>^(N)8LJr z6(`!mv*I-VfcCrnS#heT&l(=O{m4!~KGv+fKPwLSF6dki&n~5%k6C@y`#Rjub6?;8 zwX@=cU;MRk@!WuV$&z>(PvRarG>)>J73Xm?*O!V`bWU?#bl;tpo<`s)T!u~p(+o^{ zRvdi}9%DZaOqP!w;8)uMZJHe3!UgChZJI7f`YFuhtOk#pIy)oedSpzU)0cO_%! z>0)lWW>QD_QgC`YH#&ZqoN%uV7@Ny!QSzPn^G3!lo|mTSesIiP!qsS#h)}(58uTLvv5z@+gtpj^L~~V9o?a zyluK1_;$)0IdAR5oMEz#b5^d&RrA;I9Il17r*l>ucy$(;?ACxkEAG?otT@rdy;9Dd z6_>z`J}YhnE;%bMfg3q1PPA|2tT^hM)^S!Gbe_2d+HZpP8=(DqXulpB(9^H_^A%_l zZRtQJw_kDDA0+ZqyeXlxje7L9-O4&&L1mqyc3bqI=^!64R$3*7QG?pi?|FRv?f$Gd={~I1 zEK=^GJvK7gpX89i6OLZ`^Y9-3D8CH+sb5ChQGOY?bSAU($kw*Av3HZBcM5wIY_jmD zXT{-jTjAD0kIZA+S5z;aV4rf_r);)gZB(yy zK<%h6JuJA9b->mujVTzTx0POYWrKQeOZXA{v*Oypr#9@v#21^-cHw4T7NM`~!}9*D zIOf~q^17eCE5Nu-_x*nC0(5^Samon|<<`l>DJOK+K9{(_>HW+x^uCnQdk1fNe;#^I zxkm5LL+>XG7kWp3cJ?TIEIIt6^d9`F-qUuJ-h-!D!({Aj z)Ss%}f1WnNYjVb%`F)%9bsGB*J1g#|z5i$)WB)lwTJ{4U159H08q zMa#pr4(7?EDYym-^Gs z&WeM-rpJ;k>BHsdG4`#`pB1P3mqS;uX85>SIycH%=tUqUIzS{N3Cht?sj_~ zp}maC+RNy^_A)AKFQc;dGAe5?)4rtoMEWfSx0f-T%pYSEoVDRwkKik(@P03oz?#jL zT{D|B(k59?1fw+se4Ym;L#h)WGBVNc&x(Tw_MCkh@zm7;Tqd4sXT^zM^s9Ki__@@d z6-T|_N9cWmIiF!np9WVizt4dG<6J+@btl(euD6cR*!FSN3!m}U&QY^*sEz7HzuEy; zx;5#y)1RSAzv@r?v$Ns?o~mBs7B516l;FcCeWl&Wq?(<9)u?kFphqH4+3*9*9W-n;o8sjvjI=;RlVqRJfUoSP#e_? zr`l0p`mEqae1)3v(yw@6XT>?XN?Q{6n3#r_CHV-Yn;92)c&=}8G1kEw1S5R$*YTfR z?v<6th|OID>_8fuQ$NTzHae|qbajnU^%sP9Hsy)P6W1cP+seSGthkuQW%qKt&oaL@ zPAJ&%@JH81U{|e*Z2O|> z;0AKn))V6+Rz}`>Sv>lQpSd;Fy+3mwwB2L8NMn17>*-yNSoJ=x*ODvi{U+&&a!=zs z_ig5F_Z9@_Ihmu;+=9(XL54Lmh5 zJ?br&4O)CIXc*7C-JefQKLz%mmAfMAkNnFr?~0VuGX^&?hE34IzBtWg(^x52j*aiF zOvOK*g3rnr;@P~{*Gzf#$a{TB{uwk(Nqpt-y*}lvrSH~G)%|45djGLPxu`O<7157M z3(w1%4M&f?=jh-)-hL;m@baxQx4O?B>g&FOvl-7GlC1SLT=8%I%&l{7<@u9819CGm zDg96`8**#8-J2yl*ov)`CBHtGEs)f$Tas>8tWOE0k+wcQ&#+%gL_#$l$G!UGU~@?EpS}FP!%J4xriW1^nN@I5(Jn zqz2D_gN^iOW%?+!&O7E*thtGK0L>cOYtV*;;~pzOC3TXa6hrC-UW=ZCNhc z8fEjhh2E4*9^gb^#;Z6JG5@!|$BS2h@0vfa@r@}!}lv}vS%3+0bGn3{Ok zZ;rr}f!Xh1EY`J_d-r$0cW5uT`@2`O7Odt>+4CvuysPsl>&H1)>fw_xjf78OU&as{R7_ z<g7x#F(Bs(AGR|j@J&1J)$#MGn5r?dvip7TuBzMtalP@2o;=t-YX-lpchh@&+-ht1ukn)beXIUXX16#Sw{EfjHe|u%%vp6`}9p&;@C>KM2doe!7Lc`G$ ztB(xc8lMHc=CjbI#%H0uz6EIZdnNx@F;}Y?OYjWZa@nY}J%-j}`D^epT{9CqoyL^x z`+Cf8dOwka^nRMl7U0k~MT~~qX~){>V@+M&9*6kgb&0vxdb!i*vav?TK9?;6E4Ymw z4{iNB?%8olgqYRI^%SZKC*a29ZYlCXj7wuw6Do!TZx>ltkuCD#et|hRUJ%o*~A~&Fej_z zD3;MFd%huCIF|2hxokga-?_Pt?@XP|bF;>t_|DLOuK4hy_|8}U-6{CaE8xHIuP{9v z)Hm=_f1EnYW#jrQ!o@Z8Q+aOp=DsucO}9Jg<9^yMcH@&R>`eMgb8i+q-x(OK0VnmH z!F`@+;u_K<{^|Gs+nHMv>dYH;Hg6N4Wg%mgtSxk7UqD&o_2v1L7bJX>jjYLK6Wsg^ zU%+L13Z5g3#TUzEqwNu3kJ8UG&;9Gq+}gJtTLnJfXHmIqDl3evWLkD<(8m*Q|63PNIQX`jc*5|(2J+S3)_W%?en|YF&89pXc<}-np7i?>H@`=K)A}~u z&F=vJ!}%SCA7{BakUSVX_|Eb0{14$PloS49PaJ>y7?*e>UJuW5>-ww_nvOb}Bn$C; zo*Qyc@{~v3#TS*uLt8I(4}FNi^Xl;M6t&6H9L`^!cL1{Tt>>pD+V&k>yFY#t8}csT z22vZ6&?H-u)jJFlyzy33h>S1h)w`FSAfL`c29{D{#QXcTw zw$0+eDP7DjHY#h|ybY0kls#1W@Zu%q6I=gdKQ`Fq{mK?kBzL%>_b~SN$Runq_V-wG zRQ=8bVztmX2yWiFG5Z%!SW^9bLo3f1rw{GL-aXPiZK%It8usTMJZD_Xk1O9??dzUu z*M97sWVWxtmAkJQ5)b;YcYO`l3}x+IU&H%{Wb69Dqq)!8I{SXFbSt|LD_5!yXm_77+l=jy=i#_4mm$bufP93r`_mgpGoFjN;-@NRq zO+WWEz9VjruJQE47aKEn?Z45Vw`)D3QFh$Nu+Wd)z+e7fg8eMIE*yF6nRqMR$d3K} z8oTN>cBf-jmMx4H5smP1@W2e(YI&JN91M%O-{J!c%fK zOmp2&d+K`P*~lw4LVfK8zwBg<{X(zpzVuwQv{G&b-o`lcuCM0p2rx&ffAw3;8`p5& zh8er`B!vUVi-O}C!l|6_kG>rL%wAzfB}c?R4V^)~Cykw>#x=yYX*^NWBH&ky)KD{zowZh81~ zQs1H$*Pr}-g6o_*{d@{6w#U`KF+SxzckV|Y-r^Y&- z?;qrBtb4FMcXv+Te{2?G#a6wDt@=l2E4za6?!gY--T49FmH@Y;{N=w%`Y1w&>}kHD?3WXJ#Re$G^> z^Sy$WLov2mYu^*u?-d}sN3a)1S0e{}tKd5;kpboFuOv>+cNDO7SBk%?(|Ryo|GDSa zh8SI{us&31_X=|QGWt14&i?=~($!MOlH(Jvj;d!~#rr#(d4GrVG24hE4Q%2+=VKO@ zN7dF#_;p0~eqCP_{i*d==X}iH*S7`euW&WLMfk#tSYtRNQ+iWqr+gLl7jeCa`Ws#S zJn&wE?m8bCJNmTr%5n?ARpcHtnl7qdeOIX0UZPlv$Z6&tWAJBX7TZ-OFMlTY=JEd) z{!hc!KyR0SmuFM(F3;^QM}KqeyF4?!EugPFDW~2Hpw3J-)9(NW$Z1ZTf+;?vQehxa)HPdZuE{CWJcACj3oZEN0zr_SCzga(s0%7w4+D@1yq zReh%KPFRjU_uHs1PUN2Yhet*D+~&%j=O1!3SdPB>5U)Lq&GSeO%#+H|7fgVscp-Q% zgwL8sWJ~jSt&-G zTTm<{aTvo-9*}a6ln)l=wl6CBvd?X!jLi2M4&dy+@KEn_k$i5O@M-Mgf$Zwa`an+9DQ&V&jVjaf~&M#*Ae}&9DTtA`eAyJ$+b^&^aVQ>Ez+k< zyLa9R1VajpgWz_Ap0Z;}2+0bM#eDpQ#-ZFS0rMtXX-VqYr!+bS?+(QrfY;vX&GE zzv_Jf?&rB5PYTvi;k0q#4^!`LdOV4~(V=nJVaw6?xS8uqMXSSI^u8naBk&YT=p-=B zz@$0)^f~Tt@Wp{Ky|@0b#qhDi+4%x(njGFj4!xvJ6LX_}DjRtI<8f1GIWk-ao*_pD zoXa(b$ryUNz^QlWmQ%hIoSx2&fjktrHvkOxdMfLqs-9;m55((Hp8J*cn(H7(hJN&( z6Z+L#0T#Jw-w2%66Lm5(k`dN-X_eEC|;}%^7)|32X zXy^!X^np1O81c60Lg2Z7<|X90caS@_i2Szp9JwLH7h7ms=Ut`U-gjvMFE)_4`<3{$ z$y(OIn!uRS9Q_+yj=t#P9{$Fb{)Xuv%_nd*?<`&K=P-dwa`Y3pksN)|ehE4H)Hf|6 zcMUqvyb9VchxW^$eL1u*hX(XC&C#b#bX5oQvi*wR_|FLsmD4Rc+o(rx+pVm;7L}FP zqWj8gQCWE{Dl4x=W#zTd#}nBceZz@7LW|&BA4y(|hxd6c3GATdn*$5Iy+y`hIr`8W zv^Tq=Tyzg(crCYLWZj;_{Wfqa$9&H9^uLic`NRCKr*0kBja;wc`eCkDkF;xBr+RQp z_H)P|W$Q<6RIh&2j{4Hof*Z-VupE8S%6#bC0M?%W)&_Z!OjfvGq^`tVsqNCh&W_bC z&C#c=`7y|;`7swUu6fXMA-{|0v&3~C*9*8_$aQAWX9<2>5cn~^?EM(Z=DP?7aQ0t# zsQ0;*-j7Mgfv(8bSdKolosJ)!=IGO|3*Te;Omqi+SdKorc;!|Sd(;R)#;^<3r^u?!kc;fdbm8e>HF-rC)yV##R zhdtkw@yja0O`8{Wt>c%ylJUzNyzEBt+flWRau@Bfk;(q#+sMar!UetbSIpoa<(Gj! z^~-2G$}a;~5g5r|tTDgB+OdXltg$}R{fXu1bANz(@h$bs;9a`r8y`n}E6dTR&718{ z(j0xk1-P_F33bAJGM;IQht~%BU4vV5gX{<<&C$o_xYpGI8JjHJ%iz4$95=dqiuC8gg#r;YHcowafMHtXv&_8*p`|I^-oG>@_W zpx%!$Zq_)H{m1o;U4DKS`nP=fkGB6f`i(%RFLHB!QT_c#Wff}>eGRNa*0ldvne0FE zCH4i>+522v{}P;{OLbj_lN^0;>Rr6$l;3p!0gUZGRz%7EV_BdlwDs?jeazXBLHg0V zVz&PPRx-U2xRdTb=x4VZ`vCt#`z2oMXF2+kE8%0@whmp$IIwShK1W~oFNEfK`nmPM zecL*n8}7a7zH`DD^G_A)AKFQc;dGAe5?qq6ogDr+yJvi35QvCY{WeZz?#!x#l; zZE`M0-^2U8Oaf~*TXwAijX@jHl(g3x0zS_JjosE2@gXA<{XRz@T=txO8acBI0=RlP z`oP+pE#S)foaX3LZ|fp-#@w586JxpoT-Wov3H%$m-oW+4T(9T4ZiL3Rjj9(u<1Mg` zX0=hh#-w)Cm)0fyhU=pG6E7@BKj5kAHUHv8$d3|y5bdWcZo$aWE{8h`#3PSaNWuEX0Eq#-4gKR7S)SR#}mrN2enbX zaH<{kr7eOR*)!IRmwv?q%h7jqm99$Q71QvtBp;!4HRA#g&-F)g^nnq+`1YFj%IfB+ zSO41Qsn>oZy(Uk+q2i};$tt*CpI?M)@zHe#r%JT zap!Xr2VXu&eC&~kcoyGFCPrp)l}+Ti6C=|(t;1j7cR&3eL|5M=Ms`@=K?O$NoR9Cr zei0vo|2^?Nlpmq~F0OY`PkhYk@1*<%!)f0n7k}fa?!8*-UCv@{j{6<7xgWZNxLA_& zj*j+l?@sRB!v7uoCoWbTBQ9p=wPxaC-q#lGvT6BKh>2N_d!3k=<+wwO&$|fYVQG## z{n%OvztkUR0+h|~ym|bpxFO#bZ)Oaep@n^An&W;?QmzmOtIXp4{#KqFV2|Sk(^p8Vys(xuIOl(GPpeVlJvGmpz_jIC^6B;ov>q zez$fof1gyIab9{s8~K(qP7GgZdO~~Mv;VXCf1~Ed`bhVZtQY52sIxIkZZv+$i+DiU z^U}w;?7UW!Gk4$SZDgPMF3DriKHdesUEpJ0eC&$#A)znC1CRZEzt6JsT7?TZ;rOYX z*9spJ*@QRJG3by^=~>vQacVpoM<$l_Ilix8u-u>F;%wq?J-nJLoo93PO+3Hx?<;Pj zU+T1PG8)8_ZN`5)|2*6`h4P!`xJ!Q7E1CQ*M3xqitFi&vox}ePf$Wl_g*@_}qRCxt zzS!bGb{(9_?p$P-a*gcHMb_pRj-FV3WboF=E_h9LX;UM+v{x>g$?jtQZ-NJ#7)P)l zvK)8nYGfC_GS=Rc$+4Z+%Kisge3$jn&A4UbB=Zm1HO(Wl^I8L$Hd)TZmeTWD$Le45 zpJ`*~wYq0&hkdL?bh!Q-{Bt+WH9p~b=dVg9W8gGbW-ENTk#b{X_RsG79CyhYFlPUe z-I^TtQ{;i=xcmLz+noLew5B=k^pn~SjoJBa1wR({2DkYfcjyu?2WX@H67;3-&uUKN zNp4*N#@iv)*?djXyeIoS%W)Sj_%;Ad9#`z_jB-HZJ8JLSUW_&$c?zFeeFgmaCFwS} zD#l};*aY=DuBcwT~NMPLYF=^IEAt0xrdn=87h+Ax+|+ewO2|ei*;eAX~kS z|M-vTd9B@3l zfhXPu`*qIy+m_=lSrU)roA94&>YJoF?g0+@+(yGL+Oc-}=Wboz9*6kgb&0tb&YeET zUGWK@zm=sy?Ml8KG}*p@s~@l0i)PDluhZud?;p7_86B=J&2fhZ zM`(K#Uj6RZ+`3K~So7UYj{^C#=ak<63-CssPSGL$Wa2O1=ehFFL#zB2zc(3ZL8h9K zn+g0{nEM8<&0L3(feBoHkc_X=pgPf%_--*}**}9OE9e85c$piY^m0Yg--o;|FLP@+Fj@nI_f36gaDPxV zaSdq_|MasQcl9HgkbS}C%ATa>weI3xV0)jO;Py=71@&X@c_!4EH|lKOCO}Ik{d9w) z)AhTUvgq*Tg_IXlrcV5>$#ECl!lXXs3%KlgSa&ogUo6L+wnui0ZIqtK`&uJmQl60~-OCqkrX{55eOKb(Uvt?TKYF zu52E9h(C|+`n>a)wvr>Co9W{c!daw`68sWPb@R@F8I^ZV8=hGjO|jpXEr<-4p5tPV z>gJvQ)1!6r&cScF((*m9@8KA{J-^%8U1Zd9#x3uhc3q6AvLK;7o=>0rUrt?`cV4hL zCNFV}ymR$U8_kK&@f2*DcdkB=jpg8>zBcdN^;46#IR_f%Lem^a(`?GKDKAXQPx|#5 zyqaI1cfQ@tujO!4Z|@o~ziHli2oJvB_3->J2JjWi#!JQ^Udq0ma^5+8#PiXuSxNuM zOS|}@GX6>ZymQ)QX%6Qv&)SfkyK&Hz=ADy+Cp&Z)y*`3oA4RW^VFSK{ZvXN3__hW2 zHHJ|++Xr>t^EkerLGEWaxu4BZ^(gs|}EedKt? z*wWox4|-bF54M%Q_j2}gRee2UeU0Q*!jsW_JO!HndQFC>|4N$w=uK#T$oe`7&CGo` z?|=DM8T#sta}0So@3zd|o@4tJC$`p}C7zx~4(#Ep zg)_L{$+_Ru%PvQ`4_1fWx!l8@;dA{R%54T3dS+O00Td!w`7$@-Hi+{dYrz|FMT&* zpdr6kePaWgdB>A)HFS{&JkI4ozd3)3XTAx4ZvEHs=Mz5yf1WsZ4E~6g)8NnR>id-V zlgJh8`k@p=>Vx6Eq%H?|7TscR1H?sW!${*pU?`fF*#f0FyX8`Bfq%s6E~qXx!Kn-~7-hr5o_{t03o(RsOQ zbY4ew5C3QW;?nBl4GF$)g)q~AndV@Ad1>|kbudqbFf)Of>0mBiT74LpZ}NKu+F57z z9!5uEcsp@oQq~yz(3y*GcI8==krlfSZP=Z?QAgA}4qp8^cxt{AaB#Femt7QJG^gWk zNO)hf-UR%6RO6n}(3_8Bmll7EYkNE{$<1!aMW0gN2J`5+6h^q$Zsnf%9?|~a|4Q%2 zP7HrzX%zK7&ls~fHP<{}Zr2=Uan;P#NyakK$&uzT-^g!##9RmKd@!z1F3yM6!&$k= zz#eIh+K;kkOP1o+CH!AfmV7RFNc;}$c+k$vviARb_$Gp6d0=>W7kczX`4iHi$;fU@ z-}*m||I%r6_30uyCY{>DcOQ%=(FlLxQ@i2*?fJbQ0_RP@jYUH^&Ovg+PBzY8Z%yRk zu4}V6N9@83`aJQQ(WlUf@8#Q<>N{kAs<~5HGB_`z3>WI@j+1{^yc0Yu#JCXdK^37-#1xwYHBlJ7In7Ih(a^`p_fNcXWIYK8?ox zceEXL_JloSHUAafBXu#I3T111pt(1{W#dp7NAJtIZ!pMSUGg5w1FZ00a#;NA+slXf z|19H+v1@9ld@YU7`XGLSUse4Mb;H;TtCzf;ARo{B@{|i7`@^RTHy7?S8fKo;tF`U@ z8{BgwlTYx_Ugs49^NrSxZ)05>v2j@&hMg>X`9rVxzoh(&`)cRt#MVdf6QW)(cY7F5 zgUQB$zPkPjI3>@*_s@S;AJ>T=;>(Pe%}j9kKKM??r=lp=o2{2@YYphiCEupoF8lGz zv*cfVaprBm)ce)l=3jhc{qN1{ee};0eyEM)KZ|P+U5REyqxyJJ_1L2<{0mlp_9*!0 zRDag!`oGZFmW;-K{@3JxC*#%Ju<9KZ@@{Rq%nNJF@fGlc&$X_I~d#f5^A&-ZvDT z7nRq+ORXKd@6p;YZ3ux)%Ge{mk3TfQm)Gn5bh~eD&&CcNh_Kzf-?u)p_cHtWmY!_e zxoWe1Nx7dsW;{l})U||lPbPIu)a~J$O~Tj8^Ox3{`sLbNFN?}iN3QoQ?%TZ!$v0cA z=OEC0NmSjQ+x_$ecx~n7w86J){VZ*|w?Dl-+Wk+Fzjrw_?itsc8@K!EJ$hE-@a^H* zNtA2oZKNzcG(7A0X4f3nP6rdM8{d0)E_ym{`_q#`xC7MBPU;1lwx8K(e)b9E+wkQk z^d6oiJ^!yyYaA(D?o6A9xBGr(o@qQ3kN(29?Krb{TF|DoH&<=_G{4XCyO&=-e!wjg z({}q^yVm0q+glIFM|fMWo{#+<^{*iU zR2`nRr22iwi^J^aeoM5>UQ+!RUpIG2wd()RSyKHC?kBR?(ECGIZ)J4ipIv!(!!<*_ zUu8W!_~!mz8+o#_`89q~&_-jHU&wQo-fMx?vy_DXz>n%=@4z}A%U8)I{<3iTy#&`_ zFB{Yc{Rr=#8(S~-zG&Z#YcH1WY&i*i*3S74@@?cpJa7ta^gPJ-rSbjV!*%%3U4P&3 z55mt_YkaKCShDzUtB3z2ZT9>KZJww%_A$oM_x?KL=nUrStp9uZ|3}^X$5&NddH?6; z5_4}NA_5`=2$)iWw2g`uGMLFPEg&jNP()PJXt6St(zJs#T7JY1SlS2fU`rL10JbDp ziydvreY8bP9e*%=6zPoZ*comTJKh`YsHLsBwM?G(XP+G|C ztiATyYp=cb+H3FQgq&l3KZdooF5o`3kdcY#z4W=0j@vK}&->_q-mp-_)&jO&)rwNiS7;Nw3niwrumtbtvE1 z-j}>`JC$#2@9$~5Dc7v@aVFhc!==#OWVh8?PP%1;`TKHDKjT~aq0)C-S)x4B>(maf zEs=a@DEIQkUq(lhUM{&*mhZp^Gr5P&vp=}>^JxYy{jEJ$s&8|7Xn?#ookZT5Cy_UG z4Et#=4s|a6#_o^oDr4^P+hWs18_h|6d_Q>iB8UFc_~@c9%ov1+GzPVYF)eT=4rxHR<)XoXLMxb^6}m_w4HQ>frY!)#=)+ zT|CVinmwRd-daiU`JOMFY(w8bkdvS9dM`iW+XDGT2kF)8GwXy+&aE?~&ur2< zVeLN~eP&a`H)h0syg#GQcy*y;JW+*yAsy)<(hW}NYUAkx6Go5wwil1CH_?knA3WO+ zhhyLL@}Ngf^5U6SKSo$Q611h9N?UT*Wt#Ui7v}kVoUsLXy8nIDv5Lq0p1nZf{?}w4 zyl*c$ad~m>;uFt1n|9^O01q#(PqZG8&EiY+mxpK8IkJwAA8b|s!9S6Z^s8~biFeTT z-oc;gfb@E2lhZyUcIbuwGCZF=fbMiTwqwpZrABTWof zCwN+KC*A^A?1#x0!ttLB;_g|SPk5A!;O;iQ6CGB6>_F}xBL5-UX2(K;aA)1Au|xD} zB5?OR?J;*2%I_e#6Msu!sZKp-2`B9F zjc0pLXIKm?|MpF?mYJQyj?SwW$+W zp9EF``NHHYAYV9;Pq471C+UaOO!AbR!J9lK^D4^N=ke$o%_mPWd8){Bcqni39KI?m zkM?V#69#eb@{R4$?StC611py7sEw!QQfA8_-jvyLaU8hr7^80acsa8}u}=83tGOoq z%V(ka7I=ra6yLIG=^crzeocODD{ZJB3V^I9K0U14k{+>{s=1il3Cp_*$mQVh}j998lb1n5%)uf+8K7U$r zV~C~25c~i`wofRdd{@&R(+V|%g3ud#$shP1o z4LLN`^)L6zM<&$xbel&VH-$4alm5}_=_}OLGmZPx@DG_i6q^!hU3_=1sEzLj|Nm{< z=)v{r-3R|$diSMiLtnL_cd6(N@4O`(n*wxef^OKnBIri9+jGmZv#4*zpOT@Ya9cmv zwcRxCvogOl8q;~z&E!k0urOD^|8>N3j__NGZ?y4^(4(Arh;xIfsj^2#k3^r{@LKe` zAOB9_`wFd3l%fA=u`8&UuRe+Lomxs?^Pa-^>(uadDZCvKo z+qn#UpxfHQ)vx_hcvHS)zxDaIb$wd#;FYAWs=T)Cj9@1ZrT?I@y~MU*39vedFAk-< z72jav8;I{Fz9f`>Pw|W0cr%YKrro8qyOev&kk4wX&TE#@r%B$(Y~u7k1n}9abbWbl;>8)irTBbdojRQ;>i!=tgv99y#`35}ewNJL#^KBcHud_K4lbjR|gM`B#3v*8v4z6squ&)ik{&EiNV!2H;`)TS*3AIc^-&aCiwL_T-_sc}YJtK-U@uQI0i_l}W4O0On; zWgu<^ai;FTUWdlyg}v^W{1UR;!|hT#K1G`)q^liDlT1>$fpmE0cztIHINSNRgmTFx z;Euji$GHt}4E{0C(vA5zES;>}&LhB2m1pMTSy8*sYx}744J(81!B0Zv7FhZ$ppFgD zXT!{l3??r!_*G8^p9#Mt>TUk|<7KecG+x`Mm(s6EkhQW)gQOL_GH|2W8AZE6wLI_$|H(+!0RtX*4jc>|$wzO#5gf@+3ny1zda_seeXhu*huTukqqiQf z-`0@s`ImC0MCbP1`Ixdhls3b*X@=?lOdol8Ps`w~|9jv^Z185IeE3_IcBU@uRL?&H zytj~}Z)N<d{CEpLF*GrCX8&Z*azXqTFx&C_3 z^bdKMcV8}#9fC%O`k@hVf0sj}&s!RK{8=gfEOGHM{8>U>+d}c16<=)eEGBL% z{JAZMKev7ee~!$w;g5f$4I|w)m^-5Bzu>&)=|!radqM9{472qP8-PATGO!N|_7E4g z<^%DA#;VpKPvRSvSUe>53~&9b1=+vJv&TtCMvl){{zhoh*YR2xO#V09iQhv!^2i;J z#P8)>_-l>*jLH;Irl=a*kvkWtY$0t|o?}fP?klW%wU?;blt^;sNJxIJ3|!{SU2Spum4VI-%@p_sQVo1Eu%hzeiPG7w#^jPE%jm#8_QUxvtVsECR0j{}=iYdms~IopqsD z7}-6DXCC8DnEtvEKxWe;Uyc6KppfBRzTua_?E^lXi47KmJy?fkUJDNG; z5a#>^G9ePe2Rz?7uR62l*yLP1#$E3ZFOKb)Vb}XNjfqVLfAKx`>0U$E`^UuYc+T}P z(LSy>Ruzs|zmoA5ZcF!#ckK_ap0@+szXG0;MNY`dZNeTNHC6{v{u+2$`R@$m_wsdG zSsWox1ieO2>(P?wRaQ<2e)nc4#<>u)myRtxJ|Tbgyj#HGUdrf9-1lh@XGAy$!?+;7 zS?@A-l(&_g$G+bPmUx zTU6#xf9Tty^8xprF1#HxN8E1zd!_Y?^i%QQc=uD{;y516{QI#rOU}s; zW(+uu>D|#?d{=Ap^}V`B(Cg#sAWufd`aGF8GsBbj{%@Bj6Aj2JWLVxQ*uX^_Xf%sA zcOk{)gSWeT(Onwfp6rlMA9{l;Lsl2Z&L_Y5M<%?he+&pmS06Y@H|j*k(!b`qkJ6?pH-Fxs)$`sbU9h)X*n)E>aq7!_i=*~h zg!3=dx8T1WF9aenzGS+a^Do7G&f0?y+}y|Cjd82zfkRV|n@}XyTkZCWh>IcLH+u zmMd1zYarb4i!rfR;x13mqJ6EK$C-0KE!{WV^$dI5jM2E^wIcchJ@(NC=V05;ad$=G zwYH9N?M8MD!-iL~Ivx(S%*)SPJ#U%XMcY5DFMdj$qDunXRhIl{&WzpMwz3W|dVqYc zqo<>HOoOkHo!C{Sx43&Y4bI95w4)X~?fKw=3|szNZ%>Fe7<@}Zv93c-Y!5hS9mJS2 zbJ7~i!}^aeis5j{bMYFy8;5Vr`0&O?1+X2){;X%2kKh%_V9tHUzfn)S2uqJJ_8;Dc zex=00Lmx(ymBI&pIMx*4&AN;)v1}wpN1^@R{{G#+&)9qLD;a*dp)0xz<6Afw{}iLk z@XZ+HjIB8jM!VS?We$qjeTeZ7z1H^A7PAl0R%F-nq8I+Jr6u51<@|*6nm>t*A3tt` zwMC{#7mTu4D194vNFHh~HfPn?tBkPEDqY@<cqYF$Ob{5o;Q%ZTU%=7-JmhC%^vS)oHCYzv>5Es0(dSh9%+|cn`Xu)eGHAL=ZD)f zv@mDa4GqMf?th_=7#i>$q=9TB`qsG7yri|F>URHu8)$!r`tcObL1+F8>-XOh=b&)j z*EnwauA_ZhQmO-Z`bTSu@h3ZY4?0asV}P;8e{s{@@Z6i!`y2RgEqYfAJ|C@(H%@Q0 z<4XM^T#%K+cQbBhtDkr-Wei5v+&4NK&(Cn?y1)Oojy{;sT~fL~Y8vY^$|tKL6>1+g zw6t?`I5r--GY`2oH^n{gj{iBdW3|Plk22C7bY91llYca4WRL-waymzVuh$odH}I=w zRlI1+dv)b`eM~)SPpT-7c|RO`Q?SC|8J67RPLJnYp6(+(at33a{Lu>fsE;|OhW7`& zFXa8c!`u;$U8(X%q3u!P1Y-pJ{f^5+Chi@#Z^!@C%24tp_fp?p)yKKJZG(9(uSixE z@XV};yyq<6z24^K8+~VaG92B_Ui9DV?t{p0o%h!NoiqQ)RL&%G4)4;~AkG>%r_Wyb zn8w-$Csgt;32;{3My8F-L*CY^F8ZJFuv&8$N#_yx0G&F)`-`-55{dz+M4td|8AyXS0U;v{b$!z#L-X7ZEN3{t@7b))$h#kGOp%eP!~ULY_-k zCdXkD=h3r!i~Uw0oX4DaPM%xecV;9gY;$K zjz3sx8MrTXaep!hdl~SSS=dVnF9r5KVC@UQe%k%cg8ek<_>CnSfV~9R4KD15g0PnW zZ;6H7K)3w&)uc)J4dce>wM@OP3v7x;64 zKNt9OT=<3$YJgh+tO5%+OgIc&_(Xhgp6&l{G4?JEwskJ~=GroI2+yI+HtOCMz-6oZ zorTL*(r1E89k|Q{mpT`hsX^E?fj85_t|MFr>@C3BLfH@Oc;4)O>yAIQBP#lACcO&S zGk{$M>=`cXF+n;;$=64oJ|oY#BarY1wq1ag_7>STvdjU8Y$YO(i@P8m)pBs{%A?a=)`^)I@qYG@1g9 z%AwJez*wIM+;>QO$MWV8!biws$NHx&&pn8aH8)68%ITgDtrJ|Dj)A7vx1%@2JKw2} zcc|Qg08JO<&{W?iNz+@JGBkaivl0FA9QPH7=dx((mxHD+QO@VNa%fm?={be)6zJIq z{Tc)GT;_gf(Q_H;_{YirD>VsPmAdpS2-4@1qE9jOS!C%`41E^0bB|oS^Y!X@lju_) zpig}cee`{j^x1KDhCUkypwBn^p^sk<`mCW`7SFv!JKwUr(M`CU_Ih$ryt50s?J_i6 zncRrn+KAlR6>{a`t{Nj3hs!R?yb%A-9lE@3X>^G2p#Y7r6XJu+ zTyAMJ7aGllM(Zq%*10rVYiYEC_a}lhGP39_XmqWm(OJ;w+IIBAc;~+Ac#CK>GeD!6 zIW*GuNz$lxb%sVy4M3xR=!ZsrIcW5~AdT{&!7I?^6-%Q7gb%nhlFrp8e+k~xY5Q-P zV}07fU#-m}Y5M}(_K~!GL3{FP+WvHP{ARViF3|S6oVM%xWZS+b)Alb9(Dugu+U}L3 z?Mo6m&bAOn_jqE${gtt8Y7;UjHOAnuC7^1xU`lv0`u5{z`R!PerL^V^`w_T zr()){5@=QI&TCf%=|g|DHjjWlS6ljwfIe5Zqvyvvw^hfV*BG4I`SY_9{J^<&jHH$^L`05DY5h^CR_}C=0J}*0s72zzq9Bwlk}0$XBhMu z34MmS^pSs5Zr!(h&Eibm->2>?!B4gkollNLL(82~t9ws_9)m;6k^8PLuJ56Idwyj4 z9)TaT{Z}J;c^nJW^3}rw`71-qt49aEYe*j!_`ZbnQOBsQPg@{W#zD<8b-((qkcKs(Lp)+75eiBI*IPDZ*9KPw&Qf#ab-LAwZ}VGRL3`{9i@SGl;*TU-zV9Q zwfANEW7`1j;Lf?@WQ|{rcEl)mL9iW~4_-jVy-=(9Af8;8&vQwfbxypqu{yp`?I;Pf zqa>#t`aa2aoc;AoJ3c=^J9PJUuFUky(T>HGlg(UxsRuiykw2^LzcG54|5Mm_BvW-( z;CAhg>uyP%71)A&-i(~y$a_moTKnAmtCI7a#BJl*S!4D{@U4UdVrbDS17!g77g zJm1X7ENJ)8>UiOIs^diuRmbOqik9|-i+0!IpT^nK4L|2hK$5<1;ZB*z1B|6m?efPx zyBqPkTS_$6o|pV{%N}O`k2`0e2R=xFyC>MIJ=PTF&J)MKf6MGQW2@DE^DpPvdOF6n zZ$!u1L)ZRYZnX_iBG1+jNE6WBv%o@Y~5#y2lqfM6{9DDr!(GcpLgbxQ# zcra(n;Ol=AorzBpH+ht36g^U7eMyY31M#;o-fJI<#v1T_{21kak9@pYc#$T*j!(Da z8&L{QrNFW0IJ~lo%gg7^QOdpb1pUExBp-ij`+upc-o~Gxn6ky}scOH{^CuYT#oCCVv9bqMAEscUu@-JI1sdzkrVG+ewd`bnPeEHhT9b$`_=yZn4Re7zvF^ zs(s&p$L(1=*@y)f<`{f1Uid zk}sF96z7$F9h=gkz_-eFP_~J(SKIin!K1k_>H}q7CH>OCxAs^+6ZjSn=f$eqQ{=0* z@oHx${PTVC>YSF@LvO1|-|n4%rOlD=*7*0Dn7Q$vqMD1$y(4EIvUBS2!q|5#U5sB9 zFv`Ab&%IKIgWd63XbEi%9d$QMv^A8De4q2YslF{^EI!fiGxw06zD%1iI7h&_Eb7D~ zq;V&IOlAI#GV%lP=qGwLpSF5lIXL+1o&cV={IkJxQv-AOo#e@qJ&bW9Ke`uL`8J39 zirl-$PDNI0z9{2)lT5$oIhVLwd2T{>-^IiEdS^V3Wd6N85Ai&~Bl#Yb&%Vz+{H6VE z$;XGTcjr#eCw}r8=*{>KdF!k&wBt^L8uG@-o7DFjWDWUJ1#aFoR-W#|M@?;4Ta=G6 zZt_fKA4z-X@{>`T=7=mA-cf+R`dIwc$KeOT{e4TFbmtPrz*5G7#^VyzgO0{}{nhQR2C8w+n8^0#AMmBNCsphPLZ4%ikzB*b$a zc(Y&hB6Q_`h>8^ZMBEoqVdzSlp(|^)wlFsOj#2GxVf@WH7PgZfSJ|lKzfX7B5{5yS z`Mm30x+#x*3TB9ITBDyqdOh!Xne?kkKWgUpGupz~aF33h-WI-=_k!ud!<;dgmZ7cg zn5l!dUllD&X+tUP_4W|Nqa|J(chHxLmhK*v<{FPjA277M-qOVYmzFvYB3bMC$Q|LF*BP|I_|8GU zkj5+Tyr}yQqnn%tzxeX?_Yr>{xaGNwd_9wXJl1q0=Ok{xf2qK|cfKS0{EYEaSKF-| zypFafX@g{>C-1ISToL2Pi5yvz@vVK;x#s?+`fZ`|jjWE(hHrK5H^jH`|D%lj zSw?Z5ErP$d?$OQmQO=yN3Z4<^LDx>u=B#r|&Hd+H^x1y$hIMY~Oy&X3E_LL`TI=!- z%CFT4InWH;COPSwbmrz~7sbkc#M;l-B?T7LX&O*0t?HJzP z(vf%Y^Q0-i!ZU1GXEa-oZRURZjuGuGGxH7};?Au;^4)3ks7xvJZ+UX~bj{nXJBOS3 zTDvLVj8YcilbJKY8 zg!T`LJ@mLMuY^bI&iT_{^!(p!{k4|wOx@%kFSv|7LmPBz|39C|#kMo;{HU_zT?=e@ z!ObhZ)U$^(_Z4!d{^WZKx5BR*lJzzZbAk7-ycW-vN?c@A^-BJSzEX1q{%rVY5U#3O z$-mcEM(&9g%P%iF_@&Xt-;Fh(=1k2GN1tNdFwDY6x7I)M1OwmgbmvUgDZuCk#=l}S zFzvBvKTW!QSqqKj18mYtUB1^H0=g@Jxh)-;2tJa3jB7s+V>&g%=J_P=a9%7rnY^E* z{sPCBhgV<6_y=ZmGG|o8gS_EGUnc$l+7a)sFO*k#Bo}WB^qJyQ1;7w4Hhqog9uD9X zCeJi*nMQq4C;bw9+lI`KMv=8v=KJ`Q=N#tc6!a+^>ZGHCd4>Xeu&cLbA>u z3+SlxMTWPKf3vLoGctb6Sa)u}b!_aG*=CO2)bP;QScx51eM_i&Mm2sa&;cCyuYFu{ zCJG-!Bxm3S)8`HRw{8-7CP6D?!uZg$l}>1NrT5)K*-O7Xu73PWJr_CoIq}QKy7AHM z_zjHBOYbQvHf08r2HZ#uJPK{lSK<-f9|C?UOPk4qUzVL{DQnjGrme((4jLJJsoRv_ zKY4@7t6e_c8@QWqL(Q>>^VvrRg{m)W9`ooGJH~wXiv450cST~%t}8n03S-^7R#$dC zwz{%&&+5v=lRVrZn8&%Jh0v)p{A^{S;MvNqy*xX~_cZTqy!Y|m%6lj8H+aACY-Mfh zxp#K08eExNg}?HuXhqjH(hiY!$fot3TAA#-tRmS&+E&sIkaoZ;N7^dVR*)u`M@c)X zwDa!l>N|~cS5zb$EzBdN9kFSvNLxkPG7Gbtv~I5)xb%U`(kS@MMsJ*5AsXV>8BaFx zz07{s^Sy%arS^L+-wSHvsruSD`HQ$G&%Bd!^5UsEYsHhVMi%mqiTo)4lw+RSIEXom zJogM5mK;f4DyQ%;!YZrq5W>`-8foe%N*3`={i$L0yMS-%PYto(VZMd4n}2DtF9O~C z{7aJ`@GYF({7aMXM=H9Zo9amJ8&=V^ufFo)>ha^w9<%+5wSz);{)X>I`CdCH90=zJ z!UchFG!QNdga-%0LjvKUf$*?EctjvPG7ugW2p0#!V*}xmJG-W?sqC7%zp`r@?`iuh zyGQaK#xs)eu>F;__mO#A&X?Vm*3CegMjyr%RAP!ul88yI?@)csq9{~zw&0% z8kDvt?^x%a+GAZ?d2iv_T6=7J^O=9%-h9oUCp;P{-yZ(fMcc#wd{Nhy+G9JKhyQs; z^ZY;862Bw7`Jx@+Ll;fB_m(RIa9m~UZ{oWNTzSr}&b!mc;~nsL$KugQo<{nQ zr?fhJr;pEJa5xM;>v%WwtOK9$=s#}{UuW@o0DOLRQCG9@ISYKQwfJlSpVwV{s(@Vu zK27k#D%#x4Q%}3=1MS`h>}}MunY<<8W1XA9x11yPS7D@%88_gZ^q+Vgca=nDdd~PdlK)NF$}OTy6}Wsr-1|Hq z&R=??um5cJbsfhDC45lEj`t#}a!kKGxaDdl^q7;bj*e%R8&)w5}C{jyc!X zoR(+;?uv_#C7MX9r;iu#)YF%*lmB(%50QR|x8hzQ?iIoZcpo7DKHg9B>?8cN;D%1? z>JZ!zd_%bo^1eXY9AM7nnFEZ&xWEA6XyJ_0gS<++^+gSL|jj6rPf`&mG)X2>!p-yOXAC z2!6^BW!tb=W0?PpcMy?@!loYj?kC{fB0H`2AMO1KI#(dut--zdhThu?Tw9m_d z4A}Z8@A)Ip$n}Rf`#66H*;i7O zpNyR>`gwTk^RCS#`Z>yfPBN5sGZuGrbN-t8{QT?#M{gtlZ8rbS#QkD%cm2_d=WZJo28G z$vc<4-wwiNFD&{=@_*9ipG^MAnf!I+|9UV#w$JE9@=vt+Cy;+aCjT_@f0g_jfK^g`0)Lt%JWdw%7>D6cmBoLn5L zNG`6ymcV}Qs_Kdty}fU*O`_Wfa2{cC9tzGwGj#Yvmum+#eidFB@!?>~47O#Wl!<1_ zBq>uKq%}6-Xg>LA2Xsp_#)O+cE`Ck^QV;(q_|FCZxdwmylL*hr&RP|$@`Dw#XZiY3;bkkYgIPy4D!y%(M?Q7G#(&~3J!L15Cl|)6RHr8x-(OrXUEyna?&WzK+`dDD z71zuA3ErMOO%+Jz zW4q>i&GFORc{`|gC8sg3GJi|&N-bv3(CS?ax4`R*rT1j?F8K>@C+}bH3hG_sdSkYq z%=tg@-ITyQK860BfIc)Spra6`xx?ifkbrNT(6f~-;Ri2jY5w&^En%&zuj}1`9<~#| zg-1CHw*3)TH&gwdFM-j`z$I5VbLMIO)%hsSBHA(F>ocVm7j!6JUm`4A5+&8?YiL)C z_T{xF@9SoSiBlf=`QhJY_95NxYkRdX;Mav*@#{hkn06yS{JIF6c8^59AX79SKbvpu z$IzmMdPR#w>FP?+B2mIRi}BONc0Z_rcqDqVWiv8H*9^Q+k3ALQVNZ;@!`-WQ_>c9gV_F#URCZ&c$8-5#CchwS0R6IK_|z71pG zz2uf{qZKb)@o$dLmaU(MJ66u%`C?>f?ma7k{|MJkKVKp&NxJ{oXM)Dr$T z#^Zzjc>L7Pz&NyP2zQOd{Yg1%q;Xe?Pw_uen^Z4j-X9x`c{4Uj17m}*@RVNmCECy; z-zE7i`QwlS~>R z2>i=E!at+eTRXzjJSicVBC!ATd6<(UB8(OYMQoV4a> z_W5IiBRQ62tRxvHk@xO7l!Vvicbr`2tR$~{F64*!w4%4M54sY&#RlUCDE@`F-T6vq zhcjnEs_j{j8s6T2BkBn2zY*=<#U6zWbl1&iO_$&P#y%-{8v{J|P0Mo|J)Xml(#Zeodgbryp6Nd^ zo+}m&=^K~lM&VPw{zc?W2~rZY_vC@~Gu4XzrCWFa%F)Q1J5Q+v6W1 z-=LR!H^PbW+G^?*9Zy)kk+&TmLQlT+2w(Wm=QVIMyao*m2M2g9SH2B)dF@T=mwXcp z$=LyUP4dm>wPKgoa^;)hwMD(Js7>&%aMPOQI9`LMqVaC=7&1-cRQGERB-5T2ya8oe z4zD$5?tg711O~@AEoZ@a*`4nos`l9*2 z2K+aTveZz`wO_bo*oAt~~zmE3+`P>C&n+oM+eUE%h(**WNf`f%&p6RZrhcBUp`^@Wvn|N($7brWgGV$pQH6g zsIaiDv3UA!WP-+fkz^CHMSU$^I8H_(WAfchGxW1`f?OHU+PG*sy0fuq&!V0r z^o>a86@8&y^k(k-zYy7C(#xi|CcL}ArMK$-ttdK48)2i9(9eC0 zJ#WtU*0*Qd`#6oVk|Y|rv-zKynk+j8qWhQ9=MG0)~r8SHCj4a+f0 zvzF1E?ZxR{Qhj^%-DGWeT2Fd)h6dy7s_~_Athw{ho1z~5Y@GJW&cRNxoA#8ganH15 z{j(x>9+nKHy;(988uU!1FW~nhjDMr=Awzdd-$RDJjSTHUh8lg3d`90xh8B+Cu`(3? z&6c6%;G8S}e)J*okMVUf@~>L_3{RY}{3GvO_+R?+54wu}zWf8XlaYUqQooUZz)&B4 z6!LGQ+9df0ypKZuH3{B{%D;}lzEjxV;VXFqpKHxFneo+zi>4*UGrkSL3;O}N_pOY8LQIl6s^%H?6d<(xCHJ87@Z zl&0X5B=}F(I9Gppa|v;O__b^QH|tS&NA&S{=PA;H=Sz-Tqt+p_Xm4=s&^^^jzqyJ% z3A={iuGR|4g2~%M%ab#lxVLxg$A8z2$IsoY7yS4(H-3C>eB6!qq($*cXZ& zL9aM6(_!76S8-$}@vOh^K&Lo|IYv6T*4|NMvi6L$S5zi>Je7WAe85NUoICK^DGQh9 zTwI>e+UY;&d*N=@PJ-9utQ1bjd-uPOzq$iE8FNOHw|>I@<*nHncm2q8^RGv%hObW+!j>-GEGo-$k<{;D=m))vVipwX|3BR1Y+ie2)&+yaoMo z_1dB6CxffgpMv&At^>!cp@=(f4Hb2`*TUV4GVAugp!19ZrqN#*S6W9&?>J7kohI6z zxNbWLm;=l9?De{5Kl=1SjpP01KVJWx_4)b_S)X&qIRBT1W&`us6VCXs&+ls=wsQhJ zc6pG;L$vr~%Uj@PbOzak;HxNn@nP%p zE!6)}ug}-2O~}`eYJGmE;4!XFXnmezOB_%>BfEV$`4eQ~G~{!x{CvrcPXy)X&#n9< zzmcEQvgGFz&aD}Ks@-P!sU;kXw^*5l9N-RP^jYqvM|P%=oju6T6tWZfP!W}Wj_lN0 zK=(PA|6ZY61ZC$pt?Z1{j1StHvg*!jv2~xDAA2xRcSc5jt`|KcmO_4N?#{7cX2Ck! zgO$jSt@B_Zi;OI19yw0-0v8)>{5X5*Ny^^8p{|pay^sE9M)pb{%f+pYwW{W>HujBl z53PKPkPkU_p&PIZUEljE_4kBb`K>jt<~!G}S!C>*@-s8{Zm=d^kF8YusoEou&XHwj zVlBD@+rcwxkK`?Q^{Y!u&Oo;lwI#F)9^>pp?4zE%{q=&Nyv@fRIt;t}aQ4#jW5%{H z#bM0_9#eQG!Jj+f5p*ffhA@l&{csmjmJJ~}$(=uBOE@x@ymMHy&87St{&T50U+K~6 z^ps0Thv$=Zq{H*cx!Sw8Wr@Q&? zQ9jP~H=ap8&h(;rKRv=a$o%gG-V;t*k9+nS$(7^y6gjhl@o8L&@gt4|oWC#(mOca7_Hy=Pwd^S5xq`OHuZOIUp}UtVJFtd+E4!r z6R-9mhx&@Oel3W7AK#6vGxuTH3hX^stp7awn(PF+uRwQN3iuP*lEgD9USMqf* z>qGQktq<4Oxn6Z?emCn3%9uPgZk`ENPcZ97d^+XFe1^S8i*xqr-)oIdnJ6-?hk7n$ zEi!pT;fCF`qZ*%-@uAg~)%m>hS98`f6zhaey3?SM|3+oCDaTIc*~gNaC)5Vb-N#lP zT3_V)Wy?Nl)-d-L#1=sx)tw6SuPfPqk*hE2z7D(pz`fJP{#ynOWP{vSHx8MKov-dj zBU7i~*CzOqr;^u_r=Gm_<=?Ml7tXPJLvPJTo~>B>GorEa>j|Bh{JRs}#XIg;E6$OB zx)(i1{*m{4+>zCS?N|LJo|etlm4BnAoBKz=X*YBKiOl=2seZ}KK@`p@`#nDu^ZK@5I=SN~>M`=nj(CktYO zE&fSxFl{Y$Vz;ZUMff-Y$Mk8(jqTz?{t*{{@nMa}z<--^aj7eD@qj-ftaY<+I5*! z^-QG9i+qd6O30(IbI)gt58*AiIM%*e8f)O)@apuK{&9 zyXL+3tXNm8?$>iRHM}@Fw#m}&IM}C;abZ6(*1#V3sf_(ac_R}ph?RwqFA7s%*#xIT z`YkrVr_@%3MQ^Td96n3!zIwFz7oO5&&(MBCS=33_1k$~KL})y;Fb*$-ACvH+)kltm_3v4Js2h_Ld`!dg^;M;>tD*M_g;;BuM zuN9a*5p(B{Ky2$_KP0Jnlg8r1^@GEB)?L&9!S!wf>sT&}`b>|DZVfWxnzzi2LbIZ0~cChjWpGe0KwP z0&Vz|>YPKJb0|l=%5AszyPon(?mMX?txo->y?^G5?aXCbSC}~NAS(^rK?Waq_d89P zExzgh--}J0)nYuGv8uf`<E1zbCq$k1P}ZhUU=sfY+XPF0N=j)t=*_-y#olU*M^3|C%*9-{ZH} zq&wk-uAQNn6RP?b?~bw;3*CIuQ@noNVf*Ki*Xf@r&}E9~LjNEeO#e)>am>-lhW_s| zi{sCuaqNT~%4XkXHZ0gb1%mC~S$1G+W)5-t$Bj=BpD3lyQsq6v_D{|oaip34VQy~= z_j6B~($zn-)7(MUF%tUYC)BaP&|k1K{lj{*<4n?7Z+2Yc_Rl2xr##a?N7)O^>L2QT znLDPu{xN(;zuaEn_RAd6k~vBHJy~~|F-N#@);@uq!uZ98Gray;L(Bf}GJ96E@pwHf z`nY$N-R04eIG2`g{I``K`7Sx$8XnpkkxlmK>G1kh@cNZ5uajnIX?T@2HFrswyYf1& zc4@(SNw!*#SD*0isDZ!kg9eG6)#-J-`@+#!@IK+bX6ZcEuNgV*={iQYxhxv{><;%H ztY7f2ZPD*Dj>`{*mTE_hdp7b*hcowLb#8WIv$(?~If*f}(~0dOP5Bl6vJIPiv6utQ zy;$hZEt8ysgIVu=!j7fI|BCGy_?%a*kREc6XoT*e`C*p#Zwk`&U(NO0o9N?1-eu$+ z1sr^sDq5|6@T_F~O;i2-O^xTGe?bqS-gnS_gZ~Zgoa(su{R{zr^q&lDpldmohUwhtSS6Z<-J`r~=d{p*<*otvW-(owvFD79DE|@tqtVlYdT<{68G*LkZwy=yMiYI9?!LRF z+d25}^oiz_&Yj4TaA>#mjrE!@I45cD#pT>$8S};2(0nF+eUoi_1#MEhjPD0xT0f~wXQLfsCGco7{|Sb^KmT{=08Jm_tvoM-%dw_e*qZWOTT{pJd%WIw zk9;d8FrcEw+yY=Y4Qd8}tO%D&82rjdMHx*lQO5Me(c7i)pUtEO+8vlGWwa z@m8%3sVBn!IWDz*Y~<$8Cc5i`w+=-u5_a>c{R~Vem2d86Av+*^ye3&CMl&_UG>|=blfV z-%^HgbAkFuvdvoynK1bjZ)Abx51qTYiFLShYc%#gWu>3p&UeXe(F*1D(t`cnmxG6V zDKw5EgVe^7UVKTAS>t-2o9eD(q9NI9xECN)ctrm6k$lk%K1F{v_9XC>eUa}Cl5?UR zcpF=RbNXM81NKh_gA4t4Om}WMq0&bp3tRD-m^99bOc;k9>sT4_A>y60CYb!f9iIKk zfOvza{>?3(?1nc)Kea*hkgrT1JmT@di{88`{sA|ozwjM+gg({xDsZF=j3Ex4?bx7vdRLraLvE7;BSxT3;QU08ZEy&~f9eJK}FC zA8S;jyTVUf#aq&2;j^^x*Lb8YvJKoGfyWnfA7DA(i}4>3kCSG29C*gA)=>=aUJvgs zGQ6wwi0pODqhawl@=CgOOUG#Pu@3KW?=pPe;9T3i3sb zUun}j_-37C(&7_?5AswFWpbds^@x^WF z7)AT>XYFwB9{!qXpY~;3+HX<&6{f8f;A?obqmHw4IX1gGow?`E)h5o}hfj$mXn*HS zbf8X4Z$2hCac@qaRxH=v2DSHm0nzg8W3HTO^J-&)Yd_<|YUpzrP$ZRjK2L)}t0 zoP6B5TsPn3`)h*-YZUgwRQHvJHiW_HcZ5xU?}Ha-y1LoV3tgSyT)`v`zvp)BzU>k8 zwr|?Cp1xZ<#`4^dHOGvXoMVnLc1JtMloHp#9P^Iq?ReOqW1igR+IP%&F>}lf?S+=N z+&RYOSIKhmg7WEXTcO$$w!BUoek!LEQMo`mN(pEwIFxi7jt1RmnKi0ItYn2`v^i_fxJs^qAExrXDkCe*7(^C)ld@*abu-2oQ;(x( zn(r`oMljBPIoGC_@;%c_2i9E1;2i3iOL&eQgOWjNFXKJ6fO_jmUqE_&Cf$rd#(o!V zNNOxE2F_m2V=N}T*WBM5f7G-OK4TrMzWA}|p)hT|*3u(UcL`(gTJ{+ip!>P!)N_4< z`jgGfRYo@J-hlslt#6BD^!gzE12X#d@z63LqrYnK%E;*R4c%QivB}c?qmt1NiarC# z=<5w085w=2p^wWir-Rdc)1HisjtI|YS4MwUcm`!ObJ2&%=zPisW%NXkKdg+t(&G;+ zqfPopAfvBS`^|VcUPg~G?aRpMPpSP@M!!n<|5Zl&JOUqo86J_W?&Iy9RS(MQ!zIu& zAglkNeDVjdvbxRS=8nw*(f%Wp)k8(20c7;uMj;3kku8YeHmFjNA$3=`nQD5SnN+$H)qZ*CF;Vx*s=C~<*SJ^p^G^6w2dnbRc*1ECiGR*sRH@G?v=|<;aE~>Ka z(|%G*9cw;hrT#b093BrDJThy(VFnL(&G#e1>4TCB8NPg6>6R~xgeP;cnG;H#beZPx zzMQowbEcV#(Ghl&-}Gk#b8)$oe)->Q|2Ff@JpPBvZTe2W(T`2K_>}$i7IYMyDQiWS zmF{8mea*$l`U17j$O-iQI@Sfv=qPpWy5J>)KkZ{pC4PS6Tf*OM-#y@?{>wU})S-Sm z4Ilb&EYUGY>)3Qx3H4!@Rb9jW;MRq|T-JG4_7CR^meK2eY3weqYCrjwPpqBi>UBl2 zm9{?gg)CmsT_JzpJ4zBmV=!-&0tDqpulWrtNLbqZljLFYr~+-jCPUQS~)6F}&U|_AbNg4L96H`bxtK z{JTkd=)G!#$1`=T{lqhM?%MA&2FDC9TpQqpKM{6$;R@~xasR8t`$KtQ)9?QxFTCm` zi=^Y5v(I_uh8JFKm|hh7qpdH<3%9{P;)T5r9nTAQLeDczA6VH8FT5=Lt(-0+{8944 z`J&?hyzu*1#giFcIK|-M@>VeRQ*-jXRg_3$~s0vl*`?j0N;C z-+rJqMn1fZy`^8dE_o_D2Xg%->T>(&c)7m8;F0O0ht)PaUaP>V*|a?~UZ(~6=v%@Q zStpsQGydykk2#E7hc}alt<8}%gXhlbiZs`n1g8 z;f}kP37=-#p6S!)ly1k}c;N}{L^t(mYkz%8n(0$`%=Ez&*0<&4pJL@O=@H3cc<&tH zIe>h4`xTAFf|s|K^9B0O;amSye*v8M8D8uj>X%=>8FS3DQ^Kp~ zJ=Q&XIzD{uDRdC&C2igCFmh?~Z90R9eafBz_T#_o#<$ox-;e*C8=tWLldZsstW?~# z(SoCPC)wAVW$y+>S9sOA_2Zf!%snZ!f4f?`!mAD6`FQM3@O)4>x8%is2>s+QApK7; zjV+2~rT_Z<42xwO473VrHIc$2qoaXaa8la3EYYAQatFSlFt-RT`@yoRFM%zateICi&znbftBfo`C_?Y`j;+#2* z<9`s3V0U|blBKPTSI8P8qm?GUIWiM}<2rC!MVWUvr}$2d&pThCevfy~(Vd~I zT$rC6;llhh>GEe;s`oO=lb+ngdl&fv`$wi#nj+5VGlPv;1Xj}PghrSeHvmTn|_(My5{-PMn$iGJ|QMB@BAf$7gO z+4dU8PB%Ie_XGf^LjDXI>$02lch2U6|Kq|M0<4~8jF*|zTZc~<W)Y^Kbs1 z@zMZZ4d4vSR3mui{8uhXni((1`+G%0>GM0ovE<{iyL<;JbtGChoYo)TVdyy~?H| zBa`cpQ_a+~j&QT>AK*qAE6F#Y*%s=Z6yi<#q?$N%kE`A&V?{n-sg0y>p!`PCH@M{u z&IjyRQC^LetueA~8fH|_KK|1xmbJ=Hz*kJ&GPpL-SqbCG*CoPDgq6Kz;rg_%8;pMXroIG9$mDXAW)I3C`PqKjV^2pO*ys z+>2MA6YuxA7q31i-tTkb{XQq&^m)mN^||=`Doc~w)#qEmYb!Vdvkl+9WK}+IeDGL`Gps}yenzOHXjx!d-+D4=WD_ld6$Yw-s!)i?D+uG{Kxd@nYnm^gUGU@93QS|*N`i^r~;f1E}TB%cgk3F=#jk&h9F5CWK z(i!jC%P@L!jvd4O7b^Qy^u5VT-?w&LeHS>de9*S<2efaC?Vl?HeSf?kSisK#9>>Qh zo`PqY*L}Xwo;NbAg1O6=2hRZ8Q5mAqkww8selY0mtw{Q5G*e;k;euuBADj ze)dYED?QOLW^$|){N@T*c;U0qO6y>wF9I`FN_%r{QnGpEGsfVBe9H@oQfy9>ob*JW z7hGNGN}m^8UCB)sFSvS=nN!h|G>*~jT-lF)+223CO}b=%vE+dCbk3r&e)sgGakdTT z(}rS8`(F?iErPxmS-MbN;lZrESoR?$10J91>MT8zkPXB!cl$ihQwM!k(SJGm&tFle z#|Pg)|Czye%W1BUnK!qjm|Jw`h?!RoGp`)Z%q!;v%8QRC@SS*)dj83kEsxNa)RW-C zydpl@-7t(XI;`FN+qR+Jl_}z*stg~sdGX>S;ypg{x zF(4ns!0#u*6+ZgKCdm~2a~C-eOe41&!B=v-5nPQ-ndizB#z7-xjm!vZ{uti786Rx( z-Hl9PPWUOlrslhYZ)BB8hYwnjsV$PJ$OrGA$(mP;ObOSw_vce<(j`-vgZlet^EYf8 zT4=+4miD!lkIoF}wS$MdJhGZR(rbUD_cHoRdhIse+u)gOz4i&aXZ=J#uYE##t>7oO ztyX@c*Pikn^x8R$i8)rU1=bCgMnE7}-a)-~nDV06O253;wr3gbkzOYq zio4t>C)*MK3tq+R8Yay^Gr*V<)kxVNdRKYnh z+D`uBi!(BQ9ntgMNr9;4p5=zx!rcdpfEl`fgKs#@oyUEOde>D%1$sRQnK zI<^s@KVsk!NN=A_e^ zo37-2Wv}>Pg>AzI+VCYy`%i+OXragSCv#13o-sBgZ2hwHd-j>_lnwUhclb`!a~89MO$Wiu`J%cXjh0SWnj&lIc%BUj0eD*Pnj8`jdFCKU;z0_b2hDKeP4D z0mo$o{4Nl#%n@^-h4y95y{N!6=TrLep)vg##_pgoAiGP0^vcn_g|ZEHF_g-lG z)3e*S>C!c@?_#$x`*y6`)gQ(;hjA(YBBM*xjpL0jQFo*1Pm``W0zK8(k+JCnb(OGf z!$@#)EbZfjz5eXuzoFS@4E}q%W2#QhI3HnT3-%pXpcT;Wg!`R2T zKRTXVN`B8aCLS&i@UU!M9uE_5WKgbdFaQs~MSa6;-RGzs=twE_odIoKq!}56ZtxQM z4G-^hZCxqjE1R)(aX83L?{;lnCSAG#I>&LgF5sFuPf1q#JC%wAl4Sv+b7_yMFk= zC2qg8*!6=+FZ!QZKiqBGu!%OTw6r`Q{Jgor^iK)>V`YWx>ZwT%x+rp@BqJlfN7-Qi zJj^#|vEsK{n4{G{b@b09+duuy_3EG8x!dcX{^#yZj@v(*boacK{rnevN^BJMU81@* z{?$JxF?WAJ{@~nQ?DdbGyFcUgPpRhi;$AoXe`f9;Zre}>PD3p%UncDJPhU8aGk0g- zPZQi*(|Lm<#jJrw(w~!D8E$0%5bi`NM`uBfres4brGKk3eOpewUf=#bWAEd9%TMsP zFS_G+r|4DcwqJV;v+R8f<8`L)nNMhLHvMz<-DYmy)bREvVn3wJzo|U^^ZRdT{NS&G zzGKeNm^gowEtm?^Hbogv&7m{O9C@h2cCWG zo!9Z*XZ>bKGjhGaN!N?sTJu>y=0^ErOVeX@_b>$OHuApV?)Tkh+qaVT-J&ouzZl#_r`-P;WZAjG zrykTEXeV-}i*pCv$dNZopb54u=^ej4*VQ}TW}ZKSJn13cTZW)FLI zsg2Afn*TRu=9900kH^zrl$~Uk3;Ua+T-cu`T{exSdT(TYCp~$9_W|lq9(VWu zHU;b?o6PLi->E^6MEH1KkRv2--n`v)|RXAG+7DZ(bv3{6%sUS?R^&25ZJ^jv>0(u>zP zCf-{k`uR1EiT}Usy?vb3Wu5>3Idd2}2P8yAMQ(<1B4$8CMTJ>329E}4rJ+WOiZ->P ztXsr)6C!hL+?Av@k2mYCRt#V{V4JpC&e<}+sl?j-iP+7y);c$!=P=z!Y&9n%zR%bD zb6w|r&WAHdH^1-xe!s`>k9o}be6G9q^}fH}*ZaCYJ^r3U>X+o0_a?{KJLYd^ZjHv_ z-u)qRd>eCq)WQ5TFqdLC^jTO3oO6fqpE=Bp#coaviq{L@l4BRExm`KXdUmmzFJxT# zCSo@a1Vt;C?p}|7_7L-5&+msEudH!$JaS&H@EGGR22YPszBm@UX@|cap?nkVAEA6x z*xuqzuQ@qZUy|e3!oA3qZhm(%KhKLz!2U3DJOF+6LZ1S%CEgjh1({nJ*gYS*pT59e ztbF7AZJE+~;vxF;vL}0T56?Z%1-UCV4m!g4aCxY&bhpxx@Zm(@S?J)r4meBSfKtAa z@gX@Bk(?#1l|z}(ni;*vn%r_p$+Lh@i|4q$E)pL;2Or)7u2!}bLwmyh=o;|*HRkms zczn&pp2UY!BYf!Jiw}8U;zR#le8~F}AM(D$hrBmFoO)z@_!HnvJD4Z)n^=62_&fIG z!sbFZa2~AXKhFnU?1?hzCH$@8R_cfLB#bS+q#RrEA!kw0dBqW)4_kSDE+|?#K12S8 z@Zk%L^Fw~W;P{Y!(^Keo&AeRU6~=uAJiS8sGmZ~cE_?Ddc;+R_U!?s@l)vcskn%in zE88DcUGd?I;r{6J-wyTEp1aup*Kc@5JSjZs&-f9WpnZ_IJs6k^U(R8yt@t)YSZSCk)r&a>9DUvXnB7k*}nAMsI+(7#zto6o5|I{NFt`=|Oh_qe`3PhWdke`@_J zn{52}wc*Ws2f*`w=JgBa__g`f{Tu&2?%(+LasP(*C4M~d5A$!Dng9D7%pU>fo&n$* z0A~6uye9k)=ReO|fmQ2o%8VcJZ^jGX;=lgkS@!dab38xd>vCT}@h{K!{L1t2L|8st z^f`vuS!FC!{Te?GC>DAwF|%X4Y(GD!~B<# z@Nfh8Qoh@Ga23gUdmH0;Ui~;cpW&H%OmidL_}dsiybC2fQ?%d+Z2130o8NvbQ3D`rQE+d{x9YKQp4FRuCLcV&YF)nht>vnY2RfH zKJ5~4KApL(aXz@>^`j#?)4z|!cT4qS@m=&xIbKgcrZY#!bY{4h9Iipaz2v*KmwY#K z{knto1z^?QYC*b#J}p1+HsD3>OJ@x!GagL_#SaS4;?Ygv`GtFwd#vYfp3yT;%?ryr zHpvGcHyD-gt97HvVFG_EQ0CEd1&W?Piqy z>W3NM^XIkltMTE~=glXDeO^bo;(Pb&|1IzW<@rbX|0wk$es$o^%qIBn{pzGUGkc0~ z|7e@)n_vC%-T2j)0mo&|ucoi_9DU5MzJxM-6ZRTHzncH}f10o5)$Ipwis#8snJxUG zvo8@p+(4Zhc)v2B9s7^*yfVrp2bSNphPwDZ=11WxAScBsuCHeGpAqeqQ}eEpKVx%b zeQa}7o&)P+nfgurLU~`>bD%Y8^QZr##g#jM+RBfk@AXyuY5Gl1q2HnWX_ZSR z+u^H6p#3J`e1yI>g|z>?o5Q~{2hV3$1K&R(ljK|#3&@OkVsC52S3Zb5EupW2WqI03 zKVF`s@1NnBeZ}10tAFJD0?m1ec#HecBEItBcxw@DKI-7RANc-MUwOIf>o)pg&5_gk z*7W_0_?#=@E&0eV;&=M}yt)W)`SRcz+3axAOcFu*xT)%yR?f>6`Wbg?g8!6n#m|sWqH^)plkmxll;dX?UZfm9oATmlH-`pb zI$FQsgKzO$xX_>RSOfLvgu2)3?Y%SU2b(7QE1Ty1-&yn#<*_&O%zjDkSKVRXk81AN zp1A*eI3CNcq7<)X`R_`Q{Rrg{1mk9D?R+Ew+Q43)!U z+Vi(OR`QrEW|X|#e7Fy}Io!n@R_ZrAb}I0B9y^#ES?Swm%J+Vi&Yqx?l}DIzKIrx8 zCpcR7#@M}_k{R{4g!iR0B*eK!Gmf3j;tc1_!r^H8(RvdfWrxnPY$YcVKSXyzn4D5( zI2;}nk9Iih=|_I*g5s$ThdoLBvWB3z*yGUc+gkZ>;jl`MAN`t~GKXq8e5VO+`M>zS zI&V4`SpB)HUVa~l-sROE*;9|qC-3K@xrlcsCMsjhyie8Z9ecD@)?g-s!D%I1+Be17 z(%GkF{{t9?#cr`&msAfqMz(5xcv(CL!B4qPkx_#V&l(b zxF;UOaBJm5;g)_4x6rW~Zh!D}C2sS7SH`V)GP>{0Jyp+_?)-}2Hl=Sjh*$n^!0qk8 z@XvygwU6NwzP+Az9=BV8_YcACwK3c(KR=4w&2MqC@A%fr|47{47Q<~eg4>yK+;;2U zx1%^CoyaQJw)c`?b>GFo>VEEdBqpEx>4~fdE@@efPqUh{4eSZF@1$v!QPGwZNb|=St_D6Gvy;;2-IZF|Rn=iv3KrG!A6k*(>Aq z_rAHr>rYR0yx#HV>_p+db?GY3DXmJ~ntmwttB<~5cPDc$>Ayay`-_q9cJ53@RyXqQ ze$^+3CaAB??zj2t-h*M;xuP3-Mt5*X$H?AVJ>b*bkJ2BVGndXz1*rimPjjaus9v&c8 zSY*w1APw#WW4O*Ix0rtIPFd&^zN-tr(<0tvzLH&k=kFV5Iv&-$&;u#Hw+npx^o{n9 zYVQ6XRPh$&i9}2B9NwD^1bC4y~uiDK;5s)f)Qb!Tfnn1~Sq&;|IfX!6Vv|GeulN z@wrmJ7joBNL(2iXr>K4W@3gT}zHQ#3+<7Vx{$%u8qDnl^Aw4jW|e()!OgpKAmA zHVipVC7NtKlX=P3)V35S(>BHbC|ynhFTh;7!%}rsN3?nFZyjxTS3q7SLmyxEQ_4J_ zXuZ2b^jQymW-<5mjy~|G(PxI}qnJ?)kK$j^XLwLN+tH_^UHCtF@QN6H__{;rzc~7+ zya3M#UftuSyX5`1YB@_-lx#GKMvGgXN{`_#yiDEKQ)62Azx3I4fCH$4$$6+JT0Rz|tbW<*k4lN81ZNpyWov~k@!cN#4<+zsIPg$D`%w@lR zj`)yk?WP{S#Ohptts4J)81o zD{q1pbLKVcu6(}ZGs0-He?0ZbkJ!JYTu=94%p(4YeW`j*SYw?*or{SpO80hiZ;W(r zcX)4%?jI4&y?l+1%U8F)mo=7q08haF*RqzVd0ufA={aa@=W+Maz92beztr*v!3()_ zwm!pOEk4~3Ujj$L*3RiI`k$(AirVy@!5dGPP2Z^;o~O?+o4&L4g445&;_;;|xwRw1 zdqv*~ALyA_N0)M8#W$aH_wwnv+TDBTk)1lnVEw!Exx||6eC{#yAHC1%d+UDxfb0=B zSQk^x{CD^7O{1Rq$by}7x{YTC#m2MAW1`LiXxhmC#&P7X2|l%-NBepF$0z(Tyrg&b zjL+Tdo`bPLF+CRg)CYY3Sl{&>H+w`qJi~o_=*DK1O{?Ymmg6{Q-9+6f?87xtAN?-f znW8);y^N1=KI59+V;tyR)SZ0kGmw++@LrsxhwDPxT?kyjalD61&%pT=$MdrDJu_R1 zS#Y5oj2`&7cUDWWk9P~e!>e1}97oaDsIcuO-*T^*c;qGIW-fg5lCwkT`4sb&oq0(88NY=0_I-^!VtaP^E-%k<y4gjMM@`0Ibysz%*8 zBiP;!Y$Jo>E6iVZR%4~1LkIV|%hq#_uZz05PLH24;Ac#Tk6gRs0X>83tC-(`HSglS zzbm+Z#(h^TDOo!fS>yY3-NVphPS(aFYcq(oOIByJH8BS#7w@HBgX=;czY%=4dYqg=d-zf~I6*W9hxQE5taLaE zYT@--a0~uQasl2-azUBNMH;z4=F-TKzJD%xF}a}J%f&}TEBOPABRMm z8@SF6Y4r|ID?J0}FL?Gbk29#>p);i9v#4wjW&Zxq48LWcqzeb2#SYev{gaG_H8QowfDMp!j?8TkUxh&$G}ip69!Hp5w}g(^m$5N1h59ej`ut zpxHz8h56iti+P?;`NfpaFPEp_ck%N~;Q)T_OrFSHo|WHg_|-Qk19#}qVhSFYY#${! zMK?WzgGYEiu;wy&dC}&BNyp2X*!{8M;S;eJ)k}KsNUIJfZ z?-gs5UYps+_|WgLw&QnY+wq=r%C_U51SfWH?TFBJJgvF#Tp=T`b8qY6Y{%{NAC-{{ z?>h7@z)uSXXES{4G=6XEr-3Vaf6}Gu7aJ{HfAM3)O_d|X-K+Aq7bv%@%9)dNt>Sp( zv9Ko6I?3(|A=gE`ptdFt(7H=FFk0h_VDt}mT=$tBRNsavp#tzr3$?Thf$;*K3 z!3gFmAE2iJ+W-xONuhy5G+X|{Uu(X5`k?`R42;%5)k-#e)X z9_@@L_Q%e%d;23iTuJ%xpg3PNMDFb@DYhs2O_8+lPd=U9!3@sFi-zRYNlu^Q_aS%8 zw#(-5Ez~vmcp1KjdK_}-z&W~3%PXXNW4t_>?vU3+{m9xroJF}Bll~5 z;NyqN)HBq1J(+q2xS}#8-t#i`quc+yGSx2}3?WmW6C4qldXlldOkD{~UZx(hdS$t} zMDRMf`DfbrGwuW6I*(nM7PTu=;io$6%2fES&iPX4))YDcJQWu>eD!3Ilj+<;M((!B zQ7g~bqha+8GqnDA+}1a9%tk$~_06lIE&Y6TE&3EX5>qPa)0?5&Xy7iddBc1ji(Oz( z!!@scj|bf!>TTh{$N8qc+3~z=0QMvmiSyl|aVugM;kUic<-K@Pcno6~;rpvpANy_V zUU*^$dixMv4b42yJxYD?n2!^Emt19gZVlsjzn<;NU7RQ^mre^~MA6toX}t_?s>Y|p zEAnN)qvayC5@ROjshBK0w>rMYeHZ62D`H4V(K@^nZgYF^JajCQi=Q)p1%0S96T6}F z9^%X2Z&*RvHRq%pCMa6g@ywStS!)&_-wqtiucq9_5p0oUgSo+ z|HbaQuG7-&P1Od)>Ci{t>D)@}Z7Z=i-Px(wXbL$IKAURgYw^8ue(OxAeuJkjVwqj= zUvBS9#(%j~B3O?9d%5U`-|~3yS7n~t_?M37zJ5mbGH9c=o&Doib@ne=)x$SePJsXN zN#bt!4_lH;ID5Nf6@9I?-|fk^JzM++)!4i^QD%89o06rfUM@-9}wnJ&T>CVtMD>Q&t=-3Dy?KgC6gpT&RdudlAbj(vH0FN7z;dihv6&-o! zY2op&cfz;c>s^Rr_EDHmCe}vubKhL4px+Khzj$9EUx#>!((W`zJNcLudwt!KS9fPG zvZga4-}+iK#v9R-(pk_>@k0A$7782Yl?;XKxf7@UndS zZ##ZWQm5oE$p6Cks_++B<6Deed5Foy6>>01a?s9Q?(mZSry~BsD*CUG1Ii@_r@L{r zMmITd@86;Nl09ste9EOh?pW@kj(yL?`xWTq`{_3-AIi_SXD1&$ z=eY8IO@lRAH_E*qGp{;KP;3+ca_E;|4Ww)TnXvhk`P(PcY^ z(q+!3{}uJ4I_eYTT}O4)lV?}zC@V(}hSE{qrauclOb&+7k%!Yorpx{WT^HA7wI&BK zT^7y30$=i}mx_k?TCxvzu3P>iIT2bnhwt#q+7-KWep#~Ymwi|?6mM41W#5BVB^oB_ z+v&1TcpCC9>X&U%ee8^EOum7b$Whp%_&tG?rA0&Rjr^KCeu>th`KiucsC)|LtwZ=l zDp$4+{Ht8{+G0;t z@DC4)wjTfbuGE1w7qS25zH!+eyEg&2wYK;^p#%O8Z6dn%^&a1bmnt60KrBs(8|5qye8O1AgN1 zLG^P5`92r7JSE=k$V~dW^nOR?TFdvb_U{9?7I$YaBYy9>`oEEKavrMPzh&)jrkvaf z`)=a?lV;m@6ZgM+HfyBj_}WC@m5Sd(06&!E&~%2$Vo*#?Zdt8Z$#>g{m4GMNCgmq3 zYME1g%W8eQwhf%0B7Sl9qC#dR$MB!YYBoIcRJ7HpDY9?Dw~GhOD9^IEpCC{+5*pQCLg6#o>m?k z-%^FXFX^p3->5z$*3SIR zMkj-!;T(SPvGz}rdu@8J6&XWjyU4w?=k`!0RbIeWiB7T^%3(Czqhr9m(aq6jNZe1m z5Zb|mTUg8Meh!P%vG?cOHz7}{d9q31asNc*;adJ*6Usx3HlvL;k-V;CIX0>sI_3P_ zB-)g0QiL|b6aDF1-l0vZ%)?Ud?B5=SHZMVg5`UW>3Tg0wrw#8y{tn-NMfIV(bdhM2 zQXYMLAA~Ybo1-KT5!$>dMw@p!+W7nV!g9%3mE2PLHD3X~u9hz+m@FpUKLp<4nW!!L z5@$y%;*(LlgV$d0eJps7=9+(-`5T|(yT37t3+R+mZeje4gzyB9ev`U}2W*yX`EGKF z?KufgHgLAc^JoLl;594TuyTS5Gw5r2=ob~#uXF%0rD|tWjXuMJ;yBzN;a82q${-%I%@bFRQ|+}1lB=gCFr%$(e%Z%8rU(l^42r zV9&!twpO~6oT&NyzLPsk$h)$B*YVfn(wKMd}*^J6_zla4mQgQ*vmO2pD}#rTSgc|U^}b~zK$%X{{$I*r|=(<(N^Q1P)2K+@1Zg( zUw%0Gl$>3{SKu27#TNAuk_N|_iY>s6+HqGW3+OdD*_klI@ z$+L57){N$t;#*oSX0R#Im5R;p>yi1LtoeDL37=xEc<46fBtP)B@;Y97Q~yd`gJg_*LwbOI?BqKoA^&Qs|Q~~_8FUMcoELDjyD}L>vin>N^j>`Q^)YL z^NC6w(zmLtL+&vAEZ`g3eoZg`H9W&3KVE*+Hno>8tk@Dd`hOXI_>IorMPDWSFh^Ts z58+3B(BsF={~nJYr=y=by;8oya;KxQb9Ucf%+3k#&jFwKPwVX={UqsV_{-;_MEx=0 znLX2|w9b|5;xENd{960f+rqpA(M0jH=vw=8^!0Y5W!c^) zjFzD+FJ)Zg*Cf0hk?CcM{Z*0aRKT3z-D)yfl6hMP17{VP7tBqpgR9AWgW;qs(`QF` z_J{ngkm>G7{6X`EXOD}`^BJ|*8W;Rd;dg0`3S4=uQR6%dzX%84qORe@@$4Su{zm+Y zV`4n3a+|yANaw+G)$SKp3<3O^PBh;067+J(O~`HVGLFZ11MAJO@@MDX{0`ijcDts~?3 zWA4J=-^B2De++-yW>m_&l}nbvo5?b3N%Pf-ub8b+zmjF+J7SA*ys5k$ycpgN#mgsS zcv&C8%RIx&LUP)iE{yUOJk`b-{F9I`;i!XtIFrAqhQDhA<^W8rd2;%nN|19%?$fFI z#tFGjDe{cwxjZA*>#qh2j?VT5oZaF3$9>m*Y*9b&TEBU8wwdv@pYmSAeOce0WVjFY z?T2ExU*^wiV@peC`@umP{CHT5|1y4&NkYFdhkCrZ*W@~e-7Z=1bj<; z6kh8k_o$DYpdR?Ampr3B@`AqbKIw{i&@{+yOD_EZegJLC{!Q9&UDk(BX-ual#%oNk z2W9((>)R@Azsb6A3C%;E1pdsVuIRT0WSfNNf1yAAbN^N7AM8?IvYxv`|KI@mhxXjh zGk#K79@43rEd1xcRLb~IKU9|SzZdMlbs=>sbY*)))|u0@>LViOw?^jwBK<}6U$5_cD(shljNuPtH&Hvd2?H7;mw1 z(O`raa0$>(cBo0 zZi?Z^$`6C1`7s<_8NtzO{I0-HvQma-$M9o(=w#?3;U_9X!q1-|L%sADm7#>6cXud5 zr}}w2-U-WxmZ5ZP-s26zA5a!t*k}{!*nZZBbti4=H{}ZDv(I z5q+e$(G@3)SMbBC$&%?<>24=aRb|Q1TC#Z`V@LJM6UzIJ_%JV>=E|KsSvfkZnk+q~ zIpQN*oDg5?xxXpvoE3~C`!yu5Xgz^^e<6ma>mqpi2K|-zg*8;Cbng1f^`zIQ&(n`^ zB%D>llj&x3O6o8=$LsGVbVs$d>Fu%k-W!?k*}z?)TQic2aBZpmEUlgTn6vD#X!>v8 z3*jvo?hifJi*K+q=o}^A;Bol|r+mw%KZ$5$#0v@H`d*OjT-hGks zcg65JB7)atQM_VXQrsk z_?#QTXD`1i@Bb;=_d42nz6k1%&dx(;r+HUt+ar4~9`E?~2RREmI)i zJrYMumi7B~wTt)%e-pvm3-nRaY2a^}@D|hUf(d*TS9-i{5`S@q#^bGfg z7yY|u9y|11+bGTq^o+@FfEWLgapG;h!Ml|BGzdNz)UH1{UjFq+n}eL|IIw0I<0rDx zuN%PmM(C~l`VRQ?w`;<6hvaHmP4E@zS>*xbU5>c@mYsF{Fhlr;?@ZS~gHw=a^vcfq zSKp8g5_5l`_WBEb>I;bfB%FUNIFiKwf)X6kVg2yfZu%E2j~gyB#ME4y?(%&{;*|}+ zy^(m)Cibj$LtDXS_m-rkSJDFu-5FBtai?nGk06|n<@yh6+oijRbZ5e`z~}2wZy)QV z%LQ}fo!wzM+`ZGDF6ZV;?fo2u6C0oMNS^&bja!rX{`^@3jqS$?5}}Sgi#4A2g;O5? z#KUA?bzVU-xC`E@iu0pK8_u^v*GYmE8VVltiqXr%CfwNjbb0&~<44NZNp>^`tH*qF zmZPyY^3HHPVxW;eq{kJ{(p);)mvWvXa%WO|S+`2B_9CPA>08I}OfNQd#7XgWQ-m*| zvEstIhq<4&;tB4h;<<(Amf~1&)fNP2Yh2BFl$*2WB3+>Qb4Dfn5A60Vcp0}6-UyFH z<%99XV|~y`XN|;Pb+p%i@zVl#cb=X_zhUsJ)nUv=Ja9Ydy6`6N)lH70yOmR1JrfX|+?U*b z!t?aIGquphgg%o7d!B*Uy5XIz(C%yW{Ur1JGV^>aC~^;~(Wg;yly2HEXW+JZ659xE zsM8g|vrBg3Xy8!Y#3*3pe+_MV`fIbvWZSL_h^ySuae8)?>=bovUdq3FG~mzrHa)6u zJHn4-4kmI3xqsQ}F`mBT*+jpR%k5tG@Gf;dHi|xe16~gDz0ZpJ@R90oboGT_eG~L} z!AVrYmD z!vW{?;LCID_cI1V4qBdN&w?XSlTB^kI*5;;y^|75`W{EBHu%zYZoc9{n}eJ0Q1khB z;o)%OtYMrr<#7(qpMH0{erxIX<@xXden!4MnFT+^ zKE}~mx>q*wy&A^pMTXVZ!*dxvrSTE)M{%1^ggRE|Cko)V@j~W%i~GHh-z(kkxAU8M zTb+5VEd?v})AhOwhWTbF&(QwB`W^Ou9`ET#xrq6>k@wg0o<5cPn4c4Q4_(#2awIvc zY5fRJgO&H9ZGF<&?z!`FYaLH`{Pe+7{a*t|Pl9vs^fLVX^WS5OkjL@jXUckb-%CB> zt-EUZ>rd8h83zB#mr=bj)aw-t&`!Kxb75Hzyf+B$zT=owcH~O*zyrYe0QE+MJmBl6 z&PE@kV((6)-c0Jx#HI{)dWhet#J1+tQ^AUkquiX_n5i=;J1VSa_W^0V8MKd-YmK1u z%Xg`4D!-v~ek!z?p?=fr66}|Fy019^4jO3RP+eDjPdr9hFa7n=$7%Gbx&?lx=_}7( zCH&Rw->H9{7wlyYdB&^Z_hi>b^E7%69{|&W_!~ZvqX~}t-`aV7z=_9caSY3ZL^yhWE(RA{N>_2=EJl+eA?)~G& zYWI8!Zx!gn>*noF7pY&<_l#ls{!&#=}z|y9bP_;=i!N54|D5X z$2>gV&v5ej<(A^T=qGY&a{AtNr_+D>oks>w*Eo05x08=x*rD>V%=s<8?-BH^HqwXF z5paJu334J*8<*_&BuWZG) zJV&@5Z+hVggZ)Hs$TRY8ax9+~dgoXxnjdb@w_|fgJN_LlI)P8;Us)gi9d!o9Z|akG z>hn0pQ=L*jBV9kt)ogl_IVI_DIRA%ZV;!vWf%TlH{;%lsA@HZ%j}$sNwc$9kf3j`z z$<=>{`N)xcgiJZtc_^HIo_K!=my8p~<>%Q`?FCM=xvXn7pI7i#x3*NSQ!df?;B6!L z-=sFw>HFQm2cm14x5n$x-;ZK-&eNP{GUplK0-9*eCOazKFI_Ks_sj_Ob`5?iI_U1! z)6dK%lH@@}#!pOY+x6SmumR9RetU`j?RA51)EKp#Y@_oHY( z-TfZJZ%@~;{D#M@&bR=cWj#xuL2r<)Iks)rKS3+qduZj);*+avckuq;Y;G-WZaYuU zmFu-g9(4ENV*&>o+`0xH?W_%XRO`qMnm=%CYQKiq0lq*(OK#7-LG~-)xWnc0W6yHp zm$!ifTN_P*-<)3Y&%Q6y2QE&Z;x4^W&d>Gb)y8_T%2;PGmiSYD!o7_nd5X({hwC+&3QEah<+NkA9*sF1YbID zCfs>j8ugDlDr74X14s_Nrr(V`8@$La`>4fn(KS8&jqx~W#^-l1N-xQGH{6VBIV3Ky zn|?%(N_Zk`{PuG05wt4lU(3lMhiyah%-&&q_W{0;U^g0n)rT{YM<3prF=Y+Eu5?v53FTQlRkdVD|dXT>>F!>>26 zHz{(fw|RT2=X9{5E&4nvSi$<_avNLaV`9%^W6$GgUmK}Ek@DzseXs&wvE1L3uzb45 zi)=>&_L^s8x%ejc-}DmrOkIgD!TZU)&+GaA@Oc8y@A*I&>rHWofON9-aYsYqdBu_w zDYN-I&+i$QeN6Sx+v?{Hu79ofHQosRcR=S2$*bUrmg3tlz%KJ%_D1D3{14Q=p)7;) z$>cBlHvL}?vgapg2R-b*vBY4wb|u~p?aXe9c6=8-r}0#0Sukkdw>*kx!?kEv8;r?A z%fFY+RGp;jN9UPK_7|Q^m@R!m?K**5yr=Ig*7N>+x0Xpo%6i3@=hliZZJncb`ZJi| zb^R7U=iNF`_~>PReZa7Z{&&;=p4LQmZVh%NIv>~8x5q~~OTXiCCD=4pV{=fFt2AO1VQ+=r4PWmxeGE2IYL!c$StLVG7+_(H8_6>9D@4%Y#In#M)evHK=yC-$|SiXGNJ@~FKqw5s&c6Zwhw7A%i z{1Bb*>(&0{siRALE8JcH4zGt^dG^jE_p*=5C)J&n>GXFVY`S&CL!vF`XNY&QCc^gF z^JwtG?*eB9?Oq_(u*!we?*eU`YJ+{$TUY+wbeGCEQ2ucDwOztr0PaqKw=(?QES>>3 z(ksaAmlDn&5bVHKWIx}0*q8oVunJ%7^kI@A91mK=47^*ejKdpy#KAf?Kl3I z!HI2dOiNeB{oL~2)8Y1ijQ60Oe0S~F=s5v@oTs@soh85Ad~f7QzQJRHAGi&E;3>g> zcL={^>_}tL@;A_jrnmH4u~M~{e~_5mv1pRufNrAG+F?%jQ7=^!w)q6Gqyp%P&BCr; zuC{mjcV`DHw!3$tp>Whl|H7@!iMfa$GvAq7OLH{KU)ZJB5vve<+>Z zW4vQJYZv_%wQu}c;fD8>YmRaZn|-b59$1%`SN2f4+G!iqgmd)p$PX6I7pdQBIR8SK zXJnra<%5VEXEb*8eL$0C@Sr&wPo#r=KJE~urSKt`HiNH=;Qc1#%l5sHu>`Ur|MM^L z=MI8PVA&P*Vbw-*M{LOGB>k-Zv*=I^i38wPKWy?J;*`%I;}0 z+US|SdVK6y{qWAi5&(glrcu{3(%8U-oQFrJ+B)Hrh zn<(>h(mYj9_sy^ZnNm5 z-zGzf`OW1w@8J1n-`?ZT+5v~HQPfVqvBj^1(J^syrq40Y}%&eq``-=6Q4_RhhSzx*Vg2OF8aPZ zHD(-n1mg#n)35FU<9@-=A8Eh3YjgM2UC@7djk`a;gLg})r#NnYYT3_}twZma{T{(w zv5#R4CUbRH-mh6S-}yn#bOGbb#|Yaf{&3A;Klb<`#lWePpKpGr`KG5)PxRE-b2avK z#_s1lGq5)SyKmjblNvN+c-8T+Io}urtro4k$YW?u)Uxj)@dROq2Xs72<(yw7oI=Equyz^^8=?7%hm)o4E zi+oBRpNKw3@w(mNRp;ZPZ6`yMioEAa`*esuDS433(knk~(AE#OuEh_cpR%o~*sDz* z{rnc%Z3ga6bizo^>Mmc{Qd|zqkG4-jPL4&+$1v8I!HwO=AV0?p?&dqvFAuNDy>gKI zJ6{Wmh2Jpm{rYqJskbEfR@FNPH*{Z$4|(a}?t`pHUTZ0~6Z3kxVR-g^>~DBJ`@HsV zc&G3FO-^h(FW*iKczN4-lecd>H`v~GuKMYteLwBLLc9DXVzsQ>7XE1cqJ=+v@`IAg z$v&@y^^d*(P5A!0l;c<4KfCyWMb9qHS$%kNMU%H(D!X$1qRl_qYGr}9S-dYq-phZv z0(xt&SlqTE_kuE#7>w0i}2rNsW*OT(iwq2EfEC}gU4X(=^T#totMe$n|uFDP& zR|B~El!I%I_V}1r5A!mfz2m6T+F`QF9)s2wvj)X~M3;uThx^b|#4xsbU8HAXDA&7Z zWV*7?Hx4iL32&o6L%!?-_xUI1<@#A)c>a8u{DE%}kMq2F(9;%v?rA4ZL~K-cY%%)b z;7dU+yoYw;;K3J(=`3eY`8l^Xe-7UH^1PgQ^F7BqxR+yZ;e`TYN|)Z~;C)E&ZUtv5 zmydA?bh*TAI``x8`(E&lEfCLc^Eg1i8%~@(lATDsFA~SmGv5l|HY&J$75(?ppT4cF zT!@^rTy1Z#@AK&P zSD;-U+R3h<-#CB6zBYXLE$HiU_(hLH@Ri`VWXRy@u6bVfWYnbFb{$v_JmU|A=f8P> zSa|BmwG=${iG80>UO6N@8zS)B6@%vtp7Y4vf??sjHO~M&)Kk}X9=hN5$UV=PoX#Tt z%6^gLiSJkEhC#DEw_&sN+}@Hqisx7E2Tikxy<yx?F1p<-O^D z4ZPKn37$_vzdP_7?r1wTyH#+|r+k@ZZv9`1d(uY!jQSmbrzQ&z@`1La8%DaZMp8%l zKKT9l;bC2kMPKHpS$^m1!0_2BFlY^}el(8OEH*D-ToB3o)4f%SpAkD%jsp22!?tL> z8v2Xum$-7RYl$7$`c^p!s_Wwj(Y&@;OyKZ7*Q@AJx0ew0w|p*fP}8yNs1?6|VA&}0 z{Z}8wnYPMYbDmAX9n2`w9$G={fD`ukr-inW$vhG8;oKN54`pp zUV6k}kDj|L$5fD~S5s5wv8Lb~Uc_m5Hh!@8P4k!wIS=?cK0edgy;MH?EWxr(=O@oS zDZ8Ej^>>_Pi`akfN!qx_iQ z)y64_;=|NY?yAL`Ri-7r_#JGkxeqZTuSjYI9ueAeL744u`z&qkw7NgYfi`9-bbsck3yNYuW5jX^| zaG*7LhhV17P<0L0|2QuDBjJ&Df-&+f!jSiPXT0||G0Xw^~d zg#Lbp9+EHR;VJD0!Y4a??wI71cy-|O#`H`KZ{F|_Htqdy7hfNJa`t@m&{yH-Hs_C6 zyxrE2_FV(y!_5IbW_SAgIgAc+@b={fD`gdPpv>Nnj?6)IfJyz?9C-F|ecj`wIcbif z#TS^PkIP!WxpM3_T5luuEFUt`_A|Uwj9p`SAKuSt8vW}Yy=cyw;PmB+pJ{Kq58v>A zffL2ntuNlkVQlx~IGv)oK(AL*<4(?EuU0p5x4&$d?_0h$zD2ViuQHAliO+XSe}&(4 z7LQeY{{Y_5_Yc%(UUDKE=f+pe&&I#vU{=-j=z$d(f@rOv>0Qy9Jf!|}2e;~LDz*8|-o^7uBPhX`o*xi*ePJgyU zIJpTMv@r4Z+;rACh2+RBr?OXcBk!8(&&m!Y(_5C0J$l`;vEUEcxrllfQ*STzE}~x3 zSk6L>!Vl^WTnw`kPW97Bn-R3hCr4}|`+fmIu%BQ$#DpZWY&+PP2EwCH&U`x5s@{_b4yq7xXE7#d+lye|;#gd|KnfJ1#!% zz9j;$X#83?))?(QMr0!co}GP29k}g<6!yCZop~_h=`ft{7fj%rSra+yFg%-=JTBB6 z1e0)bJo7&uU-meB+2h!^JGM*lCh@|>iBIN4H_<;2{Zr6LbM0)uZ15t=Jk2|kmkkmR zG(STA{*L3r-^%gsOkO^iUkUx*4?R}0uIR7Hp2$2~+&Y0hbn>RddT#wakXPMX$kkB} zu3{uhfYtk3{8oL*hW?Z*4eo915)E8={{4nGD^q`;5G~rtm!3-hm+@^f?tEumxJ9vF zo8NgY_w=?>eo0XL-lIA{#{0#{7H#v3wf@t6y4-n3j8HuEQPGeyh5BC0hUC@YaLM3w z(U51IGc3tF&xS{EHm$Jc1&`Cl8>bC6YYxEa*Y6$u(6a&gCN5fk%<0+7=&$Di?o|MW zs|9}&_^^3BnV@*0zq1}bC!ZJFlU{D~KyG^bS(ncxAJ5NYe!x9+s@IkiT!Q}{z~3{6 zzUDv|`tPIswHw&qYhb>-EATA+-$$EY@!r4N%X9R5H+nzR{6r&97kvXx-*~Y6Oa3=% zKI6rQd;^PbJ?I+`f~(PF;{H5x`$LkiJHSVe4)$5W0bcyuT zO|?O>iT9>IkeQXhAwG@sN+&!o7>#dZeAI~?$XD-xrw_80)c3{mvm(5x-_%ii{i)u5 z;fcHt?NcfL{EOVDZajtzmv}5g`ShST$J1tJ0B;e0oGJUyoqpt6DMv-P*mJY=#5izq zCAhc>TwFDHkKuwl8TsvTp?evHivs?d<{jlT?LmmwI+*`Qktyjg>9Xn6^SZYsg0EDq zVD<8R8T`&S1>3K%b9Np4|5wdXIxQ)N(UE*N@^B^c@b1AI1S`+F z+pq*H&w_Ot;~U?gUrd((gVCaUQCHP+=%{j)$(E#ut28D?!Ow{mkGl1h#Si!}5yvAMgxZ=h}ViFOf5Rvjc0c;oE9gbEax|XvZ?;++xM<%=aLMaF84v z^{qS{n}gs%{%-R7gVWn`X=L5=rPk`fjW-VJ`|k273Y3dC1908UJKvY)1aA<#!l%{V z$Z4nBp04f#&|Ti~3w5C-*b;k#}x?_UM{<_OC1=}0V)OGna?S{E7I9AMzSOYb4A#N6o)S!xc_%qBS>ZV~#(e!J{IlX9W8sC;b5l$1 z*W5wm+r(ojXR&U_uViged5@9CVt+i>`QF$$+{j#_{OMt44fg=|*Kr^3Qj1B>b8A87 zurv7Sc*RY2)*nAU+gERKlbx-@CS)IS@NwT=*LV4CG;#bx9Ba{o;HDCv%F_+MCx(95 zS@z|0=3xSQcf#Pt{_(5Wqb46LD82^HS`y*8K!fAIPcFgnu{St4E+3y=?clJrBzSEc z;o@8P76Eun^RAvh;hb}xxlPpXXdmB&FJyDQ-Q~Z2fcN-K+)GSZhO+z1`$YDf4Oa9z znx>c^{_3&%)4hq{=Xk5rORkb%M{9iOx?Z?(u-xu`qf5vIuI%G+&mXQXGRpou_sGve z29Zzcj9XoMe77#m4S%g`#OjI1$_LZhq>*~JQ*R~p*gMcYGa+A6_Z;Y9&%pHI2po+u zIQ||u^lfadQEH9~_pG*1UvYQU%`XpfTl$x*ijLW_3E%HH?zs@3w2jYxkNP@?(ub|? zz`yLruW036kBjfe=e~k54_?ChYzDds|02ON_NkapIa=}?d!yXZVj>;>uNl>nds2PU zE`_{Z?`U%lZTlM%VZQ0b_@9?>hrz-1i_RbRu|;#5!biQ-5zi1q$w^nR_m+Ej{lN#s2T}gld~`3iY@G5aqVgT}RUTA-C;AxQ zJIEhRme$-+T^7+Li@r^MM~Zy0o+ot|MkFqnDWCC)j%VxDxITfGiTOWJp-=8E>$Q(f zDC?8=0i*FByepltz{Oro2SwU!^lf&I&%WEW(LLOf11~o}=Dqk@_)vB``GK`@eTnzg7rcK7@72!+&*!w8&pYiemg0HhTj0aqpD4fVD$3P< zD8AL&MSi~V9R10j9Q7yg-S1kXd>1`$RO!pe&+s;}5x$d6+|9nmTG4Mb`;OQ;;pCKn zJC-s*HY1!IC*M2bYh>gLx?Id;c<02%%%rY<^3)U`Dd3xSX0GjO8jF6w@BSXF0fbEc4^N;=bE&(K}XPUu;Smn9g6f@ zGqx>vhH%fjH1){)$|)`aEpqB(4t=P<)a@-Rrn~mq3$pW7yzj>sMZc04QrD$(n<`5X zYtZ}igN{WrC{y17eR??l&GChYP2<$lR&$HuVT-G$cfz&t4t3Ozo{hJ8E{q0l^qAoa zAFOYDTTb*xFhbN z{mW3!#|NwXz(+kiGXPxDU2pfeq^|aTL|<~}7X3ZokkQ?p2*+<-1HGYqLxk*OV_Vd_n(QDW)0m!>g?+Qp`(pz}DCt!ajyx2b{U#&~<=p zCp-n-!@h>{mD=shig_8=q+pV~Q`+i#7k8hZ`YD4z~ z^7gow99!b;;K}e;XE*tnvz&~~33ANw)!=QXXP>)~SRVFS`W}1mgwam6S9{anD*I2u zKlcro9@x@w&7uBh#EzcDc;auJ$0dJpS0Au+GpCNS|9Na@W@6Wgq9Jv_mHC(cw``^V zEqggp@-Y=Y(;6N6Z1=iK{nPgI9)FapU*nC;HC>W}!}&w+q8&K};5Txw^8Z2p*~pq8 zzK%Q$|2*#2f{$x0So3z{pT}F_pOgIj9skVdc}V`z{Ob5tc3sPAbm!{St*PTu_33HB zdBL$IIf>w)4*4Ml(OfEPuUz*^Mil$lFI~X+6}%eh=k?li&iv5!-Ie}9uWWZax`^?l zHwuaeFn$ZXSw9AT=dXdgN;7W$!et8oE0m$Ak8l_r@rTSW0^grQpG^7__~GfR%KUKO z^_BXho97|C?5r>6w^}Ezvi($af!BZD9-wa?4=$LX7=rQdDVIBV zubYrv=HQ(N9l57si~P;Wl1=nY3g5QZ$vgV6Y)7~|{jKN^od-4Dgq>23R?p1PZ|*%V z$d%Td=z*i?4;z+aU7X{-tz7>me1_>^{XX)Heh&;4<@ZvK&QX6gd#8l!XNwX+p+3(!G! zFTt77`uC2@%J--VZr>#z?O|}W8@c}^{m6IIK5LL5zRdb%kTrt*62-D@-bv#0=!C<~ z`$yNw*OHzp?}hptFMQtnz~ke=8N(?L^SjVn&oA3K=lkkc?W*Z9wMpIhj?!6*&k`Th z`APZEvVWGNRN?nV*3sQ%nNkiwysvfYD_Pe?uDJO?X~t^2@eSre#c! zZ6?3e0uqaR41*v^kZd=p>efFjke$6e2Zv%)wB6dZrdduX$-dQ(m7LW zM}I!g=;@L_!CnL72{voTZ;k77Yo7J>+OIjJUfs=ZKGfGfrP^zc5`U$XJ7ay{JYVm! zjnudD1M^-`eciKSbEO;^+Lfw*_CXIzX`bWCK3c^)xeKrB3bipZ3mswxDYf_!G8<%!b9B?1qzE-zZw)*s$dg=o&sK05njh+W?Ea%G^ z{)X&VeIye5HaooXO^RKTGs%q~L(hgwWY6&NH^W1|(U_VG{G-^N=Er(GEYp0)x!=#f zBiGo>8o>FuBlg{DFgI191J@?@o$uoVdj8o*UeJD= z?ZfdrEz+0o=S}ou@LGFxBK;{xi}~zK4}NM_dPSm`T0tJ=wok#^=>gAEDV~|n&PK}B zUhtOs`4wkI{h1fnZ|X<4kh5`&?H5Z2s%;bfs?Qr8K93O(QWl=GPGsZo%I6Pi6Il*h z9|CiqgSqZ+fM4M)-?zBUArmNS%ROn zBll-U>`Rq(zU8gZwh11C-Z_77p?DyTzA)ZpUik;gxr%$SU5cqvw&)^kAAcWAkNNn? zK950k()jvYK)i_fS1uKNV-d2JGv0zPyv|TuB9$0@rpi=bYkKW<>nv(NF$3 zaVYcu<^Sv@uSoP~pLls{dlUBy)RAWZtng5KM6X5p$IF_lSIT)840^ZB=`GDgzQ!VO z4sFkh!l>VGllPbtqy&;BpIXRZ7{=>y?1)SYv(jW;gio8z1X6z*PK zkN*G8gW?a-eZb-QqERE)El3Be)pjp`O`|Ml&z_|tGyV=6%JQtu3?|ls@cX`nUT^7H zIjfZK<+mT-6X>L?zrB zD=nbkv_{P{E;9dw>h|z^L-*3IGo8Mce2?dM<@z-eONPI;K<@>gd3P>NuEoO7oFp2p z_?eS^`J9cE>0KjbYZ*iQF?)7!AO4&3Ps!yx5bXPyJEt!_13cz$XS-@dWr9m(I^X_+mGOM`+e-doe6DY&jn1)HztAUDOqA@E%}e9+ zegtPo4Sw=jkhSu>`tt!>*C^+&|t-XBVB zADK;o2hZc`Tln(4W_?`vHj{^tM@MGGYl^wrn9_%o`*z#B?sxCiukM`m{YaNKUU;bl2Jc5=`?&2?$@d7+Q2%5b1sXt7EnJMv9}qXZ<$lR5AREV5#0An z#*W`V&_oO*$`hsogmYwGJh8y@gmi%L3BJS=sz+W*&cl#e^~&8rTaxqLz{c61fd8enSj48V z&zI9(7=jHw^SJj%UJqZ>BlvnB__BEt6M)ywR$sPW>KK__GEeJ7M+<1!>E!gL$a_Do z_)oEZyN`m{g68*=bJV^C_}X?&z$XgVoRK(nL`V79zn^=WIZqDn=`cNvjxe2d4Y`DQ z`lO!CyFypR`s>Ay(wKetNm~28{rpPZ=J8G5zyIFBz990w1A~RNC+x` zDETf$&OKJ@%}D*b6#D>=;ryfP-g0bDz7+7Q+UL?Zk1+@NM0OuP z&nBPF=Z)9>j;nhd?S->6w(Z&B9lw+u#Owad)n#5L6}-}2#=Y>Vxaz$TI_V68z6(J7#qJ6Y=M;&bwwLexQ(j;6+Yt|ECX(BO zuQ)E`S+hUP)8`?2m``!%X9S!6l%uG-#`SGLwb^X@0_<&dlMmFrq)XqcX_^8~($Ahu zE_Ijo2gsG~+QR#bcwe%MJZP$-HcTUb(x#1a*VYm*If6`#7}c`WxRcU zzN+K$e+L?zZzebtmr!n*^@9!TZ3$g~EfI zv+iKb&oH^YyGe17DbGHre45fb#USu=80#*Nhx~NLmQA8wiC)6P)Ce9LLOgVOJWO?C z(4XBKBz!asfe-2yGzRnY_|TXI-Vccn`Wg}+l-Yhg_-OX{;GOVsDY)?bZh6L@2f^ps zAZ6F~c7F{jwlwP>b{*PL?PB|RHrE-@v{$?lldZ+cSo%7zjd$?_i+htm49m$=nG5?j^2pyU7@^@QM7ykM=rvlW;=WX zfN`UTk$2K{fN~#5UxBuyDM}PzP^){l#8!& zo+8)i?=5mPi1P5J5-qsH8u)aE#BfZzl)sNs^GSw!Eh9Vc_=a`uF8MiD9~>&KCAxRI zTqoOKPKNxTIhObYoOC+drn%_spY=go`Hm%?p`M>-iD!7{c}6@{jc2Zj@XVAUd8Qoe zuXZN*dpa)!EaF3N`wp>rnQ}gVls5#w_#y9bYy1HIcF?DI;1}Wn)jKJI?{ zKjrT<_~OZ2ex@!99H7a75`%@=#5F`2jZmA|r*{^NkHi}j`Ttvs1g z?EeZ+^xb$Gzv@?@JiJQrO7%s<vGpd zeB)!~{I+!pG1$QIvdIvB=OJUMF7U{f{erP7_ByJp4{Nx?Nn?Kno;euN<%$b#bn=l$ zx2He$iCwzC5?Q)CRex+&at0sd3Y3AH>nf8s&h5O;Lj%**R<~_twznb3p2GW9{uG*MDhl^85b{9MS&Ipnve51E)E7%Hl4ka(AS!Q%_%tp%m^7eLz2+@TT|u?)^7E zO+U(G3;0Hrix)Lgo(h8Iig^<^QoeOBa?&?7Aa@Zyo(e6A)%v)f`LNQp(i`M1Sd0)` z!95?xTV3ukyWR7G^IgOfu5Opz;RH{LPV&>WXJdUr2hmgY(yMP=WpOk1D^y2#QXWI; zn~aV=>R0&?B|62{>l<3@R-J-x2CmOiAL8c?txH$Ek#|0JY`zumj7K=L*U4|?df9Vr zct=1*EW?ehxRL1M+Ld9bgsq$h!Fy!-@znPhSe`KJ!R8X&zR%INcd**^xjJ6%=39Q> zU5-yEHl(uyey)lI5#xNIqrYyI;h1O5Red0b%^HJvXEQl%BRi>M_~~D|s$#D2L-c!@ ziq%TL2!EnKGG7eP!`rdjXO`Y2vfsPktx2rT7@gHyM6OD%hWFSrvpK<-G1*d^daJXG zyl(aj6~`>EH8hU=$O8FJo5=&xc>exe*_8#0(GL+k9P@5q)0uN*PV+r|J+VMN<0A<6 zC8NXgjs|jz&~YlSm~*5rAM+94NdIXKHcc>syTi5Fu(EEpZ?j?L(%GM8zvT7WD7NI= zXq^A3)}~$bE}x}SpIW!2Yv>=@sgUKv%maFGXE=DEz3^%DfuA3|&&5sW*}GkD@^v-@ z+0*&0Gkex%dyxGUbxY6B2ibKz3m(y{$@y`GhL+V$>}?geFCl>}{{^)AL-Fv=BfxhY zcWu?$41v3EsO}Nq&UhbOYcC)@Ca^O%oqoMWd)=YYAU#F-o_C4Iz%B2vkENKn-sw!8 zWX;FqWv7JGrZJ`y2TFMqyjNSv=?L~|MhxrtrH|b;aR*eIXX#M(qMFs8$+c`be5$?C z!|`VvU&`nDL+SEA+9ng)=U(VxJSSWQ>@6VU+Z2aC4DU;}{zqZ|KLy+C;i$d3E|G39 z{D9LV)hGWyPW@dll{ht-ME@=DF);aH`AOLg{I8!-m)+Rewup87tF0fY%dS9YNRB1% zDdatcdaEY$%e)4(UI`~|Lfa${;vy~O-Iz>>)`MHe^y8M z`3|KM+vUrZzsD@!$?{xut_vQK4{!l?Kx=dHq1J*s+&WM3*NszPbx<2<}Kc=mX9O6NPpxV zZdFffH|A*j{hE{Bjb@HQFXsx@O6Aj>xoKT{67L) zZ0)AJLR()z2gUgk^+A?B^!s|DgPyexcq_Q|@+hBJ^hym2D%WFLOQ{Te;7tsVdmSjk(ImRwjq4o2-&@B$Rp7M(_Kfs-<@s&X>ELW0^8UQ`^w5z8 z8@g|;kA?EvpAr55ygJ!^)4YfGZ(^=(ZjY?@HsZbX!}rXawdbieid}sy2#!@gRSPr> z+`T8-zfj#q)*`Aa+$o<#WBWh#KSsC&rXNcOGcUE9OB=s7e}*}tC+wS4S$>Om)IP*f zIR`3!U$L#tn73?-bRF@l++PEq#^@!_Nb!SUdyu_Rdd!HMewuM ztueKiGevv`jFQ!Q=2^oZ-&W84>P6P#%v1BaEJk1_|PK4!U(ctqQQ;bvO}SLicTp-l`g!I-vPH$qGK4q6*azldH5Wa2|f-ZORu zKF|YE`xUiI?Aym=pu7$gtqYnL^h*b?+L?hK^5CQX-v5Xmj@!jWHJMA5H zCUfWTwXr%Mci(~Vbvnidm){eslOFH(yxdrmCj^&&J67l8^_6uxP6;mmt?D#fI~$$D zz02jhF&<4`ZTqX})aETSubr*<@=dpHPHiUlX+)xF`CjgA-a>8^`>e}_3w@)rdYeLO zb28E<6Slbyd@9$hYMTSJX+JqK&dD~8_V13N&G*oAy1&VN@1{AV-IA`(hDo!FDoe)7 zGGUo=Q^_@owY$pNDYjD;mRk#{LMz|$^mERHu)N-!3rosv_AbR=qW$a5xo}ye&El|) zpYsF2mv2>`n0-GeoO33GU32EH(TcMCQqH1-56wA$S*&bvST^LG4{S~qE{?!*NeIhf z=M2pXnMj-YM>uD4Qao<=&aIsDRf7HE80?pXu-lw7v9kG*Ig?Wo#TE9#@GGkAUbUrT920M8~yp8=Xjl-Trbk04$XU^keuygLIG-vXoEAW9$F7Y-#Kt&n* zAb!p_-OXAvW9vuuhFWsc;~U(5K7Oa|C+a>fD?_LIvIQ!`*N{J~GX0j0!4|T|68^^K z=At(65T6Bm+)q2ciCywp$c5$|K1#I@q%5;DkKbQk^Dm%UqonY}wLSoz32s`F^lv_r~fpd0XcD!InJ} ztFzhLGT#rj>^0R{d9|};S8yNd<=lr_Yir6!$uU)atkw+5+10t9n{Msg(b+z3a0I@M z*)!Aa>4B1-tJ)?{o0B4K#$lT{*Y53EwKfOT=EO*wldO%G`4^CR-GjRs`0({@ZP6*+ zzH&ln&)T_%wxaAxD+}$};#k?ct;}S;8Z5U8mJ=edoM^DT-kf!xbQw=49MPP0AGL3@ z_YuiF-vM+s{2y%2x)(V*=f$Nthxb-T%idL*Gxy{bqwVsKAoJjA$T=VA+`)IS%CI~T z!gAO-Lo?k&U4sA4u+8hyS^3eWHn&vH`AX^b`7ziZ2w^vSHaAvwXIN%7d{(UNme-pz z@Xv_Aa>EhMd1|E1;v<~1@(r8}?VVpa=Lwqgj2P@UMCLp-R<<}YXL1uN=sf=j=1jb* z1k0==oHJ{}Qk$tqIA`>Gsm+O%bACzoj5uip?6V?sW<6O^HZ?M5Y(z!biRC%}QTuQ0 zmGNnvm9Th*;z2G(t^DD$SpzCQ#C;gHrhS&2il*DAWt--4M+Q16xIUp6z^+TFr@a)_ z<@*f9^w~j?GuOqs^Z1(=uB`*&zlwD#CLp`1_ziZHbG-97YcL5tOs?bE;hJ)@iyx|v z-Z#=;iZ+5x>srN@EglA4zE7WuCF;Fkx#5!PF=oZ6Pok_EzDh9-*6BadoSBQwb>6Av zxo!ye=@na@Ltc<#d8(&a$E@gcZ;+iCeNH5@GkDh8yY7v^4V&} zIdttV9|nFC4A^6fcXR%nyiU^U8K9uqz*W?_B|^C3>L?`a>qRXg4_ z>0GYPMDUER-l8~RslIYYX>aG%RPOe~HP@0KRE5`k+%FBin}B^Y^ta#iC*IL-?m@7- zA%f2Y*|VUV;t7(UW$rwMU~5!8_$TBKa;#Xd>aUag+%6KoP(Qdm$a3GHU+b1gO>|;9)AVk6OB^LLo|||7oHV!l3$kqH;Ox@KBv4I>M*|OxiAfm=DFXa z0)r`yys12m%&Fh>yih*bKPf6d?ICagZ&ct&aFp+>EAPjce+*oebgYaOsjLUue@VOv zY!&g+SX{~1B^S}|(|QB+JY0R@KzyaWE#V>s+zIHqbzRuLE=Ac%u{-F781vuVn1>rL z4&Te~h{5+d@_8hCym6WSA8q4whjf|dF5W`FmSxtJk4&`f8laBoA^x0}{_cbNX1mUC z-3UKNpS53DlKCq5>SKN9{(cf}*_1u`mMY~4lN z=hAfJO@rJ!k}aU~e82b8uf^+;?a%O=Ia_>K{mVwC&_D6MZU47Q->lV3{odyLMR(lE z?>6^+ybkVE3Vv*Rgm-I?@ch-bM|gMZ8z*P$kq^N=Ihg!C4}S{yP5+GvbHn{z0G9U+ zzWlimoe4<~<4zyW+v}aa`CfQCIs}?qU(kD*+b75{MtB}X=Qo%mJXh~&&%8Wt-T~ag zdFdRF$~J`bnD5J6Y`>9wIq7!uCnELEbM;DkAHA*hvtUvzK{^PU>=Q3u$9l!jTlwfC zn4fg3)pU zeceB$?@nE9XVz!1@^OO@=(a`)x5>6{)X$dEIGzNIrtbgpVzb1y7;}&7@^*sW4?nm*vm5-o@iS|+7W>-zoAJ+H zgYJ3RKdZIIm;JM~ebO)cXAeBU7{=~-**{ygULl_}HeKd-yu#7xm_BK2uB^<<{@L;W z5&qfOMh$aIZ13{cO zoN_+43a~3|g=3WAt_Smj3Xfe;9A1d8lOB}KrthWjope9!=E~z&~W}8!7JqxVtI3Ig}a?EO|-r1CpF3*gD%9H z45cOQisPt6Yx%~A%Nyz&I|lsK9|0%I%g0qsyIOU8M)|Q{D%yXHI%?83p}frvHqJRntf0UXJ8%;Z;Nq@_CI#8|537{ChVxa|E0?X8pL}^G>;x;KS_Iw zJAY99tuud*tNs7o%LFlu1Db_W$80_bk8sk)ITht&)LZ@Bf#V zzjRr3Jaqmq<@c@{1ILA1p!0Fak!+q0A8tlY?4yiy+l|N_(f>x``&Tx*b;M2VMO*U9 zC4=wI=pO0w8hs~SDIfgwddV4`LAiF%(PX~KGwSVKl(d~-GRy5psL&@7En@liBysAJ zdD35!dFtaKGA}9{+WZ@lZ8h3$db`jpAI_dvKr7iD)%xzIf9zwrpgXvi<$Z3g#zak- z9NMh)F`X;8ab&VvXGY@NGrxKmFBb2`ci~a4yRxr>O|zH!Gg}6@vV$~d>77MvbmlXt z9GAgXn2vq-^L}UF?anO#-0xqe?Y-PTCw~MyG0y$JaIf=ERMsW_ z0oGs<9%_W9!mZuMzKN!-OC5csD--g>^;GWz(7D40Xzw!MET^41t0l#!+&E^}XBt_@ z?IiYkIWW%WoBZNR#}C6A0sCLrYxxhq=kDxPKiJwm`Q*E)l*wdd4L&~RIu(A#`0i}; zRYM2jS!@rKeBoMONxe_?rm$9kA4)!`wedSXRmDD;Ev@g0q4V$7X4YhixuWfl!XCH% zs#=3C<~l4*anI#^H(Hv`+9;=$EDaejB+YmkI%em5RE@oOF92tN54&Eg`iA4H?{J=+ zwXqgoRrk@Vp?&n9vX`LBpInpQ@gYkt952sLhUd-K2)%~zJ!9hU7=MyG;``^h$Ibe& zitk5Lr`BM@eTEtj;{PnIdJMqhihIz0EAb9KQ5$DkCke7jZP1ukeT~4ATtGh=Um|nH z5i{0}UF`N98*ecl%ImAcoXyHQ*Tbx{J;GYjme$Dw++8|& zWC6cLHckh1_j6srolo>}=woNLP0?B-YhnBg*9N~%k$q#Wu<<ybxx?A6*!kRt>(<1_a|*9a*hc5lm^u|)-ROXNI%-SjkHa7JUmR>r;=}_KL>gd zxMq3yru(AyZ_c%`cR0(#y4HB@3Bcw!Tm8VfFXKxsW`o#SY_IV!Hi6e>=#hh;1fzX7 zdPKYdzfsomve(ev*^;ciSF%^%bSJ$1kHy!n_X(^?fOmk`2dr6pjyw=>9;f=}H&e#R z`95%|qfU6`>D5Wn_O^duJ`Nn6t!s7goilXpS$w5?Fa@K!jz1iMt~PpIlhv&l7dxZZ zv!7Pg}pP@E>ybeG@crKgX1aiP2pMNDf&2NtZD7j__m&B z@s9Eg!#jdmnjzj!4&Ci_g={bFvD*a9hvCUb=-Vyy?E%r9UqANTZ0I1}r}LBd!#A%S zQ|1}PN-0iOd9@xJ`u|O&3wG$+{d^a{oGM=Nd>iuW+)nYa=&d*;$t85)A?s7#)mBRv z|0rL9e_x+?L$uuGW4q!y`=IH4)ED>(U1a=Zv_qyTR^QrB`GDsQ!jEsVCjx$B$)`GW zc8qAK{d-zV^t|}O>a}OLJ@!3#k@Sog#h0EJRp#*R(f!o5YzJgWu=&#oWxt;A6OZRk zr$6}Dw>skLi2ENT?tkzvpDz3LEMJ4q2d~8W9wlG34X=LqZOHb`$1B_a3+R_$-STzz zNVv0_jC^${L4$qhl)a3}ee;sR{m9{Gk;%`^f=3q6A7kk&FY}Jvm303p zea+q=@o!t4evi`0pJR;Zzm9Uf`*Ll0#su?(dpB+ij+~M_)*~QRwvEYzT<2Kbju3y8}_4_9!2X6FdIGfD!`C_@%JEP9-QO~ViyXOx2 zcgd}y!{i-x!c*PCf%k6ll$E~=n}9ec#WF#kr_<$u9_2d_zxyWm2i*@Jw`ulK~{tq{QDYl6udwxP5**EgdOQ#B_Ft0^k8*ZA1R>+pt z%9yz9JpCTqcVspjdy57>$-ZLA)dV>Dr++yQKUs6o^H`R~+~!Pgr>WdJ+TZZ_JlSF6 zE(3;iwC!IFFvx!(z(Ai7vkTp@5$cm}$#TK?OsJbQz5gli)BT-&SsiDeZFMa0b=*c- z^@YB-_pIo8kaYG%p+8p)Xm5NS_r3j?K2VHQX`*a0#bjMG@MCDW*4tsi^#))l|7`(> zLezfdb>H;38_uHn81DP@Wqv=DAx*dlj{4_aq^lo3!9RU!d-JV4w$^pkY1my?Ri|;z zfpn`cV>&fGo&I1hTFR%h``EAh)v9)!L;Z0deKhMM*%Y!7uNl}2es@q;-2PdV)14R2 z2II^c@;*df!K!ap{PHyeC+tkx_EGjPvDM;e6FU#*^KJ1t*_&IZ46ui8U_18R_Lehj@0{#2=yj++ z=Dh}`HABzI1Cp84{dD^A1+;Op#RtmH)Sf$s!z8mcW$(+DO0m4W~yUA8xpab%&6C4zidI9wk>pO`# z=49%*8DG!njvfc2qh}KP3jMr=KHr?bdf*|xsr~iXIr={VyJt&&#lTsklKao+&QP_j zIM$u9Dw_O^envK9e`CK!^iiy(cz1{ANo+HdEz^U~MDO@iR>tr0shpTxrtz8eYgPZ; z#5dI?8s_SoyH{{t$wp|ye8kc>2_NhO=_~r$=0f5#WTk!oCf_wa*~>;e){23@;a&gV zP&#FTerxwUq%`pdXK9XSpIW!|5wwBc2RWzWGV!eSCv@uPyPfkoBhk8#)wfQv@}31Y zXDvV<;qoiK^`g^9y$M{g1A3`rq@K~y>JRB`=|1Y%kSl0htr)2D{gJ1hpM4u$jeOG{ ziMWl=2`*`Uz}^dttu3^Pcj;C7eM70Z5+?!8)G*+?P?C)i&87qR;vz?##gt>v^0e?Rk_ObE6juX7!Oz-lm6{2@|pf`R; zmrREz1lP)+PV8d*J_Vi`9er;g)-iscNq+XNX5|~<$@u+DcrboH%jN$g>O0=C@oso< zo$^DQ*FmRV?D}|&>t062-UfH>wHxCF?nSL0+nQskPl6nHF^+_(mufd<9^5FY)!&}~9e7Tx_6kooL@`g7uv!Al! zW%0rJ9_}yEBTIRHGr#kEUdg-CG{wu-mUrmk?h0DqD}5>Qu3x^@VdUKmkK6UM!SpUN z)98XcOB-~Lqtg#M-(9+EqR+pJw#fcA+?WeUUN*|_yZokeOT;1?zYvFr4p`F|^eS}w zE6Qcxq?^h6Gam!0bp77Te!-zSt$Y>-zO`fe^@j83HBbj*fj*_5usIs}SN~S~^wd_% zhYqlO(n0joRxjI9?;o_ehTv7@`@GMmwhZedJjQ%_lxi}vorUh_ zn%b8WuU{QRXUkR?#rO~NeChf|#+z_O4z|t7C4;l;X?KC~lE=r1Zpxi*^YCp;Zk^Zm zy~XTPLGM_3Yz&p3j*YQ*E_W0&@AmWE3DGX4}F`EN$geN|_( z9|Iru1?+iej1T)y&9`Fx-Q1-8s0R1N>&_icF7;vWqHnu*`MHhSng_1@(l&SG{oCw? zDKX!#JQM8rWrT43-6~v1dU{AEq`A}4!*y%QIRCH`=a$-c4rwkW8LB9Q+!hy(FR#;>+_nI%k~i*?*BRXd+-r= z9J6mqW!?Qg+M89BosCUe1h0MQ*y=RdXTlr3#Z4$5VlVo&&Q9iEcJiygMQlFblhbLJ z@{zVaniJSrS*_-uK>xEQ#dr8mGGb3@hV$Wh+lBGe+_cQgU`u1X1M6(HO=J0a{x?$Z z9oQkEu72$B}gYe&3?ij zKWabm&H4$O93HLNPy3sP_LKTjwwLR>#O`KN+KL)!Z?8(T{&aKpwjyoPIbhXkSs#f=A~eO#a&lEadjabLd6e?Lp# zC%f-qKAFvfk=cfacpKh-BFrJdP5f!|K6oSzcMnoW!21AvqPv3^Q;+6rF`TSltKeXN zySXSl1ueEUl+34g$-Ce!@vYW=G-telzLjp!{UPtrGxGiOv2rM%?e$j-y8Pu21%Jxkv{NB?P_ge`CPV&Gf4SG0`h z+`21!w&B8@opu_3QYN0Oj~0E%C*NL7pFgBrxZ6N_jCqdnL%6d?bw5bEL@#|Gg?wXN zZY|z4yG!3br8e_Tc1eNzp6naGRMAHHO`f20b&j*qi!vK16Xu1C0rQQBhqdk}e$v0$ z`XiI>H-vW47q!~;ou`KOJMHOyO?A68kA%S@4-cN%U-W;zwT>NIoUND_f`jO^)kTD1+y~h zAAc6Da5S3;ytIZ_U0)aV`Fgr5c`UjYFpfcCUE0=$Wd|{?w0^1g9Cqa=;PEhiLZ4av z&|wkx;$`w5JHq__D$BF$Q`yWzW2Q`h<(>XAUO;yhbLVEUaiN}4-t!50HHYoxJ&UiZ z!e3`^=uT>Q-gqo)4`qd~^wlX<_!h;Bs)PDDd#Q;r(w*jVYwid>LC$`|<-^JO~X*}!kvVKuLQ7BZeQt@ z{F$21T{|$MQUCZ_`KCCP6U>Kx?Z8OvciHZx9&8_YHV1A0nDLPD0&@F*LE8Xd=e)2d zzf0|z;DBazZ@MSwo+r86PP*r<)&{TlC~Lk`=&F9ITM+e?2Wul149=rZoQMn*E<=+gdai-T$5?A-j+u7`W3bUl)vGOz_- zn4O^uUrN@?|H2;bF2<(uO~ToIM(;(gUz1a#cl@%=6Qg(hvTIL^-to(>Jw1BIFS~M5 z^p0OvXV_-&@yj+(iQe(cHcyS-@yo8A7QN$_T{}H`KZo~*=)H;ZuZZ3k;>T@_-WM|t z;`j6T{_5!aa^BC3-rvgmYohmy@k__=m*aPy8-2f$_P#cHUjcseqW4vNKRbGVC-3J( z?>B+}{OJ8X)c?lleGT}(DSH0^D#@llH{$?groUqVgXH zpEpPEZNOg=y?+v4>6m0qr(Yi{iDw>mY0J+o=WFb3HQ(^`2=;QHwj)X_?05NAMs+s& zwCT%|%idY1c_(Yg@h7 zO^4n1OX4%NMvEOF-IH6`eD6C*)0qn#7Cy8bGD3BIpS|9)vt%!aHQBfMa&PkGZj_J5 z1&Zxp&IOjN*;Y^R?7KFVmtNcH>+0}z+1z-n(?6Q$RJR2MmDTxf)ybNR z&Nek&y7(w{UNqnI-M_*Is`H^*buwqx*@Ly}{FKih)4Mg|g+Px#@%hrw|M_dXWK-m_ zH4!%ke`#}j$B*(!1scAd_5>Qoy6jdDw-oiq1o9rOzkk0*{%8GotTnz?*2w>3&Vm8{ zknweSjlAP)jIRr7P$nk^=u+CP_XS{v7TX?kaponfPI>twV1t?R>9--q)kr@X!R z_I0noW_a)+=>2fd3iS61^fxgYd2C8-Lu8EEg$eUh$*os<+?M%%3iSVOjdq;w^X>|L zN?okg+8C`1V;Wmx8f680jL#o<#rPMSv>3^r5g|`he-HEyeINMA`P{HM@C&BWdBJv+ ze-NEg@&0LaQvChToh@rNgz~qe!}vbg^V>7nep>sN9cDBJ|G-bO9pz_M`V}D^xvX@} zF_iwd@UZwpX{k?J>3K$JdD1l2p5k9L*yVXwF#^?N8XFvYn|9(?OVQ<7yR_zwo~(H9 zjM}O1pO4z9_b*nq^V4c4c5-N^&dJK!NqT7Kl#s4=k{;T5Z)hiJp`EV^?IbO<^AooZVg{@9);&ku^SF;5W@RtLb}V4Oo{#muh~~-3uzaKH|&e zHS%3n1Ky$<`Lq@;cyW8rsgbXld|?d!G-{*#-X-sY7OvRg-C=CZ^RSB^*O0EcTY$9} zSc*{{4o(C4HAm8XwDIDj=#N{^HU04p;EAWT7Or-61f4}$`AqwPQ%ipYzA-uWg25Vh zv4^Gc>DE6l=wyE4&)cbrN$i>0#T=!pcC0>gLShkFGjjW?!hCilW8rk{P;}4RsY8Al z*(=5y$iqM{^=0_>XwS7>AEiwNXnJ!lS@Y_#ADwhCf8y4g@i(OG#d$Q3Z#Xx4gT_Y* z{#JhFYb0OFU98&k*0|8oaJkoc(&yUSVr_rJ?;0JoRwge zek#e>@Z3*bqN{uymPQ>u?I1A)^zXG@$Q<(z$Zoa%#xIF~rn?;+C6^=vgtOsTWt#|x zRoX9;y4a%woMS8eBm=BI?2&*&HT{kmlUKE-7S_H@*3~1sJe^9CUDygqkl}hCTP6D% zn5XcaHC^);kEdNhmdVeh7zX)~g}y zsLA@NLv-Mq@n~z+n)9#W^LiWbGT#Vr=Tm1XufF}w`n;?SU9Jruq)zdAh*MEp%(r$l zpBMhGUAfmf|DX54EeU{4wgs(l>@x*qnAR>w+ws3B9Z>$RW;N)p>P; z+IyCx{u$pu22iK?4S8dJE{$=;ISCJ~-8a%7z}=uaiaGLnJc{)^`?`z7D2Mi1z6nXU z+E`Tk@ktfOlx1s~uF;vpJvvK`doFH272j!nTPHYnfa^wR+uk~b_+sw7!1we}{)~Z# znNK~!{ALUHUUcTU`-1x#1XH>&_4F<*a{dFIXL&6)%*Oob*u7Vxn_L?mZKif{*B0ei z-`&X`IKFRUuCtjt5?*6*sHXw@?a^B6)UIchpEUT#bZ%oeYt(Z&gCWTE_#3_reM_Qm z@OF2K-=)M|N%|(dvDfK0&aG}atxK>&o_61lx(A{oKhb>m9eLeZG11z)o%Ralv^B`VF+L2Er-P^er z!f4ydy$s;ydEwwIykE`mh31`nPdWQlKI-bU9Q?Y8eh{6V-XLPGWxXjUf(o4)}n(@V#lQ_l+s-ukj)J*m33%tXbsN zOpo6$&#l4Fe3|O8@2hwZazpvwnOn0q&_nOtd>>WL-=BQMd~eO95hLg50$=Y8GKqG} z&)kTgK(Z?H*VEstWIGfWn$G;EpUHNZ+BL!Y4}U@fvW&9w*LT8;MP!L^ToKn1Y&NTd zJjfX3k!@D`M0tWWS>IE3KXqNs960WO)|tn@ir@2_b8Xt=T)|Jn zz!R(`Rj|GRoYH*J+u^6@&<4}#j9cM7ieF5R1bXxVZ!hEgMQ9PPk0^hK#xSy4cfpKc zjYK@U%j?%blVxF#CbFiTwpzSD^pz}WeS$tlh8Zl%7Ekc;hCT3=UwbQkmUXxhKK)UP z6R|NM*(I9fyc{qaV4kCs#+TN3wIBL()cGiVx|KRR@>dM(ohO}`w7r`Cn*$HcE}&=7 zHP6vTd`R1#pFXke4aoAiFaD6W7Wk>o>NZ>wwZYNE#%A}8C;G8UyE^Lp-UTba0-3u4 zopBAi=^AiE27uod@Y|XPM`X9~3;S>1ToI2mwd-Q=xPYJSAI>Ybj{UA1hy>AJF~#sc#1D9U6x+wQCMIg>`+m?hP#Llp=Iiy2gj4%Ld?G z`*~ydeZYPg*fHH@pO^m4K-+k>mNU z`NTC)r)c5k$kFj;Ju+E+ zLHmMik=-eIzDoMzM^1m(+?aYSeu2D|^NBap@44DO0^(gawV02fYv_J{ViQ~bqRaMF zxOQf9cuO}wJ9GCY#~aHt8o0T;;dj{^E9UOgp@Zhl=#CfCe|%$k?mmG&^t4EM?w@5a z%X4??@M&)Do*!oJ-g0f%YlFXt@fdik%n#Atw_*5U|77<3GH(&R83)~r39~151idR? z3HAi-H2cAPdi23c+Gu64_0o0NNdCL##8>JYeJ6M+^YV5dv!lLGXt(jg>FPi1CwRhi zGQNru>p$zm`~x^k100PfzG59x|g+6#XNT)0%ia0#@xK5muIA?A7Zf=U)+ z(&MSO5Y>Bn(%lf3p^t0UTUEyDopPKw*DBjk##wl4PMx(q;}8C}ZkYowg*^rTC>}?j+1RC=_Ih{tJ%K^Cy$*V7&XqR8pA(Wbqe3iTTtBib ztG|`{fwcu3epHPEbPx{JHsh(9^Mi-{h2|>{?Ls~s7hGsu3$E6PEA@30dvhG}`8n!0 zUCJ1joRl6hJ~NrfIWT^{>v_*)OHJPrvO#iN{1fbx>3+<{>5a?*Bx~El91s4nG6g4t z`$8FHcnpg*Ez=W{aY`@NJG(9Pp=<<`U+{|fU?2UkAO4gdYTb71P{}UJWipe#kdHRt zCixS?mYlPC3W?hrCVCvz*A&Uio`2uoIr+acT8oz6mI^kU+AH6VWOmK-u<}Fis_0#v zv~l*_U^}v1_ekW~%Z06T&qp@CrtOxq%ld?IVLrN)wNv!y9De`1 z=o|U@4zici^cQ`!1%=yocJRYYu)Qz2o=U7|vtiJ@|bR z(v}D=vYS48T*s3|w>aU+`}J5VfTNe+V>Gyup6(eSTlkHkLJ+7}wVWLu-=H z!}p2{ekt(&EnW|x-7|nAS-{vZ{OpJ+`uCAI8pJi=0SeC_CA&aka^X7MOmJNC+tSKwrn(_NW zx*NWwUnTP;hs49-S!=kBz&0Ad_m)l_QMxJ=ZdZq5alg=xA%z;vK&K5$T%C$j;g2b)CjDxSI@@-QCN#0Pl;k9euyL zaeu~utq+pN$I{#SyR~UFaDg=>o&HvQp0oL`9?*HfI-Bhw+V?Q@d~Uw$-)1fU8g+!uZGXQMVfDOhxa9`jnYHC_-nBs+oUR3U-xi+t~)r67tZEfTUrI@bHL%87{-g%f36znUm*UzcHkAcQ5*Uh zw|btz^F!eBFztGTHB8CGxLuzGMw`dy8R0W;n0C#J+O;~@w!dn9a=nMMQ*h=WZ{~`p zy)BE3jB#au{9r%719Not-0(QQ54iA<@s;e9PT-sTL{=&8=wa12qY{4qEZUD;)44Gj zO=eW49jjigwJBcB_(k#?z8*`wjAEMKRF$sz+b9=HV`rBI|3Qv&BS_bN*0}vzKgjSx zzaCFty_P!7FDL%>`1IzJ!5?7@XZmDfGPp|gI0gDM$IR$YdR)Ku*Juxo&ek~=9pt-9 z`KkS@G}l?iS~+&v!~f#eHRZ2oul~f+w_@ElH9DItUaP3Q=M2BiZuRN0VxY2h+tE%I zOb_#Oz55s_`7X?+Je)sdF$TyP*}zKcKl0!n;$7dz z_;mi^|81HxcH~b*ewmLM7(BCXsh9{$lT1_01M&=c-(_dBwK^Tyfxg_{dV1IP*6{<| z^AmXHmmlwR9P5fHaXL5o{VwR7F6uj5?L86szp=H>&fC$NqjXc>`|H|1dyu^g@J=uK zs~1_IvjczdTITAcl`iGCfPDP_;QuL~Upojq{7me_m0tILMsR)ov?Zf&8rKVrq?=12u1tCsfB4!kch)=p-XwlUFDuX8 zz&wFE^b2h|g}x7S$I^9-LGUWV%i@oNwCir{FU6MLj18uE(E{FVN0;?d=KxEHU0b-bI>iU zZS$V;Zt0?{@_|n$vT0-M-@jpcPV1VN4+ux`wbIp}&fcHeWw9dScb)qf){9y%b9UO_cwhbx<~n{{i$<9zIvaJ{}^8IfoP6s@T&3! zc&YcN*gSDGFpwem2VC7ehghbqUPgrcc9z#L`9JUT2Ruw?&h&7kd$Uw6Ct)jeLGOy*qF5J(8V4 zXXXj-tpC3?*lsGWXn`pVXx@nWgg@<`OH|;`qeUnD;b? zyU23A4tv!z_{RPrC`WPp@|44Zj!DEXke`h&v zPv18EtK;pT!1sFZBk%WlE>+dP&DY=Ib(Q+61Ky^uEgnd?<%oR<Ck zBY()}$!GSh#?{qH_tnrz_f_{^mvpPW>WA&BYgV}*Hd2PT`NvH*%U=G z8my7Y;Qs)IwQVGAV~+4X!A5V$=N8IM6PS-Cv;!mLqE9GxhtW%Xg zDfaJH*y63kPglv7t=Qt7jAz-#YNy%IK{xol>hc$ip-(o-j%NPcQ8jk3T_{KU6hqDT z5QF@E=48$fQyD{jo#n@u6YkN-yV%`M=I8L5n`5kor$@T@!Dk+a;*Cbf9*_uvak zqj$w=1e;T3o+8dSoN=r7Z|Bw|!B?dB-Nf;7#_es^r)9h>29!4Jg}(1&PA^@(%_mmxWZ;I(o`dH-^ z7n$J!jcVamQGW8;g;pNEQ27PNQGRjUwpwjzaBV66CSc8UuqON_U^O~eVQ!)J65s7) z4tnDalHDK1W)AB!@UZw>KGIFn>EiVU^er}nV%GIOauxopd|lhC@SViG{eEB@{OevK zymi29Wu3ALp4K7+FYep5z8|tQ_EpsC@5LdO6&t19+JxRgk8P$+57CC_;Ol2EY##g^ z&sm%>zCWF1t?^qO^D&Y&_UBi=vTYt?A#StQCo^1*!h6}cz~_^O_~y;_e74c+F=UOm zeS&~EVdq5raYV%ikuvmu_ileXyo4fJK(s9Z8wKxb)w^5LrZU+FgC z@Ufb)vQ_@48u18wu{rjk=i~Fm;<(W#vUv;VCu-eHx^Se^g*oJHb((DKI&}6vY!=0Q z4175||H|>~$S`Md@N8Y&*5fFLJr>FxpqyZ9?q>hAzarM5=jidTA>Q%-5Aigghfeax zmgtl9nZ5d3il>SBC+}jd_rg1U^K5OuJ0Vu(%d?{xeAec*Hf!f3oz&c|dnv-cw2Opy z9=!7r-sG46wU;!(+zhOh-alipprn_8vllplPgVj)u^kpK%=gOm`6ynxRcGa%jQ^7J za$82Ueg2f@?$1qZ?tTTsw>EZ6dSO#G#M0*>p5dZ&l8yr}z%a9J$5mywWYYU*PI4=5sgi_4{~qzI!p8{k(v2N}dD2 z)H)w$r*7EGv(EMX!W_;nK&O{(#xFDrnqp_MXSfTS%*nHxkynKsSK0S@jP)@){;%=~ z=hOL_KdKh&$C9>B3HDqMdp`dj_OheFRz2Kb5#XCVrGC~2t!=Ba_&@EDxC(y=auK>T zLl>hT_S`0Ds5^=t!ge#+dJ1QMwOrk`MY@6fTl4IzYkm8G;s>M~=H$vTi5GkwILz-F zXqVMZyRhfSmZ0+%+4I2I2#i%aN3LsRHs4lW?VCX#7|n!BjNfVCXL-O4cxMG2w~=?P zUu^>B`+S~CoBv{bE*If*8R6sHc=w~|wey#|`&YNN z5_5F{Z1^k@kndk?h@tJhS)d8DTCCP z1;?ww@d|!hJl(b+H>h8HczxI#3jQTOMrG&8cb?qT|At=O-}ubpCeFdSe@BQbxf&X4 zE)QJc>0(k{8TDO(KIliDVdI$W?7eSs(<#H07Yyr9@G_YKo}vx@ddCak{*3H*UvG-t zq__#ur0+t-CnE2V6?Z<4uB0zY@HG5jKAOjYt$n*kYk$xQtiRdZS^b#$IYI>;P7)oO zoBAR@d^501$O2+9Y~4WqDe2`7k% z{v+a-G-q||^WmHKBMoYgsr3)^JXU{6Cz!1FeWSI9De52Otz=E;pSOT}oUffRa38!J z#+PtVy`$*!Wg6q$GlidPKz-a#dVx67RQH?KCnj^mBRP1pjxmV8`JUBJH@4+iyHlOA zk*yrh%CEeVPsM`tIzC_cmHDBKJ$v5?k0URwt;kBrmXi0;RHTt-K>P`;e)1Km=M>td zJQW)33%2n;?|T^o z+M{pty~lz+y#n5ebgu6Q(RYDgAL;11ymlVs$?JTcN}XHnXDi3?Rm4rQ)~$QQ!r89d zk(v0%2kdNDcu&63KJHDrh;b0kg4^YNs_?}<=}n_q8@2nx_DI&6t%7duML*sPJrs{3 zm<>i>o#|%$ihq6*vRiSN%39wdEV5BK7+w$O{7m(IU2H{j087k$XL7a9c^X9B~G2^TMGG*lkSJ;XTHJXkT5 zx?@duDkxSb*tD}5o5gx)gAJ~6uls*r#hS-`$cUhKM;UJnt@os;UbBO!vlz9v8qYlW z)lTtIoX>pO&?U5I@JlYA&KXhuA@Pxn*^0B((eJWT!hWSVKAE)yC!1vl&g9-juiyJ; zt?hgHp=$Lv@XfN5^}76qShzYcI%9N`O@{?*pO=rX~8eU{L1MT@ZXKx3;kQB zM-)HYLVVC%&c2?@*))a8v#nc_COEPsv-7-rj{m2UGoX*ir;1r5}%Dfx|uf}c-mY9}#L?cVlI z{kpQvh4sBqqs*AvW$av{yr-Y?K)=l%?lI{?TMyq}$DZ$`O?zOq4^(#{8I4902ct9l z!AEe?l}S^@c}B-5OB{=pJz5!yTca;Z)FXPz&mwxJ_%;%J7C$)i-#D+8`+y{epkcAz z{U1=C39Q#4lSE(m*7OuI>7L}8xr%wZr(ylvwpZlWUb0$t%|Fa-%g=J>)C{@jsfsVu zR{4-Fd6hrchWZ=T4*p{vx#69h`5*hPz@76J%~t8ivriJaIu;n3L+W|7o}sOcFYKOv z+N^$B8RoB~F$M=!|5JVrk6()Wmz`bpBI8^*Wc@HxJRAF>D)~FKgE2k?cgE!I;NMH2 zYc@vXbojG6U40Y!A^TQEKlO+DQgD~9ah+^WULdQ{O?`S#|^a%*qCx%)C`9P_2(L969lbs6mDN_qF|l<9$o zCL%}CL3?LlhoGy(zt~TK+W4IqxQ+2Uv57nUyLb+p zsk@jfcCo(St@W>RT8E{bT#VIke+SAubp5i%g zk&Zl6Jm@a$cYBTa6Rd zbp$!7{}OUteA$T1luo!K=mgT#Z~c5vuru+O7_Q1M93^KDfn$k$ny(uy;i+%nEkBUb z^gDcebY5PIczgtRT64~e=gW{!|Hh+@jMH55K0AlKWolPP3-+wH9c@23bt9`RukGzU z2fyXl-usO37hZxRJcCbQ2>dgV6W}Pg%X~kEJnM-yE4*_lx^APzoClwd<}R`oa@3=_ z$liQ@>s2EiO=OP>k0N-#TWcn{QL~GU&JGQ5#V3V6(S~(F?3rardUL17xYs?>JKI+tPw>O9io&!<7=23sxY@ATrg43_E~9|~sr=WjQe%bER`sXnFMeX`?4(OYp>I=64> z3CaCQY>#T}(Qne#w{pjy%E~`yFsUQJkd5Z$+Bnhh9ndQsk*wL}{i({IkpDX#hTv4# zfBATRHf5ksb8qHGwyz4AYW(BrsMw)CzJ1JmA5#YY2w2)TU8Xzt|1EB2uY%28tiAe{ zu30*GH~)`^uU9Yl*i~H{lj^Q_#nEqrnIZz<~;gF*%#9Gv5fs`1G2Nk7ws*{ z?h!n1&pZ2M6TH#F`&*G4VGef}_-Pzk`Nd0Y4MFYb@$m*07e(84c^Vmx;3obs9~Ny4 zydwHZ24=93QGykCE2JxraPH;%P1JAqy)nN`^G?Q=NSA*@W&49X;k%_R#_wr%>52it z%Pm|osP&CdCQq3U0MqCNjDE@$&#W3tq?Nq<3;lGf$HU4&+Z+9S(r`AqP94~eEYUdD z{RY=V$0yl4ZTW%M(K^NSk$iQBZ;$7&mGY{Ow%geNCpx}Xf6+h2m+krM29^N#AL^a$ zZLrn0QJyY5r#areTo2#VG4RD;Zp{;ZZBXg@nM{fFP)M)-7wwjLeXVEJvCGp(<67qs z6_L@3?Kd9`Y2WsDIcqPwjeX(3x?a2If60j(X~!!)E^(dJcv*Sm66M!uP9EpgGv8&y zoMX?w2Ckbtt^uxOsCcLozORr`t&#mipR}W2!Wp;nH3{!b=cC(nPMCPvXeJp1OxYmv z4U2boW@AWxOV@8%TnRX&f#$-8@g%%LKKYq-FPmV8{?>Q;;c=sb>}{>fDo<4I=aefk z4(UIakMh#bq5lL=epI~+j@nhAE#gVFZItvp`boZb=BlhalXn7j}W^XmP zJnXL}PvPdpUUmmshkw~v0Vmx7BY!M@k^A*seyLH&Vv}1v)4Jq`sq~RW`X75=^HRD!9^lpT{=nm0Lwn}lPdk(mkNHh91mg~!WEy!2% zHTd$@cY*G{oa`cWx#6lhlqahvz|LVehIvz@CxcJJY_ukHrFaAw2WW$A%ycn+gr*aX zZw_G3o84)8h`z#(SGi>2TjVFQwc5v^xA6+LV27tsprQUX?~e7|qUrhX?8smD-RgPS zdg+>`B}O+rC&=JF+M@Hj*lTpZd>l$IpikI?d9bj!ZZPFJ4ZQ2y%{kQ@&~+~qo9bLF z2+z}aHeAS4JvR*fuCu=OiRRG3`gS2SpiX-hJp^BU4h^!t>e1M)JReZ9Y#zGM_91Le zc5g?9i>DK8n5#(-dWp7}t*p43YegsIy{#uuUiUEG9NFP!e;$Rtf-M;$+0Yo`0)S;{ z(re6H;yjWq8lRf4m9jNk*QZL)!4u)Te6_@V(iY};{@Xh|UK;bUO>uXXT`2iZ8=oG9 zURQthGrm&kc*!=#s=lkQB!|?m>ib>3FZHhe*T48P$2UFK(ck#a?^nMhq>b~sQna(P z-sqn$kDqW>Y@ha}?xU_dz5S)Qcj-s*gY359&VCDg9C$)B-r;Qr$%SR;RmP#oO7Vui zr-v_kM&F9(xODd1bqkL1lG3po%KTHdU&FX0R5D{{!a6R z71%OUx>E1s==XA4>8X4i-j=X;d>qrmo-Tctk0ZRd^6p{W?PI-J3$;8OiQ}FPJ?-7+ zDf~|G9k@KxIWtIOD$aBF_{uyRxm)kvsyv0sm3eeO-rrQ^xx1k<&&F3Im)RXUFRnP3 z`NO!wx0lbWc{G0wbmH8ETyr=3vAcA~*1JE{vA&~qa@Q#I+5yfj-`X>|OFB-pID@)s zmnp4hEwNmt#g$nJJx@JanZuN6om4JEJe}&1UrGKU-R;cUByl9%;g)ke+R<}$SI3J} z&K=aZeAPGN3G_{Sf>@KPDn}e1-wyKaX!vv1M0eKa7Kh8R+N`}fq0E8nl5XLDtTuE0 zMY+rsu1sk21K?L$jcpOPxy9kGHnXN*@s0hW-J#9e{~MRne$Zjte7Ix1&UMM~ztG__ zY@6vb_HmWVEIrOPFNn%4s%-OBYS#r-xL@dSw>Gy_eOnr}c|p~;MaOD0_!IAzwR!$= zws}reX6|vec}7%bR%M%~sLjOIRP@*UsLgY#zA-n;`gumxw^_&0=E)H*(~h&vr$l8Y z9%q};3mI+E6Y+TNB{m)1R@r9!#A=uI^C?x|CPr;Ww^Yzdb0a^VWv9tT(tHYizpW8p z0`(s34E8YT($Sj7p`*9S*I+uEcj-K@-?ydsuTp#yK_{5ah)pDzv-wsieDgEjA9yg> z0mNNyTLwJo(+l{YUHH~#&gYIGv;V-sVC0+)VfG#QhSRM)reoN+7~DP(ss^%t61lX zZBVbf&9=wyMH|i*&a#D`{DtCJt{dptdE|lLC(UfUGwJ8Z-)VLxzS+f@9=>iM#g8jL zw(@J<*2ui>bNqjlImZR~RX604LAO5d=A-H26Am?ay`Roj{G#(=1lsA}?BRyl>~G_~ zW8z7#!ltu09P*=!%vNtvKH0Se?!Lswr8Z?gWNf%mvH#d?-0OUNK+^UjY`$vzWDl=D zaqXV8ez~0qEgRJ4O|nDbrJcUbHt#;XkjV zVX^1FeBq9d?J4kmy?l-h<8 zjN^eRw2_#umKDYWUG#h4fuC?zm3V+V?;Y;}vp6z>$(RZKtA5xU#&hUtDtKqAwjjv|GSNeYV_O}xM6YdHex`r+ts92#d6T4O6Q_0IGlJ7js z`myG;f~BA7qy})x(FW{=O<&{gVPM#J$|anmlypz`G|lpA?S?fcJ2#2%hBtN#Y25EL zjkzfId1h;H_%ML4Gk@PhUny=VuDiguc>UDspf5!)>BSOsLSEh@TO^0S(!MV&uR}GG zu6X-9fF0mg>fzdR`FIY0ymR+q%Rpb9HPFXc-a8jNg0UugB1gJKLygaVcpQHF_s1E) z+r@Q7Xp;Mfu-GOX<3|srIjo#i!+GQL__)Wv7Ou=oQQ8S|7RZl7(;)v z2C&hOkwE+KUxJ4Ue%(WQDXiz+U0}RYo;kT2FFqgkv)#R>Z{o$R@MtIFyl=JB_oBVd zjFvpwmmjh9RrGi7ua2Cp`i|M(^n-ke0k`n4x{BVn71C<`qhsz#cQ&=9_05@0D*xv` zYsaGR#(vc5cp>?&&4)P>-%&pD9jQFyl(Sur&v&FYyc8H!=Ou*m@HZjfH@DcC`1p?$ zFF_1-%L-yZC*w0xoV8-3iMK_!v0m2o2j9Yfg#Te<{*27`6Xps^PhO?mJi&5=Bc@-znjkO1vvPRo~+8# z8T>~94*sKGD$o0`@&2RAy+)5>H|Ts$d`R#rchx!{(k|@_f|n1P56Ssc4racEnq^9q zIV~!4y8J;0Gk;30GKW=WVpQfdD---Fil@+dqB;u|{x-hvkU!=9XE+~HtIh|Fzg=nH zoDb=Ws&8+%Z{|a)h0BM8%c&7A6AhPRwOQxOmFaZqakW|dgF=}DTN3n5;b3Ulejim1)#_am94_&4CX=c0foGy23k(y6n z6WV0#y7U2}Fe z6}Zf0&ZV|#jtSm=y>jZn2gw)UYL9VyD|?Ed#l9KMg9|C6Z|P4T+++KQ_^$di_tZQQ z-_!jT-$Z|?Ud@Rd&+#7NuQuwNU}-L@c&mc^3GgR4uc_r58_>B_)~7g`6!P86>zpPsFq*m>qZf@TJ5G3{l%+WIDGW($sP9=rseQ@MVgg+qVve`u^I z&6kVwm~9Me`sC#PT_>_`yLevaI}rWk zqufkCq$85C^wU`3Q~dO4-5T%dr$5zwfV(YYU$4zwz?-?(w#J>K+lsf{IG|XBW#{=A z1ioo5U19rrpL8GcOR@oZaj)zTXuB2&;I@O*m%zOy`Uss3Gl zPqNh?@tWwNSQ7D29An!LAEx*vlltbtChmR-yh(p%F}9lLDLwwlCm=j?1Fm{4ZX$9vLDNa!^)Q5fOvzv$$uzGxa9(d!Us*KV5 z!HW*3iWuT({;K$Qo!=?A`dPcAmkz(_8O_nn_bz`VIx>s>iu%&Z`2O7G{X3#9`_b9+ zI&DDbMp%3UX~Z{l|CLWyIn7@y=BdZRtN!Fe>EY$ir1i*Xa6{I0>;Cy06_c@ZL7Vu1 zIrweJ(lXwxCA}29|F{<3!1&m|2k#tbboeo85t%gKq3Fz%qI{Gd9MKxOn3@9rXhag1xf$&iKwy`IJ6w<#Xq$(uTpg)g-qypM6u zM;U9zD^c6fM=vzK2cDmau4KIEyQN_>G)i~p3LiaMoBL*PW{}!QyF(f6BWuE6*^3+~ zG0wBL>zTG|Z>o)d_TQ<^Dy#S6nLI-aduGi_JZ#UVrmdbdWXpa_SGW3Dj zg&rr9+tej_(F=?$j;%%Vx*VskxYxa`x0+uTS!MJA-wq$!8t@AL#uLc9_1+gFUG_u9 zyWzmI)hizr^(wFS5ZJzXo~6ec$8y#W|L4ynwjVj%NZU*XgSYGl(KFCleN&ff{HT04 zR&RlEH`w`_V6_-QT~T^#FtofUZV&GJleeUh%K^x1!V1hOH>3SfT- zm@2O}Zq_&pI!Qc^eA1awqMPmeAkQ}PXpPMKNHd;R-c!hHF}md6$C~mh7(-tozw80E z1A0BKx$z7ev;C}p?&(0~+!0fac zzF+WjqKDS>hch5$!?B)k{UG1Ie?LIJY=4R51bIT=XbrH=>krwYS-NDfZZEBbc)qA7;2P?v&TYjPyCM_QrM^<&Dqi4~vO&?HX%vNQ>dv*|Fpo zKbp-*y<{XF3o3cjXWNwZg3t~mJQ{&*=pD&#%GCfn9hW*z!TlGa;;?>P`n!Av$a27e#;yE z*~@M%n!fV;39@&1&h+_@&nxdwgU8c#bKAD^znpZ*g5^K1ck55^MXfomjlF`~8*6c( zJuA96!^h?#lApK0OPb%RAN8NIF5d6$B)!}EdHr&`gG=x&FYPv3(e}XC+OyRe=7^jL ztMouG=^@qqV~uT%C3x<}D!+BevkCmZPd?=leoHm}efdS)n8Djq$!;(>6r&N#O*|e*dezrX^nl>U&M#V8T zk^Yi=?x>Oj>i3j6jNqIdYeNm12Rk*5aJGKKKKce{ z-ik(gm;Jtj_t2+Lc>B%j0GA3sK~#@y750l8%@zADJ)m*D&(lYCl6)g)7;JB|AlC#} zbydL4M{C@9H`fdF&iVc}ouE0q_&{g;QTG^NDScSFlYbX&RDRVh9tmSb{+~&bSxSS} z`d8nSs`^IdLRsr0@>TbdWVYF56>W@c^B%R)?`>#hU!vBV=}XyH>Z2&u=bkLq2maGu zWvd(hQXNI~`f&RO7cu_BeEc?Ks;wEoD;nqOpP;uirW)(b4mkK!%+sU=9VQ>A$|=4_ z{H?Z!a4- zE{t*2Nz4WM?~wKh>zmPHBzVWMCFD{6Y7EKGcmSA+r8`I+@^vZQY!$=D#{uyyA6@l+ z!LRCkf67&SY8Qr~~LOzPE@c#ufo4bj> zoJ9QP6XpSKGS=@$rGM@}K{v|OU$T>$VVmy#n)5G`xX4=5FIL3qT zMlZ=q?MXcaJ%XQr`RzGM*ErOEM#W%AMuzvjUhh`gnekk)-2Om^@Lz#5ee$cve|vE$ zPvUR7$d66cueuA+U`SjFX~7?xxM=h>qDseUJK@WF9f}`o;rW3)5J_8SX_j|zyky_lJEi+wlwbSD z8qbOL!o%YlQz2jIhg$!xk98KTz;HdY^B|X2Gzz68$BcMzY${B)3&B z^C+u_c@^XB=AGdj1^;cmKVvw9ZMNCe0eHa9ga~tO&Efj+JIkMAc{SdcyR8g!H{ca0 zTO!@oOc<+S+-QFGnBPNnJZ=9ncY#{m7ck$Djk#z)evSS(9{j&3{DZ!e?2GZ|y@IBq z7wZZ|n|DH2WUJAUeiR)oRxD3?Xg74P)$R|_ZfKIlNGreM$7I{s#V z%6GJ%(UdXRF~W_#>U{QH{6^nY^Ba7b*<9vV7hR5$H%H$8g&q}r^|Sc1k-P_ZJ|8|F z%^qAIH*aS|$u{fd+Y)q#%2dSfc{|edr{8~U{0bcH2fse}O`wzM4eS;Bj((7?4SH5O zO@6Y2`B7WrxP7l%2F?E@7#?nW(4k5@lYa5~kuy-9F}S2l--hyb-(tv1U#Q(T>5K#X zqFTePRYq;qKH0L_>lUnEwgA7Iu+ivxV+_| zz3A6?USK?tqYQFVHm|+w%un7W5AFT%4|nO^+5-);_Owv%qNJ&BLDEEAcT;Imb5mjL zlyRj6oOL&0>bP{xluOfw!tDO}ypOqicCs+?pZsUx{2PiN`vLnJUXCBr{==8!$7;vS zy&OMw-~r?hbE=o)$ExBf6*D(0ii^6!(P?GaUt234QDt6^A2WUmv5~*+__4n0&}*6# zqVqJr)ZCD{e>Z2BH#IVM=|}gavCnOErEZm-C7oF0d}is^?EUbAsO8Fc>DCJ0n%C!h zXGA)EhSTZ&==T4XXZv}3K{UaiR9;J|;Xlw^PIip^62-6|MK&q#g%KO~B%E9G&9TY- z%{ez0l$}!G+bF&@-t_K)!pvka;r;#Ov2*KHb}>KiyRtdeS=e~zD2@Gi!7oR?+-va@ zQ%-#%xJhI4;G22ZoKJJRYk5|>a4Chge9|>9Q2jc0ChSWndYn>lI>`4Mbsjwbjif7| z>JTnUE6z*?i{O;vn<<{<=U1wqcsBfym+1US#gXAR)I4OckWyb0u(&%>{$H(!%N|~y z!&?IIU8D>kFSmOwvQH@5_~+7f3CH1K4SH= zKaalnNrJyhe$qN%z6F>Sb}V*Yc4itl%I~SU<4DnSBx8zp5EJltptXE>@>^=Y@XM2r zo=0jL{PvPs{&hvBLb{O`LEv zUM^VypKR=5-M42&S9)7AZdW)Trz&szeaUX+slyMUm@>thT}j#AB$*#@6b_er9D0c{ z>sX!ami$!x1?J;%y^3QzpS)Us*w1`Wek!$7aREBtQ+4$B(4Ktovkk@lHPqki&%K|{ zJUH3-TKJ#)l+Kve_QczWdn0Z2j@P!`36BX!;SslA_(}$G=l1ljZr?+h{<-0dtbU)M(3ud%6m-FS)CLZfjY`4h{9S5U|C@cwY;<)CYT z5uKM)qrU3%fIC?~uBewX=3k_rBtOjdP(Pi7omf4euUhAmUn0$s7rVvg^LpR8y-V*l zpV#~0AFkKC=+lc$li3|D|Ne7%PW$@H=kg@jHZPycQ|l}u&TCoCdOKq`+DCTGvxr_k zm&fLZ$3Bbb<#Tzur5D2d@a1!P{Q4$wBLD7ld3wq|=Hr=@hV?@H(cLL?6}uXpy+ zCjM+T`>r?@|88?3#kJ(q3yS{CdF`#QOz*JsvDZpBJ;+%` znP0m~X9xQj{dr9L*ygRw9W)PQEp$&mc6EVyUZHBP^yx3VIYn#}<*;*zr|GV{0NV^b zt$9UkyWR8^%AoHxw;0789hx^x&yCuUL*G1qK5JT}H5N`~7_{*!|md-^*QNoZUZUUVc3IFkjKWfj16=PgrBb zS25%sn&I$Tbu_%Hd;p4T3w{9YPtlsL{5ypleu13%WA=!aTZlQ)JW6AA+G2gnw{0TL z-q$hqbBsxRD=LRwK3Evbz8p{Q6VyJ+O|QrAL%Bxa%1@Bya)-|M>vh(a^mUHLuYFzH z^(WZeYTN2tU)T1Uina{z6HtFA)c?d%w+351&%Y0u1JA%Kn+fF}KT5efRj#T} z)pj@cbaODt&nHi0{ucHN@Vw13^#$>+ z_-I_r;9IKasZrjW_@>y{Ugam2@dn;azd`4CjybWa--2&Pu`k+B!MbkSA6PxnT(+v8 zb%vetO=SM6^3{D8^F=NAE>=H+-vX@}Q{tDDJ&(+F+51S0UrSkz2L3#cI^%YJ6Msdm zc77kdcq}~J+IxgY)Xspn&N`8P#jlGE5OBn&D&GnHBEMkomIo(Q=vm($<8j7bXovP0 z?$DXkHR=%!%`ZV+W^Y)(MYwsG#t(e+^L^@%=+sgfi)QER;+s+|TQ53E__OECY#IEQ z+E;T}XTtTa<{RytqBLORkGVhBymBh-KAcQnHMRE&wJ(alIR^fA_tjDG_cS>iXmTuC zEb};3(6>hYW`C)FpdbE^`!xn=)8V~}+ohk9BsqLE7#6eZd73kX#M8f`KYlfAe$THu z?>R}X{|nEPhd0hhcB}t}D<634*XeU)`C+wXIQkup77zZGX@UKHf12#tQyN?PNiKK8 zUnJ?OsWDx)Q~waUc)lKvFG5VUc(V~0>9X~EO1X_cN&jd1S;3dC65XGC!o_P>^xIL! zgmiq$*wna?|MP!bB0Dia0F?e{h_Bcq!z{k?5 zzZY;YnWHtDvTQhf`*!XWO4`=HS8FgkJB}t}!rB^lQ+4Zps%c{qvtN>(wuWJT+1dB` zdZ9J4rJFdwap{PpJFf3Y>@Uo_y-f0nbEeXO{JVdI9i(&V<=@qM$FdMBnrB~;UpE6T z`^uAX`gOcG?OgU26SIB|XREojmv+u?x{p0$N^9rbCHa7p-AUV@*!iMv&y-+O{!lOH zTYq*`a)0wE@3-#3ua3V|v7e3jL?7in#1vaBF}?zKzBoR5&WqA~t&?-2c6mERXDFuN zp|hi;TXZgx#gRgcqEq8SUzsvx`sj66b^3nee_l4%|?l9FMxurEf^B>Gjx^I(jf%f;!ZSL0i z(|qL*<23eHX#ZY6bWi${w)f~8bl2X1LZbNxXU}q$i|#v?t@2*JH=pju6luhY9t!8a z*tse6hwH14>|u?<(T@HQjAq*YO`Wv>KB`MFwN8A1a}hRj28{MlgmX-mm*+h9ByT#0 z_9QQ8J!#2$oAcbW`qp#W4sp(&=x6X~v*gS|@H06>n*?hsFhlI7&beuqJfR(LB;WLL z<#vR#aw^&a-PIP!o0t#6c{z5b5A<0Q;wjZG=qox1UXE{C*ZLCe%kbQ(c3;Cjg0+`? zPG_l5Mt6y8U0(Rh=W`k9!~)Y_oKuIKk^CE}ezClhfPM8qV?k%KT{Un%XYnY;p_B7; zJ2?l2d*ANuR?V`w1fuC%k4Y^okbSfDSB?DO`?_R zZWwU;FvSn@muRn`@g99HURGbv_kArGmFteb*LkGJpK0pt8*tC&0r7YbwxH%2CCMT5 z*|K;%{K&?`(+%r?w{6o|>$JXl&+5}&-*%=S4~9SG3bd&o7%E@zF9W4NlU^mheLt>yK0H;0)vuo-#wQ0vqI&B>(?Hs*i$hTf5D7jDe|;0?X`wF~|I zC3c1-_m_D28Lj`ejM)9FTTbdceEZ4RN+UQEe2U$VwHaCT5b{d4i;ev%nfglkbQp^! zQ#E$!|7md=<5s*AWa?@9CYcIk_RUIThSj!k*R;i*f9Q)ENgc%wZy(8$tX9*uVPFfXL2qc zUS~nJBWu)-e)9E>4RHcjnG90BnM_q%f=s1Mg-ivGo##j%l^G&aNta9uGF9j2WO(jW zyRS5vdIjkwC-bLQ$kZc0^D>olC_6YCQZn^R;H$j7Es~3GH<@~%1$pRYDlvWZ*_9?! zB|H0(n+Fz|>^zvsROCfJWey-uOr`>-LZ%`|bL%*dcyqG*ZIY$HJEklpkJ=h!>3yPW zkfr_`G#Xx(f``e{dB~6BkfmSZj>}Az?n`zrK2BNMPC2t@B}+xaSeB~ol99-2(Qzwn z8X`+c(|)rGSxR3^uI#7JR9?SuXRkXW?4r(J-Etv!agK23_tubCVP3=B*yb}iZ2s=m z%oEdOO<&l4A=rgKa%anx4wC2RIev=`m(qhLHI*K`u&MOG3H;vNlpadfeDgg%FYoAt zH9FHZozi@-^l$ns_o&^RTy}64YfAX;&)@wj`P@!ke%qt6)i)%$Y2WPyH`OEES^7lX zVCfS}RM%i>1J4_l43@r^xbHJ{MvRjge7~(@_2gSSR$qN<>B9VNecvPhg)O(~j<4eN z@HX#L_|DW{0=>?X8}kUj(23TZK>Q2J+tE%dO^l zb-CPl-;T}v|1IT=heV_6$akGDb2ZObyD}x}TJPg?MPJ6|(+&48Y+Jw>7LN#*BP$*4 z{{)yCyBY7OjaLBc3J>>Eo-cK9Rqj24!T(yyb;fNthjJH^_d;Lp0-i4@m%D^`R+W1n z<-!=~XdOo%T;ltH=lmrDr6-}~lNz_a4|?2tiE*6uK@Z=T(g!W{!BYC5#r46RF+Ppp zvlJYbdVE@VZgKcn{S(9k6RH0S)z2812oGIxYw1YcZT5YNzMsnXxB2g<^8IbMmVU|i zBTH`U|K*a~*snHuIr6VC=BY_03)rJt`YLjccJAf3@2kWGj#+!jSKjH`K99Cv6Z+41 za4hgI_U-36fAK)+E41?~5f47*-Yad*e3(~A`hGA{6zz$ zF97Qc5$s3Zdj;%A`92@m^ME}c*z+9h*F>;OPeRKlJzaZv?t!jbfVCxpz1h82z~0RF zxxk(S?76_6<6uvW`%V0}9hloa{IBx-Rp37eyayxrpLOpQ@ITAUVgna6m3j4}^U_X80w_qq29 zT<+uhG;o;=F4Mqevcu({ft`&t-BmLmnDagSc|6Ype$WH(a7XI|`tfqlgA?Gv%ZJFh zNBmg+EdSq#;cE=c1?F52e-6)cBKXS%e?0In^YF(5|FR+Q|HQ*@<^OYmHZy_!1>k+b z!+wb$ZJ>-+x9%mdG^px*bc*Z24Oy>=gFXWsMYGc%w0_nFVkvkV7sjuO1NMW;=C ze-QK@l(g@I`##XV8nmuPT77OuoB_JKzj&i4+HHXg7#%b+INHA-IDelaNhyi zzXz?~8)#oDa1`xJ5pD%-6KGpO+aze08ELNpy)}~dAK?B2XfFq?zJuTQSk!eYQ@g|407JX;{B__+e9j{N_A_7b&n2 zUNnt<`|HQkXg#L%MFcLa#y_D~JH_jr5ccNYM5cXXU+!z~t91(AaW9$r<b4IW|aB+N(nmnh?xavYAr zI2?s>c$S*=$?T~=7JxTchq9XF|G?>lU#iT%I93)L2HL}9K11Lhf_!phJ~ZB~@UzNr z6Wk_*pC!ZdXnvRHMhfmO<{Zy|BLwr&GoR!@MmY=hSw8id&(PO%53en}o@6`t4I;i! zJ>>ZRldS;e-LS-<44&3{Xh1pr#6!HEG>51uFY%sWb|0cRG(-YXj&ruW6U}S=PA?UNy5P6j} zZXA5uRK^ytLEGS6mWSy){y6Lrjd~RPMkvmy z#Bb+{-?$vLw-fU--Z#P7ht$ z=!)~Mkz6<1V)TPfg3c*)-R$EOhV_#4wY|Do=x^_Vj+1nn8xh`j-o?)+4Ch@q7s1?( zGUNY7#GZE@$91!Z%X1rX-gQ3L&5r$!^r@t~z`2Ojcj~%XJ{JhxY`cEmg>KVL=Uo%< zt|IkEuIs%==w>fR`E)%s(Rvs(dv&wW|K4K~I_4`7ukXBz&SQk0wO2Qb`u6H(5f-JJ z<$7f3UlE6N3j671;ZO8*-R$@Ht)AX;z69MY!mhwr?1n$r%|fqYJnvcy|4)X|c^C98 z&=Znwb~d#O?;pva4ZYzYI`4vRRoBg8{U9AFop+I*_AAW!U+2W=X3wBF3k~O8i=uV2 znC}x#Fr0UlNgXZd9#lt*I8&V#(SLN_h5sSZr=x|=Gwl#{ zw3$fPciu%hSn#Re^RC`A!1Z#NZB6ZcKpkz4xX%}L=C#s-^Ot1k zSVugxFUN9I=h=|q(XOA;+J83Y@lj|Wl(p-(z-ZqDgC3QS6T_OhWiekfyXhQk8S2aX z-*1uTOr%FY;21Qx-W2qS)-^UM`=Z}WT7>>K3h}XSP@d&%?^BfK7aDH}H>~$r^na7+ ze`aCdkOkR1E8!(}@jdeYc=7W`#3%izL2iM54l)eRr0HCh^yOoa548i0r#bR$?kkj+ z%0O!u?ta`nQ$gG_#G3V2l;dj(M_M|Epmfwn2~+*3j9j-za>9AQMHmz3A*=}LL5I#L zXo}~1pO3om=FBZ*9G!8KbV2?p(GBJCfX1VuiHtcrdG@q|qLT3`SuN|;$Z^a#3+KY&`O^Rt-(!IpAE#hvU zM{S!V+7@y`Q@FUdZM!~Jv%Yen4k*{d&`~~QB0c5N=!*;R9ztx}EuYPX8xRVlMB}Z-!hx zIurdMi~k=?6L`k`nz$e2(7xXixxAeF@!y;1jn~EfAmSO~2|u1EexHj$*U;ZPBF1|N zB=^yNllK4oH}=sEwBJgHJ}pYt(|I%;dm;3JE))9R@TqXKXLNq(vJS#|eW&X8XHaI^ zPeG=8=0AO3S-0#o&I`;C|iU-fnQeWpKZ1aDQNMe`IifYH)vHaDQ!Z|J~sJ z&fxyu;QqcE7a35=MA8&A< zXmI-t`A#gZu9W_jd;O_XhV*2KUbfw`v&g z7K3}R!F{;FeWbyCjKO`Z!F{~JeWJmAvcY|-!9CXC&M>$q8r+i&?kNWMbc1__!F`Uw zJ=fqaG`JTS+=~tF3k~iP;r`_p`$}%cenW&#+v^S`xPfy#b$8$+>34ZpapAO_MUJ`i9C-_86-!hwudtY1rYB*>*hI_L8p3;mDkD*;uD5;;r%&dn-J)DQDW!L~(4n3yafPuIJ)PPo<~G z6Y@HJtiloUlv2Fn@{q^rww+0_OP#*3hxsaDtG$JJfkC_O3xTpqMFRk5J$XL=F%|f!WAwIjh21 z<~aZ>i)t!L0=}GpdmvU81u8=>w5j``6&Rmkr~q$H%D2dSiRb*$sNWcB$O~+z*~0J% zl#aGhr74YV3_K-sik+b{PlT785{iz(OOPLMIV0YHzrb1JL-*y}oMOvh+33-Jk8cX& zInL&Qmp066W}7m_HgUY|1nR6jMqhmZLpA8uo@x)q0QwS-RN=Uo{Hf?{rql063vfa_ z@vMjk_xt!D6TUV%q~p%;9iEC>MtZ-NSK7!0&NHJk=3Ktg~ewS{LevhM&4&ufNmp4^(1~argqRWzG_x z$Ki@pGXic@{`4sryKdsi=z)4{UxSZ9m+htNstiX06%NWQnl$+oU4rrtNU?7W5XA~` zB;aD0ZMaR-CGR}8NFZSIQBPqN70w{5sPvQN@&zy#5etcT9-Gfw5^{!WZ0>+3Z1V>q zws2)I7zjmVJB1l%@#M+Gc+9roe5?oWwz}`x!OEOSb&)GTQ`DudNFek(JxHH$F?C^7 z?niHc;3(<`h?8oo^oPA=evjMc!+;;Nf39;p71M}C2grH9D5I+aXkJVx;mD~mIi%WX zxb~aPjF883;9R0&L}y~8%K7MCjGi6KOk+r&8w&@<0~j1N8SsfsuLH=Z+DZZeU%y2U zhcOYd9CW6LhmXS?r>oo(7NfbhN__prf=aU{k3dV4ztZOmMnblePqu{}%R+u%Y=~T! zix$n9J}=)fZ^n%LS#$Fog?UBu@)zW>v18ddc7CNlR1eW;&%l#K%iFILS z?ajU*5@N0r2UZ8$6iiq-0lyz}lPF^m2Bs$>1cX`P1x}yWjWKdkd8Hn0It^V~QZe12 zxGaZ{hcG;86rY~XCsUU14M#kFOgcOOwL^dqGUmUZ&`ayUaF zXN~BK4z#qZG8FRoBbZJrJ!8w63o}@R^UCcBM?!%b8UM1p>Y&f-@;2x7LAykq&_U+EyodBc-qdbSFj7u(rs$0Nq|~1f zsD}+8;pxG>^bZn`Brx|u;`Gwuk@;{zHZ-9PP(TVAm}b;Wc;ILUDP0t$sKVuX!!BpY zJwW+n=)if)2)z~8>r8ntKYh`H#>KHY&JY&J{e|`3Kx`(8B2Fx?{fp$rczJ$zA7LRB z>D_p2g`<=NqZ}I8VsHp?r=p)B2FdXN!bG%qG6$obRsbnN9ij*#Q{`Yc6Jiof3kGNT zO9PBAxzXzp3tuumgNE!Ol0PXt?xZlQ^m`+aR{S1YptLmXiP!>_Fr~H-?U>kDx2L4C z3_AtChvl9(t#Ag0B&L~CUtl>qDU78WW7p=4*iLeTkQ8x9R3Lg-NU-~`K@bf?bY}j5 z|MW{dp@1#yDWmzw5yr$sl8l3M#ULYj+|28*qBX|m_J(+z8f1l8kuo&WM#Gh%!E7`w zVw%m*o1UJLX$v4rDq)yQ`4jDq2&?dh!&secT#Tc>br4Fq=Q(D~E1cuNv>uG+h#o@4 zI6yFp%Zm{{GDz$ zEsR_+Md#vT+Q3XOWLRwje=E`E{WLb}>=1n+Y%F7Sza8X1Y^mPpq9H^N>Az9+zUQUx zuJ?zSWT?@!VuuT}zJrH2BUm*{DkGlW1kRF@kf+MacW+ohu#wccK)gE;8z`JPOTZ0i zDQtm|w+!VBglyrU$K@^ciVa~j1NBlKEEVH}E8H(b<%kn8SO~jt$V>;0D&zD;7GtHq z@f_8Az=^{AJkb-P`<3W#`p6YLJWy#x3@Bu<%Dbt{b0rP!Z7UY^PN>Gs%takh3v6S zq6x>wXD^;PzHD-Erk8an2C- z?4E!hQgxr7yBfPHlpxBpqM|>~>XOp*iTwt^Gqc}-2zpvS0aeu*{rXNw&#;$br;lZ1 zzcN)-Q)rdn?}gCYf9L?^<0&bu3XL&9N^ivJ!`w4K=zux8+ykX?Up!C<)Pe)#gF)7R z0lZ+!fx-r^Sa3j^RV5YP0b79w4osDT2PzMR9U!HzWI$$C`37d%0VtwJ3|JO~9Ux_p z>JQ0@W{UwhUuB4MAWDIt%O5#F@q;qL05tl|p8ER!0sS{yzYS8--#B)8`l+nT=Z5qh z>1V9Ee5Jn1aCsouZ>r@b`xnsVBMEeWe@}m<@%S%xRrE86Fj`&vlfW>r_v_n_XLY!r zaaLB^A4{Rtg;2gf4X<;2KO@B3Uphd5Oe#9 zyWHuG^fP<=`y&#BI9y87RqO;4Tt-@YkT)&>!G1~bF5FM#P^qiDpFtgRhoKhQKYl3E z&*}md1&*K~hwmRhT-Hw|!{z-KjucFd-aeuP`HCb?3Kh3bb#E&6^hTbpl<^2`4I&)%Ku%A8w|NSXc_e&wrPp_;F zJF6gg?^g!yKY(|?GXqc14{vbn7B+PI5*&?zQ26pcA{i8gZn9gfp+o@AVpG?yGEO)hIjO}zt@&m zzn)&NmmdE=wRQf+)>r38Z2fht+j{+VTW@b2|JpWJ_7{Y3)n1HQ>K}U9sEu?(;rizn ze0pFg9>vFdSZwYDQufrOr&R<3?iv@=gue6%*y74_A3l-Jnp@<^5-yy_=glojb7W-3 z#L4xPIxBq<6bp+;US9gd*aM-wUoESQ0(s^%9cxy<*-Vm$QR8E4rl+KPFmya6C^#H^ zL$9;#knD>`es}C`Bb>>3!>1oJ|L9AS9zW{)BWE4?;1Ne0QJ2UPR}LFCtnu*7!{0ru z<}lk~Z9`WKO&i)Zr2-4)~l_{tOeGI){$0|^&89EmQ9uiEUPS+T1qX2mMNCgEXfv&Wsmt& z^Iy!H&CTXU^D6V@=8)NCo^L+eoMk@Ee7yMxv)Q~?+pTqKJG5=u^V$>IgW5XnX6NLG?ddu{>>1ER<)03u0O--hI zOm~=8n{F^&ZMxiasj1QwFnLXG(}kvmrXtfE(@fKJ)0w7B(|FTZ(->2VX_V<$)6u3x z(@>MuWHSA%{-pj({Z`$rcB#A6PIaf+q3%%I)i!mT+Ny3=H>uC4PpXfrkE#!=532X6 zjp{n}HuVRIgBfudYyQ)G9Ts2Gt7nBDG9)t4{Sob&0x2U7!}J=c;qn z+3GBHhMJ>JQ>UoeYL+@lwW}FwntHl=nmR^3Sxr$-R7a`5QIAtcsK=;D>XB-qdbm1N z9jqp(7FAPKm8m}~J<3nYUgdjbkMf<;t^8ftt$eL~rF^M;u6(9^qI4=BDLa)9l=qeQ zly{UJ%3Dgi@@M5u`UW#Y#{KD1N0v z@hQucixjU?u9PXIibruPE~P|qDoYiIa-nj8vP3ywS*$El7UDTiS)j~Uij^XzP&rpA zz%x&otISdImD$QUcxEXxm9v!@c=D87B}bW#XPPoqIZK&>=S(GAIRnpRB}>V~GfA1K zOu%DT#w!_k(v>tkKif4#27!Ur7jFN!IipPS- zj7P&`!lUA$52jV+7xoML8P7gEJ$U|&=O;Wr;@OMm2Rz^7`4^r&{P`#QC;JZ1w|Khw z^AGk9_IEsg@)s+%09&_xAb)K=VSIU z`-ne(W%TUC^C5peVD!AtpAOc+-s8`^jGlM+vxCv|HhFXkk9s$sr3{0lR&Tg*CulcaMcN!fv?V!ZyNAdc?w7 zVQ05k*bdnFFIrd^>>ck~SP$%$_bhDa&sH|{0xPq@&cD#g(qJ!bwX&(O*TOD<-41&x z?1ERVEC@SutCiKlCV68hTds7OMMamIm<7KfplpNPZenVF3uB!vOig(c*S6nO)D`I} zYfo2|z3HljWvHxkysEkK+rzXPUYeKS)qK zQd6hS(OBag&6G4(QyS)K>d-okW#6c&-CH!)@|tGZ{F=swzOE@LuWQWRhB$4SWp$fo zUihZQ*1xS;THe-J(hkjB+=2KVn$ius?gLF}{6J%^A8N{u4}o`TO3O}-E&Z!zasL(V z^jFQi5$(32QybKZ)T$x!d`4nHQN^!7`Mu!pwXXW~CPPri;yLq{?jGwA{=#UuISlu0?ro0nK&D z^DeX6@qn4FYBH;7&w|D#l=T%e>uiVrUs2Z2&Fa)HNYr1$|8Hj2_7AhV<6ARp`N6FA z;6H#Y`L|hZ+=uu_Thxx@EzCB~qBV^}-yCmIv(G?Z%(0lXT#M$*wU}CS(I@jP%AP!n zYM*Ukk+~Lg(mV^>u-Kw(TWm3pJm120FR>^I7g)?oF0in+3oOde3oR`3LW`0QyB+p! z*vSry+2=riF0m*{F66PyVruqT*q)0m7KZV$?Q)CKak+(UzQSTHUujWlS6bLE*ugr` zsI!=>ue7l8Yb;9rH7Mt`7G=Y=7S?&4MPUuV*8^XVF?NGRS$BiQ+py2`?; zZ?b6JH(6NH%@(cUW{WxD4;GgF2aBl=c5n^iud!%JYc1yNyDUoMUC8q;i<*FOnSH;- zocRFWc6`vHG(Cv%{1D3W5d0rO8jRQWM=VjtsioCo9{P&KlJbg$rMzlUa$iLqU$s~ZwxS$cQI4$^ZRs`( z8~vI^+whu&X@9n8L)$HC_gkR{P3oKf%goW?I$AbSv9E!>UBi zwrYFM#{4wXstuh5TIX2JGta^NI@_w`&$gQDW?NZ(zEx?;x3b(hR&C^5ge|g~8WvfV z&P7({TWqyN7F*fg#a2`1`ItK|u$rnd-;H!zO*`C}d&{h*t}@saR%@LfWei%?rBznb z#wsgozQk(Udx@1**Mfenm94nKI(XYk(5$m6J$0BXud!+yuCbb0VF#~8*;ZS%y{j=# z-eT3Z-C|X=TdmrPTdiv2I;+WcC&KQuDv5VlS?4`gYs+F{b3uxcrP0^L7Z&GoR8@s393Myolv(aO5uW=~oz2~VQz zPg<3wuzO%9J%#c;ZB>e&#yZeqRZ?55Y|mz^lJFAhvBj$9VlH3zs#V?it~FuZdnikX zRqgr^_4?4NZs@d{R(*nb{}Zce=BMCifxa9XSF^Y~&Ve`w;v9%`AkKj}2jU!vb0E%v zI0xb!h;ty$fj9^L|HXmCTA|@htQC6k#9Gq*;#NZ~olBD~&e;=dp$+0#XuuO|p&92` zoS!GwihB-;wfGG%?l0~`B-V<10ExASOaEcg7U%kjwcwc@@=Vy(E3kXVcVBh2X?FYQs%wn_U0 zX`d+V-%2}0+9yf-WNDuw?a|U6BkfbAeVVjWrG2`z$4VRjD-NH;+B9jWOFKi_no2h(y{E0ERSmF^fzCQ-n$KZQo@Ft1%`n)5tp8vNJ>-i5mT9il6Z;ZrZ z9%XEX#9|(0%p`LKXSMzkDmUN7@RG!UY`XL>--5xtkbWTc(^QY zqr^J>Cu73jj7k4l4E`}D{o%=?yn22qF?h1Xdj5qm;pGzR<@ue&$I9}qjS2sw#K*|+ zR*CiT*CDZP^8alXVlzd{o0?Nu+a-hb9htn=e}iFJDKNvyZmZi#h%XvamDcSH;x z8-sHs*3+Laac_Ag*7I+OiN8K3{&N!R{o&6X7ci^rF9TV7&!KWBvfw5Qx7X=5d18IN z;zWceB(ggtK8|A>C#T?hGf$689z+J8yJWoP6GXap87@NcL)9|B#OFnR+0veHq$tO9 zY0s1Ph0?B&c8#>JlJ**DH*s6fC2q$#5a&Rg191+-IS}VSoC9$V#5oY>K%4_{4#YVS z=RlkTaSp^e5a&Rg191+-IS}VSoC9$V#5oY>K%4_{4#YVS=RlkTaSp^e5a&Rg191+- zIS}VSoC9$V#5oY>K%4_{4#YVS=RlkTaSp^e5a&Rg0|Rqlq$b{HI$hd1(!NmIzmxVo z(%vEMAEbSTS){)}+BZr25ov$VZChUf_%8+|vd&zQ?rt8ER@)arxMKb39WMIB`s?q( z#rhL<`Urnk%K^UdvRM2R=RlkTaSp^e5a&Rg191+-IS}VSoC9$V#5oY>K%4_{4#YVS z=RlkTaSp^e5a&Rg191+-IS}VSoC9$V#5oY>K%4_{4#YVS=RlkTaSp^e5a&Rg191+- zIS}VSoC9$V#5oY>K%4_{4#YVS=RlkTaSp^e5a&Rg191+-IS}VSoC9$V#5oY>!2c&X zU_+_OVY*bt8e!}2+QZ2-`of3avrpqL@x|Y}pNjvDI#qwuUZm^w=kNK8xI|9@ZDk|O zE|_G6DFrZ>z`P1`q{@_1n0lB;VYaJG{R!q|6H{lvl)%)%+zRt7Oef4xjj1zX{4n(} zx57LC^90N`m>n=*!0dt1%uGEJCI!Y0lM7P_Qvwr&xeVr7m`kP$D<6R*uI->Y~Lj( zuzk5FB9Gs)eUnp=|4D4$@h7u=Gfn{>&Gw~@Vf!A2Ir&tigLxI^XBhWsC@+kf%JwaQ z*#KiXo$Xrz^F2(%Sd@1h@`c$8voMYAJ13p(o0!4&C5}g!ohc{61YusaGxgXBj5!>O z=N3iAI~?ih>5+18*bylYd7SR7u+QTOI!Xhfyu#UYiyRYO<)MH-km;@rIV0YHe^xa- zCvf+yd|!GVOq%}5qmO~`go?_Dr`qldxR&Kr?dLzS(my~*W+YVO7$7V+J&KepUV272 zg2LB0T$F6QKd^j&ST%@OF;FbQfsC|rXUM(W8S*$>0l%v<6!Q38HG*DIBrD`-{EpbT;;l#+f(86m-#$|%c`p#K~E?g@H>6pNR6W^4Zd@W&h|v| zsy(jCh_l4!DR4$8?R@`ouixz`^n@!bcv@#T>Aw(k&Pbd@! zks};&x|TUy<;xtUPOmT8r>qjyftS0+=XR8NA`Wkbv&`f0J9!o{zEu@Yw>#tr`@C){ z01p-MU4cq}1YQwel>@b}_5wId0wJDo`NWjY+B`8WHwzLe*|?Y_4+)1Br6RBJ*agl^-^vjEdY=^ zDj)+ zDiRIicElTwcwJ%U@cO|~e{j~3eo`Ck>r9$xMY<`ou=cO0Ox z4#t}a|2=!NrqRSQClK-+usT`)S1l5i>d?7wOm@&7YK(mFW{HX|n;_#rO<+uL2;Dy_ z`oUYr7=6H&;3Fajv!Z80PCvt`A`o!bxG-{j>Ekh$+?6g*s5r39zkmK&9{6L^A9?`PMVi+r=Et zQfxjQp#W_^0{*;0G5oMh(RNX+lfUNh69X(gJ>hZ>i6;tG%z$edI!y#RwQzcx z>*D!-pLdzZSCbdD)=$ty(epyiAT)h^?-4a}Cl+(v>co6!rQcN^UDCdNaas{H7)23i zSIY8g3TC@{_awzN!KlqdUy=+#@w`B2nI|+5-HDv82O1WgI*1#FSsytO6Z!i*vK#}& z%oG_H)l`%Odobhg1%wDJ|5yoR4+O7q!S=P z_@lKhhn{#6mOCGGnzPO+%E08DSCt!_C+Di!y5tqDoa(DZ|GFSMX&hx${x3;PFs{J^ z&@k+3^9~_PWAy&X|8Lj$=pA!yx=BB67nMSp<#9Nh~J_&9gjvyQnOhAzTO9NcI zjERC9cn>KmsE7NFNv8@Wfj|U`1?ao!qc|Mw>kHt}*t*6M`0lxT1Y;^q^$z`b z#ZgjOTIvZ^vB4yr@9&+cX=^wAhG|+Y|8B-N4ms(#2F;wWtF#K4Dm8O6Ca{H?w(ZH| zkfdkhaflqFu&s$z{QX|j+O9qt(N|w}G@?sYYLn8Z5q(tAw9SnarSmCJ)Y93Nik)p# zdi9-eC{fz7zaaklC#VGLoBJujzm?b`T&|)FO_V|77W&?}*-(-v)IP;v3nFgh5!d~R zqUelxN7Xs;A!2k>uI6-hwa%0cs-3-{PGFy?QRVzWWu|BaJo6oF&SUQ>#t8-on&9@c zXdt%xnWLDQ?fkJ$fz?SCPNf5WEPMYnD3o zs`%Eih*bN+v50hV6+>dPZ)&4*bzM!o*}a|It@y@?ehGWhQpKLLP?sj}wk{OH z{GVxa9wZTH_oHCBCjJgTwnwo$0vA?(rrknrDarEg0> zZ$iUibU(zijNbWPHK?DhX~Q5C5KVysvYQ9-jpVcNs@p*gu!kBzJ?NJ2%|X4J6Ksg8 z*xMkm`Bfs&v6UJ&deJ0lg!WB04DL)1hoUS_k)S1zsO) z5YF2NGiy3~+nm8VEaTbT2_i$bd601{$=)9nwb5d?5AJ^@V($*d%&QB}T+Pq!*8T?@ zTefBh=CRj^VY~P=(7Qo+acG~o|H@EJ+xrReB%OURds-b z&-M88B3^diFpce6LyKG@{mu5F*HBj3P7|q!zQwa zhUKvB!*W^IFx(rmJJ<_{bNWT%;Q4zH+Wjb%X7!y!Zr8n3nt8Y-K=p~RM-pk{lNTwN zUFBtuCxSDb6uE01Mc)0fUaF2nD%D2_Z~lU~SdUnuyx;MVy@^b-v!@e#OZHY`4%?NO z%YIH|<~+YU2O58V{{mDR52qF@49Y!a6?@?De0F0ZwlT9vdZOzZ*rjo9-=8?&9h@FQ zqquOW%^Hp{vF=lm{ia)v!FSL7BbbS8I2nt^*`A2lKF-CtSl&hKyCWzMW3E3OF*guG zmXMw4A_>)=?K`3x6G!w~H*z=(~^w&Sw&Lh3ZRF6(;Y|Bw$66N_=$)&Sx zc72k@8eXKvUG*jnE2v~}WP@8h=LTIM^5-PM;F(Up+edxx9mKD_b`V-%+v$kTr+vNd z`wt%WOA>8c0;NSz%u@0zkJhy2R?2QQ&$JGml&KMCC{h_T4C2&Tjuw;9r7rvg8ls%(V^+CPN}yHRort7v!F59he@3O z*B-4;<1spr7mhAs?ME9L=cZ#qLG}|e?BpG>r=F&)9j_3x8vce(Lrr{kureo7-Pgz; z5AT~hWiwQ<&xaS4S4P}{<$eQ8zZu?_RnWzEECce(%ejE=N9tD58Q~J0@!R2;PDrk2 zd+(vPlO3JU>$%mDbly!}UN5U1!SCJlP55Cj=c*AJYehN}+cO4VyGMh2;APnsS1V!W^54uY=nt*rXq4zDx%G;tSI4q{;Ffa z1X2=JvFnaysy+(YS0k!$%?u|4Y}K*oIq2!&^7ni=uA#==u$B5grU~A-C^y}f;C-Ru zBKF3yvWZJ^xs7HLQ2)!ZEFp(AjK~$|y}Xj*vJH+NqHo`@7e=7r`sOJy?zWGZ71mn^ zgCi92&<&lA5xmbd9jgaTtAc`!uE8Pj#bf(gFkFM1c9=E?Y(jMT3UI3ea~7XWdfV@n zW6{gr0~dCzq}g=$ebk7qfZNkMZ5BjAc{S{nkzqQ?j&8m;MxteYOvXl}gJvD9w6!N9 zIZ6Xvm#E^|d~34uH~d->YUWzT@B4)F*tNf5rd$vE%gDZJl;QlM%IjG^Ks~(GHHJ}& z8IgEv?@P{;vV9}N4z}ty=sxvSqt$m~Rbm@ju+*!DPQ&gzo^R`A7h?AvkE*_T~wO)r@_70>9}w%O9+aOy{~3%m?h+6Vd0dqL$uE zEv-SwDRM&pi8)6MSuy#%bOLYcRVVf}90>_HBPKrfKWJ&W=M9C+Vwh^}Q4M9MhJrs# z9u7cgUS>a^s5izkZ?LGcq?GQ}VVu?d7L!{iv2)jIF7-am-C#BibbrL_uasqoW~dk$ z?9miDh$`X*rRlZ+)9uC-jkTbKu+l~_q{|&{NXzJKPTVf!wTY#K+YhWMrMF$!vnje9 zKx0TWa25Mkiizzw83o+|(THhL!dnh*IC@=9I#9khg>&=YDN%CUdEQ9*OkB65#`dzd zlloX)#jim+%0js7+&{0QWda^&Vr=?6_Lq~uLf%um?xvZg=_z95X7tzIWzVr3rReRi zVn6Z2$$a69nnkK`a~%Y(q@J_3ha^C$TM2W)sITp%Y{yzo33+e}41@gu^CK^K?0je# z?6fa9g=y1Ct=C^S{pMsbD2!7-?bt9`eS0$T9D?yFeSBf9r=T0WNwZzccKY7-5G|ga z-%zcZe<4B4U0D(2ax8WuxCBf?rhbe#rN*7&2tVsVi{3CsIB|nnE~#F&dJOb#`UPo+ zY(vR}0h)1uhKuIF6=QnmGIskIY;yj77>c`k3$$D#Cyvhh>u-+MQ zO)51Z_2U-2j)B>iFI!DF(Z;WSJ&Cx6i3)N~Ds@o3F=;ut~OaGmzy+RjBf4H$9ijuxkdrQIYJ{_w7cHWR6 zuo)FiP8~x^5hQ0ga08jYKbB zqkF^vVhAZQ-XF(vJ=FMK_A#>SeuO$g`{pC{>?*_P*J2Ft4o_Q6wk?g5jtwIr!ppX& z(b9kIZ`0X(CuOk5Mvvcb2xEwQ!`OM#3cjC!b4Vk&XSAKYKV|~E^R$WVrm>UQs&SkV z29C4O$7NA#8ohR;VO_zd4c{M;MA$={d84q$YZX24d8KLdSHT|3=-b8PNQmwu_{CW2 zTN*L$p3K06{vOe9djS71RT_Sr@X{v;|FVP3!H+z3(;|#5~%E zJe0u~boN}v_*k~yG2XD?K=7w+h=Z;iR{DJW{T1o}D4W=Quy@B#h#F?m<&5sGu|fpj z>#?2VCq_|Ve;+?7rcj)*a=!+flK4ZtG;6@TPJNDB0dms}1bqdidS`1=BY~}eY zM@ANK!Q_RB7|`vMV;XCnI6+9|q=2DG$|0aH5Li|jbOc>!22w3JJa})z3t6uJLBkak zq^Ib2hhB(Y**poAeVbO7j<@K0^>$jEGYat%i&(X=+bpO;#QQVtGu1)Cf`k)h3`}F-87lB znQX)4j6AjlG3vOMa}QDrEoTP;p#Pjqs{N-k?d;yHUQOqdS(DhCS(#KqcID(8);2kp z?V7AwlG?R!URB^oa&})_f*kGxP9H9jL!^CR20xYeKS%+;wIV`w(eYam97V{gfFmRG6-SViVkVfRH{O z9nE+f^rk6Ao)E3jP^eFV@_q-M5Vw3xJlk{gG1M_D4XR{5*|Hr|Vs90FFhwln^6pL* z>jbTy$EbU+z7tf`T+*jjdV2F}Jd1`!pD==X#l;>t3tA~`WzlpW(sv!cDXGs%_eeiH ziyDG-x}P9kCk_a>uBrsDntIrmXGyW6w*>nr(gRe2*1r<5o{vad*Zu)9Coky5>wR>} z^5|5EJKPN|5!*NwnSMhtAiLxQ@N(L-Q&G%($ghUxh;6oak*d8NsVvi6%TPlo*}#45 z3DHz%<*=2Mg$v3L*_GgZ@6aMC816x=neYZ`Cr*`AQ!7gN*SfIjKn0vWeuPoO9?8L}HQ&59@~+tQF4dy> zTWXr#PBV?GCu`U@IYog=Y+RuD7x$jAZ_7bLz9dHy`ynUjT<#Y=LvWY|`rWzA)c+;5 zk8=t=^pa&x$Qdpdm8Nd@c}@|#KNo~~ky?JD!p!nRzW4cJV(!i5TeLn+>8da37dxjc% z&%aPb(|{ZH?PtsB1alc)G>#NOn#88^;Imy}HQRA^f3=-xM}0py8*{}bD#flhsBLL9 z^YT%-=LRCiebA1Xyo*QmyFSi+Fq3I`!#*!vbei63CtfEgYF!lN`U zYX42&9Uqa;>h08DX^DDm7A;YKo`r>jFU4y=(L+AtAz#g+rTD4540hM7iMKZD%*r)jIb={fpteFmE|6YX^P4{Ok2o5K~UW-k@$zqJwV zzqL^OI!Cncn}t}Pz8X&SJ|C`#pO9EnggNgqqR!t=Vs97Hy6p&ua02aOcNY2mINo%5 zq6s~MM72*+!FFw>T_g6QB1Uwy&LaAehOj()kcavZUDy|t=@v@A^F>N81Qw5*H5ONf zBY07aen23a)&s?6)-BHSS{g?v^6DsiyBKA7nyOU)Bz7PuRKdf zw11p07B|7fmyx9LeoE4IWnYqR^1X+ASO1Z|J8$d@Ygm9%^6ai!P~&&8n-`#zwG__o zg>&aRN>KX~iY-g^JbZg@BWAfUYoKbbW$fhzGVpB#ZvLL?_&!`Mw@~7Z-F=CFf^Wyo z)X03sVciS*h}51ZiL5#gOZ#pjaw}Z5_Ysk{EBcE3;(7AUDSPrfV(=^H;ZTdcJ)hp+ zg~&-uJ^OxsgtlW(EVu+GtPb`L2({HyyL7Z4BRZU$)h`4?R#G$d72<}4)Z%V-C&D(i zAu78Mu2ny9!RDX9eNkUVK=a*1bJwT6G1h5boSM+=QLyqI~wkBD&yC8YQ-E5mPGy zc-N4vSriUa$J&kr^{td(=kxSk`x458%UpErg8jIt6tY`{{jvxrLhQ=L=wQzhyRU<* z=LxFn&PSuF`X~ZA9wgaZG~33-eQel@u+8^Tt=@!d=PQ)F{#p8Ndx^d`KTqGyuOYRC z-xOw_Ep}l$6Jmc`Os)6N#l&&;<6_=!zbvkD`YJu_%JZ3-AJL%`%r6U8I@ssuA=a0R zg1$h6tzRsf^}6#RX5)SfYL9E%?3wfNqc{DG@{bX1Cm-eOU!llQ7cLL-cu|Rm?Jjb$4aNF}bM`^8hkbs2sTVgf9PH*LGz&yeGwYWG<<%oP8lW2w?BOM0 z_R zP^(j>M%Hgtibp4m-lOK$SsRt6cePFGo>!G_Woc{L`iU*pwzN&wj75iFcYHDVkk~+FuwcApY zlk=15lavJK<^+41EjiO}Pqo90T(2gk;xjTiB|9ZWv#--q6O({bI!{U6q}YoyXQu8p zjkKrMY70}FwMJ#PvP#`!vL$b$GAKk8q_9jk12C$yCtbrTT5T9TJ8>IhiPU~ zgR)KO(R?j~wy8_jDNEbb24%I9v_q{|T9mcQS`FON8muj*25ptL!&GNludP44%d{u4 z#Z))6#k}i?TJz4tMs+8iZnfUD-c)buFzvRqnVYO@ExS#7Oq)!bO$`=q)LK)$)~&8H z?NvL~R*f44>@=-bH>+!5+iTVJ;O<^!qqV1sB|Lj$l_q9im#NBsY$5|N2V4BQ+Jv6C?k_+b`R<@ ztupOaW_D?HYD$|@kY*d2meQ)EtX8Jh4=UJY%B)Lh)>bKrT}qRZ?6xJ3v?VWXQu3+c zn-qMtb6I+Q?u=vFvSgdm ztVZgT&B`ieVe!)X!Mn6b{vKtcxoJe3sRLonN{8B>xEDQkmAcEcO50%CgSH9wSn8D? zb(OYi=q9CZXtUa$uz6^kvPa#dw3wT<*1=ttRp@QCO6qPU+rCQ4Zcs3KMq=Pl(P27J zgceh)vJnK=n;Mkj1|*4MmKNO7)5rD^_7_v?-aHOIK8m_&of0=#&Ak0Tk+?b?b$5x!!o=zQG~xO!;6m=xTsi`N8)=V zwoeh^FH1bMK;VS=BL5{4cS!8U_J%$~7KrecMFRgtV)q3CZ#qweuW$*x6PU`I8xS~U zp}?tOfeR&GS1oX@#I-jF{3tN-Z}d$9vqd6({s{aQDn7G-DZKtX9!#@af8I~Nt``bgr`8fqVlxN6F3M=^=~;> z;Oiug6bk%+9)G^TZ%f>|K;RyUcPte6IJ~k*^!G@dE3y4T5$*-1{2G=D+#qpMiNNhL zeuH1&!50d8Z9##Lm$;`=;4>u7zf|B0CAR-g;5vz0FBAANiTD0q;4X=mULo*l4w0XG zrNDC~u9p}RJ+EJJod~~M;`I{0A#vK3BK&JTzQoB(Mf&WkMEIE!CtfY^#S(X2C-9>Z zYxs>>`g|^N$7+EGIR(AVw+NgkarvzRJ0-4_xK`p_65lDYwnoI?B=JazKax08;(trL zP~zbwBLASo6M(6G+a<5~nnZ_%ri7x-rXeP=T?gNxep6m4@~o8P~ul*_&SNl zREhXWkBImWNSyt+z@JLoC~?zr5r3D&*H#Oh&?4ghEOEBPp&AjM`HZ9|aht?-mx%H) z{FXI+HUU%rUb0ExF_#J)l=yau*GW8Ng$QqxxJcr}=SBL>5@$<%`tL-1pTvKbxKZNY zT_(bJNSyzBffHU3^p2|)I9uXYVB+r*iAydQ;p-$m`3iyCCAO{62a+_%n%TN_^jyBD_K3(yIhc*ec?`E^(d24_qz6o8A=R?GkU? zF7U1OBD`DTrz9TvXA%Ck#0w=(xJKqL@o5sbNW4_yZi!b)JhENTdqCm>iQkd9PGap^ zLBB=fLWy@v+$gc_FM{6d5>J(Q-gP2(KiTsZ4$dAW;;as>m{~Hyg_2O z#DA7}t;9b|+$QnqHwyaf9YOC>iR}`OtHjk3v(+Mg!3QEdSK=;-9|WfPVDwHA{-(qmBtH8V5uW?82>(*z+D`;N<5m%_ zeJb$z64y(7rNl!&6XEYl-2J)0gVu=jOTQ5KQi)T)68L+GS+~H$*NXV<5?4x``mG4R zOX58eZ#A_u!;x<8Vu62J?EKu?laF!rbXZWKA*q0&&zl2e(t&FZs(pu z_|jj9ZxZhQ7_sjhjK73%5aF3mF#I#ZQTgE|3;YR~i}7!lK>Rl0U8N9jCOq>c#ODYf zD2=%2JWQWe2Cv3%5=!3!aeup&V&k%k`}WW-wt_v(-MK4BjV;+AVMzlnrL5I#?M2VqMJ#{Z76ov`mZOn;AX zcfuj57=Ie!qE^J`0JHwjBHVL5;+=#y6ZRR1@iiNW9)l3~Bz%JKV8UTp7`}n zUNacO13$w2t`N=y%<5BPIEEjl@F>DhD7?)G3^#A2`V-zncn#rdn=t>;BPl-NfKiAi z0%qlHB3yJc;(LUX2{(Te<6i>I_@VE3#8tN--bA<^;VP3bJcsal!XFa8NBAV+Hj^=a z@vWHO8N#gyPn&|_Ho}STAznr}YbxR|2(KVqZ5!s7^FD@mCVXHz;`a$#W+2Wbyq9o= z?U?=%;Q@rLvoZbwz>Ize<{*CMW5kaLXAsuR#qiUB8U5A}F1rKqUc#}2t@AMc9Kxpv zpCqiAkKyHZV*0WR5O*V-yAbhA!Y39X{*v&v4=DX7n7-Xo#JvdDUWRxvVc+G54*+KE zy+^p(r-*B>!0-gZ(S-K{X6-#d_y-CvxDw-c{|wXT5dM|$!gUzlX%~jqSdVx+;lz!I z2Y-&?Yc?U?L-;)5S9VkWTQPhf;T43xB7BW-g*{Z>Hp-vyOu}~wZ~7F&je9XZH%$QZ z$v(nIKEv=vUtsu%U5H=Uhxi`hG{W}JG5k2;n}mb*V|>eQ3^x*fM0g?LX?rmIJHmbU zA})9U)6XOvK{%Ii4q?p~82>!sHH0G$V*1+qFnl@TXu`h{9!I$MA&kF`@CCwG2=_dU z;ePuuzYhq95WY^>N;u{S#$QNy3*jq-9~1UDfcXV}iSdgP9z_`L+@N=Se2x|sp*8{x);-~Jlo+X=sT0`V!rIfQ+WVESJPcPCu)8;oxuJO?lvzkazG zf51t^%?Y>q7V+(`G5lS^MNc5UM!5brh(9`o@pB00e22KrcNo5(@La;xPh5YA<|kdM!3)5G* zfZ?MECje&Uog_SrVTgLZ4aQ&0;ujs^v#>ql(mx{JMYspyT*6-vzDGFlBE~P(0n;x6 z%<|U|-otQlADqmpYTD#J|i*Q z=O>I`lyD=$r3m+B*cZ-A2#=ERC`>jc_}{MSsTpqY2j{+?{Yo z!aWFQOZY7;e+}Wj?;!q~a5CY$gsp_jUdHlv5pG8K0O6j5a|sV2e2VZQ!siL^BYcJM z4Z=4Gm%4)GoqrGO7ee?7;Wr51Bs_?4GWd05e`XQ368@BM7U8ReM-VRe3zj#Ia1i0F zfSNqN?u4@mza`-i3|}tc=7>)c&Lx~5aw(Y)_KVSld46>XKk9_IJ;x(_{Q4B(;n{?J z2(KcnAq?Uj@`Lp?ozK;Qycy0RY$bdoq7cvTBf@0~-z6MI_y5hHf-HUC@3B533D>6c z!L1Ue^Tg|fqex$%asfX`vKeHv`-V6gzUZL@wP2m&IVS8o}o=oL$ChVi9{v~{%JeFSo{$~8HA^p0#9Q*i8 zqx{+sE=c`hChSM`TSa(DE3Dr)glmK$_NjpNKQak%b;7qtBW^*sFV(jf;T+OO976a6 z)sMX?VDy+6gz2vlzC`l8v>%4wqxnTgcrW32!nc9W?9V8|7Q%}ON7H!PP1p|YVt;-l zyzm@U0{#@Mh~@RA@CJmF2}crMLhUn4@n6OIZznvH^mEP|#`RA{S`R$_dP@iyp;@{qc zeSg6Ej3jK0!18}#7|PG0@?WTi`Sm4z$EJi6+v9lXPx#FDnBOufoa%Rs@HVQ?9l~)m z-m6r{{7=w$7)+J%({56CZl6*c%*mp)j9$vi;<~NbrXC{2}8w{UMIC>%C6NFEYyvkP>)5kT%@MeT_ zh(FQ@&uoO@O9)4mL42CtTM=h#z_rK2P(*ED00+P7rRs2=gmbAJeaa*Vyb& z7sB019!w$ZOZuS&8c=+5VIIFe;qHW^2$$`L;da7)6AJP8lL;pd!0nAO1n|z(UyXEv(N-!q&;y z-r0l~8Zdl2;qIj0olCeB)%P;PP<~M=?;(Zz(fE0(G17A`%~$mZmnHf}at!x3)PFe? zekKj;v!3ucqQ`NZ445n16Gc-(Kg~$7dn+#~{M>2VnX|gx8b)`C-DN&!haf zBVkHkLx=PV8H(vU5YD0X;UJD-zfR>Zp>SVXujESUX+Qjk@J?EPH1Ws$uMvHF5$+y> z=HG*GFUoHq;h98_@eIER<5!RJVm^iYjKT50iLf8dmtPXjqVau6 z!UHjWu^=qpmvAk@H);R!D&Z&!k0TsHIECX8K0Co?6Z^A*@TOqIKM~HM{?-IzdDrY% zes98-bi{)R7quatDaEJqHW1Dwe2DNFN`H~CAK^z*e3GB#LRk4De3sDqzB}QY;aK0f zg!lGEe3)=4!Vd{2lm4td6!Uwu80&kLa6#JtcWZ{>qiH{Xieos>O~Uwh2)DaagwwCw zt4N<@!hwXBRL1z-2=Ahzs;xcOW$Mp+X?%gLi{!1aiKRUL`R76T**t5jSjw$b-7HD4lbOZfan#C-_+T}7NpIO;OucL?wL4e@fqr*0zNM>y^W z#HR@t{SomU!e`DRE*XyX8F3zQJ;J-_y;N($y=Gvzk#No|#1jagnu>TG;WLX7A0%9K z9^wmxk1Ry|fbg#Qh|5G^ebz5Q{0iZMv>)t9xEGDbM8ZpIVSf)Me6t$j>4f*vc-}y` zd3hiH=P=>*6n>fTT*CR=5Pd3QelG*g2XFl`wU1Az0!Jc-DEMcw0)MQ)ClvUm0vFQr z@*Md!QsB-CJVb#fD)2@H{y~9@z9yDe3bCWT)fBj?B7V36$0*{zp$H$S2!B(7rz`Lp z1wN#}KPd231%9Bw`Pz#8SxkXTDsUwQuA#sU6j-CcAqw0|f!ir?v;ucmV1okpQ{Yqu z&QRbX3OrtcCoAwg1zxJaA1Uys3Vc|BzgFP$3Vcn0|5D(h?Zo~oqrjCFxRC+}C~$KH zZll0a3fx73dn<5)0uNB&feJiGfrl#aBn6(Mz$+E_Qw83uz=st0gaU&tIYHk2sKD11 z_?`m$M2hK)DR4;zuAsox6}X-PYZN$Cfx{KJg97(Z;3Wloe3ru36eOMoJ}rDY`267u zfG-ffAozme3xO{bK6c0XDtyi1YXM(N_*%gi1|K_iXGg8L}FX8(NzN7Hv!gmb5f$t=I-@?c4cE5vRCdJv1AJ%UI|tu+ z_%6WrBYYR(y9D1)@cj(mW%#bZ_X~Vi;rkW7Yw-OB-*xzIz;_eA-{HFj-yiU?BhfqX z{R!V)`0l}XAHE0hJ%sNOe1F0B7``X)`4j}+htC_DO0?Vt=_DRxG~NWCMBk6$-~XS+ z>NNhpK3?zAm@N){EREY*@b8B3{hjg4#wPnygE>%_nc`zcz+4>=i*cCi2h})|{XUIo zn^1JG>kn49zb zsXv(SP0UCzrE~lA60?F|Y-#wt?&?Hb#cBD!TD}|q=+ChZsy@@7UwOK}=Ue?bR>Ui(?a#4% zPu}3cB+mb+WKkH)MB+1$GrBxH+&{-AhcFw?{lMI5JU8&1lnw@v`Fhj>KFt&}(6eo{ zzgDGa@^EIbrlm2zBhRnl{vjDwSlodn>x}etFb>Pixbiv1VC1%_)6EI0u9K}9ILa5itAFA}fDLI(rty^)T3jwbw zBoDdsmNw`uI4<32w%Yi><+bC0l*PKY^mOVW^4P3xv0&&GUfs>N(bRca4INAv4WHqIt*E@OP zLKNnzMsMdX^xVZ!C7?VLm$nOm$`;52UD_@LDpE3^a_C`$d$Q^;r>H;U#t6x`f=F%u zj%n#IdcfUuw9yW3LOTeXf9Cl{ma8I^`7UJp{|F}cl%penohYzDjgFYnm!jxmQeHlXMsptQ^a!dlZe(sTQIs$Tbgm9h!7=7*nX%x@9(Y3!e+z{;ou{S|b8uhA z%+o518!d2CfX!i?pSv@X=M)H(c`co}o=Z*0?rcpEY0g5Cs_3Rk5y}Y1*JlzbSWDbf zjyw32+syE(m%F9Z0G2H+n_oCuY=7Vrt1XjyhFkeoU^ux)4(Vha37))cd~L^^$)KlZ^yJ7> z;15E42P-qN!^eRjdV*cU#quI;5`j1uf@4%MoS#cl%fdmm3c!MjX5)xct~Dh9uKy$IM}gtB!(Ne-~t1NIw^@hhxs~Pm6Y(K zF3@6*cczGkgJ=UJV51wV#!>}fE;ew62`p^`amjww;II5zN!A@9hG>wFFpDuU85?3q zNr`Q3FvF*hjW7U)4MVUn5r#TAi_OU3ISQ5s;(!Qs?H)n&>NK!8jwSb4ICzwUN~aOV zZX)gmR7j5zolA+lXfNwEOe&j9ft}b5N2YMc;S!4k2_vc7c^4Dez;T)>GS!-4N5{_0 z5wLTF=`_wxlu=TB2(h7q%ME`f5CViw3t*iFzr&}8eIcy)5tnR8G;_`}f;U-SU6Bsa9pKnX-cX)Y+SPEMS?1IX zAhat9p_$^22a9#2Wrqt+7w^&FU0Oy@UW~NX0m+zx{VC8~E38?&fiL)W;FOB-m6(;Y zYcgRJrKKDCrKh3Al+s^D!T^DH{GAn| zo`CtxY=g}R;~v?{km|{Pb)~-B?B(^qj;0notNb0pGBG2?%6x0tVe4y708uT_J-`tU z4@1F!pq)Db6C|t784W|h=_$A;W&&7XU%u*humyN2OfZ2fW4A{DF08`SC-MbCdJKqW z6kmMciRHj3O9aPYaKdFVrS`KY8&cB@uu_0q-{|NL$#NcH3uc^;UrS5xl$2yKrn&NRJvN69_`e9^7s2pX3LHO^q?Dst8ckgaKzq&KmHS9u307F_{>xItlu>1=i|Ahe{V z4al$>tO*8~6XBr705_)TW^k*nz5w8dJ?zX!^-Ls2pfve7*6LzR37I&@!4X4rrfMX1 zp2?1UAs%OO`SdMi#O~u$VHpw5F0|Q}25MoKaTvuzciigbKv+Vin>qyWBWJ~lGv%pr z)J!38_QNaXrZU0pj5dBWqtc+@7?|H)1j1S?a{ zs8lsL{#O50r7mz2pcYp=>85-YhvU+(inwunffW>G1W^X-Nuf;eCm(MYHc3J7Q))(v zeDV##n@5E=I5ykHZj{*JyfBAJ0ile%EQWXtCj~3+4jey= ztqg{0^DV!O4MU(re#s^j%YNmmc;c_pnntUMNK1hQkPELkHApp#Kk0-l8(1F}1*m-( zmu(deaNH+J@hS~p4Cu4WBHf(1YPk|4Z=#K9QNZDcOo7B7281mm#e|B7@(xwz5X)Uv zyP=0JB13j>!bQ29#typakioj8r4N9UMS;zn<>_!uLy_cc;*8_phTR!tm^{`BE@k8w zk07AscQ($<0$L{wfQ;Z+6UYSnc=aOLirgHZ4#y&GOcrC_u^6|Cr>C+Kfq(cJw8usU z0NoPcD2oP%yL!c#tZ=#?mu3am&i&lhD;Cz35oy+Jz10lSMBP_IHK|ZI+ zBLZ!sV7DXVac>wl03}U?Ju8CmjpPTl&fEi0ctji1;jog5LU!3}G6#}IeNTBzi)8|E&i)i@{>2N*J)ICnVNC^Rw^_HP!87ZpVr?%132 z^LBOS^x|OGQ3E(4V*qjO2iBba6`^OHmf)&(=pAiegNXEZJ;Y_d+e|vPm>4S zPx7Y!qbZ*cN4~fLxuz;u6bmj#BNRF+j^7olQ0MRB3M~XyXs`j!unH>?X(KPFEwP2B zJ~gwe5!MmHyv_pfI$D@8LnEzp`^9uMfa^kRurXnmMY6tjMp86T79iHx8K7vQEI^SW zHaa!}*&J454obKV0KLC8%__FR>!g98K@4a4@@X#A>%_sJ?rJe6m?GOVJps^EY-8;t z=qiSGNwlJ76K>yPQrL)cwpiGmI3ug<%bbA@?I?M7ILc9WhciGyTt|SiJDdTE6zQ-K zL!}2e2jPWx2(+gg6SB36w|vg73gvR2-}F1>l|F#ow-CwyVHSaMMPoO4$R9CzQKUS& zdiJvIz%x*y7oP=bwTvhR(5OjI%Tm(jc@`X+3Id;NlRw{5QL{D#ju=(D?%6g`U6oa< zO=edQ8L8|=9|}3Y!-?^Ni~zJwXeKvEs^z-FZ45uBn7eIyy`&8&KbX6!h8Y z4%~WxB#pO#7Qda%oMH^7?wWV3j8uf~KyfvY$1B9Z~W< zFX&F>5p1yW0|M1pxcpM~5U&I;L>BHLn^e;ve)J3jTdfpXu!l_Suq#(f&3?}#8R+4p z%DK-`e@qL39x@mVdOHUGo?ESSXDI65c@u{pA4A6_xO6+CsWL}rY_BSb)$lGV@QB5m zdN|^Fm#uq#;%!r5Xh*vt%uN|7upz1da(Nev^R~+f6LMtoz+H?)IGHe} z=MkD`o!Ggmo9eP4uhKgsd2ABT&rOSLHWeWSC%5e92-o`Y-=p09?k)jaQn1@BWjd=R z%|$w}-{>A#ExI8IHpS|RKp#e#!a1Q1U>juBdSn_c83J3e!R2XAOfrMoD7%^xW-R)g>q7{C1=#NUH(^`sKQ-<7&a z<=7!%R#ZK$4j#Q26SEC$tu??OF0+Mfow2eZUW&U|*f}~)GDx*SMp$RTLJ6NVCC~|V ztUc60biPfE>)KJPF&GlEvW)TOOszH;{%tYZ;O-u7OyI&3RKFQP6w!2$#Afy?rq*D{ zOi_=TXyIpV1}M&yZa1Xc`D!O2d4SD60IrPEp|_!IsGAYzaFCL4k|g~kE!`OAH@oZ~ z{j#zQ@QlEg#*~um*@jFF`<2g=pcXU$ZobVH@t1xXI0YnTTN3$OV7}Uu7+mpdW(qsH zFmSa>$cBeveEzr&ezIFKK}XR9H$w#C)6(oV*x6cr490l4F@V4LlO_1uo(A`c4(&4d zCvZ3XzYWY^ux7@ycX~d2YGCVc{_p_)!n1TAL!t$bQIaSiDIwJkZDWHs6_O>fHzM#C zY_lO#oTS+QvqUJulYlHxoqq86%<&rlQz|e9{GFU;v!mPs0JjpbC7((`si+T=v|WRW^mGc48WnC5hq0 zOtTFNLiHi|+mw=!0%_UbRycr$zu8$g{|87X_&bFWIwd2O|BWQDnynB6?rDHJR+3++ zTIj_6(-^Nwp*CK+gfNLY(U1yRBRSLIik$sBA(Oos_km>(>pAxSb|5{}#6baDsujp> zhsLmgaSH*_HXJ5>rum3{%ffIhHgvl|tbCH%u~iO)vD4+5=O zXsE-?QIuB4PgIC{!Z}`)79K>xX$ys+MlqekkWdB53LKhZP5>6QnIfa5?JM0Sb%cc# zKdg+3*XZ>iBaMmSA*m*vMg#Ix&u%<*v=B>6PlUT9Ua^0YwT{_F0u>OG!IYJd3>!F; zVUWobr&v)CeLq-zY6tAu`)q zPZwT!%|W^EH~h7PYTS)B+Bu8D@x0ieBjwVyli9YS8-gA1l5ckX@O<M>!J&1U%ta+FS~m&28xpy4tFFlBQBxH_}4G)WmpRR>D09}yLx zRJh{0Q}Xn&uC*4b%}=%XYJ_o`;xtmLd^-l={EC5D$Z;e>z9Z7>azhiGtYGI1?k*Q<{lvwGoXH-&dl&jp*{ zi#1rx z`5VM_9Q+<-29czXGq6i8ogorz9K>niNS${8(Lh>JY4|aM6~w=tmk0|n*%AxnnCD91 z%8^$^uMNT@2{SwY0_}i=WM^wg1c-&_)w)2wsBp4sRPuu0^ z)-aw>hG1^E=oR`CyBs+}nNwcp_Kw^!x%c-Zj)Y<(v&BZrZ>PP_TQL&nu zn|+y+q1E?dd^BaUvFo~di!;Dr7WQb~?eAEga@LJBql}2@AY8FU>6nrwh&84FBI zlejD%TL}rfHGkOD${LxXhn;8~TcN;zvPmFH%ci4tutbhz+bsEDieiryqNS??Y31c! zg)Bk~!i!Yh`1L-MTb_+l06}23WGVm=(k2mA@*?FlmZUwq-gVd}cpXob*g_*kQo0l+ zn^r}v%J#Qjid7JXQYE;cN1)4&y+BH_S9cJ-~)QFOKRr1!6F&_JRfIAf73G_psT z5Tw=XQ{bPRU*vqP)4T>Nm)17e@t9#RocKCF{>9@MnGBRA`5%!$uCC#!^^SO+8~#6P zh0cS*jcco7vYfr@HYKz(Hq>JuYjKG1g9Y3@lHQd1z`!MDh_r)qN=LoBg)-$602CQOg@!>Riw0y0KS|q}Ul51LFf^t)ONl zSIXkl*6ZV$u$1&U)M?Z|Djr5uXp#vIx!8MZStI*<6d8^dvO%OVl%P}TpAc@LltVuSI}pKL!t=je%Et>+8{?nZdXby z3>#5xGSv?IXMsZg{haqrils0dUm7I+M1JOLNVDlvqQ#LF;*7%2gIOHb zZ9*)aEF)uLe^4TU#S-XF@kctOj~I>v#dp#%>S~5njkf`D>jCDNO=1 zXX1Q2%}0HJ5GH1!4V4jt7m*H+qJ%Aj&fi%IkHN3oVf`hZA!-9<*LW-*mlJB$)&(gt zl%CeJqQ%!#z^{t>iFMP;`od8yIl06>kr6r(wFFr+1jXzqxPo$U0L^mW?X7tgEty+9OfqJVju}LhvB{#0MGFLC6t_1iVp8$2;8|B+G0Q#c z?4e_DNV{pe{3t_Z%c~X7GIV*KWr+H(;#rR#b~Aip5$lp7l3Ol;o;5YpHAsPjW8T6+c}}nn7dUc`^B%>BSbzI-z)O_=?wo zoeOwmI<8mo->tZNio0#{zr_-I5G5jWN&^K3u)N-Kd86cCIG2O1_1}pOr-SaJt8gJZ z;&V$YI004@HYktOSR?P;+_l_89UL-Q+VlJyYVwX5S`@y|je8`U+w#MHH~jPb>mctW zk%yHG`n>D%pAxLpN1jH^e@mcxUt#w>?si~4@2+<*Kw+&audjTqs^rgPR{@$wbfo|l zqN@l{ejw#;eoa;i(5KJMUCZ6}6Qh=1Uam9`IXY0O86}ceTF;ZzSKJ)A%|vD7(k-I< z>BDVi9)}#*Zd6QDiYlx0+S8OI?*XwSw|(HYIL_q4?dr2$!#k|GyE!m(RP8x0LpeWq zc`o;FSC!=C->IT16N}1(|Jn+lsSI(8b#D2OU5e$Q+b9l_f2$?ZvgfHik`_T0!{}EW60|Q?u`=VfYNRj85VybyC zF{vp?AO-z{gl%`8go})4_pP4hx;Q8@nqBwlJZKG5_l1B`KiKYrhXWa)gUpqgWqsta z;>uOjzdA>Fqc;uL{2^)-2$vt2`3HC=zo?DMb1qYGMheSgM|n7QTvo`>d~M`H zXl)QTeHfXVXv%5_R|xR(Ks^|$QGPw~#`Ij%OnVhHdj>S^4veMW4!y9Pd|Im@Nuj^zY# zMJQdL;=@)$5_o}=KV9?K9lAiFJN`))|JtrdejMe>cWN6SIo~O!Gtkb3BW;&#+-c_i z%L7o}RIiQ}VBhD()(`Zy{wIUaah&DF@KW2}$@|fB6Z(Upy}XC8+A)EwjK6(A@!X~{ z2jQO2-dH?1Q^*yr;_N&cQ5DU9YjF?P5g>~~O{v^Wi8(26Xp^t$d;edemC5dC@ z@u#De6wX%Zj_1Y7K*uWqd^tqVmOVd9)~X~@ZZ%Y*z}Dv<m6K@D5O^N|8r&tEKxAC865bW(=HVN$Mcy`ZSk>e@ z7Li$s2bF&>Cs`l3%ZZ+p!+U30WO9?OKHK6+yZh)WyvGjQ-S#^iD+_HF3;##Cxoe7t zIsosvdE_n640U4Fc91iIuAT{(n>=qe3ot0K2efGJlbS(2X?OAy%%Qr2t}%}jN77JeGkJME#7sc#i25ibXtc^M1$mUms`SOHF0@P&Kcc% zf4jgryyY2S@QFQo6KgJz$Qcp5jd+L{3|0z_aD=LiBMbtd_rMHuy5~q*dZ-T^f+j7M zS-QL;cGi)-qjTRFkX zRwbv{^O}kMvGp>+!tPvBjP^V{G_vAEmiE5<=#*%1EX)j&_aw7C5=X&N6n7uxfxH@v zDP9YYP{Eud@IC4hOVfuA*%D(YX)iAhyV3$eipO#@B7_m^wt22Y8QfMf>V&uwl{r)v z+l@0Gcw|pE$Ah6=Xoxct**qHrQk$LxiqvPb7pymx)E7A)I|{4}v#wM|m3Nd( z(&#)25cVXVPmkVqDEBSO8w87CuvY;MVx5N4UQOg8&qy;FA0FA>7UmqBd_I(qPFMDk zQ8^qd<+5amZ6`l&1*4gcYVpMboa%CGpDGiB)}Jhx7~|v9O_{s_!T4_*Fq?DTBHCnN z>my_tRshWNpc(|ZGm0tMCY$k%Gas1R1tAXJjoEu>a2IR>`<)4}SYVb{!3GXEo?zUH zBvmr9Q?dm(BB}DFf+qtqtcmcp930Q4GpnaqWy(Uq+t8L^DVo57%p!wV{RP-45|PRfZYpr1q%Q1zg}big8zhC@&Vvr18ObnAJ^HQ zncd))S}Sf{{Mwv4%jp4O@Mw5R@+^NnJys$*q&+B%>B09~_W zbH8NlE_b8zDSL~v{Zn<8PUmDPfqoL0Rir%r?IOf2%D!4bLXPdOxm*QZUiWmxptp&5R z@4Rg7Vw7tk@DpHIjwvj9k?A$c*4@#RR%U7pZb#&+4yCzaib~pj4udn;j65PMb9S0O zQ>rW|{4I)wD)kUNM;6b}CFKGzJ0`neAZt`~e5+8h0;^+6XU1mbo!Qgp=C0*#52P8j1RCkIq^`$RA3?z4%MvGZMnbi@4wFQ1rU}FDqO=;W z4#Qo!cz$7}3#2j}$Ng@~iQ^JYDu^HR^O6D+&CGuu+Z1_Gobs{)yIu9Ng7w!^T~+{b zu+nZR&RYTh=cXh{YADUC{Ux^xp-jFc?F@soYkdddjF3sxlrKP!-uvqN(E zOyDoG!^X2nOv_-7EaA`z+*-oQ9Jbg@dkgP8q+FnjgiK^jQqKey5uS69+2xZ+NLv~c zcqC%w15Zc<5$LH6aMIHTF42V7ECRL3s2^J!!6KgJ3bPV$16(f%t&vfccM!AEr$`{L z4gWW74y=`D+i1RtbyK0plt3_z%f+ zF170KJ%$A7;<`PM18xyp+9mW%RP71@eQkQx# zmMN1W=2YgtOW-LvdkSnWE0{)xJ4Tn7TdQDh*BnrmVJ&EE3DS!UGGYhnG{lzduGkG1 z!i2%jStLHBX->&=@^;Ay>NHttNX}sAb}TDujf_d*SOVQENk*~NDg!z)G<`WL!<>V6 zgsp}5v%7M-jn3p3?P}Jz-A{u=J#gnHdyOGgUA7o;*4X`o%bKA2^jc0*P^xzDsEnk1 zvO=@tjHX_3omR#(Gzr6=_UVKbYp0sDQgjTQ&AYBEq}vB|X+_=Rg}8#=QtdF{4jH5Q z|2>iAXqemn<8m3qBK)V)Hj>1W%nEh(A{QCpa|#@f+2J9*6-)}y{LDkd^^M#xFAtXN z#u~uousGey2Op2BlxAw#%jSL_EY*h%R*Ekiw*fUA?8w8(8ZNVhD@K&fppH7*n5Qd& zR|R=3Z-FBXIIcBk;7(ntk(fxWATZbU!Dl$mF6c4fhDM0jRNPzt-w7uwDwqBfX^JB=-aXr^gqC1!KBKwRs}r7{)kFY9L>3nA;WIAfN5x2CaWY3keMXr z!7j^MpdVL(@p@UxX(Y9R`PydrdPPfx@nYF9#8v?%&9Hs|Q`c-f@i~fm-(By>=P|kJ zY~CAGCQ?*(s0vZ(DobQS%*`C;@*Yc79?J9a{2a(pQ;)(=Rq)B@E}e|r;0}!Un#>QT zKyI<4TsCU-!VcFs#0g@0dBO7KJ9a1f>&4^}^TSGm3t{*9_{&BT&&RP9$vdfRvgJty zv*vjxmreU>DLpLkq!BF3LAG$RDhVVTNbp{bog5x)i6(*lD6^~uR{#}#uA*D<5Z$xXg@-jy{|Hk-F~>=!Y;OWD zPoC~9&>d?^B>dl*y7+s;LUHVl=8;v;U){MbqoFUJq^r>!Er0=oDEddCg6)3Zc0+S~ zkNs55#w@&gF5O?{ows-}q+Fn&vOm!j4$quys8`903tid{inkUDm3Cxdb~@pio~|QO zR>a?auMDMnBMb64#`3^30)Zl*dYqzUmRl8i7Dk%zakay2|8p%wyh`(OHu;~3AIIG8 zo*`T3HD%>tX8>f#)6Wl{X$VsgEm7Pz!^2Y%8oHjRIq9CxZ3*mPC9iWa<-M=W&=|Wp zl<)SHQ5}!SwV|(p!oP{%33tvgWth0nP-SxO-R9;|uDptQ+&<@3MMZM&tLRARRZqby z^XJWQP{h+S9KD$AC-gMiwiF# z^}@S+eADRZX(=)pQ7-Q`V_B?^?JcF&^?jLY_c!=c-Y=$SnwflN0TM}hyD!=s)Mgsi3R;kX^&W0)1ASFKMSB!t zP>Vdp*i&cjmO*ii44311=tAP5GDttOVc_w?Z7()Y^QvN#5ONxL*Q$kRHGaxS3%lmfuYJ{yMbs-?p z6EfhfOR62KYDzL@SnP4>MtGpF*Sjw3ctxIHdBU>TeObYYCOi0_vU%kaMWmgsjX5)p zDeiRCcj_nv>9pY03siBlV+WY6u^I76>`KUHz*=^Qd=i zyCt(W(=V1uEtLic(Y&vnkj!&6g{a=PUNw={ALxs8?FeIA-(T+!mc?Z4i_&UrU=PP; z=jO}g0U^xeA0wTdYEjxCwA#R|QDDAeZ~#0L<0})jKphm7V(e#%Fv40|Ob3!^Kzgdh zHAEK*IVPuNSQ2BfQ))mAYhz3b+x&z^T3eH)4YLcSbTVc86r(v+;w-aBA-TdNVq?8w{P44Oby$HNwYcLRLXiB)OunNiP=9$i7~@SNwM`4>gVW1&JS#W zus;vZ`tI`aDOVr<{u+`YW!Op`smzukDg)yEC4R(h*apH@Q~y>sc#Y~zI= zhUVN3n6v0X@fCe0eo}K)Q=hi4rrbZ9e5%%qnSY(VaDL3vV|^Z#-IzV+Oik^SuEAkd zi%q%sP0JO-Tb2K6!odxv*UYoMRWE#gx4_kxE7%qd`@QttV%CY950=>xo>s1ClSzpm zEV(~&T=I}_gW65lIlI)F7r&^xaQ?#yPqy5;G~EAqkFFm_9jRKW@UGmEuU{G7B5Lxi zCLg8x92#fZy7zp>c;m#5vjUC8ifyS+m*I~1+ck-D*s z;_B4OceY3Fn&yj_mhLcX#iuc^znwqp<0)S^{At0kTT7#jvq#5O?UP-=HtWXvE%$pz z$FDG4(@c6HU}pG=wfkCVx}RP+Eb6qq$oQy1civd}QSDET^&hnA)|my-fBZJ6Yr|`Y z8($i6pxNwS;$Q0V$!F)PAO5lL@3)Rde|!DKlpTvFPaR*m*@h-_KWzO?zfxEBOxJ&Q z$oJ9y124Q(tbX+pN8Vd_V@=lFZey$OAHJu>&R@sHjeMLtIkl|c`1Qx;%$zl~z}aGh zLxNv^Z`YCqRZr<&c=6Qj1wD4<9^aNdyU0&_eH+Ey3oADE$@f#f2s-@OXI;>1?{qo3 zGQGQ|(4FxW+J0WH=%dz;GuKtxys&($k>#2`DN?^E;IIR&n@tb|_wC0wLq2`= zROfe1U;WS|t>s&9gsdIg`i+Ve3p8vwwZEa@5F56!loO;|AzAbn4 z(Irdw7n^0(XSJMP(|rBriv=ePn;UG-op>i{Z=WGG7jIZHqR($xw|l2#=WFr%Z`JyY zt2#JzUZ4K0KRYt@W{**pfnjStKhbSy&jw4*4)&YZagXg-mwKD~mcDjo^N50LKb>i4 z5_E1}?4WTa-dJ*V>Eu27H-E0=*Q(LJS(ATB{C!@t;nUygTxdf57q_js8@2B0G0X4` z;X&0#uXy2NrzP)w@#?(5cYJUDIDY>0oeAHpues;KXA#j4W}SOCQZxGJHn9`6lk&Y} zJ-ejGnvowD7`Qh7hA*{IZMXbhu3_ikujw1oxY!%7elc{*iRQVZFV|eucu|)>cYQRlmCjOm{^ieCKHfed{dDe* zIxWXuO$t0;_u{u#Uu*Pp&d~cEHhnz3>a_FUHQJwE&HCW#u#@XAYMZ@(!M|$XKPr7& zb=2U5C4TRp*tn?kh{p#WHM~7&T294d^XgXL)?)bVy)6dbY3O(So3JbXL1PXSfBEPm z+oAp!{>;DNNr|=L%P+h?`EdLDA=aqgZH_)zRky&_{43_yJ{DH!#VKv>USG0!=aiN! zK94hheL2cfdGW&^rmi_`|Mva2qDIACPZ)HvukCf;FN)-Js#l~$#nq>qeKI9<`}wzH zkN2M3E4JsA>D}{vb7q?#Q zyTghMZB}aL_i2qZHM)J~S9;{GUyptAV9>`iDm3e4z1V+i*=j>7d=Zj8`u*1rf3#-d zM4xRh9oL^gU2v$HFTW zo0RIf?Rd?8;{8~=99yI*CGh&Ls?dN#Y|=SzD$oIUT4UXj=Lw66K{^4JU00}XB7 z{9^8|3r&{Kc(+8C`S~aGS-kr6-0aF-u2dh|q4tE~Jztq}`QhRjYZ~^OHf?sZL581_ zmf!fZ=PM6x%w8Hc_EgPVm#nK79SrxIlB_MVJo?1r*Vb;C9ANx&&(wZ*iq>AgS@&7d zthk^?k)uWi4jWlz<1bw%PI~lX)pw7tEitRyhhYU@h-iH_>uv4zeWlCC{54~9lZ|f` zymqH*fp0$F(!IRTtE;;D9B5G3|Iogu@n3xQYsvSD)R|mq`GRj=>G$Th_4&okg)=xh*BjrG)IfF8L$KNzg zHHGWzmR;04=gGo$G2w^r?mSet(VoqN`u3k!`ZHVWTe-*IY*NY|9(kykcYakR{}b051o^?L;L%YL6;xqu0C13g{Jae%j7=IhOg>A`s(kS z>sHw_sK#qq`z!AbZ_=pW$7PFM`!>uN-L3X-u{TPT-PF7H&);?1+-AY#vJLNVtrYv& ziIcyDe%840s`e#jz1||AOYarmFR4Gf<^1CpALl!?VMU7u%?g&8(`wg*8{7Y=5OR50 zQ2pwaUpd=0=k#l7Q&&tpIN)aXqWSmhzufq@eV_E!m1)rC%_&o_w4d6vlzxJt%d(GO ze|`GQmr9PS;P?2AMuV$_?r+>BHt8EVk~YzLE)E58n@TBVVB04qv)bQlW&mUZ! zwZt#5NaC-n4_oY&qdtgVl~wCnwT^Q?d8yWMUC~UGILv2%$zLX29Qa`D zh$VL`^v^2VGdkpqt8KeO_MvpE^n_Ujk77?@bDS&eCaXYcmjxAWYO!wObd`9a55 zEpf3M3v24OvCKK}UbKDogQHbfPKZy*?ELM68tlQ6HgB#9TU;O1Q3;rD5@5SUs3+r53 zzhvZ$jN&Ek-e^+ot8z`JWi1%Ka`S|HI|ioQt9WZ*!|y+zm-6-L@CtR$6f3m;hZjeW zv>dD$xZ-q$ZeNBUZ`f?u{E3DsFHIa`?02%q^b+Sz2U(UGuT(9+YV`Q_TkCdta=zQW z2EG+%eG}|wiPZRSS=aN&{n5Xcy-}^#u)>3K*A#Cxr$hG5E#>b|*?Ie6uVIO+svf*F z^>}E7x=GW-kkG}3d{-+;z<-c{HYrD9YD;&OGy?gNW!ACmB zHCXk?PTX?-x6(UBj0GOooYelEw+aopGb{Iv_@s#i z-r2BfVBfMnrCP3R+s*#X(XLewJ$}E{*PZA7)w}M9r9Dpm)yY_Lr_b-L4_`Xl!*Alb zi^T_il^F7+Wz>RMBj&6wwC#4?DZey-vSs(nz9lzLy<93MJ7C%S`+xno-w&1lTF@)w zyH-7CkIgrvvEltTw`P{Qv1R&_hvi0|)E(M#YlUyEnse6FsIj`<3sVyJ93QjeLD4ah zP3HQ)l(cBh%10+Nf84&MeCFEW?>{+Px!uv;_2y)iA5*CFxS#YF8tmRZNB8yc?{-co zF@J1u^L@$HI$wXG^-E#n?hW1_v9r?E0)?}B%(D)*9Ikw8&4s$*%e5=&1$_13*tb*b zR_j#1?@!CGAIt9Y^^zZ!&IlS+tZ9XAZ_nO(cFyGVYm@f=yl=+~vwt4H{?d`{=X=}< z{khKS`9rGBSoP#&m-OO?Q{H`dW#_?_L(4RpeW7Uf9^Z2bw=RA8aoeF2D`n|d{90jW z|HR=z+J)Ose%vI&@+c$1c=?HO=($fu^j^Jwe*Zeh+OE6TvsJ$xGe#yR?$-Y5ccRzp zJ8f@FXrIs_px`ST!f)J~_rovCGJh>H?A3C^du*_f5m$)6f68?SndR4Qn^q_gYT17Tv;noUZ%!6#om~J&E1Z zHf7M-59ZanAHOxOdCIx4kMGSj+@1UGs6(CdH!ff9=HNHKh@8B4y3gd>e@)x5XU++0 zk$N*;Ia;7kc)?-I3zeMG=R(7?cVSdqqy3$*TAyc!Gzpx!;oYWtN|}4j7+?Qj zzJQMs4vz2B`14yit#_thf1&Y7zjFiXtgCr{vi^8q!I_=?2L)F;vTt_VJyi;wiHJDSw^N~2g;)5b{uI8c zc9(v8BjT+iN?tj4{zl0)$G2uz7-cT2-`UuA;?m;geG7kDRqVm_OBKU^`g-b?=;U9H zr;bX}_Opf+n{eN6z!zVgdGB=JHJZs=b8ZZ1&^Whemqf##No%vF2khAOsQB*w(Rb1` zv)8|;so3;Z+v4G$zP$OP6|K*$cvR-EcI(>d%0C#Ev7u>f<>5!p<+f{{oRv|0{q@h! z4{Uu6|c`y3niPd)tEc$Em;D=*MH7m6AW805qW6qgp zpY643+S~hH`MpfQ>CE+w57yuH;;>@YPrC1_J~`cHt=TO6tk3yJU7D=zynOn=0|#>+ zHhZ;A;noFqPA_>qZE>|#i~1Jn)3~DM9``YEj>LQ;U`9 z)AO^)V}D&MIY0IN@KP_-n3B{pYv9b!g5EDTz0=70Ll*2Wz4qWYG5N|5P1Q^vpdDwM z*k*ZyOCwHA`nAZ4O=dS*I%v;lb>sTVU(2Xe{ znA^YgXHbV>!QpkbcbZ_YlJnizX=y1{eyCUF!{KW_>Yldmm!w?kkM3q8r% zlrwnD=}#uK8{c^O(}uSzIlAN5xivn2!``*d`Tb>zRW`RSUSi*bZ9jL*f8*q;{8OJc z|Gd(_&~n}TiR*@J*mJdE^HFuyv^+5W=98Lb2HmZ2-rnVSP??9-j&8X)Y<~4J4`!^} zJN`ucxP*I&pFGT$*kZ+kz#1hE{$}2LG{(2VZ;y(8@4M~LsSVc;=Z-DW!8c;$J0BXB z`R9H)rq7#Qe>(fhq(NJoZM|P=RgG!=*9PqDaJ$dYp=ba6ssFU?HMdR}(C}L1krI=a zojEjj*Wr$HD!g2JZ>9RpkH!Yw?p*6u`M5n5zU|c^W$VD>-;50XBqw2Qp%((?YszjM zzvs^9nrV@P!`j!Z+w0Z1lehQ3adYYQU6osoTV}f0wqVPf#kDW2+0dtBi)wFM>XjMz z!QRh@uL_yH^T-?bI<6ejY3`L5>*ZVD`{sK-V0E&Xn!de z|Hp&kN0)_v`S^Nl{iF}i9NzhB|BC@f>%`rv{v>Wo)larf%C~z@oq?YXc=Fb74c~pW z*tR`uwD;4KicV})WoXe6Gcs!1W6T9_hMjwNbd|nk%v~S#^U3bj{J?+<_IedlCTudk z6w<8J&~5%x-u>pxkdZ%iyFb0u;_}r?k9_>)k;gYaGaZ_Dq4w@NA)U=_fB&NFcL!oW z@A!VBa$9>Ho?GPbZ;z)vZu&vzD$@(T`TqId6JJdntnK~TgC;-K`e>ftzLkZWh0VLz z;=7>K58pmBrbn;+J1Q1=*|*)W7~8=69~|EkQliYxPb+6HkDa%v@!H`@cFnZ%PkP(m z=(YUIs|~Mp&DPAZ<-f6@LTL9+?Zd_`-0;SS0e-uWwCy{;<^|t&b=HMx_uid#W5lE6 zU88E$X+Cyi?vUd{-mO((SngjIeV=MUqt?F_U1?q8I`&4DLw8SpdDx~l-;I89pkKaG z2mF7t?kODQ_juZ)xKS;CD46qV+LUX)9fyrIcAi$|rN%2tzOpH6R!ouDdxuJWT6|&p zkw@F#Dbw)qpFQrZ?9i%X!LSGU?pAp9>c>?wJ3nr{xM0l@4PG92JgdW~KR*h|u@7jZ zd3Wo_)7oBd7;$CO++$}h{eH03>`xz;?wI^h+NMt*o!b^w>i+qWpZbJ-ar>PgLoOBW OS!2rl2Y={y9{hhCm-`z4 literal 0 HcmV?d00001 diff --git a/src/Tracy/libTracyClient.so b/src/Tracy/libTracyClient.so new file mode 100644 index 0000000000000000000000000000000000000000..72a2443ce60574cacdc991461699637a8704155f GIT binary patch literal 1016664 zcmdRX34Bw<^Z08iSP-GymteVXXwn-H3T=RLmX=!}q-{zAX&REW6ci|k$R!|`iXw*~ zC?Ftmsi-Il3ZmczsHn&-AR^*{$bV*MUh>|{OI!TH_xu0thvl{N=FQH|&d$#6&Tc20 zdUXvB3XYV?`KkP_416);vHQe#GZw3#*$)u86>+ub z2j(*ve#7qu&msK5 jghyY1`hSIMR@`(9+ey@FoGoJj^ekYY;1kJM%gXJfdf$1K| z_;aB8Ar7VpdPs74X{SAz_??zN`S)oY)t=6DBrk;RHXSLNUFeNxBI)*G7S&)5~yHFwyA z2C1uGxA%tEQd#(L5dn$a14tKU@$PFhh2<=2N! z5-fEN-cuN~E;uASTnY&;B?Z?^2$6z<26rwaHJcAuU8KV9VGX3pWvfbMLqeoV!J&n~ zZcyTf4S>T2QWZ(s8x}EAn$jSo{`82>l9Uo84Q?J5I(1@ zRG7Ki*rmH9l?(3-!Uzj346iDM1ucjue<(Ppa7K8@iWLp_bOx><1wk{`DlGR=LaAU7 zKrqxTG^u_#@LaWUiWGLLW@ut)kQCG+B&2%b$b@yxrI4^nQ^JGcJrvhSLJq^EvO*Oa zHOiS)IBiN{_*A4DDwQit2uqN*s4<8v?Hngy8l|m^Y99~bAo;Ez1&|pSk zLYeT0&=sK}Qb@1Lp_@$B}x0IL4jeCrLg-GIWv}Z z4GRmGKnB23uoPSsnk=C(e1;SZ-8`X8HZ&pVa8Q`EC{!u~kiAl=(6W_+%Z4X}Pkk*s zIO~bfP$_Oz$b6~)ha(H&{fIL2%Squ=g2Lge>19`R343mEA~aBN!qkw$%}r`fDK%dT zdMv3_{hD*6ux6oBSi>^!RI26-uGOIXzF;Y-FsZO?C28Q)c7@$5Ea)O7%o!QdsxW(I zmyxri=x}I?sgkrGR3$qBwLCOTDwL!~pfsby!zC%aKGcd*P`S|Xi11Rc9xm1Fqkdt9 zVIj_E3!%o{*MX!%q@*n=g=JPRDVqS|2oIIQ`J*mD!C_^kpz#b&ow`&C1NCYq znaYMpWkLPw_gf@A84{8JAJm7UgQg~ol!BT`^=A|Yub3bA>0^Zn&T_$pjl%N)A-wY5 zk-_C21yLs0o6QVLs2nZ@7fOw5h8J3-a>0P`v{WlBeRhIWw{uWZc#x<}VMtt<6b@?5 zDR{Kxl0rg58k?$yg(gjbW{{*V2~u$F(1Z<+MNPv%Zxe#bNDB%Jr72QqNJ?1Bijmt2 zM|N%?CD^1ez^BxDMqx-{)r2X9!JV5G)|3)LJ5Q-pDM(rUzlG;_{PRh8o`rl4@_B|`g6Cz( zS0Mia`FF^FK>iEz4ak`OhI~`}BuW3k^A=<@EFq9FmEkA-1}1}lFAL9mA(w{??IhKJ zTnjR$I`F(7@&k}TYox}In?r5^xeesDkTDtH83{QKay!WFA$Nq_336x1iIBTO?hd&Z z;|Uei`z5$QvNbX*2x174mk-J0S0Z{5oVz zZ^H8}$nQYj19>mxeUSG%+4F|J)FsO&~Yr-&?@5CI8$So^APO^c^E1$MEm5{A>r$ z4v;%SPJrA6GNwd$n)qk@y(|3OP4Rm&{M-X_FUWl%!`LdNLLLBl2;_$#4})xmET?q% zITNy#VOj9Z=ATEya|~oV2S4gA~$&&~Yv7IDLB0SP)6ej{3i)@)e=&^S(EtA+tQ3rXkV`=h zfsCmPJn!M3%fho9kFUTp7Qz2vO z56^*+2l4Mi_&F4w5An~#;5i(!nSZyyGXrua|DFZUZ2s8>&s@l3`F9sQ^B@;Mp1`n) z@SFsBD&)r)M%=*sihrL8&)NL*6Y!h|c>&~w3|kD($Ug@dzq&Bt=7?*KygL6(nA;$7 z;nfUN&(@P49+z9SZMR=P9@pF1>(YRY*_~Ex&HiThsXv3)?tJpm{`uujUORhrfAGNc zpL#i`tO%d`ovpj)p4WDslNtv1+}Wk^xZk$?H1flqGp1IrwR4F5yIu{JED7p)-(Ow& zxJJG9+~R?CPd#$)!M8t~J3ao(jrRt5&bRub?)C%c9KZa&+dc5J<8zzE$KSW@&&dk{gZcAa8N>a`Xr>?%b zVDb71AHUk>R^|K3?R#qdx;LHcwq!3``grWoC)X$SIXi6l?5{hWxqs|{RiAeJ{n_A! zomT$g$lDOna?^c}eK)`SBfXuc+k1{(Ik2fzzYpV9topf^bIZ6T-|n3DL6<3Y`&I}^ zYg@6)x_85WdGx*9e=dJ9Ipv3p>F>12x~DL)xxH_N;3W?>tW^G|J{uN(+Wew(PU}_G zT3kr_dt=`0wml;@)ejpyVsxEfzRIY-{k_$r4Hq7tI(GA!1{({)*Nwb*cK7vtBq&sY&2h*(c^*k zn}**=+1;=E?kOkB52+LUe38+VonrE&KZ$S4Y%;yuqre=fnEWn!ESu zNmtfNZ;$(IZ;KXHde{8p&DaWK5~en)p8Dn^?c)DQyK!~xHj%YQSZL_ zcm1cw1if7Q;<4H*MqSQ(toyWDA6`oOyld;Rvnp=rW1q8b*{zh_)wh1UxO04_`+Uu8 zsa2~TGfsaud)?f*bN8-4b>r#}?^S79_T-vz?>4KR+IjGet0zA>Iq&V$jWYjy@!D@$ zSGT-WXVn46TdTL7F4%BigT7-Q9D1rk6{*xqA1oiU+x^x`1L`yFWiLb9MO@)!s20H|>4ykNu^$Z*O>Q%HYjgYA^ZV z*N6X_eek6vdwT?}uD@h&zjj-af6Nb^yX@wdpMpKed42rBA)l;S-+jiULmwa88fi36 zPHeF8sd>x4c;e>cx2&V!+g&3cEj6sYz4S;|!}-oR>-O6khfTZZaL9M1`t5FVYWBK! zXW53AerDt7;~621!w0@QC$jgr-772q(x=Cq!-t=+-+X95{;cz17xypvsrpMbr$rS; zJhL^jAj}>#?f|r zrAe<|a{c(Ru}tmPwoM;a>4B$STU|P9=Ej)4+ojg~Vz$3J?V)}jz164pxpV=;}|lnzs3++JD)m-ZOu9`XA4pfA0Hr+n3ZUlh%CtFjvh1!&iR$M#|-u zw#@TStnD}N)u>PYk!J3=FaMFjC*q%J&>^Qz?zb6h;*uYm(B|o$+fQC|Cl0RoPv+~! zVXt1_)2+eA1{Hg6TJu7Ofk{vPeza|qs83ovmUlh#My+1YcNpFvIwG{&tA>bU*Ar%a z(rNGDB;(6(p6T{Lmn$tE`e94w()DJ9%(D$2R`bv030-aZQ~y~t_{2+{4|QF(adhn4 z+fJ7M^2g1$&Uhm0guc3bZm-t$4?1r?RQ|$q4+ z{o3y3&udyt(OW-ncymLCK~)?_ja@c88-7$%UPA5PXD!9eMj$IXQsF| z{x+cIGou!@o<8iKDKi)Ei9TRGzaXyhr`w}Gd3wG*pHfa5XU2pt) zyuv@74ky&Dd9?5LlNJ7aylvXT*w)pm9Q*e8E1@H%mW67)+U)a9ug`a2k`_=yLIqBi`tGADTZ`;YYZ|+z!efPC$ zZBMm4^6?jEer{EJ)r1#X-1ki7ZIhkr4xUb~`2CutO?N%teE-fdd-_!#aHP=}#`0OS z<~@1#Or?QYZ!PTm$hVoJTGR}ho6}(a@A*7 z@E=2BpL`}~Zkfz_la^1APG7C@!Oe1;X8vLSvSIVV55HIKf#8p`PTRh29Q?ug6Zc)1 zk@wT_2g443a(~x;C#HNA)U{sp*M?0Mhj$CU|BLiRBVDC_o;Y$z@Q)P=CjZjv&4#Iu z_V1Lna_*M}Q^!rd=k+$tgMxQ1Ir`_v?>`wm=IV{kKUywqJ~BHlZTyIN19yHqxX;-A zOD7x~AWijmI}X^Zb!L7vkb~Z)$j`-)PI#Z!T4M^3pE{et+sv=Z>}NoO>p# z{HJGjRF3>AVOv7)@Xr?xUAcaWebub6l}$gkcPSrz{Kq$Yz3|Rgi?>hRWeq*osmhzp zUrwvA_~y1bX}@l@x4YiGZ{1zPJ~>c%LflKGvun3Icx})l?;U@2r_*4yjX0LR=tTeR z56l>L+0kiXk7kXk6ihzd=;6~hHr{jn>U)znjUF?#{EpP%C4=qB6W*9UZt@P>#xD=Y zkGYz=J8$D3U0W^7+Bo{^xpBAFK9f3j|F8F_HBI^E%W#|1KFMFv%06hu(hm}A_jvlLkFAey zI(7bP^Hc3FOgt8GrCaL$3lsbI2*0xWge}K*zT$i3ep!?>D81+Oua|zXB+5Sgy)@(S zNy)3{-5NTm&wYKDY|h`8)%f^T_%`QO&X?5|AKh{#vtHe8NtwrFFai#b6LIfb3SufuKw`o&Q+iO zW@|XH<-R4ocH0NlYqD|SQ?6GU-1}2qW3RWPxAuu&Q}@RR`=GgzZ;ff1aAD%&gBK<~ z@#o`fmV94+_VCAZ6Xra4tlOzEdn=BL=odGt@i+bIF8^T3@6FR!UVZiBijH#|XM9zm zd;evh<^553cFU0uKQw0>fkw@}M;q^Lky$lo>aDh~wEp&kUq9=W&@uM+32P_zno;xo zkY$?^*AKY0qF={DV_S@R=-k2i18TIN(B9ald0q3|_t$RBe6ig50UO8HZ~EfE{3FMI zYO%KRRcG#ZYkE9%w%>_C`<}CQ_xxOK{iYUW<~4b{UU1LIW!YoSEdB7-sqaGnIQUza zKK&O2^=xsv<=^d_E;=zavr?rYx9Y9#`DxyWtA9P(2R!@=j@fRZ-m=`B`=j~i|4(&xdKHvjVB;mm?Ey{e5Hb*jB5?8!D8PCvS1{+k_tpMK!v zs@B_kep-9N9~mL0b>lnTcci^>z;6bt%zEX1T|*!KMXEl0)nI-2#?t!m_kg~h96Cnp;}0C956=d9 zHqen<^{)E(r$*_+UkSkfjR57A?ypbh@c{Cy7NL(1Z0hpw4nXI4bA39`r|H8z0ot*3 z8GZa|0qVOb0R3V2=+n7aQy;!IQ6C-|fX@p7`o)&v`gGb<(T9(`S0A1cpuc=zkW#z8U)I z(=i2*zcYY5F9Ur&dld>BIePG?`{={h1+a%10m{7|pxp9F`t+*>fDZ{^57!2;Kf?p? z^I?pBxf=rLN#6i+{w6^Co(jO{$pHQOR409YdIZq7;{oi+*1r05qIT%_yB7o0_eOyF zRt~`bp8@RHk{bHuo(^D_E&;xt9$pL}pIrg$*ogq+%d!CU#{|%m+5zf2DS(|>S4W@! z(E;dh3!o=I1mN?HTKe>_57LLP0Xlkq!g~Sed=o&<2Lj+<4PZZ42dLMl0qCqRtIz-Y z)%D>W1IRx&0RG;Vz!Aic?ZOK(3(bdo!l7x>Uk zM5+aT1=62Vir~*M`~Uf~PS27v_J$1>&bA!*PEI@jv~C;Pn{3Rp@gC>FDdg zFeDhhMM`;)_zW6Ce2$@NNauhK%3;rBqSKM_Bij=F*X|>J8ZtaBo8UuB6I?ELc?*J1 zD@X9%jPGXtyEFerhMzJK{`ZyC^t+EFeqLTg{IqBMp&JN)_aMTD?j}->QbGED z7Rl#BdM(Z5es}su67Xo2^L4PF^&!4Y;&@5uRw9k=i+1&XY4dIpB(*ZcjsRIKcg|{( zkAd+g%_TlhcO?F0eIDF~@UJ{d?K_wC;q`6=|9w9(SeNO%yoKmA;`Yj8cq4B2b7fAE~}_zxenOf>&;!=4Y6l;3FCm9M}`-hvvl3TlI;~0frx$M))1t5x(4B zpL8btC1*%7QyBmHV}zg3p724PM0y~d;H@F}5>sXIKg5|lOz>%u1i!`bhR`HfueZM^ zeq=pg4u%Ege|$KV3u-1(7w$(7eL!-q$a3DXfapkFh<*jeZ_E0>GlKO0Q-(*_2>+w{ zgx{UvQ)8*z*x!l%5~jboHNmTA6Z|XIt3AU1uOKabhT2!Q+rNNbVZ9nuC;D=KH1l}z zI*%9kbGcKp2>(zx;b$=X_t6BO#O=G9;cIsi{7NR_%kodJL-1gYy}bwmL3!HPzBOe! z#>s?lizYfS+>7*A9O3V}kK~UrH<(I;A;o%4IZf^L0D-0BBMJT*k1xQ6NYz~g9}!0M z=QI2}Pzmxx5t>`1Dcrx>O(FSXTnMK2te?xz6Q3X!k!+waNZ(kC z$^|z-q)C+s{`U`5E;Or1^=ndnpZ}8jJI1nMYRT=T9p5K)BK$YZRBi#GOaJh=*^l*B zmd_KQV91YlT%Khn_`7w8PY|z2Yf2IQiEQ6sxD@H7X9>S~Pr|>+@YYOUJ8mB0c6^k= zg{AvhZVx6C9S7T6SwEL;CAis4^kuvB+A4x?>ql_8U$_ArUT(GWjMzDp?pHWrFN0)+j|_rUu;eIvR!)qIfBRaBDma+6Skq9uOWr2%a&O${kN&DZMSxKg#~ha)wW2`?-G&(UIe=#99 z7-NL#bJqWw&4|y>2rNZC$@OJ_57bzs8r;4|dJw*BPkL`A{Aw)cR~f%_6v3m;6aRLG zA8pV4^dNpPMi0|`mcu7oiT{_$EJ{^|5gikc<4}E(&RYmxp6z*khHni3AM!fkr(21C z=!POqPa(LA?O{`fe?EZVUDz<(s$^Gm6VxqI(MCHnM z=4I~hE!fVCWIFS}uppgA2T2Z3l9;5`z!<`>2NS#j<6nY`BmBf~WFKVx|DraPTM$I$ z%KfMu7;w~QExa}BTS_6dmu%lIzC!qyhZ3ESxZKAZQ@JBo5kE&5z8xwq=(C-d`wRYx zeA?F#pOsiZrJx}Ye-zup8BFJwaKhg&5q*q{#I%#!Ybm!^BLYkR>>@haap!Helfi#e zy&@RDekY=zIf4W{h?-664Ff&$b3c#!P)(68LHP*Rjw26DBlzEOBp*;ek@9*Hd`?w@ z%X&MO+vQ~*Pi6j}>PGw=Wq(Z8pY70~Sgv+FYHc9=H)oQ3wsE;Dp_(Y?-RvJa8Ge2& z(b0}~*O96{R_yKW=)R^t?Xtu*Lol9K_e>2ZtWPi9O zR1oPLDogyxbP^{q{V0OVdh4l1@I;MYu^bu*<+GFLDYHuxKgYlzAbbt?M=%#6^&Cp@ z9!BC{?nhN%JVHM|VH^4R^0;vJek%6}_oLBF$Hn8geJJUzk>OKn5Pr-VqTh_+%Qg{w z=R;I4P$!XYg5seZB3KT~7~VUC_>ATtYK&pW)D-x^dTqN@PW)b9{10*6W}>r!{R9w~ zNRwGVJy*#8ybN?PIj0kTI{W9H2`trTIhSKO$1{ANgYbJaBL1QKi?p{V!QbTmCAaUA zGQ{Vv82AlIreAL`!RIs~`9O1vGztWc^?K_o_z;rpUtJtd@C;s00CO#p5y+z4wEn=g zxdboOiTG^A_yq+7Khc)pZ!kQJ+i}Z4YR4|buCy1_0QqV73GoB&kVw5jPq5sn?6=7M z=yhml#IN3j`r{bJ$7uz^D{(tQbBlC}?c4Kg-|92G3@Dh;2lnS%FnnAz(P^}W=&xrx zTw^og-(tOz`8mb)iex`iZkMYuM91(w(Rr2Y`#Hz4 z&XH0ixBg5A&xj%aPcxnEOy^NBfC#V7>p3|Le;l3&AIbJa?su2+3BIHiwU_J{E$>6+ zUg8P;MW$2ZHNyX#{n9lIuMz z0J0*by9s_#~a<`JElEs38vrhljo;m`h=`umR!=tZ3= zgkL_E@WIU!DFqx1l&6u`$7DM&ZZOfw=W<~<7U?F_No6|ncz2fllYQ*B$o#)GlISmC ze@xb^vS0vF&sV=hdQwOaDU`>rb+xI!1K9r5>Pz-^2HRT(ORuycIs@~F0LFh~ieUKb zs|kJ|>)ZR8#LxS|BnO!vTwX&tv^h)Vf*3`*!Tt0jmIJ7_NNt)@xmrJ`ZZ^@;u1^kv zf{^|nZ0Dg{iL`tL!AEx`etu{8P-s4s&(Ys#fI7wuHGuX+cxfKLju|rxq-@k>oko!^O>K+cA_(f*PZ0?rPT9Wuiivo z9v>U*X+Ht?9ljvyuia%awd45gwyD&drLObHP-%O*2<{CstJC0Xj z`r7gO*{Z}(^&HaAo~*Zjq!OK3>~}Tda@#&f@FqMzmFwI65rS*i>*j?M{S#NIz3{9Y zrn20QO%4#eFPFP0g6M3oK=sA*a+u;55PSvCD@O{bB=w#~@Zs@<59UIo2ch{;&ZUM@ z`=WkedWgr7(fg^s@|m;c)d{~0+dUYDMEV943H!_3bJQQ(G2F)EOKaAD7#2n94fR0$ z{Te&G+(q!en-HIMxL)n!2ws!zRePp$E{))qf1z>IW$^Ee# z!$ZNLMSi~IdFxz;?|+owtJ$BI+Y!%=A->jbf6#;A1KFO)cC1-zf{*6)4Vh1;k?Nbd zjM^Q~)L<$H0|)k_2$map1>na$#dI|Ga6@CFV`RTVZujM_2;T2eYOnRAc2Y|oFIF&p zILa>4HkQBEp2x9$KFanP*b}Mh)5Onv-AK-p82(Bkl{@GH5thfh4gutRb2HJ|$LlR} z|Lyi7!L{p7uYkg%p44qm^s7O8V5(j~_*#3rZaKl*^d&y;VLcx;li<^MegxGNsUqu- z);^yfNBCO%8C!|ryv_+~AX4?A#HS~Mb^@FNJ0msgUbCBa-lIFnr%eqVpuLx5)IzbRarWDb$YgdDwI8AI@TZ z>&GLx`WD-0rm)z8D0K{GYgo@Fz0d1|1gRqc!_7 z<-zcxoHxNid`x(55>se>E|>X_B(QYCO7INczn1l3W;VeK*x#1*;a>JbCa@m@)fDMl zFpOAkRh}2jXLu^xjdhy+yS*S-h`+CDyVRb8-mL*N(G28xuU8^(}|--)Fr&&w4A<{}>RE z{so>-fw>T=@-qZ~gU9P;+`dN>iT>7$B95%bDa&?s1^f9joul=M&H>H(?Mc?#k^fM;*JS$F8W4T$ z_?VMRaP4@y7!(rqq#5sbgZUNdRc;sUIC!Wk(fO49ig?B!%l))j0rk5IwXvfnp!U?~fW_(P5j*N7)>of1qqJ7MB&yt;l&qb=dlJH|vNZ-~l+;KnE z_Z^-;R%G}pkTcSEaJjNQPwGwZsaL380~r6Ewgg|n^GewcpI$}qeZ2qcVEl2Qs3_;x zp1MasHnV&tb))%0fo8sNv?b9Q!T!l|rZcY`(bi1>XJnKNlbE20ylnKwPe z|unzp8eJKOlNQ^@uM9FuQUHIu%8TUi!?WZ@cW)5JM$OA zd$PTKi0y4HhA#)l1LeP)cs7(9XFRuA^ZehFO}ul&PeqC{F=rK4&#G~5W)Z8 zOL64-&TB{Tlz8IjW9DZa%l~KIhi$_A;Bq?Ft2OW2c4GKnLkND|Kyr}%me<+u@*78B z{6u*cXzc9~kRQ_jl>L?|?@$4wp}!)0A;-&s8i;i7Vxn`f3+Zh-kIPNE5m8VWTTA#= z1`?lgd;PwS;95J`1sn#H&-ZM%QU5UAV0*5G&)-1!pA91V*SHR_91?{GyKiw z1TWW=>Xk+0rG-!smRpzm9Sox)O$soM3>!)KP41_10ZpW-P!7_W&T%rG8UD;tf;%~G zM3%!2_8V(ABz_)aK2J{|d}Dp055t^DD_NgAXx6K3JU&k6@v#TvhkycLJB}|ya*+F7 zVSS>n9d|wlJBs+L*zX0iEYg*gg#QEdLhXZ@5I7%VFuxA*KN#J zg8#_$3k5dZ)s;2^{I_a6>2m>U}=U_NV>NWDn)_tIS?h z?iHTD$a;Gb3c`9F;dq{gTyDp{)nze=OT!Fbg7$O(Ome@O)$m!$&P6 zd^fL0jbermClkEuPbAMqj6a3#RUfvKvc4S}L--9e{`UCC2tKzR^_MM7=S&L0cUB{K z1BNGp!eD*hZ9{N*-6p#;x7PH(i;=}`igr51sn7K7{~|dv}5`cnf}O%1Ruof z0CGFxJza>ewf{?i4Q%(hAHqNY=`E&{(uD9UaD0Ny|BGpapKwn(fhpIw5|oQ{=CfZd z&%biQiO%1=&LG>j!B8CHf5veF@VQ9QT;HoqU$z5pLjxiIlX!hh*8iUi3BI1!B`i#* z12ikrcXJ$$JpOKcg7CHL7?m~1u_iWAZpqB~%8@5Z(9YnebjuVzU zq!;xUd7kwxG%LcJzfoG?9fA2FrpFc&oi--Yhi3>Zt>=C>wK36=$F(u{5uLTXeW2Ocggw|#{Fm>pC_8j_?>wiZ^7#x;FgGFYD)A!{*mmAJg)uC?VFHD<-WrB z2SH9K=e|r|E*I~eME%*%<7`L9|Bd_0Q1)l!dM$^681XN1e7jt3DhvcTj>w6{DdmA- zLHr6lFObKJA6O29Sq`89BAFHueip-Jee1_|PixQTj3oRp_M>Eej*KVxQ6sgB?DuwM zJ-=)t`N(?GJfHBjcD^Q53Hh(ieo;5(vnA_EDb^Ete31r|oJTaK{$+7L-hKta zwf4Lw&o4&sK2b~Nvl%ED(&^^Zzg3;+%YH&Tmd}Djs+YVDe8EWg)p`A2)~kiw?^<#HYQ^+Zh7&(G$C3WX z^?G3*(P_)_NoM?UVFdT^I)F?+Vm85R@_137@ei>a++R|C-=gM`-e$e6$$AUb7wNl> z#7{KG6}M&h^jbv!8jp9fpZV}wfW z^FF@Zj`6HlP59i_YmDCoDv14P@t@{S(p9!g zJ2mU212T!9n!&`sEYJG`z|RjOd=JOlfEYy@>mvAN-tUn0XOoHGPjftEH^zU4=MkT1 z)*FAEPWUghCw?**{}E_UltVo}XZkwBcMc@@>$ONeW`>t;L-1*nNFU_$KJKOjug&ph za~VIo2bG&pmCCKo@boGK&*XWB++J@(zej#NJP(E9L~0pN@R60NUA`c9M>27LtQ=ZS z;2mcCv8c(xs7?=D(l+~_#DgqbQ%#hgB(SI;t)QMeriL?L|8~b$u zug605MLPBr!QH$+F6-x`s|Y@u*Jutc#)qj_mZCf&U9YvLiqpi{u=x$(sM5pzII(@7W=E;@%$o*@k_Bk zbDjH(Y;WIz>R`F$d0hg;E>Z?mANicY>*P>Pk$OB&_!l|ePu9;g5FpaI7(x7Bn9jrJ6=y&N$WiOHTyn8W)U6jxH)YI z$-g|WuYwpw8UW)vwoBC}WLFCq{&axxv?Um1vOK#EAo^Wz5}z{t!~o+FhQ}lQ2e^N2Ao9`+ z0|~AjM?Pk_cDy(M)j>MFJ|a7Ooaubgn&59fO#I9Di%$hO%4dltu459{Yldb&`up{S zpU>+Im6`t1LV~C9I>umzzgmaNJzB4vfP8z1Uex9G(vB~)*zT20CHvEm`^)NSM1LE{ zd4hV2bh#G6H`Jqcyvg{d+fcdvc|N|H@f&X?{0k!pKab(t?c5&m_y zSF*l^gTsUE?&Nb5vfgIBMEKfuo=v>|P(_2Ez;q%bTpW49$zdn-iwfBKUbA5juMEDh0PYU}pea*an7!2q_p1j}j9FdpqZA$RVykADW z8?Ij%MDP`j2=W%=dnyq8PhLNP;ZGzp)6w4Vfp^AZeYJLbAotTk?x)q6&ima7UwiMz zp-lw;=pkws5W7hC&n5U*JdOZ+A}v@#@WEZx?PzB^ti7+J8<(rS-y>uI(J9Y%54w*? zy%I?d?fE==Cc{tkA$XqyzLA}ii2lJSl7CO8bGR|l*WL&6bTfjlZch3p?`!-7_7>|E z&hdxwOy_IX=h3rCZhKg6e>(|(DX*{gWjSwrk>J(YzirNR7NisWOeFrVpkU_I2{AF_(ucR9CjO~yYtkjkxE zpX38(P^7o(k-y!D{p}Ej@9jn9mZ?Vak79V+7YH7mO7Pzp{yo>LQEjT1p)|cX$Kyql zPSo!5y2K^ctEB@7UW4`OFbquCUK=&*P7l69@S_}`AnWHFeF=V?`RvC06tLX>Xia>| z?fxO#y@nb)Kb-B=KlMmH)w$j8Z$+In(O0 zjHKdOQuN= zO^FqUm9{uW1)!)zHAZIS<~S`N8~Gb(ZC9>ilqogckDW9l=zzM0xAndH<7^a9Ho>&w zRKAnN2{403Auu4x1;{nPairb2Ci&NQvIWxn!UqPrw+LGs|VQno<;q z@h+#!N}s3XD{(We9_T`b_-~3*n+O5esPCFFj9`DY8uY3g>BGY8VK9(FP zqi2TirO}{zImqV8?rw8<5XmNi^4YBp$>|ZLnB7);mf{zW1E`rDP6-S}hI71+rXkkL z85Wpi@mNRzir$mL(lA6(6}*V1lJu&;UmFd6U1*%uGRBk&-39+?EnPHpA~dNPW6T-Z zV}xxgx*|e1xs4-L^#nC^JDe_%UY6wMr%!aA42vVfYKNjcXm+{!*oG!Y{y>XMG|MQf z$Ldh1fWZjw2e_@SUb&-e4iF+B*zrd*8e&<5(TvnJ&u$kjEb#JdnTYNj2R|UX*(?+j zTG3ULd6iakA@3lgo^Dj%c#2>g2>67_Qnut<1AYPMpiVit`HHS(j7BqU1_y1F z87%53Pqx{S3kJuUF~*dV(o>APtl9C{jG0z1hi*$2Yl>1)jG{AY(9GaEcx)ECj;b28 zWU-Gip09S1kvfH&$HAD8;<9Gh3Sy#wUFrr!d?dQB-badWgvMyu&r&r8m6Os_*|VcW zkJEm~)i&#WZ&MR6ih?r~9V`h%or%^62hCjN$SBJ4^#Mi{S{CQ)YXnyHI1;wEdlvVh zrgI1d%@ka@Qo+b}$;-+DmmCd-LJ^IE1w85kgIQ6F$fDHP?Dw%v{k30_f_3dzns3x&gB|{!i^rPTH_zkDlly~$ zKkDwXjQ#sd5yV8d(TrdUX^|evjfcHOjq5{=R9h?+$C?HgM7=|Re^aZ+A$1$;ed}X_ z2829EU{Q$geF)|}#~4TMI0s4AH{7X=nBYhD32@-@_Y6cQR198TDJgoYfyQCcsZA-0 z7c}&_?Y2y7vI82Jx)M3rX&#u8+DD=>6L{O(M9N`4wosti$%yd0|wW|TtU?qrWC zGRIOtUJH1U+Sj8MuhGrT$cA}aZd_)b%YwsOvOUccEq+YyWjB~0N65)!GDT;AyX28+ z-`=;0hGcub$&}i&zdRkJq7Bh<+2(wUJW z+=hsZu>%}-+Zd~TJWZH+WK!T7;}UZn8F?<3)#2%vXU(%Fk?+&rWwCkOF+Ax}xMa$L zivBptZyu!lR%S9XTEjq!D>pMQ1C~L?JFRwfKrL=7%;1#1w1WTJBV!0e#t`W(Hg}BG zVM#Of1#6?|HHsoNxKZwL7AMR~1Ul#<{+jHa)+oNaEmln?Sn-GlPGAwpY|Ba>?1r_R z7+4%}WSWzEh#wuf9&<7%aJ1QMbDKSRPQb**PVR3u!CHpV08n&Z(6oRl$ph~Uh$W}R zn{lNhPJU}~yKSRHIpP)Qu+TD7zA4HBO#n5EH>dR|nJkh5wv$F^Nvf7G8v0vCjk0Fq z{KyV9?3|eihQf{Wc5tZ7z@Zfu%5b&G*CK(wfw{YI!g{iwsZZJv0W&QwhIFE6{1`w7 z9tjl;Ku(^=S^)D~@cK|OLD~^8D+5b0&J445k2S|^b-8j~VgQoS<2~H!qGO2CVCfMw#1X-? z@j2|8KIVyVUH|5m{B#Qz}c>|D24Rl~BtT7zkTX`?YB+v3U`hs(mC$TaF^jE9a2HpAw~ z$`z|Tu-N0BUwf6!5Y;(jOq$gNYdX+dVTP?}b01O!Xc>6HzGXU1?>9yx6`@{*<^iMis{xB|$@+8>|>AAvIDrQX}swRV+9M8RHXO7I!x5jmef052Fay!R&$Nf}bs7 zF+j4UgUoytG8n*+%GOO;rmqsP#_7mRgejaG*Ybd}s-qhsy25;Spfv+l_LIGqC>boS z$z(9Xij`P&cfgvHlDYvG)~GVXvFc?}BykZEL~3S=xlUlt=8~{A@d;ZJHYvlN>$c)= zzIMan(2-D=<8#prTCYb_mp-sqQnYsk)r~O~IPJC!8wymoOa^cmV7SP$n$uw~$zi4? zXNB=oI$(E#h3GCgblD2z_4N`tyx=B-t82?wy1E8~CmWp@(M{srcB|EiivYULHhgc& zPwk1_O6!~VH}{VK=LZ`?XN8)Lg~^nW4-3euriqnxQrRKWLH}^2Rk8d7EAZppsQxgp z!4i!rRpF5sqU3if+YM~;#+B?8din5eDCsO{`?Sdb=3Xu|*Qw;&+iQ%*F4*E}7T7s} z@s?_X1FxQ)Fh-bQ6fFu>^p~zK^gSFIFb^EKV2!z=)@c6+2mo!T>4w zS2)2MKM)i_-HA)0_*hzm*Q3N zaSEqbt35`gT0uP&Dt)IL7Z?HE~I^tdv_dRrRf*krf-nW&q3TBO%e)C}ul2>wL$1&vn_v0w!s z+Sd$mF#L;2l}aw?`e1kIZ-cE{C6iI`0y|40t{rK%>Tu%O&6$_zDbRU~dye!{NzWJ~ zSGhB;gTvtCQjTg~C#57~Mo~ir?!ZE93C@H?u!h_<{ovl-Lla&f9{;XtZ?B5@(0G`S zG!HZyjBc7qsph_gIzxm9W)? zT1r|Xy+xVHItxZfOg#dA7mLmiG_h=yd5#0nl-zOPjOc3<%)numnhp!MR{U7CAMPvL zhm>TsTLR3oqEbN*T;Sh3b72Qxg%sU05dw|`3r?HUDrIFjJm4YXVi4>Sip~g2$O=Ot zbFH?AB^QnQyW4G$qQ9nfA!<4`rcYq;$*{Bt(+t&QP+{AAm~p8PmX>b~glIINY4lF} z5?wZr4fgSrcFjvmW1@}V&3Zpnen73EW<4ei?1t5&1{#b5GM!yqu#0K?)EnVFGQwT`q!9>DRI1cD8 zF?YPnzOk_vMjJXv9_n5Ln`Mf3G4zYcqu5UKNyU(8w_0#f0+uPssZ}~W>KZ8>K9$I| z#Vea5sxQpBaRE^=z^WT83RetF9@rmNaHy$6=Zp-iQ?(}Gt3njmo(x!TX2YUvo;bOK zM)kMxS}(`yup-5#!b(7@WgIM0!G;*dPvtm${hN`9K{bEg;$xF=ngvl0Vh&Xz;d#F` zMDoY5G=$*-3dNH7gO%Zc>p_NCS`7)XuvBt06rBZoWct!I8n_INRp&XApSAZ1ujIu? zIs;6L<4`k1^+A6Wp1oQ*EgJ%Lzx)mn_?Nd+EQX4M9b+-@n+8E7w*eEPJRY>B@vYs*lMOwnSgOG&RN>`1f} zie6F_Zc&_atRuSRBJ@WQOX#hRF&ecmEjJGWlfbU(4FBLjmWDPk;{&W(nW@aEy3xBD3=?rR->J~3>=3eM zkv9r%Fzkq0^MPpvA#ZDYM@tRYDH$-qQ?eeZa+j4RP4+p^F(I$SJLC5jV~C+aImzaR zjVK4~rYI@+(4q+~#e&m0T$(77XYa-mNt#;aUrvRm?#v%d>glv{yRB1VJ`ItcF+*Al}oW%;@moB;B_~ z;bkJn_Mfj*q{Wbk3}VL$P8VVDMsg2%O@L!LfCsZ`g`~e3ml4DYb|OTRB$+WhMEL1S z?)+8`6cWJY4AD56l5tWmOIEIRACN;btWoqA2E)60kroTmN$adwHN~+4qdApb6PG1G z0o@)K{PVeq@_GP<@Pig-;TD~Q3(1aL2_ldznJ^2-4LX>HbKJZYH}odJrY3EZ1$+Sw z$h(k%Q2+x&O#_go9k`7~rK(8Q&E5btV`e*bdhxz%PrVA!;DDMGnmBL2PE&rWElNUS3Hp+%8;3_I;y- zQk;kP1JR#GIr9SB4fV@_imO2rMfy0a_M>Bt?)f z9K^!a7oEBgq&DeWS#d_oV5MErv6{ZK3p2kb7v9tJ4<7!g#O;VJNO489$#Wy0ck zfcNQEh{m9o0Wd6CKtsGM5`lspi$sybBm*F!bq(+;BM%Pz<_NV7ghAe}(!^)k;CP%F z!k_U-w5-hpgp~?B`y&HkrP~Ezw%(0u#TyRK)OqFPU2U@a%7RJ9-5iI(pF+%rkF3xw zo%ixiyD`ceq5`M=FeJ+Cf|zNGn~zXM`(6X@a8gekd5Q5s=_87rg9(ex1pb*~j8S|q zx(t1B@#GwH-7bcYM089(gSOT;zG%hwZ6azm&TN}-( z%0nE6c%M9|EQoOnKo*>PV>FBczAx~&z6dadAs1FOaGnuGRNSDMFjTl9luyh)2r8CG z6tasmr+^e-hJ+l$oFpd)CImLfrnE#cM@fNMf=@b1-9nFFEKFh~DNqnqOHu3v7$baq zDz;$+JBs$;J_3>we8HqsbOV4W}w3nKzc(I1(d*^_I|g2TqbUBSXo9R(HNXHg32X+IND?#ho*&wQU6 z;(Qet1))>j7Hg>pB!%8R1`P$+3&p(FsAzn} zX{-sE*7Q7BGsLc>qr2HkDMmq`%1%+N*%%dHC}~3MbBQTt7f;VVA;(f;dTI_05fBKL zo#_&rHaBdF zAq6;v4RVYsFqz_=d2Toj430A`rUh70)_mpNJ<7D3VFegT2?1c;OGcsCWod1R#qOAB zKDb@UX$7GlSE4Dzf49XD4*|g#X`Y6G;9{ZLtunU|rmlUj&<7)E61^T{bEf5`i)l0} zjO@;3T5~{$;LudMIF}0oH^zHk;xGY+w^bOpZ=^sG>jC~KTJlgJUeqHa`gGa=JHOED zbH|I_H4_Zu<9QEQ0Z^bv2yh}Cwa4>tie9K)3osBSQN-I_RJaN%0pDmMEEFY2i|u~p zYH`t}%X_P`4){tB{3Z^1EsKNJD>d>6)Gbui_Vz39>UYtMilL_D_0s6L?2)tRMI#w7 z3{bG%6(aD!5TR$3W9rj$fF0L@VI5XcuN;#(!)^k%B0yW|6Vum@s5JB|i`eBIs5RrX&5aQ5FYWFn$W%4u}SkIbfk-Hdhj4bpTR8nrgck7)=#} z7!XarBluJ+;D>REF!3XA-CzX20Uaio4rb-j>3438fS()U2RLE+W$g`mCuA(PTJxn$ zJ52Z#9;hKU5%y0!6vrvlRUPOJ+o!(q%m2MGmICG=NIln{Z>3#Sci*fmoXsj*B_<=? zobFNjatMJ_`-;Oe8E=o3#IfZ!^VJf{N9U~rq^G$(8fLvcztoGuhVLJm!_~1j9Qv6d>vTsgT<7f@csgIc})?;JD8de z9Q~$)fJbDL1HZ=plIYA++HHe^rx=sCLIPgfax*aI-RH3Rc!0=x5tE_} zeNhsL?VOp9ck8JqEWYpK@rqNp7}ds+t~#|a#DGHur=-OxoBp}|-5GQrqz-CaF9`VV zjvS$ffLA!sIZfC)fE&K#Q+^QN-QS!tP;s0Tyc)bfLv_z8)>o$paebo9E?&vOC5U@T zl||&I41{;KP6j$FJ{@5!2sfoz zB(Q$4DeRS~{Mx6%uw{lpOIUR;H8403*zZSF91}%kI;u=}QFtV`*cX+RluIz+Nvt$@ z1J?_Qi;l$gi%2-vsYBVAYR$-}n~30CnFs*)sy$N#jnBxZS8!Uy4$FNR3U`!|ASTR` zIl$Q;mW!1U?8>*|M$puh4E2J&DokJ9n3@P@mCLMt=WQF*6|QPJnsU2110Y#Mezd2smjQGwJNB;^Og!;mB;M#z^RyQ_|GjG#-q@U_+%%~oz+Dt;3|dn!PUhp-~sUQ za#aX~ibEj?M_91t@Z>61nd6~;bR0s%jSsG-?uBc(@xr}=@T!il4E3n)gL_Y8_*%vH zl8kJs@L+tEh8sIj_aIJRVFnZzd_dzv+zMpG8{KjZ5CCduY#<)YJ zqztCr$2l5yK{^_4$cCHx;Ox6Kfb}g(9B`Y7pFARqvF3ta6m#m8gLe!9l4?%jm|q`Q z)hK$15JdF{H5<|^eoPBEC=x?T0>F{Zpjh%&28#a8tgT_Re>1B#1>vG)K6Itn=2IA4 z#i=YG0*1RltP%L!xG3j4P)uMm%oW{m5i{VR&j#+TuhT_F_{x(nuMl_H(m5~nNrPxF zE|;g^3rhv(Y?Q+a7ySBeiq266HXDF|j6=KeN;gVTGd`4zJ5FH1Z5gyRY>e}k?}vbO z^qL<9rBU|Wbchm*Z5?!PN#1%ajLUK0K)&sx+HAgcAevH85B_ zo3gvDR*1Kg$!I4Rnom?-e@Q>G+`SjJYu~};?7TtY4MqM}(b^b64g-c9q^%5H zrf6-5G51Al!#XcU!4wg#?Tc#m3yX%55{>$|I2QAj>h4Easm8Oi$*J;DE3R`eF0uZ|KmFlu#4XA@s6TyKk#yPhYW`IV8?BmirW*6!ZP8R z7nRBS|4TwDPMJ}H;f1(DS`pe~Fn-l3+RDP282zqd$5S+X^)5@LL?=(8eVyIpJ9!d^ zCr`SF{XDPI6x#`~->J9|cbVZnr+m;wa#$R>;uIdiVEL>JDgzcK+M8*gs(jRuTxTlTDFE_Wh-uD5*5OGl!eEv z8Sw9H)#AFs3LmbJfF4Ad>3%>_s>)@!vt=4%Vbwj)j*(M5t23u#m^<8tEKZCmy!<;` zu-D`MA2ej(Kd$5T=kIJ~)tVHKac&s1uAbx;qrPhGE#5MKuM2Z-h>${MQZoRiKR<#MTCkPWM~a4Ej{a~?vg70V!ABU+3gZo41LJt=Ur>)2);1M(lWfXswf@^`09 z@S3RE%@&u-LXEE~TCs$wo$V`z9`E1%lDSmRz?GPCN7lzIZb~DY^MCiXy6lo4zgL%9 z^6%8;DQA`j^=&=>x5o0wxI7WmV&*?)AZ!!<9RV|)OmgModRVT5oegzWarrCF6ANdY z;K)U0GVgu++THJ#8WY@f0A7pU%o=8u>|O?5lhVY#s+&@)(pqFq)TUaiwNcE)kk-UV z%L^|0nyg_&JChIak*0_eex-^zET$4FT&;R*#G}I1@&e(%qa1Mjv7i9{rb4dME&j9u z9&5uL3jE_6$-YHKUvQd!7?+4=q>T!JN-<=lrfZkqQDCaWMRPEOifKG z4Ja#c+@?Qkezg3gpkxcGjTayQBOXG*FRvUXrBD>i{{E7U(1)$uY$iuA}&q>lj|3Fq42)*P0=E@!USEcSX9OJ+a1A7zk|tHLLkW3s!?%v{W_7ej=6I`p(V`$UDP7DWh`()7>b_V1UqGyo=la z>a{ytoX#ct(RiwxCYTT=Vdcy3?~Y($V-Ri!w7KExNVw8P6iN#d%D&+Z)hoK{w>{_3 zse6owqDjVTW8@Uv2vl^xEcOaou~08IO^R7iQ?Ae7_OdFj6Dk)}@%KBq-h6i&A9i8` zFHfcNU&Rizu&8qEbtZzhuMK!fw{j&3Rvu~dy@-{^J3S57t^t6<>Se-jA@i;m?v=pZ zX@C6%2pBBHs)J(GyITf8o^<=9e0M5pF!JK7&U_!%cyPL(=81zVfjk%;>N~)rnOfj{ zEE=6rSkZRj*+2LTcDT_Ae?U(g&jay7;-&+b^g)1AQB)z+G*xUF3MP18_O_=1-h(i{ zX+ZHCvvI1{M8^h zdXy?V{Y5mda?&6saLNh*DVRe1>lW3SviMg~%>V|#Ddv?lnNqZ(0cU7%XdxG;PB59w zRsKyv#fNr(dFyb46ILot9P?4KqBntp8{R~3F~Z*m5Py~dSb;logb(w-n92bUnfON( z@4!JdaZU|}99d)Ztdjct&>iY8>N%XU$Edojd=yVJ54a5`;8qI`o%ESTeX2?(pn$tS z{`&vHD; z!r4POw1#)hxpMi>3*Q}WQ;OYxj%LDv&4kU+S94JL&Z?ckh_Te(?Q#gp_S>REo&PUR z4!rKF*DwEH6#n0wk@(m6?r5A^(Rl@`|G*N?J8svSs!LOZCKorS{m%+g$JE~CvLeKY zfPbf4wV8QmyC|uLA&L%nz+rt_E)#L%&^2IY;hinP_4L+Ja3}2TPp)G9Xuu&Fum!>c zG~o5hcY59irxIdZ@Mof7jK#xAZnv)*9t&Kb2a`ppT1n@1#ZvS4knhHf1g7=0l2L5K zDE)q1#nPYi{)=WQ8Q}nv>0-sG-zds5z5ZmewEUYyXVM~@Lf@=dId2KDAEj)DD6<*P zCE*|K`EPDO!Pc8RxiH3>A<$%09_&fO!4ScVm_s>j`MCk^F)5K`N;aL7Hv(mDXiE7% zoW~hqPU{oL|8Pp_FJuF#iVNBZZ6R!hdi_nG?up5);y_8ExCaT zXvFnr(t)d^FDag&t4G({CG9UMG4(Ij_^J)LeyJsw)Lrr+_1Dg0d76GVr{m;w!BU(& z3)aS0-|cOQz#G-#QY}zT)ebuS-33MT(_M>UG!+#!<^5|NcWc z5Ab-KnF#gqj_@#yiS=US!Z#C8`e^>6i;m}|8DW%em)~-+ckLY)i-qXm4=~s)a1b4C zrnSMJ`uH#Lp_YUZB;j*4yq?!x=S6N2uM=1zdH*X` zZ@C0sl%}VtUClet*VF|4dz<%^F%Nl~Eu-Q`JeIK`z=)@&hhfn);K3yh!c6=(wv6Nj zQe&jwB_nvS1a1RLg;f{)r|T8T&Ok9P+wHD9>N}^#I9yO41NU3QAA!K5+TtQH{OjKn ztS-14h_>bK5=-p0YA#>6v&)e>{+ChqzwT1C)Jw^*xWn$=-CMi%+oKfg*Z<$_j-vS$ zaV0Q|!^H}-dz{kM^LJ9gNt6d61A1uUBm83zzR^$p5eAU+eY-|*XfxpNT#{cWyToRT zF&QsjD9SU2KM@BZwF=i5{IML%7_0D)eI+a12|edQETM?tePkOJX8x6DiqmX3Vff!H z8~i`7W31Os%8H|9FF`9QKe_!jQhqIl5^W2~qZy32+A|b>t>EuJD5nT?v5_K118ejq3D!(ZYawz(_U+wQu(cr8@Z=jvsbZ>+z11su}Z3C#S-ef+WonGjaPrKtMfWN)8FYSzH6$#K~8xZ zRWkdj{#^K3)H(kbj+PvK>x;&#Io zZTQFY#4D32T3pa-g0o5Z$97>V0SoBe$c&+{1b;#V94vL?YFJnJO7MZ6uXOvalDFh> zuE4GxSQ*%*kMz1~;ut~ZX!rwqMYuV5>52bn;5QoHhMR?6UZR=)A~3DOsv279b>IrX z|Cwf1F@C#^to&Ga-0>-wx`~w^svFq9)$WjE0v4?ppUAKCss{7_Q?06Y36w5H$vUs9 z=C{?dekH3qugW^A-GRF&UvPN?8AtSn{f#5I1l@}?jvCGteo#rotNvQY4FYcUO{4lt z>NrupMJkM6^|#EzF5@(|=#@Sb8dk;EfyOY5*MtjM!DWNEWwE`h*JXV(sX&L()f1_I zIgJ5HVL$`^IkUh!LHdJ%e`r*Rr`+DLAQk>R{QqO`-NWmus`dY!wtBs#N3AN-7kKQc0zOaHN=+F3olmNtI~4R8yrIl}e%%q7qGjlBiS@ zr5cfHs#JF=^`wXzmD=C?jyc!dV~@QC(I>lllKa;GH?j5)PY?gGqT~53z6_mR<8x^^ z0RO>d_P_c}cj6`OfAYoE377Q$;g?q@mginz{m*r0&OIHw5|3>8APzsyvGyHTU02Sb z;o7V42flDsEJ;_JO&Pw7&}R|90kP@(HW+Fkcl6j{8 zcZ2`c#zZV_s6zx|zMen-XGFaEHHj(`{*d(*SD$n3HRrqpfAr!V-WR!yj6aTh`ND<7 z3yAN${PN4LC6$vdcRFAHyavw(Hmt+nK8nA}UseX!^QYMHd1d_NYWL;pD;D8>g1Y)e z^%WN^y5M|zk_uePKYDuc)mPzJqA}VSN5M2Gmd*JCFc)ACk?t!O!;2-w@ zP8)K@D7Ytqb4nsng8xss>Z;iZoNF$C#(#M@yL|iGF1-v~^`aY|NviaDE)_m8kqq{E ziLKtg1om~$x#}4SoFA(~`f-WdeR?g@uOGex{t6Rs^ZwpB{t2AUW+$%le1oJvBT?`9 zCwII%KY{aLwAD3wLe3kI5#OJ{L$NGOp)&HYgKYm;yk)QaQw|DiMsp>Z?@jY+P z{LhyDn3MRXw?9?*nTh*6-zxqJ5_@v|%?SRQ+t8i(S0G#T-~K%L)@t-~A3-#aurl-E0qewWv~jQ)_<`;7jC*N2RL;#Xa}MveX=ua6nM((8#&ihj~TsWr)yWDJ-7dpUN18GyS-jw^aih&8U2%9uQd7{UavCx{a&vz z`p>;yYxLiHy}{@OUvuqhHToG|?=bqyyxwK>H+a3z=orDyjn`|9ewo)BjDDThTaEr< zuXh;z^Iq>V`nSB^XY?O=eaPq;ua6r2sMp7gesY(O|4-%i|5;uyGWtbcFERRmd%eu) z*Lc0s=pXiamC--v^%|q!>GfKpf6wa;M*pSPTaEq)uXh-IcDL(?E~B5}^**D&%S$Bdrxdg9Z${r_377a9F7ua_A82VO5T`l#0{js8ckR~dcw*Ihr<82t>d z*BbrhUT-k^o4np?^bKC`FnXicEAPzhhnQ=O-ufk1&-F&%?)6%u-|h8!qmOvK!RX^& zZ#H^Krz^MB=+$0tH+qBDJB&W)^-iOYdA-Z%XZY)=9-~)!z0c@ruMZmii(Vfwdct3q z^!fe5tK+NX%GPZd{6IZ7W>`Zauz=KmFc#+6G` zt&c1FUn~2BvhPrOfzn?GU%b!azaph?Q1vNM`Zcr@>qMed>0k01KPr^IcxE;ssq`}; z$9}4m{ytT1^JiUqW4qW>`xJVo*H89_rT(+a>)c;1VqHRy(oa+U)2H%xywr9YCaX5NvQbjRDKGS{srZyNa=;jPqEk8 z|C>}jOT0eE=%vcfpOybIrGHN86-s}h(kqqzQ&nzK>8C5bO6i|ddbQVC|GSl5<8{_w z>+6-D8&!R3m0qCy)GPgs@D=}SPpso>BT*Ri9Bm4pXXD_0K5%-O5jK zhZ`R_1F>24Ly6LFR{l$szD?<6O8=PhQ=#-*RDCLy{$AxLsq_~q`zocMtL&?le!bFb zl&-3iSg-W;Dxp^CuT_5Pm0qRn8&q_l>ZK;w<-HhrQ?BF z_}8U$j?wYI9;F{q_32YO_kH|tQ0eirEv5}A{rjq(BTE04@;|EdUnu*G(qEwTF{NLp z^l_!9<4W>#dp2$#RrUo+->d3Vr1YDWpJJsCD*F}T~$gyLHVgx`cIXg8l|72>c3v;?#ZNcR;%e;IF4=KG}>8GjscPM?9^53cSS1P?r>AzICRK*#_3l>RoQ4=VkD(ub7( zEv1hreWub!m42nFXGZD&qx3PQ_s5mQ=eW{c#QVh0XXF22)o%q#KVIoYN?)q91GzWlH~*s(*#jpHlXfN?)M#q|#4PeyWuIBV}K$^nBI-HA*j3e%34f zMAfcZrGHo1*DL)~N^elQzP4^wdPdc=Rp~pF-mY|BOU3^>lzyjbSEtg?QhvIW{$T6` zpFK*SqwM>X{zYX!sPqr0a)*>2-y1O7h|-rU|D#HurSy!_pRf9VOzGcH_Tx%FMb#(q zg>3w{DEk7XpQ74Tr1VpjUaa)FN-t6RLFKBp)1lqvn4s$CUIf0puJsq_}*C#m## zO0QD-A60#-mHu8;ZjI94qwLo!{jEx`Rr)zfuUC4W^53BJ_bdBmrT;?dtxCT_`Ds`B zfNF1t(i@fDsr2)d|1PCpsqA}{ez~&mQ@Xz2A5{9V+FwITFIM`9(x0o!9aVaPDmSC_ za@7xGNTnz zze4G4sy>xUf0fdcO5dvVDy4r`m0PX!=PJEM>8C4wz0&6?y;kWbs`}R}{RY+l4N5Oj z_RUIfQueJ%|B))UUFkcOpAMxzPuX`WeY^7CrSxAb`yQpAr24Z@=|5NYgG%pL^%+w7 z&y+r*^j|4`RO!!G{xeE1QTmwD^Oc`*rEgR1P3*|V|9s`AKQkxoyOp1$(m$^Hp-SmLR`%6Ozf0NIDE&rNpY=+A zwW?38(m$&7dZmx4avPMsNtN5I^z)V8s`P`(PrK5er|Q|E^#4_Qr_$e`{C6pRy{dnY z(&sDtKBezh`k>O!RpkyTy<6!cN19fPxoTI1(qE+fS1SD`WuH{~Rmy*r z(qF9nR4e_{s=YNz|Glzbuk`rYHj`_WUZTpaSNcWDe}mF5Q}u6F`U{las`P!TKJ7~1 zp~~%0`l+hiPNjcZ*>@@Zer4aI^j=kNpVFV9><5+pd8H32{TIs5h|+sheMXgjma@+% zeUH+|lzxZuGp_XCDEq{hvhjbRvM*5jD^&f9l>U_RQ>^qO%1?>X7b^QwrJt?zGNpe+ z=@m-9UHPw6`XXhYRC>OOpDLxFqwK4d{(#bJl>US&cfHczq57v*>4%k{dZqtJ`Dsx4 zE0x}?^mCP;R;7VUdQ=#;7Rc@uyzohJwO7BtjRZ720m0PX!k0?JiN?)w>^-6zS z`KeXZhRrJt_+G$?&s`Ds@AOO&5hrSDXFyVBpG{B$V2R_UEeKTrATQaV@5#Q%Df z{#)gzPw5{~`k>PH#!m1#r1Y06`w^vIrQ&l`>9bY8Wt9FdWk06$h01`nPy`d;Rc?dQ8&y4_?RTh|))uzEqW)QTl~S zA5;2cN*`DHpOv2YN;dxMR6PrnzD(H{Dg9JsU##?9s{SQPe@fYxD*ffkf0@!>q4Wx+ zzg6w`N~Ql?m77%hH&nS*N^ev4)k>eQ{MRVGLh0+3ezx*otMqkBuUGn@YFC5Ok5m4e zmHv>bXRFfdl-{oN{mOrb((hGzr_w8x-lg<6DgQl6U#{%?l>T95KdAIR)el2T|E2OX zqV(;`NbQuZ08e_8n-Q~LWOISDf90}#Yn0xk?AI&(VpacI zrN2q}saN{-N^em550#&0rT;ur8g=2PNi2W|6NL-tMneFuT=i~ zl-{rG2bKOeWk00!6{uJlhRKZ)D3@qe|7w*saA zO0}y<>EBd(vC>y6y+rBDmH$$uzgpF^OzE#tdWF*eOX-zLZ&rFz>04EMtCap)WnZoI zi&XtTa^uUGm?<)>EZHLAV!O20+br$OoOSN@xo{uiaUDt%m)+phGavhPs(eagO5 z>91FMm(o9@>e-|8DrMiN^h3&iQ0c3b{gBe6+4>gO?~zd@Bd zuJkfhZenLP{_B-qp!7)TMM{5*Dz{ka6{?;kO21Uqr&Q?|DL-XO|E(&wLg}AX{wtOK zMrEH=db`rAlwPFtYNe-?{~D$LP1S$B(swHRTBUzY`L9>{YUQUv=^s{lv(nF2ep;3O zaaC@+(swC89ZG+m>gP_Sze(A5DZN*f+oSY1EBijB->vKimHv8F?vT=}m7fu%->2F& zs`Te5J)`tzDgR?izd-5ZO8=m$XX0zw_&-b87byKLs-8tkU!v+$tn~j@_9aR`SNShh z`dgKKnbJS1{8uRb*~(9)(%+{1B$d8K=~YU9LiIzn(toJRtx@{Vl%MrV*XsysmHu{R zU$6Abl-{89QdOU3rPnC?R;9mA)w5mcYn6S6(vzy+I+gx2<)=&O?@)evl>U5W->38^ zl|HESZz?}SN*_}Ch|;f6`l!-Bqx@%-{&l5~DSe&tGp_WrlzrlkZ2VuT>77b{gDSU6 z>CLKLJxYIt()*PDF6Dnv>Caa6A5wZk=_5-2qS8l|eumOBO20{!JErubs$Jtse~;1= zUD^2mhVoOO^!FF29{D^>bE%DznL4=cSw=`T_JP^t7gReh35 z|8M1|O6kSQPqos&uKd&}eT&l9D}95~Yn5K5{MRe}MXEjxN`IcRZ&vy~rMD{mnaWSQ z(z}%2q4dA2dUh(kLHX}e`lU+mQF^oT->393Wk0C&wQ9c)Dg8CdenjcL%Kxa+|Dfuh zQTjUNe@y9bQU1r3{vPEg(VdO|_o;FVl>Vf$FH-tOr57vx&8plIrN2z+rAog=m0PCt z_p5eQD7{JPl}dj=`A;hSy{ev7N`Jr7tCfC>(rc7{gDQ8u(r2mq*DC#5<)>chZ&USb zQ2H9BH!FRU^3$sH5>=merC+V;)1mZtDEm&O*D3#9N`Hy+)1&l+()*M?qWlah{Zp!4 zLrVXR(npkjtMWgp^zSG=qx7w++%ctJp!|<3{cFlk;_KP?U#0q|KQk!piR+w&Ym|MB(oa(M z>y`dNRi9d=U#jfum0qm;Hz@sj<)>NcCoB6_r9Y_rw=2C~`RP#l0_CSu=^s{lm(stf z`m;yrzf6=x3MwR|fRc=P<&rtf9(toVP{wW~zwJxVWCdV}&`ru0bFvqI@#QRP-D{ZGn1sq|l} za;ubniL$R&`Z-FkQThy}uUGmPlwPa!SE+LAm7Y=d4NCu=vTs)UX{vu(mHt)L5A8}n zsQh;*y;Aw_RQey3-lg;#mH!^4H>&#dDg8N0A5{8(EB`}USN0=HuT}b}(mParGD`ok z@;|2Z#i}31mHr;(KjGK&9uMDlDgOmZ|Gn~Gr1Y06y;$jgQhrL5K2zD3Dt)uEfBNgw zJ@9l7Jlz9N_rTLV@N^G6-2+eez|%eObPxRhzX$$M_`JU+n;tJnrt`m7h@X3o`Zmot zHk53-zu-Qp{ISKqhWx~_1;4>Z;qw!;m-(b84(>m8>{zQX?+>0hI2@SwFHaoo56t_P zCk}Q8o+Z3JaK7-?z{d$U2Ifu969+d2E)ZTDm_NAk#KBd8PY_-nm_Ky##KH2wCkoFG z%tr}N9GnyQB;mZkg~CVv9=Eqhcz@tI!oz`27VZyxig0(}Q-!w&o-4dH@Uw&)13z1M zW8h-pwSi9)UKRK`!pj3cSGYXz>B92^&l8>#_<6#4fw_S9iGxRu#_cZ=-XD0r@NnQ4 z2=@nmp>TKLGlaJXULd?R@QZ{S1HV{!W8hNZwSmtRUKRK(;pKt3fD8LSFc)q;ad3X% zMZ$9ebAi9^q2EIVJG4M-; zHwLZ{UK@Cc@T$Ok(fx^o%L6YJE)UEX&(Z$Cd{G?nANb|Md4c&tH}?PE;`Ubx?+?6O zcsTGy!u^3S7VZvwiSYKoD}=WOex-0@;8zK644f2R8<;O5;`k5z8sX)E`Qjn=e_*~q zi1r6wDLg0e>xAS2179xO9rz02?Sa<`Zw-86*{{`km0oot<2H{nK`G6byKk)m6%LDTPDfWM0KFGuV4}6nwUSLi* zV*md+ZhwRD{=kjG!+}2_+#k3}xI6F`;q8GV;jMu`DBKwML&6&aHw&)~oDyCY_`|}> z1E+<{1K%t>KX8lioWLIu&I^2t@R2{o?Qa#{A9$;BN^p5BzQ6^1$~9&kx)yJSXsXg!2M_SNO;u;`a9m?+@HBJRJC5;r_t) z33ms+UwC`q-NIV~KOo!~ctCh#;6dTFfxjobD)9G(mk0iVaCzVdh35y}BRnVY4~6pr z|48`A6LI^8g!cy?79I}#W8wb5KN0Q@{E+bWzDtFYvE~j~t2HKPtRG@P6Upz`qvm5BwY9?!b=64m?A+KQJc{as3l`mhkq#{J|$&{{%ix zxH0hY!W#qg2i0)>6PQ0>g6qG)CkQVO%okX2{TrA+@P+H2z+9k?>z}|U3Figo0zF*+ z{620!7hs_Mf#(Ph2R>Q2KkzBS-GTXoF1Y>+JXd&Y;AaUp2Ih;Xxc&>w7a-C8!2ID< zv_J53gqH{A4?Cd!f%!uQXn$ZX=t27f^MyuS{|4rZ5orJ6xcw!<`vcDx9uE8h;r_rc z6z&ep7h=)=zzc-827ZxnW8fDHZw$;A?$Q3hX9}+h%pb1MQpa9w*m;o-o1(G}PKfzK1}4t&1w_P~pUw+7}5U{4%u49p38 z?EkB{tx^*;k>}F7e4Y>+q=;l{vx zF%|6(TrIpdFkhI(@gJBkuAu#a-zr=lm@jf7{sZ#`PP9Mp+lBK2UnYFyVBG#1;r)Tv z3J(Y74+|mw179xO9rz02?Sa<`Zw<^B%n<*9-zmH?@Ot63fv*x?75H7k%LBh#xIFOH z!t(=f5S|nGJ;Hf`uMs|yiQ8W*yg%?p;o-pV748pwt#EhXO~Ts)^9KQN{tJAaaAV-> zg*OJS7hW6q2H{nK|3`Rv;P(la2fk5we&Ef*a{}KaoEP~0!bg4=x4%Jnf8a*p;lLjd z?ho7~+#Ps}@boaIn}yc~P6@9H{9)ncfz!g}fo~R`AGk$$PT-FS z=LNn+_{eYL_O}Y}54=@)IPgb>`vZSWxI6Hz!rKG432zPjapA_mpAg;{xLtT{;7%BzD;<0 z;2pwS1AkGtG4Pj!HwNw$UK{w!!m9#*MRm@ch7ggy#hQp>ST{9|<4%b=>|T;r)S!g@*(G zShzp%PlUSzKP0?8@Lu7qfqyF882D$x8v~CBuMPZj;Z=bj7G56s7sBO%9}%7(c%Sf` zz`qpE3;ZkLBm3j_j|%S(ykB@Y@UMmY1OG<2JMg2z+XEjE-WvF~!i|A{C%iFmMtE)D zgTkuf>h4}4g7PT=1Q=LP;>;UlAQ`^SX$2R$Q!XsS&2Ie1b!1Yhy)*g92rm!J1$Vgr3w)yR{J{JHU0nYL=7JI2{{$`+KJv@B{YAq21J4m24t%n3e_;OM z0zCf+e5&yF!2H1)v_J5(gc}1tTX;J&d6)q2ay72tK^MvOF zex7h%U@jcT{r|qW{UyTt1J4&84*UY){=hF3?hbs0@bf1kOKQZ@VUZA9*Nt}A3jF>2QC*L4$K8; zi2uOn33mtPLKeh-V7~B={U7)O;l{u(72X(_KU9L}AA$LU4v7E2FB4uKc&TuC;0uN4 z2VN#TC-BRK^8$0hIrjfA;`Z~0m(c#e%Y}ynUnJZg_+sJiz+AwB_6J@eyfyGEg&PCE zN_b=7r109nuNGbvm_LMt{U7+hgv$fJR(O73{_qiw|G=*k&I|l{;Uf>n?XMEvA9$7U zaNsux_XmEXaCcxXFhlzTuNK}K_)Wr%f%yYExc?7aExb1HTZC5y=E7;TKQMn-5#wLr zw+YV=yheCVVE%9d;y>_Z!bg4{x4%Ysf8e#k!-3x++#mRI;qJg!2yYL(PIznJD}@^a za{(FJA9%g++Q3%{uL}Gw;pKtfEnFV>YT@~THwe!O{2t-Fz}E;L8Hw9pE4)AOM&aSW z?-lM3e64VI;7!8Y1J?;}4Sbz&W8mwBHwLa3UK{uZ;Z=eEM|gQ)E|A9l4}7EW{J@)q z=LEhs=NmryYqS3iA2xiz@IJ$P4ev3$+ikqR&ow;T zaK7QAqh|jbK5Y1a;eCep8s1}gx8YvHyA1C%yukqR&ow;TaK7QAzcTyZ@L|IT4DU0%*YF<0yAAgm-eq{F;T?vz z8E!M&VmLCq*>IiV4TjelUSoK*;gyD07+z+0vEfCA7Z{#rc&_2uhVu;{{iWIeh7TJ) zV0fS5y@vM~-fg(o@GiqU4ev0#&2XFH7Q>O@&4%j?Z!o;h@EXIb4X-r3!tgS~iw!R_ zyuk20!*dPKHk@zx=svUm4Iegq!0X?Ta>ZHC(nw-}BLZ#GJi~Jh&o-QI_~_5g{x^Ks@Bzd7 z4DU6($M9~$y@q!g-f4J;;cbT747V7L3~x4EXLy6*b%xg%UTt`#;T49L8D4C7k>Le~ z=NX=Bc(&nu!$(KV{x^Ks@Bzd74DU6($M9~$y@q!g-f4J;;cbT747V7L3~x4EXLy6* zb%xg%UTt`#;T49L8D4C7k>Le~=NX=Bc(&nu!$*H+_P^o7h7TCtXLzsSJ%)E1?lrv2 z@J_=!3~w{sX1K+0WO%dTI>Q?buQR;H@M^;=4X-e~% z*YIq^`G$}F#O!~=hYcSvywC7n!+Q+xHr#7?m*Jg;cNpGgxXo}&%*mEzuSVOGE%_Jm zW6AiYx%jEVoN~*Al+5WWV;>hJPM&keBuS~dvCKZKVMwM|kGT?l%Hm&xpSAejeXJ*|@Lm2^ z41Z51k?BUe)`Wz(>deXCgFzn*WPZ<|gvn-xO%JSCF<#z>Ts_RN z8Sl_1Q!DzCO`H1)uRkrb2=z>+?sdrzBvU`j9Ku`Hht5l;SN0@ZR*ZhDP+a_wdHb>c z?tvBmo5+k~AtEy&J(-eBcOg?;#B*E`gW$nrQ(qplHvCtyPpqRcV;VhV~E>z3LgelC~3{pL(**1eftbYRn1-WL4I=Aofh7>r+$JkNF9ru@wF zvEn+XcS};6AJ2RlUPF0rV|ghAQq$(~#HQ!dLprf!#p89y@#~>exJ{-j5p|%4rSKe& zHL1H_|Tx1Nz1UAcKMvFSzdH^>5Ruba)Ua9waP56gi(u$;j|KS{5?9eZae zHJogj`<3(wiSLw1dk0)#wZngU#qHdKi*G|Jj#1uEyTtTQQC`c6d$4D@%rKGp)R+iE zag&|drC5xGI6@dD3P0C}{<|u@qVHS$VG=m~GwzPC*E{fo9jO)fH*LN@aZ_b_#r?^4 zROc5+dtg>k0&3n(XF+YsW!3MIx&Z%<5-=2f z2sQ{S?zH|@e=ILOy)d{>}XaSBk&}+$#Aq;1M$!TM?CuA{4O*|8k20gH?Q!n zlMCPd&Q$E4xr=BMf~1B zUf_^pUvrTfoqO8PO6Wdm$-ln&1SO<4Kb2nb)G~DbP1i5Lx8&tR$*X?c*wE0B?0>8z z@815u9^XIy{4?)GQr=KgUy%=$Y=`xfRO$j!n;$_G45c_2t{iOIJd(#y@ zgYU+9Ihl$|ab{@hr9tBTCk#aV!q9CLDKC+ixGAW4iF8E2$owgsf|rQ*!fgnf!YwD% zFb`8tK%T-|#?NJ^h<6lHCa0gs)iA1X#EK%V66F0xqm%}sBqVlNTB?(Z9)+BiMA@;| zoghd1!CO#9Q!n!*>Tvxdo^a}u5#iu_T?M4%R8-}Pl#)|XwIh~{3e@1kc~3#=^HJ@r|dyfoMEvPx)_Ysc$Mu$Vu51mWpa!nXE{HXzcWT0rK0+*eKOrpfD8~DAU5@~$eDFTFef85fz(4da(y#}Vco2(3%zx^ zp_s-*>63gSA~GsKWn$N-1!Gn;-NuTZd2edSA1tZp#9%yQ(=*~+IYTi*#TVCsXN2O}jee)}CC}u3h$~d$Z2VrzNphzgc<*uL)$k(~_0gBa42Pby zFq(#xL8J^s#b|K?|C)LkO*86FY3h{#d%q9rZ=TIGiLbh6HTE(fc|_ghlRqWNY(QS! zNona-7d(gZdC|*bPNG{%972h4YcU|XJw718MB8+m4|hgFs#OBx1>P(z=(;?QJ(9Hv z77`q?QuB_~sDBk~cA;v*eNrs#AR8TBqD z!;f_2?Z(887OAKN+ooP_XBKYZZz#fy=^Wzj9hY4)F6J~zMQ4aPw=?UG@0ksI1oesd zz(@!&^I~L)PgzToJ>P!hp6C9EPH{Nnm$TrT&XVkENlF&pG1OBDS}565{mGv^mc)Tl zne6${_YXzgH@x(-$XcMX_GgNDsArR>@bF)%9l!lEt9~}>mzMToK$T{2JF{+1T9U5n zV`=@FQw|m83a7TFqVr*y?Y|<_CoNhks&FandepR7Qe4ko=u)KX(a(}Xt!W%R{c*IJ zUvA;gS~iW(*t8Ox!do~nqx-hpA!^>H{DWV_HZOqp{ z4hLe8b_4%Xu`2v1uhFG{dCiJ1QF;L@v#W}Mo^Ii|l9urag~1PY;xpV%T<`iYt^p_> zlCFSVQ!lsK2&k2c4rJcU8y=js#hfO%dJuDNCq%&25Ht7SmV5FDXmC}avq>X>*{6tr zW|eiC2*~lk2#DM9K2!?*jsnt=YsMygZ|db%B7jLb5uk-Q0^rc~b3DMevR~Syquc7? z0bSKj$q)87QcAmPo>bH!Db!@B;SWj6P{S*24mGcpp@zR7jPBdQ-!*O;N3{8ohJN9` zQ=CXy*^!2#8);afc%<<;x+tY1Nm(eBkdel@2qTSHg^|W*?U^Ix(q}O=sk0o zZGjXYX3h8x_q0telzvY|H#?0xF5O0hR9h=0T)Dt3-c`3kYU<^7M%`I(!8Di*iHX>^ zoEneH6mji?o1zMrWv0$DqO-7%D8x5Eec@WOoptb4jYkBwPDTVaARVz~G9vJcj0j>7 zMg&?-G9uhKACcoO1`DHE=q-1dw=`mrg&+I@0t*ER8FF#x%jSY*H3esR=tkEeGwR-^JL9?+hupbk=9Y8l<-u&)LY_Uf8Fv-xGA`|L zC*Ir8s-|9Uv%@aadEy<#&$+@pfsb@V6CC(r&h3O@_jZVx6|kLr*e#$loR|19*%cnM zPciHksjSlsyEz^>?8fbwh5WcrK>=|y?!@<|UT$UBWm3+ts|7RcrrU0Yb*ilg+xSSn z2j9_A#V98}lKYq(amzvVcnqx|_3|EBZd^`9c6Xp%f2F_O*>p-;VmF_o;u0B-uCIa{#H#T^eUT;e! zrHE(#6GhBMYuSjrgQuU)QkeUs>)zqqG-V2LN^y;56CX&7HTIJKj?!zUOX0yeCPiwkjt| z8ZIpzxwNRpk(l5D&yf=u3u2rq!hHn472uO;+$UnXROIVs9QuB1+@Z3w;=RCIbg5ZW z-!pMlz~=?mV(vqlf%-A&;DgU$f4VR~1BWWwEl&z1)je9h29M=YG|gum;wf4peW66O zwY^x``jLOr>~Kyzh^q_amote!6r#OOYh|A~pYF+(6e8!MTGuUIv{)LEuH~~SVVuBS zsvKTTeY4_c08RJKLf_Xj5s$f?jhNywmLs3m>PW<<%<=h6W@<%M$gHix$yVTY86ZY<8%l6#b7EGw^pE$`Vwe1vVz5JN0 zwyRN|nBaWE+O9^%+}ctOwI%r4ruuM?CB1`7amouL_Vz*kvj4#gaQJ0gGSm0_wF{xe zUHl4^l+(lKKv;4gp0l7A)Eo^D5c;3xdl*3w_fVeiq3d{FiT(Z8h6`ypI8jpG^K z@r>B9>-OtPyi+%FvkI8gsJOR|yPCv1f7S3*^dJtev}`dEF$=vTQH~=D#*A%*cwyA! zjtJ54G>}Q*nySx{kNrVMVuI@}MA=wr7XhX2gFl zKPIa!BUwyR(HKlJXzn+^~1u~2$DCz5?j7|Aq|NRBIA$LE&3|B}pT z#T5{y2soNBl9`v0?ENy5nIw@M`z^43|BRnwohp)q3r!Kl$j)<9Q$2n{hkeB zs!(QbhB7lVl*O@k%21~6LYbD?P$n^y`RN-z#h{Gmx9&13QMlzqJa%-W_EZBoWLFV702uehUx*JY>-udh;=6zd-?ICE&x<2VVVqKD)t<5^>& ze8(9TGkfl|k#>qZo1~*MHp!ntJ~m+x<&Qt2esa3OjR3j_aL z*NvcfoC2`T-Y+wqA>4&|TO7+tF{eo?dPK~*op8TA3NbSmS>jO5oe`;`Q%sifW3u~Y zW}o7IxmsnN=6*TH1MipPc07ciamBna3czC{787N##UvB9a=*-^ocm=h@P1j&qV6$e zx{Z)(8^aczQzM<@o;^GX3H^#KZ;$KbF{FDQnYZZ#-Zr0q@PqEkjk%C{y<`?o*~g9) zd4I+~`GpIiYBa=~*J^WKvC3X|=H8lD@ZP#!Tho#P9A8OO9054O7!P>|e{}TNF*is4 zF1$_C)XRuGsqlmS&VPkF##*X43ruJ(YT8K?GQ;{ixYm2i?&($(!cR-!lpZdNpCE1e1O>qme z;TG??zRnmV(rt7iH*~HQNb*OF+|s4v83DOY`(P_(`(RN8KjE(9u^G7QXkahmK0|uf z?e}pwhHX76X1w6qt~|M=e2 z%dH%1Ov*Xdw7_Gn2nN~y>yZwjhW7zn3cDU%)h8*gXNz5mbUhvyND4I`g8%aDBOSy4 zka&?Yvj-Wm*{6unVwH887|rp(7>(O;KYrE~Gvp`$ zGvq8LD#Ny^ms^QZCgsGa78s-F!vOPw?8bDP>)Ktex0!;jdJOGuMG(nFvfVu;tUso= z@e%Ky3UL?@A!V+C-mXIIXpxF8#I~uI+wAUPI(H9$trl)8#hfPiF6P`$*gcm(%v^~V zo+sZuNmm6rn{@Xu`xLvUN@bm9_vCos?upy60F}a32MS0_dojn1?@hhj%I;xO&hF6y zcTW`z;L!J9wR8wI%s9Igc0IbPMp9hQR=X7Gdh9nzq4sYLA#@D?wco%l=|4tc)Cn;-J$$bkN=+l>0g;r}*vbT7Brux2{L z`Ye=+zHAk9nqa?)IkywS`U;4dTOOJ!tlM2D(b=S7&FoWzb%)A2O<3o6U|7fPcpWN* zz(N6dD}lvCS7Y1M%dLbplXAjZ3k>U87{vXz(9gqeavHBw@PZTo&qXO=YD+rIU7_3v zsi~J+HxJ7+m~@GW*k>ngC~_i3=3$w|%{=-nJvs}6iUQ2#CDiOZY=aaiug>MpmNLQ2 zmbzMRK?17O2X_NeGXS?NxEPghGF!?N7z|1U#5!ANilNTT;_B?P4CySaGlj|PoNi+U z*(?ULJfZeOxSAnN%PWm}5l#JUsm~>+SDmZcT@w!BW0KiY=HhJWKT#%UOaGZdFk3p6 znTrtyOsef>Y~y%o#dmb-y_Idk^w&xz8 zz#S$PnRK>~t++ntVK7!Zy;;rv(LlzoB@x>+!B!7tKORDj^ib9hVabG{Y}2bywSP2> z`3aT6E$>CCX(@Z5go2wpJor|~xb@*E$EOkeM30S054hfKhXp1Ou+5HkOy_8KAu0y* zaWSV!D*B9=b30+Q>wuWq{-dczy98bYK^5q1($S9Drx@)DRMu%myBrT3?c#RSpi-&m zHWYw+0~Ql?V%yZqt&Da|${Fpnz|rnf+you`C9k6n9p8FrRx58=aZkhUbd#azrXtib zJjvl5F)XMhr^!pm*=g(dlPp)A#mdvR6CpSs1 zm~o}WF7o*ok1^$0kUUd-9`X~VFXkK$LIjmK>AGuUYs_LIf3fRR6JVIpOg8p1jZ>P} zy&$eu&Xi`daVITgPIGvo1#VH9j5}UtXW`hb6GFLv|E$#an=$w3=8UmpBsPb+q|EnB z>fU7PN10dO!MJIY{sb!Tb%js3u7 z7`yXL);_xepcZ0NFN<_50LXd;fNN&F0-#=5^WhGy)7cdOVjNZgjKFE^T6Vq|yA=Se zV$KSHM}o1e0B{w`8QU>0gtH3FTmu(I^p9tD*y3nn&13}tRn&}(vxlqzknflUrWAUw znYD3yN8YQiaT&0WTAiJIxD^2HIZ8fkI;g~@;)|;liumYgdl~=_NT!P^vEisdnnv&ghM-RRYL>ahaG&S`ynq&ol1X%700LIr$t^nx4 zmx(I?*Z_HvMj9Z&lU)IjjiEl27`K+M7gVw?dIbQzdtI#npjo^EfEMzMjiR&h8Pct8 z1%R>eD*(ht8=DcY0H9rV1%Olq?}V~OskTA+h=y2jB$=YeUDejRlo5Vl2zN9pcC^5G z7+VZl*k;eYOy{|`Z;+o+M$BoFik=j6ZYP|3$024GAj{-8&|`Fp3mtw;_I!icr#SbH ztE|(UdviSS+#9#!(E(QdDHMS7F^h>3m|MrAL~P~U%cPuhuNHXjodwHm|0TG3RWv-= zb1Ce4bX9?*xSl=HrAXJ~Tq!Bk{;eBmI)?vZ@gikrZ=fl<8)#N6zJc~RN+{t`4?h-4 zE#w)Ta}jQ!#VXuD`>dtYW|h+uEwVSzcw-0M!0QNpqPk^Bj{~xZP4DG48)!^tpuPD4 zF|QDFn&8={m~%TJ(25~u?%6$6pjFZ-&O!W`EYO&Jia<-MtkVQqjt2%>+>ZC5QmN>4 z6o9J)788|Vi^qr9N}w?*C(yLOKs!V1c?jd3>~~^1AlsQ$sN6tQ3Io0nf}1uN$qIn8 zA*CfJdK}-8g|_H_?gm^$P~!>!s#x6u#I;najbG$_UopVd4|m#9v6?vf9IpVVq*1zs z;|g94Llw|^_`yy*-tEL{*N1Tpq)0a;oe#UFUT(7yP$Lx`$gI9!D!g9IX@Yq>G3Rzd z1Y8I)^R4@)ihx>I1v;BF0+@Y@2&h+Cr-^_Z4~&4g9XFs-xLiU3SR%w?qD!!C>g84< zfJr$KpoKUB;L!DRJis@wU)rRj+mi5recMdQ5B9I6gbPgW8=TT5g_;aC|KbV&`h}Br zaUx}9M;eN5q+x~Pk;dofpoE8N{J^_UVt_|=&P5n$#43z5K5OT+S$PbIMLg1gCCcP( z7xyX*b6Ei(DnjuO{pfk#-ZF&)%&#H*qZI(oHtIrM2BIqTo;l1eg%lrV)vm*7i?*`g zu@J{;+;QnP8l>84DB-FYX7R4N0uq+NVC$YdF%2etVj}k02M84TP(YqMF^hYOPI+dc$WK)mhjZ6ejPD zber#!PDY2^EmTYHM^O7bsXg-7GZ8xmAO4w^&m~7$$OX$}){@V(*dek4Aln&yrZs7q zx#jSg)<07So@q^G#$AP4XQVxD*xiJ#!V)BQSXkr9bRHMK#AG$h$Hbf_ScE0!+)fyF zZ-kh+7+EI2!W*YkTw(EJvJ)?}PciH!uy88QI?b?~RNj6z+LY03JZGm}m>O zO}*U8u*;;JVOI-g*iEyT>-#5PFVrK9>BoHO3E$Q#1#O3xGZ5M{Xn}kYQ~}9Rscw;OXct}D*z;8 zSOFk*)2{$v2Ce|0sapXcE*45@spwWz5;f@JQRto#$yYolLDk%CqO1U*UAm3i=~nJTLIvsjp1i) zmn&O8@^b}%KPUPX0CFbrheEsppn-jcXM=KV@`;HQB4?Ev*DW2iz6j^-Y>^_c613*;Gt$X$m2ehm7$V#H|3J9A4ifn3qjMZE1C-07H+b;fl`7v2-`Ld~);JFt}GH*o2+}ctOwI%46O2haLm+TFiFeSuK2raqOKklBv5$re*fEX%ZuupNM3J8HNIhWN!0( zRP#HYsW67)6#$bD${G5>H8wvmU&mn`^O=r(TH;Ab6VZh-6Q&Mj@rB@c{x|51gR*lp zkeN+ILb-rGn|k@-f`cXuWoCAvEGD>6g-Pb>uiN0D9D;*jLOIlSsgyo-D95$kh$3=p zdl?nCUP1i#7UN^G+A@@xhMp_IN9H@-wziZ*Z3#M*rFVQMEsWUPIic)Z!ceBAgmPTz zPL!0>!=HdKMJO{fLz#IQ%HA(SnMo4LvEQZE?^zJ08kCuvq0Gz-WpV7CGL)&iP^M)z zlt~O_ej=3F@F@mmSpmR{*{}kDWA{`SwDAf6x!RigIyPPbAQ#DD1pu$hP#L-4GAjUX zlcS6!FO2v-pD>k z=H;=?-Y+wqqw&``5sXV+F{cUUZ^fM33HQrg5HqJBOMH&VT>(%@r+84!kIC+rnSF}; z<)q3w&HZwY2YFDm1;CvntRLdVRa!VJU z|4}TAR{(I2<6Q_bY?2iKwd_UQXGrh5XHJ7~%>JbPzVy|pj`xM7ohsrw5v6kb3 z$6DNuD^V#t(nJAR*ui3=N3d<``%FG^|6y2NvD;CcQ_#A_jFvRdc~ zPQYg!nl>wsUa^Sh1h4{tp@&&BzXCwVDSjhQ>K2XSBOaR`cRl1|G~Kv%81s+&#y>ByP*Z zoF=%~6?1MU?4DC0X0AY%$#+kMs{)-(x_g*?irrJGvQD#may)SN#O-(?Duv!b0eIDx z#YCrL+tkag>>eiN>>e#}_msc@4t@V6r9-G;#@VH?>#+x_B*pb?sY{Wr$9|I(YX8;{ zLdWo5BVMG;><~iH4I!*pJcRfh>nY)Z06*}+ObqZq)wu{mh**Uo#AmIYHYdY*z&OS?@&cZrV zn7q#EHdc_$;>Daiq4q<#JlA$Jr0K}bozm3Lmik&nG0PrYPFNcjv54hf4596j@ZnL8u(>dC`3>8BM zXT+Q)SSTds+)fznY9VGm_qnM?yD>V&0}*~qb|1j(Q;c@wD(f_(U5*Eic5yr2j!LDX zO(+0YH7q8o#}=>EVk@H^lX6BoEpW6u1D913R{*r~fLbV%q3EUreuvdfh~Y_&UjaaE z>JCQh-_kK*6j4pyXBnh_zb* zP{547(Cpl;TLHkdumZq@Af`020)Q4Wr^yun#sasfO!g}PSR{7q1gq={0LhM%{8>iw)}n-`JResKbB5-oiI5s=*fC zq&Qr`(kWg_q*K38pc4i-f6**nC?Lk}w3M~aE)=MN*wo7+-9iDfUMS!i8ZQ)BudMkD zh}P-sLIE)j3k7b6)7Z7dh#0$t0<2=rLV>PeEDHr(g(fZ(xD#fsfeR!0$29@Ac>2$p z$wC3Ds2LeYw=5Kp?^we^DfC`FYvcBhynbKhGGH$?I6L`p3k8~UlziB!cw7c>u`GG4neBgl&+a)z6yUUYKe8aL6q%dCa z+qw8A3k7H#qS^ha0EsUy6u22_6Bi1w0rI|$G{7tr$i`3?N{m~}w-Cx$7rjt`-o36C z3eYTGC_oE&6h|>E6mS-9p@6aQ3kAfYjm?M`3eYaQP=M(exT^S(YU`1Ys1F}_y2ngW zAGWAkwM!Y~2S$2FLt;k@{Lm)0xYocndx~Z{Ptl)f=Vvq`<}|^zlbCZm;S~KK#LQEl znCcWgN~gFU;>TpCXl9?{6rE97r#VIEc;G2IZpXJ#DO}2-0NjSLnCKyFn|isGQ#6xu zPSIN6DS8A3+5Q`o4xxsJelCSwkFFY*6xXw(E=9T?C-6VBbZYyM&~iL5(BgKy0hPj&MHGO)cf(?$C$Yt1UTh`Mn3NM}T411!i#-qF>_P$GnU$#A zK=c%oF#ciQ4Bup-K;j_FV@^D;!*^7Ow&;K6#P8D}MP3W0ii;YU$ZNs;BCiFD0ZzNz zX-g&V#5wACp+Fgp(k<2WEaMYa%)k$J;xEy7l$msW7}r3GWP1?2u*1wXw%G`%l8O#w z&c0PLSBp7K@B~oIxt$OJMG!MvKQ>ha)VM0p*`yJ`>{CR*dX;sW2*~lk2#DKJg-T(S z3ktw*zOb067+d^eAGQ(!Ov;G>EyNK3hpwOF0lt>~(k30T1haToRX}R$<<|d11zq52keG;l_BjJZ zK0A;HRLtTY_Rt-&^yn6p{ZYwsacu&B1JNY__vlN$xgWo9wH%aciFLL& zD2Co(7S|he2A@MZ3wwjY&lG}3UsIWJSE1G;(jGVLCec+*z1(JpU8eK6 z*!2-H9~E<&;75qWoZAV*ZWYALbC6~7nUoBj;u?n^lU?C4`xL|On94fMu$$w7!*1M; zpSQ5;m!bd+4J;lk<@)ssCP&S*!$JZ2o$9?RoCT$laOxHc{G%ecP=Ge^ zLILKMg#!E{3k9ym7c`npl!XH1uuwqUXS+fc3ebQz&hn=Mj6u4MscxYFONbW=&^s3j zNacMG%gwCh$K}1-_uT1-_fk@-t;~s%hKEItTv}A=NK7#3I&vZx3W%{R6yP_$)W|e0 z6cE#;V&E4FNS$y3L)r180N$cY&D=r(?mby3z-FL+O!5l_T$p2_07Kio{LfUkP~ege z!@Nn%-9iB$Z45taTdZvT$j^lW{+#F+3dotn9}4k8fm#%YD+h`G6d#L7A#yINa^2EO z3oP3O$wC2PT++K#ci6~60m_iS9&e1^T1}gHFXFYx5i8nsnTb?xG?qg>6PO6yTX%mFZ$cM6L5Vuf(a(K&=VBSd$ zwZ&hHK2ha6E*>V1hdWZ2dw3 ziB$wUjS$-i@vu-pG)(3)DO^)^IP$UI=}1g)W#&jk7s*VRI+Dc~VxvDo3DVEb(Lm-7 zDiRw#^ojQ+@!?{FCX8fec9AS5xQ2z0ISCo#YatiOltXL~OeBZe;?L?Jb?QiFfsEu+ zCe$`B)OJw(_wr-1+A@;G1Xsr}$<%DIwWS9#TSC(PamK&4$96E{w5w33FUG6#9yt!hYJpxFqE0ug|e97LiH~Qj*F2oHrB5Boacz?mYI{MbZGrgj<;P^TWhjdY-t>Y=rmfM|mU5^qL5DJ%9(U5h zh`pT?%DyEGWm-xo$CZ9RO3LZs_du8;l$n{K%)AU`@0X#>Bnjo%@5$D09)zhvnYkIt z%*;?0$KEMJnYs&QT4qC;#8BoZLYWPpVo;Wa0=$?F3k4YEQ(e%;3kBqAYwAnoc%gt? zB!`6pye>m!7P4LPao8(U+Q!W%>J{)Yt42O_~ z6c!3d60T&S#ZPE%L^1dgQEapK%S`8J9C5xFm%3t36I{}WIkyw;m$yL7Ja$tyRC5;! zl+h`kzVKtR`(7O#zl_p#bAy;z9vNWOkuIF+vZ=m|G}7;6eeK zaFUo|9Tp0tH*=u?ll~Sj6ks~Xh8(-gX(uk?g#yfzntY)EbEaFw;2$m&psimhz^{Ix zfNubP7!{?+4V`NRs^yOuxur|TGXfODLILjac;?Y96sTb@;yy!q*F78g3>>q6X^TUa z2Do%|cJ*RM3*3`oi$4{LZT47WI%D*-8zpmtn9~HW1c*7e6OOe`h?$$-H`TG$Os9BH zfgh6{Ys@~yvDT`xPIIi~c;K-Xw__P9h4n-z0DGOqL|xc6^>Qo68k2I4H7)R1yAuZ4 z{%e;Gp@wI`E`?o>e(sPI*R%Jy6zO_AftD0%|JLjy9m9W@c#$%*2PZ{0C%}rua{@j` z4meVbBd$1aH!60tzzjKit(V(uj53`uT6Y6Kql}o-1T*Af&h3O4eGp>i;rgj!bc{}M za_7fnG0N;y#OS!nI!%n`cwmgi?f4`rg}Ve4fEjWY6Fr12X2`LX7-dpUjB0@~IsyaC z3$h#WyQ>1bTyHZ4UG?1?+(H4lNVfA^3H<$0^kV@&;@$Iz_=ty)A{t=s(%BV@9W8KO zjV<0(#5TKon9kkv)9b};iI~#_OKZfO+X=fT12MA{S>o&9+|zX_ono$+ACv7KW}jmB zl&P%K?4BGC+&ytS{(2p&{x}N2E@Ls#7`9lwg01WxCgtoNEpYcd34?6^RY-?W!y|2% z!mh_2sFW1fvroAc>3W=*C576*HH6SH{8xz=DKk5SP;^5GD;5tSK1VerJP_aq9+-&% z9;iAOVF(ecFogK5HPdG05F!>~2!SBcnUBk0{;2?-_pV~!HCJl!?->QWIEC`*m9`%jGKY>3&iiJAZX2Y844C`Z?#JpC_X@Yrw zG3RzdSQkLdT!Ac;hjqQ{Bs!ZkteJg^ux?OUrwQvE4-D(L9WO+sFwc(yaAdQXs0ds9 znk2Ro)=bI?Yb`LWPlW*-O8+hN^RUHEjd03{w zq*YABK09eckrOd856diW=Fw+q*I5`;6ku-VVb72P{gYw$ht=H#Ars7OsjGD<5>TZM zxEqMh2DsT$`6jcaOo2hCR6wk=b*32V%q*_XK1-L*!a7r!yw2%1R*=nNkjfKkKZMJ3 zZ8t*-2R!*kH1)HkK9`(cb*>5*>s|PmWVV#KI9vKpl*!rBf2I)3mQH2nVuS&Mc?)dg zcsU>6(Xlh9yX8ULa+di?CjM<$)QD*z-+|TxT`$28bJwSmwOe!+zY#&=O z;pPATkF)oW&+NF$Jk`b~&0=sf;{g$ppfG0XAVajl8Pv!DF|k1`1_W_H0|o>bMt~Uv z*rEAgSOxVZ(#Qq@exV7O(6F8lV%M|V5Sw&@-_XI{RRh^X3?^v?!}J6L*Rf~P5CaV{ zVW01Fs_w7%y>B~y|EPQG)N@Xqs(bFab*t*USAha3=+!>}_Fcyc+BAY~y0Twcmqtxj z_Ol`!8*yb06u6ul(!|EQYF^E=tQ-5UT?Pp!Ej|xKwv2 z3x@Gt%3ZF%f00}Q1w4D>K!L{0O$rn+uXY!@f<~YKgifFUqzDu+IsyeQ!I&y-E?DxZ z0LrRBfsP4Apa2N3X%Z;VLFg5g;uI)AmAb4Ws5(%kT3jqtS)X4is>0v)(+fF_Esjuu6BI{0}c@EBtxw>&MxP zC4DMj>cg%lg$NvuTnZ65qFfFUxK&aVA}}oyb0zZ25~bY`t|CGNZu2?7R*1l7sOHTf zWQPdAQEjUJSd~c^Dyl*R{`zxGvtpV+3yrLp=EoujUM4xGgZ_wDE>^SyS>cFgdBS{bE-o*oz_-bmkBNz?C(B{`Hh$U;dWBs!p0A0@E(00p4lj z26RFMY8yJG8gpyee=vhC%@6^kCwe1909XzY0O3hEh*gL{ARlsw0<~K&cpf6 zHIBtO!-43Zd<-WYc{raEvHYWd+xKuj2o(@E_TdbB&%^nAgLT5gxg~*zb8g2;DW&;E zRiJ?`)f9V5^?yN1{cxtJ^>A(ycsM^GK;3^A+#%33K#mf+UR_nXBzpG2C~?>8(d`mw z&+82v!IFQ;Qe0>Kh7B>^uu&|(VJD8MXGPM)0wr1`GC*(GA)kY{N6khC^5$}zN${|>{a4F{sJrQxI_hIUrOa{b%;3~eUV zM%Y+GgT2Sljy6~)7+OmLhL+p$aw(-bMOC0pd{k4MQ>y}LFakra!$#5W=`!k$$!~&iWvHW-6)@K3Bp#s9jS^(@l7O>J_onQei30OdG z$LB~XxdBz6FdV8Wo>sa!B(()l)UtpkAzOe1Mn7iLh+|h%JlAwNGgOr^8Gmta_ z<=W_x?hkTJt3}dZ-zZK0VSxzE0~um`J;MNz zSp!c^!4lIvh!e|RlZ8HlAb4kL>Igb$Yf3QDNX@TeFL(r~iXl?g9)S~k1OqCM0BVd! z_}rH=)LIu$6(VrAG7AM&R+C=KjsCb6UG&V9JiW#!6O&#(i+{%mEzejjqwC&)SoH=h z(HjVp%(G1vdIQ4v-q;zWKG~9Lf{1(G+$W^{A!{%G6$*7>bV!q4iOY9c#UOC_50>Vt8qr1d$sC*1Cf)K&W1Av&!3mH_447eDqIR7?i>5u?sKU^b71gZudfib%NV%Nx<#qcKn8v(wnI&P)ril z6xS=&fAJ`_+oh=GcAJEb+f^(UA_j9x^PPNy&egA_J1Y8hp5lVEGieA&*o(%Ru{L6e zF=;5iG-;UdmzsDi7y<@wMPkzMPArrVfqSYOjSvA8@+2W9 z6kjjGv37{SmIOIOfF79jt)N#j5l2G=lDnMxM@dhPcA;3)tq>ssu64n;PbWmcj8%w$ zag##?U?4;QXoLt@#H?%6{|`x3X|T&(7}HEX)q0_N8Jt*wu= zrY}U`-7l_RLKPx_+`b)EdJ0-e35^he%T+;$0GLBhzWdXt1#X83aN-bwMV+Y8G|?df zy)W!C%}-p94)qRZZ=$!!m2 zg6J~cl97wDVlHxq$mvEdh=d3j><|IY*v?29Ap(Xj7?45)tdkyKsyj~w@QQBDB1C|z z=MVv!A^j+N@<(4te}v~UhqxBBSaus8|K%={>{IsvB~ojB9NYm zDMY|el5{KN5P?-yr;&rLf17C$SK_D2Vsy&}2nFma=MVwsHKdQyxNRIFV9p2;Sc;Y| z2gXoM4@NGPtwzqo*o{iTh?Q3%0+yvG#oCJ0vHJ)?`{ma{@ov;LWa=vD5c@lUaQR@4 z-Kd6WXevVa(AU*Zkl0uax!T`Jrn4Kh(pI07P-*{eR4T;RyY;uf8@pXfvx77eqMr zNOu9+Ap$_yjS4S2&XQbqqf+GEs9ElbuG}9Gp>H=T-0Vh$ncb)soP^FO4?T9Hf~pN<4COb}3h=6TX#tulfEfcRo1WeO1E=ARtYBzGp_D@F65RJ?tXJS|~ z1^t$6S?bj{zg9Kal0(pbc@GrZ#vU>?F{DG-1`sS6=CEW#G=>$SeCpP&B}1-kgG|Sg zD{b}N9hLT5G8JOU7ga@D+dqY3ZO>T#ki$4_v1CIuIu@jS)rhu`D{aX%EgAhJ!G~G* zcFU4eOR!`hw&bkzXQ`%E4}Y=CWj?+lqF+kTG_KDlO9S|&AHy7u;CmcFy1MjLyq=eanL43+`8sz zBA3c8M9#!8WeWOD*|KCDfABR3V@wx<6#oLn#!(`3bI2i#0|=%JbC|Lr8mNj;&WJJZ zAql4pxiSti9aFBfU2yIFrc8yH@@I}{`_C(FFIoPO!#Hg*WkVFu@DXYI{a@YH7ILL6 znWibz^xR3a1-;!e<d*X|q8<`4mo zw)%(4IYa=tS5zSajLW2q2V9*Hfm^EQ#caWO4iVrc+X+fMO|+$mCZ$J6Z-@YVy4en6 z4iyWzDn!6V8p(>5XK0pH@#c`UeqW{>6aH3KiZ#?V9Ejr54JRFWUtSTh-2ckjRNH$F zXAr98QV!$ZmtpUDUq0Gko$$WglHiGI_|%Rcms0xrr7F-9oob3zrJF-izb{kNdS7l5 zcwfF<04YDil^KxP9;`vqim>X)eR+pSI#;Tx$cZ5WaEW=|%$8J7J3?fhrV%2L;EPRo z4iSJTcq2q0p_iIy-moDE*$5H99-1Kn@yVs5*RMDy&#@%bM_uOk64b}|YXU}9YXXV& z^h8$fUL*3FfIIty*4DRZIp6s z^lQG1V{zVaAX*_eoOHxSPl;H*b*axrFN6vR8*8Jm_ti|DWA zZMf5#)@jSgE@TRis>P(h9ac`)AHl_gO0`E(X?=Mp=kmPeOD*<@;Xt(Q({R#}%k!{^ z<+NDxIJo_|o(>fdHumzs-g9|o8mtp8PfG%qC%5B$UxMmqRe`pGQBCovQpK$(_2r?c zb$OZuF3&ju>i#?G4uPf>=P04;bp_^J5W|lD}vvuCsO_5W|I_ zSauAe(kRfh7@D~J^lWk+MNDvwSqz1X#n9(aCySxa zr4lWM_QApgu!rrzmFmQ74u^HFp4`iinyV=*NUN2+mp%2rs?YX>I<31Ed~Fe@y?}>6 zE#Upj1Upl~=Xz1D#EB!@@D_b zIi$2Sa?Odozo1K~d$vHCSOt9Yr$p8~1os>B3cl~QZ$6tl@(5ixB$d+&>%RFc9_zEE zlKS$Two1`$#kB^Kj<~C75zC+cqS{@(a_P)(KK}5hy@#7+`{o1n?zyp!3dYJ&eZkV1 zH~j8X#jpL)=f7D@=gl<1MYVXBgtpeJ(n6o@k=(5JjLsEUq}2Y2qLzPZ67Wy&(vbAY z>;H>JK2N=1_o*v)HO-=KTjw5$Ou&AHNtax8A{j^M$;9|KqgBWoh$AE_~waZa2sq_irw970oq7?b`p5(p&aF zeO$5r+y8q?FEGAuw0LRfwWZ!Y#dz}tU82;0T6(=x-v+98Cwr0DsW1Jvy-oiIKV99X zKP;n+7TN9C1fBCMb?ynaV7qA6+cP9U&vr3-gT5=7_11NLpuv}yba!{@^^dM-!Sx%y z@sST*^OApf?b7z2zh>$6Pfs18ldisQs&hX5aaiQ=@cXdsho*cOTzao6x%U~RH)&?o zhkKvaLG=f)IQo8U2%0u6?-!h~)9Cdk9hy2c^`jN_kmlhKr90?_YWy(^yyicgJ#qG$ z6My?t@KDPB=4*cP&sW(*e^grV-}|bLdgO`cbVyQ)>(NoW10ii(yErvfoW1j|7C~dX zyN+hcZtPHo>(IfgKBBApgIB+PNcNvJE%Kua3HSCXNqUDWRd4K<-}fn19sAy>?}Dgw z-<389jos8qm?(&AVD|m5{1CWzXjKFNXgG7?(#xAoou|c`=cAPxYDSI=qTCXE(V4{@ zfc;`wB*e5QwnUo2I$TXYsX)6iD|CQ2pCm1&5BNR63~C!w#xBvSQtTQ#r!GCWdNNMRCS z(p72|RbdimqrNo`dY{ulyGm%6H6#iB zK+Q0TH#$s$26(rT8_)@psBP%HYRs)=55@|*G{Yp2p6HD*31B%)0)!_bAy#1$fe0tm zL8LGVBL*}hhe?2|zobApkzE|N2N!%ON*%Pm0aI~@QmM8PB^NnpvwY+(83#fe7nEvW zhtm3WjB-5QSA0IlV(QNj3q$P9VCD5MNECYfif6h`|XFbaRF=iQ1EYC6|j(JF0i{YRlg8`al z2ocpRgHhEiLt`^5Dr-!W0947IAPV`{~rP{rrR0@Grhr+pI z7H^7%x>Eqx2z7hFi8n4*h9EMobkVi|7%TcHBN###XEJr=Or zV4YwAEeTjaZpX(;DNSgq0!?UAP4TEwO=v2$1yIzofF>bZfCNTAX9s_hei^u<2j?U~ z*Y*^o?AIdIffrL9Eg^x z3@06NyU&VP9$eq&c8?%bvjH5&Ek(oL<94STtP|XBO9E~;x8oC_-lCfQ;&QuA;zlD(0)-qVfmx*KRodV%32fWfdR8?y zo#NMvaI76Bu_`8qNx(hpTR|`QIv)*_NbYhTC6l9FC{F2Ch%gD)sy}-*;p|HfuKA6# znv;2ThE`z`#!U{BpeDj3fJT^v>z;LOnsVjR$iZ|^fHBTbd;x*A>65#Y#IrRJQ zzy0+a8yid4{NKO7^v(~=yz>Ju*#6Jl(f2O1CEwi29V-q{zAsE-`6cyBsKO+W+qbJs z<83SHDn9->R6&>oYUD2|!0j*zP8=pNtrH2Ni4Kz>Uxi6@y24=+0C;hBm_!G#GoUoW zB&Z>WNg$mt2`isFhSz)ZYw9VkJr`Z}zD#a=uo6U$OVxw34L5+@~HBL`dmHeKpU{46>i z-EszmzD=T>!z7&713XIOwsDw*IU`JBBU-u@7(=zb5xG=$GIA!yj$8^xth@@7uq-_( zzWB4~MBGOR+Am)Y#XE9OAyaQTI>a7VAY49}V@Iwbnr#xH{E7d$euBh~T*%cPS2CR) zxs|pHuDyRpE*0YIenwTawS7GlYkS)AhaARf%Z^+_^adhGdEqm=+Cr|hCDYuIOVe{F zX=9LbtsS|kCG5xr=^eRQ>EBgNtsZ`x2*)1jF2XxZ0%msP!s}gkI(k(kddNF+v)pg& z%DqK|z8$#;W=Af}SEwOYI0>Cm9(wG^1zGRNCC8gTM;SH^*9w!IiQ*QOrZ5THs*D|w zY+EK?g-MvES0{?9G1a-qCEGuUoFN*SMb5;qWD5E%*|KCCKX{#La6gBj{qozP*fuU8 zQ~%4UL)ZooEE(poWJ5HD6`_3eUv_N+a%CH2I+k2%yWp1gTQU`5$-kp2+Sojg8b#Ru6yhGkPr< zW-J+AEIG+#Z#hM_A90;3wpa{%BdxoGDw?pR{E8y zsnx^RiO}PeVaAl<#gvm=Oqn8^a+Z5e%bqQ{Zxx}>l;OsdVaAj#I0?m+p@%7htWB95 zrp!^MOv8Jevcn`6HEgNEB=FjO1KJ!W;n7zAP&tQ5Ah!;aU|c3;JmBhtNnGc#jbug3Gc-q4&E}A_eqW{> z6JB_U1uh#7MDh5Bla9PE&xu%`dU1VYwO2$|5UP1x4&&aJVc&k|(jRRzFA6XU04-p;hAcRd8PWor&7N!Q`CB2ZW4H3zEJ=vzrvLnkl7wA zLelG^>d1Y0lSn#Os;S6{VG?kOdELyGR8KoXCXwLBoA4Ya0a5Tqm_$NvG|{|a zLlCkNCV@RP!z8{-TO{-!6KX&mCb1~ftHLD65GDbHMPkhQ9eUMrH-GVq2$P`b!&>cr z-BF%KD#tgpaGwg!B664nJlo^LB;ee+*MQ50Nq|jZ5}c+miPV6d0Ybbw8Lg07>5lO$ zU9}vgILBd37ifU5H|K+gT3coJJVpDaIdu_aIfWdeCShA zeMJ>0(u-<}+mvn&Nqw(T)VkN21n#v}0qXuc>kfgY{Qyxy*Q=k;xg>gaElS+=nt^r+ zwCA<@h+xS-Zz-;`zBwVrngELBHG#x&0g{GN9A>SB*91aDwI*OxwI+~Q%ZaSqy+-6U z0fk9mdUcpY(@wQf*18p!bjZHxj_9Feqf>ujO%v|0a@zYRgj^E6HYBZWlyYozcA8^x z#Bd;5Avc_K#72*cSnhsGpN&q33J4o(qp^?Q=+cAYdXRtJV@@YZyiN{EpNk}*0i=P zBfF6KXkfxE8V5p=LQ3@sAf@%?p`6Qe&nH{#lHow)r3@z>xjgrYSpL<&=({}2p#s9j zULM$cF3(DXb;9LoN#OG2cAS<{a-*t1e~?2p#haAsi=9e+c_?aKo+g3Ib4maSO#Qd& z4uPf>=P04;bp_U35Cd&5 ziPch{d9{=h0S>Hy(Y4MHE1h8pofFIXCJQ=47_alr00n6lM(P>rA*3auOX0;S9R!g5lovfBVmrAr++6N08!Cv1Y6<0z|L&Av~@2CH%!Eo+|)>3uZ;euJ+N2k$?#WSD>I*{{Yx` z9V=+l2zFN0WLNf$*GQwLE4xL6VZ|6 zJJ@@?-H`_C1aH@pfVa!-c3Z-+EDfObhF?Uf?oifFcl=(;T^_5Sd`ZExH~x}BW9BA(Nx_nH1$7*T zW#&+f&(b~`O+*5XFDaNQzN9b{ecCZFt!U~?3Y0l4<1?~a_3CbXNdbh{H2IQ3M}}Te zDb^b=>{O}CI)bX>Gt91+HhZV^B?T+G?GTN}{`*H{Hv<=^_S&go(@8$tX_U(y#wKu= z&U%B0#OUTzxdSy^n*wFX7th)xNOzz7KmWS9@BgUO7Tc7ryDsfqO=O(iN}v{a-1vxRs9C_YXPt{UfQn@830RUM#9~&3gTg9C)d-qC-g6I{iX-;@lW*?(k7nk5{~HZ7Q#zm<`~D5C_Wd7~&@9@Q+~C;vkBY5* z|JPSw@B0shM)&>C2^J01j$NH=rcSBuAvE*8f2h)oylz(S`}eu_BSWfsZx?Oi>UcN( zS}^G9oeZ20vG4y>i*l7Pdr)$%+`_6=aiTkeRDE;|ZPi5W%P{b)koNt9Nmr>=RPFme z9rdkn(7;Ovg(}i6Yf3&w8)tR4U(BlnYf==R&b;s62G-v9Z~J23|6zef_x;lVZ=Z1k zI{W@>8#<>Nb8FdDu!Jtneg8;L^v1q_V0qs^2+yoRtoHo}!p7l?(m+5=BDLW{+Z&6yiJrYJO5F8& z9=inE^LlMYu;kBJitDUjn<2()Gm7Qc=EQLnl5Twtv(~~hZy}<3Z8oZUZBDFn6IroR zBkI>??bA^=FnZu9b>}4^8{{fYAClIFMmdJ|^p%D$8V*D=nue2(7}}bM8LVDz%|e)H1Xt0Ykgfcy8f( z-+$`N6)Cr09H&VBPumN1=6(Nn>qP&&qg2y%N~I83^*@|?Zb4(0FI0W0Mp^Ij<;1&u z4bYf}i?(3Y=#q2Z_rC;4A8Y^(*q-eUn94b}-3(2{@!{On=A+#Ak6Z~kWg)Js_B0T~)1XlHG>KymlBUu)XycConxG32m8UVP@-&I{^h8!X zjS<=6v8JOZdO9wGMqPm8D8_kW!- z3k6kHGg-$Q{qe90q{Mm2+b_;46Ej&p^Gp^c0$i|KM%TRovFZ(2qBjyt*<_(NAdK&g zok8l8(^!Y!7FNxDy@VdJ_Tt~5P!~prG?SIMe3w;RLN3=xX0qrI@B6PigPE+cb++qa zChNIWqM58d7?(;~Uvzt}l_m;2QmVisrM26oocrPj{!y>9+7@Ow5H;9v(h;}&E)mP~ z&wixG?M}rPmk~DB?ZV#Ub`LjLC%D~~1l(?J$InSAO@OKbeF2uRq@9^SK*CNNYsT7$A$led;b|r?;b)q7 zEEoa?Z$)Az@I~VCi^~lX?e=vF9KiuB;&x!Z_mpW0SX`=W2ldtyuTYTLW-uDl{ zb7X%o+E)rAQfch_r-r=mAL;D-xALin{i^B;WEgSnx#+U@MRMDNr69UYFItg{vSKB2 zhG;uOZL>%h=@k+4ny!vGu-xKS|Q9koWy> zsXC1uZ2jBJn79%@Ro0?g_CPEY%Pl_-5JDwD{j}Ww9em)d$+T2B^V!CyRO`AZtd@#orQ$sW~6`}mu zzpbAjvF{&pwP}+~XNzg2?SgCX-(pII__|+E6>V*|p;+5fmOtb$PFuE^8lrhGLCW%P zy4pgnv?bHrVoK9URQ11U%B8Zykuxz& znSy>(wk(;#gMXEcBLwZ2zYN93aRixqH0lt>0R&TqIZW9Q4O9gw4~a3)ri4?5Tp0(M zjwx5#F1Q)}rku6?*b!}?(cj&MwlkJLJSDZ`B^ z!;C3ga1x3sLl091S(`FBOqruhnTGc`W$*hxB9pH6{o}R!2DEwKzeijBL*=~hAG!6u zf5v4}#sjX-zW-+gjOWE{!MT=`v^WztnbtU=#M4AO*l5y1JVJW+{rhpF7Xi$nVj)-U z`*)E>vZCepx=X4?tMN+f_hriQy|4Zs+;GLB;Xt%%YdGo1`|_0j7qQ&aig7m8_P+lm zgla{C!?+a@*n8fWmm91T-j`bvJW&mw+VO9tls@RG3S>NP#$lar4oUsKOi}B7xk=!C z`Dy{A{E{x_&VbDJ;0PqGh^UU-m)DAIKq!a@%NUZ@ z_ZsEc==(n4d+ns*K(zd2IO)i}cAbdjjba&pubo1uCZjowyVqdvx!3j@tP}3FmIUs# z+>Q@F$-Q<|6(|IjY6|`@RiExu>U)i%*1gswaIeh?Q1{SdQHAn+zu%vC$5_OgSTi2gQ@F2On zzBP^hy1#YEkB$|~$S&k)G%(@jj02${8l?)NQCeRf%DFuE{e>^jyx~CffH9nOx9eGlECH3?KmT)H1(qjw855YiaV6*@3fWr@=(;e zJWT?ZXI%gZO#Qd)4uPf>=P04;bp=*j5W|lD}ptuCsO_5W|I_ zSauujwn&St9YY3>PKhvpRe zr;Bjxk?sslweLS3zux!n)0mT%K%TdaegA%#>Io`+v-#gmM-NGBv!)!g9{!olddqMi zVl|v}#H>$#(O>;k2Gnoz+qbI;*9j_5CW4N@pZa|M#d& ztd{!BtEH3(aMlVKUF!_7(ixV}IkB8;vY<1B@j7d>D|)C|4CXvTom{x*wPS^Jr?{Sn zZvix|mL@JgUYlIYF(y2x!evJK zQrOFb6c?nO)jmMNo;TKv^+kZ_)jou$)xLzk(8O~EAaKE~$k^3BS~0ShU;F-1(5rs{ z(&`^=8o@SQ*|-1Kjw`!WgkvMF%=`W?=f?Es;ZmX6_fOrkHicL_%=`YiOB*c^J%4I%chPVl3J)@zbi~`86|uZQEaSc1C4_21gu}S^0N8uH9bYNQ ztP{LlO9I|5x8p;9g138A73l4cYKn78H;1J5b`-U|U6X*fyHmY9y6^uaH&iT!$`1LI zM=Xfd`~LlT56|T+`47+ZpJy9OfA@a<=h+LSpG$RzvS1kRrQGGQ`pLe3&)#_7e`Dq* z?fW-x5^+^y-#_%uzJExu@83+Z@1KulKr!4AJ^Kzjj^s z?oR204N1zjzp;=qjm^_FWlA#mRn<-}I$wPaLCxp$B`Qw=5PY6QxfB3#RJq(W2kJxx zK+K7RjQrt)$K1mdjtPK(903qW>IOi#X8EzG(lzUqFmm9f+>#F3eI+q^3@DXqD4>#M z9rlaIsX)K|;zD)ygwD9a`$bvNo=#`_BUYVh%|WSTxiXE+5vdhxDoX(n&j_HF1Iqyr z2FK&J#@7K5Ya%MXN*oaYLB1IP5zWj25bF&zb6cQy{IQCs$QoP)KwOg0EZVkju=ltR zP_Y#N@oWWl07NJ>8UQi%$GL&C1@bjzDT-D#(98i4P^Aiac`XM(_*@ajkgDF>K%2Na z4l7s*23@1A!1)jX5W6kPRl=Nvl55pT=&JyTRDE;|ZPkqR%ed3CLJEKYlde*$s0x5M z74zcmu3J2(i6QA00C@gm)khH+*6DYs{n{V*f@Mq8VHCqBvliVHIpS7Rx1xlwY!L2H1KJ8v8aZRt`fpRKeWdQi^L zssHT`vsy_u&>Y)ckt)WMgz|iA50qXv{t(%D|D8IbXRnVE zcfFoqE`j#E<_{1o`A00pb=LC-5M%xT#q#_?;+UpT4+~0Wt%au`Lqs)yU{p1KkXUCX zvSOu1)bj`0u%v1jMsbw7N3CucOlGcVsIfnMsAK1|53Lk#bP<0cF5+_ZVb;J^h6UUz+~$z9wty8Y zx?eu|`?i2p!+}V7!%0Uh;5HGPLRB+V&um@QDko+d<8p2n!k(`syLZFW359IV>P z&7i*x3K|zqUnEjyd$0jXo4N$cm+FK_iULxa{%`{kn&mRY_eY+CY80Lz>b{TwLv%OUT6<$&?-);sA)cGnmpF zTW7l-ru3dmC7ROfgK?>(^#!*l-0pqqDn($?Vb`2Erw&)8lyhHv|GVsVOT&R^ux~i& zh}(UWh~@i!ug~pXM5rcwIE)+N!QSI`FEv;vxZRcn+-`2i&q^sxaI1oyBARi(&Nqjo zcDod{+-{T5al1PMZsqO4p3;0LKcI8<>(u|ChUnMR6c?nODN#Ve9yZpDwGl(~lqkZ} zlxV^qY2vv^5HNTv5>ukQBm2eWO0ma{MgRl~c?uM>NK>G+!2uB1wy*W?cAVn3h;XbO z05K&d2SC6rC$3ZtQ92p`k=*4pN+w6UP;BT{hyV!Jst^qmS^*GdtO6j6n;ZZE0|5{~ zBLKo8W?h@UrzG{H!5(*EOrrTzgM6tLuZa$T0Jk$Bog4sRZchQ8M)}DB5b+YK00`vv z?HAK}ot2c(2!Oa;6$C(l$pH{>I{<^Xp>&aKFYT&rbkEdM2h1ANWaHH~_+&5dg6oEnN$Yp<4TnTq-*rITK^AEd?W1UIjo{ z*7kn6^#AgtU`!Q)_RD_-#d~cxkf}e&&>?oO0^#z(9D8jI(QK0l<>3FRpCGZ<7IL+F zl}u-^ZKbWgeWB9+y|z?{uY04aXluI##oF##{*c2sZP{yUh#rN4lz;hXS6j%Hwq%-n zZP71x(riI*xAxkmmax|rr1#oprGH;FwR-rh2*)1jF0VTP0%rEw!pnZTB$vIm6nU?0 zmV0|w?rTKo+iMFqdu?H6udM|qp)<-ukG-}a>%F$*c=P8d!=~X{sM77V<1__8*j8oi zfMnY;@hSkqG(E#9s>W1%kxRCJI&y|+WEMFS!;&fJw`9wbZT#pX*)~GZet8EJ+s0XB zZVowwZ2-ZNVGc_+L}OSH%HR9#u5CcBY=cb4k}GW&+|qtara~*9 zngPcp$vW{%@v@P%y=p|;5B*lw_K4*VIgHa5Q#M3vVSvPqqhaR zSxYH8v`jg*1XBiLQ_f1?sG4kYW>%liiqPYffndt;V#-M_rc9AdIm>;|J34aTAwr)i z!;LA!j44}i5{fB94^swNn=&~}nPX~rk5hI4gxBY;IdQc%YlqkF8_?ze2#>bs}lh6X!X39EjZV5k^>;P$rRZRC7veQ%14vZBcwL~0zTbr zGnhlgLaqvcaFIr`qUHCxbE-z$5|q~O%ar4L|26C28tNJjM9bHPla9PEABb4~%EPs( zwgVvM5vqw|4&&aJVeffgUTm;VcwcTw@I*CyYR7j-Dg8-+D%dHa8RvDrIVAP_GDWTT znZ?Z={E_0 zpynHjD$IXeOnbL(=+Q zqZ}K3@7sK@Z5a+kPff!~NA9&}L@XD?k{=80duU=Z!@YJ%6=**O)fCSv-5iqoUZbdWuQdtWYg4h~CH3DacL+4?2Z$27Uj4l1lIYpP zQR1%G475w2J+IYA1WW!IOL3j`%?UBq1W+um2_%lQkTjIyFl#NmCJ-X3H36flHG#x> zZXzppuMv4oKmib#UL63@v{U^>pmi(G>yUlZ)zL%AMlVEl30E2iLTj${+K{xiQOdE= zSG?6WdeLwoS|K-_bi_udMJ#_#Ta3or=%r8rVPkC+_8uFZy6Ap3>jWEZNx(*PJHA#* zX@y)BXq-hg#f(y|kSn!~Qq;21CIK70P5`Y7(v1p;bLOGwZA#QtcdM&*Wken%ch|QL zqrbXZhkSXCT1Ivu)6u|$n=uZAqKT9$nn-DVc_`=d{LDkXJVy-&qDQykq$8K-1`*3k z5B6Q2xljRNV=oWvJ(p*`!8+mcv?OqOay#BCrL+l46=-5iqo@=(;eJWT?Z zXHftNO#Qd$4uPf>=P04;bp@7O5W|lD}dpuCsO_5W|I_Sau zN4hgKRRBahejNbe)0mT%K%Tda00=)!^#ql^+5B&zqlcumSyPT#Km6-9>*Iz4(bX}W zbi}N06|sD&SjKyujp!tVjWui7d(3*P!8*aLTM{tq+>Q&shFPzu0_{qmn&LL4ie^%3 zv!$J48|hkLh8SNj z+CXF>#_O=K#L8o0In`vrs2~X5S%+PBg=1DrDd?=0hSqngKq~D?oc{PynOH6LnO93G z5#Y2HFuK+mVx==Ip>tw6(_}$s2;+6$8K5A|Vld|!>g2*buN^C-J4LLW0!^!>iOY}I zCf8z&3D4*-X0;S9R!g5lovfBVmrAr++6N08!C{<6x*vkou3)0SN zA0T1R8EeM+B0%(NAHvgWU&0?W@mv82Trev#cD0XIj080(00ITQ`UfDb{?VopY}1w9 z{(p5`*=s~NHsZ=00C71trdcKpVXFWL>Ygo7Ce{vf00ehwV{_Pf_dxXSmcW}s(%Rcm zj<cDWsY z{Q%zXK2@Oi5UMFoD%~8C+S^go@^(!E-tH##@@N3W7B^HZhRO~vNy}Ies{HbDR;U4)<$v(fQTi|&r?}r<|YL|m{+?CT|pxN0zxMM0#XD(7##r+Q`%Rb zD{U@V5&%J26#&sO!3cl=;WbSHAUX)WqEeg!AgEH8bp%xhK$u-GZFJ^#3V^Vp+YW&E z<9lR;`U_f$Q+w^yu<43m9dd`U3EZW#-XJ0|8eItO00`GM>#g(ph?TDUj?>*IfBmPX zrd~fJ(1Bgc*ZkyXeG8l9XA}^j2?X3k3WzwOw&h*__lsX8Cgp&LyIKT|*zP)-DUL|c zzn+Tg(7~%dq7Ec5f@~ESfv9$1#19v=-*vPCBS5wSBOo;PNGBdqrWVxz{VFNbi_TYZ z4m;k~uiN&-r_ME-I*r6S_#tvR_(8ec4SRHhf*(Xeux3fsi~3($k#iu#X`cgZ1w!2a za&{p>p1SL^^tCBY@_zCym8tfll3K+^+!-`0reS$#G{Zpy?Z|;wZb=6jodjy1f>KFB zKb0)IgsSueRk~k1tduQh`fFI7ak=-4M|DPH_KS0=RCl4yH0`KV(p;U!Pzcpa6+%;V z#DM^MssO8^BS6_~S8IGDIzmMKQ>r*pbc8{^a8G?=lAfX^)PVH{+R+ipH=`q9uA(Cz zlh7>M(GdnmbOb84q9e{%U`I!ULZi_Uj|&zJoGp;AT~A82CBh+q(ID{wxf=!h2ODq&7S$+hYv^i_03s(wx7>7wN52sosWq9eeh ztMoEFMAo&Aj)?j&B-OQtEZa+pjtEIAIjyt(;t7evUi9%WojE!JBzX`84=50xW9K?5-MEaFm7A|d*8UE!8&1F(vskD34Gi8<=0Co zjT=;f+$7Z$&nngYq*9MdC~A#MngqrrQ-4Bt=l;7SxpLQ{X?`+F=z7`c)L&B)J$pDx z-1QnJx&+$unp{Azi>_F+R!L!8CsKo zq0Jc2ecypC?N=S&PJdIJ6r%9}* zCbHsbjL4owd0SaEi>Y=;bc8k8FTeB6x(c4fbdT(pD+Pcrt4Thx1<+iY2+ ze4E`G9S&A)rQdb41&s^0GXStXxDApY z=`IvhSulG< zeBX1aMDu-puymO(xIN)^*VR=TywhQIbOfCvw|na^*zJ~v1JQp_7*0Ckc8`l#zU_^D zZucTWHTvN&ZiEMWkK4V}V4dK0TM}@)w3Bummr{yPQU$tjR8wpy)rMWAcDod{+-{T5 zal0B;BVuquX}*)UbS`U{`cQo*-$QXh+Lk19k?KMsx%nhc5YZ7jb997{dfZc@=m;HBbcA(MbcE{8Qvr^SK$jF9q0@+tfH`IsQglR^ zxuPR5?G*7KbVNt|+0V)+YE!KUDLMj~vmSDEv2Sf)ljkQoB0UpxbOikAR;Z#QYMB}( zn0oO20)lwR-rMML70IckMl*BgEtA2p{#(Lx$X_ z?2M`-Is%&Heo0sED@Ewrhzqx)BYaGPlh7G8j2=$W5k8xm|LwcD)bR1<-)OixP|ie_ ztTabQV8nV_2rNx`Xw=aW&=eiPp&C=|Mb7tv#?g^8L?g4vnV6y@MCrF=%Tjl&{&cpD z5VT)@B^2AnS!C*YszcZY5Sj;bijDxHF{}>dfBLDeZ9uMUgG|SgD{U9t(tb;(LN4B~ ztBMpIktnC2Sla{3A95I{t)nB%RGinL{HNWnwva1r$uuq5y`wiT$cm28p=HUbC610z zSwu&GmC{eDCR?(ZMK~`)k0k?fbcBzZ{6|JuGDQ&`0Zn4=?#lgc5&A3{ZbwJ>m;^_+ zzYa^Lhf{Qf&$1=Mhb41N4c7{mEt&LCvTDwWj*tyk(Gg>v@&)8*LY6~v>zYT6Tq?U1 zITKTKged){Y+34$!B1x62toVhCKMaT)HAA2>()AiaR9-TVNTHzKr~R*p?v>Obd3XY zWgKKWrd(;OZTe{2A044muHIj&iZJD@?H@w1wnr>~$YGqej*bAL*)<)?8%DH+TxmS7D(Ghsif_=m>R46&>-}|DNaw ziauOLN2uJ<5l!3`;4C6XN5He)6CFX9-)q3-qa%dP(Gfb$(Gk&rodH7pLO0`9s7H95 z=^FZ#uA2XYSVu>I$Zs7VxI%AyYtg&w?%kMkdQ^hx-;j13fQF8N+b|AE3AYmcdd9k*ApsybIBl2YGm6t(WPCV_kHaRKW7JLL|6ru_g>Lf7l6?YSg+_K7HQ z*XvGq3AE?6`iNl3KVvDbv%WbY#+m?%Ji@z4pg# zqZbVaqLH29q$4)^jELnAX`j(}8@&`NAZ)CS!ro(}Q-9-rHtPf%ZArjJb35jxlvc=9 zfmX<=rg&DVR>+mwMk#99Xp?}APW>qw+)Fp=YokIh?K~8{O^Ledo77c~j$n}7UEey4 z{#x|aAzz*=Eik)~>1bfW%@_wlqgSQ+u94FE@=(s@x$A^4&r!pH=(9$Kla5@TBO;dn zWwY<{%!LXF8+&VOtSQH=-~4);^>M?2Xx-m% z(h;+s6S4dlv5faR8_`J!8*A3E_n7rogLQ&gw@BV^%?!tX$;AR81)bH>(0W+~QfW`(_KRDUiPch{ zMRY_caM}tOUF!_7(ixT%9T6;Nnk?uHVZ6>e0~DlL7^!EdeUs=ihSi?YA+MbRO{=Ae z%a7M4*J8~zX0;S9R!g5lovfBVmrAr++6N08!C^Wo2SYHH)UhPA8j*bZYK@-mvfWQT_B4bzkXvIjxgQ6o)(5rs{(&`^=8o@SQ z*_ZrC$CbTOgkvMFETSX0WE0%j=Fkf&*PQtNzo3(-d$vHCSUaquBP6D=IqbZ9AbR(9 zf%O-nN^5UNIo|H{-S&1D3Xky5zV+$=bJ-Pdpn9+-mXc&+s$ZLH6}WOs}qZ%vcpT#G8V)d z(Gh6wxtwvIhk%3onhU%W%c#o5>L<|=p1twsAsRC`p4N)m#AFf8&qF}yMn{O0q9dp< zMMwOtPE)0|foVmP=m?e7(GhJEOwkcScumvM5p4v~5h~8n5vo#`b)=?7bOh{rY2#2u zN1*7oqa%jjAR|nPYCGy2_n*{0ZllQGQ z0|O36_oS~P9En^C4476f2L{|NUIhlsh{W1-4h-0^;HTe9B`16ia70{9 zQxZo629R%lHX$0CKbx@HKr`n9x)B&)a1|J^C!txiZNlIP3_!(JV88u3|#$AJM$!Jw;jJa9flV8BL; za+NS!P;#w034Ik9kgAW4p{<(9eHnK^R!D&XVA54;6;*)&yHVdf2aU{h&~_WzWlhP) zaO9NE_KPzr!Cv%dyE=1V0N~1+BQU`BMPR^|%0>eNXn+F)+<;DCKy5>Nsxh~gT?a?e zr5PB2^h9q21^~-}0U$i}2C)hZ2t))1bPy>pz=#3O$bkXi>c9ZX<*1f8Y!6QRP@K_0 ze;W%^@vu^G*~A*l3NmZB85$Y0X&+EM!!ID4qceKHE*6-C2 z0mW()_S5vAdzBZgLrSbnNl#*h7uhS~@lYiO|d7}{Keb%LR_ zBw%Q{9p}FfLwi~kXzWQf#YLr?LsAX5-_x9jHk!yz<|`5^HOfVxI~fspI+2- z=D>hwb)q4HQW?m9RjW1aMnmGEsbQN+ybTzt0^F6=AZ&ZUiMIh8pg|EAZNa>wYtlI| z;3%M-dzW?4elkf=gpBIcMZ7&O;$rk+*1%PQQw)u8n?ust0+y_(_CKuK0+tO2q8UHK zNk=T;Y7xs%5zBZBSP2ynHr4`Q@3DZ@2I~Y1Xi2~Vay#Dpy;#5zRiNM-swu8js&D%# zwFOYrvVbNbTYv;cKW7KOM!yW)(SvD8(6wEMl$`yGAXU!(xJ#hf)qIqJ0mzm34GVEy zwWom?o(6@or%4=JkTloEL0h5>kf#X|m8UVP@-&HccOomE#)#}`l(&^##ZW-6Fx(&x z3@}xuxcu*Q6_~(_TW7!gA`vbZ7!cUvq;%03TfNu0&8`zE-)2Xn!@;Vp+zgtV3mO-0 zX8>S(Fb7E^S;6w9xnCkMGr@AN+;H=d$y6z2#Rd2u&y^&bXHCgBl2;+NWXOQ}2SE>o33Kz}& zfV4kk?Zv-Jp)QOLX{sx6akXnMA?Io&Q(bh30|V;LV5)0uo$Y#<>Uu7fXsW9Z#-)6K=>4@9CMa1&dclEj53kcQFg2T8G9_&4C zw`{OZaJwxDxZT{2Z)P~PBB?5|C%Fq_a>=K93QM(kO>|%YI7QSbog5foZcmM!qBWC0o3N|C zx#BJb1|YX@AC;bhR#HMEFyL}k5EuX^2L{0HzyMAh7_g=jHJTrS2!>L z058rC4CnxM29!o%05#;m0HhNbVC7Q}`(@Vr8s5jX=c3ErXUHksG>9(KWKrazteB6S zA#%Er3nI2)umb})V-q7~d^W+*1p`uGfOXO)P1T*J0(eEYW)T>`)pK9~&5(W+rNDqN za|H%q+OgT6(g+Or-S3c3+%!A_1Cq62eqHRF8`$Le2@FWj#1t6dCrP>$a$vxks$(&Vd2W%RNV_88`je1an4Uz;d*7B`}8Suf-yl%GM%hV(dYs zV8qI+zyQnAlj4)UohJojst~ka{?qNEcvt5-G8KEKL+t7V!sUZG_MjS~*(MRnZxUl3 zxJO_B6O4|k3-oFQx3h{N{hHfowzq-Ovm}?m z0E)Z^HOu{+uG|-i(6CFrBtb4m<$*Cn+G7wvGR{B6S z*^;x)za>JCB?G~d;l+}ZTr8O)TXL5BZC$xvBSN1g!;K}wj3rxe5{e~54@(AFTQWH; znPY0W-nMPYq=%AKbIzwIWy3izV7ya4K#nE~Iqbw-x_0zME|ry$Gcin=f__uBESbXH z-<*vj1nrmK1;xg35t*8L(jklk2&N2kn6e=nsESbj&Np?919D{?WICo?X}eG$y5E$k z5W{`9st8jC59MJf)^_Uetu2Rf+G5IvXj({+^3z7Ng@{T|m@>SWa*~TFQ)E-la!*Q3OYR#)=rd)wF=d!BWeZM1 zF=gms${=e~CWk3=ObzdG$_@-*Fk1x%;Jf<3%;{jJE zFyKz#Wz;-daIWPfEzZPErms6fiKmISxY4Ba2U^Laqu7aFIr`qU9Ny zhP~%~ zd9J}a;eEL!!4uW+sU0tuQd%rl1^OosswuXV>W?dx`hA(A*86gk!29w&0!aCzx|lly zGTVb)NLmqA9l0;>6G`VvH5EBAFaRzwFPhns>S;%a%(yfH0}_0x3D1E65Cv}p1|;-y z6U`eo1R)!N0ocQ6U;q|b2L>F8dn^J2$PgF+ghgV^`W^qIAKm;(Ur%5FMIX+A0hHq# zTDT|w4S@mRa$o@G+v5WR;M}>_fXfC3fK7n`oTk8l)PS7l!N-cIS}khH$nD5vv&amDxA zal?UVBGquxk$dfa5z8yZGX7rMK&Wh;!?=45_MUrftHCLY?Bf6r1}XMJ-*j5Pri%WDFO<1{1-h-yv1sA^3hv7VX8%H3;3UK3DY z0H#+51~lzdf1PLDigP+--}G?wP_og3s4n5o8wWy@(e&Dow6;;ovC$8|);4;^(MmvB5gQMq3iF(cF$tmr`0GR|R@ypqk=9saD99 z+D0jA*=Uo1jXoxT)&=QCeU8PMhoZMBQCHpkwGkNLL2`F}>k|5F_3|I;%X8i`vI{w^ z66u?8M~nlZs2Qc&nW(hBJd|^JZoAc&XWDQe8h9H{I&yiQ5V3scYx*wFOsIgcv6lz- zp38Hz!8+mcv?OqOayvGpltPPD!H(OjHD;YFT1BZZ4@IrZ(Ai*Xzmb5@^rMg&xzFV!m&rXGc;9TKsdZofFHOstmr%&Vo82yn^@ z7+vcOvCa z!aW_vtd_#XYUy*RlhxAaQi)be`(R-s7|izIdZpQ3=5(%(J?&l!d%1z)g0!>R2T0g6 z#+tFd2oSy6hw!x8m+)tsc&-2hE|?V=yV^%9MmGB^FaQO;`Uk+i>sUdXMzBp+_BmhC zab+(O;n;{Pb6~*b+?XazrGjP-A~1luXA6{xwZj}3z+Kwd9Cpq<5WPDuumXaV*4~bC zyxq^;VsCd~I1t4H8BRLl?G{BWpZ)SaZ+9M{nh@bI?mYnZ9&dM{!8*a)wItx}ayx!g zO6k)FszCd*sHRv_s^BE0_I4Dtyj_!kw|hptJQ^5qoEs_@LuH4hw2TF@IxqlQe_()1 zb%(NG81JRr<@y+|*#cD=OGnK>}Pif%hF;Qm<| zp}xODacZxf8a7=KtV8ZFHi5fz)*D15MxzU%9T?!+w7yQhxJB1p-wjf_`{WPnivjz^ zi{2N`UM%sMgqzD81908@sZja+frM|WbMj1gy*RRLBPIf1kxwGP<4+>Ig2MLq5Wf35 z8g_Hp{1^hcYbAhREv`6w=L_rHy}MKTt^@gPe}{py#@^_Zom#XIQQs~2B<#Mx^)jJA(I3f}fbLhjZ?z#wlSn)Z)R_Mdgm$O+MvO^!>s5XmV ztuob4MOEm-rO!3ZifLjnG_qov_lq2O-D*d5&>V*Z>U&R0B?YsMrd9*r>n` zeF%j{Lmy5E77d&&kgt)MQmtp8nL{6-N;C5ER}Ovfxq@{dRlT>0HgSC%P%s}1x=L$- z^C3bX)?1XTggFi+*Q%4ySD_E7`sf(is=4ZyagS$(6#4)rU8Po075cCd^&RD)7V4nE zG3~OZdABsIHF3eQyhH8sZa+-ry{~~wBI1u`Rky4GGl-7d|${BQg#!Vh{ zoHZPX#^HvOjtn~9Bx3o7SN9D%&LLDIJPzXq9kBNdIu07F69yeE2@E=NJHA9p=?y^@ z=*5z1iu;x7e~*-U&_Pja(9t9?=-3mW?!WWy5NMjlj1szD)_cJv(X*$c#9gl;iA$h8 zubBe`Oa4Vmah>(d0mPU&K(Rb?kT@ppJNGUk+5TzAb?PF1XI#X&=)q_wtz*$foM+CaMBSAxFBNrBC(9OfTd6YVPh=-_8tpZZm>?UfR+R-Ah+X> zzYq&}LKWzqqne^rx;Z4Z1yIzofF>bZfCNTAX9vGRzYMsz+k>Z->e{YCO3wZwB#o@O zHhQGH1e#sVM;ZEnTnSmX5Z6_E8i?U(P$+wv#Bm&w25%g+_sIawQHF@h(->8Gn#8&> zkrhv4MD{ew+sg73C1&o>2UBH=uYHxS0#lTf;9zbN;c}r5fi1SA%YN~UdarYvT@oqZ zX3s{4gJnKewP^P7zq$QfxSauj?ZK6hw4F<^e5nqLq`&Y{n*NIe5qho~VthSw0+HDe zPr1Po(^rTS%c&*{eFQ=9&Xn8L=&<8viHSz)bprMIN(v3of`YR42%Oj>7*KfxP-8s8 z4KHOFc87SX(1+v7EEH5(P3A2%`r``^B}&#AKe&;$J>!g65p8meF-@K&*NL zmgo(HiRDa_h2DTLzBlwmYxIy&Ni{*lJ!kF>X@AJtt8ke@T^JqGWM1O(T~=`kIa4E< z%%ejb`cQWUlX+w7Y}dnN-gBu$lX-nGE|s)C>-L1(omOM@_epeE^-ToIxi1#Kz;5@P z;XpJeY&hwN+no`y{Ex@_-0lHFb%$^mH^PIx$L*ePuugEhEeW{Y+>YC&l)hT73gkJd zrZ}op|0$%@ZkM8#+iem$ZdWm8h!|Y2G~dZ{I#<75a7RVI-av6d+L;UmBy4G{8EYek z7?YvmOOv4qf3b4ZL*u?l@KZgS`Y z41_)ajnD^+n00M(X;M`hY;hOH^qEiPkpB@AxLw*i^Z}gSn3PTqeK5D~Z*A$MHGQEE zkG;5l303F=a{G3Q=_zO>B{V`GE>{Ji4`2>G`PipX3)~KU;KZR1H|j)FQ znkBvCEc%5i74kA1q5xich|QCk11w5VT)j3B~(XSCOf|#?T@5tpefl!5q76 z4bjk4g!0=yuYQ6==mX?x-zu5TF5605eHKHd{kv?b5MQ^ZD%#q9Efj0JZuvtFX2kVDu85G)zyuw+9th83aw`MIubK(1_qOvjQdZ5Q0q zeoLl8Ecwl-?FQwVE;zOc`EGImyM8$+9VDxxXPX4Y_xV&}PbTW6CgN$`+i2V#?6NltEUe z%oV20F;%?9DLeFmp>i4efY)vt(B{wwkG9%}$~p7_xz#rj7?(*I54eUxALiW4D7jN` zuH__$KG4bZ=z$VX6U|xh-jN<5t)UO_sk2S}R~YPpodxc6n)Ti%yvYpfIAmm3m1 zQ4OE!aif&d8lei%nmff5w<}#S&jGQI)V4)1p%b|40oo_MYn$kB)xg7jNF!s zBI#VIrXnYXKENerJ=?@!N!7F?MCNH~p$`eJH`ofELmwatUJHFl=wo#>Z`crotc5;c z5B1Q8PweM?0gJ3cAEu&@Md$+;ggyXakr=ank6yLh%wKi`p$}wzHitftk8fz;J|P9) zXc0N|0iN#o&<8j*0T1Acp$}kF=mV!I^dVKC*GGt7=%N-VK`EwKQmRkL zDRo~XtI^l$1p3+;0jl;}a)UtAJ8k69^lIl7=S0ii9XW1#%|JT`+A~^xM6l$avlN$E zbxw$}CV*mjO(1cchoqqthmN)I>SKr~*943z*8~#lg^8^6UL*3FfI=Ub1*<|I@J!VT z`9;z* z+G{l4MlXd52pemou(#OgPK|YfjW#4;qq!b0ky2VwPyt#YrDo9 z+akEQs8o9|l~%Whd~VNczs9#`+HfEW7BZZ4@Bxv zrp7wq_B14LdvZMrDW!k2Q~`RUqnKhtsp4^z`u333xIJ|Ox94F2Brvt#tQ!QH-b*5f zrq>-f=$vTT_eYMKUiZy8(4LVCL9pZ>wiK6Hxe$oqLQpKbki>Bek|qQ=Xu`|@O{j*5 z(uEjRx{$;=H<1+=VnpdeM6h)>))hOMDtr3etnNd7UGcIAM;;oUq1k`tV^{lG8INCw zKKL}|q$QB&Z7uX6J$2`$Z#MsJ8hV|yGHdcN>t9rm@2RSdK4gjT`xAuaiX`UlMR=1@=i7mF9#$>Af4VG)Tt&H@#C7Nt>(byNA5)@s-Wu zDV@b4sn70uv5Htx)~a4-0F_D}Ukwdku6P+`JgY>WE0L(DMc;Ai_4?={EtYs{dKx9hAX+Hv_P`|%-j5p1Iq6B zuE$#7<2{iz8$qvQcEP=`dweZ75>9qgRlr*JuMtN1WDm zA`V_9d>$%&%iP-k_2|35;?LtN4WD zmvV5zbG6fDZut$DUhuj*402e)@ts^meI-#b32)eOK*Ed0Wq*F|jX$yDWyTMWX3zC* z+tC}S7>{4lElL%rq*rkWHqgAV_`$jEA6u=igAiWy+0V&Q^%rP8YGk)#6ZDl|taD4S z5!+cEZ_kXZ@BkS*_xXQUsxA#@=elnY=Uuzq+b(zi`$12?+b+-b?%GxR z?Y(A=ZBEGjwB%NN->bTA@y6d>Kfzbbx)1tGINko7ug)IRLG`LIC!rB>&m}<#V4uVut;{v2kYO)T_kj%<0~GhzZ%fC@F-#<_}RX)%+37>puR- z52=*IIrVDxcJF`7S1Dkmq^bEr}6 z1LL@YS(*?d6Qyg^qB4>&L1LZdMi=LCxiYCb~e`uh!~S|~v?$5cR7 zVO-0(IHtnqx)YGf);o>rad#Z4Fdq!MM@xb8Az~_48kB2rtTLwJT$Fc=gWl_P(0*a+Wlgybzj;Ato5gwMU@iK?ADua-0&r>A z@i_@w7cmtll~<3cc&lS7sDQU7xdKBm6_pKLREfE^Y}h!2F7=oSq$heUrUF=wsQ}?w zONeDmMIa)kVhE99Dvan;jT}<}uKJt=`Enlf9J>8AABqhf^l2BEiu;sGwG)xE#X$!_ zMB+F=rWPd0=~xTTYKDk%O2VjeN+Pk&Ol0MuVMH}0vFw0;hI{j&?yS`fgWRI(>!g*T zk&mJMNIZoP8V*E%ZDKg-h@owZIQWzOZH9Iz)JE7?Lxa7=&<@vFCm32o0*03B(Unq~ z-%tS>2vJONNvYxpl-kh9Y8YCbfT2BVJS|qmRHVi{CgnDZ9kS&AG$PfRV=5lgiT-9p zsn*ApN+GZ^7dZ9jbI{m94YgMQ*Fd)0=fpdx4Uj-?nzqjfHM*RiKPPbrQ19#sB-=k} zqE2#j6TdWW;v7X+8o0=?fXl+^FHn?L7BCN5%s>2sm?knDh$dJKCmpeXCq*1=J-^KY z7D9y+9LBjC*jp@MvBo;V0vZxLO$49n@n$I{H=qJE(?T)DQ%W_@q0|;YR>K17glqw7 zzi8*|;7>}tKHrPL{uG}o)$9+XMk(% zNe;JV_jyb(oN5fQ&TQ;IbK^A{3wvXB#`@b2o5i$RZ>XDHD^l)e2cp5xM_p-meK#a% z+&KL$g)X$e6q25?g5_Ivy-0c=R~mD9HRHB+EVdjwAG5ez6j0;n+_AwDOugk|q9;tx{p)`hmdN=zA3 zu~2J|mr$;rnUbeJNYO=17y8UG732u8Wwng1S_7i07p(zHv_@jtuCve@5XQHL{$2z< z(tiv1ZDG#b_elGF`BT7)HXVO~EB`@CaJiS2ToQA*LNb9!gE*$5Y7GBD%D6JcT`R|b zkn%JN;SW+;VB9J-;3d~5-0sT+U0x@x+%Ea_i_6n?yE}#h(W{=}q$6(kMiB?!Etc^k zya7V>xZyC)?ZV#Tc6V#66Wne?0&X|g~+$CT!te6!Bgu6u5%XxBNi3(|59_7zXuE~NkoJGDo?87m`(=*d`wr7q2uGSR73U<# zF%@uYB1)-V$wVBDsR-BVKgN=-zB=lU6GlvhOFioDGZa%{Xc<#s+~k-F7>KC=8Zi|X z(Q#?|Hx4N&4bIaGV}j17@wJ0^O>|5JIDK-MDt+)>Z(Lehn%n>O56->!r5J2yd%8i%`O2{!4NGGPk$|o+r%%%pO#hA5C zH2mK|uJj3|AUaQ7GOi*oz6znSjgjS-5ey-w!eGZ#aK`@6V?L^vfzb{+9a2n%b=v2e zS|UTMEsAxV=8>D2YBR0w{c8` zIU}axMAUR4For6QA+A#1$+$8xw(pWL`gA|T4mGJ^S$a~u?<$@YjHyD9zW)rx8)8o* zQ+Gj!*bobZ+Xr)O-!()-QxOLH#h9NU5mN!V+z`vf(DvO@+oSP0gI^o^>dgK#ztzFv9; z5)S%1RZ^pcUnRnkhlW?|9a8}_+jrq*i(Zn;_Fb~PeK*Vf*wm2RKNF#C`!3vU--Y?A zEI0|B)iw0kz6-M2zRMMF{v2i4R9xS5k~8T!O)(X=RT(=V*|to)jHxh9%dljXW2*CU zm2Ce)Tp6Mvb6lAimP|&wC0mx7c~5H&VaXwAbMXH`u_dn|Qxiivglz!9l3@-@Hbi4s z5eCP_*tBHGr6qGQWXYwrim_5|`$lvM#3;UFMBBrqwp*6J&S9LkSh6A7!Y|0+*Z%9U zwvbD0xu{z*`bmNh9k+JFl2c8vWFWTWtn?dIk}cWHs>MkWS}Yj|mJBbJoaAE3WZ9Cl z-0OzrK1+l)ONJXuh8at?;3O1Fh8~s-va)2Zuw;(1WXw$aS8U0o`;t|2t~nKKILB0s zcgmNLqwOLbl3Uk2Oo-imAB0d|q@4&b6H6mh*NdccrJ9PI z7*he4nCHxFN!7F?MBdLfHOSKk@lL4R1fQ?Nb4&$9!4sMtCJB9_j%IKRLC9K61@=&n zsrWH%q0m<;Re>s|VkY`n#8hxWOa%}Yi81T<=vB+j{J#JEImJ|v_1PR#K|a2rfqN@B zi^wq*@N~z=RKVFgYrqv_D!`_g3Qki@MXErrj}X7mMJ=RO>M?$$(>NIRG){ZdDmyHi z6Vnk>u|O;8J;SXVb0bRWLp4aXn{Lz90)}VDAf)wrBz=e9~+(jwENnU;XpJg zZ8+&jU%Okx!GnL_*4I`Ls!f3$#`QJWTl(5+jdem_Ye=B4<$9cwQhJwA0X^4OyYzLg zUHVGh*T`!0wK{>mc20n*{m!{TplLrq>wEBo($-ihR zF0<;K5MxaM#qyd!;#h;Ep%jOXweXrih$zw6an1vC;cKWg8tB4n!;DhLeui=tU6+ zFBHr8=fQ5MfUvPP3VVxv@S?9_WIGZ4@PT~qo(?_>P<|A2gyx0qBSl4RaVQ}I^^54VS(9&8~~ub=z*It z4um$BDb>H$DXne~`P`o8t6CB}Yd8=sEf`KZa(mt{;^3$Lw(a&DM5xw!IgE25u(#Zv zLp9b3x2GY2+mq|@O;SoPaVkJt2q>m_MCtN6sc#QijoVWvaCk6*`B_%!CE zC6MQBEv6zpbr+>?Hvh+H=ylS{tjWi$zg4BGEl(N_MDLS^la846Wf2Ge%O~2*`gAlB z!p534>@8-!RAZfB)(r`mb*{$`NGYxJs{rjvpqS!GrOWH2HfypPW?d&>)_Vd-pxduw zU!eu}pyB^}eE@PVPttJdTM;orxmu*|OzR*w1HM|cfv90(tUSUJE02lg zT%84@f*|bcR^! z3`^*oST5FC&>6yboqK&0q*^>sJwu&bxaYMsDxjf@SUUxpR!b9?AFp+;!-xs4F{`C; zv0C~x%4D_l=@g>X(l%Jw2nN&bU#F6@z06Q!Jp)KWq&5Zkr7ws z7>p~qF?~NfW)9+W5|rI3P)5e9jQlwXdTDKQ*tT0BT6b39<#p1^+mVmAo0DQ{;7f)B z(VyoTPCDZ44vIMVy~o?U-3~%EA;MwYLmc)NZ#Ss1PVjaO33$6)k2|GQw|JQf&>(_h zibG15*GcW|$ZB}IIstF@D2@5Cj||0TEYYE2F;va8D=lL|toob;wALsMbI`9@JB{~J zu446*&q;Xp#-Ed@&D^BVNm#OW7rKBdT*HJMvGG#vqtQepnE0H8(eXKnJs4A=)!MCA zH1#eBUen}r62nHSzN~D$@xo4#x~(IqDvZPIc`Y--IHFozM{?Zu z?_`9%{%P7e)z?l9n=T2~AvYMCz@6KPuSUF2*K7|D z_y(1!|LqgmaRQ*q?bI(+o`fMe;slTvGb<4%up3`ruv!{vD_3xQf_x0YuobjCI<$#P+mj7W7bM5Z`_ z+Xd3>q0%x=z+m6Nxe8y!3CxSAZwQDZ;sm&^#|cC=bDY458k#8}(6u-LgUdL91qscf zZ6XFooB%2|;sov}!HyFMg&LdK_P=vOGcSTg1v>@uHM6HweGbhWCjeENajnknI02vQ zzfmBSt+$9aad*7?{#Y>R9-R!F4-qGDxLt?^*DhUXHx-hw{ZoA;sh!iITA zBZsC}%MP3qEqhPoxasx$b`G>>^qP%e$=|aSms!1LLyXsK6w9yKiDN4M8`n8nA~Qg* z*&(8Q%{Hoh%}%V-6It=iMpUoa+Seobj5at*-2;-44e}gSUni{$jeHF4)jKw{8N-2S z2GnrU5kosK;^1xnq0P`{Lv4hOH8j{;4DDczb%LQaBw%Q{9Rr(~cT7xGC>hWdX;m=;q+)$ILuuI1qU$!%0Uh;9(I5=l^}11bF5!ut|+E$k5^DuMA379HV{K!Xj7nsi@2M4ny!j<9#0_zVY zY!;W)dPCjpQIT>t+ldBWjk?kq^gkd$L z4vFP<_^;C5XcEhw^_`I@h_$CJvC5*HT&r{a0fc)XUJ?GxXq-TDm;8&AboJFy|DQ<23Aogw?mk0t0*01x z0>({_6M%s@0iY2lU=bacrjLbiYvkbQg)!IUQ<;NQi`PWQ34rVMNhik%m|I>!`yVB8 z#P6L-|FrM{e|uq0ZFALKiW5L?+qNn_1+Aon#%!0e^b|ZpR65;y8g> zov6}O(QyJ?mvI6XUp0l}1ORwWjW~fJfWnTH8*u`ZkmCf9PMm<1Ph5VPHNS@Uaqkyt zdCf?1)$Pv)(RrFGimS-WUt2IlBgM!&u;rFmuHTVA`?wAI69i_})k46PGP1;slblVSdBd zm)5Y!^Ajg9FR^+irZ@pVNm5tHaRLjpnPw2(H<>YUA$}GeLtSlY0TF+C?>GTp>j56Q z(QOUN%7VX@uXl(6@oSgD^R@2 za}k+pRUKlJClGEQ%&{fa5V;Z&27mLx>Io8Y0+7p1o?HxVNiDTK8vp&@x+RqY@pYF~ zL{rEAHT2k$3bNXg$`x<^9A(&4TLavE;8F(e^;8?V9DUa~P*BmTZXLr3D%MH{% z81Iy~kW+qbA(`?eh#J2}-cDSZ7^X}{yD4v*ZF6vqsvmAH1Z@sJ_5N(i12FpNqYhyl zKrm&P!;}rtKvjgn_lU7+%8*Or;9|&>OKp$FfB(0dG6iDF--m8C3siw}ywrBj^4B?x z(-u=UMDHj1li0z1e>$u!Za`SQfqe#TDxJ&sV0~*NSkt2`j=EvL+3Y$&|=Ck zW6JPi%1JJ!OqNYK%YE^%+yf%CnKIm%GR&B=1t+1HGW0NIkd-NOg(-8CDO2$lr|dWZ z2D4?H0KU6zK%3(PJlbj>D(5%>50dv6|3+{7QigGvl<|OTC{EyI?q!tRDLBt@0(3G3 zfJ2F=N&I_leuT8f3BaeWryz1V+Z3&E)K_JkfU`7`6(Y~j98xh_y;oYjFO!eK-otXS zhPs9W=@vH{PCD|wd|1T6XVmz)V>ROhWjd7HZx%ppI?J8ubD@9bgQWFf zm66->7LjzWR8x@?;{@Om^IYxiMSlp^qVHirQzD7Padhn0k*G?J^ zL`4`*I?~r}7jba*-?sI&(+Ji39*1#rQ?R%6wWS*Cgud30Kwr!CxJ62-4OD=FuPCOt zL#h5ARH^$KS&hC{C(zdx1*qC@#SH>Y`vD^71S;wc*E!L$CnLvAuNi3PKzl~3j|i6h z^OoW=tIi2A)&x*2uL&fM3y?IF;?S`cjuQwG<(hy|<(fcZy*QDT-fKi&6HuH0vtU)6 zK;2IDPkPp^*w7){=&5L-WTRVAT*7S|2SO_$wAwmpWuxR{qh}tnjb1Vwh*roACmpfT zB@qXYzpu?kcR~e(jkQtOTWoYtW1V254GGw2uEzx_r4@1&piWOQ#fnm`kSn!~lGU)$ zIsqHKTL7&K(u|55^TmVF+T^IIKA@%|PQZiY;q|Ru^w;t>+-Xf~)iSaRnIiH^8?*v9 ztt+`u1Q+)xRnU#n>h_S&?fL8X`t}?!9Ef^?;iMzC=Ux#9-yxRqkL#IG0byfr59}?s zXST*V;r28naC>q+o-3u){ZxQ9JXhGzenOY!Z6c>Fp} zz^5@MErC35YjFbUse3~DX7hi5hF&MF%$j`6`UNUgZMk4L5UrRQPC8=N?-p_J)9-0B z>&0j!gpD<8*jvo{WQ}!#SvMqL*0~<9kW!kPPyyPNKrzL`N)_~@)Miaq!>sEB%z8@z z33U5)>?^e39yI)auMeQx--aYl?goq1n@2=appDY2{2>MM^cUz$@`-@U6&rs{K`XHO z>H^^S>OumqlwjGCK8Y~0_Ik;Mq}kw4de_G7dPph4TN&k77v^i4K1$*Gw1WN+QfIL| z>N9^!LH_f&zNKJLrJ=TVutuz}E`W@$E`U5=B2n-Bc=dXHbWt0wFjn&fbn?)iwwBjH zyCRlGfu_aK#O0@Fo$DZCf@{oTC|oRtK8-S241GF8RLg7H;*>yrv{KnP4z#p4v#atIv(neVCzol^1Ftd(nm!&GUAlH!GF z`dhWli;pQpr`naS+7Yf)PAh$NVFQnKyHrvmZRrWFOvM8kNIK%K_Cy>!{D+mhYJPQL zTdlh_)=|M&I;!SZ7x?bL*4zXa)!>~I+FJjLw9xvwqefuvOm(5of23}y~s|&++ z*1K(>cTX`M-_b1^$*;ESn^Esh_9E%43p;venCt%e;CFvrM%3#&j~dzSV2Z9^b1jf9 z*v{(2#}(eE>%)S2m%a<>#8()Kt93K=#T2Ff>H^;zcxGQ+U?1)usf4q9OW}@5-&^Rd z1JP(1ylQmOhx(Tm(#Hlq^_z5-hm}44GYfz78}-j6=raok{%H2t)YRY~z0KWiPao9S zo6_h+PoAkKzEsV$_a5@;k&nKe#yq}PeQjZFTBz!K6G+P+ZD`2(9vQ;!izG%~NgPv8 zyk_u+pI1F}lO%607EwR)pgZtAd}JZPzMSlLQT}^iLy4dHp5EnO$+#m1@csjlSF?|NZevbCB3iDR#O1%!7^>AFEHsPaN~QM zmYA<1@IdlimAE>)I;GD)fbFiv-fihp?GYzKmlTzyY%a~DtJP+GqPgq0%!<=czpoqZ z#;!HM8!vB5q`r;ev2XW5M$z5=P2392y!ehBU)uB#_bPzu5GJN!kb&M}@6imMNkf>- zsediI*A22XRL!NRrv8Fc!k&{qJMn&%psKFOt67?wdEeB}qyEa=H@Jaf^d&+P7*o5p z83s-&e3eY~h8SF}(quJ}Myhby4q)7wsF(^_9!$#{!n*&>-xA7HvTi#k@#hs^qU^-6 zD#``PAxBSmax}f9RACNEtH;+xn*TT6p|Xlwl!|0j>HJ0v%T+?q(zxgPOK{rDoQ@%X9}czoR{Kx(9I zeegq98V3aJyxQYZZn#rHV;r=jk38s#>E6@4D8A*_WqS;({-KinZ|UhuEpz67Hg(^r ztDbnh3b-W3foA6rQ@$3eUo$tUPbO)Y^-mLO*MyF|e^+C$V8}0l$9L!a2B@c?CE^pd z=Z3Ht&z^7^mubyoRf8Ff=2?%wlf?mBCl*%gX5BZ)zucuq;~RFSPCZ+YohNeWiUiSH zPvK4m**VoJS8N9i4Z zY~MD1Yia+RKAKpgF!!wP@h3xA?lIDYDyW0GTkUNg-xb%Coc8B6nf(jjVad1c&i(L* zdRMO=IsWA9zNDgTUM+Vfm;R!PBv9x0lRULmN3(UWU0puDyYGqLgVd;KD%!pOb*UZD zCAr8-Gl$%WU3Y?8tQNNRwPxVkKjn9hhR*l&q>|q|_+j0$?t`;F^k;PFp1n?~J_&Td zhqKq}uvy%sG`f8eEX6T>V+nuA2bbJf^66il2y?yEkhN^LWqI3+!|?SfD)GcK?^T*Y z(UwDz6^*o6aKaYiH=48$hgecEi<*3Ol%H7;1;JXOqDH6Ym)9v_>gT_`RBQ=TnUfja zm`K&5q{Q^2IdUE1Dl{&vv0c8&9zV@hO)=Mt$Tw|G5pn;Uen-knt`Yi=R%pw=5;QBS z7jDsT%&toI&9!=kA?Pt+TGn<<<%c0IxVk;n!y=lOuGZzI=X~0rP53mjHT!ojx*`hUFAfmqfE{+Jy9VYZ>< zQgssgDljt@U)5DT=mt7!R!D)FVA5S`WaXz@aVg4M;-LSz)Ik%b)XSQ39j{;mooyDc zSB?xv){HedFcWZT&G7*z?8||fx9FrEm>C~%q5`qMStnsUPh9gZ#O5Zm4ehGLTw8X1 z`i@tFZUrX69`tZajur=&12aL`jX*42S0Hc(aZ_rD7~F@Q_o+q>%tTW40Vk`XuVYE7 zUI_PmD5m~j+RjYHQmE!`p!s0sNYR8lU>pc7#wgWas41-`fXQb(`uyKzJX*{c4n&>W zaMF<>>D?j@e(FLsBpup@5Go*S?7$TEa$q{N4WY(5VR+h*zyxrv$2UnSc@Pz#zfhx? z;vS`1%~9$RDp`#YYMsCc^_&1z`yFzFKvMu=9BSmOURiZhHA{=RkW#>lz4_ z{5eZ;ndJc1#8}rrvAnL4IOZW~_XUTJweXNOMC2iDVN|)UkyuYmWTmSZQ6J=DkDfUS zgIth=Y>@X+^>xz9(8$No?)x1Z+M?k=TfdE=T~q=3)Fs6f4=C08ic%XISq($06EL(j}e9mHl$wRoKArf_B0`)^fX45o+hzgn#hW$F(P{!UE9j? z0xD+iz)VwRipMlD=>=4Ba4;_y;Yxv-fh~5V%VzPIT5qVE4MfV_>~b_XSb0_2UHe;u z#*ORs0d)IMLQ*)FVEI<=6toJp!mP9w9#9bh~)Uz|2Km94#oa49xW4 zFtx|jC0BOpF`D>lUGNT|zft4Nftlo}HKujYMoQ3CYd|bp1D0rw#B!j{LTf-6-x|Gs zYLiP?hevuCj{2PR-e>K_?;)&ij4){}GI6<=m0UueMob`Ci=;sum{~OjYmsBiY?i}X zg4=CK!0qOGe3z8cC)8AcHa$>GF{5;O zoz!lZtcKgI6NcQb!d_{({`KO?J$Y8=y2ppzP|>b0A-f=2BZeps zsz^QYrNGRDpR41sUgIGxr>bTk4pQOJRrm_=I9r4A0v#I}8}HM!q# zieE0mk!E1#DKR-P6Yh??g0`CJd^9jKxyyN!)bo!%aI{#{Ap$d9szOIi*m&`_{%J_F zU*DFYWniXplLIr6O<*R_2+VY89hat<32u!X92&$*qE9u?F4f{S(Se!ZdVSK#ftmS@ z^GLxP=ZN3Sftm3Er(4xFR}q+r+_rt}y4_Y%P9p*{uT%tqnPBnnoOpC9Y!hx9pylzTh<`AIQCpQ8!DIo`DBAviYE1$Uhs%n1CO~t+Erpw+J zx$5>$2GMz%u!yV3E0*HQ5WP#rRS*fxG}wWeoDoDq-n4QI)%U@4nF2GdlOA9yJ5L4h zif+v!Fq6CIz|0er6Eh3x15RP)3e3c`BiItgm|uO@Tjdk=u>=t!Ff&;j<~NM}r5ZMQ zegZRZm)I&W(@&Dr6>?zaMM>Al!Pehp#>9pAsj`Z?+VTV9Xu*{OGkvWgedI>BabTu7 zBQWz^)bxB{4Aq-dT&28=ab;q}0Fg0bJc(?#U34LUR|In@M924YLjN^htnTXNR@1pv}P#K(TQgMyCFkQ-?4PAeb`D zVakSRpen-P4}WFYI3SnC!Nrg%m)agJ5Z!Ld6o}!zM@57wgNJfI6l*(Y`Rg3UX^SZv zqNOB32G1MO7ILXA7j;v1d3sxbtPNQ@G)y_w1XBiLQ_f2Nz4imyl(Wu{iO^!oKrm%^ zG36u|Qzpx%oaL?z%Vm>Nn<>MMDZ`8@TW}JJDMJra23eUhSC}%#RPh$4?7&P0vt?i= zR^B$C&4HO7ZE4WbGE~linI0sUftifUq>Kk#LxGux-LojUQ*f^3B(3a4C)3(1lz5tG zg^1pn9wDuPnSR{pMS$v;EL@d=na}TJC2^Wio15xiW zoOI-U`DPIZ3u4KmouP?pglcJw!?^cl*jwJ0PuEx{ye~H-c%m9U)#F7{N~;MfK!2P| zF~u!PwKG_$-m66->gh)D9s;S6{fthfL zdBx0@R82cVWS%C4TJiy>1YfPgb6_S!!4sOzstJ9rj^+&;f{?YqOzfc^m>C~%!Xm4{ z%oFjrh`>xP2+Rb+sxW5#9=&S0nfLt?fth4|HV0;sk8fz;K5~}8OmI0clk@KQz)U!M zXAQVwU?$iUn8|4h%uE&N^%3G1x~PTJNHP#7zts#NFmh15jDWyGbDnJWG6jPj3s*j~9bzdW^(bwt( z`r0W0s`k6&27#v6>&T($)y_N4iI#nRoDgG80LAi} zK;qbgq@fgtjx|{xs4w4%Q+2 zrln}1WTP`tT*A#72SO|4wAwmpWuxR{qfc~gqX!KKA`fOb>4=TqE#hEaEaRUChe8E} zjkQtOTWs`jjdg;JHY8x9xgPtal;##xfL6#UrnpC`R>+mwM#*Z}Xq|wKo)bXpf;3~V zA5HsUv^F_vs&Dzl2+Z^#d3b&682amh1b14~y4M1;3z?4!Cfo_*Kxj{o(&cs1>h_S& z?YU*ew`aj{Ac|--oOI;&To7^a2XAh>J&U0N!p7bn*jsMT$r|f~+tZN1?aB2xDWw$U zp#tPZDWT&SkF&n#f2DAx)2d; zo!4j>Jf%S`&$yrIWUB0GQ0P7onCYjV2p<;V$V0<3H01}J;_>UiOrOS_wD@`6)&es_ zTya7AX7k^mq1Q<(vnC(2zDuR5EiW1lMC<;Bla846mWYGDI@4y>Ytcvu8*A3Ex0v-t zjdg-qHzZ)zxgNhRrL@kk0`z32m||P$@;a%_nyiLd*9n;QBLd{x(MjvDmx6}>@AUz6 z`;S7>nzkD(MkqTXDUwlXtUQt@$hINISBo|fS%{f>;&8CU%41@=RA<4cAP7FR4*Qr3 zOf$pr0jF3XBx7i`G_)QlLn`e^+-7kZO}$#`Gq0ACBf!847+vWMvD6us&^fW})>+UQ z!g!q(Ux*&67K1s@P$w7edF@#D%xkAW(`sqr^5eD6bvnj`yE=?nErpBK(x*`-tEEq; z5UrNB!NNu`m~MYpX||Uqb*_fpb1Q|t?2%oN4z2b95_alu$Twqk6CirE58-LGFX5-_ zccb!86cypkJRUiX5^ z{xk6bC(7;=C=+Xk`2$XPx!UHi18#w6-KPZBp9d?gydC*?yEiY{+szmbM2)SF7%4td z>4>+xTExNSUug4ovk29M2#0a+0kF4tyMr~>3Er+D0dJS<@qb7ut;VYW{dusfajnj^ zlV7R59a#-;S0~`@)^wvsKj5@Mhl<5e+2J8+84F_72b`d_27H=>e$9emyq9tnQ#yRW z$+I{9fKzSeCVjxkk~PEc0;BJ_$%w%&MQr%2t_k&>#2P}{g(+U%Xu2b`>E*FmB8{E&=Le~nLes;`|I zHeC|@QlA@)P2kS$c!P+tH6L&5%p(m;)uWiuIqsT zQPCV2aIS{-pK7WoKvk=7t={aw0H5o92~yd57tki|kGI<|1%vL=#lZOxfdOj`$~D4l zK*^=*B=l8aKq{VQOgAM324sa47yu^Sr5orRIjal|*oyK_a?r>OS+J@RKWXdTmc(T6&O(2(2h#XwPn}A0=m=# z1CXBRwZH&iIWPc(r`{lzfdPStz zoxmgcP64X+n{|UglmCkxnqD?~&^ghvry|EquLrhspgp7aY6MIEVM}qD)q6F>c&|pW z{9c_njzLn_=b$w)1GG^oM3nEB2<|QE;o@B|v$fT8LyzjUcVShvrKw*ecVK@m25)Tq%l=^Pla0H}8szoPwQ zk|2++R5$Tx+{Dw-hFJp_2~IIIN|)D3D+^e%qML*6DO#ONJoiDGG+5*UGSU{bSEkFXJ zowI{KPrLNp(EW>&pnH1(QgZeWKq{U6Mdv`XtN8*01CT56YZl_NDo+D3JPitEPm?${ zAZf0RgLVcPAWst_N>5`{>1h({)ey4kx$%H3=u8XPRMl`2JZb3x=`sGU6mR7DQy z(jI{mdjtbYj{s_nM~J|HL*gj|18&mA(Sjn&sjk&pdpx2HDX}Yg`Y4tzVyeq$p6Vh; zfIX{abk!OV%hrG;S|hPcJx)y$3#|cRd~5XjsZF-94v#HQyTF?zbf2{s|2Z;sV{}MU zU5SgkU2zGySRt9}qCp%OP&EcqU1Q5^mcvxn(GHWB;a;) zJ-$^+X@*n<=wIq6rnszBUq(}Ew@X&T?bZoHZdVali0JPs%{}=^ovU3Bx}l<7_sA|t zho%Yv346#`Ggd|nF{TQ|m!=96{%{?S1w+8#tw>B2-Y71=xZI+X=x786ppd5qF^e=c zNF5v)fNlF;|HP0}+$X}3W?;aam>d`YcgI~pdq8wP8W@n=N%f0|US*qDJZD zzyNd0D`<9=+Wg9fV;c7NInF7#A^q1v1O^9Y3|Ty^^kL3Ey8wBjoAij#3=h$e{QDu@II80^3R&e+6A9)SUd9yK5Z z23RLKYn7d+0(eEYW)T>`-E&|7)sTKd42)|4oPek7~m&K>Iyk9;Jl=3u1t(QsAP;-c^MdBS$a|o7I{)IrV2rugTI90 zU7Z(@sXva;A$D~F;r78Cdr%G0Y?BCsZxLgjBS_!55xLye31(;yYN@S0xT4(lJ*ZjR zSB+?Uu+(bg_}L7Fkh7g zC!w>th8}xRK~{TEx#G>AqYRshcZ;j#R`hR(N>gBfZB@n&NVY8#F9QQi)8Z{z<(O(a zu9EFviYr4jP>CxO!;;Bpw`9wbC4ZG_AC??~HV4;2u_X_Xsn6W#5VipXONKct*$|Ck zMHu|}j||%e_%nqbL5Y{^;a|6L{7lFh7I{A&?fEEx!v3@?_Py5)No_TFk{IUoP=V@(8H2JR+h{amdsI>jG1XbZA&KIm#ms|&8c9+ zIWSwfw_D8z6A&TC<6(ls6k!CWa}K(Qe9?rDpx!AI`=Rf;I=Qfnwu0h)g{i zbqM1Cf+@osrfi4?sv-=||BGScfLs~}7el68YO9anD7W2|DG*csZ50uw3?9m_Lb0}o zEq|TEIBhXyL$ncFkip-*c34};rM6tuP1)t?Z2@wpptT#OoN9t81FcroQ97gHw7rkv&eG^-ODJsQ*fRG1L$P> z>oX|vG||#2y)!*RS_1>%Q)io_`XvijWnh4_G?Eo9&(IuDG0W?u)%!B}80>#!eON{D-s;Wy)VPw^1i%SW1aB6+>qdjYWP%-XGsAHGcqpcrRl2-R>i1=`8t=<>0`JQ&5kSf>aA*2lbo&P(X+=b3qTsc_fP`MDqj|%IAY?5t0DBk>48S6*z<@cK zp88k>25>=O01y_5G3zogVDQff3?S>XIWT~Hd_x1b0nQ?FU;sSb@qqzw_Rbn`#lQft zDKLQ36c~^y(CZ__FLY50sg-(+U+K#EKZs>u0CzmEJVs!^Dy^vZ47YB~jU19-+83;5 z@&Rb*7`O|@fl$1i(&cs1s;`lcjlS-7_qB_L1JUxA;iMyd?IsZiAN|3$zP5%?O-6GV z*VkZg>1!J`)(L&BA%VV@>+x18rN@>E=()c7Cr6#@-x-yQa%g(B^R{!MW#=QuO|Kbf=RkW#tB(kl{2fbinN{b67;6G3me&Ll#{iOsQXD$g z!n=AyM7btlRJkUQSa&C~(tC}_YXS-k!1SuXfV!RPuk);1G4({{n{JI3N;W#J9LY?$ z1IB@nv!~V8Nh=#A9~=G9_uEEi3GeSY;-}y!7Ifw{&_GPDj;mEjl$kyqX%oO z6Ku300UOQr`1A>E^bQrE=Mlvei%PXZuGBV4R>MZ?1Z?z90kkeiGxqw?v=2sWlcT1( z{s$s3z=P!B^{qqbul@~pTGKjdf!T!|iwY*(oN*u&HKSBJ6O~rChkS0&H>+9_J8w7; zJzxwc9l1TP7jbaz``T{LiBJJyV{Z@aEw^W(#ya8lG$e3)ay`CJN@?mx1?c~|bb~}k8Ff%|Csv)9uAx4!hB(bheWW|LTQMwQjY@LmD#ZIQm zp8otc-G}y>CmgfxzqKB{Hq$6g1uZV;9-r8o?7ow36HrA|RZ!znOHP#7c-H?D;=XxwjDOE!S zXjcNo6!$6Bzeg&yS(DW;>pB6mz94`Ey8Sw79rpg9;s1Mm0NwsYNLtf&gT)Bt0g?2N zjY?x3mOMc=3^Bf1w1LP%i~|E;iIvC1vQ=lns2~VFv<|!G0@KWJ1P0us2bTU!Nf|?{ zrJ?n^l_8b3C2q6W&_%44`pm1PaR4oQ` zo}o@I-1FM8LfR{C=HctQq}9^I<;QECYca-zJ35S6ErpBK(x*`-tEEq;5UrNB!NNu` zm~Q`JrP*G#sIk@)-AZ9E?4gZzyK8V>K}l#`bV8cuyt2<^>+`svQN#Ab7c+;xRM*w2ZN-7W)31SfU-L_g;+bx zfdTZ=+UBsS%d}{;?zUJI5Tvy7cI4yj{-qRC15Xb;=9_s-2sGZ zLWIM(_W;;iyxmNVb%M8RNWk0Wdi;u%(rUa4(Ayuy6gx^4X{6NNj;w~as}t~ccdM00 z0|PG7p*mg+RWr>>%UBSr0t2A62L?D-J(LB*crT@w$Lc460iL~aU_fo=CItqVSGx;c zKrJu;!cbrUqzDW!IsyX@!k7xJFIW;7KwcRbFl2&S(o|po2(M`p7%+s;D=OJ3Fn}U; zTSrh;V1U_ssTEUTfEDdJFyLRkTt+DOKwGE!+NojFCBZu624fSrb35K3A~70W2<^ZC zm)7y-`EK!;?z{f1Q|apC_it2z0loZ%hW%$=x4@SluG1EOzGAWem%hFBVSxnGPHRUK ze9#|7n(O{CAGvz?8&NyQ85~k8pln1I9FD6LXK+kcInH1pRTO71Cz5s=mT?A`t!Km; z?D`zwm^cH-jx&Ix+?k!?3@B(g&cKSvS%gMbOz&NB1zvW&po6wJNua*>rd0JnKjkbs zhoZD`Na<$rl+uVZnEGfuHT5^7<=M2(qFPi!|AeV)Npo=;03%cj!w5}r1_uPts}isr zXJBwV)hc`yXRsuq{_j*A5of@4J zD9)g=p>36zYs)5vd334A86<;;UW+r}vgZ$vM3Z|aufiljz4+{pZ%Pf3;tVXKPc?F! z0cBNj2IR}{o#fE%U-F^Yq2R(y#X+&Eq|=cz;Gm_pxY{)iM7MaEQcck)t)B4Y^Mt>9 z&QJI~!+~f`%5c(=C;W{f4*vGr+n(@K|H&#KZ0r*r_Le97bd7bw6TTsVCw#8QMJc68 z3>Bbp4aF2UDb=40DfJVcti}_*PT&cDOn|EW4oDw4Z_zYo7&$b(tarva(Xw-qVF)x#AbkA(?dl0nr>A2nx0q>Ph@3m zY(({%u6;pj21Y9!rS36F$Od@}RbMBq42^sY?Q8y98`_-VK=jNpoOHy{ZWVE`a=gvZ z=0k0SjWsmbTMX?)jdg;dH6&nYxgOsxrSyPQ0s62A#T2(I)gO{7wV{#KFtj=WLt8MO zE?mVKq{dv3a+}2+WXb<&*-dATGg#D#ChnAKx=*PT0;~3iQ(r28Mw|gu&DiKtW4dmi z6YnZEpjTYrrX4kEbcs918O#IfoyD(cdzvKZi*ZVI6aPY$SDA~^hFJp_2~OH5)&K4& ztt{ZA72O=X_+~SoHXMj15Dh0Cv4GPe4&L-_Z5FT;Dj;mE1;E~70V_4u2^P?hfCc1w z9G6lGl2HMoQB1LXz+W8!$t6IrCZkrABBuuv$h}tpTxY4OpTz5GI+sbrxC! z!uZzc^;4UyNi{*ly=d+k3EgMy#lJ$PZj26T<}7h>w<|6oPgF=|&S((F8B~qI%-Ps7 zo8>Tb_H+u-%vl?ZTP3acT%RdvqS3oj{a2CF%I%U*zxX%*&~A6?6PN)I{Z*0Sq$6&3 zO~k=|v5a3Qo0b$+2w`L0F6=FC_dtzxg4=CK!0qOGeBjl%-FK^iT#XH#>koXC+U=6n zaJzNFklR&2m(ZGdRGNG8md@3#Gj6D8*Y}fMkPgi}0upxCSTj~e3^8UN#g}Ft6aHWw zj|D@(;H^l^JWh+tFD|n>iH=5`0SbAh5wl1$jnu($2H3Xm^-V)g@z+H-(u^~>UQCWN zfV<fG08E{?38CZPP6pk|h;5j+s42A&u-yP*f zoB<`|I0K{;XJF+MmtR%Qui<^%dv3byeU7Vce?ExL(^xpJBClA8D?{XT<0^>685rz1 z1J2kJNgi^-xs*2Od!Pehp#>9pAS#&a* zRVdTFE>)B zptT!YT2oEf(hAaBTC>v6RY{E&-uu?EOFswHvM{ry6<)TjCAn;ACCgh{v)p?nrXjZ{ zLfe*BxY^PQGh13MI0>EAHT2lh3bNYL$`x<^9A(&4Ttig#1C2|SrZ@xJs*D|wY+EK? z#u=EVwP3Q!G1W#~CEMSMD?{Y>4HA z4Io%D%wfrfXbdaD;8|kKW1+BQ$fa#?F=WZ5wpw3SZo4H@AeKBmqV1<|%-Rktf1SfP zZLwrSG&&Y!aGMyL+Cnb1<)UuM=qCw2bllnvOHMVxl7ZNgv(o=aCE4Q4tXh1d2uB_o z-jCsk86a3PyjXIQizSm~OU`mX^vy$Z-z!3!CBuy+!;B?ca1x3oLk~*^Sy?hySTaXh zGG?abL0dBEzGT&$^WP1!;T&f$-YM@PN1+~{baN(Co{p=OcOb4z3{xhf-IOg$&HBVE zvMGn4&A~^Y*pz3GsZVg}5XJ!nQ-(QA*$@p>MHn0wW79Ywm&U=xkSUki9xbfxuMGuc z?mzQenx|4jQXr=M>Je=_rM3qxf1SfPZ82p-Gy^Tj;1|DXSX;=Ywp`Rr*{!3u1@1(r zptT#OoN9t81F!NiL>LmQ6X!ea^7lPakSGWwoPkGM?L*}pXW&6{8E3$_ zOv-q`H56yC<6cI|itkaH;|%Cz+6x0Eo+jEcN0rheq&3a}K6SmrY96&hV&STcGjNth zvZCb~n#WYk@;YhtzDzzQ{BtZfYp82D5N$>=oOI-U`Lc+E|DdJb+_9Q*2J;Bjaw&&# zdmdnKd0#$JW1aB6+>qdjYWP%--;`2%DyRT0a8pe2q|)VeQok>g)p%d76L??V6F|z( zb7%Tobo)<1(iFDJ$Za|GsLz#ZDsp0+0bF8UG_xgD(~c0CajC@_B>2fXJjWS86ucH^ zkkF^=Xgm`HA!~64*u!X?0Tx-s861v27I6k#5N7~{MPkglj5ApJ2I36J`fQFfARph* zz?}eR5joBPp6>WK12}tU4Y*>Q0oW90z-fvzNEPVy5#krRsD;!@J;twey}Tj-v5Yg| zj^~xfh%;EC74@Fs)@3R}!9cp>v@ck#MFY^#F>vRM1EI}BSjIYO)z`?!MqltU_qFqe z1JRZM!%0W_+5r&q>jkLVZ_Nz?O^@!#q3PAm8_tQAeM#iF=`{oG9B9vI^%236 zzilZlv+A4>V@&|X@|r;6xCBW%l&q)=a6>^FxZc?fha;3IW zvKls8Ct#z;1kk!5&8Qt-zIZTNn;bRO18S;O8IcFc!|PkK=&$8%9rEqD*)p;VITRI4 zxWmSQ(6d;nHaaS;ZV&m~oKKyLaBmZl=}9N)wn%%0=MUO0VFWB-w8JeG(D~( zho;vZSa43X>>ZKgrq_LQ4zy?FLJ%zZCoRQgRxSi$xDXV}E+lcBhNKAr4w^7CKohDV zqI4lfl`bT)E=^>`g&0w~5D{#hjdjINrplgv^lNn=>g$UCRD>fB4ZqixaR%}Db)11u zV@_HEdEVCI4AN6~Mfzs*U! zBOz?8S;O99*5_-i6U@3H0kh8an2}Oi=T`x0c#0`bE7hM-Dz#aY)iCQi0keL+021i- z>!fwqrJ&*edwl@i{uxMG({_W!2xUbiZD~^)>#*bra?udut3?}#EW~&n7M56fOe|}4 z7K{pl;6v-Mce}u=^^6)?EhS@UwKTL|RfbgBkhsm_9$mz0sn5JxN{#?qR>0^=XNaZF zu!PQuWxLLT&Jf1y-0Pzt)nYK`8S3Q1J+B=rqzZlK;adPrtEGv{kJmcai5L@Z>o8`u z6fRavpGKLimOh4d9n-Aq18S>!tNMr#_A?O z^lBf%(`sMB59)aC00eHB6&btQM=eHT2lN2~6!hvJfVBEYokp;AS9b60kSptnaAd@l zInLlpZftq|dZ|#x8Blh|rVwj~InIDyTH749>lTRCy-zHPFH%~0JM!^%&z53p;61~E zs3RLrI^yl_7jf|8FKY94Q-3R=nh-(uxG@&&E#7Xr#yY{G(d0tB%HVIPQKU>6>XrGJSi{c6drIe zu2OiwAzkJ0fOkuR!UGPA#13g`hFgPAY6}}1&I4PnQf5Z{t0bJL^ z1EQiiJm7Q<&CCzzUKJi-a2XyjkkBmJmSJ#&2cTjjJm7K(c6dN2G#VbTD_B&pQy^cH zcuF=_T}(^EuD;p2T%d;vT+55!UHNB+E9tPw(LDPhA#E+0Hh~+ zEj$2N4i5m~2{?%5X9xme)?(kO9Qij&UHgYW44_BWd+uCZ7lMPt5qiJTM%H=KTyO9eFTMi#Yhuf7AA0 z-bJWJK^(?Cm|>R(|BH{$b+?~5Hn;ZXKY60~gP(onZ^|b2YOE6;%nb=Vm~%aTSxRYc zQ3dGbi(-lcO7&MmO8sCatMOp26L>IRCqUJHQ-6mfXqxJa9GYI5PCF-B_WHe7iQPe7jDp2Pd*Jq&1>? zyViCdH3NeTj#BrKBxHk}rRwXXm7$T3p zfYg}tQce$l0b<`W&qs#`+$56z;YO(*)k>uhShYW#dLBb#GcZ(r5k{99igo*(cr&m8 z8X9rajv6((GM&Q%jsfbO#jj{rnN*NllpNi}2UK~Lc_P{{Yv3ZoCEYBX{(VPjWdRFT zbaQakb!J{P9EiplhLet1z%3#Ue)LP)EZ}6QfUvO^0DFrCoUXA>uz-dHEFjn8>!g$h zMJhlcI22Rds#M>sQfdnzt6>3kLbd=2jCRfreu;MJyP^9hBth-G0x3EB+aZ}tNi@BrjW{5cD8S(T@O7@h`&vZqNL=OJmvjf3_F8K8N*5K(#>qe@ScST9Uu#nTv( zJ&mqyWqBG8Gk17^sWQd$FVtON8jlOq0>0fh{roX>Hgyw(@F}|8zfXIx2r=?(tDIUa$ zWvk9Y8$l3!Xj_abN%A&}C0)dXm(SvlHA2fvR?FzBH6WI)0ZX(7!X$I2&O&QI z7~dMberl5oQcVzXpD;JW@_p7`{HMv(jnN@ZcqK0GcEu&+T!m!9iw1FcK-Cybc#SQy zSq>9kPp1$~c(uW}RnmIk`h?p(qo&e77SUk)&unSvtU}4BU-VvJx4UaN5cw6uNk`o7 z-69TlpWo(o_YkV-5Dw!;c(Av)-KkGitP|XBLjrC$*W>L{O7Ai%K=DWvQ{1Cef8(Rn zZkMcv+pQCZ+^*uV5Ya!UH236tb*^@umY%sMpC`K@9hxu%B5Yc3K1UQQjfa(XbCWi-5 z65#_vKEOfmUXi;Yq(UK1T208Vi=ROy57dgId4(%k;He{k-- zAD?~i$Dh;v5Iy?rJX_Jttt)MNq&Abo1L7rA;Q`2P+fAjXpp|qH&wCn05FUUUIXnPv zhX-)t@PG?Ckszw*@BpsM@PMJFaCiU!Po)taFa*%wYbZCu11KSf2OypB04tvxhIe@L zYj7L)o|`UvKg?CPe=La3(;zOcBCnW_D?{XT<0^=R2N>+|0M6LTNFMjZ(4z*V@Br(i z2bjvvQvtl9TeAoc;O;p*fNDrTvQl_Jn7P6Om`#W+|Kvt^z?XlKeB!d<5gw4N4f7ku ze&V?mHhF%+1JX0`@oVgC{Uk|UA%_PnsW^=sZ2euD)P?w2v=Gg59)yB*b>;8?Uu#Go zxzTML9$?N04_J(vo(znkT5^l4l(!UDCdN)wGDfVt3=gm@Jt0h& zL|s9q*4lK4y`4a~eK5yPR72#UMHu}4bE+puY^sJ_?(O7aXeVl^?NOKBzNwl5@pbP| z5lwA>3yQTpXZh$w6C&YVi>fjyyEH`0P#9K-h^2FT2f>Ty~<8<(;Tm?i+^X-YG)crfRs^i3;;o zS#T0Mt83`76BT5&6O}98{5i_7sklDDCTG%fn!*EYt1@;#vTd1o86IGoR({AT$5a>N zD%t*8Tp6N~SzMVImP|&wC0mwS_1CV+wh@9h2L%+{#uhS{*Exi30Kt-B4ofyfV^|Re zk6k@%$&gFi;9|&kSGU&fx*$ zo$>%V+KbCU<3-%M##C{Y@}{12o{3?~WVD;IWyuuYe^oY)5VSdX7Ze-EG%~gIQim`O zAeb`DVakSRpeo4VABZvU9|@-nxik(ghD^EC_Gn>kTf+mgwqG@(?X{)0GnT*3VVt&@ zvLRY56J+q?`-ZiJTx!cj-IU!rdRw5;I|Z%XFy&MeOc{txIV*jeO0p@NS#5r^2rZ@z z1XG3=Q%-U*WwLC_S?*wJNbZM4XftKFF=d!BWeZM1F=gms${;IK<_c5hm@3}llpP+x zV73eoz<0L|XmfagM_cVf_sQ*1tp#) znqH+!=@HTz9zf?*XFG^Flq_78;Q`LlNLIA`Ubm)#m)A+F_hs_&y+6n*v4*;a15r%6 z;iMz)%NrsNHva2VWyflU2OLAFre`^fdtZjV<$Zas#ya7Bxgo(5)$pkvzaXXb;Y<}E zzeq8~mQp?Vl=^*{tj7CtoxuC@`vs8l$JD~TJ{R5oHY81cs*K#0kBFpmrJ9PI7#;wZ zm`|A5lB#J(h`gWG!UGa~p$^aC0T2bRg$E?`VjayJHUuGS;Q`pgXm|h?S%n82j6N3O z0bCFs0E9(i%(@H@c4GL=?+jeKnMlb>~8TQwYrhB1bdj`X$1L>$~Imi!QF_O){e)gPg7 z7}wWeZ|Q62YpfIcT0;VTE!X2qq?BglRDeE_NioG`rTRpsQuj5o8hx!!ps(!;P_^F$ zHwZNC2Z$V+UhRC*InlCvk>jS<4778gJ)_k}1WW#grMS$hb3%+Y0Tjz?0*PY_Qm=4M z$69#xF+`MW0!Ec<0*Q5dA}hVuh`c7C@BmD&3J<8;ss2FEx)nP*WZ(2uv{16qK@^v8 zyT*ag3i-#lTcnkZl8=pk=VxrAdxiti3c2B=BQ`oM;^5+5n~hHWy&DT*V{H`n78{+e zu}-kjh6HRh*W)Lplvc=9fR>6WrZ}KfE96RTqhvK~v`)ZAuM0-h0I0;6YijKAQU^JRQnT^R=0qSUvCtj6uB6SzHx1dzbgesgXRXj*ZO9GYHtVBR^=vWFwbO|Sdr9B9wTg&C4IcW*xd0Pt)NKf6<(l?v`O*Hg6X=T>r zW7hxolQ!!m!+~hs-*D0qv%Xox!K=hF-mF)mkq|c4tYL34>(v_T1hZ~Pz^rpUKJzKe zdQJssR|3TpwnYtZojy*_|${{$qhX}iHo$q``93K(7K46)Q1me4t|Y}8rM8Nzs-waE-UR4oQ`o}o@I z-1FM8LfR{0?G$KQElpg0ywYH1rRYy^Yp_U}}h z?d7D-)v#M`rLdP%WEZ4Et9^ik-8R;Y)lGot)jou$)xLzkRL64%AaKL1$k^3BYB93q zU*Q2L=+!>}Y4wjfjbQ7p>nH!vKCqJj)39r1QcA`Wg5%Xn|Mi%?C7a2WR< z0DFtK+pDoo@OBLec)MJW=SeAjKS%}015!+}qEyQ!O6~2)YIwUk0dIGshE=2C0jqSV zju%5^hf|+MW}3<2jaV8$YYz`_u6ihIr}17&FOStv!UH^e?N%$A3J)N!3=bGG!3Ylk;WbUd1BMX)KYMQjXJ=KNi=PPz z3>ZA4piV95=miZO#8FX`2JC1Vdr;_atVUCdHIxKGMTp5Hgnx-nJb7WxJ&c}Kj^rxU zQE5#p*1;Mbl!4)+%xF>Ky|#@0V>>F=Go9Qz6|xvpX@}4I+lCDzrQzh4=C!u`ME4- z_WCzQw-49>W6l1I0NOwA+_+Ea~FmSX`^gh#QRV*xWtI~IsB%t{?ce4yy|MSOg938#Fe{AL2*-n45SnAbF1(pz!L8xju#3fh2Hx-km<&vY2oz7z>f*SYQlQI~LprG%H|dK>8T!5W-qO&g57?C|Kb)dILEY=p7Ee z1clPuN^Y!vbX>pJ5}=m)4NnhqEEq^YmH?+jh|d)-#xEQTT=piIxMP852#y8BakX>? z8<&p?9Se3^e%*XPQ}BTKh2;{b{I==LF1(Eg4CiB8^rhvgg)Z_EcPt=v2ah=x5Y0Ol5JOvc1cr_UhGC8cDGcXW zAdE7L;T;Qz7daL%9vxjTABFOW9>EwM#XyOIJ;vHS>DFMyS6epYWtpCVDrpZKUXq%(P)A-xhy+F(deP~ed6 z%ds3xVOJ6vVA;lOf`<{}w}lXDNM}@HNRI8mlAW~} zi5>&~FPS@G3tE?xFzC06it>!s=ps^aa5X8bf5PMhbWn+ZV3n9N8F~(srD;Gr@bGgx z2qO*X6{F*ozxs(ZV71VRf*nJlGpy2p4gf39Mv~eZu*O&*v6>pd?Lck87kqCPl zVTC=7OS-dRQuZ{$@I4K_rDaPv6~GdRYA(kDL7|Gj^CQ#(Hvk#K4(4?L9L%x6aDyT6 zG9H`_>7|<4a)5j@JI4f0T<&%v7tDkW#)>PJiBKq?M-UE60nJxc4j}wY4np^P7bJn* zBcTXC+Ls`Zdku0dU=rILA~_@(i6^0q2mpF&L+b+afEkq~Vj;0BOBj0uLNQ6ir+Ngw zs7DY&*dq|DMvq{Q1)NKTzoapOkCg$l47bYG#N^S-e6bY;dgH-6@L^kJdb3~BFfJ#= zmarpf5Ex2>NlY3f2AX@~Nhl2hYD=S7b~4!s)_{W4Ii((Bw=3?Eemx^mF?hJGGM7rN zEKCK=1u7;@a6GaqQ=vcsb zwu@K)le*n0p%VqaP$YDQRo(6y04q2BuwJ)YAyI6k@KI}q$K-Xo-Pu^u2HkFg0=r#b zj(377+|P{+&D*SM!*7k_Q-cYh!iy2xY8Lfw%Z3#i+w>%FN?@g)GPNIDj9#VN-EN}y9s0cS`6tadDL-DMk@bR8{RiqI6y zu|T=5RP#wW7ARrpSRlN{js;9W#{#07V}VG(?*S1Q2*D~i7-B25%_+UYObOO(nJC8s z;=v;aVPnSvrAGV4fk~F8v15TPLg83Iy7kUsVH6aTAZqsx94reu77)if7BICO3-}_( zf@|@DLbHf+EZ}$OSRnF|DCAf`1TLIs=va_Kz|ZX<)*K6%gLf<-bvhP^d6!CyS*6GH z-s+y!0DWJ^uR^)YfQrLrk$qWQ&~0BrL8oh92Bc$wkmXpwHy(my932aUx>5+vu|Paw z07Kq>D}YOMab}JMtUWmvuo&QvQO>cz)EtflRBdw>V5~V7-2Hv@iFu)$V}a8)s$Uwn z9K&@zKOGC)nCKh}G?KWc;2jG#AUn()r2PeMizpL~D!nF_5;5TBi!V7A=o?ddi?wDW z#{#7^$AZ;X(lv%7RP==Q<>EHjmw3_t1Ai5uo6>e zSUuB!ikuQW_XDuv-n7|Tjs;B2GptO@b83z*&#*E|XIMSm)6#TL0-)X*R;K0|Rwm{d zRuOhYJMc}oona+rbcU5*T>0|}#b&`#-RMl_mcYL&ZbK0>NPXWmGt) z8nQ2^`@8H*D43bqmw=|pjHs{4q6OV}!#{Z4Fhb*%GYOFHT$t7fAnoN8`K1hhToe=#|K5B7GO%@7f z$3Ut4@PDPbB{<}kA8}1qepq=C+$m`%G})DenoJaFvS)f6IZ2Z}&tCg4rvK@c!wA9uix4Tt z9BJl9`7q@m3RRhjO_ha$iRynrImW)5Rt|zg<={t3l|yb<1|(fyl|8qAhb&B$iBDDj zTSCNbtLTsNQHxuuvQS_w14`w&RooIBa?6jnDl0#%7MN{kKxrpb*_DK0SMWNWvK$LInGGEa*lX9D(0a!L&9>@KmAzwuCdr{=0q134MiZ`-W5Ix08FTIo z`0gDG*vK#{6JnzYb}?BbH-yx6EMPh`wsxvRn1o-UV}YVDlLZVt1j-LPFS5yxGK|*C zjHkjbdXOp{EE76WFi8+P!>aZ2jR00IgGt)Yc9MskyGRt~Qa);}mzliIdU<&)X@m80 zf`T@xnGWT68JNOYiwt1VW;Vgi2=k*1wO(daV!a#(aJ@VP1Tf#lnkn<6P`-sA?1Lc> zFUws3;T<8iA{#muFclK#lvtFaZASvRPcu%#UuI@C@^$FFadhukKp@Z^_HRVktK-;Q zVG{t%m}3F;q1v&48W}kjv|Af9#{z!Pv4AMF3RA7`Jb*unx%Jz0EMU~*-m!r3>>Cnz zQxDLwfOy`qfbWIcjs;9v92CMq9Sex-91HmB91C0lie(bfg3d|-wp@$Rk`677$z3D6 zu5_YKJFv#R<0IWRzt$J;3fJ8AB<)cu@| z{|Fi2Tnn=a#t`C8OoVD{j7qe%IDl>KJ|IN$+X;S(g5f-X#ZdH+^N?apvJY5{M2{V4 z#Spe2>mvz+{;;Sh&!}+{Xf^>d=4}El#Rx%|O7YPtE@XW)5}{2%SfNe8B^_&+l&x17 z-X;LY0;*o*SP<7!{Pdo93-;iF{z(1&9+QyM(MikB;Y|sT7_g92YNHGz9c4Uq^cNG- z(TdQCf~{AfGpy3ly#Q9;g(S7dgIN;A;Lb-a9cA)5Iyx6i+CWDW6sV)V9M1<+n4%&B zSjd@8@GwGH$Pr3M8I{n{IDk4@0RrrT6eBLG)W>dFbG~Vg1)3zM?OU10D9@l3 z4_`g|M8kI>ZA8EUF2idV9x>o`gAgYh5k}R+cvjEb$5lNYLMIAbafHsWs(R)Ctc=`W zuX>h|C~Uoa)T$mPuTwo;v7`;ECqaSL{FX}~ghA#OL(!uKx)o!RU1~8BJw|555VoK$goHuAS5%Z|)P)deT?iTTU5HDu znjmZl@PQ38Az(w*NQ7O8u);3HC0)}nDZ3D1gk1;#(#|EA28VXVP7j4X{ro=EL)@Iu_XQE5`!8+MYBBa=eW>7PwJ&J^1zN-$p@?GK|!k@l@+;kt<}mLFhz* z-CyVotJJz3z{-#At*6#oO-LkGQ>~f2j#~G}k~UE51O=+KFUJs=f}I~3U~9oK9d?<)*#8&HL@1QcBnUQb3Cw!`E`achj|j~U%Q&Ev zgd+UNXhR?kF|xxliCG?9lAZA+R4M|1p0dN9tqk4HusIf(fshd?YpHR)91&n?2;|0t zbMRr-QoYGq$`~N*5(C1HcqTC9nMsUimt;7eggg^ao9AMg46<09%xQ<(b>Z6AHVY{R zV-CInQJuBarPA;kPqp0Ugu{5$u$D3vt)=tGlh)GtWCCkxJv7r1Dhz%Q38B}Q^Y9MA zjz~(TFF8gB3{%!VA^~?yxJnpR0)evjk+`$=IsAz@K5KvgR+t#6Y3*Yvs+V~4}` zNCGC^3y=g3MF^wbj`8g6K600OyGfxF1*3@28CLan?*Op!$es0iyD1XIh6o?E25}~@ z)7w>INgMQb2@34(d^x@hrr@8442ppj<08Dnxe1|qJ4PjXyEuToT`NZUYR7_pHYhWO zLJw!br5VJcdj|-s?^vK%v``uhZC%P%Zq`pa7HIcIjs>xu8|PS{w3w49gP3Ch0V&4< zg3Pf%*ydO;$Am7^xWST+1&j+F3sNd*js?V!O_PoVDGV%88SNYkm?f&U3M+CfP;xBV z)H^xH0x?>UW5Fjs1to+fl+mud>eQ&yAwWEMf$C09%d)%B@p}=izKA zm0*ZEmSe%rSB8!SsM5^i%EP$_wAz<*4`{=ecMn(#3UCi-2Z;M57*ii&V_7fq<{of` z-ierS4|pl^%a0N)_W-5{4^$s(yfCBCJ>VB-i9a!hLEAVIW7r$BFXDsuEbiBK*ibpclaWD6=&80Di~a1FWFlJz#YVn>#9jG=1xfSo|I0^)ak@s3SAgxK>ZXL1i96rAxJZCdUDdWX&t z6iRPBxv~1uq5E!2fLhvMczT$7z}5t032^!e@wwu~_=S6b%iaVNcMtFk!99RDu9nVV z6Y)`@d%%F@*To0sXL#Vy4a+4?`E8Suop>7$h7dz7fi)U$at|PKsLiiGlX289xd&{( zOWZx6UC}InPT8mcDffU#hlY@&FD=g=bdZ<0djP3Bc+5S3Xx=@57}|g%Fmw+v408`i zVL0~yVU$@6?;b!rxCi|08ETn~M|aiDN1?n+k6;*&VxUC9Eyh~TVn+BV1`cmbc*MZm z5+P<72%~|S@f?`{<7*n2CxlKE{AiKT8CDI@6Y#h=ADyBM4yyMyP?AQHg;$4&cCi2M{9pO-UexVOnT06g{-J zq8O9xeHJ6pW7t*Y9xC)wN5J*$)u*ffxhJm=LhKHWK0L zT3F%g+9hpmn3PjmVMMEI9OnUjPBQoeyKSK06>@?_A7vOR8sn*GH|&<8wF{jnm{$s& zVU?oo0kHD#U#X{P9mY0^)l@VlucK(oVo4h)T7m)<&6i^sOkqC}859F6#w6bHJERDu zXpBlIS{y({+beuF;mAF}39}2#jR#YV(%?UUH@OEqj2HZ*4MHd&LNG*J$e$@u_k{5< zFrl~t2A`OU70P_kVPGL(YQ#!gDXePCba3wJ?09x}5UDtrBW3kZ*v|wVRN^^SiOWrf zo&#mc^1zb@A%1QLVWa`wVsyOn-~Uz`kP|vl&|-wnuu20S1+en-FW1w6USom8YH9$J z*U^C0v7`+&AVGl|;LGthU<%C?8Nd~v*#!F$;%+a5(f~#!G$0P}8UTVOXWzlEp|qPSvMHc6+@W1nnQFCAYBmIDk91&>S+kHo`wwhp2nrYiLj>;R@l?Hqyr6;vZoP-?`iNYE%V!WRCBop2ntnPb{lGe+jxv&2lD~| z4(1+UxIqcLj0dfdUaFZb1;{tEHWN5;xo3%7utR4sR$Q@6ghIKUAedo+=Bw%yfbcUp z2;J{pkOcOCgd+TCcY#3e7-(CHNoJj*&9zh6Uk3g&%J;GTp;Z&=in(gl$xB(w417;a+c=g8QaT@c*h7#z(%NZZG z;iWhGB@N?pL~IE=k_LgHG?>JsL1Lge7EeNH5Kvnh#j=yh09XSGQZHBP8^L{xxJUZc zj6}uY;WoTnDz&mO6)=}YnB4H9K;#|}34%4`Av}H3c*Q0IS^tTz83IOJ$|& zYh|z=O~Kp)lLsnF~|PJ%BHA59q}U3e6(QJ%Hb#dw|GCqL6z45x8)cdq4^SZsv$J_WYkMjea9trc$7N~s5opE*_XuyUG^muG*|mFAl(CmEcXDu@hBtX z=pG={l|pdt0pbY*81nX80bHVsGjk7M?a4iW#Q=Ydn*QJmDNj>#xCckkIcDn0o-h;n_}pq)wuS z+~Vp9#MVEF$_&}pt*qkqjF8){qCd(L{13_Ukt#Cd(*~exd$*YPogp{Pn$WqJc-IEokaC?m!#=F z`WN+2qB1p4qB1d0qKdF1+JSGv?IbEOqm!uo;>w>-C^id@JJ-;e6csx60O=}}ok-Aa zsCeieAQ*Oi85Pc{O7`V+f2Vy31;dhk322(ki29l=TF{Lbqx7c9MrgcpA|cY`U8ITa zFg#2*h(b+fV$)=yU=9mF<%(Oy<2=s|3KO=gDF6; zeaC0Lau}iU%9{w0a#Tn&Kgx$G2T`cXOl+zw6iieBsC?!#Y2_d|R1SWmR5|2!WkAyP zRhb!5mH!f1m?{&WkQ)gRw{xOD%1143smeluvFumi_7NA-DX9tFrRLYJr(_ z29$O}m0d}w%0!VWd!~PgoTSR0=LZ0&qsl~~Dl;ur+0mscGfJxL>265VeJ=p@RGF!% z%1lgE7GXz}s!X`4GBG1n<`-3&Pgn3dowD2mwsQ8L-LVu$nXT8ZH=*_J0h(>qpDKIz z0McC)x(9Gx24*zjO1TGI6pk020pGoQ02^7+AU2v{TZu(-Lr7is0H#A@Yo$7bN%$4I z2Pg_NS-|`b%^GB!A7vP=ml;om{RyqanCc3hDDX)aI>V~<@_GO(IVAC_nsg87AW@i0 z`KYyCX7W1gwIt^0 zo9Q0FsK>o~0OQ#=B=GJgo=AB20H!I_b`N06;-C-?>K;H`=N`aU=N{k+P%M*(7Ian$ zu;p5emUQ9%AA#BH-gIJ><O$1CG4R5{hhykxVgt!wE zVbsb144Bnk^SAGO*VlhfI1gYk6g}izQjAG< z$YLaVP*4nE3$i|vFz647it>yaCxK=YAYm+D1B^sy6A)Ht6L3j~ z8zyDz6^6G7z&(JwV3B(Od#1=jJ|fBL?=_DYa3Ck&ZH+ zI{LqMN=GM!P83+kh0d@_M~4BdEJu>sp@l*#MpXeE}kfsQ69P)B_^et8ph z^ef1qsPe)>j(1qd5lTlHmC(^RfI4~y5MURi7;#ahK6ab583R$B`ajG)K$GOOeQTEd z!*0gZ&Zadc8omq3ut&wYEW>NX7k2nbIJgfX&L<*_s)zBcp0iObkZlt>QLr;EbcR*c z^8kRA|MBs9)zfY)kXX&?Ve&fF(-BMBpn4J%SUtWRtHBgj5Xb<2LChxj9zyu6AXN1* zDp5Ug0IO#b2$B4jNg#y5;%qS#Jw(-|7?bRj#YprRnH59Wg1QhA2K{bPQJzs3LZEda zWXyLVE=7(YYzXjy4KpENL)A!xU5K#4F2p76ZJ3l@h%mw~1ORDg!milqq0py2H=-Wm zcE!5@SaEN9hbFsYa;pjX?I20@OuG4}vB>aGUAUi}}Yphp=-YR!16^?Q&j zWVuG@M1f&K=nSjWdLMw5dp=fAt=F57NUWw>GkG1g-VjULK&=xLsMfw5+rbo;pU42G z5|~Z!C_?;(Btoe*qY`Qz2T-l&fB=G$U#GLf?l&0we;g6TN1>d-Z!<$+TO}~F-Yf

&f38y- zW)x&Z_PVbEf~4FIY; zB^~rXScl|HBiS9h{)Hl8-kkxNL5)tK?*9~E>_f1u7%e1>^ zj6K#DKFS`eX9DBCh@B=xhE?6wG5{+l0pCxOUYi^F#@;)A{XsUCLeCyZccNxT#e`u; z^_#ho>%TP<+;+|DKZQh-O4Oi>N~FyJTU`I>BkZ5f1YOT}7vAAigi!qxqZ0j79Kil* zFNJpI4{-2%=D5<#;u5x5Ahrz@o0%`c+?3g`GJRW+?^NAm{D?w3qgBrqkNh$d<)(AJ z1&prnvF#N*!;gfb8=cXkH;C8Tz=csv$w1jk`C?nRD2e38zN5ZZ>#9I{)=lx zAINQge?_C1g(~bSG z^2t$@o#O>Tg0|l`w=9$SgZJF~NcKgKt;!XC`u5!ReIqAQSx0q2OJR2}ZY+moG>1oF z@H~EC3=}MAg~LFx>|p#b8{`}Q|6dVFvGI!so@>_%2wrLjUm+6D4fEoG*;j@@bi-}t zyAQ%K)><B zYG1@hrrmg;0VvZxW{R1e#pLjSivTmg-*|9s_|}g%a~9YUz761w=d;Fx8{8WxDJ%O? zWPFhg?<^--a#z)s_!n-7!_4@}%x zE^*3l>lAk34YyGshPs4t6>oACka~USgb{+L?Ir6xSxCF(LxeBB(oU4Fnlvxb#DnPt>-6Wty z!7gJ>%>WBzu!MX^_`sTz3V|l{wn}h zUWp`rj8ATiPmw6B9DLN;tYh+Ur0;7Nc6C9{gSy8wxE?Z34?yC zs3^~9rA?r%w8@xXX}c6{jKm%bV>+Xo1dK$u(iT>@(soJP8z$u_C5&jLUFRkNQ^*Hc z^ihV9qIEC_DB8t=6m1zk@#~&IfsP8DVU?nN55UU(JL)M~m$6M^H5HA?>nPgtSkeZH zmY_gI^W_M@6t-oMfiK2hyyFgDgixSj^A zF&0RyrUo#19Sv9?OWHsK5)`Nbz8rZl1@{1CfHuc$f(&k>#BY8elm;*=p#gD#*8mXg zVr7I^#cZHl$`W*WF-W0qw-OYXWLpWs^wSijUonKKt2snh0n!Ee0TEGNQBOml^)zJ2 z_cSg=i6Be^`RI&p5-<{BPa~|br*TPlHcZN%Mi{=Q!MC)`Z|PCZ6E_L`pMKN=xAd&( zj92yna4=T^!*w?aEQRz^&8!U|-^@-nfe%?(DRgD$NUUbJ%j9*s-Pu^u2HkFg z0=r#bj-_A;Q0`rJaZ_eIen6s`iKTkm8Q zEL&m{L>G3G08`6VfG=_tcn4lkX!}K~SsX{fcjzjR5`|m^h@hRknl}kB)?5XcgLf6M z-jd0E1;t|B`oCrTdctlJFoC+??zk3eyJ++LZxS#yhpWIXNSMAI;OcA8 zC+0=@pf?G;HHPbYe!2>{G4Yvnlfa!LDV6w>MXDdv?g}gow@iCV`J_N^`ph1VV245!Yl%2a{rgI}hz9fo;f1 zn(QTf1psw4nJ7G8%>wfbrIQfPS2IfItGzJV(sU1Otgp#TO-*KEYO)9~^d^Ceq{$3h zq|Z3GOs#&BZxT2I#kWp*5{0C?ynqlpd{4;yZxYz@fwXdD@T0Jya_}Ri$`xfGRc7w> zRe8$s_9w_9$?fHYh}%}tpZ84y6C2Xpw#B*SM_iR99jq3}2!1aGkA$m$D@o0p1ip-% zq{?2xp8=qbDiejO%mP!D9bKw2qom4S7(HpaX9G~LQ)X(aG80pkMR=h%3DoSAH72vEIwZOE6l&ioRwKC=mXETJ}Re);^*xv}T(ImVU zfHB#+t^#h2(oS^YDc0VAfb5v6?!{dC>>=~LPz5O>gX5{!kYw4wC*MW#z0iRK)G?$)hst@`&I_O^oqDv zJp9mcp9uOcq>TtTnQM6M!XpOE> zURtkumXRoIy?oT_LYTZx^>oFOHmIHi1y+wQ$1A`T+yjt7QRT%3Ki=^ZbO=>Fj7n5b z9KhiXNisR*XsZVT+OI{Y?UdEvO42VbJdtedQT-Ap}|%LdJX- z;!><82u2n@a2i|)*ibbRVHYB-unTcX*ECGZE<_k%7XpAxItjaCr-wqH{$efaA#PW^ z5r7rQS1I#(gtdspg^_u<#;EUf}I~3_+rfA9cxyEQfo#f)H)8JTJHw}2x`{S z>24CpJSv#YOo>n^FD3}H4GGNT+X_&AlwpmV1cVaF@F0bxfx?=mLLTFNBGGl_xbFdkSC zF$1%f5>T7xVwnuGSR7E}cF&lF6tNt91EM->sY|8dHJ)m@%?XF`s9`N-Dq2hDkteOC z^T`C((t2p7BUBjttRKQ+*(84o-XWzCNy+r3gV6!Ql(mmYz#S8=5=NCkpsal)Uh5_S zhfl4U5H75J#I0%VV=1bf2H;>o24(#tg0udyOjWq?uIvZzO?7481Yku~S2oX^1Y}V0 zHwiHBPN{;~4jbMiVA4GeN%Er%quy?h1Up_i4~#*;lM*mdu>KZ0!>ZoyOaLo?^@sI( zyD1XIP7oip25}~@)7w>INgMQb2@34(d^y&GDV(E52F1XNaW>xbqYTyCF)Gp9#R2T? zrclxIyGg+9q!)r#jQEOf6436=|LZpi zyzLE8!g<~#U;>-}O#;iM5)4ttSFnyRe`Wl4>T(vwmZ9s@k{M9Ij&ifOJQt}%^ z@xiVJP~GShy`(8QZIFP>TWP*m0~o(J@9(mwSe+BbSndoS>h}!cygzYVEhVDD^Zo15mqk-k(K|pZB+`0aySX zn^6H$=lvrc8bXe~PI;I>$`rpEfYcp4cHW<8{=7diw4+8~&8q=Y81B5kXp~tDf8L*X z^ST;9iGn_3Er)C&)e%05$*Tc~f!#NRFx4ZBM%pnY8n67|T^ea8@QLj!phE*eN zKY*3rLXz6M8GDQc6014VGI^bmb~2W(IM<5%zGNV@|W_+kv;9s7(3HPSLF zG1A5X9BFR=LL|Q_34}1{tHlhHMSnGbN%lsIk?3*QS!oDc&~mwA^yfrHc}B}+0&TfW z#{6>GrO5DyVX-`B3`|`@z;fA0gv(`Nh0A4^w6$SU_RYeGmdk0MQFk?fDdbKTeUxFO zXl={^>*x=xlA^Wa6DtRxV2@Mi4677v2*AoezN4O^br{h02ioY0Aa6_n5!R%yU}09L;Dd-XJ+mqf95 z!$+-2J(JhbfYq_24KyG@fg0e;@i8!kJxF9wRC%$%h!fY$&J>|kYt zcfYKmT*?x3c@HR{Zr2kOm}I|45DILHvOzI~sjE4}^Zuj@@>@kjc||=9f!5QIA>Y%u z6#WEY3ylw)bP@u38Y2<*G{Opd8kcmSVN&)q!tgx}zNKY;Uyf>?xEkQZx1koeFK10> zys{rEaj^6LhO1x89}gxWy;L*X3y^PSQzr0|m6dYGUAqQj#TCm$fJY5M*bxGnud00j z;eHH+HLeB_ezaXMMDl*0iAikFhU7qXm#DfVlo0_yPo4LlB@gKEEfEWeCTz(XpZ4g3|taQgMix7D3+Z}2EZCnkeccQ%QuL&hdqCj-sKN1FauxjR+%!fNz^T`A|SoP3YRp5F;<+09T zKls7jBotV9-k%23@dqY~Y29FXdEi)A+DLb;9PTuVL~ z?~rRnf-xs2xBOuXQzm!>0z%2^Twn#I+s3cYrZ1T&}>2 zH8h_0CqvrtqguEfKb9eJHNf0kQ=Q_^09cVc@4p_2bl#t-F4*5?!1f^lAW8bDa05YNvnh z|N8UMC(iR~fIo=gx}Kls{d++cW8yREYJl(j4o3>ksdB34@yZ>9=&Tw=G6f2LQV+@zZrlP_ol7MhkP}_zxJf)ejk8(M@z{+kCyi8iD?iSUg*^Tr=c@} zaRcE~=xTt)D7|U&0LzA1&@ayOn!JmU`Ckq2HY7}H@-PU5y1|dsA?ck0>5w#YuYX9o zL`3lRPVy$L@Z6pkayueo^S&D3bHAPDb_@hUZut?{WaU?k|3ZF3lU+$_UJWpaoDw`= z3qT!BW;XM^8lWRhHw!>LO(tP#G9}4F(qed_R|71QCNqRXaQM#OP~iGt4C@%=z*U44 z-L2d0zLp8f6%NUK;4qU7mXr47;->6Nz(ctjV8xrfau}iU%F78+r(7Y;`Ckoi-5b-& zF$)5ra_}Ri$|1M*8};>7StW-m7mc zW#xy}0yF76w5tK`K~7R-&+}~n)KO)k%=c=5RcX5C0Z>nsNtmikNm7+1`h{K%P_t9k zd4Eo$!t?$_t2d$b=lwO?sy|is=lwN33(x!SWDDrjOf7xh|4g+k=G+DJ6;2$q^hE?n3t#kI z*2{4K*URSt0nB%>X3G4)Pu~&buLdw#UH}kwz7S$7vf+9EE^+3r1`wra+i^MLpk}f2 z{tmqxF_>&I<7kadAkbsy{T+5Lj?E660AR+>`?mrTKksi>15hKQ^Zu<+z3{w0KX^3& zQL3&6_|7>z@6V{m{ds>j8J_p&^G<)>|1XIr68^kD(-dl-_h-uDpb!pv-d_!LFxQeR z4DvO7H2{fdL1(1^TWo2lLoMmT{XYWddo_U7doKu6zD8{g#f$?Be1J9{_+SBpcOb;g z3kajO#(2(rE?TL!wn6Abfv=Cy8CJEmivXw6w6*?N(gtlU zL4j?}m!ls{;im?X0q$F2Ho;ni@F+s4w#KMLTZ;qO*46_dlHY&?LKw~iSj=j&=&uGa z$!@S1iQZogK-hw;k0ql&q@0y!)Hn$=n*bT}HUXDn7eSaq^3fSx4PYcfn}D!Fn}AC? z+%PFyuQ0q#0O$RwdeM1*_DqohWkkHWs{u?$`%FSkM<*;hhqnh`#ef*Fgivau3?m(7 zJau#gQ$7fOQs_h}1lJ0kVU>>d16Vl~NotP=Q^o>`)zncYucM=tSkeYMnxH@(_2t<6 zdg|y7WPnD`Y=QxVu#h8^jxs8tqj3Or^adb=R|A-6-PHh$fv6U(nD5m9Ry`#V^j%1X zo>4ft#&Tk34`1j)NjSI>A@12g7*!ABSv|joVgbEP=tMzF5IV!E>bV)f$_HOpuX@^z z1rn=SJxpGwdOBiB8&pq%0;|WD<6JNWQv@==k90Ge;1-1WQHH7>MkT5z4q)}{0zxFe zWfBNsusB=HoJqDzF(%nzi;?JIB2f%s3+h5h7*)|ND#|nJLI|`jgpBzv#HGj)1S1O{ zozc|*Mk4G&gcWunE@^MWr0hb35q2Q}XbG3FD|UJ)^lA6msE4>+@fHA9+?(E^IlQX@ zO#Qz?L60(w)Oxj~gZtl*D`dF_pD^bG1$KX-GpthUI{>VF{x$W~dc6sW#A>QFlh;w} z4Y8yR)H*?dYVFH$DVT!g4jK4j+=qAE^MO!m&8UQ0#{pF92_S%=W-XoWYJdj}#{R!p zCPJaShamLi5}3*NdjR2X4TR~d0fZdRCSz9v5IKD{fJ25Z)w&vBQkl5j;GgT%#zh#U z;Hiy>)YSmS>0U(O=fZI{z!cuhJgT?w2mf(3fRG{%VaRn?0}wNDHGsn;do`{GAQ#0l zL&$J|<0U59W(;L5+2n1Aa&)FqqB>)!OQq2>o@!Z?s)jL?sb~zHN1il>&L>1YJk!!*<-PL@r24KRlqdLT^0TOA$s{!r@ z7w{j_;~>42HM-V&C#^HdC|-_nOAg6 z0xn7D!o~+KNw6~!yQi>2UMTNnI5>%LZLYZZblj`}l%Ba)jY0J8@We81@8Q@gchs?^ zgf9$xOr}#2*a6l1euU%N3M9+p!D8U?ElRnZbn>Glm+3nm$6$~mbIl1OmijmmUcBi?=aFVL-+6!x(zBBY;7Nq? zl{Un$VJgf&`N&r~09lV$$6xlwF(lI>k-`tg`rd#}2k{yIV}tK{A&*|ofr*yQ?V!_v zNL1C1vCZz+2ww*TE999WYNnd56GSU;JU5s|iK)5Y%6{aWrGk^XJ6ho~QmK{#jN6A0 z-d$OYty+u`N;%3$HXGb(R*`N32YdfLH)tZpJdBV+xgQT)frOBPf~U#=URiy(Z5d{iG4%d%czQCjy)HItHM?7Tsb-t}wCB?9bAf9q%%m zd46vDXbJo{wZ9&e$UH=_lMkG8W@L89W$j{0z!novu`KywFN&DjeG>rpdZhEq2ESqH zDRthD5>F&p%|vrAV5Z4zsK-O364SXAf@H718U2@2{6r4j#HVs1m+P+8|a-t!JvM@XjwY4$Lal>%>BH1nxax@?q1hcPn5hqdXM%?)JMO}xS0pM$zmLLwht zA8Qt1ReM4OOV8Bx^}jnBKqoYylg)Xqp%%K8h6SnKej01R}u18K|1B79%>5s z))MnmSzs$eT;u{U+TrKWynyb?us>>t6){_$#RCq-2-*114(Hr!epEoUL*c3&68+%q z(BX&eFk?GZo(vCap|c06oNnt;bc2}eVXopN1YlmbWB4}lPaOh@ac1Pu8 zi9kTt4)c-{w&Ifwg^esn5;dFF=RgNU5ufQh9hek6dW+?FRNFs;t;)5UelJtyE8WcF z!(V~Sr;mF!_-nvXJVpNdXo|R~4n$gT76f}1B)3w$TzxspJc;k)w!GJ~S0s*#BuR_q z{1_USF_yna4X;4EqKiWUAJ>M{#Fr{=19NE+q3IVNdnjV)JIV8l`@#2{GRAn$URM#U zuAG)oPB*3d;#avLF}vdhpbzFHBR6`juqKdwvprplaH28`FeJtzZRCc8xN%_Lx>mEi zgG(WnvWo6ysA<)gPvW%7h&!2_utZ$MN!gX-9wM)o%c44n4$D%^!Cl(E1hk_)+3Vh_%Ph-^ z8hjHvFps4y%!I_(>{p))D-x!dzPgO2-Qs0MGk#xb{Hm}{L_gzPFidC)6%I_Mx7n(m zCA;HaY#w1MteeMCa;YlzDy%3&tSrpb>}%4#a{R&pP&^j*UE$xZ{*ZfX>09dF7WKV+ z=5o*^F?CoIxxt>F--)7b3xKFCRt&U#sm)Wxxc{zElRYnSt5$03MgU{-4=RL*emtCtfjm9{r?18LOZ065ae5`rEQH%-_?3LJqLKyC~|oi&~V5Iwp!b#z&Eh(A+w>2=G1wKH*{Vu7Ee;; z^uS`wtmle@>7_9t3F0S)?P~)cFl*SCP|RQkDnc4neE(0JM3WwSf(Vn^!+>Fjm4;meQZym3#x zsg32?>u%fhwSr2{ z6qz(OQzY}qZ>|i#vreU2Y zaL`MaDO}x&dz*WNV)#3Z>Yh{MJiFsIgQ?_$y}$CZpa?&XsOj4zI=5!DS}K(1OnWlW z8YCDZi)NU{my2t&IH6$LXJ4&+fJOT`hK7_hb2pVh}l-RMMK_u$B z{;2(Mx~_Deh@*mGZx;M^qQ{7>EoHC8?GGr!cyJ1&!)^jS#&Q7onjaNVYfIs(#~}K_ zdklvk_88qr1vz;#)?*k0l&qp#%yb-Ktq7D^t!UIDT{Aw~>#BDjTeYrgt+lS| zWevE#wbQKlm_Qp)aR*sf2?yOX)>YU4=i?+LNS$>R3CGt}%1G;~HI}7DZOqc`OF+M_ zI^Wh+in4W;!%`ca@48Ak8ov+yhxj!fY&rhZ2J5P@<9nR#&vnrpMcnS+bw7#0>(;Ug zR-R%f2dVQ*#ouah*WHA0*v!!$h>RP6fU;>h%mV#x*0$ws=)XkC#Nmk66vqTm9dV%* z+%i)+nK&jMr8q#{cJX`(o%n-2ShP)lmn%0vp6mQQ;d07FaXIBuh0Cc)3d&oT2bX;9lhJZYshlWnIYo$DPNmX) z+S2*u6cJ}mfjEo?`$1)_5r#01FobY~Q4^0TMS8O(yJIG%CG=1z;J8DW4jVKY0JGPB z-i8C^w6bSl)7CKCo)TWgOQB~cDr^8GhVU%mxeL#ocn;$^gy#sJcn8mjBEvnqz-`Yk zSVi2*o?RFQ_ktdXIE}@85JeFr)Po^Hd^7x#_@A%dVSA&N+%$!6+j6OoP3@u;R$=cJ z_tyK_fUdD8XcCM~;5mgSW>qw-@tx(HwDL`|d{Zo61?8J`<@2)&igWrl*dI&NUr_iL zW{Z@VJ7t)f$(3f#D$R73W|oy^PA|>8v^4YL(#$EPnO`f-Jijz^Qfa2GG;?BU=7hu@ z^&Jvgc^My?^5rYoCfGK&HusuyWR~k&Qu!MC$C!!mU>3de@Vm4yOQj5ZX0ThSsBNwG zHFIoH-a{3d3n(N!snfZXvmqK=dh1(;r5*rs+>Z z;FE9q8^c0&;hRh866j zElnS7)8E5CQ(o=;^tXQTlV$pQ)?l<&U2S^S%g4b?e~;YIH2pzLT8noMSXHmhLroX1?FL|&x8#GOS3p4$7{Tt^*P19d!?9_H=xcRA_y~23qGMrpGatq6* z=}%U^rseO30nTgZc-~9GQ)AYAc)88HF9}}j(VOmiO zqdLJ**v)eeh4MuRQ`SCgHyMhI#5xWEmv&qN!vs1JkQ?vW30fI6UmAk@@uVSm2rgK_ zkz*YIJY(RD!)|NN1Bcb_b*gk#zdurXEs_=khRz=i#^U_8k?iKS+#q|2@yg?S(POm8 zzPu~f30w2Zo{>$?2ku8QU0(=RR?+@EE%s)G=uHd*Is!LIMTiYm(BoUP6iHN95l z;M(+B^=F`)rfWH)x}!!-uT>iMo_y2wl6^;Vhauc7ZF;RXy;f~H-!xroI&cKGSoUkd z9QT7d>Za>6zR5YE`LRA7OxM>;h~H;~>H5OEpYo>bFaA{GrtSC%_FC<|GTLi76w~!` zOXv4ml(gx!YG;gsAv*)0y(|3Yq+=M7tzL$u_QLHy;cTqw zwc7MrP5l5z({zn7Ye8PCn;+z$*EC%p#B_b@4-cp7N}q{tny#Cs>!bB+K)3w8X0h=j z!AIM4{oQXU%cqU$`X$D1({yd7>*s!*)kj;9H(B;_mVCHgtAA(<{3pS5-EwiXoH`WK z_4Jy=Nnj>zdaZgrxUOlsUa0B1<&Hx#>>Y;J>VhnQ^?g{I7Qp83){bFVC~-W9ev#IG z)1+wuY+3-N7H&`NsbK*;X3vpasD*n@O$%Vt0@$u#Bx13`%Er18H0RA-&FfIJ>Lem1+{M}mr z`;bTbcWXcUrK)w+(Y63S_-SSNw6Orb*!XQ)0L=o}_9<515w`$dWDEQ!!2)>Tyl6Rf zC>Fq1`|J%Ik^XgaU9WYBz{Naxizd=@>%p*gQU>#x+w9AW3x zlSbUMtfBMjM?WKWpDxa;Q=gZp4(`1AHA8#~IIo`i=P3i|oD_EPRY&p~054wlHn~$4So6fA7?$|N7C*PTM`E5sX$06K2 zZJM&1rtGFE`^cKIU#SK36Kcx7=p&pXK7E{7ZyglB&j?d?|8-A!Q})zfOWaR_DLem~ zXz%4vOxf?VbbjweNt@2BO=nj0)KA6VVg3Y`-V3(}g|o4yDZ6RPZkn=>kSTlDjU4ov zrtE{5vi}*Iw+rvOnx^cgDf@{sWj|EXEH-{b_-LE57jIXVPa9MAJNj*+kDvJT_o)BB zdB_%pP25O>nR)SWmHZemTXYO=s4oGwWer z!Fo3O$Al@n`xsi*M$JOEn;xiz@?M66{ApR|%z8m#Z~|Yc-)5fIO{`3}aEoAl=hmi0 zu<6{|bZ(8Uyb4W=pxeR6&z1)rHr5XD@l>%0zN~yC7jEGmRMR5ZvH zzl3dC1e-UrK9z4~9Vi~o>@1v(H7$Zoi(u0t7+aUF2)Z#hTiDOretawE7)^^{t@SKK ztVJ&FBKtNDG&L=P%V|R?2Fvuw;5>8}-m-s|YK(oyyNjb|o}b%3+6|Ng*h<{IXy$sP z6$xw?kVNxl)}wGU>)-WNt*efC-AVz!!pWiDC=J9a-w~_q5mrfnn65C~8qE>X<0%7#}rBf`caqvRDi*dFct! za!Ps4(;|3+rSr=vCT&^-n-;;twg|p-UCJWZYZgJ8|8j-h^yn*;A7CgOAYA{(@Bxe9 z2p%bmAexUQ3)-plMR^Ij-S}c4A^|Op#einPLa-0vcrc5Qjbl7`6mN_07NuNfbeJXR zblDek#+Nqx@}tZu(|3G+l+-fUxcf|3{kq7Ak3!IB(!qAA)$C^*)y|bM9sSptR{T>DB&zs_T!v?6oNUjT(s=+ zl{VzH#t0bUN(Uh80db|s-k6@Yydgg-IrW{OoTfLwFq6s4Y}>LK7sjfD=y7(8ZFUIn z0Ky2Fn0`x$TK@vfmjMS<#7(D_J3seZ*^l%t6}*ki>W*B=5E-dd`%$W5z|dWjYZe&) z3s%9cs7zn#!QOw*4O&Iu;$G4#l>6}*4>Ab#TgBtS0A4A`{3wB$zAmH|Zjlo@qMJa2 zv22+V$^~P6>Gh_=Hy$C@5>my;Ji$MI8?;LVJIO?giN_5r{%)lBq!C9?6$r=YeEnJ9Ysi2wZU@QGwnRh!76J4C!Edwo$zzA0&JER=T< z12-}mVbRBpO!npC#_UTdg|{e}+#c^fnY|Oc^Gx3> zk(7c5zsvc+NUb|qV4MGbY6(YQ4U8H-;NRyfl<3o6bV3~ah=zlZjt&63#iW+V2zyt>L2(^xKzE3c-MV2?Y~I`w~ha*lAw|WWGXH zzI&{NKCkaAs`iX*Pg!I7r^bj@Av=+3Rk@mmk$nM)A~}+Nhqr{zmo5 zM}9odk1h5t2;X>?xG~;>t%=!VY!$ahI$fT`V?1a@L4cUajR#Wz;0;9}&{lE6)$Ebz zRsDI@D$e1Dv&Rba!pvTejMk#=OEVcow9gL=FvgS@`1?&BeOdm zI)M$@fD2j0eZta9yD$*?IRf7VtGS9>uSCfSkRKRl7MFMpp_||2D@&pM9PT!ro>pS! z(Tx~PGFv%ix-N%W3TH_lR=<;0d$ZYXdW~nVSQdpd?#UI%0QCadCHP)uWhAp7e!F0U5?rlm*qVzt$4HkcT=9u}o1TSY zco3ty=hS7h;~NH3$p?FX`N$^ z_Su(EVCJ(g19GqtvW5-5aj;<=hYz8y6oLku1|@cExcZXZ&~@E}Lr)2-p&}N#*gVLk zn3ky-=L+R6lwmwrib`cSfgWQy0DR4l3aIsF%8;jxv_|_r4nOQMxnisW0^y zif%EJUxanUtcJH?S%lnkWMUybMjz9=RUl-$kR|8YTA682^{A|{9$FGLnkQ(56|AmW zVLAKZGWHN|u~rCrt?t#-JM9Zwvj$Y$K~`A8K}TJ9u=3@cvJ}L64OXk=rc76eaD0WO zjI_d9<8+Yd*xg#vX;*R?hBtoGmdn zp19u=yY443c->l7!Tesx27amdTMe$FV9fJySo53+R|Z7cv|JWG6Ummhp(mT7z)T!^ zb?9kvOaRpp7h1tBIF*x$PB`i{8$@V9KK&s?8i`{9rOceJod$VLk*Lfpbi>)mKU z_AN{27gj`U+7JDj;Tdo}=I4LG_0?w-eiET?Vx2N>&E!fmXO(6;OEb$#GpCnkURs)Y zacSn1(o949p+@auxt*=?3{L*?71+hM&8^M7=A6@)p=0Pi zWo`SR*#%b$V_U0z%^X|Qx1~d==4oMME^!MZ*Cq`tjLxRm#iAB_+R$4s=WElv*fcMW zk70~DFx_th;Z|t~?4LA&LQP8g4y}|;^P+9JH_eOcf`_ObPZjgxUtnQ;1U z;`fM~7nc~n#>3Oxy!icBJ>|`dE6n=58WnA;;9k5vA?C%s{}io)nLYHKc^}lgc%P;7 zt6(K<{!FQL*};$rQeAT)*kxZsHiH>2iZ3{x0Y2UOV2ezQ=% z03lAI^GFZ;6PM#r?U-l@bl!lQ1xnG=UksSm9nBc;831vff*_?_p@#?TNDZ$$@w!#7 zc8)=9zGnzWPYJwak2(P!dg$4O*8%UMgPuXaVI%k*UFxu?2a$MS~`OG1JlEJGw$SA)HCJ_0;X1-=cahPz0+8=<6~ka zzilj8hKX0G3}d-`500ApoLBUWZE-%E=OHh^Cqm&3neZswA+R}|L#JCrRe=8$Jrh3J ziI&VT0MA}`lWK7ls?U%MJ(D4cPS6*bNh3amm`MY47FjT z$18o%`9g3jfca5|nGZdysL$z(U&Mw*m;`3DA+tD4#9}w7_O?!+hGd{$Q8wK;(Hjsc z8@%PzIJ`Y~?yqp5a?2|kbNBogdhVvbbV@vZ8;iCw%x7zReLCkCq#k1hcB3rL^x71u zV%fNTE_^%f?R<1KPWrof{LIU(uzL<)#od%;VfV1!Dc!>EuOLJZpMlP!`)t+2yF?1; z5A>0M)J$&W*s9dwm7+Od+wbTU15(B&CcUC@cTU>9`B&qhy|kzCLp08RU8f%&?i zi%`l1eGd!4>W;gh6WDY?4_(krZgeNms$1QXU^Sf=7U+U5g7F;GI&_#MazQsFf8>6b zHJo8S!Xx)1_T}Qn>`N$5o(p=SY@C5Pz>pPyEq%V%)+#0B?p@H0k~g-f&+x_;^*CXr z)y@{tqJUw3`){VU?G$0tI?E-PB)`7DRbJ}HrU15Mr7oUXe)EI z*>`*SIG79ikfrlmnM&F`BVv<^XV4iD%|8x#LE&A{mHH4|(1kxQ7j(mnxz!R-HL;3j zY!7xF&Wx?`84(-RpNcN%k`jJEiVeEpT+k;u2eH}X6yP>{B(Uj%o(-G}y2)+6tGETb zpeK}=xw&;*+y#BiW=YNkJ(0pYfXfBlVvfEGdQA?pK?4_b$C=i{i8CTUJe6~dx=Sxx zKx=xIA00C>%+Cc~Ii_9E9UIm|Ke;aG#!9O5LiNYixUt3N$uRCD&WI@aLKmAe_(25! zgBrnaqa*NYXFqu++BkitEu?a=e1-(?;qMEfKzk<#LzYyyUsj#wf{wXNTtNs;BF=uH_BD7B5!})->uto_A zy=@T`25WDEZR1vWEDMiyL9yGv=8DVf+fOen-0e)L>lb@#thW_A7H5{njl#Ypao7OM z9AhFZT*_Jhwdk2+_WSMo+-VveE-mb~V=rY+g$jdbBdoTB8>XE$z$nOJ##zEQ6w6Ek zBQMiKKt@exrUxH=3`W+A0MCyylo^~a)9=IYpA-WnJ zXfA)6!HI-hX7po{o-b5@JM==^vmwj&Y^?3xiZrl2i+*8qe{nbSEbP{hS-5Z@SHKaH z#L*ue_6d*v2yb3Tf0WMl8u;pu{;b7&F<@BZ=#SFCBJ-yl{Tmud72*mIk8RB zJowR{hp{1xvHpoY`XedZ(VyCl>{#m=tpTuSRNHbLpKDX>865(;of-(O)3;mC=*jp5 z)-(FF9?I^|_l%YWyFtGvd7lIO8Wf#Hf2P>S3|eji^Z{ zx(rL1{`Hd6(C5ZF#QeT4oq#HAo-M4}SGcfpL7`{ryuyWhd6H>!d-1|ban-(Dar3MW zETM7U2*sYcHh#j1N7H6EziIony*z>Q!5V3X{`0W|Ga!JIQgca)uH1c>qKGdC!UdO% zf#InnQZ!(^{#TD3C^h2#yh6{z7Zfg>%x`PUY<@{`+rvppZ?vO3!*h=vnEoj0mcM(V z?hFH(72|ieZ-ZS2#duM@#1Fq2yskn@@LGifR$U(deLK+3QU-Gu6fc}Suh^4f2B*(j z-^GJwKRWOj&bi#z7BAWMeZ$nf!l-p9>Y)o|ssauL_2Pk(TdVO%jaPXc6V3E>;8$RY zE7c&n$``Qz&IUs`=i}mc`ku0|Y5=b`4y-B_l~bX-l_@nI;DBcV6Z#@fh!%Q=+{sXh zuB26$4uS6UMsi@$LXPu`96B@%tm^k;z_lP+3>c=yfVSKq*9_y85_GiQ0PrKV>|b;`+Z|%9hSafrw@>Nd_LLThwT37 z7_nQwuYZMjZgk8ucDNHK_%dKQcDS=dO&IT)#3PDX_^HlUYjKUCi38<$<(hyd3hZ zq>g_cZ-_^^YyUnLMXH9G<4aPP&YpppF0a3Hn8r|lO(QXNk&49o_kZdac9SPS z&qbR`bQB%QZZ6p`Q0YGTUky?ed-efk`D2*W-JR+XFR7ajv#Cnq!iUi(O{q_N*ko*d z=^JlHJ!f2J@pE)YwYhaP(0L&L5oA>uFJ4%m&|e;m&^(yAr>^J{%yb@#Z^f4+RHw-1Y_N}PFq)Ay6Eu(c3OK9)fMuGnM!J~ z%MG6U`$$;%0GcH_`bm>47Ct?b7;DaX6;5=s!e)9gu1wvjx&u!yVsFy3FF)0W8e9q* zuO^M(2UKXsLC`GYFJVsu+Ue|$ap#UB`tcWoQ@#clQ+fC#>253h!2mQ5;-yizGyST=JF&OmyJt z+4x-PK5-VEq+&H%T=M$A7itW)eP0O+$tpoEIrRWAaTxq@iXrIO&vAde@`8VXWZmar z>BA6auIO-H`@(pgo%J&yVtQ?nhVw>M=k3TY^Y!DIbnvy0LJna)KSts{P2~zzVo)Lj zxFHLJ0+R4}sy`N&8!TriL4t381LF!0J(BwZ*dy|t8BA)(^1~Sn#)E@|VL~HvA~}Kf3;bss_@-spRneJ)e4S_N%Ktl`HlP544rsc%ZrQ5Zdyt z-1cp|GMUAhEicXup7_UL?(5fZduH&pA0eZI=Z@h~`J?~+*n#_dK8@d%#6-HZlhw<& z{+sc32K#_rEql%tl`JDzD|cZ+Jkay$czz?fLGd((d?$c6k}H-pQN(MpUsQM6y)B9c z+Wq`--+!>K+oKd$O>oWFGg1&ECC$Z4 zybzU)(fQKCk}u+`vXM=vu;lZ2$580zDfdGXpJD7WFf-Ck1?j}VFnHn(9<2pG`+JWY zjvuUirXrqa^JC9r>*}fCx5x&UycNg^&f4HjbXNuXSeb={XC8GPP~Bj70&|tIw9aFZ zliB(F}aDS$2<_c)v6k5b2qQ|so!c{oC)B`$}NFds`Xl5dpfBz&~K#Df9z}Stebwqzf&m?fa2egDvUi?Tx=2$9Yj4q5` zfzbgzPHXfi^AKCAME3_*1BjyNc{_g0J7X;hO=IxfZ)A?kR9=TEs}0*H!Uqu8XnePm z;GovVHu&J4rHmVV#q-Iq8TCD+Fkf5@=WC>v>sH&8umnX&5BXYR~F~zj?Z5I z&f~%OSnLv+U)?N26NbgX=lufjm<_z)z!bW_5}CO3{41_lciF{PbmZi$Rl~Q+wyFHXl0kUZA+j#K?U@blCg!{Xn zotYksVcyxh@$xN~LyWn*)~)Rj|B(z)lFam<)y3Yp?y}1_Mc94oHadyVTnG@ARaBB(+x^|`ndvVl zDm_ei)s}S|FTLWbt6f5B2$_FwW_o)(K~>q;`kd}`IbQ>bT9#;b8`{u7+Na;pkc6+K z-0hBsxS}1?FzIHW`|Ve*_57QTn&hYNi|bPr^P!60dF8sT7hlrXu@Q>7Y4a6*(3Oz+ z?eitE<>D(YhgRqAVq-Hcu<}Eg9pvYwnVHvzTJ-kKf3)e6jhAo8-PPA|)n@!(8kVI4 zZS^uWY^yVB;NM`@7^Xe{O3N#E*ZbGK|Ei7GfN$%Ha<{L$blt{vS6%{bj?2NNoTmmZ z&hFsKD?hh5`%!i%`MG1VJH7-l@a3c3g0%FVke^%B_txoG;WK3Hjn;KQ5wE&=bm%!%X6Q(mGzfZUIxvKR=|dQW8R#4@MTZ(W$#e_O+S;p?tzn+ zF7%nAwU;frqH;dQHhK=^G$K|`(KQzmr${bZnZMJI@GG-nbmmsh#`qA^<{KZEEnPIX za?S$b7s#4(@f9>Hd%{+n>-B05Y|0gtS4G#&zM^vOyhRJGt%!Ect-SE+N(dpkhGKyA zfm6WNZ8ACzqL@P^sJs|YmATrgc~=YSgMk|Ie3?@wYe0`*a@oc67FB{-G@uI?&m#?^ zg3ct|bic2P&!POuL$mY>WAuoI2G102rQFNHHfA=24I4Kp#=Hp(@&W@zIsADGOPz za>=~QmoCI8t*b_tYI3!;^X5|XPYmU6^DF8WshEq-)I+gA1&o(Rh3oe!FN7^w#8F|W zs0Zbw8(f~N1X(Jevy0$_NntWto2!k&9a8b8iG~gwXZ33BlnXCgQeTOHVBJLkshsb+ z)##c_D`&H?$_VN}2zg*z=dPEqRkUT@Ym~5Ybp3U%=<<{nNdL`v1?gc#yyw~ z1G-WQB+^b2SAwL+p8PLPdTh=}=j>-mU$a2qg)e;Y(K-h366QPG z|4x89v}*zjhV9P@qPYPSN10g_U*>MghMR6COH*=vXLwcZm}3sDzuG)v-)Ib(U4y#G z_%*15-6o=K!7&cvufN-5a7V3dr$I1g(uVq^KXZg;hMTzgs|B5VqeV6?p6Py11T*--&`) z7ysgw(i%*AoLkU&+_JzH=d#6Hw8ezBm`CD_k{08G|0Gk#zKg82(k;8Ia1F*kcq`># z=P6K$?)Y73V_0|m2TXGDR27j*_d-FoqUJUKsv>QXoHu|+&CAysQh)qNt@ ziTB(jd^m!Azw(a|RF|NuuW+7!{Ud5{U@w7|qX!k8b0CwHvv>&4km~^dwuh@FU@2 zDgm$HDT`jR0Q}^0(uFEw#A$LSu7`Q$Md^ZOTK{?n*7~`CswxAX&cWIsh^ZC~&3!^s zni>Qc$<$l!kB8gAE;n<+t3)Le@w)+q2P$SFzCs_EtnVL@+<*d>kHkk`d!d@`_-(Gg zx(GwFu}kzg+;ke^Xs1kjQKP+(#1+I(Wi2?anN|?fv6x6f)S`yb+@;%zr+^dZk{O6+ z89<^)62dl5IFeTwB-9Cf^Gqh#*k|Gf2~t)NBnW<;Ud+;}L4j(fSZM<~3gj$M^vaF` z6_B!IMFu+?!c4eX?L}i2Y7k$Hs>$AjRPy@5Tqv5>S?`pS-EK9+@$rU|)tKw6RuQPS z1FFSJR%5QJH8q9y1s@?r9zIl!O^@aTe$H1_4X?Jks+myMy?;#|vhceCKEp<&L#}2^ z7J&byflUjM;~UOQT+J?{8MT>Kv$OEL`Jd8AtORAHUL7mXNCoHYIVJ9%Z4|R)#rJ3OW31yc?zw@K$gyDzK*b92Rc}=jffh%n1m!m_~p0ZiEdYi{XBld z6Rk|Z6P<&OVY3r(P%Pv&3#ZdMa5WxkV{0}i=PVQ-QLq^>9o93r%^`&8=16*S*Iz)| zVssw64|>mA{a#MyDfR--Fw*Zl;r$+f2IIJbx7+2Ni3sFnybX1kDtM1mW=xsRV;oif zt%ttDvg=~yVEGv`LdNdnJun-5aFXj z<(!SM9Lg~j!{kTa0LK;~Zh>}3`nr|=#P;% ze}2^Y8b(4lBErZ!&`~6tB;=25vhn^`HX`1S{1*paqN%Ze{^_=%4` zpGT^4kgrEM6{Vc5HJ~C}b5JbnWJ@n_Uf}E?`523*n&MxJcD&5a-2IBud8{dV2u0nY zVT9hpWZg;V^w^DSschZo=LQt8?mg%e0pDuVR+kX4abvmfFpwUH!S;|xtaCC6g2MT- zj?yeY)c(v$`R*Wec4kglE%e`4^F!`?mYo>P{EMQi@WFizTH|}{mTJ*JHT0~bA3eiN zu{rC(vWKmvhZ&ee@D(#AuiP1+5db@W`R70rzc<;(Kz}jL-EnV6Hs+Me+6qQD21*-P zQ(<;wbIxh7@Xj5gf-~BZ$B%Q4-N42$0L|!F%Prd^Hto~+4l{i z2stNt6DYwM0>Fl{!nj(4%}X+N#8t{2VW!e7L#+HLR^rP0hFwp1|=O9a()LtWT=UP zYeG$#e!Mm3yvP|VQ0HPZg}=k3JeA=S^HVWGuH6of$u23ZLI2~~tH(H%YcX}l&eSk_ z;!syIFxB5zs}f0a!}`DNGpzTwn+#QgdEgEo?s6aQ^MtoB9@l#WOb3?E5RBhi0J>Bh z0m%FYWEk&^;DO9M7*>5+a$sOP>zB#J+V z!(d{Yxhg9G)EeJWjda=Ii*P#b$D3F+n$FCkeAD_xC#2E5{!c<%#pN4K+sV!>h*s33bvy*!3_rw8CW+|jOQbX{Q0A57W z8A1}(+?;5tgo}0xNx-qF@G3EjoCa+q;mC3oAoAW?ik|vf$$n^=iW6lbWt5HZ%2bdj zqX=bmPzAJ}iV$TK9?PEc%2aqLqu5v`OY~Y##fCBpjAgfZ^;BReqo`OW>&K{PjC~Pb zz6{SFm>Jc|NiUwcYRt|ghWGOyeWWwK4g^8bWZ6~E)4G=}W&-schnAezWCdwGde$Qm zN!d46NGbQ6R>Np2)K!Y$SVeG@AHh9^2xfZ-u5=L`sR+sx!T+A~Q82p@LCixi5eS^c zoLi8-bX3o_Z{-PV9I)?4)a96WYhZoWas?QiS=7O}9+!Ocr5K)cljZxs+|WJC&Ut0F zTC~)SnhsS*EHljE@NmvK|Dtk~eO~&NbFO`q6qoI09+&jXW5_(t($atZflSCb)3x+Z z=J9wfebPK0iBjiUjf!vrJf_|?=L~cSQ~X&w2qN5BF1`$yw^O5w4Eh#iybCjq4zrTD zNMt>SsfNjFHJbOBmnG32pxV8xgn{~oN(H!TYq(!fsaWs;_{lOGV?+A9*sWh%>j$nS z@GM!k6<~QjL4eEF{~r7?v&L<&M(A>v*tCh4Un!wW1+tuf!_h@^Ww!#9|AYkB3wCsx zu9aEmw=Kch|1#_I-l6hIj&*gfx;a^51buaGE$i5hMNU9lQe|UEEfi&~(1BW=*n;rp zBRaoW{$>mN0F(ND(28;m!P}a=Y!!$~mN~xzO1!|(fR647ErTCoy;SWq*)~hW=i$kp ziI)*vkb$y}+xLOc$(>?s6#-m zNJzsNe%P1FqQvY=@nJW-IdMB$$r5=lXH>`8|eh*8&z!6Ipi5uiuV!) z)|HTi>W_kxua>jvny)y&KD!LBYGA(*?Q?@kkF6sHRD{X8D(C*E1z8`F<%FK&&;}qR z2SSgWJGuTA|%7XGQ8h_w;f0|(4YPk;582t8<7enBTs>D!eHGPub$wM z`8#8W#?3A_+2xw87!gki#*dz)-z9nB>t5Axu>{CT$s_ENzzA40ai+C{MOeQU-n-5y8UF^xA>( zZJt@G9nGxBVEcm#=QUT02I^2FiTx2a1ORPMa~TOXlkp`` zvQ*^v$@n*^u5SNMMNusPQ=(|vJ6D-lAbo4*_(K=_r0KK@di@!)!ugEzk9F?Jc^Rmd z0qK*^z&43g4W6MtZw+)4yP1kqMsHe?E?+MPg1K_~jB`8j;spB1xsaNPZW?Gv)g*N%3ju8xplyzSnroGr$YSx#Mi}(7gk* z98-$kjk$Kw8J~!bEJVGg?Ln-w$Ik$bO)z1YCcx25*;)T-v?J$)F;b9QLB`=g0Fw#A zzs}J4y$@pw8UFSvnK_xp?V8tWS^U#Xyd=dXDYpLrMfC#_l_A#@f`I*h$)>P=9;l@f zP5zM@K#vL2AyQ0Xd1@v+8+M1!#?NR49^pn#Ml5yqI6PP48K(Z^N<3HLxf;(f$tT06 zpAB|Kp^h`7c!p}74Z~fRJigAhjP+E`3h~e8xJ!AJA{ONX_Bg>o=Qj@shuW2!l7Ljs zpNn~XIs&<39;di)jIYTkkC`OhP%2ehdEka*uVk>_dLasb;m{+N#P-2H&aW;-M1Cz< zoSyi~HzXp@A9Yk&1$_Id&_=A8Kj zZ6ND*pTe6p`21+DUb#E~DJyCBlp4F#FaTFmOifXX?{xUtDMajFqD7uX$6h%*wds`l zSvXXKpTh$*q?u)2hfbKZ;beOHnnPEE3EI(2A_V|d3C5-5Hq$l-}s=mAPR(fhR>X&%+a<#Ki z%@shdc5(2rA@CTB@e%*<4lQWmFWVBxkI=8%&f3-0YVlkpyxw-$6Tl0(Kx69w#Ti(@ z#hF25Hg>USSh(p$aILY6S$KFx9#}Fw96#1A!NXyAFo^7nq{3HymlP*RclR~(EiB@T zLWkp5q8{D@21Xu5499Q7-|lz?L@*he&y-)@Xu*4Fk4tycWiMX$05lNtd5&@y?cOrXpf$saLt zG$J?&uV0fnTZo_*a8t&MpbkV!1EV}O#ycS0@wtY{{)QH#A%q*B_fdHs>|H{D!B5sv z+cJ8EhyMD4(wzd~JnRIEl1 z?4x1IJM_=Kk&jCIbNHDoW09N>!HUg>tJk2Ve4h5ARJeLGy6=mFUJ)BML>yFqt8H8? z7`%*wH38SljKM585nl)vf^kfglL0St)GYNfZ`@zf%Y=&iTpd_BsUiRJTqOvQqFzR* zv0f$)hgD1s7FdETy%__tAZx8G%BdP#yMLPcm2Lc>=_0@K=Rg!KF6+=@{O1FI{zOD^ zdV(TVc6L&iL$615*eAQvv+diNOlIIu&igN52$z!Gt#G7x@fDo5WI;z>LUfyq-$wR# zv1nNR$i^-{4qH0(lx8MEm;B>mfmvtx(&Mzw@TGjIlOxDAQ}Q5Y3U`+`t@B9&jSoT@ z^9(vIK}MH1K^Ra{H?9Wg>xhbV%>T{;7e(spVRZ6``UjF-&OGWz5F2g)r#)-zVj>>~ zXqF5kVV#QZ#pv7QxT~S%7;XdiXY%(!3S59tV;}DWo^FXHj=|htW^9;;Ba>76bXuSk zmEUn+3|h1&Lo@ijN6?eG1;G)x@CpWJ0b`ze(4rffF>ORQ)`!mR+1~dEV=9#~Oq4N_ z5n#*+v{S^GeSa=1xeTOSJb&9ori%ELaeGkEME(ZDh&Ud(^^>#Tvg;P&!w zpu&OeWe?f2jOg6GWe@8eGR^2?1MA=lojXXw@{L^ZE;tl+CN_9Cad;%V_`Z*SE6?Eu z@8mnN((4=q9|GnOLe~f*iCmnUcc_V2m%rBX0qw20n=;v-ko;6}aGjd3e3(TD{sbRt zndrDUfR^6oz#oC|fg7C_=!$bcV$MW-cffYX$Kx+U6(Od~o-C<>{;A4;&XzT1z4JP2 z)Xny2bs7V$ZZ{f|P#UdHPwXqhWRnyw-=LcmvY`GTx)|#s9r|`fkdpslNyEiqw>HM# zhfFN)5m#dulTf&6yslqsbqjf!u3|?CnQE2_$=>L&EZ)S_7YH^0xs>wgtzJE7GLDuf z_svlPg;&>(!s*yO1)Eeu&W_00TMC<55MHfMKi}Yw075h>I>A^5s2<3UU^tj=Fd|0)DG`HiI{;>j0FmQ1jTNtoM0^h- zTGh-%IwmLdaX}51pQR1AcOBZh1_4yI$x9$O=aQV!o{Lwb0Llzgz+YA{x7|U($X%*D z5tEwHZZ>zLjiQR<^2h6SM&-ooZUa)D1Bd5CcDn#6On@vh)Knn%i~i=hi`bBXGgr8N#Ps*f*j8G(!0cg13fE?p6k7EeGGoPFI*E3G@loV z)bXeJtUPyHgvrPtukj?zQB~*2`wkZqaiYvN4J3SJW2Pd}q!@|d!oGl@#Cil>aS`ex ziF*G4Y98O8rKmO8BI=iQxvYTd7hvu4zvi4k83w9}TE~+~icuFJxt&Ow0!S)=WUibRtwA{j*_AEfjjaTf#!|n*|PM%i<Mq_%_9_ToMriZ)|i{0nRJwg$zf z7KPD)TKHew!5XDi5;U4a(2{>7P@Rm-qB{O>v3i2luMAWNcW`uv$9J||eJZOT6{tQO z)q7DL|F_us_N*?Er8}T0+&)yt|1DO35(eGg32s=&zB{On|68nn6RLXy2=56+`cV`A zw^(xtY7U&>)#czDL|y#fV%=R?cRRE2f;xfYe7m;sjF_C8!@DlH1#FOK-hJojBoF@7 z!SPxrBrj;}d=?h%mW_l}Oi$eQOj)#>i!A3xM4-Y6T-Yl$Fhl2?@%4ymczqd;u_tlG z8FVOudB(u+1LtG(9&!XCOM464mouDrlNdle*ema^9J6=?x(%F-%LaLy*ozqyqAud| z@0K_qc-T+m%%bmv;4B{E?~bfP$PN?WzB-ivH#FehOA7qK`Y5bWpf69OR!D2LiN`g% zhqmwk4(XJU077%l_RaE4<;q5n##Lr}$S*5(Kuq35BOJ+A4!qz;nRBj#*N-h*7pmuF zral6XlF2A@vf8++9#9>kjbjW!74e+DO&X_?^q}!UX}kyIZ9)!&nsc)6N#i|k^DhX+q7du_z zO+kmx z=Csxv9KquzEMg_%V}uSGi#R`pX(VQ4Gy}Yod|9jll(M+jgM{kPz5-5QrG&GYRn0DD z)^W2=_Ppld-!NE0s zYSkyn#NG;@mUl66_fNK)=Ix(Mz;7&#oQK5usD=9{yMPf~lpr2=`A8nT{S%_|@1IDU zVC5<8WF;}66HF5EvE-{uTsz6ZO*TxhxuZ{p)T}-!h}}QoQ^Ed;fs@L*e{!S_Vjpa( znNYHS!d$z5(kR2QGT*eTUq3mgaI|qvHlv>d3A6q}S<(ihKpPg6$ z^6BSH%rX-3oykYJyj8yusum@npS75R2KBQ>C#5pdQ@B0{bLsHvx{>oS`Np()heYHF zG^;?+MI2XN%~^RJOzDg#5_Q{Cd);<*?o|zpe(mM+7Pa@e6I|^bB%4%wH}NM<))*S~ zsa&5V6Gt`pw7iRntG!dFdfIy_enWd#AaSPLPVL1<%XLW&Rb1^QQtzf*!RpsuX%pIe zix>i8fc7#;#PQ8`N=B&0sRoh*zo4X6>XRY0N}m+OYA>G(wAa8%W!2sW`YJ@09&DGPRI4)i*m`>^hC7x=L)b6q|r~=2mibO~}WVnFdx8 zf6K758_f_;oBA(|8s z;){>`?7LsLge=y7{2YC}G3;j_=8f?dMXkx!qCV}G0Q>66NhW9{ z2hI0oy5XHq#0kYFV4kK)E;KE_az}rsFd@{N({Y$U>iL@&X1MBunQOdFaWe^yx=Lek zbZlewQ$Gm|eJldq51@$1SObfz@>IC)U87wr5I?>=C;2N$*OZRSB#zBFt(XP*6#q+D zGtBq$B%ez;$6r<{*Tmn+Ds4*=cQjY~GE0r-4#g&59*-rLJU+ds`ChG{iNE=A+L9!0 z^Oe5LQqA`$HUaaRms~dg?5M)t_iF`B{LPnZOOm+FSNJkZHQ%S$1k7t*a@qWuMa^&0 z3Yz$v-=u0IiQ9Zgo0rT|%?~Oz0rQ%dTr}^A9do(3qp+IzTQ<5~pkg}Fds(fIfWW`L zia;iR?GA-JE&rdm0Zsg<9qp7PZl?x)nWZ`vQfva|bxLx{Q|{S$J;N$ce4JL$#NWK> znXw2Q;1vqWBsglfVw$v{?jl)UJcqs0{E`4MY@te9&}3+0b_Qsrf-?Eo#57~c!Z*~X zl9<;yId+FS9Z`+8poyQDK9zwau3-9onT3KOwra&DV4h$kmx7reXr7iPsueWxH{YWz zN#a`bUSDP@YhJ6^1k7t*a@qVFIL_(yp3TqH3Yz$v@6eVcahuQjGD|gIr`QC{YhH5M z{DPw97ia}d{LQy%OOi~`)d#p9UnV%GPd;BZOR))<*SzGi`8*HYy0WJtW(~cP_?u4z za8s}y3d+PzN4TVc4{Q3|Gc~qd0X6aC%qXa5LnK3O$U#k_s#=DLiLQkBPZ>5G#o5I! z!)*uBi!0qFqx537iI_@~=9p4oG86hFnR>@P<{BAfx^s<}j`8Li!zRmI;|L_qACjDF zj04%6DHD%7*N_Kqrc8AHxrVd}Tll#ja#BYO=n|7ee7thO5Z9u_DdBqEqh5uH-n40% zg4nqRpHhKOc<8052ptHnbB$4H;ieB(uTGV@26N3^qdUGMsNupB(=UrK!;RNt*T7_X z`xBxNvOm$H9q`1c84$h1qO-2|NfHt>U&%QG+ZIxu`n?~t`vxu>gG zP1iax$ASLp6{bpYukg6Jj|pzNk|%qiu4KZ6GIMzs6Ia2m`Ld^At@w?}?6XLm`WvWV z_>Q0`SU;+`3MLPpf)Slx!C1^it_@iK#yJyUfW(+!j~stJ;syz5E-cl%d+}sQ4Utu_ z2LfUhj86p$X5cnSoARpD12>A0eXyx!LWzPg*C?1LBQO&CLvmihN(~y3a~?sKQ8wAg zq9W!m)-XhL4lo(O z%XQqKCj_>{9@338Eyi0NSia2Pp?N;@Tex%Q5;QYF5UpvgvR)HE?Xv=)oVv^AT1pbW z!ig`wWpQ{UKzS;y&&^tUCEJ_QvBX6D4?)WyW+?+VkLTK}T_T&UJEy)*%u>oU@l&=S zKp8tRQ$aQHgDwt$vJ-U*s)--8A47IFZ9su|K%biQ1qG7& zcsvKD7rhopJWk`I?e)b)qH9q4H1X3{7w8Imy;wn+c=Fgk07mUxpkPcqu&O|BQ)yO9 zt<>CRHZ`T=3e%lUaiL$@2mLp3QNhyx05>_)qsP*3ZD4enp7?#b$Mob&k>%{wC>vd7 z%cP_?J*awUZ+c1$V<~}EM2uc+@arY?C#~1v!;BFcLm_?xN7Xo zbzsM|-M^EDivqeM&xD+(V&F+KH!ZcaBbtspGnGH*nV*k?Iqjz;2Tw`9KP~y{v}7K9 zbY7Y+o2tFo#(D-Do#tJ`UG!Qd^I^%d4vZ=sWyAN3{a;nHET?#>>X zbCKMZtmWQbl@3YqW4ebYKixgNJJrQ#(>do?e-f#cORd^+Zf^oKag!g)Z`kNrjwUJp&+_OlM$)iEbmtka>PvKo~m}f^C@f&tzB@*YXYsHQL0i$nPW@}3H z!LueYYfbo)kC<>6ls0TX!=RuV4GIz%6#NB*(!^s;YNX|`k(zb;IcwLlBnm7`3q}VF zkOVsJ|Q$gx>Pi-YVQq*)_$J!-$`smEOWhI-tN#HqQ4>ajPPrJL!ox`AJwV)R>M-6!aklMRN3plsI@so^>;Q1c-#WnepcfaE~*-xbnk6k*^1czg=JG9RHov9&m>Qqj~k;5{ug8#uRfKIYQi-A=|I z)WYI|1544Z86AF$ibM0xqu&Ja;sko8r7rCN!mMZecRF2ce?M|j5{fo%`k%eZZeK6& zqx$XO4f;dy4G=OeaCW@`PqB`&pN!mq&;;I~w&0>yd}e@F6-WB9nCYhu_8xoH$b^vN zvh3;}$axRlRDQ|yE_Y0Vx6;n? z4O!7vnY8|@fs+A2B)7)|Dd|e^zJmRMf*#OqN$cZ2*2Uzm?uO%qB2p7>+Ga1lG|D=t z5^_4Pr1~g{soKQ=UrdT@PAmo>+EIU|9Ab(2a?HV>oUJ1ujT}x%B5wkvi` zim}hsVo4?_|GkY!mbpSP6mvGvrj=%Cxsuy#sFpG=yj@yEN>;0BQcOxzizRVMsqUl5@Z{$i& z&Z&ZP$gkH!O@={SA|BL6G%2R4N{c0N8C31dEMyRII$ADZg$$B1GU&)6QW!LVU`>ii z8K+n!aY?E4WtJjkla>ouAt_QuQXbHwG(N6WC@Gp0lTxl&C2>iq@MV@FrQF~oSRpA= zMp7z^NU79nniP|=NyM+`Ib2dgN{W<~B4wQ6bSYA#jHEQf(0PN2a;?#7niP}bC@GS- zqzw8pOOaBoI0dYbD^dnhJSr+cMU~djq?igF2qnzuE>{G`!?+B_!!Phgi-(CyN5YMrXJ_B#-@o<)@C8(dWX zj1sR&F-sfNut+jNnq!B3nRwFP`E)K}7*fjGNEvnR3wq|tR3jf-v>KB_KF&lNxQ|0y z^7#1hMO(|q7IeS!IpyOqpA$YlPL5<3mE_|j3OPOcLSL$^xd6@ms6b(4?3O9kwM*W&YB@@cTO!;_~0t15idl z#NMIUnG^~rDgxr)fTHg-e`^Kw9{Ae%stV}NeMLa~<8EPRA5vDV=q)^fmL9#{S8JZu zn)G?p%3o3>pdKY&lVa8^P+3Ug3TUw}vy_0cic`P}1teuu^kenRmEj}5iqxysm=yAH zuJDn61AP4T+^yx~&(ZzPH6LS~mZj$&0G7V1EDh}=EKMTIY5GPe=ROo($T zYWY}74sB8nX;RG61tdLfW{o*#uO(>K&K|7`ru`gLG)zh{x)Nx3^iCL2V)`&KIP1)V z@A>Q5Yj=LND;nVf4sw_j>h8I~oNDIZ0Ha4=xV4Oa8~o|SH#We&iQn5xSXN0b++$%$ zM&Bloqq}^yW^1j9`=QqBaI!u|^T2$C60gY?8U2W^bY!(dM%j35URS#$DaGi$Q2~r* zQc|Oz;;NB1Pm6)?`SE(H$}~cy7^k!{DP;6?U`{pjZ-CMF&e~c=-w6J6j#Ne;x~DLD zHCaY~TEf^)5Zxa=-B)YV9#ZQm*b3(w)bcT!QH3s?nxvS~%F+^kXs7xBYvy55EdM_} zW@K1HMVHk=-Ty9RO`WiYe*>&ZUa+;SxeQ*Ub0=lZ813X;$a201Pga686|z|~dXlf! zOS=neegRA2%tkFAYbaM)cQ!BZV*Sy&4Kuve&f(jk=s~Fd^k};50$Lm{;^ra_Lp`fG z=^6dz49YRH$+QyOe2kXDQ?%Vw?+hbley2JntKCDke zm}aLFwR~bCYwDDEO^U_TuB1!ih6^3O%u?Y(RB;NJmAhTik}`%1Vcv@Fnp|qkOs&SG zkdL*(NB#})@s4x1mX9%Xzw;pFk3S*AE-e4=5Eqw@Edc+VLPGy zAHf~t?L@ZCtxzmj?qIvS#COf}?_lEsqgGOp z?4nOhuAGa%1$)H6&9YSOtVwYeFWtTaHA4Asin@>=5o`osgOX$MvMWAZh~!0yQyuEeBa%;#dQ;t0qN9~A^VOm-*hW?A;+Y8R06vbb6(*2fX-_)e?glv*WDB{*o>aYu?{M+)wcn?sdHaUvu9 z2b3J`z%jpJ>!n0@@eVy5e2K6J0HC5z4&g(1SMJD+z=tM%tt2yd0T9R8d?zJ9Po4ji zM0ezQil--Pzjws5Ab6C|DvD0HpLF`w8L)T!Du7&q@;ZE9=Z$L9hN;*`Bdl=Z@T4#! zP|abXD=UCYM*r8j_0M}|a*=+}6heMKZsq8}<<9!l5uLzeCgg;imFd@0jvUtfG81wg z>}SG`%sW#s>D4Fr^x%D`=%)uq*z+3hrw4}*{8H{mxq4f4GBmIdI0kuePudpd0=a(u zkcgkc!T<=+ZzKcpw9O!X1UNRyts;thG@b{e!y^6p&p}gS%bpL_Z;PzHfpKV58LCVC zyJ6i@My+>t1rn*SCj|wqk;Ek2S%R+>0WXL?xVMK(>$S ztg1D`WgCTVf{4y@s0Wu^v9z5 zFYAxR^@r(?%j>K3N4;#PT#m?~^9j}EiFBIj$*Yj%toa(at}jI}l7~fNO9?q#2NP>1 z94rc0S$iy6yI_tET4=Se_!!W+r(&wHI*a3u?A(>y*2%-mcRr_d{A_!nV{Zgp&S9iO z7YDH6&t?rNJPho*`=hr(4ZJ*rqX7Z}+&BW0uESwrJq~Gt`s9q@*~G`nJp=v*exvu} zN21kV&7c9l0Ik77eEhSCqoC>usa}fMn}?HFxldgMj`Pg&t~W-%h65c@*RCV7pviNO zKEqn^5S`fdGTIx4A=dr(i2Ls_?%(Zuq%~?kItiDNi?q|kqhhPqOlv_i?I=c2BF)^5 zK$XyLGwsq$tBo=|o~PskkQjLh1Pe9b9)4!frxsL4mi1MMg2q@3Flp>CZOnoc9=gl` zltW2}b$yw0IwCT^&k1~&5@V@Os3`qmO2!Q`UG0u90@xhrHB<1-=(Y39uUbW=q(o6W z5C?X?u8KNBRc0we!vu}9Y8w=lc;o_PXe57A+g*+1x`mx)7HZ^S+j<%~1HYk>Hz08i z1p4myrKtIdH1eBRV^2tRy_Okw0}BywQ5x((r)E&Mwo>(Olwr9!)ie01dcssjFdtj> zKBvuWM)fRnu@@>G64g_oe_YjDg+UJvY_;k=he?0Hif7e|D9V8vkLmxg+AE&p`85!-m>9&kMAt*jOI{^gplrRGJq;Z1GuYUd42g(q@d_ zXQFvOmEpWOqxTtV-Z9$PR%_n5Fp>ey>sQVDgz>{=Ha1vdV}mOsHaKN8G$JIMcN52} zM%;=l=Lc}#YBt1Bezvhe#a9q;1ww=FQ6QsS$+(riGd=kVlCdkJ2#reu!N8&aLFlG$ z5;MG@-Nk1RqnI_AHxiZ-;YdX|MG>AsgpVWa#Xw@Ep+k+{4~Tul@RUR~$!FE9BaGZ^ zpmBD{8(i1oH~P?y#5n^^eu_ZjM_8sGI?y=4kP2t~=>mwbwU0l6bqzu$nQ2c`;)WBx5{R%wUj%_qHeePSIdT?IP^M}tJb130V!BxX zj~qXIxd)GRZmxS3z$3?nPt}f-u(WZ*c<{DO-&b-k18?&K?ipT%Xj|ys3wT?TMfY{L z>Wkl`J5{^qdIv8p+8TQ^KrF7&QcwdI>e(9mphl*+Mg}!HD@Eh%n=KLu2KCVpVPhS42qzfCOGOjM7lqdEBCZJNe3rZo%uHun#p{e8oY|L$lq-TGkdUF_KQ?nA0W#aIEm4e zz&1L=5uXbgjl$63og>jNQyPfVqd+}WoSuYjwb9bgXlK)tUqRw5M@!xDvrzLB#p%yt zsV*Vag(^r$iTI>(`l}~@49hJ{`9yL0x3rm|EVqxjt}B9m>R|lXQ^Xy$v8}eqqzvZ9Qxg zwDor^~!cS_&_Ql3}LNHi`Rcf%fplrh`0zR{_)r$>>MMYtU(j@TL;7>%;c5GxY zv1~DG8c?gPS!Q?w!xTgfr9)^&Bw|;X+*UC?Hs+bDFdt{eJX2d7Duybuz74S1|Bq|! z0sr>2b}D{DYrloW+3WaEtF;$n<*cOEe!}IDZ$-9bX1!5iwe}M%hwP%wY-Vtj)>_8N zVs^Mg{juWYdte|oGfs-Mb_2qqfYyGZn1QyIJ-O5k7>2O5Cfbl*n-w7YhIol+0sEY^ zs#|pU3jhS`yqHOWA-(l2PbF93H&oI=;@o(g-|Z8@#|;Pju+;TgdVU9k1d_8o%?zcIpRMQLMH?H+Y8Pqamtb>!+SvGJt=<1Ca`@QyOK0TMdASJV zgAja5pGo^oYEB!B(pLZ_BDsfTU9azWkwe7A;E7w<2bBl=3D(u!qPQq0dA!S6EaV4cP+PX=L* ztgXmSvOu(O($|Tg*=^Cp$I_CSbTrGLu*=3WsR1U*Gh+mpt|2j z^}86|MO05IqFTm$a_PomihJ;0Srw?3P5l~D{g6_9uu^?CscxTSs7}SIxf^f5M-u$! z3jX2WrISY!e7OZz)j%iA8W23Uvr<;3KQ> zUs1oO!Zi9dX8D^j2s@hWk{7I!EBS_65eMYGwN$8a(}?g5r{LT+)?K|1fj$5J2=}b# zllYB=&SO97kEYDaZkWKNd2B)MPxvZ~9S&PKJS{4pJjyxCxtoG%4Bx%*mtfW56k=h4 z*(je3li;*e3;Y6R!>~wc;9WfZ9N*$Vc}$-q(eeaxa&f*OMmFIa1^Bg=4=^0f2lMl9 zx9KZP1jKb0h==UU+71dhuY&!(EsLI@#uyj^Trx2pb5)kI^Q@+w{_7Fcj6gxEHfjpj zpgY9fAkCPYE9FMPZh7H+B0`%%McD%oUF_1=2y4rMRqE;8h*@dUyrym|X(qo+L9X|L zGOZyWDeFKDu8*++uN~%UJF|$H_7x`Xq^#_aP@IS9PlnwfZPLT`0U)DJ0+) zb?6yrcTk6JFC zz2P8bK_yE>uo34pp8upJ-N9QF$Iz(Fi>HEY(zbZscijYrZhZ z(uzNw?q?M}YxXeQhcg;>0z_5|5t;&wTQNWei)F1=S_m?D?^1$^`z?I3W zRBA?Q1hs5jLqWDWy*j1Cdb z2PBlrOrU^-hiK0g%|eh$(Nri!k|2^)M=;xU1d%=+#7a1@h-45t;&Z+^xlTu!)aRr4 z+Ru?mFDk`|OZibM87Bkh7}2Ea#`%PVA>ln?jCA9PLn-;&Xz~M&m!D0dabb%-`)@Xjyy%tKuj9;K_FGR z$VSA%KsjS$RAO?G%eX1PCyzPjMNH2I?s4uz%$kHL?0qpD( z0F~~;GWws=`KBugK)x$fRu7e%)A}dC0V7@=NW|xe35>i6g>Jx4%;TAZn7eTk z-aC62Q>MUF}zN3oNU>t2rElCvQmEO3cwnkP-pM{U5Q?sPxz8}>}V$?ie;@y z80PcK)8n0g2rVDc!G?q)!;FO zh%|t44G|K_#h?UYOQdQ?V0O{;C7^SDqKZOsVqilhR9UO=yT#Xz3h=EKzRl>p?LFN~9eWGkTb*g{`YAW{~tPfWLT9_;{X1Hw#xU7UDaD1KcWNYHhV zqE;&lu%4VaJ+)f&leXJEd$Zg1N=g>BdaP-GjuT&3Shd1t(B~JmE0|}2C4Zk(X!fas zVa=DontZ}TSFCE^Fao}jc+Ll;Sf>2fhr&1=psn)rVT%#i7?=*=~7?a4?}}{dFGjswBxZt_STs$?B0@fg9!nl`&OWG+pN@8PTR`Ib z%rS`XX?}Gp;gnuOzaAFXS*HZ()Nw&v2wxk$pW4eIN%ZGY&k zKIR+;^Y8q2Xdp9Ckr^1B8Q4BEcPjV(AegCRAzU-ZgJX-e{ zI@|$K@!xg83G&2k;@!M`ez;vIe9O&XNwAB9=;9`#_qvF;+I*(1CkWpUcn9!~2j3rn z#}Gn{J%Lj%Ga0y+w^aAx)w%34#EJL?!WttT!}9Y$CIXl&GQp*~a$K5kZ~VsuXcOI zDsnFlO*3GV<3>5>VVFlyq6MSF>KD`%(iXr;m&Q8Lx0Mnn7Mbv))Gp;@2$S4je!! zRImd7!70@Q;1Uj@J(){3JxTn*cRmNNfWW{4_gE1S;B-1FfR3X$HPmmk0|z<0$&8}E z?}`#}%ZbP>UYJLU*$b7T3NTb>g(W~hem zL&vbAYK7CTF>d3=nZA4t4aa4@G*NOJ1YhZ~QCL5n_JJFsczbwq=+FNy3xE3wb(S;P z+cIu&vNGex`QdBvAsx;!-VRroxywI)9sc6_@b$M#9S?6ZL%hyd^4VPCfK>HT7J@$B zjO>t|i)UooPc>x)^RkEF`rsttnM^!SDw><)&(*rsQmp%CXZ5`LrS(?2g2y zW9-BzIxGQMW3{iuZT+Q<6(YESGA^f37u?w!V1Y$2!9>ZVjAcA9-fKDec6cZ3jth)8 zZ&T{GV(K<}r_xim5_jD%!Ep6?Qu{_Z-|wYjrefs`=*^z&A6|mJJGBBC>4^)m?+SbO z7P6eb!zuwB&eEyW0oI?4{Fex(83c-}0=QB${)@{BWIRmy2t$+Fk57eQsR#pLMl|_4 zmZd6bm2ubppkXWg1~^Ffu>?cs6p%Gz(EB`77!$eRJIZya-^085hulZMdR%J8qd=7f z0f3Ys`Y6s2j@Jw^u31O~1_-}lI|Y6z;N>N6)WIi_-rgo8A(gyKEm^gNW(mIwa-*VsZznaq^yGH_We2E1> z;rQDy70!R5uqceO8cu#lZTtDYHa_WUab2LiMV}b;JWVe}PE+xO#n#IWXM{`WP zNnWSSrKPgWU#VD_6qt>x;KgA!xHoNpq$#x=Cy%Ad2MSWI@z@LY2@EONSL{O*-LmvQ z32Qu6+AcG7MY%>Y{CkVN%(0sVwt{BLT750bMSe30s8{s&Fi&7pwuWR$1p~(|#Vp`b zvg@G@xX>&RqZC(eYZt}n=$9#z%^d*A$=)}{GuX_XlC_4-w~iv4-%&QV0}xCiJPaLo zhE$h_4TK?t8p+N%Z+(fZbTu}H;f(c4>b#k=)vHR&a7o3+sX+=io#$o4%t*FXAS2NmS_;2g>{P zNfIr0kdu?WEmcZx*sL|&n!5wJ^u*BUl|IFf80K|p+sOcH@Fp_I~LShw>K zPzAN{1{$g}VMRb_Oi@YVe%_~soKcx40_9aKNa-t6T3(HuT)Z4msuTRR)(~4K#Ew!7 z1T;EPr8!IrbmD2aUt_2&5UZ(9{IEiF!e8JSs(N&XI+0P_lIYpQZqdP6FjSRV#`sTl zLZI}WqB>++ff3F%h%8WnC8WCABDEs5LY%y~k(2E<6<7rT*BTy7E2qGAk*a!{(!SOr zRs_t{A)RwpVr>qObe?odKgMH`|GgQGJ>Y+{;5znOq9k(ViTGRKaZ_<-;#Lx@MZ!~# zgi9REpAIwOjNu3~*S|s5b@+|FQSt`bf$!0ri(eEeY9w^MbTGWWB9lorPe(~A&c6sI zohQ}dHQ*7{OX5!CF5~G4o7pC$=A7LTLr_u+w1y;DwdfYVegecaO9~?9tv)H&-GYp1 zRUpkPL2&VqjuY8dbVGq<)1XbyEx2H91lwDPjkKaut=>ehhASD8V<&p=!eM5dK`NZg zTrs`B<`5ofBwXd96hwop0ycUMV!IL-4#+lo~g zfH2N*$1({yVtS&&Gd+jixPen#1VkDsxg0e@@F@$;0`mQuZA3g; zg^Dba)}vf5@GJv-+KvD=C$P=D*Hy|nvf`nWVYg3vbAr(w-v;%=ja?K%=-LYBB7Bw* zR<|fdUO_)G0K=M!i@f9t=*F%J)MmBnA*#(nwUofZ@By~5i+^>UY1u|^o#{LHjd|Bb zB+gRwBqh+nrKXcO*n+l#3r+&5Yfg8fOI&lZqi+G)LgcWRiEPS9hOQwvdyCWK@ecfV zxzZ!sn#{3czEZT>Tri2T44zS{SaLG*itr6$2)RL8!}5SGJdq9+zlB2%r26Awl&XMn zY_k)6FsW#Bo=23E&1VYTQBkpYYfQ%7hg)>cSwWF5LM!hTR>wX(`FC`D^ zs)S(k(sQH_fdQ2PA123NuXmr!QVDL)QUw`dEtLsc6xOv=L0Gj^mxstS{k)xPsR(Gt zK}0Oo$%s6`w|;QIXQ}4W(g!TneuynfTB=Ey00k^nRy@^KJJoT}gDBYwuiY!Vk=Dol ze0w2H)$LRG*oy>@e_hB^haF^<(l}nLzpJPt1>@#Z``ADK?|sT+0lTUj^KAv5qm8=W ziKq|qDDbhrr=<<}*jwQsGR{p3U7){5B1TY+wmtfbNY5SRI=p$PiMDXN|06zD+SJu8 ztoIp_m-Ml#KNL=Bg`s_H2C-qW=H5@E9?;wc*w`tlx!1us1T^;(`B>_&PCar?g&K~* zytv$dZbt&u*J73{f@h@oXv3;f4JO{{}pL% zoy&cZf#wh{caXN&`eECr2e|yIE_XZ6<-Rj!GcLCQZIpJoT|-pcoXg$5%X7JV<2PLH z=}4U65JV}L`+GSB69~@>Ty7QP<*jwO4=~=e^9hc51;pE`5mf_?esZNcZwVv{W`EA57`0pznk4pT z3Ad(~aLRBwKX{g&xOSD;ub*(ra6Gu`DMuE{0o|711aVkccXT0r^EPT)8WmlTEs}RI z^qsJFvp|{F=pGQ%%L?Wq(PMABZ%Ab#J8?n!i~?o)$-hOJSXx4vl8kfpQg5F!{fLex zpiHx|9FcL(QRo6?DpQ)FUY6!xQuSOJsxsk7t*8K%3An)>9KleEG5$F%l47w1hM5$G zLUH2KJ|9rw)dGdz(3Gd%k**O9&e!4YCp(HH7JTR2PXo^zNt6F2*Jcr&Yphx2oU}l^#3SFQ_T|7f1X3EyT zm|6##TaXQ(FGgwDXRk+1Z*5MG<};u!(xVuCK|qg=glkag*WAX~>Vx3MColX;;hjKbiDJd4GbKSp$30zGucEXg3 z)0wSQ6v+2mbS?q;PC^)(agI>v0{OnA3wS;|k)k$$W~-BMI!z}UnrSCea&TH+%X8gH zN3u5&X)-_^E|9sajn1nviw~hj+Wm0tJ~+9dP2q5XQKZce$8&|w(m~+_Ehat`g9Vd_ z;e@!Sv;HIUP?dB?*X6Rv0ws0b(-+}~N~l8=_Q$6VdQJ*K!qQlw8boel;BgTHkJlJa z7U@7*Hc$Oy{Aj44f4pFfXQ%_@ujoL)?7~rGQc@-gaP2>(+q9-e0ZgeVz$_)9Kmoof z%Os3LtXHnVazVy9T%ijT;6+&$WE^4#_>EK-^sE&GwjzZBWFm%O<0$Nb4@8e}5~3?Y zvj&a7{)Z3^APFVf-7dA$K|Juj@U0D1+q^~}r(+1j*p0CDC1iCM#<)*b?)M*jp+vHo zZ!{E$uCa@mA)HUe7mIuWf{S;ZwC196xm9$|6l-E@x^g^yT=)rq2wvFUTktm#zZHLD_wnzrSQis2)&D^65K47FUL|epVqFsS7p%gT zBItN%h_m2b4k7s#sB`WB)G&S*s^N8b{7uRUkjAc7B9fz=yZ_9a?;ncanD5U<;_M6# zoAV+RjC-2%FM7tV9|#chNh0%oV$>z}8ZOzu_uCJJDrmFA8nVPL8SXbU`xVM&RF09{E$2K&VxccfO!y!)GNJnT zMVydK2pLc^gx}2-{HZ5HP+%%(CM?qUK#NDimtcM7yFjv6N*J4r->XfC$nAo@et1^D z;~VQD_;`LWLF(~RWd7Klmm>3rj`4;LZ;U_ECX#p@Sxy23INxR9?Do4%`yE{4;xrr! z^hB7D?t8swk#FE1!n1q2f0fkR^v!aeof>Lc!Oo(tctI0%K@W^mR#}eK3LAyT1{7vN z);&|gB6Ie}f=2-^R=_STXeHVTy}qzeB6S7$X*%RP$+RB&!DKNY%?6R*hD>KD?6U7l zSWT)zQ1zM>$wLg_H#sza z^9F}w8=##Hj9^{0=Xr$gcryydr=%R$4d4MZ&Xiu;^|e|0)Pb^Cmw;2N_+u|>6@Q3U z@rP>FewYJW&vE{bMXN4DmUB2b;!GAItmpW-tW?>ZF_{6oZ&4Cqp;pnU`m{<zT z_$$H|t4xRi3N%Sj>rz9eP>m1`s#X{vx|Wuda3iQd@EW3P3&;}Vrq$E577k_xDgrAw zhtwNwaf4rP_GF0d>dmpRi5aI{@~rRq0P$3Q430>Yb_5ba#K1hTr9Bb99lv7t@h`N7 z3AJWB#NI<_4Zj)VeD8H?O*^2Sn;7W2T5~J{*6#TCPynrAc{2V8{(}2hwUJZC?O=r} zi$GCX_(PP1KSWvhLzU&p{BDMOc?3TfLa%k{cSl|^G&G=?xk2r1B! zPakgtjZBHCL%Lj`8jgsY9Po!9Via8qk0@NBvN&pA+LB0RzdDR&!0oET7h#w)&ijmK zU6BmH0=RGQ6a^$7B2x1OBxWj+T-sC^dMs;lBMOWrs!rtY*u1+Decnxt`2!5t5E>Jq z#>{(-(Pyi3UVyeRV&?A1iaijx<7EyA4%!jvh%H;O2cymv`!MQUu_vR>6_pZozWgxM z;W>>u_q#{b;d9Us=Ut$6h6!$~4p-F z5O0=4A?ndhDGxX809%E@%9V-q2=1Y9e`~9>|mjK%N z2ck`HD70cpvO9hu3ie1zIksc*0H4;%MEzi_O8{t?_+uY>G5*+-u@Qf$CQfhnG_hrc zXyW&g#6}rBfEb!bpBK~ED9bV&O;->} ztUFUHQsB|r2`C=T1bzm)ZKPN5i4QWMjE(w`i<=7ZS5G3QEI13)V=-2Mn6#3_M*YmO zCl_r6%|x_%@!$N~orcNIIA=+o)$Xa7=;vR?%q5fWllcqPirRV0d!@B=7$cW4#GxU* zv)wC{cs;7=b!vLF*7!e}R6O1aahdnS{)pe0RE+u|#MK2X*h*m!0+WhcG@cz~feHR) zQb9a?nI(=t^vWvCcX z4i$#MSY`!L1w(}eI#jBN4R2yFkw8#SJr>G9LukmL7QwjZ2rh&R;G7_+IeWtR<$r+z zP-HO~b|&I;K~U^I{)NS4LW_A6qUs@x@r4{qxfeKoVt{rY{VQp(Lvs=4|K0IeM3!?dI_F#@4O;2`QI>-cq2vy8J$@~kW`Ly$9c?7bWV+!wul;@JD^ zFxEpzei9|0e;$&Lv^sx&)i3t%A}T@by>C(My|2XE`$@cgK307?U)6Z~;oC*3KSGxC zZFJN5j^MLW-G-}DSbg`T`hRP@{l`E1<@O(#pN#XkmQ{fn#0OC-ig2)??ejAYs=Uy%9Q_YfHFRPK>oCHjL^AH4LMe0^vA-=-O<#T6U=u2%{9zR&c|pWq}q~ z!1y7I`W3M5iZipUuS2l(0ZAt4&!3vS15A zQxLx!H0|)RU&e>P(`20YUSggd&3V|_d|E>$4i|W8<-Q!PNyHyTUhF>pg*#=!@iYSF ze2DRMEJLQ-p5;jC1+I3=dw?!0EyTNFGgc3a*hJFZ%UPd>$p_dZv1GKXm@vx^q z3lXn$$Je0%5@k7Vki=gvK$0TLl0Q_I2Vin(WqI{2BFk@ZzIh6|;>;BER+dk2sVCq# zrL96Ke)@1I$nFy15PMZ1zahe*ASw-quK$x?a`(bcWt>HlXC*falkK6yp(Pl)0q2_4 zLw7U{*c+umNj6WDhcu^nMNXDwp8M2lJn3aNZ)PMAIRgZdGyd|648#J?XAnfQDs*H= z80;Z*0#he}T!w+DL;~_+K$eIgVF|=S%CyubvPh7{s2~wh?l4t?qC`RS{r}H% z&fR8GTEOpne_wvT%)R&AvpnZ{p7U&Hx!-|3?ej=NmXUF)fV0M}-7z_6|4{^nmi<}H zrwekz1+O5Y$wLZp^V=kE&AFJDraDR1y)pO3{-*ZU|?2K z-Z=d+4$v-cQg?FPygpygE-x7g%t2f4xL3=Yn}ZVGWexs#(IzBZj3L98V0EUmiRjbM5Z?0tbX_ z_IG!Eg2QfS6vO@r{K9U+Z)T9c=KLqHp*2hYp)9!v2Aum6YRT#$&!PC`dqNZ4WNM- zTUw-LdZiX|V^nZ$@I7B}EyL+*7~yk~19Rx_+m3-zf1m-HaBi)7=C zNH*TcbfeTH{_f@UZp^Btl~+i=pQU&6T>#+T{A>_~TQFj!79jdPg1YcDiVMP2tgu69 z=l7nk(EG5}JtoD}95s!Ui>X6%A`3&K+61oLeCMvB~EYygwALK;`$REfkMzdevE{sx%sF(X?bkbcSHCfI6 zIzvK{jjIyjE*T(o?3Ex_+Vi%Ka)8t;AYpQAA_m9?p%!bQYcN2zL$9Fm**T|uKm4LU z;?J7pGP=hZppkCrL1vc$!W$VNQUO&zZ&dZ4jl&b|0J*tM`h6dg+!O$C)3Bg@3jc-S zAzf~RhLZ|^6E2`FD~t{hzA70Y3#FJjEkO4wdILn>MFxm8qXUFi8W0!8m?jF2O;!$& zW@OC@iXsDqFLZ!3ur_n_g$|G( zxdTkO!ZMfy_R|b@b!a8D&10t7;m%OyStr5pr~jvBA@&+edAjlYpKPD2;mv!wz%B!0;#PRQ6Lm3&n( zm9ZP5B^L{T^*0XHye9-TSbqmp2i7O-PWwUl1-L=!gyVT5953a_@w`!vzW|=N z<@kG+O1JVzax-Yxz51yj$zs~AKnPR-i7@&HUwaVd>2fPj*yS)QC#EoV!zhgyyF^n& zvX`tt$vzoG!QGI5o$f`FX1VrU_`FlQecynE7BYFwaf=+OPXFg+kjZ+t5-XSQeEU^L zHl4f+k)FPdzvO$BAmn?dkniV0JWj#)a@y2S^5lDtWcSA~Jbk`jM3rB{_rE5C7{0&y zGGUN^kwMM`65KCK1(xq$W)LUH_lY!^UUnmuckjF{P0H&#gld}ynG0UO2!PJfSu#x0 z;sGGSp~E_wLB5jdS>DLZjbtW+^G0WGu0(jkPS5`QQi1*?U!ob=)Y`*EyAYAWNwv2Wh?tn%#a;Y%3VedA|A=r@CU!uoefv%L8fT-I`q*dJi) zg}8EDBmK1;5&iT;96gT7$yMW_gg2RkF3yuLly`Bq77wh3xx6L*tQ!hzF)rCIZGr=^ zqy1C(P2a{}GBn$x&SK&q6UoyHAor%=>FvemVoe0-z$pM)PM_=1Ve+Rehj8y78iqtT z70?mLlkJix@wuds=P4~=F3)0HNqZw3bf4Vgo)7q3uM7p5;Uq?;bn!U~^{^&g|AP}5 z@Iar7SG?=RMXj=KNzkvfsn6BN6!m|hdQAaMglcLIwfJr53R=7*9Lfyvk{RShP0DY> zU$t`N$ZyCv?57L64T$1?EL7EX#FNedp~AdYIE;$|Pep2AVWI*r?U}{o3jBzc)10<| zCIa~TVHx|z-187-kTnOQNDa>9!o_Ky&+^8CSJx*!$P6NJcq0;rH!@c&WyQ;?&iWGP z^sh@#&p?t}hfcZ&hT6TG(WLN)?R3o#j7V0ftIz!Yx=f3DS>s5=z?$I2EVuWJNO>1A zBFC6fjmQ{e4vL0xq={nWnXEJ-E0HxTNKuCH_<=9fh#VCNbk0MK$SSE{eHX8QCV~cg z|1?O0;~|jAKucJQ$Mze;PAtq*mx8w~;qk7ju#XHldFnMmPL z4Z%2t@OYIcSM~mcqM!-6-Tzrdh^+MdH0PlZlF?4o@`9iYF3QpQD}9b`St4})J(Aoc zy5*iIHCfI0Q;qi2v5L^bpAwF)M;7I1Y0q0;Lnld$^yqNZL}2rGuxEXao(|0hjy@Q@ zg7#$Roc5FOi{`5dg?cXOL1qw+=8bT)6rm2~jq1=N5hJlW^va8*r&%PqpG7C#b3^U^ zhM^xlatlp0X;U;(z|pKQ%F%pP!qJPQnAsYx6H6XP%ex3iOEb#R%~~|f(V8e6ZL*T1 zmmn*StOHOHj^+#H=p<`15q9BdDDMaXXm|trXRQokza2uY)BUuhS#FvK+p%zwcsDg@ zGpZPA+8u)Q^lkk0H6cwqrjV15gN&VmleeQw^V$qSL&eRc)mv2C|=imAl3n?wl6 zisbuKLe`x~)++$F`)#SfGVlzBsDh@QjA>sIPvz2t=wMu$`cTcMK`Me#4+YR*RKo7G zpN?PO%;PIzQQioPN@lVsZZG>`|k0foId6`yOe@vV|;@f$;CuKn&CPsVW;rTb~-)hQT! zCd~r%4{CRwi{Y*7zk`;3kRq!S-ABUY#$?b3rvht{nk@c%@XS4u5CQn^1ATmbk9)xU zz2yS)IGPUZ9Pg(z4;^W80sQ06PUx%f4#=x8@PjyA)68!?MC@l2f)$wPTb;P$sC4Tc zM{z~c9Z9hr?n2OM*^xBHbNknvFKk>ulKU3GawlQ4mg4h=v>`(HJcXV>5TDqRddGiq zb3k7NrFH{=qBN;sM^Jhu)kX-VHMAg0QF;Ib#QLB#8A0i(_~e^K=~K;u((fY4y%}J+ zcRf-Lr6+SXD}>S+7)k$&Q2Mur1?&h)ckpYDUYO56pIhm+arPWR>e@r=V|9+QJ* z<{`+oY=I7it-dOByBbMu0kz|dlUw5tC2mi~?^%geusqCQ1l5f2jKBNErpESae*QAs zIDqs~bMXF66iD*PkUH^qhurgMu1HGEq#PqoBBD;*am`OY(lf&hukD8mk*EFWv;Ejm z`tbm=xjaJIS&8v>%UphNV+`Mb;f3&i!D+&`#pM2W+;1xP4=(sYN0Vv5LNLLgXb8#; zXw2cTg;h(!pL5Iu5KN!aO2J2UWWv8h)Y#B8jT(HLNHQUFBJGafhj#qaFgnpDPll*P z8f2mbSs*JD5dD(YtH%#Z-zDs1yI*+^tqvYYjNBOda@zf3c@*1?2fg5&2Kyy;2O1fB zsriu%&4d;l`AEj+V7>%X{o|we2WN2j^`V76TnAQ5PUV>_UW(h$a z)|zIp`HZy76|d!#Uo@)QpTG{LCR-sHgs5W%es#c!O{&Zv=a==B_{wEN>`c1V0hp_%a5l z;SEDq%NvJ3AiUwF`n<9Ay(PRsF4zmaq1<42LxN{P#?ZGm(}%zq;R;I_gGeTFiDYK= z7HaTp5g?kJA^i(+2FHkU2Jb9qT>B&9m5V-5&;`ejgT2ag#y^15sW=0RE*enBRE!~D z!i{4da6#G~{PFs-#X=M<6&cUpxn3gUWT@)$B4ZEAuz(=(*1P@Su zzsTk&PVl*#Y%YnLq|=yg=;%Kcw;f%l;WvF7e=9oLKO+zP#met`TvU^|Cqi(17y{@^ zy#b88w*XqR%;Pjq)TnY=34XEzluFU(v~GYJ;WQ5KGv1E?LKz|n3}H3SFl;axhkkXO zhQJdsXfkdDRE?Bo9MO!#uE~f);1Z*y8F`?z$uS!_#TtfWX^=s-}`ScMc1wPO**-5T(B&x6PFG-qaebO8qWrD?m~{$vi3RF(KUz%vt!+y zjIjzS5Nxat18+>9SSy|wWOXwbNqRyZUy4E6^92~Bx2Zwe_IWW#w>k#~=|U)=%phxw zwN$x3L1X2PiWx>h_h6`1yHb7_1Xou+YD8z6fqsU{0N(_!9#q-N-W$$TP*RPq&#PLIcC7u98gV zIr&?1V$CMnAkw3-{4h|;Zc!LTgFL^TR}`#9ZEDfQgn9MM7!B;#FhwKs7?7rbCc=UL z^$*yx%?~GEPAJ#xUhY~{0j2BSE&439A=8UWtPqPs-+BGI1b#S;FJ&2c8;K_c36xxD zRT(Kq4niJD)K7lx3+uyi z#M)yhp<-Jb=Lw{MH8;PRgwt)lnUxx;iI#vagtO+oKa2BHl46-;GqO6W?(;bW%oYQO@cXc$E#QcCgn2`3 zZOa(yUcs=&7v1UO+ZaB)>2LsFlpSU`=)fB+SY#l@Q%#^E-TJcBr;jhp;vrd_K%S92 zR)S%q0KNwyJgadDffYlTm)cic`hB97RD`ZGWsWpKD zRB9CdPM2sQCpUnH4%s$TqRp5O%t{HpTDE0Co4v%cB7m$ac@-(Z3+urciGigvgG{47 zn)}dN^wHhWa@lrfRkfEHr0C*A`d=O_UrhB8bKx6z_{|LRSM|}Mi+p`_BJQD&F2}|F zB#@Yu++lq*i?hCA1tK%%tWovR89=M(qbf>+@V0-MF|QOUA?m^%gQv{|)kb4wC3Z>L=l*=yvU2kk!8RW{M`-I|BUchD>(I&{X10Jo$4xA?^a8KtBB zWqshqY8Jk?nnkPuRZ?%Dh0Gua5HyRd70TTqD5bzh({k}px{pK~O`;VVFJdm0D5W+q zJP6J5X_Xttt7hRlWLbnuhakX5v!q2ei)sQBZ&3|kC5g@rhJ}ePiPG7?CDN3^vPHHg zim(t+M6)nD5IhABBvXRw{GKX&)hVVBrIE;b=JUFcpsd&2o;EQBs7)AA730b;z)#iK z0!Evd0@Nl5%0>%xqk#L@8-%Si=SnIPe6@yfs0)hLU3I_zO7?RS)=NK2FKpr0QV+FY^%sBf+Qcx<}sz5L=^q zfQ%2*(n@{ICTVH|-8y&u++frp@X3A(V;8zy4N1Sw!UDPel-lt$z)&y^P4e z5`!ot@{M0zFRa*4K@ySj09jvJ>xOwSK$hU*zH_7XL-;6u$oQ8aW(%Md=7`=sMa1mK z&V!g8A>j5ri6Qq#u(p9S@U;nX*)!JDCK}#JVUul4uWmmQRmWDhABD>_$PHetsNgFr zDi-42lwAdMxc2}yw9o;(tYeUnf(_gOkA`>4`2ZVwsGDA*?0q9sY5%heCyv&l)P^oyG3C*Act?9v}+3 zYYi3t9GDI9E@wKN!An>+^j!dW;%pwCIJ zD@GvVoy3jqk1_m#;sX*lUdT@u>~Jmy5|41jK)U}V8A#V6$-M%mcQ$b&Ccv)5BoqGg zoLBmcnHk1h&XuTj95y5`ILvNZHgT0R%{**?Srq$_+z99f;c3^dPC8G!+flf3J}TFQ zS14RDvRZ6urfjS=%tlROFr!r|NvQs=0N$1U^^EebngN##g86$LZXFv!TmEx%g5Y3<6OZ&;- z4u2wWs!6{szC)?P=?vtCIC_ssziYwx;RrrBL}d0C)sQh#7;QHs&6@_mOg`#B3*@7` zPWpWmGP_yZEwv{4z_8@3wS9F3=l6>>0f}NNvh^Vard9X1h=1?XMB`=yjmD*v3@l(hBp1 zy~&3MgvFD5VcaC~CYe*c$vEc}AfeP}F?sC%`6^pTb(;Ha@}+tycq7WzbA3JmYuQV* z2J!E78o+3GqvwRq`0O=cpf|}Y3X+~MgmEVpL6DAWt687a7NB|+-hB6JwruGR7i2+N z^JYy}#H+x<&(qGeBgZrQ-;jU@Sj+1O{r}ER_mAI}zSb#pa)ifa)kn) za<%}`yt9XHS)1st%tW~Ug?uBjv#cHjw0e#=L)I1ZUKpl_?D zG=eIWtY8&WHByA(l#=$yZaP(c$UiV7aSb&ds{xax;vT@7(>{ktqv=K0X$rydZ4fXd zIP&0$px_Wh>A8hb!SRJo;XmPW>%e>%0LM_t-ABQmUP{lf_m#Pf%VveT}}sx@xDl$d^-Sr*1?bAQcvolRepgIA&tOuK!u> z^w|!!{GQtBlLEXMIUa<^OKc{no#HU5p`DT#%z*qu)lMe?()G|z&%+ofubqB$jdZ!j ziVa^tECtxaxX3*t$;F7JMBc^MPVdWzwTgiP99FB5@>bX*1xCQgoIJPdlyE ztbGdv3<-{&h<1|Eg58N|C#s!>9r7P-82qc7i}mCATHMovVj46f{xuD{l!^@X!?fj{ z)um(YgjRwnbWp@)(m@chh0cKk3~t*(#Jog2#8YYz3r0Tnfc88$X=_MNDxzM%(2MIh zJ`nYBtki|FN{p+ODV^h)>=G`LRquE!IV@e-arIJ|i-sjgn1KHxxhy%q$Xw!|AXnZl zCP6lB&Uhxkis&aYr_wKx7UCt+78lR80T+ojfVft&9SoTeBAW)J=ypb_v=e2Iua1Kh zAtpNTj?@aQW@VR^O1!g>eTtCTm36?WIJN=HBtol)VVxSupqbEu+O6Np%JB12eTtm} zP)RY%QJ`3QSD+9coltDOjZoC&1;|;8)HJFVpS+tTbGFObTLwu!0nr4{lxS3%qr9B! z3j@^qfTT4>Kg(P~bGAaCl$K~{Pc+~Lj@5P1h~xl`&>?Yjbl5frQ2fhp62<(k9|~e1 z&|KBUi+B!sqX#1d5Td^Z(hF;%W>4|zPQl0V&ev@j55q{L9yU!>`MQO=!=;?*Fj-uo2M4g|F>Lu*ForxREj8et_KD(4vtYh; z!6*b;2b35a!97VzH2~n0n5v#+uqiRgauyMLUrJ&cg*}W?BU8z#E(B0Q#Ox_0rkh?W z^dYL!9v;+YAb3nujbLmG4dy9*$eR|d?pA_jb_Jj_qM=AY!>$o3Z4F1&2qDdcR#XVR z0aXVf6LHF7tB55E##1u4Mf)SA>R)SLqafu9k_aux#fK0yVz_kz8KBJu2f2M)* z_*Y)R-Wve63&+NCkJTtin5tCsJ45%h+;LO9-80px)2py}r(K zX({;ekzpiEcZx08b+WI0X;CkF_zK9gk{p3%vz%pi?qosd{`fFJT{!97Agci`eK1faTLK0G0@ z8&@NMP5{kK%2WjF(y53xhCsUUc3j@-{vEl+%&7Yj4mRs)dL7MkxdjboFtmHZH4?M> zvimx*t0pw zwH*<&wnKPV)}aXd+Pvi8G$I_V4zYSuD^keE?Z+`yV)X`KaI<@J|nt zdvK+!+3i0gYuvdlY~7P3!=5Y|27=LkP!i<FFkt^IsiQ@Ov$ngelh*8tFRvSv9ZMM)>%t3=jRGekM1thp1`BuYYD zNxBDkYvryp_-2rS0N;8GH8rLyR59){XZ{j+;4u3 z7_l;e@}n~%KRSh9%ZMacYY~xz6!Px>1zGb148W;m&C3+<#>Mq0e*?l+r7ZpcVwV9H z&#YM#Fk~qr7W76<*yE*TQE&lS^A6@mz*qsh=7-SKlr_qMB5MX1zZ@VhtJ4QDBu93@ zSP`cWujKWZ5dpnwZseiRNEkYO128vOgE)Qg1@2UH16d?&$@l>BXe*2ixVON@0~An< z`1g4H5ebGc#R|)>Gu&Dti?4;K2;ryMX}vLukwdkKi1aN`Wrr|woz5H>t6wnEy9Z#U zczS=99(@OE>7f>>X@tl_jeHl04}JvZ9jv$;6|Kl1!NFmm6_}R7xECw#CPgdjpcO|K z%lil^oh$d)iv_JDMc~Ajv#Ez9#iI42uwIBxLaZu-zHJb_cMHe_CU}#=&1^>%Qv>4^LkY3oT5v zN#2WH4RCA)c~-zknsLC{2*YRt2&36r281XQu~51&6J1}iu5BcR<`@i@R%^JR*O@$n zX1%1I&DE>9E)C^ktgI)PtA{i`=OV#$H@eyF51pkH>5^h;d?-!GlA&`dq)>pynKexj zO4_InqF}#N^A>|U7zKltlAUpnLgKi;zEFUP46-&^(-jmuA1A}1I{~rN$8c01U?$o9 za1><*2hSKg-ef0h95sqOC@nSMo&w&6qnL%^D8|?OFof8M#Mj;372IJY z1jJ4PK?Y5+xSP(fFk1|HIom-zg>bhhf;;yKn!P2XAO(XGbp@pGN6nl>FOqvv0HdG> z;U1V}?^othVH0HU z0aB*NKs!K|e2zw?kOL&~r1_sIfGP1jX?_>vb}3p{!^#SwwK*VjC?pniNAY}?HaL#z zfmKVjO=NaBi06kjyiZ2Kzshz-ONjUPCvExyct$ND*$##QuW6`+c((5a&%h%b?hye* z&n_ty-&b8Ac#Mee+bPsT;`{To*w9*-J!voccsvoOl5~sw9;6i)#Gt!R{!#8KbpKAq zgwS*Us=BgUCsVOZFg7G|4L30~)2*{j<8hobhQ|(Bi`|i}cE9(fe@q_mn0%gQ;y~EY z+irpUx&3#p6&t$oAlT5o=#zW@`O?rB3Xl2pIs>+drdS_$V;DXlxThUPF;{mi=#@q` z<4bpB0g=dT+9xB3m791JcsU%D0sG1V;k9jrq%fX|1|ihgh%|(IcGDQY(iELi@{i4e zd%*;YQ!VrY&X|FdqTF3c`_+1M-iUaSqMJUR$Fes-91BV@#o%I%_-wmI{9f8~OIMMC z!BdFD6l^WA{!Y~9#!-1-Jp4=MM1$kuM`G%;yW}Ss4}J3icORZP9&qUu{0b_s z8O!OSFn&jXlu?uz^@Cm`kr^;FqWHxSU?b9y3I7;4ttT=z4~Pu+ zwa>E%dZGgz80u9qKn$T!w;+(O!B`7Mz1O292qaQQP-0z@X#caOzB$%wH~4m?K0c|6t#!SddSd;2TWP6Tl`Yh)0pw21q(uyPo2TLcmJU)kMe;*haWJJRrCH ze={KC3UXvX&ZSBU4anDEEtR6B0-`O178!(2>e`^cQ(1sv-gt1-UiuTior)Qazhvt#^Sc12nyY^ zwVlX_j7uytDD4NyzyL@|D$;(S5zIvZDec`kiv)4Bm&Mr!?8ensQKq_puZ<`(uPMq< zM-PzBmvo*+wBu4Y?os)pUleQ%BV)kU{uRZrq*$x%I*9L5Y}||C7{W#~hnd|Z6~)Nm z5G{0{4@h*&rp+xF(7R2Ik?VF4V`LGM+--?DdP&eF{~)6YwK!AKh|YjU>e{>t3E@tj zEAJy%{-H)G19I;aj)yRo`>M+g;Q*QgI#rrgJPMLgQ=c$16|3SIlQ|%vpqhqAsatcB zf*L{fSEwLDsNMqtzZBI+Vu*)OUFA;K3MWu}A~|yyCs8ctX%s|TJx62w!F;g9sx*kx z5g`i7cAzso=CoS(p2dPsD6wFS_f%LUnqu|Hh8!J=1yR5Qh=zX(_ymzY_<0wsMQRcr zMUCWP>S~E(p;i0d;vVmG{fumpH1lrM^zO^26LKj`$I0~~=`P={I7fPGxX1SGHxiKu z8X(t0ZkE~Cd>@2H5W^*Iy1Pgl7$8=BWxtV395cl>IY64DW8fhCBjmO^(RZL>&tV9G z^|$H3$LgV@*OpbsWXM1H89|Aa2|$TqbV13FzfcY(!_)#Ho9uGffMrnfeMk-;CGHq7 z)Op5Ze~oYd&jm^64{i^{P2hRC9ITT&c$-US#@sfr6j(Npdm0FVsrL<~_r;k5VD4Dp z^|NI1Gah5buqSK4-4hT!<0LcoXO0QH*`_MJHdH2M=PO>Dq@jjNRtTwrtSFL2QH~@G zpL5ZRPQM$dy$-db))Y|4phn{evf_S7W;#Kz2^_83%scpPy2+bf{ud<9MhX z*`Os{N$x3r9PjX+Xd?(?$sr~K1H82yCilRtq=(zBDa*D)4L0|CZ@!o5yBCaHIRwxQOmq@gY=AS83SI<_gM!Mw?lPV_b85o`bn7U)c7 zO_hgu4*G0EHO9{PMMlVc_`@>Z9Js6I7r%3WP!jUq>x*Ll)|+;MFBaN$<L)4Fv2K@l!7*cHH7*_c6Fs*ZHpDS{4}?q?8WP}81o;g}+DP&+HeDh-Z-9Zi}wQrv+Vh_6T{ zn_(Rw;c_{$%**(2ZUi@9^C8(U2uW2G5&$<#86cC#X(WUfz)|!NIFqtsZ0d5h%sRj; zCz%1>y#w%WBn)1-j$QGPcT^DM>Qa!aq96x*G2KE`OqgDnloexsRes03s(eCdlC5SP zI!0|zLY(}rPYBbolfb}U$Kq|bX+I5TKylXF@#k>@66=y4R0dEa*7}L2LrARg6K5#E zNUZh~XL^ZMej?6cA)S%4(ofvbB+eQs^cWz)05&xQs9!z+sNYfmP#>lMpg!~gK>dCO z05v2D0O|o5qKXJyC-qjQ^{rS7O%jMR92SWITJ)Yi3#M~IUW>|UEmqlb0t#1Nb{c+X zw0wfUmmP=Sik3?JPHWks*kG$Y`W-Go$`|L`gvXiiP`-GeP53L=z{wYPx6hBD>Ed>L zvci6!T~yfrb7FEbD&b*kT9}SU+m)9sBs4Ai@%OU%__Z)?UOXhZv~_~9l(-!C4*QGG zNHEVI9f07Sg!Y**37gZFoHP$ntJm0~Jm!V!7@rw&^|FQ+fIn)qfQWWaG9&mBl|E;) zuOL-N;Wm?zp15c>kB4@9UDRN$V zdvbCpv4$ETlW@U_iPzfl7tbu5&ptufgjk?XY}fUJ{0`vC%1tv|uhO2rf8f8hvjSf; z1@K=5@QRHFXo)$3o{s=2$)S~`RS-9kK2kdlB_>26q5#kfY|KsqH5K@os3;bQb>E3G zj*D8JYym^!)PIsQX;6Bck(z^I@^UNiv9&da_<4j_k;mqYd1hzWyd=i8a_hGMIus(O zjM16|+g)&~K8T?`kzDc0OimC`zvIL!095vEb2ZFHG5V_O9va;DFfk(01F8|x)WZ^qyGsiJ@9OLsy-qV=( z951ifCUlTc@eluQD+UZr28M&mW*q_tDlfMB_Oc{y=5gdoM3ZvqFFCX|UmT7%pT58+S_<0;W zX^RxM4qfq1qVb2%O5~@?RBvI zPX(A<;T$ZR@6D3_bZI{6#j||NNi76ic0@obz#RYFPMKrwxTVzTT5#MM%BK3VjSm>S zK`T{GrfMcr)sv|zIOg-5Vff|FN)fAW3mG-Ds;02L2i`_NV+iLnAWbYev@dUhz}n|c z133SfKpPZM4*|HsDlfBPiy8(~sO_|}TfO%i2P*pqs1k1U66AyU&$!!UCN_;abz(3;4-$(FX;NLbgu~`}TF9FOJ{^k<+hsjU~Ci?Jy z+=GAAhyNZX3jCu!{5xCtM}7G7ewu-Qjt9Ru+#;D7AGP}9U64%sM-H)gSi*WDg5Vcr zbM6X^g(-Tcm(Sx2PP%w4Ug^CLwzwRFFkH`>UcT7@$i7>W?^9mBV0~XH$+vmgd`Fh# zdmXKXM#`@PUBsBJj-?oo1xN5tx&1-hX&OuplXeU4LiK!`^)UD&b!--?qnJVhOty3n z>q7VzGjIXPu<&vZ>qx;bz_{%gpbz0JCZQ* zg9W!-ALt$VG-}(#VoQ6X=YngKIjmn5i|%_EyeQXenxRS1%h}aLp9SwlLzI1Ax3vA3 zfuly@z(@>X4l^x49mpPDh_VW%bXj`B5btyrT;;4kJ#k1VtmXJUSh6MZpwm!;>1UBV z0SYve0=rmjgekD2cF|Cv*b4OTElD2wYXj)7)ry1YZ^rb1L4U`4qyH)&{U^RbcF-*l z&a|?4yJ|rQZ+7-Z0vc;mRmBX1{gi^m4Wq$e)eaDcom*2cQoK+Bb2IAB7jZ9OZy@pCHMUF$LMEV_ihjP+=S~AR!Dp~8e-l8Ki3^v4k zThK);hvjl8RtMNL!RQa8GztZY3Rj&wyRT0t@Z6HjhAs11eQ&vpb=MC*V7Vk26+lA<}J->t^8gG&g|x=9q=VL zek1~x$OseF5*gN8S|WMe1}zaR&4wOgsyEwfp6rCLoa zWX*;%=so6U-Xy7JZ=8I03jpX2zb*mUoNY<#!5Aa@;icW}ry7<(TxO+1vJ~2U8U~h* zfdUJ+hZ5ZwO&Du-51ur@mC&+&)zqseOmL+WqHMrQ8UmyP@+mJX54bakt8}O?8Cx8Z zkE}?wIaV~}9$f%}BuLYikGFCBLgzsY8s7ou^T(1IDOHg)MLxnJ=Kk{E`}hBL{i<5_ zv^iX+>R0&Cm3s6$GqGdp3Hv&O%8G;b>0x9p{5NqE1mZP1l9|C6(qkzjX`U75QUHTs z#-a(#S?831UCJQ(EiiO(1iD>J7o|VE5C9^KLB)pIW7Aij_2s?kVrwE=18vX`#=~CC&bu8!$>XrgJ+n* z2TPy`y?T2pJ8ni=Fvgskr*9)duSQP=>@ z23RjtF6Q+ya7(` zELNb!@Yw9vHoPJF26`f9O)`51H*d_bn>XG%8Z=wFiprsM^Tq(28p^$1tgwnM?M-GO z5_3&d6cCHlvlkqo_ZVUfO0rj(*K34AG%)*8TTk)6*pkd8Mr1&GgZ{3A0T-JPM}$oP zKfE+!04GLZ#s72yR(uT^1A}oFadLO6 ztlGdFDfNRuDL{6udGz}cYD7!cuw?N(wm`V1x5&2*c)L+b9SL0;hkiBHY7q*Qm{`|R zWOiyFmJYNM%%?^6lOnS^iyL+pXOP_kt0xhIO$Xf&r*Re60vay_qb1RcN?^c{BN8>Z zcH>%$YbUOCxRzNB+((Xf#DD3_Hq3^)PRtj-6syi9a6v{)&d)Y>XB$_c8hm@B)jef0 z)k$7_nci?_RTX6QwRxA|zpfE6l(r)rPo$I?4NUtV)HEegJw%N2eoHk_4%p)`;pf?Za$ zY99h|tc2@ZgWC}ZjYE;oy!h5%UZU(Li3EY6cQ5F>Ziv3lSZZTjx}h;26>jr#GoU6R zf`;G9LV_+bW);Bi1}YZ;D+SUAoWLgdEI~irQZ8NX!8>qA*>}D3&4;S8@}*}AUgSoJ z{-jh2tD93P@``58=SEh(n|t$jY(}m?UQe zTg?D2)l@!bY)9?OY*Ul>Iths)(Z zan`&rEmAy;#M@NGXkVN5NP7JJn_rW^Z5K%)4Bn<>g-zjLN7#NHI{oU5P^TZDKWTfq z&Rrv5l;pEs;CB*_LgVQ{{$gBx8WrM<1U_XZHjH2KE{GJGO#1-Pnql&Dg&@f=pp(lCf;@}z>r~6SV@P{wDy#s zHGz@1*4BEWttHXBKx>M{|g|+QaeC-hee=e5b+A+3#u+HK>)5QxyLYWAx;QG z;rc1^d|&f4O9wofdR3(L^%8k)2_a7*&XeLFR>xk0OxKS6OSN}N$6kM4IwlI*5T~Gk zF4lf1qE$=VbM7>72C$<%Vot1kKf|Qu2m!Qs3VFg#d}eVfD#hm0Kesx(zO&HxPk5+> zJLUIQ`MpVgyXE)W{9Ok<-*{k1&+Bsk3G1LajjzJyABD|70%oj2)Cp?zXuYk*Ewpay zXtwcHTDm$9fatfZ?x>$k)lH^qb(sh3`6@Ma-J7_GBD1QlaDz~Sb=FBB3)~bdv}@uh z6nkc3#$^XXVx!@bCMHv%>amK%6FTlwoD)X_#e?2Q;n`d-g2KVM9&clcaDvk>JfdgF zBEZ`O_CSD_2b3eg+aSy$)_1+$()Ov-TUy`3Mr!-iXezC5vg1@HH!Nk?aBWYhzFo*d z;Dq_l@rsyfrZw$F7VpwL(nfAcGt6>rxy!(kMy%02pNIm)zlup}@ZE1b`gCb}oq zYlqHw6EJw$xkP?hJ@R=$gmd;pR3Mk=46lYf9;tc)JuAigp78s9_mx(93MY z3?v8&!K2Ass_*2=r)}eH++UZO*fxI6t&*~N{F?8{ z&1S7zAP^95OUwJJmi-DDq?ZGSF|QmZ=|qyrcPKCYGbHvoCOdG1^*)Bqygw%1ejwh# z)n%k%wp=%gx9_U?2Q&mNY~?i77vu{-Ktj1{-Ue)ds1E`G#o$-r;2vcO)Dg%#a z)v@x5_Aop)B%YoW?O97vF1%8pQE=D=XLB5?^D(lrUHZ)fG0I@b$w&rcZcL}tH&Cseb1!g|8I++FY-Z7W zG}ALxGq=82wwYs;BP{*6Y+Ud63UkxVAP9th9*R+hYfd|3^&&?bAX|*fWIyGg_HVME zy`StCPRkvdl)He%RAUwVpvw#!WAo$QkkRpV5Ss3DYTP<1M#P@R*0+Su^9M{#j-&(Yv^Wa1BcM}yL$cLtbC;&SbMdP}|2i`%G% z(Qo_!5kR2iT~>{IPsV3^HHBdX5E}83ki*V%>O0{rT!otb&w(3Uz3% z8JEo-YUk&ph_vF~EJ41!3N2!lsUxp4gUm23-gXl_C4JZ+-u5kVn?x(Zicps7QYI5m zkZU{`OJQ~2*qJi~YUE@FDW~AgZKS*JS-1hP^?0V8G}j97MLGq z3MkO27_;NAxRveHLq9d0;;W=}P4mrR3*;Wanl)6nKFz?-gyJ0gwwxGGhB1>A)ykty zRS?j`!V$`+h{Ksu9H9`>%BMr_Z(nAoyg+rleGfq{NjT#&59Ap^kQMbaFFROoX0-02 zH`818GB=m)q&Kma9rUIGJJL3_{XZSt;zjXoKeAob>=o9|WZTK=jDaoVf>gUo(WpJx zO%=xHHj!Xkum;L5Z>s|-B*<+dtun8YPwuXR$)TSr)Rg5ra+~d9moY(MaIP5~1gP{* z0|pKQ|5|jYVIj%tKQ0PCE)GA|haVflkIC?3Q|K|B<|F>Rwj>A^PU(~!!93k21&lBp zWQ3e>NDi}eS(Vc!Vj^~?EDZsBP-0pgM^>5C$wZ8yYm8T9lv}+0-)Kj?w|M*Caa-6E z`*%7EyW-c#vfm>WZK;SaGtPpmuzpn|LoG>O$PDs=p>~^8pwj`m8W@<6ESRB@=|_Dc z(M`H{rwb7zvv-t0P82|7Qq|71E@IQpJXWCDx+*2bEb1y82SwLe{77eUi?X(qPOit> zURIdJd@vFxFx_q@t`C&BXgqVZX0BpGxh;Q+C(@eoN&EzKvbnjeh@w!drcf{ymML6U zwxDiPTh_ytP{-!m0PPtGmQ)lz%XY&8F=ynfiR=!!-+EXYRho+5*MgN6Q`4A@oDnEv zwC{j+wUq}H9Au}X&)z*`TV&QWM7Qo?m)nzY^z&jo(078gfb8Sq>`J|0qGqj23ON}) zn%WteCz5au@HCS82%oYIRR<)Vv5ZF{mS0|~7-^Tf11|jqvGb(=!X`nj}&T{vd~Na6TMyVlRMpT!bjA9821c8Be; zGG=F0b-=8RK|D;G!zRmo*$Io1kUm3+KAP-!g@zicv=6Xl>3P(HFeZd?Nw_$dNlZ`X z=2S^J0I=I22A4BE(1K=R%pev3V?WlDL7T-Ki+Wp}FMY(b(`=KoY?C;rV|{3G0V+1M zSd7~;wAi&SL<^8;$bI`UbU31lV{VPK|GnUj!?tm5_F@W50S7I5+oC@t%XEup{gkS>y+McS&%elRY`! zKd=v?s}s>=Y|9Z529agFL0O{E3~#%XW-g>gsxcV)_CDSzz$eKeOxgjAwlq~*lDd}r<^>mDdCKW4~#As$Y!Nc zz=F0~t~vznD!6oMTFaRQ!U`ZT7@EO{iO%_1&PRjn67xy)WIKm7M>nRY5#{blW`^qL z=N611{?j+F>EuS9XXI}4guvh}diif9|Ji^6ghjkAb%LQc*p2MJQufbwS{`};YfwqP z?>uOEXg39)**QMk!1%zJD^8bXZ<)kEMd3RjE+FpXNGD@@m0o8mJ;bZ@d3HsH>lQMw zjPLAJ70mWB865GggxiOuQUEo%r96+YZX=0s*2GIZg3WdJ}V8WdMu z%oUKpsCvj9nj7r6(Rk02jzftt)`YgkFeKayjmMyoFkYq_;zf=KxNuK(|~9hI<4udOAgV^tW2+ zkumaSqd0*q9fu$luC&tQ>c4W4W9i~)NF1PAx*KoC-;bEARiW#|`Om8Fo1ecTEx z82{WFfG=|dnpNbVxIf%aK;fZw`ehdFX3c4FYg=p*wFc2M+rIcCUfBB@*1g=vVU>Nc zB2s!w`=U4Uq8k0_ODaULzkvb;uAw^PRyZrQm~`{Iz;~pZ6Egg~-psfRzK||7%*kRj z(WS;RI2@4-8^vh53k6kO_4`#Mb4%(>^Ye4bT7=ytI*_Bl)JSU9}mN+AL49?Ouv`!GG7d$xqv}6#c zSJn|cAyB`Ni6(wMl%Vkz1I&^q3!4RI!-ZS<3FuD)SUAyF+&Gz=dHWd0Ate_TN@8Fr z(MefryRW`_ysbFXPs6~wt&g0=4@H`Kkq>7h$G^$>ML%h-|Gs%kFu&LhZ~xs%-0J12 z%r;(?U2to~7d;V;jF;Ax?yWpy9;#Rul(x+^4wlks`-o)NrFSW|vg_;_v z7_OlHS88T`_JF~3gjfcR9FG{widz*qll{c0Fv!Qu;@v_428%4yY(LMJRFr~qAO&TJ zn?{h-evicuO3aA2{S7#kyDR9;;BI=$nf#4k@rFKEv}}y$X)U#d-y)%em?7E}PSr@Z z;7Vkk$VM4qmtr&nmfnH}$+g!2sN=_yZmb)lsMXf^bp1ms)aQ{wCeH7=?=ZDUc@uGTf=9;46W zwpG!mhIV4QF(=kRL$lJ)Q6nGqOxrQ2^7koH;N%6}X^gjncE$6BwiRz@LcJZ}LA;%fr3|Y8TJ8(8$=@J03pYs` z)PY7p74<^7uiq6AZeK(;1@0o;fiq^uui$|dR3QGTO-G|scGcp+?4UUU#NccFdHsMj zpf~0g3U8AMeRlp7^#wO-m=V}e>8!x01hQxW%W79MbWfP=yr4LL`|oD#YA$c|Hq6Eu zWM%*---dyVPpn*3xIElo1`T4^7QPxzz7P5XaO4df;4JKeP2|syQhUaWO6_-kXsONp z3x25v&=toMdagUEH6z^AQD~|#9+GCuXn)RKNq{}E7m_uJ8+`9oL_)A7^@KQ| zzP6(Hht9$#P+FaZ4du52zv6ZK#v(SNjt~`&eCh`qQ57&Z?tosNAFn=FGGS_tpTaejP5d$}YDrhNz765LS0u@{~ z;4e{|^Oi40+CNI3&b4+XbM#@l8l*G9a%SON4olOlVb%U7;6@k+&+P@=0+3$#=w^Z> zm+Ayw6}?J+<+|XM(CQ6D7V9c7yA2Q~*H8@Y1Dm|HyNwea-Xsriw?u>@wy6%Si1w)Szr*Gc=f4TgKNL&&xO6!GASL($F48_N z@yx_g)?whWKp+lYHO$CN)Y#DXu_D(Jc^0TlU5E^M_$8INjv8+j*9Q13^3lDo(sAcL zCpq)n*ay~f z^-F(;r8N|(;Ll23;uj(Kuw&KXHuqjPdNr&thHi{`!JH!kg~vjDaM`L>XCaX_r(>oc zvj9o4D zkP&OfinOZaTy+m}GhfE$aF7jIw0BKKVk|8rJE6Hz@M4a^|z6j zMIltfGE8Mz=uSx_Ti~}*;N9afsucdmD4k8mb)l*Dxl4r(20H?mv#`7YH6pgk?Nf$L z9hMBN5gkgTK{s-4r{MJfMs?57>Sd%#U{{c#v0XtL!n<{*eU0!+ss?#kPc=kH8n%PK zBJ?rSLhub^znrnx*l&-C{myrO3+eC%w0W7x@8dekqHSbj2X9!z6F_^>7rnh^DY9lJ zzJeVjNaM{lG?ci$a#IKdEOo(C;dH4_V~!N&pVnv9U$QcgNU(uo?ImNy{eqj^rEqqI z&*n1-krVF-OIk?`5MYe1KwuS0+gpG{2{?`I1lQjhUR?hsm!K`b$uEbSv|^7^0`y{D zsHqmrs>pru(h{oV4#FB6qp?+fYluNHB77ivbeJdk>v^zWp)*f&4<>l5gyV|bRXiIJNeSy%$Qvw@g(%;GIsfeyQ~7KyMs zYXs}EPO(~VfgU|?K=%e#YARHn>=-PS%B;v>I^MPwgg$5~X&AJhyp1g@n`I;#L%9Rs zVukTa$yv|RDzU1hB3QMVhtbuh0B(%;8QVVj( z#50#^K%xN;I_oB@W{q$revNR}TgC%)DVVI-Ppfe5VpS#bxy(zMp3_B><)rk{x1*ZU z`MK%RcS9px=dL8cI`<#2d)g<^F$f5aug&7^-$VvP_j%d?qbI$EKI{2&(2$D}wXQ6@1h8#uoNpq59BYGN;ZNaF_G?i1 zINsi`Inq(4Qzau*$mWzZ62~UXqBYVjs$^!pMF?Qn&^(H_eO78VN>iMcg4*yVi3>_} zPX+iupf{d|F85~(o>FJ4G6Af6yg3J~P*JHHZUM7wem5ZSnI+yf2BNAqe~nByB!(gG zfE43Ri8e3aR+Kr70kIIU_)UHv;jTcFmOu4$T(v`??=b&ry-evT=D|de07bFlymDjB z-=5NAVsbCT7npkapGcmH!q+gHSJ>4b94#1R0eq)$N=jH*TFg^snzeaWa$fis%DX1K zAjZ7W_H#TyZDYE7b2w@As56o>ihf=KvQQEj4$0cFPXr^<$$5tW13~kXbJ_HySZg}$ zC;O`w$lszo?F#)+!eyik{o$%usa$>YEhU0A~p(TZV2?q-Jcv%hb z=;@%^x1ob90AdsXj#|_SR;rgv5CB9+da!yn+CCNFMZjMf1t8{a7Jd^cIK(`;R8N#U zgf_vL$bEkkD=F--$kYzK6O9T0ot<1S2HR9_W&Rf_pfz5|x>)A5-`5HeO<*wo*O2@9 zXzhflXBOSsk z7tX8*nYT;VjDaQ}G+qcWYoH=Yyr{8eR`qjdkd6#vmG20K=nON&e-ZUaMNQ45e{SaU zt2|Fw#tL;~jJI>QUGaK=C_Pf=07FAGhg1oMWNqO2Cb@`r6J*F8|0)cr z#%R2ahY11QX`dC-J}agra7H_UtcWKGA0e-0MIQ`NW4hxa1^FBTA{@xePfplCUc9}B z9ksndm(_(sz@}e^Y^WX+zW`olzr#+1jPjPxpdKk?_X}lH9Y|V2G~_mU1)&I!ozg!X_AFIVGHA z*KNHf?}aQU$&O?!9_m2|SM~sT)v~M2!vkccC9MdHy;q*UNiuV{Hg=P)8XJ@bZKrP& zj+MG$gTYg7ci9~U79zh#o(6m6BDlw37?7ua$qA!>vcDS%zOvbuYtmo`IqlCOJu}GP zSj)!Pk%ODUzS^Qzj9C>d4UM;bn+V7ZvSQe7ZHf-fQfV8^wU6VqS&x(3YPZLxLtP1@ z42dRlTV{&vC0O&J0J7}_D_f5nc3CjfKg_#ajx`~j-NKm|WGR5Jn*wpvlLB5m4mrwH z=7ANh_C4yeh^SOV6!$dM!wx|o71J_s*rwVh>;U5H${t}=@ktEY(3q*?+5%^=5=Ag( zVsh!4kjP7J92blkS1!3RChC|O#ck=BVXA(i25?DDSs6er4S1F+F>JW;!Mv2gqWNU7 zFbf9D3%!BCauM8D<9LI~8VFuyke68Mzfh4j$&RX3^3z!|7&V_AK+?1sKzxG%G}OK& z>%bo>k=%++ll4MuuVV)ATujDJ3=iUL93Z)6>}Vr)>}Vz4*x_S!@fMDq%%HSY7G4wQ z(84l~lG0MUUeakoh)s=}7z;xYzx<{^2fR^i`VhZD3Y+f9TVWX6#k0|KQXR1mC`&F; zkv21Kn!3kpQ<|o@+Yb_fa6(oXjIABs!m$wKo$JsDcB`UV^n|pK=ICO*%JDwbUTa?s zwb$8OZ6BZWteT%QlH4$77g-g0OA#gAOXddaQ4qHHAnTS@CAYjnHj-U@T%i_kyH^|c z(Se1W?Tbu%MV?9}HO|y|Sb1ZxfTh2TYwFm@N%Og`9+ZqgAwiBoc7c$vS1^3p0xgWg zVA|2bfXdd2v>&;Ctw{TUe7ik`0VdcYV+K*n*|;wD6Ny4b$IOv-u_-^XQ_6J_4nMJ5 z6Kg_=X(SfUL?*4ZOKM%ZvV(b@X-Jof9lGf9YNk{zf=Fw(C8TyKAr1H?$Z3*a(!pZ! z_A6044yynlv6f@eBl4<;-9aU;NTpKjPWF!?v#(9IW^X{_!hN!Ms$bY%2?fzj$u>_c zym=xx2v+VtcGEe=Lm`kFwJW^IAdnr&Ew zHaav_F37t;^L9#VmtNYXB&MQdoll4Rj|qt1YKf`9_V>g=~`&!ekFCRT`yI3l>cxW04s1 z$32?Gm{)^rSaxY+I#u1FY40 z&EfZ?X%RXmqD$42C&8@fk~&o*u(0T){jt1Ot=~CF$_(;XtY6*~{-j9l!M%|LC7gk= zO-YcJoJK7M&~h8CjA66O)dlTp5I4|iv6h7h><^>D5ljn?!nGVj z6lMaJEVgFxb7gs7X}qegewCA`%CuI&EkiD>mwxHJ}0$6UCcFbp)*G%o@no z(k&wqOWEH9F)X%My#032Y<{ls#d13y2xAuemnd<6P0tZJ4F{1{VhLx#M8nWGOiPgX zI%&bqCX?uB9^en_CeX=eoW!e{)>mWktADVLt)1t$b^%-CbhlKP$rHIQ?(t7l=z^7& z`Pj9AgH02CW|SX35UHG2op0Xh2hNXSt$#}wGabOjr^7f zsz@2&OWQ}8-~Oqj43Dq^MtdN`B;3NqNV?c<0M`z@8pV}}$Gwf&oO44UW^*bkg^?=# zu`Al7#pUB<4mA7rThu`aaB|MxMhlM8hP(avRyR6IBtj!sqFp`;{&b5s9|b}QgYqrI zL39`8K8^cYbI;IhovC4=Pyl20G>GXWqKXR}lG$Ub@LY}OB%Yh_j9N~s#q&ZuFTyiQ zpN722#dvPUGs>KXyvZd=r#meye+-J9hU^_`{C10?${vHlr=d`XNMfhENAseJ(@?ad zmyb?&pQK)ymdg!VK?mgq-sL4R(Vgug7dqai!KC;Z;W+BkFB9|Zet6fyIYp+2b}eMq zGzHhL1y1+YvDrExCvbCXov!#&F&H>$FaNIaDZ)BtXj?)`&oiwxP)q;@n8dl+G~p9C z*RK*bP=dGEYF>kqW4OmZC(K$n-zxV=F21G@wkX16TP=eoK}9;vzE_|U7x(xFwyZFx zNS?r>TYRAWLmeZ%M=)DvzeaE<>#4(JFohcDe+#!G5)Jk*qCd*~nS6Z~i%2`U z%!%8Ob!=sG4Erv_KO#c=zt%S$zzx}tvGl5~6yWXz#G>07okCH?bX_`9`vY( zSTZXbK94$v5;w8|^Sza!1Z6K)qF*~Je$7r8OmcU{N~C2I_@)7l$rIW(DT#JYCfU}Lw0aH4+5 zy$AZ=N!*xey)kxi6+ZI@W}5}<02i_17Lq!fp_at86@}*!M+D7~@hlNSaE%QKgcl(> z%wr|)C}JVdg`~hcI>VKi^Cm}%JD9hSck&i5F*~&X$@dt7o4q=+2JVpgmaf{xRfU?6XE~@>0^Lx>Uo-L%*6MKm>Ufg1G{m; zTRRBpiDQ&R;L}YP9>~CeHv=tdV$Fdg7&2z+AVx6Mpu-(3$aEUVcw#6Tz<+43#w8FJ zRy~;|Nc9}07*Aq35p%^|n1W~tm>%nDr2<*yInH!l={axmnc(r9krPYT0>C>kP$K}y z8mJHeyBPpL|Fr-hA}EA~24DfbPmReYLY$XMLlbo&4T4BIMG1&oh6#wA6jrW2Q$DVM z3=_^_)ur8(7MukyhAW1@VQS9u6|ipEGh9Ox1-_Gd4j>M5|06(@&pEiYoM`H%xI{(6 z>TAB8LSxuQ@oF~lD&QIR788#%p#nxhmXyJj0RWi}b(3$8CU+b`J$TtTo?Y-9-yiM# zY@Rdn6Al|;Nlf`aN?N;zQ4ko3J(=3c-F#$Xk`oNZGR*CN?ph=A`{#v_5ttnxK|AkB2QhEJg8_4w5T-X!9C~esWW7W|LW0+$rbJnFrl|~zy7p= zYXrR-#o&J7M+UAidQ02Lw2s7DsES6s*<%-z;FU2?7;gU}1=hQn)^}qU9|!S<{5!j| z*dUhYOlz6#{_E#@ze$Qq%}|ew^EvJxm=1^=NrO?SY@g@@)Ct8o*~Gho@8!h26~2d{ zUw9G1O^ws~t{uO42QgZU=~(UkPVOb9A@T-3X_4Fi< zGNDdf!E!Pr@;q(nLTqqv%mYSr)cCHT=Ag~Q!+ivX3U&lY+8qsG|1a=2Qg~Q%X(Du) zRO^+nXgml#u?{0Y+3hZ}m9vhE@DLai{{D3_wVeJIb}qCtHfV6ccd|#A(u`71DMw|g z5-GQTb8nFK3ipv@Tuab|8*g#R6VE}cSlxz$RL#dix}l-9N;Mo%ZaK@*Y*_4yB+}Jg z_FRcmfPoI+vlE7MchZ5Rz^?KvcPV36xs!za!LD*ScmTV~on#H3YZd+2RqiAq4Hnkp zc?9{vp;(LMEKF*ZVcYx(+U!eLbpw{*`6))PIjOgTdKICI5wHi2ilOSN!Th=MZEFog z0Kq|X3r4djM6Q5?c?xU_yaKdC?mVmvVql<%)jzV+9p`I|fN#bws6lp?uCkau?v5a) zi#Sh53Sg5Z#}oR>AzOph1(g7s;|4XzDO{3n4JDh2N=p}U1L@3+Y8npBQj(7qZ6uRc?8D91)o47qzPt!^ZO>&a3O9!VEo>7yBNRO z1#4EkUbznx+!_@$`D|j%+aqT@_Sg9K|6GuC{s1>&oLzHdWt7vuv+{1WTx4BOkauOP zoH(c1cFoCCq-!pm9#c8GySv}dRA8Ic&Su@={@aD5X@OA}fZr)+Sj)#Lz_x5Ns{oi~ zQW80k7{Cd-3}wC_e|Ar!4X*Q65(_ZK7G_Ggzy|cwMKe|ne;lOtIm2GF@g}+2^^>rMYhE1 z8fxhfeE}UChAyv#yCLH9fRUCHkcLqS8Ao$Mk7vTD^|!sCh@8ih1J{~ULypEm{p?n4 zch3OPpTXUoatAB_8E6gpOnon)_YUR%PDmI<&E&uRCWH~I6h;3)J&3->2&Jl!@Hg*a zjrgB9-m%QPDZdzOH=$W&Na3#A5?t#ROG|9Q|Ku~ac;&4%YVd=Vs6bcufJP z3xLnY9@voG5K5h>swcVZM|bL9^6gh(JSJDTGXMraND%iUP`9JtZ+enrawQgcXw8Ah zfnBf-GcZ^)V{ur{_}bjGmJRS*k%CWymk%{;@CDEsU%pF>s%e0`k?P{ZBAG&4ETrQL zj65M1fS3!aC{EI^h@6LDY{kifW=ql`u#YT+Ly1-80E}mzH+Dr3$R{(cPfo*OPpwZ@ z#M^JS85GcX+jmR?VguC8ofjR3MgWvAW6y^q0#uU#PYy!_2}EfRa1{#j5#pZ@O_-IG z*ZK8fU-v4a*Z;UPM>RMItl%U3F$KxFiIanei^UcOYLF@4^F>XjRb$w^(8vFYpgm z0hD4H+ThkWgIjB!2nm`8?Ma9KC{nc^NO3)C%P9k>cBqO>eaAN7MrSSPW=CIM##Bf!F3C-N4hKEoVP}ejTajriC_*s6niIU=iel zgt&`wF>*<8H!#`*scA>?D})#Z>hm9kXhavL0FN;@IJ#tTp+@VaP#|qtGdsenK`qG zum9(M{+}CV=bS#(-PKjq)z#J2-OvxqCIFnA9fZ2sEE3f%1wiE>u`p?vQUfS8y5#~V ze=NxAu@~I40#~Esq%pL#LvCBK;Iaa6Sa6|dt%3`oGk!$ED+PPKD0WBwQCA z$>CNu&;TYp)MPAkFs0Kt>Fl~e5-tup%R$A(n1_3*hzhsoXRFE`#0NAn(!D`znf^?t zC~l`0Q)6h7ZaOS8sEyTSFrc-EV;%CgAT23!!b5xHSK+%NzsfkH+9S8OuDrc=`7U_B z9aA{-lM1^&r`fB{v<2PN-eDPLhoy;cTS`P9@2CdQANsi+nXRg9= znkE<%mDhc2#WzZ{*Vt|}aC=@4sA4hfVr;JLwSWE*l4b$B2G}xg1fJL6xy$TZxlccP zDu;(epny}P(?ET%0tzT{c(Pq6B@50#v;~MNsb7T>Ohn+#!^sf14HflTBIAI%AvWXJ z_mRkiC^?_-@-1E>7pLGQN66vgB61KtjMHl`bukHt!<;06P;+&P)>@bRN?3W;c^a!Q zaD8Y<+;7-LuzZQ0rCx2_QD;u@GMFC7$N+X!-XR=r({p4ZeG;M|o9w`rNNfH`?QX62 z9?e?O!t3D>#1}9VelZWA90LREF9>4MU(p&(aDTTj_qL756Xa-1{tr~(g%qd+6yD4M zp6gFsUdG)VY6Y6&z?}K5fXo>&c={oVf!6SEtRbP+h1AVH3x@IsC`g#m&lJ8KxjJS| z?KM&}sP?2I-n$|IA?U;Rc0;>Id!%L{f@bQhfu9HP-U-yP90Du8H2;DwltC%AWhAr= zQklt}`0dIcNnZ`#isU{7Zby7F&5@A#ob(1 zT#Xi2Sl}u#89aSZd&_JN3rm61KVk|zqpU!KpEV;%`y;@DuAO1Q=zG{%SHl-na!L5( zqIt{KWgDRt9Snrv`GSGO{3p4Rpdl;na6JGT=Rjk}NXf1+T`{iHI=pO*D73;Uv6W8- zctM-Ay3gYe+z+Rv!RHKD@2tp^%?CiWfMxUhXsab2L(e#^4`V+yKw%`(io^7dJ+TOa zfzFMsbaq>2Rw>iMOZLM6BxVpOLwfl*ghzG{*e%$G`UBcVqEu)j!89J{Tnz+7VhW!I zC~mZdrv^?Nv>Ais6EeN5MT;X&17vb=6k)>kkQ>$oeJ$1q>Y~YBhtv!ds9Dh}wg`kq zM}jSA7DNQjG$Cx8pd*8A0`WFYU~7ixE)IXE9DNf9v@#mIc!;RsmUB9qdM_AkfSV~= z8yOVDZT|l%&)X7{NV%BKZV7)z zlgdh{Sj||qwSmJDR46BliFJeW)4>a0Fo@>x;~hOUW#1~7H-JvAllr6B zjEUg!84z-%pFBoq$&JY27;j^Pl`3_btx{q{&JKsaTP`bM=WO(TWlcBSv3~j3t5%2C zpA<>MiPAE!8i?6_xq5NpOqe)6^~(%Kw`dAbe}TJyE6{YSgWo2D0S`DS9q6Et?2E|} z|BPNF2<}_@`6&6!1?kwvU{nxEW7iXj8O+~7&LCnCKO3;pRwVhap@OsVahBp)@q&WR z0d5sRYEAeWvk#qbLM&jfyZ_yLjouZ;NLF26?|tH>ME^|LpXSG!42&gZ&4C!MjO&$U zcS+fGsL3M+W}n+kX-YWuEmWp=kW37qIkrFAU-q`J^F_CY-@vR_a9SsVBNlghbG5bo zixctDs46MVhfp@L-c_;}nDV#$a==TP@`}WR5glG1fVjZY13&GrR+`7vX4JH$gNuh=SZfYSefi}?#7H=1J(d6)FKuuyU-1YJ5Gs<*ZK0>&M0_u|nTN_V zXjHT1Hl`LFY_Y*_pat7@tQZvbPYM_ab+9DrYfuSgW$MeI2PKSx5zIfr6J%6;YK!6% z4qwAV6-;A`;!}@2=4Q=s8>4az1Qy7t1%%nNqU=8 zqW6h668*7U5FBZ{iS;WXrbsrlql6q>i^$3rZ!Nk3@5v5U1q+K6L?>ez@1f|-{!3@6 zbQ~({7tj*B=}Lx@qHv(Tz1Oc~ib%+N2IC8t{t=;n<<5Oesk%sAq?T+m=aJX3-Ow30;uo z18w=K=yeG>7iMwHTznM&1@mY?=|pZfL%C7bRzb?J^C|2SQc~V3QyKw8eT%d{;duPehok;as-5w zisP$PfBgK<7Rk{-(!xv26jPJbJ5(E89m|a=V(a2RQxFeVm`-75o?H0Oh3b=li$^1} zIieBAB3(Jv>(szW@7`8eMiKh&CG;yC`=Ri``u{kwp|2q%a#F!W+hqHzs`FRdY}0ok zBi*~Cs~1L9N?ePo6g=^84EO~Fzq}B~t4&ohMVpcer9-jRrt-yKn;zkk=+HQyRh#mO z+LXT)+LVbNZOYd&ZTc|G6?F02h;1-`ER7dX0;Fi6BV(G~xBcsk*O5_Nj%7E4AvRTh z^lTtKSPI^ZdL&lbV+{hz`Kp>O#aqB6QmI3}>-F196C3@yVfJmy=DzYwy+b(raSUQdDu&hnax;Cqn2D|oTU&#bCHt!~b(Wj& z>|#F6)0?Xi*%zw0CDryzxYue}#jB$mc0aM^;I_IGp%eOK;SRB05;AWxBXQdo_fnR`02e|DgpNq=vPv?jZ$?_T`@#9^9FA7aS7Y6=7`SpIBy2Ra1Cf` zEK_4F7{ev;^+@Kzt;IvE++%=_<{*-?r^%tsSXoXfPKm5D8F-^5-l+M#r2!Ero?t?b zvcVK$H6n_DX(Ik*3KQRZosk}#9DJe$73(3uNI#{wcF7dG(o9hn=Y|4#xloFUd2ucfh6&-?c~h zuHW{)R3mzFp0rpA27a1po#{)ljU!8;KUD&a^~s2chx&6u{cqF2Aj&}@ou5Bq)?O5>`>4XaMa)X z=3Uresz^eqs$!73-9!kYl0t<~r8nI6v)xO{`FBh3&r~piE&E4Pq5Im!0oRGg8N|YN{&EXT4b=&Zh`!6z2&co;qnqev#o2Wtj4eujogK_(j6M@^9f-W|SQtz2Efu@v21!?s`q{7 z2!-1|!5mf5U%#~i{qtnrP9^|ht^^NX1#aklLH*U5BfrBOW5R7+-W;#(Fh@f9WNvO6{?ZPssDl<0 zJIv&GbB8&0Z-(Q*K)<*{=slWGccK3@40K^ix-cnSn3ygck}gb07Y;}l_N{(7Y%-Yz9i#Tj_aji4?P z65a~WCX{hAN}&#izxWN>tgeQhqMvZnk5~|1)U%e#w5 zK>Ij3m$`*b*Fw7(x~#@XBGQKQT1PkU#lOqv;_s;D!|^wS8?teb447wHlw8n;5c7XU zLVf^VAwwdZB08nmyV>yg<)9<#t)|x9whN$N^OwJ7Y5H+!%%s4@984rehp*xJ>zD)< zH+U_H7dLo)0nZTQ6Si}#a|r>j(*Kgz{0}h!G=$qD9AD*XpetjUUED3GBpkc|MWKP< zHz`e3XvDwlN4OJSwS@Z+McW&uB3-U4{=a|9sMZxMEQoc{I-uj!x|#YEA5joOu@EQw z5IYJc1X3;bDb1TWXr&+Zff@4 zFwzAA2ZDaSvVenZ0bCq5WrbK2D7U5%%Fp50S#<=N0NgD`CN^@M8Ejqcg>tRxih^R$ zB>XX|2!Sv9ZZykjMF^wZT8;+mgj9pytw+WPuxKT5Kj{8&>Lw{BTwjwv13Fi05Q%I1H)Paz-u18?0cNcI$p2x( z#k-deBV8d5#8XRHJ(t}6pWgFtz3MqLFgVL(oh)pf(QoNw! z$=1lV`pT*EMr_Cgi?Cjz_{Icltg2rNmU;YHc*7!R(0D8(t0m*Tq%?BBmKcO@x!-=J z{GiZEE?sN%L)CU1Q`wG#%ExL(6v--xZvFoUr2PxPUIyuZy|nKX&PLix(At5t$9f12 zhsF0HOGR<-_7nF9U$El-kj@C)DY|ggPyW8+X8A4$IO}7TegcV*fu4RjCg@!KrA{jD zMR+$;^?U;&HWbYR{i-vVRd(LM0Gbp8PoF&kgG%CL|jk`dBo>7Q$0+Vo2xpwU>p+{h-qay z{|EfFSW<0Q7~bQYplvb^7X-5*_NBpg;a`;asAF4actc9EkynrhyYzGXL7dsh<%eSP zEM2k);m?83+`FVEY;7M;Ug3_%rx8=Zy0Ve2%myeLAA|Vq!|zaZ)ykpU;pGiqy&r_w zl)Y+YPSUQq8#w_vXbfHxgAt54h?@x_^5p+M-Ie*@Mh$SiE`K~m`{=5Rhq}O8iE-NS z_0}=1*si%H+WSUB?;GKN|Lt3_G$v!i8hE)i(OdodR+)<+GHoavzMA9e|8X7m>;E>c z562Wljn(C6K_X1|X51(CZ7n-^m`tKOp87{c2cp%RtK;b71p8-3Uhz|kTc0-LfKiH` zc)F^GF;qKC!8yP)=`hov8K#vV;1~OHB%GQqn4Af&O=$qKH}I<>Y%8{@6`FVrg8MoV z+_yS0{{}=+wj+wNwPJaYF|nK=v5M9BRS$0{0PSk@E~AM@f&rbCfqr4<`KRotIDzJ) z;aJv3AU?=X zjv(q(3e;F^^+;)fBdQb_@DzBr7I4*UcEr*sLf8*Hv9U8f8y* z3-T`oWQ<+h7i7%;iW(R%lOt;jqhc4Y4X#?5;hfoz7}q~xiSb)NloJ8rn+P!>6=WlU zOtTY_P1tENE7Bc~eG?wI*v0n*w_My^DC95Z8%5H`tUKIRQ}`-79+q7hC5nD0XCVwQ z4Rd_lz740g?0bhIsZ*)GayZtYkXBy&g}oLC$klDdHbi?LG$>teKR*7$GW)R!TB|S7 zg6*9Py7hz>FeT&ZlQR4}WL;z+8+jImf=tiOifmf>HEss6GSg=#u8}7fGZ1{mzTU6h z*nSdTk57pag^#h}%ob-^XaSwxI7gG|Sjfe(XL_X3L^MAjsuIO>Qs&g_TRU%SXYl%h=h~Y>^0Y+0fXxq{2MTM!#8QcWLfBLAZOuM|n~YLOJL2`Lu%lHy+_J>rC~B*ie&Ghz8Y z6oXU~$MV)~jOqm=Kn)cFbp1vDpa322LpApr9y-zy*VZUM8t; z1$zw83g6Ws2(dWy5fcFI6X5wD58KwfkF^bhFgzac=4e*9;9xNWAwBUYh5et{fx)WZ z03ph%z6)ijk15$f2OFl?>Qt09)kR3L_6^%iPUC6*!6Ggq`OS_?bA)7ZNbXmi z!5NCn<#M`UU#0Q_lZ-~VOA&xX+z}J?b-0YyaPg~B?8DB4hb%3BC2Kw03x*kyEPr#l z(mq0$pSngeVfYe{cD8JyfVVQTHi_u%sRVy*_7p1DqGe<@L z1I+soP%2~I0^s&9XP(e}80H<9wanX01txnQOXXacmv8+58dOyvmV-O0 zkqfExSd^d>j)ZyF6Yi0mG@cuPKXrpJ%Yh%%*~Jg%iEjS2 zsS@iOaa7ZtvlQT8d)dgRc69I z;V##>kb47COLS!c`nf-KdQdn{g>yO4fU^evB6k|+Avr|=@;ZuVN(Pth?s?@dBA~UO zTN!sucrO1fl?~_8GxQ8x4dg)p4*XPQHBxfA5?h`?$qa@>T|QuNMzmsI7`a^dNu>a) z77}GfsTTqKJPK>=;a~WOo&tv*GPa!m7{rAU032wShaN#xQVT+16*53tm~Jb zjz0NGW$=R?6W#KY>SCha+O>k;S7?N^m%rxYhj$OT(2n;rwjEbsYk)zD%9*YT9(Ffd*EnxoBMM>Xb8bn0(7=B37jf~* zZ5XbC*vyT78>aSm^ZpQd4Ja3JDQ{AaOj&V7*-2FC6y?YntzzY6_Xxt(7}3HG4Cyv1{n)AL+KsR-5DPR8aQREw z^+`+az^N{P4KA)XW0!y}7;6Egl3iOVfD;2#OVRh>>x^)lV780&=0?XQ`Fkv0=K-%| zhj6L1XOvIXFygLpa~)BUD8Z#Hhl5;lNkn+}j$atkiEbgAcVi)O1y0DOSI-(KsQAk!=Y4D25n7Kt*ZYtjVZ!lIQBlfbJdEDKs(DS`rWR?oF-U|VE~K^v9Ar` ztEY)}SkS6Tx^>)oIiiQcf2-zA7ujlD+3~mW0z-#Cy+g98Fp?GvG#yOJsZZvkJ2O}N z@Bc5ApSNK+1L}E(BnJl9?E*%A1(H+52KFyNUa7@n6swyKj zcUQ>B9lKbem?=G?a+Y*av4zRh0jP_1GzH})?k}h!D2@t>{Ll?WIY1|`nB;uY`SE(& z$v+BIigoRrKziz_Dv*kVaTQ5#5RwJ+y+BfyKk~P7Kb?-0pg-dF*u$<8lgjL56GzE{quPUmTGkT`HRuVky z9OE`(T`hTEhip>>8rk%y6BD+l-c+ORqO6`I(*4qWHOE|2Pnke`bw|_Ql_h4m)ZE0N z3zWD7bT2ChU_kXFnw_b39>ua2Nmc4UP^bauy>0AlDRbjX3#PeR8FcKv5TP>F_Y54m z$TOsQR14uuwUpwCJgjGYY~=54iV|4uhS+)MB~xe1*ABMWvcF$=sV8Oj1jmC2BW z8TjpPgnEee@Ub!cNlA)1je5*C?uJFO>JL86k|Vvtu{${&4M*z-)>hE%t8^LbrPZe4pQJLX);-VFaNyaHYJEv3LpaAG_hRYduI@?ywwgS{l#@Vo) ztL;t6#xaBq+qpc0$b*rVh+3_;T881(7>3zU^U)oKO&U?O89F6HCo-^!$iRydr+FA&jVBMZ|^@U0%N= zuPj?$o8(n;5_m3N^ZVnYp4%`>x>7jydrT>83WZ-yOI!(#=V4_#e@BIE{};*{R<_qw z=J}%LA=c1Wl!r1svZ^xA;mD(>*#w%8L4|Cik3u=6GACz{O2BFZ_}3uJOHiId?fe){ z@p1(TV>p@QH-?|=Jb$|#7taGWCDrYmK(i`k`*4k*8ds>DZ-hv-6>cK`cid(=12v;#$o(6+nic=wnFHgV~D4oo!3c5;%$ci4SLn6$^3Y1 zZSmcLaP4I!PG4M~ky!bx_fX4|5GjVhSFU)%rz;VrlkmF+?^E&HS?1u4t$Y^l)U!Zx zdAja0eS#0{ewq|3pM_VIyWR1G`yKH&*gPSBrf?|I31c{;&gxDC&f%>5{Av0HrXCKh zLL`unm+;10Eu-~#G}?u5yC9}&D{z#Y+$hJ#MBV1d9|McCkvFMoBAwYrm{fe^?nr{q zUt^cKwr?>eUbt-|Ky>}BSAanSom>OS20hTfGn!gagY1JS3Y3x~c>6VM!Q8~~Bg70^ zqtOH^FCz+asyvU}jSS+Roi*Z*#KnMRpuBvA)IrU4yo?X|8f#)WYouafYk%k3Ul@86 z#yhRc$gBRy^Hw15!Kp45W-gyKRO^}o+v$GZn?3cZH2kLD#MHib^Z*&o`gphF^f zFqQNqnyxjrnn47F7Blgj9I3+;V@@~o=`CM%OZb(i1l>t$aBh$PLXelASdNEARft*G zndlaD0Sbb*kC|e*8bJF5M!xqmi}-O~Xe`|LK|kn1*LtBxS?EMuC+1RT@6c#j!r>Jv z;)A~tV=z~5+8i)VmT|s?6uXS``TXTFMk~Fl6Ds235Z}8<>JmbcExNTcf1IaG&O57@ z`^TSJN*q}%7d&TSrVF|5034iE!wCNnxA2;(icBA2n4afSaWNTN4fJd~AMP)8E9XWb zlV{k<;kmbxX*}FGQ@Ac#>q$3mZlu@Cb_5exX0ut@%$ExAEFJbKZ8DpEw#&#?BUZel>M4p)a}JQ2Jv#~;{jeCI=KrRbzIG$#agTq zN0|w`laek6pAj{EH7B3Zq|yW&eU{L9TMrY_Q@_W)YhJGVE|$IYCD6QwJ_N&U3<1tx zj!!z9uzkf`9AJ+j_48VN^CyE>iOdN6Y0j8fxGQ{I9h*>!I$T~0Q!0^rZb03yoMDpw2R=tx`{t7bNQBtZz5w< zjX~7g?*|*D&Ec^ZqsF|{2 znO1w2qRWm9%pXLAsguxEvzGP+T)w4M4L_jV*lDYKR+hRrT&QZ~;xVq-r9#*D zmsG{mGjk&oSs3ZX$_$ye)?g=CPAaR}-jcp>!l{Y3=5{0e5asN8>?cQJ2;S^$!C{#` zwJp-xj@nXI8$$$!sjc5Ot^LAjQk!Yo1C3hS`Tn)NjpaGa0uV;%9`lIxQz2PO7gbYo zy(41c4Nj6%PZMZPY`HMU04^~*>KXJFM2JsP+-Ta`@JMzOveT$5EAOYX^2%?LbAf{jAn=nlqx}k{yCe?@J@q zqs~ckH^Pf~5n)37MNGiu4dQk&A7NMEV}NWSG%oy;bED~gSC>&jPDRefUqOYCJ&c7p zJk?bWZ3qz>o(gB&R6+c1S+pY+xW}bB$0xGxgy0anP3qUfnz2jh79yrd1)6t=!{awr z;4sa_VTv?$7&I6&&)V-TmA#-KmK1k#Ql7br^&|j6)BdE!JXB!|i?eL0v0S*TQQ5+U z`x3U)A)%ZVJJIUj|93^JPr$mL%HQAHYGsGUh!k5rpzX;dH8gK0TD_NTq-}M*O|Zhq zwc5X<)h~a)qSevbe^#rBb+OgYqSZ0ERU^1;a#CjN37M%UWe%^AiAfQOgrwv{Vq-F2 zpmIJtCMKZ4SPz8=r*{5CI-b5<^N{;8viWQU85zE2t(zKb-c3_SH1D0~#w&{i^XGZK zn#GU__G7m^Get2hEKW)bRFG{BdLOFhn5JJa3haC)#E8l&BZJ)*k@2&{013yo$Y?*j zMhSkeg2Risxk6TBRB`>IGTuNw%N+x{mdu{r2O{i9*)3jOf!f0uP4$TOepKUSbg~h;k9g{e8OiGT^Ny!Q# zg=@iRuf{Lm=^1W2?9UukIbQ~$w|V4fmXr`~%V}CU@nweXPy7$Bx5S^Lj4PK* zllRgJG1Qhvq-NGV1>YcW_q zz%)y}A%$_y(Y7^(OY$qXl34Ua2bw<#(yqo6{0XD1`>jF}$2o&(LkylPTg;%v+Z3H? z;|{xxF0|kAVS5(Fy%Rp@ea`J(hyTghcuvVWPL-RSv6RQfrn=(A)b;ier(*1~j5`ba zH*n!2nwow-&dO!^Pk(v{b4N_9!NEZO4SuvYx7mxKaeeTZ<-B*=fgc#YPB;#Ej97FO z%fr>+#>WU}HlkG#vxdvu9>ymqbGgf!2M5>dBA>II7hB5*oET6z9Ls9JSeDfse89ef ztn==d<*vygo>CP+06Q=W@TNxWFitJqhF`>9tr&-#$RW24XY`In;N|?MC*;e7zVELU z+ROfc2(C-5yzVcysTJoNbYpcC>u}h>T6%wd9a`3og6i?>b4(Bxs)!}0?O4;&M_j5$4hkYPIKf+6=d$2I5WG*ao8>SRgUW<<2TGB=mKv1B1??oCeB&8F zb0k%Q<>sf+uGJDy!ZQ{?#@pcmMB#lPW1oAW{qGdXK77DYCOK|>!Ty&K&Bx~x@`W@- zmq;z;FV;<0kX!?J?kv*ya8LBwafLIL5j)Cs*~_k#)Y8DcOwtTql#Zs65)9kcZ5V}P zVZ{RH=8xj1KhQh@z9YcPMYsKC{k7YKkv|m0eUubjz?58ddp(q8$>CFt;4b)%AZ*;6 z3GVje&?j?srrdIkk|WN&fkqSs;$3o{j|_euUd=vK1km|IN*5G|Y};Gvwzp*FCwdK5 zXMR9s!P`qAuD0|RWZ|Wpp#7E&ww|%TKN;Ef4`AANt`DXWRGR^YsIrCJ%K>vpTGn|R zC!6jVtL9Vuu>##nF2n>eKrQTvGsh8{iyu+ppq&3*J_ccP!^25CV#I`NB3#@xN9S#% zfP)zdvD}q7w|BwTL_hDd?AL=`;nKuqk)m4&14k}<1`u#Bx0L2u5t)6$UGpipMxxzlHG~ z2mZo+6tFuDa};rOH#cFxBrq9;)!=8y)uOt)ULd3*4R3(t)|Fs7j5xbD!9q?|K8;xJ zDdTIT512T+B&fu(%^hbaXTrB{#33?x$0e;ZBOffosy3h&e4u!S*9-m%dN+@ZW~6to z6H-)hV2!HilO$JQ3Qn70*?p25CE5hJX_HlYit8N;O%_C03j1;OMtW|$%|^Bn)`%OZ zhs$a&JsJH-_a=a4so5h;7wEG@z_LW0Rbn!*{t81nn!V+MZ8#t&7}*w!3zdq$-3qd>OM-@<-j8P!TKZL91?~E+90K0XX8V#%M<{r7X?kz=pPa z&@fZjg<9C+zp1cU#lo7Wnu0EZ>lRoofm{`_f=Y3a04i?9Dp?@kW-HzULJGAIx(kz1 zY{(5}3OJ!hQr3<%DQJjk8%sedO98fl0#5%2A#4#JuP9>Luti{s01Q`ltKl&Sxe{7! zZ>d+&g5t-SXejtWw>thbpSO)~`CZRaJs#u5GgmHJ|lJBz*_6tzh*Uk3~0~(YQFk^l4`y8kjc77kTD1Uzk`P<`v zCX-AJtv!63RJk$|cCL1dJcUJinvQEPAhN4LiPdJdM!x&`4Ni2+7%63#ZWCF3=`nt7 z!_s5e+0D)KI0GyUq6H3MX~;Q7(3Hp*ZQCI1yv_GPPy^2AzfMQsG!;h$(AsQovtlcU z<|tixZjQZZ4dp9*ihMR*$xONsuT$&!jw7wgzt`8oTQ~!iCk2IB^6baxsaIJ>y#<|X zS~m(^ZYeUeA$X*3fR9;OYEzYsI2@Ru<0yfK`YOz#W$2NAmXg zyCvelw@U9m?o&aTtv&o2Y_8RZ7nbb?LJ)6sW8#c{MF5^$bph0{LXGf~t;1JYDik!H zLwcC*l&&UA@3z`J>oq3AkI9@lQ=bmF++^UYM=^4hJc!S+$Ux9gAMCceSI&m3u6r+a zQJAJENaJa3h|12O@qWEvwwvukiL@x`)TwE#zYke0G3CHrlnDbb@woFGrU?*zRH3BS zN75@lN;4VS(Q6{K^NCv9aHXZ)Hw6R3wMeI783WQ*PYeVmaHg@wPfkELrEQSkO;7Qq zEtb@A2vZTJ*qb>0aLbWEXj@LPM;RFK2*;M-coN$~RG97yU(E~jY~j_%-v_U-4gQuy zRFsfh=RvZO)~c7*9&W46`N`@PZc(2=QCZob&EBM0j#yULdK>c|8Iv!;!s}Vt2v!8C zwIH=I`2rA-oq2Q-Tes-w_A#8_iF-~fc4~&5p_R5lcOyQUoKvx9ZlhwAuzXi z%+M!40m;cmT8Rlxx@nz$9BwVa4K;8A=1>i1#DV!-PJtz@U4xqY}ihBqAV7eMJv(k5!b$#92LN8bxU<&8MFFa@iN z2Lr3wNHzBz=WxJ7QWAh}#>)>(s^+D%0cKmDpSdG$5Db2}J6xt&r@ZBvKwKf~i5wk5 z8RGCyDF5|APx=1=Bi*|PT55XapH$OIZ%x}!s8TF6@J}lLz+(B$SD3P2`6rd#tLH6r zWMIhb&PxJhQ5XIPoXA_K<*!M2B@uC$@QO{y@laG<0*>SgUst?hnJ^Bu`R5ACL5iZ@ zwyR8}oa%uKqn95T>tU1tCbHcKJHV8&n-fGm(xfm}wGCoV0Iy)U;;0VrEFymvCU*0* zCnb9*>*#rAZI|Pc?Wd^}d*|txI}Gs`k~}vt#N!b#_GF!JgFWKalXCN;QKrRhoK_Fv z4p>w;;Z*XHmJtUoArSKKMgpY?61$Zk5$jcRq(Y^$n52jAWPx2u(mFG0Z9eX|`RLU&(`+1wj2A_ynp=kqGM0?daM5$P2S9 zVN)z03evX;J!G$hn;vQKMvc&Nz;g!i1dC*QepZ$|NpeL8vx=FL6psCr4NplyMob_| zN;WUajK}Rq1vZw%-GUCrUmMoMXFa5nIO$Hj-k}M)Hm+F?l~rE$F@o5!W6LcKq@dYC z&u1R24Z`v^#PJ&3}6cs6!Sr!I_f2{4@F;&B0Kn+rFcdAHu<=s6&n7 z)HIxzm(t>8S7ZOtedn z!_l&A8!u;jV?AV6pt-@aO^$OgR1-IR{2j6_r1t+h!_eCoe7RL%I@gL+#0xZqQ@fi6Abo;EHl)>IE{D+oNtLl;|)Ce^AM7$?s z-H`|Vcu0jQgPyNJg?j|aiho;f;Zs(E*15MwSFR70cinBS5Xp|IfJ@5$bMJW_Cn0sq zEtBLMpN&%+tDk?D{gr*)wU3&|$F!|l>A`|h0ou9|)!^zpd0*ATs@am|p*%m>_Ro^N zDSob{cj4fWHGuqjXldI$4B2qHr-V2lwkIZpL>%5Y6gzS`Mrb~eX8FA&IDxOVxOMF| z0myIPhCUN7<-+44f{uy{77vZJcwnEugT(OqOa2 z(PGwyVY2?aoApSOwV|-9bB3F`4+TKwLT6uQ#%c!xEHd&dkq^{;>d87+Iu?Wt+Z|#xq zV%hb(6NgZ-e@$;+Y_WU;*bz(C#F#7)%{W4vz5rnr?<_yosLut)8s0Y6miRj*_gL$c z5f`TIL8KFybwZE-k6;+=R|Hej&)q{w`QQ=N zNV&UPVy!l?6B{(Jt)`+#pxBma;jJ;Oh~m%+1|xMwo67M!FN=eSrvbi{G zN}-#O4uI5YxRL>+EAtey(x_>j>y}Ug@{2*o{Q^3QR}v#ALq)K=mFqqX8zK7YP6y4z z;Xnjb^ejWK#L>3OP&V~niR7@%UiKfBd|!pBT824W(yfQqcQOvpN3(z2&3}~5FF`e+ zz!XrzvRHh#E+vG`exm2#aB9`tIn2Kl8#&X;OGnLJ?zTb5i;3dPqTevH?jO@PjnGO; zpwm3>!R`bax_x&5#qxV)=}pGL+G=t6Mnv8jcNjO>IGWm&@Vn$0sWQ?{vaAp z>y(id&lIC6@DV5Hw?d5ID^?TvvHRFQ=Y)kufV}M~N;rJARU{m)TXqOnj*AiwuUyHO z9chZ0|8CiJOc8&sA}Q{;D9w+_Bi&qomBATNV`jIinJRD%2t=KHf`sSf5XzLRT)ePL zkL%Sa(9vT-4#6I1I7(FR^G!Eq7R$c(qOS&^ShG&w9I3!T1&&VzM{7Yn9G_5%7_u4_ zf}1yF#rm2<5kf^~|KtK`gX$%VD zxY==i`?&S>q8^ctnB3Vmh-Y}{jqEVMrecIT#z}sK?I3N2Y0}z5Op^-dYWZdII1^DQ zK4l-hGi5Jy%l3=g3_11FO3a2Tw;m!YqaUR0hta{V0TMF?4sk~e1p<8$QC18mTk)RK zxM+=>5nZ))fFpFGryWyCgcG#lC(&`ayrh=mhc=1)q!uyJ*d+Q`5A&o+9~EsruN6$4UCQ5RVOb^cpzMF&V57Heg|$(iB_S6lg)@r?&n9`&;7;EQS%uEHMx*ax{w1! z$c66bXKi9C^1_B%U~A8iajwK99woK9ps!d^bXGjlXMmsNI$;V9Dq)&*ot}pG;fC72 zE{c@x>zeR)?%jkhayugzh{fku~&{$JYpx%ugegXIDuIHEVY%u_TKU-|($AU$2K?z;bA=&n>ejbOFX z55K?%9F&B-EFBvV@uZ9o$1a7SX-ZY{^l8)ilWZJ?!15M2msmzZFe@MyKkk0qrDdG` zNM!9NEa_~;D^3$(;!Gj%@+#`&w2)ON4<88RIwT9uLMIx+uYRG5gOW%UZ0NvKP53&l z2qxov!Q{u@O_&PJ+lJzjd%?DhGh;OI6j|`mkI9rUoD|F4VR`VqBj?crp`ea z^FZ{-R@%%o*`%fHVaW~wJO8&h^2fkE6J7Pj3ISwgO18$Di43kq{F@plRkAHXHr&lQ zE+&-+^M^sH7=$sYn0-_@&H>h>a7M?}Z-nD_AT=v_@K7Yh_wnMkqezOm?~oLuMqpaU zfC(W7gJ6^-dmclQv|v+)#l0#y7SX8Q8FDNXKu^OykA~5TXxGR?fI@^#U-(J#NVk#U_-zUxN$?qt3djGum;!F$^5TurROrVeMh5QIWf#ieJ3kG7 zm%HD%VidkN1JW;X+tb9Rnes9tG3`q9+JweY!9ElTZ8~$~avoJC2&I~^d8U{nk>ONL zddmzizN2uq3R)CfxhT;5aqJew^Q_3CaQw*q*wgq5txUF{Fv+O9;oA3C^49{4+zZDK z7oPP25-$gq@a(>z^6Y+fV8z)>QQY6lvs`taWuidT%d?C2CC`YJ;Tbc7XE~*Tc1fYF zq^R8A3fTgTqcHMg=PRYDDc%%n`v$y~8^`xekGcJk8}sh&4{9Of9I4kN=52PDPmpi)78Fp1DNA{0#u z-SmT~&`XaNx(#_@&?RTanR4j~@YC`Eil)O9Dv%!KjQEexEpapFm8!d$!) z#lglLAC8Yk3RErLW4RF+1>%1$A}YfvmJePkY1!@nqb-X~(Uxs0X83!gLTt8Jw!Xx` zEK0`ZSXM6SL&q>Q8^@ZfJhXZ_)x-f%QmFeoRuIG{G}X9$Lj*;^n(A;Ug&|8!O_2OI zW#-#MfItgFIu`-}qQ`_-&o9Yr8WCN1Pz%E(hTA$Znk2>OsA{YP*x|7%i61d_2T@8g z&cDXgtzvYX{GkvXbC}N}kXmz8t)!+{iQ$M=+gQI-qfjfdSK-E+pDg3XPZ7tAqb-5I z>8GsQRH|s~WTl!?}h%5{&ygx6wIq5Nw5@-AB^bl>QQw? zTzgo(;R~j<7~MKZ1vsDkxRc^JAcvA1O$6~t2R@Iadn&KXVD(UjzuVVM#i#A-NdE2X8s#q=t$r32n^O}Hs;lL0;T0Bt zUR5=E(^ixk+q4LwI>>?(Xz(|186{BZCaw&en1^IsQ3ejpg0WLLEY@>50aqY^wG@!a z3b+RV5!HkD{8Gr3F=3mrr@D+nW#oJo3-D@L3aU7PTbarg=TdeiQ?wp{0U^*?l(!{01wT4@371j*Esp!VsIbbMxSK!92U9+9#$ zeF8`Cv3~6nKq9S?GUyC7QeBy#mi5kKPapxLE2EHD5Ay^rn_S)_1ao0Ypq`W_SpJKM z4Y%S|N$IkR9-32H(SV3?+p!|X>l$EZ%uA)}P^{ZMq}KuwT3#MmL@Y@?Qe+il@0g7!slN{fK{xACRd;tCkd#vmRee0rjv>q_|vmVddYxx zdwkz`Tto~sbxHAYsd-eF62HfK)}lfj9yCG>G`_&&SM;8UQv~~~Vg9xau)J806y1EN z`ie?`#nr;i*i!u!2M+^++k=41Z~*Y;RK-SSBK10W$qmE~l`F^0ACHwwP@3f+7?li+1)O*%Ev3-uud?AY@R`*C&r%_nf4k{E*@X2c#%$_EfE2ux%FTcUm^C>l( zd}Y~iadSGSkD%U!^g*f zxR0LPe@C2eY4B-|G?ji}Y)F^~3>zV&K44aXn$E%~)Czhl)#_q`u^&TVhaR1?Smbfhvf zOyg*66wRZxS(_L)o7YJnvmqMcc!vZz2|B}c6Le}8AKZfr@FUFRm zIX)_68dOM$p;fdrUOm=|E44ttGW;WCxM4)|@#VSKdFWv5CCinc1i+PHCFLc5F(@k7 zaNC{!AZ)T+GTV0jPRL21QRQU!{e0vEe#)Jf6JuHUFhP3k-!3O_tu2$2ONkCnnX4iN zMxFkHa)Q$&ssEa5aS}0mb>Y*clGFINNzSdult>QG7Bt#|C#tx@gD|C1(en`=%c{ly z^B%OlVtE{nMkcx~mGcy;SPq2jlTZYQ01+MVeRb3FbE-0~&U{JS@IcOAZ5ydHT{E^3 z!60qFa{z1FTKGO@9t~id8}}fG;`UjUk?LTQR%{zbYW7uFfm;?Bwd)0 zE*y|9?3*s^oi6N|F4Uz9yQT|c(}gkV!YE#56zdVUmyZjnvDAh1o1-}tuK^-{{-#Bx z!2c=0-Bo~FOM%Z7;Cre7ca{QA6X3ooz`0W3F#;@eWuFEHO6BO8qu4;1Z2AB^QDX~|~*xMF}^ep+c?{n+2uSGONol-S$sOmq_DsuiM(Gw7<% zL?2+z9edqw9An}DqseoeFGr6(VB#cn#^#W7DXeUy4Lx{&dOs0POoRmc^wUgorZaEg3rUd0m_9VX2Axk+Q!@d3YD5^hQ&RBE}A< z=ehUnia!KlDnxRCd*?aL8Dq|wkz6yH%nw{4K^C0%XAUvctD-QFmb@ckkjY3DhCHaL!qlntO1HO*D8$T2$l>TVbJ;lrdhxg^kAmO8XnEV z+sgC>O783r-$R8G+&qNzAu7J!gOEv%WkYBKK{-EAn({z8T_yf;2oAYjBwft~1%*Wb zNWFFqIhoPHA^P=;QSmtnvXn5A7+#Nv9PSny8J(;@F=s|J2y7K5nq09XSRmav30bh2 zm|7a4Ac||ENzXJZMqGl9O`u~pHh*+^C18jWfCC|vO5G$aaD`t0G3Rnq9kv4SPPf5i zxju6S{6%}dSipL_b;rg=F2VQ$msPQNfPKe46E$vEYA=;?4|SvmX& zVq!r*p6!P^8YkHm6nU$MSmmPTxViG}I-NC)yY=tQbtn!bMyF=@f3b70PcH;l*LXRq zeR}dU+A|a5hj404%Y$EApiK5!T>&z{KTziY}F8=tfiX5&KBKoIt2jA^prNfAK21W`NW|&2z9$5sTb| zvrQtI`oeW6tHG4j|GqS8u6f-8)vCJgXp{1SAPEhZbsl>vh`p5eFm4>`X`EG09}*(A zX`xp=t=ig28klWWh+u}?BV3hn>ZQA?yewj;ONCyYOi+Z3ry^Y&7zF8tx4j~`uEZVK zQe3j76-{mTNT)c*=XYYK|NI;IXAOMhjF8{Hjul@Rkc((gV$mCZ)o)c$6Oo%^D{pqs zQ=P5-xE*+OVc=qJJfef?7DMtd1q`{LCKb66zt}?>>BKJx9%;pIj-_2zlZ+Ens3H7C ze{=u^or0)aVQ8cs$`?UDA5TVZMDIZKCR&pke<;Re@NZJ#1WBMO1JE(%>$fJEuML`O zFXVU&&eyKgiZ+Q3BOm36KHnD?U&d;{fj6I(feyGhZe0mj9B2?HvTDV)d@7SsMN2r`Ei zFEgJG!=8viCZN94q`s*TnXSk1oF5{?_zxt*^L3*Fh2v>2otk(61@qJUups6o95!P@-O%>ZkIxl9j=)E# zhMKeIeqru89`YnZ?I@M<$Oj_d+k9Ag)TO)?Npc9&{=rpKYaN&Po_^8sPLaC z>7l9S^$g8)pvhD!Id#zO$AE6mg+UaJld7@1W(X%ok}VXQV{j}rdOi;!VU0U8?s#oU zGH}&aNEF;k<355Dkha!=lwL{YAe5SZBX%bOlSf|%CJiHrNqoth=vZ)-;|D&&mvP%t zG!@VM31|8Q5IjoaJPp$dzK)?k0-}-BkVk$w3}YFJ2(XB3yq-niA6#-$C=NYA7L+F6 z)l9pUW(6*H)k^uZ9kHoA3ACNQRIHTp3$}vr2M#X$XpxdaN;QPr!lEN>N_+ezRMXnS zzeitjkUq@3ay+K0Oo};E6(WBPO46^3u9%_^i?2My1v^*4?0aUcz8B6=&_;m0uFqnt$Rorre5JUq18-d#t_$vk&NzNarJbG^- z9Y#e>u4t{$1u<@J()Fif65k{|nhEZm)ds3VnS0{#MnfE1H;Zh|?F z*Cpn4%3o1s5reIT_h8I6kNpi6WSGu6X)$X;wEA|4i2;+|^%3~&x?*5W@8=qeZj%}YR^-$u~D+{7l| zlJ3*boNxQo^CNscDe=<%z4%;L^byiIU^LPM8Eb zSLiDOjhFaBZ)@T!_=d|UrIf7GsN7vtntC`41LSPgRQWhd-kQIJyz-uix9eB^5z;hc zmBCbp2+2f;)ST>4h_TV+SvAoF{*PT?$Xj=##E zY}}!?z`tyKt9b%7*Az>~TNmD(^YYNr>oaH^KVC8cI{HdrxZxI#J-F-QW@+3uB7Gc? zj`c`!&2`S|4?kd+C>hQvzXofW&XL&m$=TI?Z`MmNG&f^GVUn6B{v z1QWGNYBJTOII^^xxos}xgUU{EC6^vl(&@g475O`r|U)VnEkdDu?)l@-iWLT95Tgf zifv&k1WohwIygealWi=rMSZg|)swBRB-<{?*5sRwsVdf#6zUgU2uk1J05)8hiSL}__&+EScWAhjq?kW7jbr%=ejZvbh#YhNgHprDDCSx;hMOs9VXZg~x^=b;B; ze+?E6;jFmS^15GCg!m&I>HP3t!nL654p_hVHTBb~O?5b@8#89leA#-b;lAZG;%MvG zmv|%kboFEx{6fFKN>p+85_uyoXh)7aG4}Ug)al5}iTZ&!qykQ?S#Z6_jPtq=xdxCr zz|>1QHx`%5(amGvJsb!YUXgElfQn3@M>HS8dGv_zH9uo{oKlC|zGWVR%@^j=rW$)F z&w0PcC<#ob0aJK6mZCstS2@`vJzN2kcC)L;}tJAiY~sH3l>uEeX#Lt$QAJF{oe0!BpgRJ9OB} z34@ufq%J%M!P3g}Yi0h2i;Z|XLS)dk^|AqNYdi84=r+@WbrJ!%q65h5swnj$@P-Mm z7Xf}!XEkW&JOO#Z+e3{w6f}HSXeNGW=bSi(oDFT<2vbp4Vw`2L{*2-G+S4#u z_GGw7YWkH=0m0Oq{u^Pkyz@F5mx>Rv2c*V72dGlZ?tD66&3Ez-gZ$?BTIf(%cI)_q zO%wP5yJ6YgW1i5#2k_|T6RW~$N6%EtjvvLcy9Fp%%P#SK!D_#ofYmv`D%K;#HP<=! zzB7zvcj9Zb>k2$WK0L$)4B4jK(2hSkW{zT{z zsfBQ*mfa83m*emQhBE%7XxR}`ExWhrNT6jm=z+oRIKGKxCz-HM0SQhEJ2Lz_s*mKy z9Rc>GiHP|jzqv|k6MPyR0ctdd{HS@cS!_UBcKup$9YAylWK|gd1XwM*dS_lWBW2cQk zLvd7zl%V!xGDW)-StU^|yUCa+z_McsY&MEyd;Bi^#R~hPWyflYZDFdIXw2hUb|xDwyA{6KnCi)9EIX5pmR+lFHm0grQ-0L4 z(@bL7wc|641;KE=ZI&i-{C}FP>@e`O?9!}6z+K6fBmfV*C^E4c5MYP=xRSk^FbaguLk;w0s(IQ41PQgPBmwbS@rt^Iy2-dCLDn_6~7W@$BI*$p6X1+z2} z^k4WpVU~fXWtRhd8M7n_z*A_mV<)#_BR?*2KLKS93TUEb*87-LrwfP5rWu(k!3`e> z+{Zu8o6j)A_^lw_UJ6s;55AmVI$7V-s;bsds&Ttg}Iax}wzgb!S#jIGQBn#bccL-Qpy=aBbC z2AoGRuHYEp&|Y{!(V<=Oi#1*1?yl)lpB8b)veY6hXQBQU6a>=}7m}Woi2M@AU3Ds6 zG_O{61zK>>9UfETAATIer7lUk&dy!sGz9dsjz2b*X>Tyn@LYmO}!ppY)t z3dA7ru#lWV0ys`fLox=fb9XX(43~1mw33T1hm0oQOPmm5zNuk{W-b^apHN|4a=|b8 zWERSST2Q9ao>rUqn#6)<0mzDJ2o9lje|*fgZm8J0A-1lRw+$c~^0nkD_#2vZH;FDw zU`Ixip?%G3QqBv@or(aM)UKCuK{hph87)gt;T9Nh1zN05Q6!m;9i5fJw?uSM#3?q1 zYf}qhNk$Vra<+A19dD08$B{!*aljPbPQrF;{NTjXPW*VW*6@kbfF>_34V~K!^v%g9 z&=j%EUTS6H(?>1LoKl#SEI(^yBjB=UeK?}ztPQ9B@2NN794G+A*< z@0M2VPko*pfu+{7(qt&N9+a+kOOPX+@g`sO-Y2{!1tmCh~i>!S(+WR8>$`7Gu<|k2VV5JJykqjmc?>g7A<1^51lAn%+f_7YfOuH_F4G#c`#lYT1 z0l?Il%`?#!;(nYd^3tJTT7YFE)1c$V-@CSij}lId*=*=)U@lF#NdQa}NZ2~=ul!kPXYo@EVU@blLs-|}$y>Ju|@P6A<~5rdkKJt5g5QZGKAw-QPm|wPY{yIKubo1kwh6~rN3cJYsJ9W9+f*C zabuln>(TH~BW*RlLmcL}BM&;HwC}G%NZu~ z6R-!Zj)-ln6ADZrR6vfF3QfQ>4S>+zlE|6z&?gY4SH3D!9>aS(71XLt9I3nkWwEVG zF_^BwVA`2jaAPsXt{a%}cH4VaMp4&8ci?ToJ#NSB7jeN6F|vvfy0zkSEF-iAvyKM{ zL*xp-h^9gZW-0KI+y=N&z<@{&FBr(hc{6AU{20A;{+7r0)nFMy)>6wOGzlosFiM5) z-Yj)wY#kYt)rUHOGh9oCi5F@e17IT3dFM237h&SZwGMm&xMAXgfpjz(+SJ857yuZ$ z8;{vWM5KruB~iJCUU~wLBu=T~ZsgFHNGtFX?1qtqv!_BAvskP0h~ZvXtW1VJUIYxC zRth3RK8aTn-evA$PAu4p+(XD=stJuN&FwWRws^o^y}b;NdgJ0MHNF<1Vcm@D1x*o5 z7&`p{!&5z?-JhrL(<$%I)6E>h)frgIQw9RoflA$QN}@818BC$I6IqjO#6c>cJ=nd; zup7(s6e(YJe^aaXWA`aqeI>i4GBARb38TT=>hZD&SguKA^xSNRy#ukc-WVnri5Vi8 zkUM{(iFJ)ocwR%0&d2?syP=KviRylE0Q1tpApMRBnhIGNkWdOA7Xe5flc8(h0OK&h zmTWSUx#}^J+o))BfytpLSv7NG9lk9jv`qnCQXo8?pGINOCD^AKTKg+2)-F8qCcSsqq_dM+MvY5wWR55#;2~ zF!2%A+z%h&DclH{nm(-;EKbci7D>(;4uMHq@bM)DC&!N!oVGxd4#-p1iM}Kx75gAL zeuSh#s6zaXGsI|!@LM~>9(qU5H ziL8Ai>8p~&vTraSWurbl-J#Ezl$2qTD4HX0MUV(wLo7NOI@-;?z>^(@*-U{5x9P1G z2AnLEn*lKNWSxedr<3c2dwxU;KtTI$RTvnVIX3umUNX>N< zq3XM^)sc)(0Jm)&Oatk*Us$ScyH4upHY63VL6dTWG#m2^E3F?Z|e9j zt)pMSZ5{orqe1ErdXC4VOV7|4c~h;K4E^QjKqcE)ul>~0@MWe_=Xz-2Jf6WwzXa+=^(gX+nucHnGbno6J&1u|6?+!8}vUMPfdaX-LB&7=n7# z1R26F{$r=Y`K9a?u}H3=@HCR8(lb!McVtHZs!sShdoEYvPi-W!I-^XPiDlMlq9fgy z?kTn4QP)Gd6fr|ofSFwCYvY@lk^X?`DT>~f4GoYNu8j(-9_5_UxCX*) zt2DpnP)Z(gKL8|W*6Dv-YNlRAEeeG}QWWha4W1-3In%adfdUx{2xc}}DA;apz^JB1 zH$$rk>VDNJUZT#)Qt0f&&rJ28gj8=$!j~nQjpHfaM7bFqCsF^A*5XC6<~mRgykOp= z8P3ngNp?;h0%_#0*V6byH#x{7msSA$Q{V^&)_uW510;3n6zt$WU|ISh*%&o`$!%x? z%U-Hw%MWbY%_2q%uqM!;IP}3qZ^Kp&X4ne#%7P5q%44D%)P&OYYfq?(6ens8g9KKc zq%2z`QtF^q>|_t?5g014LPQ`V%}EOj<4jqISy4PvB#ZJu=^~3| z961)O)+;F?_&Cg?4yE2}D1XL%r2Jk|4#PeuiH=|5Z&~+7i};O-;y}*!Onf-pTUZ#u!d5TORKal-fC1Wk zlo&XDlpu3H79&s>Y9Teq4FiNf0TVJV!PSsBF1Xy)xX0|8aD1-l01cOlW%h*HJPYgL z#N`fXVNPuI(B%$6(Jm-&fvI&e;7Zq=|HO(7NNV~VQ%>Hf4Mk^?pwk9-3+%5Bwh5Rs z5jF3sImD!MKEtIK^9k6zjLx3FK@|e=$B0H`uli3#c9cPOSAnQR_O83jkv*{l*)+bh z(X$oVIz^U0V8DS|s3hVnZ!AsR+e(rH{vyuoT!nQ7Rk%X%<9$?C49rCzMoBmslPtXK z3^a@Hc2M3!H8z>b{>m?@6l(#TB&rec*25%7hk|JVGEC=dP%EbU%r5RXl{Yck|48o$ zXN0g^POkwTO)OU9rlQHYbx1{@iZ9aCC0eKa0Q~^bM~@^z=#lbc>jmy3*u>Aml?xa} zDy0QjP!I0YOK_K>h&v9D(Bk!oYsnxNoEs`=*pyBP-hN1$UxtP!qp?{u#to?50SmT( z^$D+RugC3pMEiFbkP*&u3fk30x_RaLCcu=+^*&rjcjfv5Q^xK(@X3}96P6loYhf@r zjx8jk!);&D&~TA*R2RyBmJ#Fl&X(f)^YB>|q5JuklzvW;YRl-mvNP-a2o?i;{zMnc zy8J;yj?h`zRAr9*WFeX?$aXGC6c>X=+9x{%Wo)oTIhs+03iDv+19USJdGhnSFkMQq zsMPe|;ThAV&wc~brOO^5BSf9SkIR-MMXMPKotk(H0mrzoGd2DN(Xzl6-gw~U(M`Nm)D`zIENN_nf_KbuCS5GoOWR&wyKMx~rU zgiKV*XYdRX#);6!flyMQOQTY1bh$aI+>{@QN@0oY1y4I)p#8ZT6lwCnnCN@8vYD=d z^3DrtHZD?7`EggTW8%Hn_;+`K^(b@;S_Mlqhy1`sz}sfg9E?g44T3QkiMo8hP=Iv@ zlSZYiV2aT-z)iJ^CSry6)b*4f3(u&OR=_K`3oS_iK0uq$E_G;_zKiWtF>p+xT@Egw zSEeyctH_{-tQAAw?9Az)tUziTwY)TcRJ(qAGqI9AEeJ%RNVdlx!(Y5mFx%sg>kEHu zR0_Y_s1!!fnxeY@AA9c}9$8VXjVC}PT*idUXhf9AMZ$f!j1D&q=xBo=!_|PGqmDQN z2Lc2f5hT!T?Y3+>IQT8}^jKG12!hG-huBz(Z zyY~!!&pChme$R9AJlSjSRclq%u3Ed^w`yM+^}@##p}-}67_cKg<{o5@-~X^uB|=BM zN*r=;*Mw915nzZNF$516xeZUHFbyWd5Ct`It#hQS5jT6@ctrMIW{kvMy}z36(0Lky#RamREjz2sgxK>Jm{br z-sT&^lnB<-eyYfJ_IxU3hK0yHG=fwxJ`jWx)tH3^xFBX#eH^ zuFi7yd@7|I_NmU23dWT&bym)5BN005TGAveZ!j%%!xE5>fq_+fc&zVhgUO7>h-!Qs zFL_52lwg2djb8^Yz^;igfuU=wI}?ZfHs5V!YLeGqOq8zU_3NEA;SNcY@7RdR<@smc zWaMY!c9EYSd6RN(vm_4+FAOa&rvZH9Ng$Vl`|^x6$EZ$A3so<^fUlb3yV~_Q?@ctmn9!`0^UsAsSz{{)@S`9miMA<<$7$Kj){La~mwDYWa(8J>xI7 zwa>Z#;dPo`Y&#ZN!uO3GJ~7eOblO zn|^V{zL&r9_qwOAaIXW?oZ{Fajmu-Dh|29&w;?_1!7f&Cu*IijA_P7v+wwBL8Gv8X zDMrUDmD_#ggpa{+>1pM)*jP5NOzkZz|CyL?Fr~r*a^S5J^FPUu^r5xk&4|fzWpSN_ zt-pNlitBBnO03%6*PwWhHxFm97tD(rucK&Af3cwp zy-;gHJOI|oxGbLa5^jPP4}Ja+McaAPrL&$d9XeAw`XzP~Kd(`o!M&Ed`P(pdk<8qf z$S3(=dq2#umNBTI>6QTry$x9`Uxb77b?XR?dtuUMAM`CP>bl?;O~?!%&A|90Rd?5R z)L=dRywWYq%q1M4AH2UE5#fHk4p-S*7$2f5cq$2|tNYrpdV(FKwSyb4;*`?mdJkTd zm|hpZ4udTQIBM~`rZ~7~x(!WyVApo5&wqXO1{1{tyH;vRDOB1{PYZ+p&o%5rAQbgj zGd{HJYsekc@Kn&c|4t3#6F`UE^z4P}Ft>P?y;7e4(d!YA<^69v1=r-`qSwhbAl34- zE>6ro2K(g1Y%dN&-lQ70{Dc#;AEVZonB73}ufHyE>`i`RHU&pb%+5x|{KV|IlT_DL ztn03*YwdM`Z`_+b!_teOo88JOQ`YMOJ!^1V+v@^9Vujqq>~`#<@t$XezN=CiUl%yd zmW9al5ML6h*9Gq7{DBj*nL3*_y)N*fTZm)XuM7N{D4%{^paS6Y1P+NJE&t=M3yfUL zlKtxioS2c-rJmE33XCXEu8W%iMgb%OBl`9oIt5euiP;h0Hkz0*DhQbF$s=QUYkpne z)lp{VUl(9V7NQ%m#l(z(S%_}30}4MeW4fQ1O<>YjXelx-NA@zz?rmars<{rCt3(K= zO&?S^nbL>T7@(WsGz^bgI3*`$OoPb?L^__=od-A$CGX=ri#bsphe~pv#m0Sx5qQO0eu!-&+hJOY z+enq*HgrXWn2^P7_Ia73EvZ5ybJzaR|i)56U^cF_bZ1tVh-aYtd(aD49P)UPVJ(Tr2l0Ox(a&H^;(-9 zWy||dNOUtG^5g&CdeQL8tJszQB6B#61bPk3A#a1L(Fq?Y?*r->bJ)vV#SZX@J)0uL z{}fkQywZnL9$fZ+nS;V<3axb_)`8={Ua8I+Rv^6*b65_rSrc=3l%uSt6TY)90r$&b z4%dP6)iDP=H?x~6O|z!>RL^=@cBFR@N{|p*mr%amOA z!}D^yf5*>Ecn`d6Gxu|_Bmr}eGL~D8fg(|Zd8ok@9tfX=8Dur?`@VAJvgss`m)J3C ziB}EzEMDz(qkDO|=*>eW9jaAfHvzm6i@R#-N`V+0Rb3YV1e{cl3ARS7G@{0=z2|IJ3XHD)Xx z^E=ggv2xnA!Z61gYd7Bo?rFxmu3*Z->Du|&r%sb}xc;k|F&15O#j)1OBq^Ta$20f; z+~qj^AM*RT7!>vO-Z6^M2;2V>F}_@F8Vy-GMMz(t=_g^}bj0=j$nTC1V|Ii#`S_q( z_`YLN#B)DnwJXY^98L1_*YgK^!ahk>4`pzA6MPSFh-7t3R32pY9Te3lhG4JYduMJB zwVz?_yk9hnqxcLAHk^j;twb$zeFK&8WcAFCsebDnhx&aO^}}a=m|b6cJUp@%vbr-a zQhe_WrYIC!JSsvrJb!Td8r+Pm(hA=@lLxo<{J~wUkRz+V#yUXoa3p;`0ZK*}WwxZ9RZRq4#BM&mYXA#y!ttNSBC84+T#S3!&DxxDs7PBX zGlJkMr9FSJnU*NZ)PSEdBn#0yvBd!cvk+}%2Na&HGToEa0p@5~Ef{9FDURLq2ah7o z(IAWLEF?mO&#{|~ru6J$J9INUq6Z!>avPpMU>aK)qM$~ub&hoDb%~|2uk=#j`4Nh6 z!&qsl8^+4tZWu2!SL=G;p{8udR9@A@;K%0=`Yn5F4tuaIbgI(y`~e%soHlRFUoM`TW5!3z2zf1gT)WoXi%>O0Yl+N`%OMR0FD02L6K?u94NRn(L^! zN`!FQ36vK3nbL>TqhJ^er*U}H!YR4T#Wa{qK%~P-x^y^A%Dys1QHmr&I4La^PRifH zY1&+q;bcmMlQU&Z#Fl+#I4RAZKd5z<`Re(D8TdAImMPKx2YyqXD-k+t2Mp$D0aN*0{mq8fK-t`sd+4i#xj<#x+YN(1y)c=h9V*O34^z>q9NTVsm@24*4J#ttYvH(+`O zH`o$P08btv(LbAb2jUzJveZhI2p#bWvOT==#c^o zi33A$ZR7^j3gqb%xPfycHyF-zqqfe?aRcW@ZZMMRMy-W)EB1^Vn3K4{D3lFwV@d?; zBPDia#o3b^jI)p=H;@X(SCb+Gi(!H8kOhZb3!(nt1LV6VmvPBzy`bCn3;)W!)e z9{yxnEkCeThSLdEK;|8tB(K^d~#SL2F+t692MEk${Yw9d#Pj1i-`&4I11>?U1 zY*3pHtBpix+&LJ`QAJbw&YA$b8yJW;!BF6!^G`)!!BGaC>tG*PaPq;xf{QDJPGPnI zoS<{b*V54WGG{^_0;_R#fY7-ut_eWrb`*HujliR6^~P=wb?#)HyVtUtp#Z;S&3?tz4SY)9;Vrjw&y)Mdl%axgCxgpp!})V^|ah3>h1A zE~X|uZkiHdc*a*5YTlmExfJ%Pn3W2~3rT(fAu7W}h}mNaNSGipEu7cpSV|CdcB&H9 z_(`%gAdGUTNLwm*S$U|<%a?d^cVLnqTSp!4^r7aqH1 z6u4>i`Io2;{Z^_(sPHyi^~3KdGA*3iuRzt=5d~;nxEt&m8NNCg^127<4*U4wIvBZG=v0g@N=5 z(COR=o#UBq)YiE<=yYy`&WTJnYAvigv1g;PISD!^p==n9O^IL~yog;{arT7HDHf81 zPN`sg@;4L{)388yNQCY`AH!)-`q6kFFhzsTdFC3Mt3(K=-)PM?GNr$+&&T2v!)XQ{ zwQx#8C(~du3y}^d>C)lU^eF8strU3Bj3R`S(o*51{4Jc?%{3WLrc^jNQ^rJxWuF;N zN;BxJb(Z-GIy>Rp&{?KL`>(oCo#pHaon5d`b(T~xz6)T3+RU@sNQBP%wH8w>Ep$T} zOnhJ%f9}9{?5{iJ3&HqA6<~bnc%|L+71bn)47?jlW(b zbar6`0(9;`fuD)ukR#~a((R$n3s`6G7j@$(o{l_pGEva^+JQCb{C&4-cLr;B3r;*g zrtJFKjX8L0fN5WVOK=FoMBMB|_hx zt`%5I3sJBomb!R}Ej14b;1-S=pp!})V^|ah3>mvO;;6A8M1ox*(K0C!hVSi1t%5zF zvmZ&Rn3W2~8`>!pR7NBbYWq$C66Q}#3+MG1X4-;IMg?yVeIJY)l^IYD6>0HCoaHB_ zLFWY=j_^ht5`dNr$wIUvwm4v57NVW(fWkv3(=(v+YSb$~rZ{%c`9U&V%*d=%iBRF# zRv%62$GS@~?O;a?!NWyv19UPCCc_Zvu}-@5ST`d3$|wbvEGfcRr?k{qr~GZK8#mYF zSZ7L&brzJjoLal|3)0N zSUT4mahYz@=7t7ZfIWjwE6d)9gR)^Xj-^Dfo^T#xsN(GPMjVn-kv&5djOP^;6SFu( zX%Zo_Kd6Nnr}WUd`r95l|BK`kGqT^wRU(Ab<-7}p^--qP^5aDTk5*`F;gp09kpDU5aRmp2QYEhsRm~O)pu4o1rPKiqT&3;MUOe zDOSi$L|?!@&~!Ui=uwqIyCj+p^HM;ETBk_}O=)Rp`cG0+qUq8)8$c6}gr;%=0zwg= zPhyNYn3+n1t8N=x05zo_#DB#YfJeW1NMJUEqXsmk($JJeVGNP6q3HlM7MC?NH6X8k+9O!L3xL1^~*CEJV9vivtE`A==FjC_I`nJp)a9fSvg<#j!)vmq~gtNwZQV zLPuPo#bZkgr?wE?%#Ij^hl|_>G-Vo0#v#(fpLFTrZ$kE!NeV3TQH0@7X{q5)`P=X} zWvzJn)VXrxjN#gdrql`+=@Zb@xe-lgGTo@Hb8~3w z+=!;LnQqitSTDk!p{Y3uO`E1N253_vSliBK3{{*x(XJS6S~w-qlxZ;Of=Gvxbm?%K zC;Q3*3UCjK5Kc-*t`E)+8u6MmX9{!XUZ!)0 zIgiu%8|FM^&J^a%y-eq~ne!ENKEj-*&6&cSxtHm@g*l%^=egz_n=^$ub1&2R?Qo8d zxfiWwUpQx8_!3+hw6qxgjEP%g23u_Dy&SLg&OHg+;^aNk>oiX`k7Ec$I=+riA9&-l z_V?h0)E!Ll&NwfrV#@(=sH&apk-HW;F@sU<&@$LqmPg{b$ zUZzy_TQJybiVs_kLWtjd#u^FBAl{9H6RXjK*gYRVJQWqNlb-+u;|`9CI$p1!oshnc zr8|n&w*?YPGDHG*@T*bS@;i)3VLZ9d%6{OTsKza5U$;Q=wbQ{-@Z|xV(fq4>#ZlVu z)$(``P7MN;d-;qsmHR%YpPrIc<1>NkE24QQ2UKo%ifXg~BR0>v8tv!yaNQ@M2!?i}(5%|imSa~!SE z9Wg$tr%@FI3QEH~76ky4u~E5UYOof;3$f%KOo?Ifou{Ez!JbrZ1ombgtfhkS-@d3* z7*!dOL>NO`w8G+)eheKiY7E8wZB?Qg7crkiWyY05McPui*YcCnsN7P_3_#_mLFh9i z3(+3f;(&o!i1xGt3Qy&j?x|dXCu>=iQLp@%;@DBSo$M?otW=565f9mtq$zzzoP+fs zcElt+T;w)TIi|s63ZkG!u62%dY3!YreI=&AWAGFKdzF^LUgdAtJ7ccN4mG8)*O`*a z&06->9H|gcny4Hb$EcihC2Ti6hA_aRdMu`PF4T&X(I-$j=SC{mn(0PuotvX_&W%*A zJ=2X^3+tsg5u^Pz@rvUNh-%Qm~=y= z!%4byIOSwtSww+Ptx|+=Qd%mUl)r^jkGUqp$&?BwXUdpZY}sdqlhTaJ)jG?3Mdg;l zx1qC4iT3~YN$M=*>Qj0IM+DL@X`m$D7B2)U#+8g|CV4zeXivVyD z-;0lOo%Yn96J-aWCdidqHos)uroDCCR(|p=(A+{7L`%)F?zK|p5Z}paUWWAi7`Ln2 zq6fewFi;r>=roMaDEo!`kn}fJK>v;Ga1f{O`fV8N&Zyoei**M}mJj z0kWZpZ#hHR4V$S%7$%Md(&Mrl7wcMkEogyEkb`$SM7Gch3d9?r>)Pszf#Z z8W|^0QaMzlEtLzFpOl8#pVutBObsq1hGZdn54Jd9U>2hH+5v@!f2L=^|HY_ReoS%f z;D2X3i)kxWB6P&09^r~i={w>}SioXO#PD#D+W`MegUJj;dc2k{JzmeszS8tKyDO3i z|eFt0{;h$RJIDG>A zJ2%3AXQmsqb#4y+og3l5E7Ofy3u{J-!M`~P{^udN0Z~keU|qOGk?rgW{|i`168@!v zaR*s2;1(9>4v7%iJ98NIN*~$JfuI`vKY6NLbLJ`$!s!AaJzP!c!)a$;6ew&FJZj;T zgny>Nqz57$PST~rX|e1pODRCMDMC0YEfr46-@>WaT$ABsN`;d%WlSuy>@&kjX$Jqb z&N5%Ye?NR1I?I%3|G`hQp(@Uv@Lzy^sNYqtdP3{GJ}2K<~FR* zZ&V8HlDK&_gC4htt$QSdo3u3Cd=(RJ;pRx44M2!T!c92=>!66wJ6YL{o2f*&zTRbv ztfutW*MsbBRA9n9BrtcwQ3GyLX#)(4LIBFxaC3^9G;W#_G5FjkQLA82+?ySA_VNOz`78yN(<*z#8QE9b5ND2#z)u!;*4^rNLwloS$`32~0In6*+RLWS-5ElUfh_5pM= zJEG}77=nu22Ha#COj;q*1D$l~fv#Qll@1Er(WeLlozhYRo$|MVuG3tT1Dz=~&^c4$ zW|w83InXIhxXH#b+;pxSBj>@j5jUw70MaMmrgI~1F35DFw$9DrrgI~1c4xX#Yhleu zG2ApK;bsoW4MVXh5v+4gP-HuM;^rb2lEh7^U_4Fw2%Lfixw#;-9*E z0nje~8^HCT;(aB}hYuL#TXFi)=;CsG=AgOhkm7TCUI01XhP+BG*JkF}jE}=s;|OCJ ze?#qH%yvsH=fe{1UTirVJMrxpG#!XvjF+wNxX(cRI(z?mv$q4C-h-13^LDX~%tV3t z^cFQRzpq2sc{FP`2;9$)DZ9S*`0uB$1ALEu_zI+XC2IjOXMt$<& z*1)_CrF$^n2KxZ>V_2c}QK6EolVJWB$STfu++s#TV9p#3%y%I@<|KHc&IZWHBZ0Y` z0KibhBcD-rQ)Vg=F8ZUi<{O#PgZXOY&WnE9JS2dmIBEcMDs9wbQ2=Kd8<@{fW0wUI z?3#^Ci3?+k9@Hw>6U=8}pSp^qg7IHSRRL;GunZI7DrzP~dZoXLeujy^z_@LVC_Cyk?rgW=1W;f63nH7@n(w^ z*}bqpcSwZp-=5gvl|Hhc!4Pd=K1Di=38J}5gm5~S_r37jTuiIw$BP0U{m|CJDGBCG zgGm7*9Zu4v!)ZYFl|c%8RgxlvlhRV*r2H+MhRih?PNq~iIa9{Ouw|baPD(Q{uXUFB z3d~2~+t692MEhTQBpa&Y>%{*WJ2c75&fv!7oJDOh?u;hLtngs{zzaZ6Hg!y4R-6wnG^7mx?HMhaeKh1?AP z&8P`T!2zt$3o3 z>`4mRVV}AhrGoL)aXN(#=7?!2MX2rb99F&3UyavbNkF7vg4F`u?IjNdb}EO8w52j5 z2(D5ZDL72)4rOX^H8CU$(Sg|FfPqgLB3$Bq`4mxSxAx;NCo59Kc=`WzyjSN z5h8n24x?V_Bm0-2twsv&HP-=il?dVVIo=J!IxW*``SGH_IS)cx3#TM0U>Zz@AkyI^ zT{@hGWnUSgz&Cg(LO3Zc6;8_E!fDi8li_4ag_AR7OpIIhnc<`~BL%h2GGCE`3HUa2 zmMPKxU;c#1AhKfjU{z7Og7F>Y74UGz&# z>ahxNGx936`~cgvuPa;*NY}ao-QBtZD_OU$@F(8YE6w?&ay&dUM_X6e1tVx}U157z zqPL4J@5E00DGb$aUEw_k0~2GT4o4g$OuTbLVB%B2bKK&!lMU+%fA~n6LVO5S4pg8T zzx8lZh!4UI6k;I-J{N?Mf^AxjzV7xANz?4RKp|or#V6x>H44E*QHTPn;wi)_t*YH? ztR4A&eoWc*wa4H4)LJOSc1Mvy&=kRhZGMbfQizk*;ARwpR(Rk+9^4v*xQ!KZ6ygEw zgF?K{3f-hqXqTiA7uZeM8J;aZAEA?8)QW{8=B}UN`z=W_3Gj z>LGQ;GBWm&okSRF{z)$4l^(gS!FmUWns)P$z~mN34eJV2+E~k?FmTG)C`2bUb}=Hs zMvBOkxEz;%m?e9AQiv|tr>?$ic%!ZUcp28cY^Jq{n>e(qn#)>??~Yu!>9( z#(brv#(d>(WByWeO^*4d)R^x~Ng;YI`^+(4X`&Ep9HS7h4kwO$Q-Ke#&W~3N}Feg!n0VFq|k|`0a@dp`06=zQhF~~xa6hbN( z-+7o~Vh9%K4v7%i4{3qIDSc#r4MVh1h<@&kjX+|Mx zon^kF5YzB&=qyvB{rCNVI?LIULd397b(T~xe)C7wSu<7}iO^YFV=zYxn9_IFlbE$~ zU4f9;yz+@x&^q?8ygfmGCDa7DQp@P)NgQ~bBo5SM6Nj%~#%fL=JwL{6jW{erUZs|k zuw6TGSPVcHaiF^+4h)7m;&6l3Z0EdNId){`XvELrtJFKyp3dYAD ztW(ITj7TC}vAtTva7us0?u2Q+h=W1~#Nj2o6}!l4DQ&6TWcf*H#NiPR4W%+Q;0g@M zLUb^;IACBFqL0`Cg(nV7&ma!7s8@bWaqNi0w+_--^jN79p(FOO^-NRxj`$;1jo1;3 z;o%~;fjBS?CQBjGBfWI#k-k^i0p4+zzRwq*@uJL8gclr zxsIEwLL~?J&8lpbVFxJ z1>@fWY*3q4Sm0zOLT9biB8F4?&iWy!ABh7Y(TD>Ek`5fW#r%!8!eahI7$_XD{%{{4 zMH61#!&`3S_Gy3}{?XhNAMzm-?0~O4_hP)9p9IvOaq{GWu^N{TAfO(?LRUnGQdFbi zhdrSF*zMs=+Ic44FY3Ti{QLbqpfXW_`ueNQ0Z^ZrZ6VEBu(1Jh(ML-36t4Ks^Bas8Am(v>hr`l64YL zU*XjN1hjsW5TG(g1JsX@qZ3fO>TG~cJQASF2_OhX{40`8OhV06B3yW9*m|KU{e|}q z&?;Vd-R2>I=^&080F_D`c~}$xQpN_Ti>OHhswoki3l^YO!JdHH1N+plBNdD{vQt>B zG9rl($y*VoFsEc%IIqVsbr+zvs}j}t2jpEM)%aE_Q-jcFNEV`x zVv7R?W+6Jv4k$dJGCc!OuR*==IcY|L1Js2Fst&zYszj*pN?QvwrSFK#!0y=*%i!T6 zw*gR@29th>^avP)9S}sI{0Yut0Z6gvegVVbm-A7~O>7*8ufpQc}!P z%~c|V(-pjLgr#Ms)$-#-0gq{DYvGgxRHnfshDe8#bm?%Kk$q*B0-rCU2;ro(R5&Sr z3#X>vv#8Wt6Q)!+Ia9_&D@}1*L+_BPAu)6q5?h)9YCDRz&N5#CYCC)zI?I%3|C{$@ zLsgtT0ks46sm_uL#uvR$E#7IhkqC`DsP&h~l)kf$1V3+F%;&rAe8^otZ*yUUA^IoZ zTCIuf2l-^3?#Sy`nn6slb|0UBk;EbH9(w|DTMThOx`*awx4j4`d7L#1h_7_!ZiHh`5U|Z~<`-r@-$Oa-`A}_GfMn4d2C6^?uPj9L1--$0IHig}7fw75o&o z_iqBYX8hD*{6W+TzgNiY`r6|k9h?oF`b5wUz;XQ2F-&pm2HX4?w?y1i*WhM|ODo*T zkO#MhxOcKbZVLMl_JO$TutGmkDYQ!>Ze+Jv7g)zi2ytm?i2E4HEfKf7&Ia(sBO$Jw zfRa$e$CFZHb<|8H!j;*iwO&gL!E-(11Rg!+A%S@mjv5e`N*kJ36hc?VhPX?qNh7W) z5xpzsp;p13h}#SMRH#b@#AO;x1|iZzq;%;aa!B@-VTw{D5r#;mrG`l5 zZ$spWxhCfvrqmGWOo_OomVM?BsWc%j8^;jWxpH(JhifC^QY+}BPe5GfM#P=SbfdP; z%^|LHBjQeGx>0Lk-Gx0H#LY>FI|XIKAZ|(o>+`!XhAPgUh&#WNyKFuOq!l) z3@7Q*;nWI4oMAf!9toug;iR-wI4OS%rw(&XhLb53PR^7u(P`OdhLh3^aciArzCzqC z_%?KwDbfD#-&vjI?1{MZV4vzNsbIY6d(~MBtTqy%v)+xt94%l<-&wy0XW~!53}J{M znw44}If9GaJWeihQv+zrxI2E$d92TaNY9UPTU+G56nT|eB5c>b$o(ZCwidbR?iRU; z`gM!k6TG=tnsb11+%q#rTjXxT09jk)-T;>9%wkIucH$3UBzDZ8V<#|!c4G#6?I>pO z-Bp0RalkdcMQJA+7P)`EbDAM^aT?{3z8e31cQS;d;0A_pG(|O<;K+(Ud{xKoAyB&6 zHQq1E;V3?ISI-cbD28wns^S^KM^_4vpJwg0M(xnZ%&xCJ&L6lIhOj-41q&_ zj9W5O&tdL^}H((zOVVV`XM5WL!$q+tc_ktH$AWDcK(9#&f zZCq_3L+Giq0o?LP3_(snbtvL}_JT2{qh=}*Mv|wrsB38<*o%y7c=Vcw1mGD*4Ge)w z8%kLe#zh$$L+Gc*t~Cyrn#o0`#MSo0F2-M}IU`MFm6K&ea(NC88#5FLXp4j7n)=wo(3 z;TZzcGZ?~V-~+gE#VBwL;pRPb7DHC5MCgd4Z9&tNen@XZH?t##;o%~;fgvyrCL<7O zh9F&fNFSAbWt;-5pcG+9S6XUFSN=AnPnc_RNH?X1bZ1J2FlpIm4(Uo0Ltx_=LvXG{ zgDJQ+G6ZS`_4El0!MTwkOlP`LTj%B&f^#E7h%?=&wXp8So-qV-5<{4QvH^5ViD3Q3 zc8sBlvnNBCWg$t1AQg#-;gn?>UqrAQ)#lhRV*r2H+M=9z0UoJ^^3 za;A)l1(tngI4R8-LanpRR}7&Wz73saO0@qwwpC|2doqL^>{Fd36^v&9HmJ=atBpix z-1W2)V`-rq?gq!>A~zv1ad(^mU5$PSH9@Y_a>cMPnnv+NeIAL2O z4#y#{Qp+LOuAMj>2tXHcpt~au{MuX{arg#rE|%uBD#uq3%F5A*!=o5CYs6s^mLd*S z?8F;lfOf>;>8(K=wld=Ik9UbUEcpYF@T+LpQpKHYAP!&OHccG<$_bn&0M&SW2NH)K zR3F6QSc+;i#Q_(8)#wSghaT%;k9ognF^=NR-|dM56Ga?$M^!v=nEQL-^wq50N>Kj% zn6m3@j}P8wEyUqhAe<$Yj1dXt=f}7uaoB7PZblqvRg9jM2e(EX7PCT*IP_s3#NirN zs0S4)$vR0KcC>rJOD#SnL>!o-5r;36$C5bo*4Y4sc_iW>CxAT^aWmO7mV3=qB1HC& zY`xHw9z=ZO5m3fF(X4|MwCNETKrI)P zhg)`IW@T!?6&R9*=s0X~z`!g-AGZSvPaK$@K^z`Oz4Bvm~1CS5}-oi9h?1#K;ylEi^&FqsFD4kzi- z;j}>Zm2L`rUWX!tlhRV*r2H+Ma^{*0CsQh%oGD{sk!7D5PD(T4Q0px76>;c+Z$oF9 z67B!&+tpdlp2T4>>{Fd36^w5K*q}B`tu_*&aUakcg{6gV_zI{Wi31@q+#P=#4(eZZ zyBPz81Jbq=K1=m{XjuG^zv2YltZQ}0Lv>Q$UPd0@o*?^_d4k7uDP zq7x{pQA{`zpg!;Ra3;Mx6Ym!-!%=+iJ3XK>QGh!AA2mR|?=j)m(X7=VnghR5%5=mU3@Lq*zBd70%Wr2(qOw^ErJ zU?@Yf5Pbq$9565o(I@SI!UHPPGXS-Sdg15V83hhdx3{yHv{EHPg&(k`K2v&Tb2ivL zJ7NkRE^-?Hm1!`UhDeWq(xpehSoW0}3OrUz5k^3zrA9#IZzJHWxh6+IQ)&csrUcZc zKPvmo5m0FYR5p$Qs&nPw*$UT2K&4j5NS^?x&W(WDp6Nzyotpzx=SD#7$aJID!nzmd zY=CM`0@O|S~2lN>}koTN*K(<0eddMNPS9f}Z6 zN=t>4^0#nWY_7?0GNr=FnKCApTK1XYq%;H6T4$NB0JRss4V`65wEv}>tFxRv0d*Pd zQ=KIhj8EK3E#7ankqC`@j@DlyQ~J)D4}RWwcbu=W-^DpE-@#pSB42eI#u!4lE4937 zU(U&SoSc(W1MJIK%zyl|tnhD;o*(13HYZ=P59j2g*sgs}ej^}Vb8@=7IXNp?Hz)rG z?=zO>^eM*^Gjp^#`GKH$wK@5IutaYcTlU0Gd^Tpzjyik{r%{K`;Z<;8;^ZU1 z#210*SjDoF4Ri9@&C?X(2FZGqftBjm@%{KYmaZ;aV->LAJA(2syj?E z8e$b1zv_-HDa83}a5D-)EBvavJh(Lq@gOVY=H%1ZM{{k)3f-qtXqTiA-(q(G^DR;( zL?LKt6yndkqeu!dRA&P`=8-6boB;c5qJP^`*^QW~L>Ou|(c*PvN{?JW!(4zv&8T@u zU}A`)1`0u?jkPQalt9KtAttCvQwUSya{OI8Y8C8BAtqs;x^|_4@pWX*fKruVB3!$7 zaS+Drl4;?*zKBV@C`3V(sKy79wE}6CLq%HrjGpBurBR4?X{De{4Ojz1vJib5TO2Sj z3(;rnfWlJqyrbPQM+E|_C>`5U8V4vzNsbIX# zTh&>ERvU@XxbM|UOk_&mSubFc$T>M7F|n9WfUZVAhMFK(YWd|JBn~`I5(jFsiNp6! zU^S z094}_Hz9FYg6e}fe3k;gX;0Y2Up3m;?IC`K*kge>4C5&N@S8nxV4{e_5>&+#hurBm^REm1rClryvIYmd*{dM(7Ec`k_qO);s#7QbmvHxP#pt-;NR1Fi6z_VVD?h{L6< zkRuM)U?0TcaaO3LQfQYX4ky^%;t`8a2@wZc8gaOpM3=;2w9W=7%p(y8IRWgUi1#AB z#Li9O1pzy?j=^4af4rl^?)1Fb_h{N@pst!%hv85u3 z&=H4`3VNmQh*z;{#Exi%hl|_>;=nYRv_qsvdg;<5eTVETofKH@r3fRv(o!S6^0$$` z%UqKqy(u-)J5v&ed6s?VNUt;z2R4oo2j@zVSOC{X;y|q!0DS^+aBd_H-I;FG*10+2 z;M_s5nrjtmkXc(2lx{X*7}(~_FCd+>U!}EKi|A}KTNkC);5s8 zeRj`%rVn3zLGHqhrLg`Nets^_VQ_Vz|BiJ5`o|gQ?`a@u^8z3i-1om!T6$$bPBDoKy4+$RW=B!7?gfUJQB+a0{c-_q8e{WehExe4i#zf zn{ukNDGluZ(ZW+6J+4k$d>Gd%uJ2z!etg z4v7%icX1f?N*~!@#M*#?{b}afZ>|y{oHpY__3- z&{?KL`|tQqb(XUy*pI_L)mc)(_%(nHYBOQAkqC{uiPnZJEp)?!plf_7U<5-1(X7;R z*VbGP;Bi}d^Hyjo+y|(o?jYO+%tu+(_|ijJohM*~hb^!L6PUCw=ADnMN-d{jyY|(9 z&jGNx8laN!JQ^}Npg4IuGO1q>xEV|k3j#YT(=9VIwFQA$43V`3ffwH876eveC*B!j zvEv5KeD{2baf5f@#dv_;SMCJpU5hphCmj|9Zv1C+>Q((sIEV9CUyYw>CPz30bq7cI zH;QW1g`t40T8(ygd+3}=c8>Rprf?L$=k=G}odhO|BOHmUc#iPi+f};>)@~!z4nL{Q z?E2c{Q#M@-N0m)}wgxv*Dw@{Q2M_`V|5r(joAdV2%*#K~PB#s~_;5roXHsrjR3!AA#2;!j zx;UkR@#1xL3Z2Xmvsj97arSM1G_Uj{>26p-5JynR;8L6AEdoHPa;QjKDl>xMDy4CR z->uKg%G7`sFeD4nso3Ixfmw)7vjYmx5tyFA5&nsK<;N7qjw4*Lj_NSa&O#z|#QSU^ z(v-d7r6}_foU-5hDZ_&ZjK{3H*$n! znQqitSTjBBHP)MBNSLjk|Rh3oS{Y75(AL5!$q|?alVON-I7ycdrxDp# zMk(-cDn$q-B&jxY(|hR!l2+W$>2 zsk59tIl>g|Q=KIhj2{Eopf=N18;Q`kf6>ZJ)^)O|In*Ci=3T>MCgbQlFQ*HGSkAT{T1sv z?1)9sy2x!nex|{s2O>RGOP3z17t6k~lmctT6k(`VT570P{x($inrm{XHl>DYXG-K> zX4z*B)k+icvvCahohwKAez-OwKed8z`UK>6Zbbe_&ZVvgK8oxkO(LPST~rX+rjuNeX;Vh$4iO z(o*51{4JcO%rzNKrc^jNQ^v%!WuF;NN;BlIb(Z-G`D6Gtbe1X6{u@89&T{rd{u$V( zI!h`TKMk-!ZDy@D5}|Ql)G~vmg>JYJ+>NUPKgAG1G%K|XZOYXF9{be+?gP};v^sFs z{;bY4jPP<9wzbuPPa&&P%aPcweRbd<0Jc^KSQ1u(vE}LjmL_ar8Dp{I27mZ7K(AojV70xLzw~;5UI}ejs<@L5 zs{;eir#ZrlT>J7^Uybkk8#zKB>JE-@7DYA6acsq3H9ExYp>vv6sX3W5j#_aPcl@X4 z2uu`5n2)M>j_|f?1UM_9rNIgYRl```%IvqHzCLioLU*d;l_uIw&=I?ooL>d;B^llrtY zj&LFGNRlIT)Y$-_c_fY?C*V31aSI7BCdOte5rX(yTck9l=LknJvf(k$JR~qh#Zd!C zpwb3Y76mFGW8($jUi__VYBjjM8x;UkR@qsVu6c(wBNFrRE$ADp? znM~t;=?cQpSa;QjKDz{pGQW{6N{S{_brUtZtAz6sd#uf(*%tG`9 zJD~6!f$13>;VIM$zgN#Fa2(;>7jzbjtyGE75uLUGX-eM_4`9Z@j#vs07r6}_foU-5 zg-8$T(xnIWWwNjIQ(%diA`I$EOAYGE-v;%9xh4m7Q)*CmrsN0%mVM@+t~7B3HjZ%w z=Sn;ngli*5pjKc{pTH5E8#%&IrW>_&ZjK{3H*$pGOgCyRtedcB9KoE#5k{bFfE`mJ zSSx>I3{{*xIl?FlNpb|KV7!!68JG+UbcaNU>~jf8Ug;zIy;u`4jkuvUiCB($|~N^%6I!DI>|9Zu4v!)aRfm6!rwK%xlYq_k8xDSr#68FNjB zlPMKW&Xh4RYuRUplhTYMG{MX|%Y4NVnx4<-EK{QW<3FggoIN>0E9_I9B^8YC1lXW9 z?XbYfN`%IJNXraP={xIdV0l~}ASBxA0Dfcx`vCgp_W$NuK-L2R7^YH704z;N!6g7Z zO3)8MT>V#`71$CZm_z)(Jp%|EGQ^*QeL&dRKLCVX&K3!)0YCU-8tFIS1g?hkkFO-s zFJo)0h`vZsje0mj3h9q`duZYgHnI1MI&l>5`X`U{Occ_81Xb`zzuWgzt8vz9UDOIc zEY0lt+T$g!{sX7cxBe)frdZW7%ECx;^Z~&b9I+J96ib@e=Et}t((kecH$!?_6{98c z;MS1-99GC7{l(ZvGu^`qoq=gXN!CfE|DfGd?y`WA&}sm4G^8Ko?MNd1ygD1eERTfr zasoO-5x<>;7pod(DiKD6yKSk_lpbJCVtm3QXC4w@JUD7VdMa&5WKkI3WNb*^LycWC zHKaEsu9|2XwF>q``o*wMU1CzfxM!74VX4Z9B*GkNI#zGMy-W)2lfm+%t=T;0c8Wyn-al#{gaHLinAxuPqL6C(n|&7 zFO%>BSz&?hkO-0eO%9`8=_C74tN|F(f52R)%~c|V({sG#gqa`HYWZO`is2MPTMMTo z(lZSvGZ5);k}e%iv$C%={YCYc2;ro(R5&Sr3#V54q(9kfN`;d%WlXeN_Lhb)JP$evI4NYQT}ms?@R&+qJI->&?t`2HVC=Z8hLQ43V|ffEBPrcNSa5uoE|7%yZn} zw~qt#t}|}%H~Tceao+*xorgBWBkZVzL-OLox$@i#@sfV>v;KeNT9?QAYJBVO$q~+l z8#uyw6!;Y)A}s!@(J5{ZoimS}R)Oog8&(=wEHGnx9N9g12NOFW+oecn&N8$)_0f#>NqPsY!DLQ{sC2)D&tJ?8y<9 z!9I0yN(JM+>=gP{MkEm~&Kwvfn#q)YBwZKF2jU3xREcW*pxsz4D2Ix)_#HjVPfFtm z*FVS1%G7`sFeD4nm$AhG1G5mFZwC~fBQQOKBTS-R`7y<@;|QldqmCG`QYAu1Y^sOQ zB2)T~7{d&M9We+G7r6}_foU)qf=CbQ(xnIWVcAzkD6phV5e9Xor3Q87Z-e@%xh6S+ zDK)4&Q*wlH%RX~ZSDH8i8^<_;b0r>3z_pPhP%E&fPv8j7jT~Vz(~a6XH^&j28#%&M zrW>^u*7LAuuwzc*2-8qDz>X;qtY7`DBHP)MBg8Bu$q}T2@o}Wez+_mUJ0wD6pGrvb zN*~!fU=6@H!dB)wYpxO@obKh#Dcnh9S}i}UMlqb4{+k4HmFUv)kY#T?md7Ew16pnXPpa{$JGErqOAtRw_{jvFnaML zz=fL)Mz8y|aAC8{fD7+=8n`ew_bOlKkHVt*qDRv(dKG6!9uD#SpT`NK{VZxlbO8l^ z>YgAZ7(LhRq5e76-}^<2a1`JBsE1J|3Pz_dt-Xbw8Br_%Y$2k(KeLsVRRep14fTwh1N%f@ZKTj6$TxJ?YZp-ni^56BJl=r3mAm(o*A|^0#qs(p;0{o+&l%Ia9*ulx3ee z?kP<$%EmDmb*>yTr{UTNqtpry=@Veoxe-R=OgC!l+#HNLH^S&lrW>^u);a7MjGB{R zbQa2nk=c|8*6v@iD=W^PFxrHb%v5Ac1>?;gQ(U%k$rCS}P=xN^9>Zx+`jPn=Ot1|` zr$|IG4K-JZ5KiavE)>>%llk$YfJXC)lUCHu-e3Vf=FB7~FD zQsJchEu0pZYciZnsc>?pjEQc`J~Nz@W-waoEb|qN=HT1VS*Aq$U-}>$s^aVkql;jl z>MW^XeB$ra;yqRyiO^Z+Xn`d%rSGiyVC4e?cM!<#(hG9s{kMJ*KQuaqVMc4bxzY(! zOLBW|xm_1b+Ai7|Mk}|*=Eb&mzIssc=egojhZLWS-wgh9NHOM9`g>w*PA2{hVCoXz z(vbL@TH@a^m?S-Kt0g|ska$Hc@$QDi^J%4(Aw@_e`(LM*f2C;VztzzP$0zl~oDH<=)m@N%ru={9im5zU9qp zHVF67x9`H~zAcr1K5m9~So_g+vEGmDCm61$>i+&+t%#r_P6n(f;n%eTt&YRctN&Z^5%+_*xNZL#;l z@h_YWm+_3^_HUY5z549Kkvg2)DPb|LHmq;2=6fuYz3Q50CTCE4tnR8K6W;)NRA5y< z+LvuHAs(}E;{MR9N9HbgzKM6D@*8j4l-gf_b)#HyY~s*;F3`NzBC1onUK z0dTGBu|O36>EW00t*vQTeFi5U-=?wmo?Ka~9M+xG0L6#mCx7$uYS$NS7ww4`SmHau z)g1dBMt*lZXYBXKRnfV*MHI0BPRxs=LwW9Xuu3i-4KrF?I)dkm50Ujgj>>@b{s#pf zCHWoL0{-wQiQB{AH$BA+Ennaqj^bZF;8`yd#d`l-sIlH(eMPnUBy073%oA`2mD%;R z$Lmh7h4p^**W{x##R3erc$9>0V7(7Mo$clxC6UKb^5E83@7qwiXT7^%A3d>{71{(9 z!UH0(OS0ZS@Gb`cnP-c+qfT0nk}&rbx#I8Q_i{0XtarA~rc}|9Sg)KgO?(VZbO-tx zrmff~hEfD{{Dduwn$ol04KNQPI<}jK1h5iEE263YSiO3~wp%Nd$c;*)2P_KkA!B2` zoz#E;$UmG?*-cD5%+L zog-bEru4|ZvX}y&I-m$NMQJITqWq1fEH&3;hni9}#hH@z_FDGV9H|gcnpiIz$5^j( zCBs<;SF&CfQ#%)GMPKO?Sg&&<>+R2Uqqfe?v0mp!)?3JQqt?Qjkz%aZoWyzukPITF z8s6q()szUUpp$W4+J( zQm(`1DiOlzD}t2Bls=qx=S6|SM&MBkrzGoT8caqZ(%~dsI-JI3Uzwo5B#I)0lhRV* zr2O3^%3PD-G%2M`qPUwMXG~0S7q{AUb)~{dX~ueMon^&{^-jaLp|ebh_W$lZ>MUnZ z)*Hh<)mc)(xR(?e1GCjeB6QY8fDBa8l)kgxj|B&O^|Ivy@j6WyL0SD$%RV?@E;uT+ zY^Rhhv0sf|!azdI!%cb)?+{1ZaMUVe#wh%_ua!upNMjAmInY$;HK)5q03O*X1} z?c2pIqE^!?abF#QmNg6E2>nvNH<@}l@h`G;mBExc{gk>ZXFuaTKJEE+o zGA}Z=tOFlqJzimOU(1jIbrnR~vS-!{f}USg%o9?JxBYj3-8W}xl1=qX|~nz~un z%F2mF~0=KxF~VOs3^NA zhIoyKE5@o4u9!1%I=o`$S$!qI?ocSmG+PN24;86hH%v-gH*&G-rk8b1UpJ;yTw51c zoChzQrCA=Pl!rBA{gu!okIG_*YSfFW*_FUO-+pa(u>Jb1{bY|@4RTwj3<}Het7Sz}YB7+eH^jLprgO^!Q#9_VG1nWX2$=Mol=jaN*v*N^dK_8LI%e zil6~VW7|B5`*=Fy_KoO4HC{Zbh+d4-DarATUH)R%-coA;dSV3O5tf4r(W9tv{}{JT zeMeiJip%kBX()1oCl)VTI8D^mF)0Gwb#XI;9bm|l$PE@Ri>9CU=ad_)UZjsP@$^@1 z=545i4V8I2_m$JHb39O+wOza$)?XYK3A(G=*p%y`4F2UtO|Cv4fg3}Kk7#1c9Pv?0 z?Cq<1wv}IED@&6bY`g6uodXE#Q#dIOtva`o)v*}u49A4_>D8b@=!+}{~f8|xMt)Wr# zS{m!D#TGR?solBmhH-rJ&<$?+4%cPGh{`qJ<2xu<-m9jaalB^`6Se#ejEv^|4eZ+H zRd1v2^G-zK32zBP;_H`Hu&zb@KDLN%U` zc~UXj57u~55!=?b=o4V?;HEfe4<(J(vI`|$flJ!#TCvsw1H6!JX0&z-#+K4NnIGRW zRrzOm0ay(KFaB`Ia=lP=oME?BhTV8Z6<@&$q*bva+PCqF=(o@=U3r^@H7k>!UZ*bUvn#KxPg<`o>GLZus84ET(gv2{Nvl2| z3Tm&@pRx+e)2;%Yb^3o>wRg~W*Xd7P^)9F1uAgPqN;q-V`c~BE;%jeJgbXugN|6L^ z6A=dSRSXIvA|r|PeoL3I^a3<^ya6qMl5pv9&jan%|ITnb*Sd;^j@nO{h9X7nw*`B5 zM8z4YD1*;eZdb6^C)B9@FK{{}Dx+3k2~5vXs8RcQHHt!|Q50F(I!3JOX}D^jC`!{> zmxXb~{FalUOv5il?WN*Gz=F?Pli5!-T1zD|W0!9=-VIl&EvUKrZGsw2(vu5nY_u>- zp%$kC1;Z3Q=R7ur$3&(FwdTPPu6bb5BpT23pf=H5o5OSzN^4kr8q?2dsDvdJG>~=M zUASZ9>oXTFBbm8VD<59@2_LMvMZ=js)LM-!Ix7kZn+Xjf4Gld6QH}c1SjPXj=fkpX zgkgCRG^n8L@jDT66aQnanTD%oYdpz|YGJR#_KMYblcv=S(S~n<*-t{NC^d>A+C4hZ|D6H&L*rhd@NS|d5F`uWf^d^{AqXOz`mmc^0 zIqq~5&++Sajx>D3S@pGuy5t-|McJiyE(eP+N3g1dIl^H$9bS4w;hE(vwOT6B`;ecIKK@vzYYkqf<(GSaa9UCEAr( z>42z4187T&CGPolzV`;U^JUh~vIhsSJTa?Y`BRWMgIcU1U4^-DHR^`#=IAg(s+|K; zxnYeV6A*Gcpm^MLv!Z3dT2}%yN|u2cC51)9U?RQS(j_cC2Te5^MCleS-1BGg+K+h_ zSK3+7@C~EoOPCiXqeVqow0!iZ_0eKg3DNQ{oDQR9$m%Nr;6b4lExXsEg-VMSSy{9c zRK4tIQJSK~TC-w)ik5!(rJ_Zu#L)XwOs#F`btNKjqGj}K7<#Ei2@v@@S+~qjnTvk-$A$=s54Qcs@)8b1H>O0<{nF6EY^e(S!^uHgx~YuS=Iz z=wJM`n@hD}^(?Qvn^%?ndd-f%!g|eFtn*AW9;7$~%VCe;I(FY4I}o3`$FFF!RMZn6 z9^z;}qlpFKXUrg)`gTMsnIdj(yY-?LI_|gOS)0|VSD2RZY}rQL%mKIiDbNyM0E(h$ zJFMiSjTV`WgaE7>-;a1gy?c~WF@v(qac4wcVvNIvqGo3KG*7P3*-^(!-`cYsdpcj# z;WM{kiE&x3+;YP(8!1}M{IHM=!9f6)+{Lhq0j3(i-)hoJ6+W9FQI-p)>O8VLLhrPi zn3-kZYvOdFBB@^7Nwsjj_|>cHdvWFI){CcOHMXG_w*+sxyQz~8D%suIR;!{;6T^t= zhHiyL=+*^xGZP0dWU^;wOh^a?1OE{Td+LUx6sm z_*rjv$!M%Mv9V^6e^EKD`iM{3$+Fu!VyR#5aO$>OoA%qVZ$sR}VD`8?8$CVHKR~|K;vo;Onfa{O_dnK)IQqAVC?3f>*d zka0%s(4=LMLhumG@o*qImWhgE$IDn9m8e`orI40RPXtDSqDDmwSmcT63{gQcSnd1$ zt+k)$Jm=)37svU(@Bi)R)12qo&)R#hy>5H$wQu6H`E;lH1rsH@?_*Hz z3a;~fLjobHXpnIR`{o^F$e|?&YdwdEIU|RC^Bhh<$J&RL{gz|R06*AuYVs~sPch|& z{za5~*s$m|_@cqH@=p_N#WiAV#lX$~V#>h%-RIM)@!b!&YMhTUgQf}no*1~7n|1D8 zESxzjj~_R1o-o6}#mO@b+>lCOIIJHu;70fbGyQeVu%-5nIE?)Sv$7Av7VsXmFKZm2 zWZ=k}=W<_bz4D}Sg1H^~`4j(3_WCrg3&zpf8Q+dq#^Ail59%BQy zn$Ag#RuWQZKPAh;i79$>19z%p;$T)50a`b;AuT~9J6-84Gtqfi#>$dT*5Nj@4tM(Q zh6bF2$8Zi<{W+a0%*hp5yIOA3G(RSo=lpOpVx#)Y(OQO(N-Vc&Sm@u&ZLNClpILUH z`zbFzzmwui9nHn;Q@+Y@=}wF9j~5w(dn>s6(pxR~Ek}Q4HDn`UtJSyV?39pV4Q?#* z|NhU2eD*0}Uu?)vYkG%4;Q_oyD&QE&p`MFv7PdShytL@!VG?dW7Tf0Y_Iu{c(yhIE z+bC7xIpmB=x3=+97-d4`6dq>y4!sUlj-H}McgT)pg6J&5AzYTpQER&9GCYJ-TCqdDY64Nr$+qhibP*ab{!8e}x&@Nh=Fi_9-5-qBe1^$y z)(Bl_srq|q*S?%Y1Ak#?zniMHDW!Wqj2+#bIn4!cX$F)m@BpSXEoe$ZjDt z6)!>$^dFgUewzjDl1Eg z`MZN9DeThkMIoV!Qf4yZxwM3H>G;MXVgB~qKTngL0$t`Qtq54gOAy#?(u&j;9o`L0ZKE93R=+*7e}S8p4n zNUVyi2f-mdBCeHCJW;P<5jUo8^TzD5Wf6P=|OknpPe_iOi7kdr~E3zYD)khcB z(-^L)H;{I89pPWV=}=;Z3~oJ#Nm~D8j|(1O_f_CU$aL>xVmWzMOw2?+RD*NBob91C zbVWU}WV~ho$;e()TqEJ2ik*qYKQmCP>RH?9`9{bz61uvna`s^_|KYg&pZt@`9|vd( z3!fd!uO8cBYZOnu3H~<8Zj=^%(GQh4gQV!c;Uqg_XxWjha7z_VKgwJHGMz!zlN7e)U6+ z_@GY1INTB6_9>I&qE5qT195=I0gm#k?`*hoX)$}JVh+Xb@nZI&I~v+--QFFtx&`** zwJU_tibf~6HY z4hCf6K<{HzcJJ_&rv<3`#eczj1;G}w+XWiD#A0^)#AX`lb)Kp?)5;eX+sBHXYN*5% z6w1*xI9XvTS~xB&c3QI(5y3?j#9spe$D+dN2M0`ghp*ZB$+bPuIg|?r|VN>Iz^G`YA&QDywE;0yL?3DY^}^M`h?^I3V?K4<`G*Y_2P1t zRXW8^Hl5+Z!UZG1)ov+2D_ix#8c7EP5;c7iyOl8k&lRgXnDel7RhA@;J!r%R1)U$K zFxWL7>u2E~g{x`0a23+SQn}D7)4aDP_(ahB4wV2tS7GX6&1>j-Wt9TXuT?;tjqDif zglx~A)G?a;LO)4WSl3AYOq#=6R4)540{arAOv;9*H3iNlW*hMCtb^?OsoU;M=#E!Q zBZWk&M0$C3x`&6AD&hEe_66Ma`Rr}L{HZn*N*i7ri3q9L)Eu^xk+{OYF~t_oe$ z^BH9wo5k)trOL9?llRQ5rA-!lCPib(fZyZdYf3Uc__0_rOo}BLBW^6hr1MKn0fRhC znBDD+CHiJYCiMNE9j=wuf5li;QJ~cmYc)8~jXX2DF*-6;0%Ki$C^yLX zvmrIzQ#DhzeYKIH4GI|wv)&sUo*wDtH}@2#3*CK)K+na6>~*!In&BcXL>+Nf3)wG( zp#j6X=d7XQdP0V$kR3oF1{%8d2eSc1;$G3UPdU3*#A&*{^SaJDp;Cm|}8g$)2o3u%|FixWH8V6ZzGj*wNh-;MMeFuolJa zCu-T!gpsedfzrpZ!c?J?5pVXPT8cSBODQcnhLb`d#_M$$$K`m+ z?18l&l(aUbZBfr2x@;%VloRL$O}FD9lscok_M_Qgdchy%M4^*&K;LWYJ|O{O$R?mA zb%4SkOXS1NF^RMSD17VEA?vK^d{lrLU`qK0_LoW`ANbH~XsE3^-IshZ@|XCMM+#7s zeAtGp*fgFOVjSG+ob4Hlouh>x@?jt3VP@8UNo9Q+MtRnQ;*vki=elEwzkzruE-md` zdY-oMj?fea6!TGlG@r&^G0bf%B=+b#>t=bx%-i^zYh=#mRlKtI^&)!GAN`u(glRAR z(Pc@_TxpF;%auwRx;bg~`8cX+0TJeHNtG8yNez={-mSrO^e&CL*~p;`#n0GJ;Sv9I z9nOzkbgz7cE!vcS7_keg6IeK@6*(QNjHZsB{0qg3D!ce|MB>6m{r5A@igLt1nFA6* zYBsRPaWQC&5rHM~hU<>;$6O9VDE*CWvWm1eI%}$%4vJp;2^A-yK#g6}1Z!rA-gJwhx!heR&5@R5#$GIuPM}2iauV<5)HqB4eU|EF zk1V~T85%H_i3eK`lPy=Q_NK;A*n0XvPRYUambSSKRedu3an*Yq@nysV{5W!>{yJh! zH{7rw_1rtybAVU|o@`OPK{{*z5pyN=>W8_z>kDMHo+4F-(|x2c1&KD#&_BGOq}w|e zrmp`NC-@218NoZCdz8nbyEh~$a#4DqC|Q3Pzb=F%g5D_ZRn9&Xr2ZkCs*2PrcP#Zy z7)!kJ05?_zm)4Fau-u7u93&sD934dq-6+2;k%P^o-}e!h13F1+GRBi(z1Z%?{bg{x zwy+K3zU-d=u1{b=Ip2DNJryInBVrNUXmFZ^s|_`ZF)|F)^UUJDl$#( z!^6cq7()5g(GD93Qsn}*7CPWbiFPA|Lv$2~kiUCr`}yaZ07W0dcwn`wbgz|W;9bcY z9C#nc`ltXa$fk04P>hTM%_0%H#7GA`aqbxq7CI@Ref;cV=3`cZ>={W#8!O8HU%F$o zx>oab$vc|6nvfbX-<8j&Y5%6&gf$u(R!KM-Gc4G|?1q+#dtXQkzsZR(Eq^Xd3l*hD|$N7{8qeuN3GTO7) zQ|RdMS8+kFIe*os=AD$IVV*J+Lxx)5py*Dq7JlW<6Z8?NPW%04C zBM}tGEoTD7v@bieg}P?VfR(xH=%|OC?1Mmbh!d6yWp10VzSa^KnBX;=+)WiaPV(=k z1Y$>V`f=%ktDP7M?^)g=RTBk4In70hGcD^k03M4yJpx7M2v^(3LcgboDm|Blk7iF@ zbdEP;Uc+`^GjpFrrk7-+m3ylWGtR&MFOm$6%y;#8s^om-nS4jPkgei@x07tXO759o zO9!FfOGzFQbaBx)><6K@=0Ed0K^(g=he0RMq*5x~1{Qc>V!Mf?VSz`17!Qr=Sjfv* z{Bj&GadSIP;f0X$eDiIR97KZ_3-voA~lxGHNM4^wS5>a4bqFKSv0R4H999o z5v0MUYlS~w2IE2nB&E%clRAo)g9fo!oCD`Mlzx5X%_uXJEA|D!;L(}y4PGphEWe@{ zOAc){`*h7Asy5SvHv;oVny&4mbtL@Je2&hM#I{OACY0z{j8yO(cRZ&680mNOgLOV+ zv!06w-fBOYyY%D8{M&XRlex)K%F)Sk-`u=Wgh*q?@x8wnR68w}J?$Pd^r6}uyek8% z8A_B0fTc{CyLPj1G?1_`Op^y!wK!v-j+5j);5Wg@rvYA%IfQ{xpEACZ&>5h_C6Qui>8iIxtjo;%En z(8hONr6v5s^och8xKD&1xMT7*YW(00lmyaEANh=mPDw+z+^QT1P0l4*!UD-MuXXsb zm4p&Auhff2(V?;qU^QtSMOsH2y3R4GB8w{*TLFpL8Li0Sn9Jctbo)QAr!ep9AY3_m zAMSzj6|BcCbR1`;cB?-`>J#D?#C-Hf^yxYl+MH@)Adl#N(V*CVKhRU=<+vc6L@(J- z+Ng|JC6<$kK7B(C$J@|hX$X<#`D}AEm%_NAna+mp!~N4quw8AVV>eteMx#cv5%5CF zmHjwi=rJtYD|7Vs6AAlY1;msK{}urUr(WEE3jg*rj6y;jhmrlg29_x(7d1-G^P3jq zV@@-iE4C{zp0-R+^blU{e7I5mkPR!|2|yGhG!81+1eKKs`nQFKEZ+pEmxOb?pHe9E zA#@@_nBD^~nAOqTeESrm+$x>HoCOyEw2D19(S3kO@3k&#Q^htqM=*C2&M6zR0((h3 z^22D6_53GN$F2aIfte24wim@rs zQTqGz3THjzG>_Am?r6n4dve(sqqcEsD`)SNGJ91O18H7Ew4#+9<3Q3Tk%AxQw6k|M zs@lfv)Z`ECdzk`=glZCCEaxv^TGeHCn8Y)cPQ&XAUyE7BtKl5XQs!jgpL8ih3}y?q zLf_WvP+~(Il+6 z3;u6piXBY+%Ls$@13Z2PqLY*@!ZN+t*F)oZ90ogHyT`JHjY|tijWb`Vh0_f)kGg~T zyd|4f;C+xqTl!Us_sZv?lzI(-%wbPTA4ljTFOh>(>S(mrLchHlq~!;a5Ad|w@VpqG zzDjKt!Umv#^j444>PW*iaz><&+iXE-^-085X|-IOIbJ$L2ja9qvbl(d_3hZF)6`KFC-m)3S+vx^z}HAt0E zPkKe?V47rhV1)KVxCR(MMbT3i)2;EWnup{rH}(FTGj+&;j84`B8+#oB+_(vieyy1C zNft=hIu@13w{f}^hG_@oiN_dt0JA}GLzkIEFaxyNG>4jkn(YK*S1w`69OZ(r)&cnz z_mP^`@MX!S?&GO`u%QbJZ$@M=7_s;2yeTyj>HJ%IRf}kaDTpdb=|ED3X1bVUly@-d z-hp?741-JE>I`eWgV(L9@eZ!$>}wXNgjsh-b}s$ElI++Db$X(~Sgv@+=se+f-!!=9 zi3LvnK;O!QSQDo7%zF+c6leR$ZZlZk#r3^7HZtG5jcm%@f+Ql7%CK2fwL$6GDYeEDLdM!L2VG527! z9^@N>!-_mY|DFR(0N2Ja+Tis!!_8`B>5v7#oD=NfI=-t8W|}TDt>p+@++6mY@Mb)* z1*nwH_GqQ$O1El7Dy$1z@s$RM{w_q zu{hb9y#m)SREH(x@*Hbne15Xm0KTSagDQ|=M34X!z=VP%+&mYI$&VWhPF`xsZOP_| z=#EpK-CyCr=}hGw5jI9a3t5Z&chs8l{q~K7gcQ{XA>5(Y!r=>Y>tjDeo>;Awjo80~ zs5;_DZ~vC#mW*CmW$y^z60kEp=?M*zM)sJ$VM=|Yx{y56OB3%Daq_Es@a|cf4caCv z;~dl^dQ)3DB`Y=^l*r0>jjUY0qDEG9*Eq6L&Z^N0D5;iv^ypkQo$hbS-w={$4oxz> zRzH~?jve2wS696))LR%4M?6OfRbEe^TvQo0s<0+REeM7SsvKz3!W5os%#5w!MLGV3QK9zCg<7f>Y1GPXW~P{3Yo}o+R^w@@ zk$F)#Wm(M>i#ubW6EUtc0m$BIDA7HZy6@y;tpWe=-`DVcI5Gn+DlEV)L3323?1hZ@ zs5$!K)xXg-#Og`aZWsc<0y4+OfwD@;Ip6DYjZ?upIB2yQ3gv*Iqak#JtHCST8|51D z|K#kzit~jDj#At)DEO1Sd&fW}G8_1i6{M(4rf1xJobg=ItOQgt{!Om6Qmnh!Y_w|M zOiG$}r{QBEX~Lv>%J7RAxm1r4k5?3wBWO>KX_`bs`#tt$uY8K*9v)Dd_9$6(5Uwq8 zrd4g`Lb--=WNO_kAEjH6;u0pg`vG#Vr0JUfc4+_&WtFOpGiJ(9uWq_A4llmN8x?z= zQXDw$o@ajbaDyE|Kdb`Szt_xHo^41m;abnL<*?|@7A6BGHAU{#?C6#%LG*Ie{bIgc zXrPIgTUD3kIgSp|rxhEzThUOemunbTFK;TYUZdKoy5B(Ee22E#@rms<<1vrsAt)v+ zYeh<$qvP_&d{~*EZoE>#)3IFUnwZc?Kw_A_F3OUn)*_*w%*MH2Df&`9+Zs9Feew-f zTCv9}iwi{>q*f*njHsMG+38FTQ)u~k+Dh%SeVZRYQ!-w<#0SZM+zU+ z=$K}(NDWKr!37&Jv%E#ng?<4{ya;j8tE&D{6VGu_iJ;4AO&{rz#3=q^yhiNC_9uZL z%_I{rzWTd(Jyw2ow0hOwhJgTFs6P;ZgGcWK2KhF3bJi+K4nt80*qg!PKySMZuEh+{2w z;bW5N#9);&r(L0N7RP8x;}JxR--u8*%JdlvD6MqB4~*QUL!Kk}!rX%<7aMf3$6$z{ zTHi+zoaJPN8RSng=j1c#5n8YG~@+ z$9X>8;bl+R2#>)z>%D*+THhuHX_);$^eXoeFqjR3p3pExF!Y}y>#(7b$n$V4&nC&p zpC}z;1!060DHW`SYCL@J2`v+SWcRx$L9CwxhN^CCNb4G)z}ViorZZ6w@2nI_ALlu; z3O!DsiL$-m?Htz{F!lyrE8G<_vDUzlq!3^gX!#B2v)(y9jWm3JyF3AdGjQzsg+#{6NdPbAf9TpG*sRAr_ zqVFaHW}qGXk3#3Rna%_<=OM`g?u~4G(>2%80;(Lv+qKj2u1a3q?u=nLtOo!e`S8iR z3k4NW=VrIR(g5>Wmb%5CnqZ}^a2Y`xra^CH z&Pw%#BQl}|Id2MdrUK&_{MW9WC;R_eYlO5@g&I#E^RPbVfyw#GTwvqRW5iQU`jl6bku?dpID% zT}`D!ergc2ftG6s?0caK4Z~d_K?7UVj9q?taGmYS& z=tkLtbPG+n{5TE5zWW}+W>>}`g8v@=$h=kSI5tMj0QHcmhmJwdefF%KhUM%4nJ6&x z_zEywlI>a5>>ta~s~$1d4j{b)^qfC&xHS*Jqb1qC6<3g{PcL46Kd=9w*EryjkCugb z^6nuLhvR?A9vDudMzpPdV>~`#xR=&gSVBP- zSKd4A;6MhSw#YTCEM##a%`7>nHsp4LF)#>Mj)gE#Vq_gln=CCqybO#-c^=jGQ(Tfq z(#=`R$F(V(o!|x1NLN@+_Uh_QJ{IVl^5x6LIBMj(L)?BH&EOSO0GDrJ-orXDU)#9y zWKz}%fp5zi>Di26|5_KDb;-KDs~tg2wvhGxYa1u;0=yrs?PMg8@E z7!Su*YL0a)FJ>0U_&QF$ASE)H1CCFG$>j@PL$P~+WTVPizc!@op0Slokds%^)rdmK z2)J9KT>Q6L188jq`yCHkM%r6F68`k1Rb8$4ZuggAc2@lBJrl7vsGu zn|h)A>q7Sz3Y}|f8*K6eV>HJ=#%64Vwq%ke750BfN^4<%4FdVrz-Pvnm%8ee-Y`$SK5qO6anB4Q%s;X& zUftTntFSgv@dtcll<5l-_Vaa!w~`orQeTRPoOZ8NWz7FX~a?zc{mfQ+is$opNK$fvv4|)f~IMN_~gT^Lg<~6$V z*>z>h7*)BrGnBF%c|xk z^(ZM@kOYKK^X?jXuIW~+KY?X(LwQ`Ad^x zb*3h*FQ;77hgIMLJc#R?svGuN$HSt733uET{`4i6JRHriv*~75<@FmWmDQXCWDvOA z(e`8O11#5%j%9&N=E;Ab(~ztPigGU+Jq1_c`@(pE{-=K?8kYSBY#M{Q>n{NK(k_jW8UDPQHtPlZ=ZHrL4K@E7bypg!?tqj->E4BkI z7sPW2^g7y_I1kl*YYXF$s=l=q0YEakDFC|5<=z<0_2ZSGV{V=-Y-&VdW-4*>#rz5? z3T2~QoX&_9o;=iSvouqZXMWK&q*q(s>e`QQoJ(6bM*HT6m%@bV;mS#ywV!G39F~y( z57GM`UQ0dn9w&V^^z!c??=cGbSYS%eek5I22F09GpRB~_jw|6;(gED0drV{Ju6u6) zrYF_6aPHOt0@NcpAy7w~a#xE5$?*ag#`{rE72_7dxG@+vI#X>cbEpq+wkQ7bD7a_- zeG~gv)R~R4p6vUSt?DvgBGu;0j>6>7^QkpB_hExL0M`nj>1Ken)x}NcDc`kb`LN%b zH8puIC9|;l04#tcJhG}-P<|bw>b*76 zYkmMkm}0U26#Fq6D$_Q#L9BTa%1#>e16htG*_mOk_Xy%dmDIE2w1yc`u&w&c0+Xsv zeXffSDgo%FLyNi zR=l3hrLV!}T>DVas~8japxr%Y7t~>M%#y}J*i1&9Ryv7E>E8vz3GGRPr|ZbmV89x{ z*}CA&zYZHY`d59hQj(-3#_oFZ1GO9LXWr7pfr5Y@wu9r4Xt3tbAD`sxjC$;`4M$9q#T!)6q-nsz%=e;3RHB9z@)dT<3dX5X*!i*$4vUX{A#@%Y4w9RVs}St$ zI%k`h8L>)QC&dX*jf|~-z-E-A%Y|${Ycv~V06x@o?Q;>}=sAXT!oW$bPG*&VY!7^y zapd-3tr-ViWDmfi6JaxZFi>p|NRI6RcvstkH@&;Y7PO&wBPiZ5Wscyu@GfEC8LYoJ z2G#@KT`~E$OzE7SqaW}3N0{~ntE#R}!3cT0<|$B&_25JIQOHs5U`%r_!f_!T2yR_wjsud#%-o!J;t zYXyZ>Wwst%lK%3J_jsrX0?h$QSP3Dh=ITusGBCrUjyv_#W73@9>j4?B)G>vF-#vd- zH7K1k`O$u$ss@z@zH6rfv>OC};roSc4Z*=#-J3)}j15aw?HoKy2trw8@oRR}neGQ= zr8!0W>vL)yA*6mz(`x8CR2AeT<|2^u;Hv80=v?;b%#Ym!z*#=RGW)s66iehKCT30| zo;Ar9`M7orj~jZLoqOijg;CbP6C^WDg5avICA#3>(SarR*wO<_jKe6^v;Ve~e`|jA zR*V{0j#{OT=^66DG$KnUE*JW_{O0+oW?(=Anc-6w#*e z29F6j@8YE{*aP>L;vHes=lddTj+z?9X{?!n0a(!WLnXA`1QpUNn(_#L{+aY0q@+dLN0ZGEE2M zzb;WdHi5j-mhAAc94(Va*yNxb`-${c?`}>`epK8)obRWQaI81H&n(a)#V zcAjpQKCDqYlX(dVpp6ATdy%bZ8=tt}T|sZ+l})`rwU+sbmTsVisdTt93B&VCcI^10 z-Ib)#N`Ipx<>DhDkEwzq7aFEb29*tPano2_Vm*F-xQF=|#}lxVv;9pU=42Ex!V;NZ z#j|eu@XI|-%mHY0S52j7w5Hxdr$+sw6OVd+=|r z)Pbs&4yIZa+y*RZ=3guebLexzG?k_YV!~?ihoNX>R$Rsju8rU(n&_cRf~IGWOkNBs zYrPAdX`%Hg!a4 zc2JLbPoPZLef7C&v&&L}y?M6%v1*&HZ)wCzbt4Kg-R;9?Gd5tK(=Aj!(!A=Z;_6!{ zaR`fpkOPHH3tMJxr?`n}kuZA;*ZjqC79B)soBtGSq11BpLtq#V^0xuQ51#x#nb}9$ zf-Jl1IZAvCA?iLnzj|8(cL4~-h5AxOt43|5qJ3jAp-|D*3z=7w-ypmKWZoiY0f9%FwVPx`xq^K*q=lgTm zNXSdrGl)=HX~7OozAO!gd}c2ChHD#rZ4GQ{OHRDqs51S20oho-M(h)=4fUWd0Y8En zA;1<|Qpxjj@?2c7(;dcUe0*N~5%0fkG%%Z<{hH-q3>is2MaAGbJylDLObVXJW4mtM@a@`G94`Tw2D4E_$6_ z6|ug)>C|OPKldz&U*>F{Won55WODw@7SvK^^S9M|XO34= zDf7M!_V!ZV?mmL@qwY77yO8;SK9@7+@}qy{O!v3^iPBEjH&nRy`PKvYdm*!cp=~OF6K4)RrIDXgk2;eBa_;U_Exm2(d-5CfgSW6oaCtiiuA!SgZjF5| znN7OuDt$zu9)CMIX;$sR+_Sf2pQLyb9>@%n}1xi8-_fO8+MP|XKvxg z+EdJYQ7K$$tnc{^`msGqnKeqcz)|L-dVKI}`ZoDf%D$X;3(TX0-+xT@q>#BlFvZNP z^+PkTtCsKW2!Kupc$0qO4ZoTBdSe$PlhK*O?Tgm3WR7*%{q%FHg}_k6%<~L@ zB?!d>r@lJl7zY*cW0Kud%KTD~#mvtIXc*+D+j32>r|Zgm-#>j-KZQ)Ue#)6k`LR<` zI0wf+{2f2V%s0{PLgo?!>Rk*4fD-rgn6f1|08pN*z5dBZL}j~-xt~dByyIdJvbC*h zj|)Zmf+xDH#k&7uW>AGJu{U)x0i%wkJPHCVH$KJ+)Xc!Y zRiVbjg>)#BM(<-p0y77^`Gu;vVf|&$AvQiAI)^nCKRg3tO(__35Z!WzO1NBVex=@jyZ2zi2| zqgD*g%*$83Jtt?T(#!m{kny$MWAtBR4P6>>gJ!%&n|?PtR<_0aCRh3h-KQTAwdmuB z$q@b0dilxEBy$+{{zn3`Lf%Gs@OiKbe(bw zKv-)#=HW$ms|nF150e&8@>I^8?Ethoduw6!w&>Y!rJ)Zhc5VZsX&)!Q;O9Gbc$v?u z&Kzx4u396W>N-oA>p9;sl@M0vMmNRPRS#;1m>8-O5v)$wa11H#n3{n)pCN1ac=X0f zf#dkB;>2`VOJocs`|rtKRd`#R8|i{k?W1QDviC=gp`8HLFq(=c4TR=9b&Y)(4HTD|S#tD{R-1YaAF+^a{9Y0<; z6iYkwhXEP(Z_RvTz-hb40M%>q?cjo(%wg?};NSse=UB;MP0&rb|GCa%kGS1!In_GZ zXVLlztp=h+zW+_@n^wIWg#L$Xn-o;iT~(Ubi2F3AiFD9_mLN^u2!gDe^5Cr^nykZ# zrQ|=}Bs&nIr#iq3B{sKyM^}qK%NMUH)vSQ1IW{>`qg*Bu&}02#YDj8X^;(&&u^ zUx8q0;n}{r-o-Cz;N*E;rrES`@k_?{*;g-5ZJgd~-_ekB z^>&U9-xxhFKYpZ+PUkV>fO_^41REcQrXzqONuwVDOk}AQ<`&i*uD_)g{-&Mh=oQ1o zUVX}s@5LzXK=+O9#SU|RdMUG7Z^Yc;aUQD!VN0jJm7nNqZOlTM!)Y8V_No%PsLS~A z0$I4K%1RwgSj60>jni`ry=MrhlwAvpdg!?1AVTYT7RYb!$rXsKzImQ!-^lItI)v1L zY*5jYE4=}AarkQ3z3RcX*1$RmMjMA4M`tO0VRa6i2%*@Vw}v)4Vx1x+HC^>` zKKCo{a?7i~me(C!f{#SJ=H@-y@vfA?Wt7dGvSgeGNEkl%?zHMLBg9J}3T zhrp_KE}Z1;7a{u`d)t~oX-jVf>X%hePlPw&Kj4=dIsP5Ozv+fMX-wI!9g^JSH=IZE zoTeK-!HeHUWQ??xw@tS-ha?V7KO^(l;!P`Fv=f-V^D>W3zHTP~D&+CSn^qpV6Br74 zJa6d5Tf?&h&{N1aPP|%8xGnoQ*D>?+7!w%BN?Cu&L!%yk5vM#6r);$pjQ#-q0=kp= z*Ts#=Iu-M1y&#pR+*XV-aXo?sN-M!K4_3~(>WUDAGMWgL^t?3^&^W*Q}rE>pfY;-L^(Q?%OsF7dC$XvBK!SwiO={?}H_(v~lvo z5Dt0;`i(d>hy7|S-0UFa+#SmoxFR^%B{)dua2Eu)eecN?e&Sb?p%|^XeMd28QZPo& z{u3gG7RZ^6Fb~BFP6$h8rDb&BXfr?Bt4D0` z{6hwv22kXf#M;9 z5i@X0o5n9~+HT(w_cZ(5K z^SX;(mmd8n$9*Bkhsc4U^VVjfWq*W?m0lJ9VcLdM;ZR=r!LUVZ)f+d3hQ5c$AuiTK&3-gk>xHEs`z;RuPaCygK!_uE0O-*7lUr&mfoZEL+Fqn zYNYo)E<8b+9FIx9-VWZP@1tR|o46FbUMh5_VDI`bN^nby9-7e4sTT>|b+2Mu+6F7G zt2x^Db-$;5wUNZ8Yjj9rR9eJIcvdsPG|DBG#@~i3o1^cYUO$^QEEf&7(0h{Q(BFou zgwT=HzTV=Sr9~(53_=$Rp+iBaXwXQUymajZhKLiILLibv0g%^zSb6J^*uBD!qEjU* z1HfFEf?;}6ZxR;ILd(X9KJE}qi>mYA+ZTHW;D}#ndh*d zLT?XmTTFQOqra07lTnF&t+1*>CJorG{9V(h6i_tCID;oP_eU=~RyD`)gsax{1MlFp z#EZ8ifd6o!HDSQ&=(V2&+k?!!gv7XA_hUG9;FF6CG+iUT<^E#FGG{-f4lmCVeVpBe z*y@9)|3n1TR9zBrpa)hyEve zwYOrOV2Zu=lQ80^?W#B=#*DZ&>x>vAN08j^eJuPmnOV<#flQCS(Xb(Y`iyK9=2%*@ zU)+SKAK&x}0EZ2J&4_-Az4jyjp}l{zAFU2+9x=jZosnaB4U_}TnAqleTi3n@QF=Ay5|9s#Z0IZR0O9J?) zSD0MRb9uL)M6zG)_SF+($^H#P*@-X9NJR@RYqMvypG2Il(?m|O*AruLdbN~-Hn)(Y zB2My*U^fenttV4y+>p*stvFd)tvJm$_%#dlgZ%Y7Gi zqeER^af%S!Jb6V+i1Gas4r5Y}7PS$a3(HkG33P^^NCe*QEDDPzUZkEG-#)Iq@p!cl zcchYZ1cEC6%g(lDmItrof#^oLS_-kH0RR0s0NHZrL5)zsut~C}{)toC!5Yfc%qu^k z6&qIu;D0n=eX$_gut&&vZHU(j;RdP&ZV%0?JAwXDr)GMsx;+66Vj76*VA2AcL)8dD z*_d4(vUsZHe939#R7$)_k+p0i92S>E^<_|< z8oLL{!2h-u1=V$K!(efl3L!{4d=eCk%GqI|NT@X)$F#p#4=IIKcHT znI8e(JD(Ohdv{srmDZ6;UKI4DQ23`E0CvnpZ#bNK=cRDMPSB_qdk*?*SGGW6x_&|ph^ntpz@gU zNMBtkD7N=AB?5lkYhnMoFb{Gt{tL7k71}!$jBltr-A%!`$a+(gggSz8i<4ATnq6iQ zjHYYy23d`_m>h6lroCN%26?&7dhmd5lSi>)c{%q_mzPUslNUPwKSfTCJYo;!_?Y#Nvf#l0%_fH^de%Dd+2q6gq+OLF!@;3ek_~V* z#W#FEfg$^I$i(Lu&{B@uwkC@+Qj6KQiFf`PWP*-kAtof!1ZX^kNmC%7CjB(uY|VL_ zmd+#-!LJAq(?E;{h;Qt_U45C7$Yj05?@p!@gVpgOzHmpB&)-hR5vb^MCJkDc?AOwS z0>?<6nIrnB2wS~VjqQ^S_$%hFqzaGrk<3(sE+wfBC@qho9tW?*<2I7(6n=@6zPj+w zku+Q3zj5%|!slc5VoxizqhGzy5A9QElz0Tiri`+`F~I_57W$oyUsT}QBJshvh6UC6 z-`dsWYrTV!+QBJlm6}?;Jl2>~BwnUU5dVc=k~1*krNr}`0CF?tzbAFLmjZvK?9YYn z#}9!XrR)=WUZdw4zw{pvWZc#n3)$Pi1abCtr0KHlj>t}R2z)kqy3Jfe#4FFbzboHo zlJ+1}vB_e9Y&mb3u;*@R1Y%B*nA+yxB@yKvBMbFq-@% zDG-P2XKvt03ZYo+0kI4AWsuo5Rep4Eg(^SRa}8DAO(_XgY6Tczo$5c;r4ux!Y}qGs zBO>q>ik4_nrdnk_ZZ%Zx;@q3I2ASL$_s&Ui@6C0%_ia4uJ;Re@4_QwqFK#BD`&kWD zcwV`Cc$QOmey0we&r9POPbwp|dmv>~8bHDJ-IlVOHR_ltWoLq3t(3Kj|1fg5rR;SJ zc1OzQrKqxh9jg4{WxK;YZEK9B%x)_i`nRw6Ki}NR;;)z1W#_kMirq`WVmHKYc?$7M z>mYtc8u34ko&SPYyGQICJhU!5pQMqs>}=Unc6On+p)a|5n;m0W*f7Lg%?!KOt5gPT z^Fe)Wx%VO7=tl`D>*+4Npj|f}3|o801gV`N4BZsX!70cU3^6M$if4=1( z_51@Ne`{6##pGuue{+&wPjUX|TmBKxj{`*g#Wj}yScMM_6UBSNQVIWw?*f0|d7@|2 zHE*P29BOFAG+ynief8LMW&jS05XPxPBSX!uRT?Mc*70g9G1voL?tK_Iz+`6m&^b7j zYuZRCsIX?Cx5|(^*%rjER4D%bW0}f0U0ri&QOiqhDr0N`(?!?e;#TSr6NbvYTLThB zd%7zy;h^V<2@&6@bf}sMR^0+$e_N;~$zn&yeqxf``CKQ--sXsSvre}4nYLp?&9to` zp2-((hV`2#8}teeU~tZtwCC7MSm1yKZOzp^0^2~93Pht}XfzUNl!(ki!07EluIzZZ zcbXi~NICe>Ii66ptx8swC4={N8~FOF<*<0!LQ6V@e~QAy%A!5p6{vXML89VQe4~=l zKt(NF0Fj*iFh(n`v6PLE&9!y<4T`-vh!F8T6k*ilKMVZ39cAhWOx`%PY>fZ}RBSfLM*>l=YJpFEoh8zAI5*FX7 z;0xLVnGKQ4l)GRPI^V?Q!q^ZFss4gFtz$VvW8Ab*)^bA?i4JG-sVK{lS16|FB((j(fqOH^ zThlHk?1U665biV?FzK5ldX+Y0IH$3$PnCOh%y*DuK6FmGRC=VT##j3T0nOO=y?Wb) z8gCRfnBA&))V+h&?loq3D}HtFT2Ef*XjvvV%j?`CAj-(HY{OkamUlcSWf3q#W|muB zG(!G1Sc6%Q%~jE!;{118ewjRIzc%EbUzJ~$53^psTe!;dhi<{mdU1{AH?wS*m|0%v zW!g_{gBEjjn#}UcQf65IW}z|54s1UaT@GeBG)~A3!YT)q<&?=0ooEjqI)@Sive+>& zRP?Kdhe^Wr<~$IP;&#C8YWijA-k31;~c&tyLf{JWdw<@RAs zDAeA}8hY_5yV2|=1Uk0nNn;o{6Cq7V%a>Vx5+>x{$#%2}mHlLWN7Kp}> znFU_Be`0~H&_MWb3NcX1?ldeK4Gg`Q24;Kvki4GU0{4S-U@MDWtPL1c?>#PRiVbf+ z&2dX(X7u`hFvHuA;SE_-&}G&hSzUXQVRox~AY*H=F%;bD&O*KF_A-5A#bb4Klun?7 zS=}HzvQtx}FSMH3`Otd+Pr>T)p>sNAb!S*uH>K$qL)x1DX+H1g_LW2ivk+pZ6~{HfBwdn!kHK?~nEt760$^dH=Kj zf5qp$3;+24oX`6!^tj^lrcCdV*1A3Md2djV>;H2;@4km6p$3JH2_=TPVxnQq7X2+{ zpHYnN$4D%p8lUaYZ)@?$u(oP@{8+9cDb)Wg^braPeasV18vH=9&v(%28T45T z_@2;b7m}HX<(C)F6w5eom0Sji-?d!!>_RSIs^-2G~3m)SRk!)vRDUEsGnGp1O=}iA|8OWA9h5Rg8$)A=`$H&y2~?pckwJTFR*| zPK;RIjOkDs7Ns0rq?I3*Zbw05_cTLkisX7kIt_g3co17RjbAVPY1U99o>D9i`Od zCi!FrY7_)WIoiQ$9zIiedb8Q&LD4B%d}GsT92%@=&3jE;EGtcN)lP%^o}2U@)l`N| zMnX+Yjd!&~ky8xYSB_5bGN+p-AE~gYHL$DVMY*uqSWg!A`^E+7xbRTe-nqj0^D1SXi71}mf;9Y>)4&i|M5B?0k=6-?7iLJq z2C4|^y>n^!l$UAJ@Ti{IRoc2I((q*=GE*9wnY`Y)G}N20N{a`wQb=!K=6!~!NDL$@ zEoo8NkE%UAr}VU_97>E}4^4u05E|G03`Teyn}pBTHwhO&5Jctg3=j@KmqCO1t+A*C z(Lhwwhe9Ujbt0=kjY86r|Rvl-F2&)YmEk$NtTl%Z&uP)uQlXnc-f z<8Fz@DlgMS<1RfT8Z9Oov-ZQKPOgWjas=NeWXvWfMrdrsYn&|{xm3#jC@94Tp(bQ& z$(7nELk3<8BHYN&Ilyagp1c#8O4W|?)@+PgKsEX4<|~iH_nbl*br*`Jtwa9?d2R)x z$?sE6>}j;r6hhS!n#4=_{#Y(})f=r+)_;kHb?hiau9j03`GCv`4r`$0biRG*~F+yD7rSBubq6Z2b6J~I& z0@j&;!BM*p(bia8sw2FnCtpz0mUBVF3oN;m?`#pp+a=Z*7OTv-u*`+NYB%L_icFSL zq~xFtIT)GQ$C!OS?uDQccju|zz!tB(UyE1hE=s6MWs%Dt+;ALEv&N*y6E9E^wO)aL zr59ps)jT;we(Xs(y0b2Dzetqc82ZKir2MHiNS32yd^b~n*T}s8PxUt&tViqa>Tj#- zZ>vc{js8x9(H`kEHov$~dB?{~fTHE#D0NzJE@Qe#^Ll zYxgkt*D-R#gnIBHrkk6t|ELKfQ|?N!Xbi}!0e16p)sRdJefXb5XhtkTQ;tp}_)zQZ z1jpnk`!p|Cyo~=EBHPKb@kWdr6*ICkWcP!noRIce-)2|swLICF8nTFc5Z9L(Bde3s?A3`m-D#pN_WY<=)7TY{aO>hwKD zNBLCcXq{3)xqd|1?>e56Rew*kJMsKvJo38fKUACY3)PP)-T|xE&GbhHVJscVbZgV~ zpL14w%EoD3bUp&+2!bDeTnWPY8DBcHCj@DR0;@kiS)(AM)CyZ`A|Ii{>K3$}_KqNO zxbTkUEjyMs?^r%>$3lhZx{UpsTM+^7e3J+aH%@+}o(OE?*5zc>+L4xRM4)b<2f{w{ ztKGsibk5(2p?BFihsF&kgN`U(K*zuF*^Hd^R0D&6JP=*4XnTHh>kJ_|w9=?VNa9gx zGi{uPsZ;Q0N>Xyc6MG~jYqr-&Nfps%N=a-GTAHrEwb~%m3)Jk?LZCV`BR8?B*z4&U zo>Uvypo2eq%19f`1)7@QHZLtWCsYJy)CC9I(OXY&zV(Nc;OwsLxIoqG{E*pWHgIHd z3^kjTj?HR@4a&CQ%kiUL~<~!%h376ygcUdpqJ)^Bp*vB%}G?XZt&cACI0F_ zGF}3In|ga4?OAy28-R2=MhMK}nXCqi*pjZoaMQ=#axd}*PmMK5l$q|u|KEB zRhxzHX#QT}@skp2|HrJ9Z@-QW>x(#+rDqWB^~PvOo14wbL(-4<5UZBNJ)Or4WSBr0__ z2VFTIw$>qd=Maypr|{yer-ebWQe9(QFA4^!w zjNHSTSG=CFM`hs-`Fr-6=eP^NQn&Cly~)3?!ve;6Hitat5h5ecsh;QSNuK*do-XnX zohF0dJAB#RvRRW)L#Wu=-6c%?!1}XbK;@i8N4nU_Vae0!lm8jTj`nM8>HxeqaA7i0RPj&L>rSU$gd`RF~N*V_4|k z%6Iw_Za&LytuEtzUWQ|jGI9hXG8r?*a)Z%$UzQ>|BQV@9uSI|0^Vt#?uqE*8C!wejaY7yX$i2CBTf74R7HQmh;znA3fPQy)j2rrVR>b|DxIDU2hG*7aq- z3fK_Xd=)I{vN{L(jry|p_FQx?*sSB!dX8L$`R_sspfoq$Fr8S?+ACt`h4$&b&ii^U zy05X=c|VNfTE}Acp%};K7>;A`El%0~W3}U9u)c3sSXc9LHYxfLu6jMlZj(pu<91;? zngCG^9lXRExSQ~z>cNEw$+RKuMgBd4Q>W%Skk8aedKgLPnl=pQ@>8!}|5_CD*i9Jn zft2V7D7Z&6Q&So?guO@^jG9+?4bHN>sD4_ilfwPPD_+xTYbGOEk!O^O9)0pz-S=+i z0qgu8vXrCyH8tR;I90nS(KqXX{|uVd2hZ07{{YNQz+;sxU=Fq;uiG)DV3Q(F>{SNb z?zOO2oGrFQG3Jl+wJxWXy9`IL)p}$jR0xw`4>dHh?`=BD)&R^fteu2lrokPb8qa&Z2$bkTUqN=y3k-!%K zQ$s)Jwc3&&UT8~T6Kan~f!+DxS5$x5!k3+t^U6d(+lc^H%T~fKS@pt*bz|P-SD=do zNSbb2Z9QAOb}8J&w*u2$ul1=B+Y}(i81)5Wj*Y2*MK@6w*Hq5i>gHUIcTulOE4v(R zbkjVWKF|5lPILcb^|AvUk-hGYMmtn{88$2>Gl7Thjct44=^arS!P;UfUa_F5zY}(VQ`^FZ7nSC_@0^W zY8h~ubNUN44jI`5uq{L?Dr_J_!U1-Mt?yrW$|qD{>gn@l#Skqx91~Udd%8BS=^G6H zt%hKA(yT^L3zeQ&JyAkw^HWjvDEjc^vlJl065>II-7@cOmg?wVTj5GsRjTweWtds2#p6$HKG|I28Iox=l7wQ@K%Ft-1p56hL? zTCv3qDet1T*Sx>RD5~ICv5P?vby&Pzd^t5aS6I)~Eo%#SzUc=w5yOQr8nSkez9)5- zlrNVVRm0vd8S+T6QU4wOPP_s#mt@yWsJA>RdQ~6G^jx~$O5Y)=%2C-6l~qma*@^Xb zTnF{A&W8Wg+bb^H*`tH%D76kdOwRqSz8rgxNrS?Vnyc4RIm6=-7dO1>cC8plj)=PU z7i0>jbS6?0^QhWWi+hxr`t+cJ)R1>eTT5eFm*N~j7A{x3ECtnNSM298!tk`G0oQ2BKmt%b$3D{K(AE6b-QLAhe zNoFl2OU?^+Ax^HS*y#B!xq=owu$tX;y6PfyP@6XKatk|Ubuy(>eG@@^S$fTm3+JS< z?^TRCDBhl5W4i0d$imrAhsm|7BV>PQ@qY{8S)RR>XGxZA4U_^mO=&qxe$&d@sG$~% zjt7^umh1iK4qVs$t0A!W83-I2Nzd+y`2s& z9NB-$FL?w?LSqLFS1)1v&v8RBeHnc`F88v9n$)Zu{k0WpG_v={ex^#~k&>pf$s{x= zf;vODN*78TxNNRf_enYm`c+|v{Lln5ZfimnGnJwUg&0LXk@EMKo+p~9a{~dQ#Km{; z-;rB$|I<6pDr}BlFMd$C{p9SzFI8D2>yY2v{I;cUPjNzJwOCn{aaV(a*uWkz1}q6% z+74^*-xt`gzKzpsOdcVeg!`ZGaH@g2-+;>$VzXYV4-ipEFj*fm5m9qOFRu3m1U4~bamL)T@;V1!aD$*eW z(7cdc%OkHkMAq<_pmV`Sg!6q@qW*&ALbn#qKQClIkzf6Z2D=WT?;f1{Nma`I3OwU- z?Xwx@K4;cL#n1CvmW#uo1kAh^{_Lg8-t?1?7UvofDvnYpoy7EtvS|y}PT@y@pRa5> z1}eUFk;`4cMK|1yhu_G4i&GxCY@2e&cQE7@0C|#YhN_upgXT+gUn4n(FBVH9RhD0#l6(W{@8T*?7;y2 z2?Q~+|Hf_D0Fu~fJ{|>XDNxd>yaENB#g7QmJFOjS#Z2^dk7M>rpinK0{$aGPMbE-| z9t@73??k$4iAz3Cbg zPG^CWP#kA!d^sQ_Ac&fzh8SCPuZ8^KI2N%Ch*5D%$J7B(j^6rRN;eij?qK#em`k8g z+v!M8yVy;!)S*>F&XTnlp-C18W!JS%yc^}{2L^J#AQ;N3byu4iJXMsd_BNb8DMevJ zAFBomw_c;aYkKszbOnFU@C!526f`s5EAZkP0|%|}svHG%sp0)Hdp|sRw{klcM$aQ$ zU+BF_Mf9qOlkIth2H7Lh!xxAvrA6Ca4;M-ghp~zdETX-bK7-q4Yyf|wa_G)ea@^}V zo~InwD~DlNwBotXi*dPO#%O1L{D|@ut-(w0kcKTSj56q<#JyBve4fy67+G;F!Z5gU z1+jj1H1%G^^2(?W+J+lt4iqA-%2rym)Dd}%x%4OlB2oXpgN?$}Pu#1b?uo8a0(Qdg zlsT&~X1B^*PPXb>WtPeNav(MQSkz#PT?@jkGM@wwZk1Wf54ARwd%qB#Ky`%2B%fV! z5v?8}qH#N(fPK7F)czFs#ka~_nHT1#HeCzKZ$Xpt8?3ml=IC1wKPw|z<32R`tun91 zq!g{@f?f2H->^tlv`A}2X=6p_CBtuo8>Sas!1MFi{{!S13ddDCs9m8`l!UJ5HR@KGOX_A*YARc}RVHN9tuo8&W>cz*wIoIMrRW!@?e`zN6oPeiLqqgM8`W}x5|9nv-W#d z`$@#y3^~6}59>x8aI1P}aB2Jo=tlTQ2Z-A`jr&gRStyY}Y8T^_-{lIViB;sV> zYQ)LPcX1l>tkvS=i6%|~R5CFfiia7zRp+p8h!fRUnB{rxR+$m<&R~`&LjU%=j9CF* zx5|tHU&Aa*0=V@%rody4jr}CdItgPA3Z57<>q&e}Gedn~UT#|msT;&*wIhUj{AMmJ z)Gr8+OwcVP09<=#?d@odvvB5RuGrtqazF3=8KIiDa0$Cf*S}O*ON(yenGWV9Y-f%x z1mEHsxg?Zeh1vOSR=wSi;h1=_^C&j1$OET}n9Pk2)jm&_@#@WeetAtYPE3!cR1RLC zhMm(4(eXy~OQQSFpW7k|F#+7R5Gb3#;*pk5;0~nYCrKQ}%B!AX3g3!tEvbY1Nsd|YhHawjEKH5BVgS|Nn?!8FoAMP+lMK2Ojl!W)k6q7j4)a#wr{oa za?kwQgU=R#)}1s=8N-%UF9{i%`3;MCs@6Q+dLORt+XTEo17;hwQvvRi%XMV*7rhW9Zar(6>LtRbEeSEqLQg$ooa#D=qIiOfoe{-U6G`f+2X638G zxj8-$L9yMK;5qNsKrsS&7G^S@9w8SvO!T}`5Xa6k(bH|iNl08X(eoL(Y(CMGB5IpB zSwpr+^ViNPt-_LdGZZFqd=yn-l2P9>wiayl$36Dxw)$ur{f| zIW*|+667EsR^yk4P=e_l-Or0oxJ3b${Pf)Jnm9$*UX%CEFeKj~7Lv9Gv6`6zmZP`S zT1up(d$iDbzYC06u~E>)hTmV%J=oR@Pvt%WlSk7Qq@qDG-Kg&D%B{}CdTuGjMp{$T z7lHvormAg4iY`91=gQS|6_Z?vv_PYL<{N>aSzn=9l&{3fdV$P_Byqlg z9(RqhMJGvd%PTogN)q4ZiBqhX0SP&1Q*wYT*vj4ViO*)Day_Gt8c%N_vOPwwv82Sq zFsde&c4^+}d^1b**gcjk`Xldcb}6A&IQdJm0Lx%k+UQ1Rn#r}>RXVM;h8^IgFf-51 zKXw2@l*_a`6Me=kSNek`&hxP>{Cgz!lUcnc0L(jal%_*f<(V@ETXPx*Yw03=&~nDo4~ z=qa8VN6o*RfkMljv(#=?m=Ls3aay)x-SaLEx>YR_FGn|H$#;fmaDCFbN(XE9MU6?J z{FxNWOC9BIexi%MT_2wc#uwLkrd1e=bf(!>Ba0v?)202m^+KHQ<(?j;@y}i}!#pKW zdsmoEMeCEz;_YN!*3YiFm_igH$mnp#Vs&Qy~wFd>JVnsS>C zW8YEZYqhDT0ca#=1fsC1Fb$USg)jNKt;q!pWz<3LGF+ND=@IdClWTW}CD>{dp);Y-kNja|^)O>s(R# zm9Gi=&47WmVUOmL#gQE^XKmd(%c^5!|G_e_23w|v3|tFq)0JltvsnKw5xBId#53x* zMPZCj(jNjWlf$H5m?%VUmSjh{QZ$}jOk)WdH4!CBjfi8ABd&b=SB0(mJb)x<@sjmA z{$Ddt&=VrD6hIT-X&4CHJq!TU#R3>syy{WSCzWhIiAb_NLmo?SCS4dRUC&gZbQZ3d zB$2E+M^&!WC|EBgkB4WagF1%5N|C0rU!-#>PMWf}cqPPh1 zx>%4;{E7tms{oA#wL>b97*`UcMQaA6B*Ug8!^-Z7X1MLcDV7jhrm=E%(Cx}#T*-I8 ztV(VHY%J$?1%HRezp}BEHP5PJasUgY(7Q3I_5fPbca@FnM|8RT7C3)9vW)s)& z6ZL+pe*Yf()3)KV9OZU_1`+`pb~lDRO}8nDKNO`Z-^yVT7~~dJKF=$!V;|D8Z1f2R zw2CWExhm^a6W@3#?w+9|c`DiIo}l)I`mqiKXm%?d?AD*x3RYRPSQ2*Do+ncA6xsvE zl8l|Ur^d#{wN&_P{_Z83+x?UM-Q_Sd_IKyrV*FjqPc;7>@l9&6yN9jwKU=sg!cfrpU&i6Q$l6ND+D-EGVg~1#f=TQ5t|h6&ii9M4 zDc8DF%I}u+wkCRC;AYxWziAAJFc+8%DUgNfw_u#BFimnrA3}Ld>kQgPaU%@SYP{4S zw=UZ?vXIbv&+(<=T2xPlLbV|`r)!O@ZMUh1*-ct(OX`oUZb7hOSsVC<@%MgyqC4?i ztJ7!NG&ZgB(B6V*0#Y@L(|&*VXskq|2__ySucjl8%_pHND4|{~z|=1U!l= zZP>1^PC{7H#E6QD+Ad&NWD^+-i(v@{4GWqJV;c;*Jg~lq4!D>-`)Ju$_UqzJWR4i{tMQd^Ntd`D@twY_Q9AZ4JX^-PbLX#E> zO_SM~-V&B2mD_mt6E6sr4B%~J01w5Geg?kU0dbgaES(@>*%$2i1cPA;M7@KGTBO|B zsa%j(Y(-DNmUMb$G%#ps!R|}~P%WLIB@;GUZ`fjzJ60!0IkZvD2St6ecKUrH=-RN} z>|}Lk_tMeyg_LR zZ6cHU;N~A+(~|QtExcs(PUgyLmR?!Ie6d;eRw^l4uXt@Go)LjF>orwYh<8(+@(MM9 z-f{(exH{$jCqmUg!dg`g3n)|K$qWIxisH4ocE5}{)027O>DxZ)QrouYF~NzIlMXep z^0+zJNhXM#Sow{77m*W`|H{Lqs+YfAQlP8VgQtbvBt0YRIq5Flv+(C;*^?c%l$toy zoQNP9DU-piLa-xN_gOm28Glv@rCcJG1*Xo*rR2Co+Yht9V72jxL#2YUBdSGkWL2KX zOR%9ng4G){-Dw`D=A#mah-4HCD%R2;Y|Wp20K8$>ckweb$1+?bbIsNOp>@+7h2Qg# z5`}~>Q^GP|MtRLKt{QcX2SE>6I(`fnHAsPnDp0#*%X2e!OYKnF&q7av#?4!5(94cT zjx~IYsH~7J*fcpf>Rc`p9cFnEU&_hq>U+dyQK=;)o6MZdQzaUbN9A7`H3>P>Rh%*3 z#x$LgO(JN;7`QbDB7%z;o>(bO7p+u8({4qjJQ&ucsYPm&q|+t0Nzlt9N`~k@LH%d~ zvpw%ygRv3K?7?cJ69`9o@ut*a?KM>|EGOfICdNNmrILk8C-QxTYZwZRETL|4Au_3~ zXiFfE_(JAUGrYUp1_xoH}~)zoNV?lh4zSz$$lgcFHH>Zu7TV*H$Uh7BcgoW*c@Da;0Q^@m;n|hjp}!%ha4&{2|8ONKM|M*{3K@ z$P&Br)Asq#GL5U(|Mrm`dP_aPn=NX}jcJy&eU4r4gvsMDRt3Ftdkbk2)YloHu~+jE zka+Sr)39oNT@=~Mi&OIHY*V4IC+B!)THPXpo%)~>V|c4!rV3VqvhIq0A0^)&Oqq{s zDIRuzLPBN-;x06nXj+bxQ5A!}p((@T9zmBHLr!McVkSeh3|l-3YQIIbv)voj%)Lx< z+6KzmI*e=xu05OiN9>q&6%W*eELEt?tJ!|NKZcf`|26WTFv~2;|ZPWHeEd(_$LRm-Zn&HyeG@sd5 z&V|{pJoVr{FG!P}hE=drW0+WxZC;qITAKFyz_cwDE@($)$%NOLE;55zJuvO{!wcpr za_oO3nALVL*~2F@#*CpV$`a#5xwa-OH#i7mSTVMWV))#`|3O{rBWXOT-)R>1q#sh( zdR*1oruIsj|Dqajx%{8hwR%(f@It(4u7{#9Y_bZWJdZccg>-9n375v6Ty71qf2*cH zB*NTR_oC>OZ<^HsE^3mu+eC{eWebr7$Kt~@NqHi=HDNQ|K0@94i2Do2M8?V5T9D9- zIA|i(80RlEi?(!#Q-873R8O|!blCj`dt5;#!ji*Vd|79wzLUg$jnt?7=IcV6Yd<$v z%S0?yf0XAfeZ~i=R&J$l-gNaB65gspZ)y`GMU$1PSZd#^%}j@_&p}J-5$EcG&)|)!np8=R zo~t{V%CcQjbHvWSovXw3ng48@3MKy^Do*L5Sg1&7l9bELGD8%@YS|+$so`;w1g<@p z{&n3_(KGD9)Ud{D!R}O58z1Ia>Ja4)R(H&huvigk@)Lzzdv(tXtp64M%_ zZ4bNNpzffOjV8>J|H*xaxzhchc_qpK$ibVgC>B(OCjGZ2BPNM5t##O~c&&6lL;0(R zniKnEW$Oq`?aQP!IAt;i^VlHdQJ*juFX1)caGm&MK>UU(E+*v)A>y|;Iez@27G~j ztvW-I{gqI<2E%Um=$iX_QP5ZNjViI$CY#|UFb8R@p>11D9M;fzFb5ohi>0_$bvMtJ zWEKU@h`O?1)7h$im(f4fLdmDTrHwM3d5_E?N{6zjqVhu-3MhAI%r?2j>V5HCOOt46 z`Ig-rQH!rIFEY!6H@m7q%rjZFqV{D_-c%8>YNg;T@0W;4n)*!EhcH|dRH$my#?ejo zuOabexl5#D{S~-cjnM?hdQ@D)R;|5u zog}_2Itfn(W#8=Fi(5FYR>!E@YS#d{CBsg(1k`XA@m2Q;o^5;$>jEZ=weYux%IE_% zRrl@vNhIJ1KSSDODXFSwD!bq8+jXYtJ^RUuKG5W0TV(g8mdz6c`4iGD_~3Btc@dFn3eVA?DQe)X!qM8Q(Dr0%@kyoMR02-ydlnrlqmViyc%_s{2F2MXnvR z$3(0&olg5DZoV`biHi6~A+LxgoLV6Iu%RWqbZTK-sHG&-SkjxIhKeJ{Bmarw7~!s2 zO-9W;QhQJirGT@a5H%!jTh}Ue-nf=LE};&8hjm4y2f>cB-RTIf>RO)08;YB2wWyjb z#jg1PsTI>w>iZ@!JvmBDTSW%spv5F2rY_}vL`;{;=u*>|J{&EHNa#w+k5WM>vBK~# z#lMPf6(;^eO6OI=5~=4)dMWAP$##NNqh4+uEL%BUHI2ee!*Zg^1CgH&ev3@IYp{H3 zjelRO>VZ{NWd7bRPwfscgJ{Sv?cqS{+Y5>_3~a-snBvpbeC>K z6K@vQgJq~`s(%$xbS{$aZ0+?Ax*PI^bFcejQYoda03B8YJ%^eNGb&V;5O z9IDK3llVuL`Jp)6G~frwL`N0yfO0>gBn(AX%}T;5<$?NkgJe#|&Cyn*daq6YefxqM zUWF6whEGUDE^0`%<=0X_q83ZGhQH=2OD}A>S7P>as_{xxmPC@Ec5~V`Q@;%E)}5o= zk&;8vv{vz}!Tnd;-zqArwRZo~Fjw|SjATG?bDGk9c|_s%HLh4=HxiDm)`&gXI$WnDlvc}bz3a0Y0f!Pxy^r;>Ofu9Ks@73L&56dPZYHVW z?AOwld|7+Kd{SNwJT!UDs<((aifSOWZ-po?#hYqHt5z*B6;^0cYoXaH5!uK_WbMu2 zVWdWvl(glZj6*VwXUaX;L#v%9=_k{8`;=al!5uJD5derX&L)kUTG^%GRGod`%H(+jSQ&A5^j|@d< z=mc{+KxBMn^~;NKq&8DVJ?-})aIqXcFJozP#!~Ngb^{IYg4Ss`NyS&R3*Wqf7+I&@m(n0K(ulIFrd}QzeX7cRDl)J1n3=e~9^38m0xoZu@Hgz|=*^E9) zcZ;Od@(JIQ4JdWee5!`{&s18G?V;pr(yFosQ>F@_#t_555ENX4A{8$QL%cD%JYB3% z%FErBbXAg{c%?{N?x)LrNz5A6Lcd%46FDlB1u0WG_`LzYBi=YR`x_hB=Wbp5gtqMkJQ zFs3-G-oeK)nX)sb^){M4ZexY_VWkR_HzF$W(sC>=eF^)s2Hj$V)+G}=?mDKn^Fk#9 zGV$ix^F`fVkXG&fAyr;D!}SO)_pzoj=^d6H2viAMzRb;TsjJTi%<5l8pQ6*Nk1|(DTmEe7dS4I8WPe4*}p%ykrLTh9Hkv zKT9!E?VgO@FdF=YY?QQDJQKYxhn!nJ;bYRPhFEYWN4a-xY~JqeBQjLdRu1WoH+*3Gs?!*) z*yF|z{EvLXVut(1rrQRdBf2JcVc z{w{WBZstxW(;e27id=%`JB#_@mih3Y?j~>0Q4;gv{{G55;ZWqIK-BV9}&gjU=#n(mWY$0g%Kq+inG_OQX;1RS18g^FA^i3?-fNa9DG1xG1p9!23q;hK0N4KDqG2bC)ru^` z4Lu%i=m&8milHUphF)*MP=2_f`+|lRl_!2gaw2LJ1U zvvw6U30`~CQ7JaHyGBO~+mDPH5KGfU_h=^m9&VzwWg@L6Qs|PZA;GuU@Z2Q5rcgavLscQr4|dsMUHD-7y z!%=(ALACC2)%PV^%L2~ji$%BNXN^72CJlMLQh9i6cQep?w~(FDW4DUlOV`5I!ODvz z{4$JID<3aZYdN^sK(4~|${I^mSK2a#{$^A*vu`j!`EPq5>sqCc!Vsu3subnzO08Z{ z=P+mc<5v72->q#{9bC!SLZr4CD*e*%s8P4gwG(|L^U~N!V}g1dZBink5EIEk@w7M9 z5xLnrc(aaRTP6ntZ+;uP8QNQCt9^5GYC4h<(NgEoS}n=UjL;}-Z6f$QVu&cb1`C={ zjl#P(s0K7R8or=JO`XqNVVW6ibj+AR9p|)HOCZ1e+q9#sWUg%-a@Txeqsdm zZ*%PesiZ??J-}tglCQ0=u3RTm4@;zdw5!{lGH$^~)YUggf+J>O14!t6Ynr!->!{Fa zjP|+P-*~^7LgpPc!bRIA?b`w*h+nV#;{qAnQp*N6@jw#7hQC%Rh zgA65Ejo!^-TH4m7R2qEDBJ7*+Qt-|oaV18i(k8y4M~f*dpI4Y4nTcov7tf7o1Dn)E z?0Xw^^b8rdKfLf-jr>>W+=ti5TM=9*7Nj5Bok+e?7fU3o!y;)Fo_A{pSZUX+G(Rz? zNyNembA&qj9T7R&e3ydm5ti?|D^=t*$?}p7J8>DxclQQI$LxH!c7~Zsk@+sDhJ^Qf z!vas|6t^?ctt0AzW`nk>zA!rqrULvIiowC^H&wf+y5UxeNLV8qQHeyz?j+iPqm|uN zbp66)SEhP`LD}VS8Is-mL7mo?U5y%`Y+h!=1Qij|96B9G8`7A(h>-r8D|tB>((kwo zg|t>0cuIVzb}0~@-mYE3(=?TujOZNRo8y`I6222-^H;VHGKr+R6D;;b2I*=YJG!fM zlvPi5t7NB{>e1-!!N=y7Jk~~~oi&)N z%8cr$Jv6hKGv+ICdqQmi?MP63#G|@-?M$>}7)SaDsx_0km`H`!#f*crU(QQA(zw>r zPCG*D{b~ECpqFRX@Myca)ZV-$HMHD$g%sXw^=SGPDn&MyYSwB)gS9&*m3+UF=3Lp` z8mjsk_l){&_@#V*O}-D$aK8!}!?Qo6n0k2if*Oa6t?QUm@mpjY(di_oklujVCMN%YXVC>56VRdaRbO(h_;lz-RP83kdO6#4CGDuy>_(k*A&yF3CkHLi=pM{MvzVM7 z8Iz+e8Yx8)0txAU&5MTWPqZMW52hW7m>#lCAFh}JK?_GJraA;1mf%M#rf-@%6Rig6 zZCAj}#YDYK{y^Fhxyh-*;j)fG>CeE}Zj&RM|?(@rQPIO}!tO)d?KH@bHmI_mm+CP6sSixFRRpaW*14Ga( zBg}{msSjJ$LH3B$XVKP&x723477ExBMw4VTrCD`uj{C~@4!2*`$MV@yvKcpNr*n(i zY66L;nwfi1hZufnI=2*PYSXO1-AV(IXx4-(aGX7i3Va{(lXfI}kX2t)Rg*7D$5Ki1 z$h%VE$T~Dmz28Ul`9w2TQ-$ML{$f^O?C> z?bgkUCgX}cSgL;6qb>Smw8=$NO`U?`q^$_hxE>;?>5#$#T?d zUX?dAto4^88Hl8`o=N6fjb29eX$v7d6hBldm&0XHvw2ZbFeviN4oc%h35w4Q3guI( zU)#;Fpr9HM2GuQkb)tkpExP_{7Bjtn6TvS(Z_#wY;Hzdc)4Sgzm0p-Le5q5d-$BT! z@dzr+lXNau5+Ba_GRqpgq!RqorBXSyUv!+L1e3**gv#i^v=x=ZY#&Tv*KS@^9*m*< zvSZju#V}yTkUXcYVE!I=)VCjP86|VMXS1447f-B-bumXUKAj*kvev@y3FVW(d7&VP z11zMQuWYByw>`g4tfnm_(EBWVYTcV8D5ECVTuGE1THt)!9m&k+r>(4%#cAp*lmXeO zeT_NDh$wu{YBQrOtvJof`ci#R4W>DIj@L^s1;5Ov4 z3Bx*RfwD-%UCi{@$(V`nJWzRHyY$)3-ALDkOi0+*u{Q3$;4L*7OH>!ra4y!=_AQIa z0v)+Uj^Z}{45DAj?`ko&i>XM{KOVeBmoc(dPgJ#t$dboOU*`8qYBEmD7f1siszdA! zyD59IvXBJ;Ex9Q9n@#r{;PZsq2J-SPCu<6l$m{P(~AO5nc|_^$;1D}nz?;J*_1uLS-p zf&W(|(5t+nEU%Z}>nrFL@c3u+>YU#zudJj*>s+a6305RUv6Pj#LirOd)jrh?>pwbC zMgym9URD>h#a0~b)ARhE{h*kUKd~Zi+JAuxPu`rAlq^qSp*Mem-&^7Hl;#i3&#&h+B+_01Vp92kwb++E#+ z2fKR{iDY*$I9&stLQG$k9L>UzA?_IxJ%70;&pUA_?)Y&e=#1vJ1!B>bxlNX;sy{nz znqIfIo;Rg!zbS2ZY})Se-CFf$({|6kwrSh5ubYy0uGQbkO?aGjZSzpiZF4p|TJ~)w zTGvf!KeyTRxqU64v64UAef#sC z`?h>-b5aiFuch>{&D;LDm1#{o-lBcqHfOVg^}OkIrzZDp`*yr+^G8ZszD?t6$Fpht z?Q5HM{B7FlZD0RSQ^YcwQ|dga9XrIBDHE@*HBD7BnH2@9;^bbcb>EhsdhX7wC@U!T zc`Mw-rNx0_kFR*HCs15g>MrmU`zkBEDelhxHd@xWp~ElD9y2z3)R>7w$Bh~~CM$b* zdfM=dm5akOC%E&=y#CU&18#q1d3jkyz&&n6*7)H#=?_#?=81bfH7%OC;?h~3iegV` zz>WEyZAN$tic7ujmb@F>#~mnh7Z;Y6Re0TjqGG?>TTxL~(Zk)XxWGN9tkONBv~0F} zc9AEbt~{8^FDouB?AEi*P+x$Wl&H<}`sS#oC7wC%3a_fKam(xWl$TRmn~|Sg94JyZ z&5&e`8l5&Sd*slJjA28EU+m5|LrG97{a&}PY&O!P(J1p(D#->Fc?RQ@PKMXkE zlbeUEva@HXMl8D`knJxntndaZD@x7WIlRK-FG{D`MIu@gy+G@bS7%)4t211j&lcAi zr+Ce4xp!Zo`MZq!Kj+sOe$3v>`FGAZu6uJ{&Uq8(3!I}dpNIWboNsd`7StIRbKb!D zHs=XE|Kp50<9Xcsm2=?qI^$Z-c<#+AE6%s&IX>X22#lZO4|q#N9^|cLOC#vg)hb>` zC(k?@et))qj$fShW))R>&f+bldX`b zyqn@Cv~K07d$z~#&M)?hnS6Kd9QWD5au#%SaG$d^e}F=e=MIl{C>v#z6^;*7NW3lY zN24uy3ccgYDk}*0oN{juTUPcH?<{XcabS+AGM(F3lqY0n{xCCQ53)2>g*&gvQ_(Fb z$3Rse!&_QNNgU)(_6PD)Qc5c+S;cwTzTy&;m_ed~_357-7?P4w;;HIt$6Es4%?`wH zkIzSh@@7aniJx7MD1Cy~Rff;^mJ^yGgWY|!@(S;)@bpoMZ`Qv}(nShg7dto?dIPpB zh)Mb8M6$|@+d*N7MfHK%F7y^atyV_MG8-gKIg*K4hM^!Gwp+GXvi6=%LS!YYuIusXJ}(N6zs3 z(e8ymm*11{>kiJPgf0J(I^#ore*!P&S+jH-?(=#oE~)fZdi{2(DJd(*2O4?jf3gu6u~;1!&Ead4zYScxK!G zxBc=}da}#&C`ej?$LIG-9-aPY(vS0Z&O09ual(^z#xK@c{#u=}`KdbNjHjuS*PG{O zaMLs9dBL-FhM4(x&zEpV&cV-_XVQk~ZvOfCI>SD@y-;U7%9;GvI^$-{pUSgG_?^Fr z_Tm-V0J!eeI@M=vmY$Y;Nw-n#C^K zDJfR)##2>#d=$`<>r=NPdrsTka6Za?Is3h5 zo*mzhZtel@_xzyFc%3uczWux6OVYHa&N%JcI%5}cDEz9<=nA)UeX#S9Z_pWbk}oW( z)~UI;$9oFA!^_I&kO022!sM`)ELdE%(@UtXQSo|ut8k^XP|9Yd*J|ma*RSKfrTJD% z8ya+o;&`yRRn>$vz;*)~;I}kU!3QZRri0SZxaZAtM=@Y#kug+EEf~o3l?4v+SZRR= zd7f6K)NtQn7&&B6Mi%FKE5sqQm}r(ddT337G9iBlkvsa0&ud9Pip&pb--{(X^^U@R zMp>z?WgSJ@M@d$dETc-$(+-mM81MZ&9{P&CHUw%7@~= z^b#%;eXOelb(*`oYSzjMlGUJ^*kg36ySs(%#lg}|DWMrjGOYdM-2Gy5z94N&v&Ba6LRw712Kl)#|1*n&@P7 zQI4$MiQ;c5AwMF257tkU=3}(CWT?+qmS-!1Dtlz9E}B#;lJV@AsXkMam_?~aY!_Q- z9PG!zUeh7WN#&h?2s1&qlwlG1LHnmxyhm1egZl5GqJ5C|k_d@QEeBDa219soV~2=r zgiFD=9&UU`6#Mf$75Rse(xEx740y z&MUY2|2<2x3#9fMURGHe=&716vr;MXmXuY@$u6tN_g0|G`#e>Ynyv>M6$!Py!BLSz zlpAZXW@vf&sM3P6NI_ejPBXP|$E@!Tdq~DgUt5!Du0g9x%4{0#wmaA|+7*<_wsr+| zBscAvj@EkaxqW54@^Axgw+z&vGi1yx8%<8yhU|QFm~QT14elu|CB^c**&&00DocVv zLw=>2h!HiyY`S5lzgQC|&ly55AzzyR7DE^{U6mdi^eC^=A1Euymf{r|po2#zsz}Z7 ziBsd}9xS^>4#Jht(3a(C=n0CQ{S5apvh8M6zH`1dV$#rYBi)sy zB~#@GCq5;MX&Gt5`t%*(E<=$JlYXTgO842yh>RtdVy9(eBPL~!96N4wwm(o&?k=kg zxXTLM71H}M9k3t!m~x0_#(rL0nqN#912XpzyjLQV1!xRPyC+g1pR$<)iS#WZie~%^ z$|_1E6#x3R-Z=B~dPA5AujG7`a~o$P=g2SWjk%nUaBkx?IJoCu=Fn2!Z7|vYIJ2>l(;#`BB7dhYO{Eky(7bf&7_biXE(iFiVD}Kea8}yqD8X;MC~9&kg1Lm zI`nRu!$O)tcM<&zW`#7Zq}cDLL++MoO1D%-*gKewN`_O_EF_gfxWjfpO3O;mnd_}6 zbNju8C9KTIW+@8AyR3rQDKz=gvfwnPS7`utiXC3KL-91jYep)1h&An%vl@)I&S)@> zIkUmImh&#o816Ybn`cLU-yC+mj^C9`)S3}HNcu~}CGq(4|6c-YZvI@7q z+?!WiV9$0osT%G09?G8SdW-R;cn;0V&Z7~?R+8`pm^aF;45(oBJh#F4zTc6be+{#9 zU*85J;V9iXnBQmOM`wR8CSuJ$nF%K=QTwY&Iq9cY21FqsA4)y0ig5VsB_^!Pyvho) zb6zhIfOV@g%Y({tr<37&d3qvwP4gA!O21Un$jd}nr7vIQL1x19-C>^Le_6Sga@2Kf zgE5G66z6!(9L^HX`#2xve46t`&XN*OxmHqHD#-JdnFIGkDdZVGS9mCgGJ7AM@2y_G zUkg>C_D{R9#GUYL<3x(= z_rn9X=il3R@n^0FH|&^m>JJ~*EdJ#EJG*B*+xo?MPhQpPoDJXKe9Fr!@)MssFG0{|JN5oUs`zOwogymwe$0mOP<-bck`kT7ED~}J9g8W8ToVf=N{PomiLCSQym>X z@x|rk4Q^leYeM|;YIo_t%M*(;b`H(?uwrK6{qOB`4!Uq#%*6*5CA>f58D@XhJae9J z8C`ImfLeY|Ju%g^jx zfBKoPKRxlT+h2IM{X;KqxOan|9KSd=`>9Xby?NFTZJ)e;URkeWGKwbu`4rD9gU=~= zcE!*gv*Koc=Gf?de`UAC4}V^==*gL+OGi^OJSn%paah`p1Tsmd;!Je8ZQge4ab%oKKJY*Srswc{8@vPxd@D`khOjNeO5h zANacWU$+f?=*x>fzJ2@PlGopRuzv4HA58zDczDAnrTs=OF8s^Z4LP6s&xslF?J3T4 zvoqQ}_SU?F&j-zn&3tUAes*GF+n26$w|lGeGewi0UR368y{+K+`*wQXaqa)&@|ACW z()Em$Ti2~$^YP{r20wl2H3{o`4xIYpbAR!@u*tn(!;jBC{qo)IzJAtu_xn!<&cE=( ze>^e!{d$G+<9GOz+U9+;aA5vzL#CG`teG->ZrgWVJMS@C-+K1rTAL^DZFS{{ zTifq>|AF}Hi+*vO+W2Z*@w7>~zyH0^JAY<>--+MH%_yC9^0vmB?jJ0fGWXNOEf;-W zSoY=f`}hC+(v8DkdhUb|Z(NsC`@lyZU3Kewe|r7Z?E}XB^5xin7XJ0U!buw+{ygrP z3oh>eRQjjg6SilZ+~$ejE^_wInHw|owV!joobYAgnxAhh?K9`4;*raq_Wb>%1qB;d zzhBn5|JOz1ZlB$5i}S*^e|`RV{fu5+Vkf*b@P#*$+rIeJEmPKakD31T)JKeuU+wem z)@PR9`$>;e9{=L9b+6|CvCA)cyH`Chy|T@%CHkXrtyf*p-?eK|VXKN`Cuy3 z+S|v!bj@X5p8xHu+3U(?U-(?d@212rE}!1s_}jp^f~jpC#~Al|Zz_H~ci#ub3{Tp- zzT>ODZnOHQ_Y*$OS`ahl)u)~3d%6@p^84{QTSs45JnFOAr9&>7{@&v|rhN2CLEA4= z_YB=?m55_aSJN@$Fi#NRb!ryw|`tYnKYLk%fI?L5D zDaN(XHNrJHDK25EtCK4}>G*_su0gK!Bv*pZ)x(vX)XufcmEkH%awLp%CAm&&e@sG! ztFNnHQtO0V*BP!3NxJJ=*DzOBQf$H$*GaCJq~j9ix>8&tk`fZ8ySll~N^0Y}!F7=< zKgpRe(RIA*)b__F%yRX24N7X8P~hs~>Xa1cy3RGyH8rVK!sV`0UG0)iNVv*1#FdfM zKB3gr)72x%<+{-|#^p=W5-xEa<2sS}&vf;1^(Fou*XgdLB!}x7*HG6u;(w{@M3+wd z=eW*y4I}==uCA^#l3Kf#xJJ2hiT?!GajsK{f2Hd@R|@g>x;nc~N{V$Ya;3SZ5dUee zQ(SF`|CO%6u8W9&iR&C!x1*`PZ^IT`Tj!$yB7PyAH zCKCV4TqnEYi2oI?fv%Cne}=2Ot4mT_*HYKTt^(pe$#sJ3G~z$o^#|7w;$P@G+jVME zE7$d|3tg8J|7_Q3E*J5?+I4|z4Dl~>^>X!0YVW$qHP%&{v_ijGzeT@QzfHegzeB%M zU#Z`v->v^qU!~up->cuJuh##h->*NQKd3*XKde8ZuhAdXAJhM=uhsveKdwKauhXB@ zpVFV!*Xz&d&+5-rn|oBC$GT7OIboBnrw zi~hF$j{dH`Rew)^U;jYgrhlk^q<^e$*FVue)j!jB=%4Ff=wIqJ`d9kb`ZxMc{agJz z{d>Ju|3UwUzDwV&|ET|@|E%xP|Ed3?|4ZMi|Em9{|E}-T_v>|fz22Z7&>M9_*Wwf7 zt1!%=<05kq9${)xF9A~)8gi9S}T^~$Fu0ZHEU4Y@T)DB+i7l=`KM|wZNAnX>-I8S zTsHsCz6~}bZexg3U4Zm!!whK+I+5C;jaXwwS*53 z+Xlng+X`o*6;4~Ob~xRZTl$<-~HL&?<)r`wXN9Zt6;S38_;ORj{A z5F|=?=JV-DVJc}PbklT0CqE?+F+%<`t2{#Qw3CJ8E4!*J?dFRO{8@ zY1Z>IEOv$t?#rmEkUXvFkUXt9A$eMhf#hke6(mn9`I_NOG{eaSj|iW;NxpPbz~sJ_ zFEJD@Ke43VGk|KHI#lmJz*EH@Jl*1%P{K#~Q>6T6YW+U$N%@iRsP`bCdM^QLJq+F|Xri`m}cBY!??8Jad zXRG{BC#d{M{h-Pf!BukNOQR}Z%hwlLBew%rP$?&K+&cIgx?Y#2g~<*@QzhRIOG2}_iR5#x!XuG?d8 z7>{n=Tg8x6fMFIfo#*rT{msl3v3%KDRPSbXo3{o^S$nLB1wVG>r3E!Q7(Onc^(36$ zo`t2AL9JiAaLfcv?qsX(00SB`!Y)0&K$AN%HKX+`E6>)-^n3P{ zzD{tErx$+qG*_34n0MO+BFsg4C+nhYJ4(#?vI-?k)|S8F&qBZL z6#$XbsgmmE8hhfS1ZYk_H;Y1WdA}WkP-fzPFdBf@wxCul5v$-OI1S zc{<_|H%m&Q-K@$j=+i&y18xq8`XInKYLo}Fs`^H~dtRTu{R$ZVWcr|4m}XVU(^;jZ z#j{&_+Cuo0O?ftp5+B{&+~R=8$5?v{Ph0dcFTW)_`7>L3!ZP0${9yz+dH{+M%E6ws z9I^5i-JF$MQXEPJ$@-y;q9mpawCu7xZYfOi>>xIMxh)EGmak>O9mGX)MT=qKS(wcz z@hlfHFzF?2lAQq2 zrC?Eld4a2G38858i+VT8%_@JCvR7CTO{6TFWCpsq8^xY;L!~AttKw+!nBiqTYaUBi zo4ewhT^{A;T(V8`+tHjZDVxRYW)!otJ;i}2HF{|@N6Kk13uK0|sYuIb$RZq^4{sF8 zqdK9odKAMI1$jkL3VB7opVu0jo398&X>oYNQoY|AB?tNoqeRkQ6s3~%M+6;l=DFpM5Bw6{4D9JE8x0E77LN^QQ z>}Wx)8qmM6JW8J6esdS9qPkEPC0ADYJ+qj6ZWac0zlGaTYX)T@ifnkpz#o?FX^Q>5 zJS>Ugy}?`$uVA39n3rZPD*wyKO>li2VQ^b|ky@`j+{4>FBYZ5Y7PUPS9op2DMZ-?c z_nCUU%mfEt&+6e;3jl4!{V?_RELn0LRF{>?ZZ3gP>j8srdqu7TAI_9?z#9suAFZBO z17)SZ3U}Bmita95-2Utt6{WtWPpo$a$6q>n*w~Ehu_H%jj2e@cJuYqh*o=v3YWPIS z$9z9`hIA9=l=vgVF^V+_=3;qs&A5ak**#14r088W(%x($pLaZYA%#$=7lJX$GJmxk zW_W2p%V4oS9l*|Wd5>E?x2A{uybsMiStDb2^mskGXHN!Dl%8%U7C{J#PdYc&`>)hJUa89;b0hC=iU1NblwA&RLFN4cN=?QC=CDVB5LZxP8`tg!* zrufV&LV2Fj5o)~~D|8~)ff6Li(?^n@ZFg06w)|BdvF1Q@P&X@~Iv4kl<$(n(qGVYV ziv;~zDDo-x!U~x)%qy={FT2YN@78JO-Jzp1$+Z_|r%$odX&gyAtg@g$A{F|b9PG{E zht(Ide^~|gNa7cASiK;u77+2`Yq`7;Eo&I%FFRW%9I2ABMU#`oy~*l@7qe9K(PW*5 z+HS#{pCTI?FyGm^*xUm^*)PfFjRud51)MWP{~Ei}US`1dc>*1GxU-9^pN4V!gHawlm^v1N(zxBm=ck^U*!&O0o9i+FAAYq z-Si5RhP*LCYpEm{{+^2+ZncP9h9b<@Ic---kN{gYkb`?Esrq~QX*}}H|Fiw-P0?Ps z8tv(94_ZN?JhlF8L-`dYy*RUH<+4H13^TdJm~z^3lyam*X5KTMvhOvuYu}%sR@Dv9 z7(4vp?9pS#jLjN5X4LTPaYHAm#XK2m%L);R+l)$2tEjOH$at%?HMt{gM%JitX`|D| z*zcj+hSRc#4`s)YW)_Bx8#-oqdg%7>v178*CTC@jpEN2f{Qku8myQ{Z8<|-X#-(ZF z*+Qb+?Jp|`%$7Yq{2p12TUw~O-6Ml*wa~UJ%TMRlm@>B~k1CcoWy^vMi`ek8(}sJv zY$ZZ*E1O}vYB}c4o0EqT8U!}1pgxq9f@Z>4zT4*1jvS&RV35kj%Sv#uC94+kfj>N9 z(+-AA!!u6c(Z|pG@Pk{Buh4+%zC;vf;I& zWUX6woB6NFLo2T!Pur5zX}PN6R4cdH<3wdGrJuOR+p>-Jp7Got-Q=Hbs&R`ywa7)#US~8 zS#f^VG_3+#JX5wNibzO@-KmYnvz#w;R&&0``6=f&oMzogn__N7cEJS~Sk;5vlJzQ; zel4qzLe|>8Uu>FGSwcqUSyvaf@5*@Ts0Gx!{iTcpM7E=%>dTV(!)|v{tuImBgxuQICw!%HW>+5r-Ct%m4l*H;({c^Iqc+M{t*jX^RW%f zh_B^`$^zDCskzU{*fANGW>eb?%}5_RJ}XjQ8LVgamfFskSLz)Q^Q{@YlK1#j7)Vya z5a#5l%!&OZMB$;2bZ@v72g?O37UAhNA-{Z>y^lpo%2?J}wj`=ZeR137zD+|4%HHfB?V*1nce{;7y z!`QOrvByT;!Y0u(3kpt{Hetf+W6l~iVuY4DXwWwUzCG{Ub6@MdwCAE8k9GSsIrr=z zJKu8F*fY;KBc2+!)oG`mI`ov8oz|ZG%Sl5|y6eRK9X%blo{)CJE5{Ez{;lIC9QSR9 zxg9!mc=FhB$NrXdZ_=ow-;a6Zn9Ghi=9sq<7bXr()DkzfU(i0ief#zwyH>k=te|S; z`Y7R%ggFTr3GRg7+HGm~V7qzkCbsL{u3fv@wr{k(zwI?`bK0i1J-w~oc4wQ-Z60fL zW1EULliCb!b7q@1ZT{JMd+SZDA8mbe>nmF4w;tR2{MKi+Zr{2-{`>e3;y1;?`GwT7Qd%eO{@1>z0&IGRu8tiz18)t=Cqp8YFewzR>NEMZ`HL` zr&jG-Ia~c6w=3?;xDVp0<2J@U8TWA9ALCZUEsDD$t~{}Q)4^E9uwO(Ha4~~W?#%NF}q{Fi>ZnEG-g}OJ2BNUuf@C= zvmxfGn7_n45_5mds+c=tZi!hQbA8OUF;~V^#rR`NV~S(EF*z}p#Y~JD7c)90J!VAA z1u+9-`p5K*IVYxTOy`)>V>-ojjOh@Q7}G8$K87vCVj7(LoO_*noV%U1&YjL0=jYB( zoF6*hcfRBNn{%`CHRmShM(6X+XPi$tA9w!QxyJdR^H0uuoqu%R>AcN(v-3vhQs?!~ zh0bf7S2?e6Ryix370xoJ&spp&aOOKb&dZ&bIVU?OILA9Poui!>In$kK&SB0}=U``w zbAa$M(X<<g9T=UZT&?r|U&}q3+f5^*r69 z=jfN~)AXtO6#Y_tl0H$NppVzb>6hqZ^)dQr{bKzheUyHoK2lH9hwH=ip?a!5L?5gV z(g*72>jU&Z=>7G6`nh^vy^r2o@2Q`o_t3lR-Sn>d*?JefvwoI-rhbO*)=$$<)lbno z=_l(a=_l$P_2c#9^bY#5dXj#Oo~XCiU3!AvPH(HX(Oc{BdMiCnkJV#zr>^S`UDFLm zqvL?1!BOw1bL@BQbNuf3&GD;auj5~iUmX8*>~Z|;_{s63W4B|M;~$P6IBFf=JHB&# z>)7e|#__e|D@P5-myRzSpF4IqK68A^@rh%*<73B1jt?E%I6iQ^?|9F#)$uOJJC3&< zTO5Dq_?zP`N3~-!$D58f9IrcG<9OBaienSU%Z`^EFLG>j{MGRS$McR2j^{X@bv)x( z&+)Y5DUK%{>l{yTJnr}l$6Cjq9glH5>R7|^h~r_7ha3-bJm9#W<4=y&9QQfy<+#VO zisO%tyE*Q1tmL?p;||B|9Je`c<+z38X2%MSn>cQCEazC}Sjuq&#}bakj_WzD<5=Wa z$gzOqT8?WR^Es~OxQgRSj(LtNIOcN9;i%%6%`wYS$r0f2b5wB5WUi3)%f#RgnW|C*SJG=Xto07^%RdP}2+ETe@ z$i8=W@BU&@+*48%EDh*L{8jd>K?yHIdOc-69t~4<;L$LIvLS^`*vquJyQ^mUsD`Jk z7l*7d3%mWa#-T>C71l&_zOsrzS?qriy0mxQb6=*m7tC@Gw$-QLz6}GF$LxPGxOpFZ zn(fb##53f(8lOPLXVbdC9CMEe%fX`$cW81r^a}Lh$0aMzta{t^;GU3grCZx% zpT{O!#qs(Y;~4>~VD^x0B$-X2Qp;zGrJ`(3wx^=PGbechGapu<57z;yU+Dl_Wqd-Y zDm<72mLI`lPe4@1cAz_YU1|pRu-sdXbg^lv(mtYkiLn|>>N8~zKWZm6 zVjMni5Z*65n7FdS5=_Y{C8gNUJ~wLZm$@3Kc^w-RE<#nQedOY^8!Fzal|eJV=ny{k zdoHp)?pZ^zEWU>#3e5Zkz&nccI zc41bt)2e{}Kaqc|D#~6)*`%6?zE5i?@5ufvT_hdDa&EM|b2PsEZ_PKhe%wTqE$S9# zjr)IFy<(+U#0&{71e2Uz?LmJ>cKaf0z`^F7cGkv9zEgtg+Oq#j=Ul z5!#E?A^s0n@m3_Lm72}+|3~#+*&v#|BKnMJX?^-P z6>G5PV*70Jf6D*9woW|^nYG}zgdmFlf3VW%+@^A{os?ZeCDm-F9Va^n?sN0*V2q|s zUBB1paJr_g+OgLd1lPhWct`B7hVM*Gdj>9p@4~h4XSfBniTl;q4g0}%XYnl?*aOal z8Svd!*oUXbV;?SUjeYni+yeg&cf(8DV864bRly$cewYEjfn z1^e)VtM(ZUaLO0^492Im4qxswQlS^-z(3UQGv>p-C+s&?%kz`=8=K&d=j}IY;Ln%r zH?(e=_FmS0!wp|3-*2SCEz9;BIk4TM`;GZ<#v9m&PgG+cR>K;&A8NcDTKpFF;To6< zpRdI}{M(P%hl_v0KFs|Y`|!zMun)h1S`Xes{TKFOHcW+UU=G|3=fm^%Vjt$iP4Es_ z10RCgIfNIw;Wsc9HozRdH+1r^n1fwlQD4#lE{5CSTKGNO0tfuI-`EWUFrJrOPyKzr zkqpaWI(!%w!583SSY5Z@SOY(W)v&I9zflWMJb-;xB0LR~;X7~yT;90f$cJwy)EV>P z-N)A%t6?qN1RG!tYWq$mz&;!Rd%($XD6E1L;YwHxH^3^m9WICa;DfN^0P-Ik06&A1;a<1_&Ue=tJ7JqM z>WrB4Dev$sxc?#$I^y@H(RtYYw)Lsxt<`S~wMs zyQt2X2Va7#;7=FV85?2Gj5=cnoL5+9G{9~}_{YoADR2Z_QG$Q4Un%~7^-yIl4cwsUecXOSQ4)49K&M1N%@5Da5Q|1$3A@c3GB1ic+m^khkN+WL?&F#cP7eV z-#18STB%iU@|^=%x|#HbSHS@Mt-8**4aWS9bcgf!-oiGyejB;MRM;U^(`sNpn8UXl zvS3@j?GS*^@co9{U>V;*SPzr=rolGY>O1Viv9;JAs%dxr1N-pd-PniYe!@P?*@J!f z&wbd3Pt;)_mc-N>d*Ny9AKrl$b{>0&_mh@Z_78{tliAZ7wmy~pB%v$0-dGQFyRw%h ze5M=rVSEql57)GpCz|VTs8)W*sfo_u@bK8UvF%HGY8ij+hP9jdSf4S zkE}O3j-dRdV;{aW3j6TP4D7?Hnb?P~jKe;xn}~h*@o5 zeVChveYh(h`|zDY?88aL*oP@T?2n`#F2O#0vK0I9_HyjQ_hw=rCi}4u%LCYlX|w8$ z23Rz^-sp6prv0g^-WUWwnp1B~g+I=%H|D`!^XiRNaPXD&#zwg2s(NDw{1i68LG!Vn zPC8zLeV7fW!ZJ7yE{Ch&TDTEzggfBz*J2;egq=o_AK@VQ`vUC4vW3`(CojT2tc4rl z$m_5VpMnkW)a$W-5$OR3!F6ydOj(S5_z$=WzP1GW@Y1E&hbv$MOkRfli)pvvAUJh7 z_F?Lc*oQOWD)3oU`abN# zo~yABm%&b>$v=O>KAa7w!uR1ksIRFvR>PP_>y1tDFOSt5HE{4+_8}cZd-r&~;f8;D zw%$mE>z}JPa^N{HvBy1J@+S7-s?FGkeXFq#cWq(6{jvD-E_-UiUhmf%BjAT0)*D4| z>W+G2F?^SOTGzmtU)3Ac@GtD&S_`**S8v2;68=5x%Ly0!tKLY5&;5pdSmtOj7Q?h7+c|5xCegUp}|NTPdPoV!RQV5 z!%R5&_y(gKz6@8uuTI21%smPFaLvishwe_;&tjj5Q?L&cPQyN|aAO~y$zGYa!I$8A z_!is-S9ESL_QI+z4Mv9v|YweR%9-?8A~=?8DqD?8AKa%~=n7+}2?1fLGt%U^KvKcQzQECQ%QsWIsoE z51b0Gy^FmVV2`^Sj8*WMKQK6=5HqFdh5whEnXqQRUc&x4;@$GZXth z@=XQy;YpR)hcC~@?S?88f74jg|q_TdV+ z8qS@MeYose?89fFR!Vw7H+*an_Th&x2Yz%t_F>jy?8AS-P4K2A*oU{>fc-M|7g~ya zxcWxy!#*pp55I!*;WIa5AI`a@(Rdwxb1V54K7CuG(XJf5|Mo_shw!dOBLmL6yV3B$ z3;syHh3Bs#-@<&j1^)F1d;t41sRv*Wcs0y`_dy?A2baMw;97V9Zh-?I#6DaG z+f``VtFQ;W?_uo2j*nm;o(-2l4_phE!!2;YUmA@)@cG9ZjYL23fxY2xFcWrqqR}Xa z-)(3#R>Cu$r`*6Xa0je@f$}n!_G}|^fj_;3T%i66{#-#l4m0MVzYDKK?}Xc~rhf_h z&8MDw75fX&zu+pk3{Jfc^Kc&gP42^9ui+n@2es?Tx37~f@D{ib{s@;XrapS3(O3s> zhg;#-a4-DxoA|qgeh}OT^EXpZ+<;yT2f?}3xW81>etDaE0A_taxRx<~vYqE}FPsV! zKOz1w74CpzU;`|MotD#&f`eerr-b`P^mVuqE`d8>;%AtL^I@l(H0?$>2tEc^!H?la z_#NB<9Xl`&7sE~~2tOPI<31-m@C>*Sj)U>HP!GX1@I_b+&-;S>3D5kJ=eH6rn0_1j zDlCGh)KDM8K3`!Emcr!Q$IO==K&t0@Ha5YSo1MQ zcK9)zdLQzK^I+V+NEdi6+z1EmC0$_BujIegv@>u%Oogjq39Nw^{Z2h{zore@Pdwq} z^_YJEIl=kxjs~7TNPPlR;nxSa4;_uT1BV&71IwZNA@l~A3jYps;0(<$G9K2nh0u38 z`T$%8*Tc2&3%CV#aTvyKI0CjigY<-_7UP0vJu7;E0 zPjDX0N-~TGVF11k--bKkOC5+mdUc26h(GLhykW%WpdX(`zJb5NOqk?0jB=O^SHK}~ z9V~@gVfyKYu?JoY6FvBMhGF!E*TPJ=5|+dFp%$Rtg>KmHOymo@!5o+l=fj0?HSBN} z=?weA8hH-2O6qUuhF8E;xEJQY-kq@zv*2pD0&arqVGaBkYO`p+yI>z?!BjX4=D?+J zK6IRoyx?i@b$B1#315UUv(XEaNhdg@E9nHM!XkJFTnyL4HSh~q4PD&~qZU@dc2&fu zJMx7m^*}ywB`k+8z}w(O=NQI%=!4r~o1TWT4~~PK=1?!fLGY?xhA|b+>P-G2G_xN z;8u9*0P-0ufQeV3U%=k*7MKaEVL99fSHR=X$3E-@E>p=Od3S_yav4q4uE&S z$?$tv1M_LPscv&0(Zb%*Z{ACozNdYf`ee^i!lcWKsWkh zRtEVPCXc3^!g}~R%osyHhR2O1AEQSWz#i}om;oE155AvCI-*xTdHlNz+{3II|FFMi&rGI+=^&L#?P_GCG#w>jm#Ic7yCjul%V2ae=}Z_k z7ztaFB-t355{*=nFf>0#iY-Y9gVG>=Bc+;|X218dzW1~CTHCDo{qw+8XQ9qA_Sc^n2)d zXwq1ehmL}-gwBR;gTADEtV>TRA39+i;vd0v0y-c17<47{5OfF9 zD4y#<`$2n-M|o&IbUw6HZ9j(byB^!nr2of+jtQ`$A{|^aaJCpDPYc zx)ppGuHUzzJTzev>W40cWt}={Yp?#oL&@oW&JoFDb61p6E7xV=5C1{K1@Vpq> z2YSw(m_N{~psho=e}(pghM`5!c6VVMp2zwg>V+0VebAH80JPzJT#umf_u%>s-32Xz z{s1k7HoX_+U%+(->VqDI2B39vP!4)AGz1+1ErrJ4hxiw9K7e|mL!drr02+esg%&|i zLQA0?7a~62FrI-1ppA0Dp_`$`OE@n=bD&juIPX9^KZNrRbU3sOnhkA$b^a=7XJ{34 z3bgg2NF*2954sZC)R0%)ogL#wpQg(5rE<>1e~o^?eYElhCO3M( zbNT6Yu0qAwRD3D^OR9x$1UJAtDb?j~jF#U6yB_#pJ0G|(ejY+p{-gM>J9ryAzb0C~ zDf*vQOa7kVeZfcB%X_Xg6R7;7z^8%txAVEt{4>FW;FsF@tSDa!{u($=W6}P3@~r$D z!M(Wu-t6G7T6_=qW^lLhISO6`ey+XzglPRuJ-9B`!h3>;Yso(f{F_?%Oz`$U9mOwG z!RiNkhik)(NTUBycx=yBS zQswph@<(}3@Uy_xF=BCB{iDFo2A_a&ws`zCaVmp3|G}^O`DkRMy}aiNvjTJegFga3 z$x;4BtNcdruMQk_oxgj)zXWe@&p$TW{-Z39%W<@Qp8Ku(nBcojX&iNpezuI2jGsFx~`==-PJn)GQE(2^H|KM+fH?;FX(fl*P*Mc{;^Nc88 z3jPdue>=CGKQ@AIt0n&)@K?aG9JB4;T(bf%tfSy9emNSsugJznEsT%PEV5!+)G>@% ztB*y-q+k;2F$ye~qc;U?l z9}m7TfDK(o2HJ5)z{(Lq%-iQ5kE}z872|o);zi(tJ0EwQYo*|~fV=Gr<1~DB4ScpE z|5Pi#7yK3Q^Xy!jC)Y>tjo@KB_k3iP4}fQOIUea|=UFB;%jba40>2fAvYiWGh0f7|-iwJ*piU;5)%bIJit|#k0Uqf$vraovtJPW3}8c z`MFRgOd^U$6cc3 zPg*>wF76G^J?WZ16?{#nlaXH?`Ae{KoAWQJKHhT$ujyQ+c1bGu-{9%?@^?kc zXMi{V=w##yJNNjk_GN+lz}?E{foIlIz5x6Y@UHg!w?ykN0bdF3*1t0F*TCJ*gGmi= z&k266J-=;Dmld@!b`wIweT|V9;hGFAiCzZtx1xS@oWd>-S%H9cpi8gd;e`~ z@(l0?z|H>Y@+IKa;8!~M z04skPc&D$bBab?Gbj_QDiL)HsZOxntz5?8Bd@{h7g1a4mS>UU|JJ{>D-SgyuuLXA- zzXI~X_VV{c$EO5*H_E#mzh&UxfV+)<5^mlT@Lu&r_Waq={Hfq=YT+5+7lOOBKMTBf zEj$mrS1r5%yeGJMPpIeDh-mv%v*Ygc<0E@`igDUABVNWWqPjS%XBl3w6#SQr^6LDP zuzhCq8e}^MHE4|I5{S75G1fK8BR3{qSXuaQ5O^vyVWBO@4bgV^kz)vA&PR-uV`7wN zgKx%lte4{YIPbqOUM-8gu!7*9fX}mYJiG94-K^&NM#Ok=t#dmU?g2joe1ts*`=Oq> z90gAY@29vPOZ-#i#$Wz4GQrl`ndf=41B$1C{|P?Q!K3%CesFK`$w+TIm*upXKO4L^ zxZAy55WEw3vg10QXkEt(!CT-ugDyndZo791gVzIZi~Vl(Exws`?_91pzU$$}8(~oE z;=3O!?D;*9oBdZ~mj=ENTrC5w{P?FDo1tI}z}{0#?_1AStLzl;b~~^J#IYD#HV2X z1z+`LwQKzu;5)%xkAHHvd65VH6UsZrmG|W8*gb&x@ICkj{5zrk^k^T{v5{{MgE>xN z3-MtR3v zRpYTZ+Qw4E#Qp3(FVr7QJc=Bc9?`L|t*gA?hic(I@Nd9zSVhar>A)PL0QgRDG$YDw z&w6se->-#-z&F=Ye-Zc^aJP9~3ckFS{OS+$Jp%5wuJr=sf_v@lw>?Ypk-L=-0NjQ0 z>fB)+ceZEUIp9O~R7d*S`Sj@i3xQ{X*E9#ze6GUtjh@K=Fz%}o+D(hrq382F^A^k8 z7l)B+>7kR6haBg|9P8ZJ0FA81_uZDLwpiz{N38kU89e(}^uKx0pGQATZa{b&%kHwx~ewnYZvc>)Oa+& z!I_Kl4bazwQMNjU^7ua9%WpjIp-r zjK8#wN~Dg{bnvAOD`XDpakCvmnc%tLw;?tFOBQj@GyrgLi6NA@}CG{yU>{=m7W-@L}piqj`LW`RqcCLjo36b30c=UcBjJRsVna7&WW9#Qo@IS#vV?3kvj4%h%3u_8^O81ILKK^ahlcDyD z=Lua$5Hb0PX`^m5^jO57*+%n1@E80Qk*^$M@u@WyVeoMyDz8cs3&vDL?!++= z?cen1{0Gk)=gteke;QvAxx&Tp-O67Mo^%tw)92vtS-cSjsqkj> z&%s}{cpCViEO+h)-#@7$@~ETy{Z{#G@F7$29ZARd&9KHV2)-Kp5=Z%-R{28k;@c}C z3mxTUvI7}m{4X`TBC^TB*ID_?!QTZx?%;n~ywTbC%*gbL$oqI+6x}~t>Zt&AtW3dk zgg*1}9ZAfegpN3(^&G`@H~vm@8ky&WG03z0?utmEIu>+H{LALCpxQYXJar-Fp<_Qj zWbMc0;9Ea+zu(>hz6E>=a#{I3H<|tL!rBL(@L9}zh-z)H&1? zckl#@Zv)R*gzp18=F08XT-gsET8w?=Xy3h7`>Mc`9>Mo_71!spInnWHjf-vyc*s%y zDXV-x@O;mCiPmA|zY&x~Gn z=l#I1TZ8@UC|}1aKOTGtzE8Z)QU8lp{qw>1uB(V7JIW_oO%nhuEQ0PmJZ(7;yK{6@ZId@4xViB5crgGT+bc+L5mlG z?>|xz`O>jA+i9)MO2HpLiGAQW5C3MJhm8(c14i&2eMkN`to&YZ!&4bKX&;05a%&8I z;9tjAMqYC8l@mM?e~EXZBZH7<>-I0RXzZI@~q0p znU3-etnxYFf8x9K>N6?PWBhlkd}C{sZ9qz{jcb zdY$8u3eY_C`~>&`2mjXMx!~IdRJwjPAs>7f`1OwRqpb49;Po!AjC|$bpIZC?`1|0S z>LNhT@A!4rIw}Eg){Guj83{Ya?;~scQo!q6h2KMQ@U9k52XBMlWx2sozZ{@yd@{kW z2fy0E<-v(L|G|Uc8y)-=tNr=lDI?tHcQN=x@N*sQYh$(V0QhbAy_g>z`S)4*6FTGh z(bewxQ^2#pA90k=waTZ1e_2cUOz<;C)qH;OB4;l6aPYJ`*wFh&U8CBX%Q$n679eIE ze%r=l@1y6W)rJ!Ae%Dn-*4TM`$Qpw(@c)djjHvemtvcc#w0Ke%+)GTrZ=^WZ5i_iH zL@M~>0sL0UY4-9zSoZ=M;A6AguMt_`L-89s^Xz?$&$ia7dEhVIj^AoYvgg0ry4NWH z{}I2f<8}=y0pBwh=KvJ9`sa~nw_aFf;6vtBI`0+LTK*MtscDXJgA4Gn>bol=ha6+@ zy)_1%!B^+tICSt)CRcR~1^*epyR$kT8}|M9WW2SXvJrFh1C@~n9piA1H4Z`Wor^0Y zGweCyCz%PW7n}X}B4rqS$A-$tU-tH?W2w|^qPd@sBIc=0m5~a>Tl>lLm$i?Y zrs2MLb7f?hqYvp;A9{kXdaE*WpQF5dKvlJI6nF&ueg~g#<(~~0-LExO~kn%+kn?d9b$t=Yal;J<_KwR6udEB_eq=Ra`2 zCe8&f1;5o%UOsT9=FoERbGKJU+B@dpS=Jof0)F0y?sIS-_#*H@j{aR@_3s3DA%4Tk zZB5z&Z|WxDx2@cs6ZZlC0sJ3F{y(hzW574LR2@{~vl9Hnc2yCNqx~n%{3+lk@V|l%_&qDUzn8GaZyVzc^)5(@KfNImsXPae zC*zVT*XMuULev?}twqaR;d{YU}7$XDh1nV@v=?cmE$m$jd{_E7a_s`CA-A_pCO zzqKE8!K=a7I{5Pz&j-&N;9kBMeAwmg^&bG=4!**X|8XmS0&a{hNw12ma`gYnX#c_A z9*Ex^YmNl^IE#O?xk{k=mkxg2^;MAz9c#A>thHMv_#HP_MXq(!FCU)u!pj9;13nV> z=~jMqF6e)*)y4wE>|0zFQSsJ2yj;=@<&}`Xskm;VdcS9lnZj)6VZ=;+q^ibeMXDbS z`rw-LXjNprV;ojnf-D;JHs!xjySC1YZb#wrYd!r`!sf`NQBj;6XdLzyAwf4&KbphegMz(M9;K zIXF&@(fpI5JPmx*#+pCp=|z#nc-C+WIBvO&gmZ>Pb4-km(@f-;hL{jytUjoHC8u_? zAIlN*8)DRPZpGO4_ZIL!!QZiSl|z;>W{&-c$=g)(_W->pR|UQVd~R$GTYtTMF&>DS zX^-(tHanx{j1Ro;=4zP}dVgFW?P~zs2ab`5_G9qk_=O4b07dmr{f_e_#N3R3Cmg#n z8mIbW`>f46CC!`wcMejyuJnvO*^rcE&cn}Ux`Mq73biPkY%jeUIIWYnbkWT1k9&*R+c=+k~{ zOuXRrUaWFmWB9<2y@216blewzV%--9z}Kv;a($0E2YeOy%l3YHR$1c^0zc=Ks>nYM z{)fejz$?Kov-8;|HjjZ)@RsXpJ|B2hnM<%v1b@eVKdR2X>!QydQV`SOjjG6Xjxic( zjZr%IgpK&!NP8P>-<`<>e+^vC@94gk4<5IMl?(nicun8oQam608~iRNmaNh9?$l@> zi@^_r|Cs=;kHPqZ<~m5t1uyRXw{ES9OvS$w_GCn3)bYj7E_=Z;5NEtC{YX$huB&s| z`jU1j&hv=*(7tYsf5%#v`@xUkH#_^Dj$FEYe7Dn8YgJ#e!5i$XioA}0TijD%?av_i zDsZ=Bypa5JNBI(~d>H(yT~)64e&yg#fS+YA&+qnn;WffUYKe2iT>F|lnD(B0|2tv%U|T<;-vJ+kJgX3+`fT;{>gYb33%&weE&VKR`&{I5@L(-`3-|-z zxRs5TzcreFANVrxukG9ueP(r8Yy1|Unle`VGo$s70q+Fv zcAcFI?gj5_FE5Xj<@yJnfO*i#am=-|j=3%1$=HvWrP2E3qa9}Xec-*ptCDOy{%>nd zb^^S~Ud&Sm?`H89{c*nkzAEwoid+5jyk*U^KH#5%FK}>qNTK%m81S?o@LRVI{)Sb4 zF8EIHu!DbO@>F>08OHq5s>pYrVjTJmjJ6?@pJObHKHn}zt}g3Oxqdh40Qd#qo8pkz zIwsedW2w#$K0FK9UU(|Y^$yOJ>?;F3hz18N<1MvGkU*LCQ?dQt)L)Npqq2R;6 z!SC2Q`XrNHjmZ@7Mc_9$xI8EK!Ye^Lc7Q*Me<#$jwZrz^^g`t5`R%F5HI8%LQ0tyA z3_j_HQ;}vKB(eI6zYxyzPdRwt$5W9tz!vv}tUfln9P2LdPaOOMi>HAv`{`8VF$aIZ z;(qWtKc9-+?-=X(*1XLIpK{=o>-QXk;Pnoka{YW^A$SPfv1a3!L(~|D!B2qS<7nS3 zt9|9*qklOSxy8X{!KTVLO2>UC_(}(V!YZEz-r~?H*JpEn@V?+~=ht;uSoZ|SQVE}* zLu2$ly3wq{Ja(5dM`OnrCRt;+5xjHRsTx0Xp^lwKxUb*v>#0a*lu!5&J6zYHKLadp z-3{DY4IZ)h(+C_3H=gK!TEKHSbd1Fe0Y0)7X$+Zd?dA)Ep( zW6(c3-nKEwVh*?Wi1WbL{^>pj1>oO8PBeTr-I)Kj;==gC(CuSd1BF9SaSzR@uUU$N$3QU;z${&gzyl)b#?QLFw` z@c)9}>)^7`R_Bcj@Zm@BTj+Lvd$j&6@LRwk(f-@6*LeVsg1fCJ3c#NMpKdR2`yGT5 z@WbF^9XxvPR|bC0-=`uu4lW<|RP9f?0>AAAe!qi9-?K;s{|)?Z2bV7vnf(VJeDqXg zw_|)iw#GLL{N%Ayks}WNtHtxcKRJ%`s)I*A15*J0$B9#}zqL^Uo_F$80xAJF! zKY9x1CiqRK_;~eErSo1FreE3<_uIsh}@O9wN+1qFPE@27y`7QCA(+(b8x0Qjv44!D8 z|DGyq{E~3-U)-uX@`R)OB8#VjN5JPf_FuMj-=6_KrY*j2V9y_)XZ0@&{9`YEQ`?dM zWh;Lk_}F&%t#t?g#N=Lh1>mQ*$8W^jxq5!F*$gpM%ud9-iWtZ5W+5hC-gYx%$`SK- z2kgh#JRe9NwXd6Ah2PmtsdjyTyC=ADPIbg^oU4voV=)T6G!?&t?idUCOs2{|6FjL? zb!5A}4g8+4;!D9_0k3fI==<{vQ~XH{NvKKt>)+5`R;_$&7P zubyeHFsFby1}6~X>x((==)+vA4=qOGz0Hf=&zF6`UjaWuwL#CZA<=y}27DEGN5yp; zZxpW1u^ani48T9Gi+i+7u&UNM)U!7EXrAFk+_wQS!f|r1|Qg!II+U_4Rz>8}sp9TIw zEj$mr2)v&?zis_q0KOkQXy>-~wMxK;u6J*L8Tb(JGwtPV_eV*%0rr8nvvb?;+oXc` z2XA8MS48)B26zu}w>h5$z8KtX{g?+{0N%l#e_S+w0r8KQ^!~jmT7N3|x8OKzqWj-=&d307Q0P8>S>VawXWGki{JrqWGoqMA9IETUCa4GLanFgcrT@di6?d4S)9*)+LhM118S4R%n zV?5uR0qWf52mce?t&Q2>hruthmzPtcc^n48>uhi@UkIK6-pO8`=M`0d7(5v~&CYG- z#&YmB;FIiJ^>KW(k4>+|y$oXBvd4G|%>XaFY&=V-23KQ{upBk%`C=P~G05@38`U-5 zFRC0Hk;A)Des3sYj4g+J49*;jmB`TsF*P0YD#r=rcvRRvR7VbZ*ssPs9eh6cI}X0lOrUrsxOz|JxP$*` z@m%mD;BLo$KKMW2ZfoCS@Y!$T?{?Yq+nzlf0DlzxOgp!o`_$i$%LT7#&U#Ts{av|y zUv=b|x_;nW1I&*q?R@mfHxa}-#t+G5B4^k zW8Q)oUf4Sk(>@*7=xQ%tAahM0-ZeyJWuEy$Iq_O7HglIqf;ETa) z8f!0#WP>jN9~yftzBGC*UW%Btc%OZ|y$;XS)_mCrJ{;HcI~3Pr;gJQJns4gwk$i~q zH61sKtG`py`>mRfO~spDhc!5OO?^7>gN37L8+xl@PcmUk2ZoY26vn9d%*L--P(T?dL5?GcaT}w3;QxU8k;5wQ8Enm= z6W|@Uy7#fg^_XMeZe!R7JRRI^499@?1@CRI-!=#4g8RX7#*Ma*Yu47VmV*bt-Ntwe z_ylmb_U!{71@6|q6W~L@d)n)t96gR(OpyF{+qp-ccY5K?#Pfu0C~xkgg7cz%uo_g~e+|5s zoll9*<5KYL;BL=djT`Z-Vq49hUsK1S7rYxdR#(ybxt>(q2i_mt?KlpA`@t`@m$%)^ z=YUTGujyLlMVb9Lfqf4y=R({~>oKw&XT`{|A2DwG=m2=aJMMERVIt-j%Dc^>6!3bN zxgSUA;9-<^yB=kNmw~&@;aqUlN4NU(!8cv%ew-D9Z$$YV`xx8qdk%m%MgPBW@Ez71 zO1KI4j^M505TM65zKOXYQTsRrycmC<@|1%gwRk%C3;3*z+cB02z8V}7&F_($Ta`Z- z;5Trbl5KpH)xLc2)LK3(Qw%-;9B*+&%iG>tI{-cjyp5gP?i&*_@%{w3+dWkZ_#NPG z{YwX*4W4h$?|H^*e=stLgtbLdY-UxNL9U~dw4gOQ}G3G_eEb#CCM;jI+rp_hR^1UkEPmesR^BOile%?QC=_ekcB;+H>?oOn1cK(rO#4Xgf!NPX~89 zAI=0{1YXnmNVQ=p_}Kq3R$CCW05Mp~NB1emO6AxG{?7l%QH7Xa5L44wsPS%{h3~(( zv{UhZ;FC(+kE`+E4}d%NhwYi!eDE#cZpZaX@ZI1wT^m*X+rS5WT=Sgtg6{|a?0<}b zaT}haAZ7~UqsN|H;8hMUcsk}}ZO2YJVx}U-Z5%VfH=~_zt2(S>YlC%c<${mg;XY3J z;JM(39oL_qt?N%QxPNE0>u>TN0AB#!&tAXn{F{J>VXMI1t`8~TE5Rf7@}7UJ_NRl- z-{oFD6Z}r_PWJLQn#Ij?PcC>aIBxrF<1@g@pATLL-p=xr1P_9@ zvUA(}Rk`5p(0)9ovi1L}X#c^-g5T)iG63p0Cc(#MfF{F4Vc*V||uTP5Sf*%HNYcFpbpM3D&!QIBE7`#I* z<8uH!6Wr}yHvtbe=YqSvw~+!q3EZuH>EO44yNypKco^Jmd~(6PpSmBP`QY2Gbe~_v z;A_F%=GOu6m%!cHmoN?2?ppR=3V3bvCmp=D`I8B*&JS+;FBg0xxZC{B2d{(nby4#} z&u`oNBE{fmfG69z?f5$Y?g4ijpM=}-w`pn_pA_)STE-_Gd}A&3XM(>_OZ~avXVx-4 z`QXE98J}YC3CQny{DV(J`HuGSv7LVtFfnI>yIrSKz*mF6uF6~2uLA4*ln&kp^S8a7 z+wM;@!TW;uw{xt^)FsF~{=u&U$8Cx&fAsz+AAA+~3I~sVf3q08#b-5tS0NQ;ya9an z1pFTSJ0Yogv=05fEZg&fM$@sTz+7+}t2FQ`G{`tW_2Y2gVHuz`YZv6{_e+zzvqkYl-6@n*V zeC9iNw0~jn0C>|l1nBm~*SFS6<=~?}kC}_M{xzC`-%0|<+h)=79{C`z8oxB~b>IO9 zmk+ln?gwv#@g1nRHU81|XM^_wciTTf@JGPi+FuBMUoHD53_bNV@bu>uI)vL`43`>RgB)>p0};>E(LFkdfdjzn1jEm z4DL2gUhvi6-R${oYY!jzo8WHa6aatkOZRcg0q?xG=K0`7ogwfx;I)lYF=B=w=309j zW5%frF?S>8ls(3C)EcKGoRG$SRdYMk{!RrS3U1C9J6oDE%vk9ekuXa0C$_uW#HFdH8(%Rqp#K75q<^@$q7O zGQdm0Yuis#5c2@)sBJz65wi&~Zu_Yae2L$EoWkJc;BMno4&Gvf`#3ea6CZ5_cN?cP z@Gc|W$H@<#TFW?PgSY%2-L9i!z`qCYWG`=9bI%1Y1IHt{=()}IHy@UR zFGBymvzPbmvFhIfKKSbD$QzFG(a-zu1OIO=^`8Jg363jF^t{RQsuxy^`MBo>pJwOg z?>2bMPkX2_>W7%wXoGpo>+`ei+&msU6WqLS*4*}7em=R|F}o7{OSIvby$znj));I9 zU;DNDcbxZw-}H_9KBxkp3hp)rt?xFB8^CKD10Q16xa4S!b_c*$g1fypkpmtAce}oX zz&C)OXCH%rIRxf;w+MU~=84-Fm4dg&KKN3V*ZaWsJ#Ygj+`Ew9ZJv6;?+14qBOmx2 z@Y=>G6EQPtnJ2m66Kk0#`Q&c%q!|2mluvRT%Mojy900#|RJHs*s5J(=EuL^Mp1;*H z1}Wg@*D?m_;Aj7jF~~y9TC~CKSjhul4&K(jpKQlU0lC{4lz=Cp4I}LH#P+Pc4E%oN zcl*qGQV!n7NBPGc<@2mDN(Eo!G6rg%XMoQK?`1D*O!QFlb zya4>V{qEn-DgjUYuI72F+E)gC9Od2GmvkSVfuX!x`%=N%U*q1s4Dg?7Xb)VmP;K#tvinFyZzLB*)ECAnv`e!-XFB44d-xBa-)bDnlEdy^1 z-o=qW#mb+w5bNw8-1Db`PaEUj{tWP`;BNV|z247Ns9V<6S&s9CaCxKsQ=eFNV9|hhVeLc(0{ZhUuyqVy6D6jslU+UkB;RoTL zp-pHb{Fe`Zc}#pH5@+zg#9!i!yW8Mv({YIlJw|n0 z2a{cVQLzVKwT(~2U(DVTpZID$SFwqoVccov7}+q+1NPRMZ)TLSzY(Odd9OX zRsWKep6@-zagWdjThIJ4Zc`6qTaRec24~~n7bW_PvEsED2F*%*InJ1ee>@$RSR7}( z7l&Po1~j}FyXKxsm$-6eyz%QFaj%|@ zbI@W>;#=4}wb-M|{%VgrSw(Eq z@&DO>`hQd>Mm+P{U*FV5+zvn9z}%kjglKtCv1R(ve$4g?Znq-e9K-j-Y#-sa zd9Fg42Cqna^mfOXZC}jxIBx6q&)~MM|1oas_P!cZ{v&Ry^R9Z8aT`aE`8sW#v`6Rb zz-^tce+<7qW_upDb$_0S;p@4r^M$#Mlco7O!R>Rn?R{0++yM-+j@VlkBKji+5S3a`%iA`{v^HT9G?_!>->GW-CUYyjO4a%->otH-k9=F#%#Y5 zQ@$vM?~U0$%xztN!g^`1ZeL4o>-Kczc1yN*NDRM$+vYkQF|)a?kH1CS*7dy*v%Qtu zy1vi2t@lq^3_lgK-K0?3uk&|`*&YzHJ&xPDzT3I2`?n~DKNqvTF=qSYnCbF74IhmBMX3{(ZTvkFU|(*5h$Iw{^aUxUKuMiracTHplQ!Vzx_TwvWY>KYc?? zd%3Oazm(g$zR@x9Q@O3@!+qR7jq~aM1(7S2w8WECbBlD$<8KSs+bd(X*TrnV9kcy$ z%y!Z?$%nOz`8u21GU~9*KahdnS|D$Fix55jc~1&yMXuJT>ZRxNa&mn>*WEi-9l@s% z@N5`MZuP>7!+fdttJSNHh*8AE^|-x{?USoIo=eha8mzITJy_G4uZ(`8dVcEtuIG!9 zAtR~%J{QWiZf6NQRG0a5efoN&`-@M*nf=*k{?RM7n3HYYk8*AoTp;;Ra(fQ*{@)Va z51rqu|MCCz|H=rAS*ec{XZkcAM?R{b8lYxVbErXTh+0T3qK2uZ)N-m}{@@Dk6RBQm z8r4VjQv=j&Y7R9>4N(iJMbt30lv++TmdN~WMDlSq!v-b)KY3W)mX~)G)P_T23|0KLmsQPxVsMs6MKn8lYxVbErXTh+0T3qK2uZ)N-n^jQyv2scBRn z)lUsjv#B}MAT>lSq!v-b)KY3W)p&~aQ@zwQs*mcY2B_K89BPmnq83t%s9|a;wVY}! zXZ=(!HI3?{`l$hGHZ_MDq=u-4)FNt_T1qXa;>n14;%P+nQq!nDs-GI5W>a&hL28Iv zNG+ma&hL28IvNG+mZPVpeN;a+K+UG+P=nME zwUAmw4O2_0)G)P_T23|c zSwGcFO{4m#erkZ4P0gVOsUd11wTK#~mQu^9#!IZ9>ZPVpeN;a+K+UG+P=nMEwUAmw z4O2_04^`3Eo2 zf2x<7M)gts)BrV`nnMjzL)1cQ5j9LLrIu5Twd_CDOHHHtsD5gInoZ522B{%xA+?Aa zrj}C6sm3d;pX#NiQGHZDH9*a#=1_yw5Veq6L=96*spV8-9qXrhscBRn)lUsjv#B}M zAT>lSq!v-b)KY3W)p(WlQ@zwQs*mcY2B_K89BPmnq83t%s9|a;wVZ0a#`>vVY8ur? z^-}}XY-$cQNDWa7sYTQa&hL28IvNG+mP60DYcwxY-asbFEx$oqxz`rKVARR6jL9&8Fs1gVYeUkXl3yQ%kAkRAUS4r+TSrR3Ft(H5+UDpKoK$ z&kuD-@MU@a{ygOSfTs<%Mm#!z#pCDd|i3g3VBQ6HwRrs{f)Wi_{J@a32H^`>4k zan`h%v%D8w(DQ<{F5PCCTix#Io_0Z6&kMSrC%%=*^&jy@oKdPD+}on!4Vcyg{wRot zsoy_{x+*lmdf&k5CmQm42o#T$){;%{s6n;1n^HTh>4 za~J%3Uc?(s4gJ25l^p+wH_mkNn;H6jB4>PaBgFTQoPG{7a3N$N2YtQSY-UKOD2a+R@jaQ;{tA zP89wTXKRn%%Y#h+-{UrwdGzOBbe?%;{J+Ql$A@Ze|8nLT_oLK^&nKC$H|Wo!uixkU zg8mcqy=F8%BTD}b`ucss21u*M;ZyqN=gkq@3BKxY(K{S}cKAx|ze^vV3skQu+W&w) z-;jIE^cxwiInNnxsK*4V-hRK}A9(3{-=cpD{mV>>zq3dGCHne(@?-S3(%0`VHo~dO z>{m?u1@wQW?`8fW^zmmWO-GN#Bj1qm>*+t2MJwwHB!uYr7cYR*`bmUd9 z!|+wTb6GE&W1NOJq~na{M$t1euXKC*z*qGag(Z(ZE=JJ*v{c@i?keexyXl{b@z>Gs z{G&7e8~Ca{^JB(84%I0?C#Idv=-(IPcYv?j`2*Xj-!H$6@xkeGKG*#kM?XZrfa5cZ ze#R_`*W>db{VQVp74(P1`0MBorH^4ZUmw%=)5r8PUx(Dt7=m+TQ zeqBO8E5@HdKRd>Mfd1SV|8@E~F~0gcr)r#k<2d(X`w!D^`#Cy-mpcEdR~5K8trJoVw`{)Pgn}7QQeHg3#Z>9bE zc$ouVjoX~BrN8<-|AZOe$S9p7$Cv&*$(xK{!ua<%K4JQg|0;QQVLz$Y5&9F3h(Anh zqX`atb-e7m(|NpiG5yxYjWO*U4qvsi{xRo%xr2Vgqv8)>{viB1SnshJ*5`5Frtf8( z=4J3zd%Sl!+mnP%Rqv;#B>xhY8%qD0wm6{h8Z6kjhyKcQ#MjrCF#UD(Z)2Wr*c~eW z;$>(6Uh4X-UUjh`Q~ri?C6B)DkEVZw{xI&a4fGc*mptb0ZzE3*8ldw0dAYMaKhUqH zKN{zE^%{m9ZPvR&@|eHT4c~_YNBJcMl1Cr!IrKkVDe-rhS@3;G`Z?Fj2#=%Ry@}-c zAt3%P`V;A|yHWfJ^dF#KZ=(29=&z+eJI3El|0nu`7=N68>P?boDE&4#(W!pTq`!#% zAo|tx3+Ydz|5~Qx`I`PR`VZbL{xa^zcj=#ftN3c&tX_xckD{;Ewd&OvCpy)h!}RYI z+vq|6mMqD$mHv48-rK}KK>vRF36sR{Mn6Qq7yaw$@20j9L;nJNuv6vfI9L1|B#kkg{{8f?raztjKKdK!KSO`ou2p8{Z}IKQd1m{Uh{so@?m)=S%z}jGsmSJNi0)DgBG@miX%!znT6r z`dkhgb?`wwH4Yyxlz0!@*^hpSx=`Y!-?q4y{`3dL*SF>8hgU z{J@LiFXK4eO#dJHYQ3vo@6%sjAn}LT{wvx@o@K9ye?9%r=>Pqy_^Ww+_hF%{>V5ik z@zwfIy|&W#ZV`V5<9m1|{)xB6*Kf~0N59uQ;`d`af1^MBeew0Y>eWv2EdN0KEj%v5 z^!+=6pad$M_Kaj{k^1i0%B1{*>e5&t-hwRLOII z{&D(O(*O2^#Q(!QA^M+Jh<`KvKj`^IuZKj8>G0J$s%VAm_fpQ!C+UZt<$R$3 zF7rehNP>Kv$JOf~{TDlkufFT0UQN!I_T;CsUa^gI`d!Wwe>3M>9{r!Yh@ZoHOW>RB zd`{ZqXPzVUy&>^O(QnyV>b)sV^7P<1JV<|;x}m_UKK;MxKi^&a-t;GQk$Q8O9|wc^ zx<~sjNWIz*X+NJn^K6H&j-#)7Nd9s4B+p;;yIm^&F+8rx^e4{|e+BbQrJp!geEo5&W%OU1Cw>vG$LjSl{hJ;a|3W!zjAmFMseb+S zwD==&Je%?K)A8L>_41nk$M)66?h@HeabdWxg%u`!75!48Q4PQ272y5s$AK zj1ThrC>$Q+N%(4f^3@;0!;6Qh@rD`S+Q{PlnvUN^KRd?%h5p=_`@6=yq@9It$UN71 z&V#S&UG#}_9H!GRq(2t-KkD^3{U>9_;h>qnwUNVm_4TM>Z^{4A0m=W5q%kh0fA2x@ zFQb1G{o%ie|4tnN57V#zhxpfVzpSS}pj>=CACA*6ikT_?qHlkp+O8$Rj4J@D234Y2*{IlFqjKz~s^=~sr>#+USW)92;TsB@9z`Sc8l z@5=`DqMy`S{12FCBz!eKp|&z{eDt#!zk~4$=;zTNdbZ@*M*l^fzm51|`bG5j{vp18 z8~O-*b=?VXbI$WReWm?NQsunSnB#C6eAUiUwo^aQn6CYErTu!Gm(nkzulLJV`bMh6 z``OOD^!@a8{4x4tV*HjDOM3z_{$=#DV*H!vXUF&t)6bz_&h^YII=-{CQ@3X~{kimY zfB#E=evID`3q^DO(=UInh1uh-^s{%$8CB=Mn*Q7v|8AWp#xI~BqCc1WYdifGpGtn+ z&I9zl^mV;;E|KR{soWphKNr3_E}Hh>d?3Gq{yFrU)4!E|zZicZ{j2HYG-$ro(SMFU zPcz2H^w-g!#`weZTlSRpV0xIZ`j<*ON6|+&%~u!tLHhb*AXm{(?=5+rV*E_{-_pOA z{%ZPj`$+s)`sMV;T_`?I3+AgEPSk4Lme9|je+T_<=wq2=zP8Xmjrph3ucH4s{T%we zeUg8~MN;qm^lzZQm;T-KpQL|vUy0w%c@n1oy6Z*r4i2okr8>CDA(Hw{2^heWw`F4rd z=i!Iw=MNKq2iy53{b}mKGG5sp0sp1HY6A1n_YRbL7mgG^Pr~u{e8sPSwfGOwe~JE5 z`WPrGM#oi8ud_J=iw-evVrw#vh`8C;b%qO>tnV z<8<1MlIMK--RVC~-~2oDV2kLlxJlygVf;JvTV#s=9R0uOze#^3{S+KHs@|(_miR%C=;ukW{5c)4o5q}T;ApLn$#V@8G zrhmya@h35V!j+PLPPX{>F+P?43Ho|{d!6=YO1!@Bc#6Jnw)oqbXB++aIpSB)|AqeV z3&hvw|4RDjEEK;p2GQTTNc@h>GoSvEnDzWS z^nY0@@#i!C1pTvDiLck&{$WzDpMFcmrw$i?68)>_|3iN(eJtC|*RKdr?f;uT(weVq zEU1+4drs>8n7(I(_;o|#>-ZPxkEVYe<1Za4@vq0kzem41Ccf|05b2!siEpu9eDiOYz+XQ`{52cJm(?Jii(&zw#(4|zo4m&&1@33rPIhm^`ED|A)SA=Pvp~w@7<*I|tn; zdA8Bl`)f7*9rSfO<0eY{FZA{P%A((_Zv%6L^?4xiCW&wMmei~L0rX?%!|U{8_wPlS zlBXZ@=<8!C{rl+8HEYLj8Qv`MC+Yu5|Ds#OKeScaqpzF4(vRKmBW{)W6!iu)Ub^0W z^lziD>z$k>@judU%Jbx3^p9g!wEzkN3r{TKK)^g*Vpm(QziZr`nY_XFZDNLRG$7tl0TL8 z&YmXzZSRZ!2;)26E`C$S>-oQx{y&Vz>Ct>m#{^dSulPXn=<9E5+z2TD^zGv7cD_LW zVfwnADR)SGT(PsAo9UnTA7?uU&5-y#%wx5a{$|GOc8-`S@pV6xJg3uq$m_-pCwdV}e=<9kvqo44(#Or#~awNVR{qI=scl2Y&?e6;|KKTpDbCmJ* z7Kk6)-$nF2UrM~!BOORsSaUn4({KNk#OwAq&XxH7^v`0w+vtzm=Zx=nzr@d@--YoX z(O>Ih?(c#-wW`Ye!YKvPhqr~=ii^Vzrpld z8RaqGSD9+&!P$bp6Q%prihgYSC%eSQ(T^RU8T3O3WuCNTzm~v{Q@=VD^Ev+l`0X)n z!+((YPK@71zpwg08eToC@V>%7#A7lKa(`A31Nx#FxlD|c@MruYWFP{41AA zd}qdgLw_Cf==RrtM9sE;zf$3=dcPSad35`4hp+!_FZBrH`+6i^=Px$nla01r6U^{+ zEc7Si1N)`FE$Dk6m3q$@?X1@izovTcXZ%Owo$;Go;!7C+zyYau2`d`rB$m5~| zeb3`kZ;L-=ob`3*Jou{Kx+A6D4ji8==r8Cf?e9u|GV_c}lzQ7R|MT>}Kh4>%Pw02Q zKzuaMd?hcDdXJaXHMh^E-_7*7VUvOI)%fSulRWQ`-A6z6yzwma&)6&Ne^;t8-e>$} z+>g_kr|uIq&#PAORlP$wp1Qx+)4z(x7nY0WYrUB#*=Vy>=IvJc-_xIPmW)4clg-!P zrq2zVBrTPCLp)FFdDR-e+Fx7vJ&rKT_!&Rxcge5EXFmO2BW2u2tm}o}nE$rREasV;EcNR4zes=6MdIJcLZ8#`JV5-;^xH0z z_FOPf{HN(Jgx?OI*D8DFbkp(D{}X;=Tz~h)TxT0TCGBt7LHc_?=W`GGy(Y-~@5(&0 z;H&+93)`dpKj{B@jkKo|g zVxBGV8{_@ix%^(9j2`~x8RIwcene z`lZk30r+aaq;S8;RUUr>#wGuw%v186TNaOP>c8n(@iTk<;p#4Qb2vJPlvf+q1Xi*M8EA;*Y%0=})G= zpj`ILHO#Y|{=HmRC)2N@zv6ny(}Dh+e98X}*Gp&8FMzMkKeIbaetjJ*p}&crW6|^H zC+0ba>tVfqI3FiQmB-8PQBG(6o9Q>3D)a5icmd1dt8pmLbdK|X=r`&l{>RL7?P|%t zmhbyqOn)-{A>F0@JLo?JU*+$^_1;+eVfsyY-`bvjHT@5`PHV+^(&J^xGbBaY<7fPO z_^Q9(bd`Gb_dhdd-+TWs=)T{F!g5M6G zBg*+k{K?EedX2<)=XJ0b{X)~{hD~d#zCL2#=Ro# z{GQiM-Nza5Rs6nj60g@MFVi1#NZPZ3^=@aLeO#aGsA6TgRknX z=6zEi#^1;Iou^4V_0NPn!}xV=8kmu%I1k&rCV7^{tcUy3|K?1IAI$vO^!v3IKZpJ? z_ka{IT#=dt&$dgUmlS!t)Ht?p8!6vEqGDF6B9{peGcjWP+&r4@*miSe}B|gabZS-TGpB#p- z=I#CkQg1`XpYdkR^Q5bbKfv^pjhmQ9w{tOkHEsua-G7|+9xS%(LrfIiKi$JxTxT9pdZ#vWfmUo*&L) z{$0%f0-q=7_6&GW+7o-+-9~@n#nP|-%(I{V_$2Y$)2~w`{rx0noLj*+&l?=ia~a>2 z@v+af(iwj}pYx1i{4*T!&|1$Ae(&Z;{OU?wWo^fmP=Ts{`=zh<9VYA{Solh z{MmMwoIgu={=AR=bM@u?){_1T(`R9uyvF!R4@;i+>k0e|zG~0N!*aaLWtrp;RK5Rx zbu)dePX%(ce8p_T#mTZ@0bXdWV^Qva#_gX@8*{ z#>Oo8Dt{W+S9)F@p}&{U3HAPJTrBa2)1=?alaV<_Wfw{C(+n`H$55XUux+3iv92hnVN*ne?|kB>mmQJP$KZN8Z<@(2p=a zcHQ3WL#a3RdC2+j8?&rku4jDkY-zu~pL&u04)!a9g<5?i`B(7#uiJA4eATb&Lo!bW zFg}<5h=nq4uOtds!#o+kiQk>^+vz9szPK6vm;R}Fo}6HO?7FL6iL~c2E{Gmwo=f4Y z`IE%wNP7N^Wc()e!z_5c%Xu<|@rQVx?8-a~7~hQVJ4~j(o$)O^GM??|SJCgp^d4K0u#veL2$!y_8 z3DVF;JEh*4T<2WM_RoQ@@{gV+`~8l10k6?d*Kj}XVtnlTdhwr2o@QJJwqc&9>964VU(fTT-O`?L znH=c%6-j}M;G5&g=UO^`6a8O1%D6RQ{(4_Xp3F~W;`E{4oqp^*8EpCtvdK8culLFR z{n;Zh558*8%;r+BJ|Avnd@!qy8R%;*@ki*d*(L44GT3~z*duvvikCckeBOqy`@&FD z!i6h{RlKBVHe}LC<{W+`0=-+#{9M}5!z-#bTzbgDPZk;$t z{l60byeq{&MgJrC>bOX4EA?*UemuzdtUeOoPv_YudAjpDdp-Tf;j29Vr@J?SlPoFg zMH5DlWmpConPDCFVQcD~%-UFFx~sFNi>~P@s%jPn^pKT#sw=y5BbVx~QMd@=8x@gJ zK}7V-xq(Xe%MIizrk?*!}@ru_VWnknBjN?`r|4{(oKNH*@YzEBwWW zWd4SJ{u1D{4u92<`9D$n|NalEAH>wXl*dZ<2b|}xey*~%UuL*9as9Pk0Dm6fH11ba zA2)K^{{Z}=Y&WHMGW-Fhk9vO9&vO6S_58N>{}er6hQ1y8kc|6$)jM9MW3>RM_xiI) zUi6&8->L9__`2|sJKasb_=@)P7rHMd{_VyOOaJfp`~n|V_yhGEJyQGsG~hJuC)ECL z@bH3<2>b^;dGbLDe}cvfJx%*L3OKFj^~x8_*?+gT_w~5XYWp{<9%|a(|6gR>=iEou z;h%&Il|qHTB^3A{>$zK2_{Tpc>+{3%QR*>VCue>9gtq_ogXKK_pq``OQuvYANC#)N z|Mx1~*MGkVIKA(0sGNC=j`7fcmHFSK`rZ8$URC%5sxp5=hj#&|ettypyT=bIyr=N@s2p`#;h$Bw?_az4R+?w_=kW}O|Mw>Z5uyi5 zn>OIQZn{2)^wC=t{u^q~F?{46AD4A_(OqTzA9zQ3;4*~|UMu}ys{I@VocjL>wKF_e z;cr#=6>9G?bH4l&(*99YAPzqU{!4(H-?a<=_$`LR|D|>Yv+wWFetbLs$|t4&p6a=# z&zlwQ`_bN_aNoZ18Ndl2e(inoz7M&B%<3MW%Ae=M7=F*vGgoBYjQ{jF;IuxzpZD3? z{|!IJ`8ZP zNBR|i%oV_|V)#8vA9?s)xZUftqiu!%?dxQo=M-;$7I0eszUs@5)cV&q2 zBYd0T+Q|C2&u3*FEIu`ph3Hyzy~q|1gDrlKZhb)?dF-0Ke$p zr2qFR-MdoTF9S~d^7VJg`Wt!Rw8DSy+PiQ|lOO$a3V)E+F@A{l^9Jqz3;!YW)G{%p zzgGB~`hyI;`ik~*wd(ceykGe5GS81M%enqp?f;h){<*6JzN+x|DE!#BWZZWv{96it z$1|n9mt{U>tt0x|+P(oe_47jAM{}-!QQKc|gAld{JVzdQueSdKwWAt2=Zo6@=QO_b zG1~uwzasrV_Hi=LNa4Q-IN?cK>4u?)zoYP$(lNtFzNYXi-XQe+Ce#1_EB)L@>-@Z1 z;d2WAlY7WI+)wfFD!}P|zo~j(P22yd!hO5YKWjg`ZB+&LR)b_sp?X}!qAGSXJSo^u#qh;JJ{qCQ%pZ6%= zdAPzqr|oZ5{rw_^-~FpH&zCD+%_;nu3jar)|ML|7V!&x1zo~X7gXh1h?Z0qu*>}_a z@3_4_Y<+x0`+4Qu_c8R029!VKYcii@wc}l<&-^mrH15|vCJScdnYU{DKUKQ=NNsR|9)$p~C15V@KRF-wVpZ0Ut|0HjLVXB1x1_^v|= zKlKfnkH7D~0649~x6aBsJWkvHfwsTiqf3{3Q`&E;U8t??pQ!LhJx$K3iT_zw_&c62 z{Xb3H|0v+JK7PKy>lD6oo$RmKi}!Iq`mpu!`2zSIzm>n94`4XrKr}x88QNDBaGKAv zRi6Aog^vpQd5O0FqQ;v&O56W~!v9{^ZByyYmERUQ*-Tx@L#Y9{c}MddeeMEI^2X&} z9Pi5jr+IFA^2VQYKgb_Zy76l5?EMP=lG=w2oxe@{`LOB*57zcKe@FVi)QSwH4eG1@PAjhZ+Cjk9jTw}&r<-W_qtZ~dP6_o zP|*Hu+Wwr{AAU@`T)iN_{}^!U-}jg8a(m<}(S-&0`SRVQqt|Ntx2il`6L9H03V)LN z5uT^;5)##^{|8+n`|?zU9|oM(?Lv(!IH~ZM;pXA=b65NE>Hq7spP|Fp)j|DS08uUEPK2NeERg+J!cM6Q0164uWs{6`)sc=AWu{>~_nOY^xx<8X9a zN-t3OZ7SD2MBBd{@I1QoMs0ty#_^gqA1G-5Ifmb}^se8R{rXKkr}w&0=5x8ms~CA{ zP2s*?&{6m&RK5yyo*x0+%t1l?@g;44v&Nr)N%!}O2=JzL@clCXP2s+s>I;Aq{`{Th zs~Y*?!g~t*k_+U$E>r>Ta=@v7-#_~+3cp3=&*$i5FTI!ab3e5MyjbDe4A(!bkLPLo z&V6Kmza+=L^hSk$`8vTv497o*?vuYhZ`bytIcfhP#oJo}r}_JF?q9?Xi#Fly&%Ledu~_k9!>c zQugIvbsf6e-nWOmM&UQAAK`J@&tE9~x1S?)>As4$PbgT=D+=HZz-c{wJN!oq+TW(_ zpZio9_xU=XAA=(`Zyj!C_&rM-%ksXj)%O1iIF0N3zwQOc1jFwv{r`!!Zv&p!|9{i= z?@)VJN8A4|ZjbvZ)ZY7Og?~ZYzf$c0S1SDB7gPVJOQU|SOBMb!!1MU*X>I>O^?yA} z+yAD*|NCbJZ{Mu&_ba^oXR;3FzJn41t@GaNV!&w~{QZ5g!r!cZNh5#$8TSMFsrR=0 zj*k1)g8nbOpY%VcaiO!Yn@^v$8(--b9{k%l|O^e$84*;k3U;ofu8KPlcrFUujzrLfq zuX(Q~0uPAKUZ#9j$wTQT!1MOy*BFla+mDg=eVsn=R|=oKRRBMt@J|6w@B1lzuN9r= z>;nb+h`rS3!|IOO|z7Lgkc%#C9Q{j*Jd+Fz9IhLh&X+N(} z{5R|WEpD$5TOap%u*~y^G@jY$vo|RGoUWU(JN*LSwC~|lWx%iK`v0!B|DPJqX6WY( z9Bs4?e%+6wfKxxdpX*uL{+%kH40W!%+J2~Vps{bfRNEi_j;xQ7V?U$qU$6eG1?}hi zFO&H^MfFyL|Gxt`=a*@`-w|#96~OcG^Wulf{C`{Renvh#0yw>|Paoc(@Sjw9&z#@) zYCm67KJsAQu&-+STQooA-8!G)!)TuOE8XSQ_h5*TS3eFot>>feB>S?i`*O#J%Y5#w zc@~C_RT!?FS|8T}PW`;+0_kT%`{^qDRo4g{WRQP;Ug7Wkv;d6#@b|cX&`*!w-RluD zpSvlZ8+x(;IF0*?Pf7nju5oc8g@HNNYY75+(u`{(qIkD`9EKMw?)`gxM-??zv{iQC_^bZ@Pz zVCc#3XnQ{&;Zq9#fa-|`pYQi*nZKWp`9#2J++SDvX5@h%R`@L%*LSl{`TuA?zozk! zo4UWB)%F`69SAR%{vWIM)u(7b?*p9n@wPh(T{5!eSGE05tKahx+Wygxk$yhs(aC2i z{GMv(H2wTC;MBj*2mesvUr>G|)Sy)QfWjZH{)lBA_kza?KYEU*_dN=5TDMpJi}Yah zxVpkW5DGnC(|+Eg@T$han*DwBschk#$CecB)YuI(>W`Rbwiw8H!A$jPn3S1 zbfK)L;Zw_i=gq&yaKsP%wDj{;9rq;)-_ksVp2FXx{eM*DYSaI%3itDvet1Uarl z@Ba#h!#@&;;uYvRbO5JuKdy4!3l#o&h5PYTcPh*K-tq`JM{m*gmoZ%bus#+6r~ZFS zr;Ika2odmde6v5{!t$Ij<)}j z>ghkH{qz^5{ZQ@OMxOs^hHE41<8^=&zTK#H27~AK#f4u4f42G^o}|yrDSW8$S7zM? zfYUrr>b*SX{JvV@e>V{Q=oQ+}=M?^&Zwno`M95<4;wS5TJbTC!75-kuhp%Y+KL(t} zef%o~e{NFv2N`a?sQ&tS?Ppu@_DY36{3+7Uf2v*gsfwRZXLz=s=KxOY^NZKYc`@|l zvkJen`XdZqJMvU%UsJun(Bz*2oaC{~RF1t|hx&@P|53HW8@tC3{gCwYooC6o=3ERF z?$=j&9pJP+f1-5k)CDrYKPlX|hx~`a%WC&9`+N7NNk4u)lZOIM>u{Oc^Nk$)!wUad zjYBs5{FCG zyjtNusQddE9qKMeq@U}Qo)~@VBEV@M-{i?}E86~(-a5Yx@XNB(FMU|szvjt;KXq-h zy(HuMb!pxYIE{N-ApC1X+kaWxzfI*Iqt`#?sI>R}<5wtr_EK55FDu`Frozh~5xAib z?*yFo@y;rL-mK%^tt#-xuFL%YS>ZngIL-4thunF-QQ^-&E%^5Hx?k^B_?KQJ@R#a& z|4;4zg&JpT^pWy0>Hnfzr2`|kuPXeC&&d40q4Rm=C-VK;zp3q?q36r^JN_PUdfz`+ z{nV`Iw-xT!sk`J#X@BJIvJOUmTT^(b^waR8{|Pv)&!rmIw4?LP`dF>9rv?< z6Ma6e^!eTjf8q*_oBg>GaI){+iywhINI7eR4+B+etfDq7{>i**pBM0ZYLg; zqNvf0PPMw5wN}&^cKd^SiW&Ec>WS38Yn4P)ZDq`?d|py>v4RXm*gRXOy(;(5?h(c!hFIwIcvNSX zoQImLoM<)M&7t$eEKOo?rrF!*H&304`}UV1&;C?ATi} z1pyDVvD=HIAr^%;$Sic37n;sSKOPLCMm!jHbTzS?! zXrJK<@45e=J#J11O}mG1o_5pff#?9OIW3D0sYhmgxDqV(nsGfo+Z@DEz1zW3jp~HF zIAse_gagMIU#kzBJ9zz_YB-aH4(TlCx2G@cN7|!dd@cgvI0){tit^}4NQeU}iQ7NyK|t_J!JDtt*U_I{d#C@!Le|Hu85i_-+QCEUlY<)b8>b+630oHl$ z^eR!|l>lgvzyVv2=zsRgR;r!Bs2{I^?lYmaPulEKZ?xQ~uAX)%daw-UeXQ1O;W0XH zR&V9<(so=wbG+7XoUQfa^--_ag}kxc*{SuxrG^{pOD++x{ZJAQVf*#=d1I926J zkmP>1j`b6cX^j(FUslh>^%2wP)!J~I`$!QuKqqGD!Izb9o9z$WudM;*Xz*sk>unLx z1lM$9X$9JA&1SXS9?(Hb`X1NVZZ|Uk*~a&Ubinushg*h!y92TOLHces`$;*kNbwKn64JgjDm%=xZT}}dDDoz z0U2;+PM)}?)m&X1G*1ze1nGsQP;IV84@ zk>oUMp6%)ky(Id#sG&2hSxl=w>O&kG%ImouoLrxY!UeC*QDMhG&E{}Wt%lG!cEO{c zOK%=+j#_7;0Z_ITFW-R9(p~Y_XC}%l$~7%s5>cNYVA}DGtM0 z%RLTrxx4z^c3-eHbGL)DG49o}TZQGa4@%*~*u3?{Jsg`b5MsH`taqu~h(QuS{o1E_ zdq_TzgMvetvXu0Ihu4wT1RA~6?d>kF0h2&Hiu=TI<{qon&GmBBzIwwU#K9&6Lo#N> z(N0_^`Cg16L|13i?;vj&^>i+U$`jSqV>_!m7^GQU$90aDNHa@P-4m^QOkVP(G7*kRFUOq(EJ9Sy1*v2?GYHNQn}wz;csW{qey3TC9U zNzG);5o8fETevS^cbB#cE7P?j8_6{N%}vo?cWY}9L+N$kRBKzw0%3LuTd-B48jG!FMCyF(81(}Gtwk#fw{ZJl|Z(WEQMr|Km#c2{+O%o z^w_*t+uZEOJMyaeI6t2>DZ=!MEZPt#w+W5DiuHy5%GkdJ15CB;uXwY$O2ST1kwycY zJ;+Kr34M~JIDUbJ8aj@4V5hOy3}X(uEm$E8qUUzlY_@r%v=8gJ&PA)BUUsJorc>Hb zC>o9U9M(B+rfupuU5|3KYM;{}9AP7%3P4t?V;fHFtOxc$i!lB+B5G4zrM0Q>uWh@F zFx(n-cv%>`M3aG*nC&bKyp~0y!j939QMpTA+?*}nY15lQ2oju9-e76kl#;o}v-%rPD4aUP4~z>w{B)7s2RM0=8;y^SE{R=0a*)Qeu5TLaO**KIH(GKeNWS+jR|u%qfnI$ASs? z=`oOen#@RS7>}@zltLfoLoI}sdUFVr5#<0^IcQir<*=Li%~7+}Fy{p}!(PF%PkNDD z)EPVT1)h1)e1m`qt-gVE425EVz7|ZB7s2MWI7oFNgHYum&4NABItdNV_8-i#{J<1? z8|EvRKe&Cq+$_DAcImdbB6FDqiJcIhmEm^b>BFqjeYE6OYq~m+wHzWJwZKxxP19Zv z>MnmA-b3e&ga`!-)@no~`qYTQyGCCTfwK+S3*3YvJ7yK9n_jwWX1&|1-YkMSUTJF< zdmomOcG~3+px(e&$^-VqYCrXe+2y7s${#rgPenTAk(=--Og*fPq%JP#nJ}x%UsC^7 zM+hv7?gYOeA_rivZbTgz>4YN+@28C_-cl71(8!Vx(n&dzYnVHhylVakwzT3NLM9xE zNI6#2m?SF7p-cMWIESg%A1|(QvA^9p2$8M}WE5K0*<@5jiS^^QkP<-D2RUxMQd`M@D}+4ZIJj#3^PJr^kx)2pt14 z8dXoxm=m5WI%1*@W+h$>GfuWW4`IPMTO`KF8(}wCy(SN?AesMimKNct0F}X6k{IeR zR$1F@zshq5*lvV_kf06inDnpeA$WglEkrof5NTvA_wdm>S~F9Xfg`MhachemnLEw+ zY{5)1#&)~qQUQ9W1$vgBvxl4`Xg`MU0ZPM|Ufmw7)nF2nyuu=NSMMWUg#t&m+tnc8 zzasWbS_AtHt*?Sg(g|Xz5cHD2Ber7aY)LRf&v&};0T%IGSsjv#+HJ=Cd^`=Lqei?r z5`&w)uX{y$UVrgRj?ru9X-I8Vq#lQi1}Vx?`!Qs0;wjp0{oWEh2j#b($BJvJ1CiY}s~>^%56b zb%l(yg-8czhrtHT)iFKTub4jHLUd+7v6W-5(UaX$){N!?H4ca)HuX%qvMidkI}=02 zk#4C!5`*YXFhimf>DcMp@q6n=n)gl~6@l5BRGBf97pRSpt4KT=Jg5C1ORzP0F3!Fa-m@%zp=jjkcWsJ|o^f!60CL=$>3 zU*RRN#ztRtT2+}k1Iwwc0@-w1kS z+`gvU095yOl?ggzxWeaQP{cwLrjKzxF!C~Ld*Y(S@)t2SyCNXOH4$)Nsk`t$AOK;t z2?bv?Yun(_B$b!~G85e+gcF^;yV!^5Os9Lc6A>jQKzxIs=|ifI|njM>W@P*h!0nz>IP}y__uZf0ZJQ=doft( z;dF5*GD$E|oADtC8?A`HAT6NnrF1w?$bJT^=mjCmeU5%0c`8{%VS3Ez$gf4C5%VW; zz7wBieN2?9MgESpg2I)>;gXOK7#5tfb3UW+l2=HXE?R0?>1q3(iR@RPkQl5#Swf=f z4z>URVjLcph>!^9q=1s$b>vU1k2X1tXK)qgt2oj{kk>AvCMzLA?WGeijW&>v^aGAY zBpC!P%wWOn^56tg7~&S8DFrOpG&~3qh1o_l^->LDoIQAe!O!$Nt;`o80yhWS-BGKt zCf@aRj?x)iy|qQ+h118(Rkd?Vn-n_A@N`o16!9$6(#JI}k^>xr(Ef@{J|^79rQJbZ zH@TbZ^e3B}`>;7YjBdPnb6#v81v%9bk+fuD_*aMhW1Kcsg=fM^;#rhe({(?JScRoc zvEGoO%rP{CGfvwo<(6<`vZ*<{nT$KOzhEwDm+8ywLa>m16PLC*tCqxwvVntFxrk~x z&$W5E3kK7(!hI99LZH|}4z*f9i18{B$e_GluXT_~|tuk!+tsKIZ}Rcc@HmcWmiam)RWxxRF*ujy_~bwwtZpDwNPw@}F=UOxv8t z#cLY96-plMROqd%YdrSia?cQMWJGLomZX_5Qj+>T$?9a20;0Mgw>rrIA<`C2lXeZ# zj37_sWgft2#{uRrCw8`)o?F{|*8`tGM75img!C(YH2E6rp}FNGFr=Ic76L=7P1gA%bM34IFDdXkEw(MSNGL9Wv2OUzjgK&ud_O zc0UM2mwwuDqd98xYe6l~q&b>qJe;>^$r#%sEDXKAGln$>dY`(_VZ-EoH91({#+hd_ zhTA6l#v$Zgc_Xi78_WsHhxPJ7vSsvE?wtKz_z+mnA~R2i>Gpfuc&#yAD5_BlXZXca zI1tvCkgLzSgn8C$;eK1TzQvX}Bz+dan|9wUrOxs0IfxWk=VH*K6l3cpv2)3xq5jAx zON`rYVm;rcNDpX=_Sds%52Fr8g1~Fzw3ts@PzO<$+;&b2YZlxGH6iDZ-KcC0q#IAG zqo@SKIZ)3P`6|}T^`Q07M94}Uj5hgiMC#Q9^qA;oKs;lrwD-OCx9R?8cE$_{vl zMt6kVB#Hnyga4DDS(snkDOk%~nMoHhzk^=4M<`0x*}`7R)Ld& z=@D@Tv{014W)cQY1ELGV2d#xZWv`31Js=kDtLag&R?%u*E~l-z-y&qn859bHE>Y&S0ZTh~_~Ch};7XixL1p+-6ZX-(=i?GJE<;(FoJ#Xl$O69n5`oOC-$KX#@| z6A0#IQ4)Se$@A7q+HzjSeby#`dWO&KNcGupZv)z}q5uw#nL-HueDMT_y(canTj(fMxosMP= zP_|Aff2%L-EVeo6)^qkg^K+9Pus21fA*BLjX>?^Bytj|3&9|~on_shgoe(LghY9i z!s*gRDSnfb^f;Z_n{81PeniASr@5`xg+A}l@(3~0He1-T7lwN_?`KBfbHU#@M?8am zW(22H2ZZc|7;zs;+#yIg)i-P|Y`0_C6m9LLun4!`G}=Pcl>K%=IVHJ}MTi|(U6rj> zGSe5Sfjiy;jEu9+Di`grjWf2^m-IUzP0{JfK3+CXB#(%4RQ!x3N+!=hu``s3U&1XY zWbaz?NJ`6cp0Ihjd7^km7Tq>NPX0soyH_lZWs%qho0%eBw+Q;Xy&5WOxw~l%Zg;~) zIv5RdkE>yV7G6{=tj+ZF-Ogv~=j}6L&BEGXT?K3AHtR{BanFR^27Xg2O2ys-OFAGm z$3bXIL^u07=27=qi*$_!RQy1U7|!0=^s3f4J%SiVmJYQX*vK+F?9R^3R=2n9x5SA9Mz zd>HS$e%Q-ZPhL4K2ZicD-QIwT1d)Riigde2>8HRWExI?s>&uIM5>6oB$BQF@+*s^R zB_g+K+Vcj!fOCY;JS=#W=r_?}Y}K#Q3H!Z@FKn90;t11ut&*GOF#WSnY-VBR?1iBv zN>^rDuWFd_s^+X01-6(Ko3&PqhvX$YEK7z7jdS>BS1Qw+EY-BL&-V#~G|&=~S9r;I zh4->{#ZF6E8^`k|#9pu|^ENg*W!J{(XX>>no*j@!cZ%QraN)Zb9;h)6#GF?bhvJxn zq*zgWken50XO|%NAdQ(MRzN332WW}@o#z3v1O(#hC&5S!zn7SUaXY@4e;QnloqgL3 z`eY>w)WtEVePl1&TP%L~Z^z`Pm^SLGWwx|HD#^ZNc1y>|EldYFt=Zm2A^!W$;peL7 z;K!~vsn!)sF#kW2UiS2EiCB`$<8LPt%%0w;P!P#|!~KwApfZp*gX-e!NmhYOl8JV! zUVRc;01`#1M|gfTjd2;=r7}c;*Xq?E`=lObm|XU-?P)T(g40q!8Oh(X;p(krGF+o} zT6J?HT9Y8J?CPGs#K5%9U31~-lUJRIVRqGX=(sNXw6olUR7Trj1XhvGKqvFWEX2chf&H*;_x`qoROr1RFbYtcRC~sIK$lvPe*1* zUwEe#;v+ZqD7fp54ium&ZAC%#i-rE|O1D3DRvMm0&Vr7i>}% z<0cK9ZWaxkY*ls%zT2)DfoDC@BFBC>--w4uWgM(5vQ?bI440V#>_a(KRO$1zj#&V8 zi!cu(7geGpT;%p z8EdLV z6lCN6S4>v?M&=OFjYK(8+3jP(ID72mN^oGR^*T7ATQw>W1U3oC8s^Q3-1y>k{~o!m zE77&ih~$|S9nSY>g8^45lLi7g{G{pDQ{F9fD-j>3-+q7K{dI5~EG2(jK7BfH>A(_L zis;XQ&tWh0<-jL{1+ms-GW|Hf39&e7&nNFJrV%jiSv(Kr!k7dRfk7t0y`TT{7}LZb zOnts#7Te4Dp0GXn=ezhlTx0m8^Sj@ok|nC;AJ+XIaQc(E-y^%S@T6n7f1?{IJXz{J zoH?0AV#Lixo$vvx5Pdnn12%DhJ)b5z>Qi&eNvoW5m<{@k*r&@y?_JHD3dz8yLk%?tLIsztM z4v3oUo;X@$0(bdF60R|=<9lzeddw3M9vOv;UW2o@Gd`~Di8xT{9X7&MvJ+M}*9`lH zov`4jOyG=}w-nKLTGj{}m!Mg}Q8@4k*mF1!R4;y2qU^qto=X{3r|`7NB_GqH%D8D{ z%yDWZ4rm^^s7mhM0&h~mQ96(D!RN3-6!*aD^(ZBbdM?ThNI$%V->rZ$ToT zihu2=O$@@z`cWztw;>g(ra#OF!I#3q-AZ&NGBD&XrbC4Hw3x+oA)_RbFnu12RXoBt z|5y>~D&+%1ELaSeGPIC*G96+S(jr0=q%iFL%_kljxB-h^bIb`%O$9r48qPuBWHALv zaT0O~%7bmQ<*UddmyeNI*T8|C?zQ6MU9gnrgR#X+m11ncQcZDq^Ovf4o&{%j&r2~G zg^S-?QCLLREQ(BXPIF#+@-f}>OHQo~?M2NfKH6i{i~@W-fTPVej9Jc-wc-Y|lrp;m zs`?b;-giOO4|aThXHF+(yNwE%(~mj%Fcfe4p6U6-!T4=pg<^>-3Cgd4#&E5TI-DeW zJqs#tAcBc1(l&5CYkws7XwFboh$~mFK5}>kkBl~><%r4!?k=^OsF`@E-a`Sx=-Arf ztDxJTJQ_hb<&N=j<;iQJ>T&(<_|Y|hwrEUzHU`}YA#b?;y>#@tL&%ai6h)`bor_R; zanPmOIK$m&XQo7P=NO%4Sc;B5^W@>HmY4AK##KwnSS{)ChK=h?FyP!;PYOL!V)@Z7 z7hu)-Uw!P@I?PHNhmWjOS&CjC&eew9cC)^`O~H#+0z2nM(K zqSlvzV8o zBN@}$a#FjtvQBs7>}XysRM;8*uF7GGCif6>#e{4XQ8%RfaADkZI_az}MXOepXp&Y>1#1J`fX>UDZUafzcpxxoyjqOQ2&%9Z6KOHp_zJT&WUv3BdG0!*O{Qsrm5D7(`| z4hf1z-~{`Fpw_@}uD;#xcDf6V5ncvumRsw?S^jl-r4>~1-^|PmVpnIS{+U&gB@AfG zlWRhVGH`uQ-qKax)AeDk11t)YGKjd<5DN*p+lC;NpwZlF#(jS8fMN@1ZTS|4WM8~> zgaueiTPJT&j;;++qInmU_}VDEfKsAm6eF+h=u2OJeN;YFITS1=gMbE1HOTf5S1D(f zPPQezM}1~J?ljirl5o1=2n9M8aTEI}-k{Vj3qKaUgR(^hk>wba&_x@CT{}Z}xB=k9 zt_w>LE}g>Sat9=@)mrMK7_Qt3-^U5SlGFipA0H9sxgf5sp1=4Gfk>?HCzViHGeDu; z_3hEHfhzFFaA*hHa$vJ(kjb63D&9#>iWtuw?NTY$D$!t67D+k+D;j9QVme45$EXc5 zravTuGRY1WkM;59Oz(JmATYt9Aoqz;oekDmWNxJ|6Tj?&CEDGW^Xn>1YJ zV(wuIv}*E6ECn$!US6llwoh8^myxZ288~5)t2@;&AWDF1r%_d`4hD`YuV>@hnd%xe zGWzFJ0bXg;vobr%HGjPF>^r4?d=@u*`*^CPc5!`meMvSEr!8HHS*Z_hZSO3qOQJZg zwfr6v&vFVSP&_RP;JTZ0h_0yDm$tFSO>^k zcy&~=DS9h^<Gh`~F`;<^5A zX0fNBP!%p#O($f1h#Nh2YPex_8P_Zc0=V24^u_WkOwC zZ)26Ivse4=(6xLx3}%|0apV>%&FrE~3ji3j{fG4I#MHivn=@uFZQ=u4~Bbe(zx&BnRxa*6-JLksnrx z1bHZZYeNd>7Mv!}5m-%lK2#q3%N$Cqb_G`>fMM6An)+b*bhX^BontIrAC~8pb>}ix zuvsZ{vD~a~uBOx!`vpn~f8Y$OIl5oqIz9uI_7Kp2rSwrljp+Ud;y32v24N19W4{lSox+7gUL?9C$h-k-_O`r6x=o|hQ{zE< zG>p&T{-0fvpuI%^v&$h--bp5r$)`~knu@t+X?SjlE_bvgnM8}pyNacR+oOco%7st< z%*=T(*SQ#JLD6T{;Kp_RS`WrC@9UYhUTWm()H>ZkD~@}aF;cp*SzR!Kdv((%78Y*E z+xnxq1UqnUx>D6GHIN(xscD|GFB=KUi5ZSm9NLpSWZ`m}EHO3GH(aQ1!nk;DWZ%OO z&ZN9IwMB_Yn&rS?yw*)?bjw?M(;6-hNiP-$eSz(@ME0bfr}E=~C&GLxr{~#bV4e{R z%~G)3+94r+gOymp6AMpqTT643w9KP%tERdr8GwY#B>Xw68&+B{K7z2ib{wo2Kx8bY zG9|8S{y-^!vAX*&I7hT<9cF-5taccPK(w#vJ3_7wY`Hq{PZ5YKY6(HlF!lnLwV{UA zjU7oXbYSSPt#v)FZb%MP7otH?$2xIAsB;m68?iBCb3^I;0j{RU{YwxyEVXRxcGFc~ z#za@Gwutx9e^sPzQFqY)DC!0XMp|7EL68H{w3WIrOp#iJ9tem-2$l%~2aypW4@hKQ zI0i|UF7k0CEuY1C)WyawG4h_p{WuwGmYH&Z%h~u+H<$%1nR_0Db)(siRV&EqeMOEd zTl34;HPeEX_EfnHg2_e84tE}wdy?{OD+7m~VeuqeQr|x;GBnMv#n2-L+bV7b(Bl%} zpNb5h!lhv;Rq&*lLS11#(+4OLu#k`+Bb@4tqWZaWg%vi9aFiOyY~@-6+w3b(bRkb? z(o2o=39}02mMJl4%r3RMxO|ueQJrW=SVTJ6`VbY%RYG!QOlWO%=e2Jja#dPnFE&=}(lA1DwpIzr=$3Cfzf!pY>T!U#2Wt&7e|{y9${^o@32^*41znPL3a zE-F+P4^x@%t5Dh6K{YEjem`s?L79EI-Q7G@cV|^~U0Ij(VzokQxnJbVIHm2>h&tsYc(CV6$cte4AS9^d2gxgbHSaOgiV7NHVoo(&4 zx57knPmrBeI#P1+NR8Y`=T@RhN}p0@Aa2?M*~8uL=bY7BG%-}-UvFnP*h=H zdSW(fxT`aD+l<#vzw7-20d>T)a@q3-bKu0;=5QO=h(ZsYtI*ZsNsvThuXAPM1p5p9 zn>fGp?#|ZmWy*4=vAy2oSHMN!naK#8p;)-PzVlpijYrnLi~643m`wDIFQIsW5sMrr z*ulj(W~(*A;k*8qUh;Th9LL68U%$Om_4FKM!UI1=0=RYsJV_X?Yn?y`mI&TlYF=(U^dTrcu z(b^L~Jy+*M!v(2A_SMnlIXY`e#L5NMAU}(CK~M0)m0ufOZo{zGFPB4@hq>_V4kcs<|F z!5f`HJPjBjl`iIBpa|yu8{>Yrx(Z8q!Ia9zOv$!r=KJE)$Av*2nmel~q^VuQb(>hG zwDUr3Hdwr-*T6nrg=i605ZUm@s#-!b_jjpW&WtnQoXXXF0riPGUz&bkdi3PzQ`HABH&Kk|AVEkHjHKR4()BX9E8Q6ZXY{DoqPs26#N^*4pIHDXSM-4h z4q1vKd~x~HGTmr{r^u1V-{NZMCW02tR|pGaFC$_}rG)t!In18U#2`6!E=l)v-7-#h z!l-?MzTdL6@#Kc(j7t^o+{NWmYmm+8pQi{RfixvSzCfCIdD2+5&~`?Il_a9IF~Ze1 zWMnlL8SW%rDzU)2n6y>z486F$M8iTfs)>`;yA|zzVc!WCiW}fMRJ@PDzeL!twzeo< zW{sk^4iKkcrYyoK%5=%%6#OJt(gpxep~;M|IBp9pS%YJam0~ZkJY&NYJj})+x2{67 z&-Q*;Z?OGweHWo$blIL-@4$s#q1U66=ab&=b zq@ly&cNp)%Ac2}<(2VE8lBjbqj!c}eG=ln=F_>N{(V;jiB|GZkU~!Ut9I2@-wIt^o z@sgX{Tw^*+jp^-eAg>1!cHru=6kq}qF6_Sx6kbDnm|ATRVwpNAkY^};5bJq zgu?MU&FAU6dJVMEbS=T#r?&2r*&2btUYFlk=9VPNcaO=sIwaetr}0KiD@FOQ=1di` zY|W7e$*v=oFB1!6UN{wN_arqKQ*Mf5ZR4sJLTkmzBt8r`#?{rmajcCGL!w+0W;K1J zu4}zRyeBwi+!6PS`7V(xtfO6q6%EzBI|FeJG37-f1IK=-xRtUwOYd@)7zIyB4%kim zWg*belGKxsUAjc(w27x5&Vxg_XZw+nS$w-uv2ZC-j^=GA%xACGoH^k&j=PrV7Asl? zA&XC-*+OYafx2w-^d-P1#lKoazyuV_tE~?g_C1!-VwiJ@v2dw7LN*4e_ygonz&7oQ zXArOlR5Tl=gJzMKmWeQ67Rp|_G>c1C!;>E-=U>fQLTRGOgtHt5;pkCnT*#Of*yg?k zyThcW^jrXXG0WP5^nRk-8+PTUt| zn-6A6;tz~Yxz-R#D3R-M5^|kJzEhUuvg&=}*yOmQSjLx!P6e$l_`zx+ky8imZN0y`DP&w`0m#fl+$j_kp-uTsn885Wvv$3{j)eaZvw1Y-Z^@1i0q}*(`3$N zDh#PcOPWWnKha}g>`;UtXa}=6$mZ&nu4urC)YpK!9>bfYrreZ}ZIY}CJ=YurKL{A; zfDn2t2e_{-sEgB84Q*@evtF^q(y=kzhHXD18a0rVcQPDU)WG!km!IF>7Gb z5Iq%pd;lmkYCH7v6u2qul-+DZ>A?jhI3W;LjGfIhv0Y38^EfWWj0wvH@6F}71-g53 z8G&u~;V2ELwOV5Qx z6bZ&kO{bhT%>@RKY@Q3%F0k`lU_0?mw<3fHHA~(!sF0Mr0+a80nzCIO6<6l8!%-*k z9F98V3+r4x8umt3(z{*9Kvfo9G$_>5T&dtl9S3c_++Tsqkna@Fpu`1G;vjeX$>#~t zhECOiBOA#Y#<)At=HN1!;;>1F%H}BIdsTe10wvy#s@3t-A?O#}O=T0Necw@&31bvB zU-EJAsp^MD7!L1AzOGTn4_$QKl5~oy!_^Zzw(MKXKEbD8fwb&gM5QN1KoL(SkBkq7jYow$7XU@-AO*r);_UZ;INmWIF{pD2Pw2%;F$*E z0yk6-_Cti|V3;J>*%)9l>2Wr9%kU)PR1SNaBEUBrA32v^9ZEI7V1Xu)9eyjO?osD5|W56&K7z6Krr1_!^}CDfZQ%_PZr&>Li5oXo21Pn*Oncf z={p4Twi8ZD(s4?rjnTSA2=_bJ^diBGYCniuzPqMKO12JcRlMB@yEGBRNtw1H%D-T0 zdyq!U#ia)JmWb;T$JddNU6DH>e@O(9(Y5nM^i++_H)tADi^^DKKkS!?9BOkF1P&L3 z3R~gCr1UuWr7`}5d~9!I?LJAYhAfm{x7Oa$Jrwx0txC3dhqF$x2NXgi>H1Q1c}=SK zViph~Nlt`D3Y$c={#CJJkYn@Tt{R zyNm}n4nPmA=%*=RDF#wjh$ARFGMkcoRxHU1!AzI3ii~zA$0t2(Wzu$+jPVN67aFE3 z;KeGqqMP6rN02Na#7@Z?yryo@QQBJ=9-)GuxhYT1QjI6==OOUhNwA5SxWBfd{2=on zKoNlkuIeL=!sZfl;1Zk2g<{kna~rB7V(h!E#fkk3=ZuNrFiDL>Q4a4Q3V?)EBRO&* zORhaa_-|x+oD0tx?FT!A!A9-WsklMjj}}6BDI^oMUx=vNRcQS@7>9iMTAM>3T)zu^ z6bEUO89Pm;h;aYs6}?P?hbmm+#@9GCVl2wjJQLOPfbiF~vM-XTKx8}{$h=dX9RM|A zQqPDWDxvD)YIqbob(GBNz3#^}{sTXd^1k_Wr39hA@6X|uvgiGt$iloMH^W#|-@ zakh+ElvNEZr*tyx1rp*Rk&>jC8mR>B(y_oth-i+6%0)R)013BB6cxweLIF;*O4NrGOSUQNv+4cA~#d5J~Q_fevS&c$W) z68|AdrA5IGPAOME*a5UHIYgJZ94fa(SikoOon|&z?E2(4LSj!cozXse;mkPLdXFM^c(_tY|hifF`lU3Z&K~)AyOmMsB*qUN(y()R7cpNob9~o2-cZ}ffUks z!gMTaT*?l@l^Te~ww4xMwYgH#C=G|f(PxtGl*6$4%}@f5ff%7EMX2@k-IE}=b6ZD2Gk`9sJbuhaYKX-&E-9+r-RtM(T za2QCjVNhR+S;G{@VKAMi$duNq?PDRrd}23s&813^ z<$x}%#fZv`p-XAjglt2G%erNTGg=z*k;KPh#-z1OPDip8DVygQ#;q<&Z4^)%69={i zWoE60$~#)2-&hP5jGp0)#IX;Mh6lJ_3FvPMmqEURd^_b$3n0$tb^Vm9{NYquGFe*H z&jfE4tg|O7kR`fAvO&QrI$T?j`ab9;*<=ZM8(9$APfqSAtdzf4YNtwrdao;9? zj<8S4$@wJUbMY!S2Y+AVq>=+>Ni?Kh(=AS_V`ClL!29OFL!eU=909>RRa)J3uD5Eg zE}|ldq`io+ljTO4s?YOFY*H} zAl437@jRWWDOjkMWk6F2+ItQ2o}O4_8?SZq@WMsDYe)OmI~{<4H7?8R(!=88%b7(GyL`8e6csFzE5c2;|VQ6oW(< z2pcSWnENWTMCrf`0NI$UU|c+*SxN6yBnwhdP%;R?KVh&$je9s}>^&)uEAWvirP^!) zw=4m9zX@hJP_$8^Nr_qJUR#`tuEW%mmkzmLc4EJ`^5+wrM}n_LjEXUym%vL|rJ6B= z=ESVkM5aj%sPk7s{D2%{FKoa-4s@l2NX9+Zu@Xt(yh>a;X$255C|putbonRWEHLBW zERYGaMjlMjH3L2mN*1{QvzP|=`t@w(D;%O=a?$ZjEbAD{CvcB!ozMlj>=*Jxr645< zw?$+cR1=xVIad3q*WBqIyyj|b_Y{wU0s*<4B(*alO*Sk_lNGB3SzpC^MXnFY#L7`C z9mbcdR=V=8pSH|O!x)~^CYE!pm0O6Ai7`AU)m;#kHAGnN0wulDo!hA{zhK`~RiImTytp#|2U+$`Sl9DcpjyAoJIgfe-EnGT);(oAiA>8q3 z58-;STOzKc$ZQ#g*>|DIu||m73s5r9W$-|BM48wjE9phOy=E`NVRPLej=))HK^x}; z;V>%F{=6$pJz)pOLN0Gr9oDHFG~r^g2hC{!OJ-ekbf(f+`y_y#N3(X6MYz6IE&wwcOIt_Li@ zot-_pj+yGPAuNSM#L`j4iRA?)YVd(2&Z@2egJ!L9O>YCGk_$6s_rp5C_D7-_Qs#z* zT@K1;8v!dS##A{cRS$65;qA()oKM`qRQYh@w;hr$WEWi^%iB}A%!%+#!im6v)l9@` z>C`E)ck+Z(cW^_bDTh)kGb+K)o|W`Q;fy&koB3pHo~bp+CT9gV4&jy(h`f~kO_wRl z{iV%rj?Aj8y|7x_0-b(weg`3L1SFK>+BR)t&6>K_2(Etv@trE$X}`5BH$)LUL=)qU z7$sT0INU?^C)=Djp@(z!MW1F{_Lrk(mE&}>Y>ywGx0ZE4%~;0dJ!Q3}*BCj0<-vTK ztfO%f1V&5zkkswm=bl*a z5@ZhMnYp{m>lL1%b#;kmviUAJ>E4b6V zeGr6Li%0N?FOrbS8#-;?aSy%9wvN4{_`FM?loi@SBGT%WIxxnV}E zmm#X{6v71{AMEH23DIC1Y8q=BML1^#$Ea*gu^bkZ&rsF9F2F-KQ z1}HF)RvJ&qN`dhaYUz!tqQT0HP+ba>Q{FSyjT688mdVAOxOP)b`9d)+au@(G8um zsZ6h_D+g!M$e@0%69}7Nib@3P3FLgW#O8$Ji94&;rY0EF#1W0iF1qH~4O7|?T2v+t z(T`d;wrd4KE&Q7{A%cpvy1iA|{ztS7B65&q59bOj;O3@4O~x8P%?W2&Dk{ zG6GBxx%x1B(4F@jvO9vEit{oQtmR96P<~a>~V}F-x_30LG&UClBD~ek1JFzwaK+$=y*FXO6qKKc^f(vhCr9w zBhtEsA_3o{z|=H0H9ah8(Q;wDiJX8PwPO%0QyR7tF(~%8$)!NX&TKMV5>}MCG%KVF zK-kq!hlTD2iq6KhGq@{>OX~W^1*n~(mBb92$XT_I>SoX?M3n*uvrOPiP*%Zsos)I#Hv7%K0}h9SS|s-#AwIr>Fm9 z@h{5Cv7?kvj@qdFc91&k89eonjvf1W8W+ zpezswBtQz^KniwYg&J&*xm7u(ziCo~?w|<-OB08p8xR3x)S~^h_2lB3(MohCT+|pu zR(wneKg4ZN`Hax@7qIy0-S(6xO`QaVPh_d|A}DAQxIp@dMf{Dx0e1iy3`F3FhOGgG z@zE9KR;YqgzJH%r&LIeH0kRbFD(k2^v()YFR(nk(9aU}n&Gdm8#=tP$8P8-aq&`>G z8P#5uC#UAHt5gIk*m8~QV%1~%?XKi*_dIPk-HT|bk5r3{>Bb!EzAw>&VMrUUQTI<6f?pQnkkHzapMHlQir{j z@12z5c`4Q1td6;@b2Bd;`=AK$d>{6{<^V5^%kbE8#BWZjq}omr`Phr3PTvMP7nJ<6 zSG7JXc;Y1c^<~ns{TaI)4k*P((Xvyu*W5bDW1=84K5mMMgom4)xF_1ss!<6}os
X=CvC+R7i zVL!B7tew_Ca*}gVwP6{ebQ+4Xlh$DlKJ1?RL$tl9aO{ znFUN`htvc&MHCcvgq%338IbOEJ4S3W?$mdm(W{GSFwL$=TB4~?j)cL2JB$nw;j%vz z+6FBV)$t1Q$y0&&yiy~`Bo8B(38~^awpKO+q(jV9tEf&>2Z}(qLcD7gyfT{sK{7f* zsM8{ljyz?wwl!QBB&oz8@jaB%CgSL+_+(PgPu6PsxmpEr^O#F8+@{OlIb?lt(2C<8 zl}{{C4&nZw7c%~hl;NvUJ>7Qkfe%nSBVO*{LYyO`tu0s&?3^iwR=bq*ds~0fv$B{J zIV`Vrr>H?PFT|XLvRNWH5cm3&lHVK-D1$gC4qw-v5^5YQNO~D4E?hD>QP95h?$cTJ ztD9rxi--qCb*58~h#ZhR(I|vz;Ab6mJS?R!U5=S0+%1jFJ@II>y*-IKJ=?GKQggfK z`hZA!0&+C|S$ODPCgPN7P}8&J!tz%-om7FI8Og6Dsu`37-x4Ne+g0t8} zT>|gy;W)X@PRxH_3VuNvz$Pq!)Ui(vS4K8Zbx4F>WiAfJi#4Qa;DypO=O?g}|UnB^hLGtQ>zT{ zm@54?P9v)%A~$485FPCZc7<$ga*mki-MV3K8M?@;o-f7oGklD$zfCz93N#Jk*o$RN z#X`>p=mpaj+)I|y<2lh_ctHHx2V#TCv~r3}iWm5x9g9W=H?BjFkE{g;#H@yccn~VN zSM}H9jFSuZA@Bf>3PY70(ad*go=0i$tp5$HYs#QYr*=_J&?T+2NlNj=1LskQ#98qm zlkfw1WqbrQ8#Adif?R8rTLa6MD4fD@=pAR<$U^W@azR2W6h}7CRBADKZ)));iQ7Zq z5erXLs)f_{?K1LQW>nBAS=0zYsmEK;rWG*REwH}l7sJ(QzkXAhD(gVN=i*Dvy^hWg&U4qF_nRdO zdxq}XsU!3^LKs^FHzg{}4GILh@zDdK=UIe$k3K3;p#*yok~~JP+h3Uu&UySZt{fG* z9iEllwNwgA9OO_C*+Gs(qb-vt0hi1!;Fh>3YwX%{N_|cScOCrNSm1FV=0JWeUTVs3T ztsVTBkJPq;=_-xWM;erYIij_sdVes(v5UPfLUBoQD@WIcL5LzD!?=x{S>kVirk1?C zs1Q-*iL6wEISGYq(iM!T$XegF)uez;uvBBqm|*SeK2v;DjtKCKbMHBy3aZ?#7U#ku^4a0P3EesotLF`;a zwnk^MA0`=6L6_I^Y=wJ^Y@DJ*xXl|vE3?%~2Dq^iZ;pTyv}~5*4XKgRs3xWZcs#{n z{b?;|!-Ep63}@*&64ofmCw8(s^saBp7)>0@{r5&JD>H7cbA3F|l;$(f1GA-_ck%pO z{c>*z#wojJN6kjo~W0h@OdFdwFWVVHUyIXLyWhkGg5`G07* zIT%RaQLW#v;U%ai^E>rMlR?Kk@mjly5ivdu4+sy&JwU{6L-;A}%g+PQ%lG5IJ8Ewq z)nCl#WePVRcQL={=OKLB&zCOHFZA;fUi#^*QtTi_|H85SM);oF`xIoR{p*dKJI}3%=6l9X&o>c(memapNl{6V?ICd=kmAtf9k{j zc^3Zojy3-`9Fi91^YOGe_%ZW0^XBt8Iv~ye&iK#FAHVX?S^Pis zZTef7mj}$}-`-o=neol@=KX(MpFbkaN~PmEpne{IO8Wf$@vHy*&j3bG(A@avW%|5+ z>UNlKlXWnFpTsZr^Oxy!=JSfnO-uRI*D0CLo4x0s^JW>}e42Kq7xTCIe3kcnPoFoR zGZV&tjraU5AC>XV=kUdMGeh&I8P@>c=skbmtqb`p^LY=`P(RH+8u0Jp7aGy*f2k+W zo6onMF)iiuGWXBYALDQP`L};ao;RQ0^d9iX|7-90zxt*;Z$97rVs}7;KL+|P@A-2t zls7h?t>nez30Yn9bgA?){7QXZpcA|44QkN;^v?@7;VJO6oqzs&RI z^UHYdUe@!k)bU@b`$w%`47vf=RVxGVL z)$-ogzeL|(*N^B2{g`phd%YYmd;FVzP1o*UIOc+{a6od4E3w&r@IK{Y!r+&wWXszx>imohSU~AEV>@ zcw(M^ob$B2D}nGB|Inw0q71+6buy3bo21=C@Ns`MH1BQb?_B{;<}OY7|8IH%VP&cG g%oQ^d|Cx*{f0arX;g`JUKekI)St^C@ Date: Sun, 22 Feb 2026 05:09:30 -0500 Subject: [PATCH 17/22] Version --- src/Smithbox/Smithbox.Linux.csproj | 4 ++-- src/Smithbox/Smithbox.Mac.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Smithbox/Smithbox.Linux.csproj b/src/Smithbox/Smithbox.Linux.csproj index 31e5d2d15..8cecb99a2 100644 --- a/src/Smithbox/Smithbox.Linux.csproj +++ b/src/Smithbox/Smithbox.Linux.csproj @@ -5,10 +5,10 @@ Smithbox net9.0 Katalash, Vawser - 2.1.2 + 2.1.3 icon.ico 2.1.0 - 2.1.2 + 2.1.3 app.manifest 12 false diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 713e4285b..0a3dd78dd 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -5,10 +5,10 @@ Smithbox net9.0-macos Katalash, Vawser - 2.1.2 + 2.1.3 icon.ico 2.1.0 - 2.1.2 + 2.1.3 app.manifest 12 false From 9714b6c48ec72ddd5642aab2f87be16f288a5668 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Sun, 22 Feb 2026 05:10:24 -0500 Subject: [PATCH 18/22] zstd --- src/Smithbox/Smithbox.Mac.csproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 0a3dd78dd..041848755 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -47,7 +47,6 @@ /path/to/oodle.dylib ../Andre/Andre.Formats/libbhd5_decrypt_rust.dylib ../Tracy/libTracyClient.dylib - /path/to/libzstd.dylib @@ -55,7 +54,6 @@ - From 6da2ab95da11e03304aeb93f3900604fe6057685 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Sun, 22 Feb 2026 05:13:14 -0500 Subject: [PATCH 19/22] Package build --- .../SoulsFormats/SoulsFormats/Util/Oodle.cs | 12 ++-- src/Smithbox/Info.plist | 4 ++ src/Smithbox/Scripts/postinstall | 30 ++++++++++ src/Smithbox/Scripts/preinstall | 58 +++++++++++++++++++ src/Smithbox/Smithbox.Mac.csproj | 52 +++++++++++++---- 5 files changed, 141 insertions(+), 15 deletions(-) create mode 100755 src/Smithbox/Scripts/postinstall create mode 100755 src/Smithbox/Scripts/preinstall diff --git a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs index b63139bfb..b9c92d786 100644 --- a/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs +++ b/src/Andre/SoulsFormats/SoulsFormats/Util/Oodle.cs @@ -24,7 +24,8 @@ private static bool CanUseOodle6() #if WINDOWS if (Path.Exists($@"{AppContext.BaseDirectory}\oo2core_6_win64.dll")) #elif MACOS - if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.6.dylib")) + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.6.dylib") && + new FileInfo($@"{AppContext.BaseDirectory}/liboo2coremac64.2.6.dylib").Length > 50 * 1024) #elif LINUX if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2corelinux64.so.6")) #else @@ -46,7 +47,8 @@ private static bool CanUseOodle8() #if WINDOWS if (Path.Exists($@"{AppContext.BaseDirectory}\oo2core_8_win64.dll")) #elif MACOS - if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.8.dylib")) + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.8.dylib") && + new FileInfo($@"{AppContext.BaseDirectory}/liboo2coremac64.2.8.dylib").Length > 50 * 1024) #elif LINUX if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2corelinux64.so.8")) #else @@ -68,7 +70,8 @@ private static bool CanUseOodle9() #if WINDOWS if (Path.Exists($@"{AppContext.BaseDirectory}\oo2core_9_win64.dll")) #elif MACOS - if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.9.dylib")) + if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2coremac64.2.9.dylib") && + new FileInfo($@"{AppContext.BaseDirectory}/liboo2coremac64.2.9.dylib").Length > 50*1024) #elif LINUX if (Path.Exists($@"{AppContext.BaseDirectory}/liboo2corelinux64.so.9")) #else @@ -129,7 +132,8 @@ public static IOodleCompressor GetOodleCompressor(int compressionLevel = -1) + $"Please copy oo2core_6_win64.dll, oo2core_8_win64.dll or oo2core_9_win64.dll into the Smithbox program directory"); #elif MACOS throw new NoOodleFoundException($"Could not find a supported version of oo2core. " - + $"Please copy liboo2coremac64.2.6.dylib, liboo2coremac64.2.8.dylib or liboo2coremac64.2.9.dylib into the Smithbox program directory"); + + $"Please copy liboo2coremac64.2.6.dylib, liboo2coremac64.2.8.dylib or liboo2coremac64.2.9.dylib into the Smithbox MonoBundle directory " + + $"and set LC_ID_DYLIB to @executable_path/../../Contents/MonoBundle/liboo2coremac64.2.9.dylib"); #elif LINUX throw new NoOodleFoundException($"Could not find a supported version of oo2core. " + $"Please copy liboo2corelinux64.so.6, liboo2corelinux64.so.8 or liboo2corelinux64.so.9 into the Smithbox program directory"); diff --git a/src/Smithbox/Info.plist b/src/Smithbox/Info.plist index a0ecd612a..9a37a6a51 100644 --- a/src/Smithbox/Info.plist +++ b/src/Smithbox/Info.plist @@ -6,5 +6,9 @@ AppIcon.icns CFBundleIdentifier com.vawser.Smithbox + CFBundleShortVersionString + 2.1.3 + CFBundleVersion + 2.1.0 diff --git a/src/Smithbox/Scripts/postinstall b/src/Smithbox/Scripts/postinstall new file mode 100755 index 000000000..24542daf8 --- /dev/null +++ b/src/Smithbox/Scripts/postinstall @@ -0,0 +1,30 @@ +#!/bin/sh + +if [ -d "$INSTALLER_TEMP" ] && [ -n "$(ls $INSTALLER_TEMP)" ]; then + set -- "$INSTALLER_TEMP"/*.dylib + if [ -e $1 ]; then + cp -f $1 "$DSTROOT/Smithbox.app/Contents/MonoBundle/$(basename -- $1)" + fi +fi + +if ! command -v codesign_allocate &> /dev/null; then + cont=$( + osascript <<'EOF' +display alert "Missing codesign_allocate" ¬ + message "Xcode command line tools are required to codesign the app. Without it, you will need to override Gatekeeper. This is not recommended." ¬ + as critical buttons {"Cancel", "Continue"} default button "Cancel" + return button returned of the result +EOF + ) + if [ "$cont" = "Cancel" ]; then + mv "$DSTROOT/Smithbox.app" $HOME/.Trash + exit 1 + fi + exit 0 +fi + +codesign --force -s - "$DSTROOT/Smithbox.app/Contents/MonoBundle/libMoltenVK.dylib" +codesign --force -s - "$DSTROOT/Smithbox.app/Contents/MonoBundle/libSDL2-2.0.dylib" +codesign --force -s - "$DSTROOT/Smithbox.app/" + +exit 0 \ No newline at end of file diff --git a/src/Smithbox/Scripts/preinstall b/src/Smithbox/Scripts/preinstall new file mode 100755 index 000000000..af0a738fd --- /dev/null +++ b/src/Smithbox/Scripts/preinstall @@ -0,0 +1,58 @@ +#!/bin/sh + +if ! command -v install_name_tool &> /dev/null; then + cont=$( + osascript <<'EOF' +display alert "Missing install_name_tool" ¬ + message "Xcode command line tools are required for some unpacking features. Continue anyway?" ¬ + as critical buttons {"Cancel", "Continue"} default button "Cancel" + return button returned of the result +EOF + ) + if [ "$cont" = "Cancel" ]; then + exit 1 + elif [ "$cont" = "Continue" ]; then + exit 0 + fi +fi + +while true; do + dylib=$( + osascript <<'EOF' +set f to choose file of type {"dylib"} with prompt "Select liboo2coremac dynamic library" +POSIX path of f +EOF + ) + + if [ -z "$dylib" ]; then + canc=$( + osascript <<'EOF' +display alert "No oodle library selected" ¬ + message "Certain unpacking features will not be available." ¬ + buttons {"Cancel", "Select file...", "Continue"} default button "Cancel" + return button returned of the result +EOF + ) + + if [ "$canc" = "Cancel" ]; then + exit 1 + elif [ "$canc" = "Continue" ]; then + exit 0 + fi + else + break + fi +done + +libname=$(basename -- "$dylib") +cp "$dylib" "$INSTALLER_TEMP" +install_name_tool -id "@executable_path/../../$libname" "$INSTALLER_TEMP/$libname" +status=$? + +if [ $status -ne 0 ]; then + osascript -e 'display alert "install_name_tool failed. Please submit an issue on GitHub." buttons {"OK"} default button "Ok" as critical' + rm "$INSTALLER_TEMP/$libname" + exit $status +fi + +exit 0 diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 041848755..e783280c7 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -3,6 +3,7 @@ Exe Smithbox + com.vawser.Smithbox net9.0-macos Katalash, Vawser 2.1.3 @@ -14,7 +15,7 @@ false true AnyCPU;x64 - osx-arm64 + osx-arm64;osx-x64 osx-x64 $(DefineConstants);MACOS StudioCore @@ -43,8 +44,8 @@ /path/to/VulkanSDK/Version - $(VULKAN_SDK)/macOS/lib/libMoltenVK.dylib - /path/to/oodle.dylib + $(VULKAN_SDK)/macOS/lib/libMoltenVK.dylib + /path/to/oodle.dylib ../Andre/Andre.Formats/libbhd5_decrypt_rust.dylib ../Tracy/libTracyClient.dylib @@ -64,13 +65,42 @@ - - - - - - - - + + +<Project> + <PropertyGroup> + <DefineConstants>%24(DefineConstants)%3BMACOS</DefineConstants> + </PropertyGroup> +</Project> + + + + + + + + + +s/<%5C/title>/&%5C + <domains enable_anywhere="true" enable_currentUserHome="true" enable_localSystem="true"%5C/>/ +s/ customLocation="%5C/Applications">/>/ + + +s/<%5C/pkg-info>/%5C + <scripts>%5C + <preinstall file=".%5C/preinstall"%5C/>%5C + <postinstall file=".%5C/postinstall"%5C/>%5C + <%5C/scripts>%5C +&/ + + + + + + + + + + From 8029e1caa2b3805d9cb026f5b3919ecf8d34170c Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Sun, 22 Feb 2026 05:32:56 -0500 Subject: [PATCH 20/22] workflow --- .github/workflows/dotnet-desktop.yml | 129 ++++++++++++++++++++++++++- src/Smithbox/Smithbox.Mac.csproj | 2 +- 2 files changed, 126 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index a947610cf..9226e20ab 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -6,9 +6,9 @@ on: - main pull_request: jobs: - build: + build-windows: runs-on: windows-latest - name: "Build" + name: "Build Windows" env: NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages steps: @@ -40,10 +40,131 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish - run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy + run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' --configuration Release -o deploy/windows - name: Upload artifacts uses: actions/upload-artifact@v6 with: name: "Smithbox-SHA${{ github.sha }}" - path: "${{ runner.workspace }}/Smithbox/deploy" + path: "${{ runner.workspace }}/Smithbox/deploy/windows" + build-linux: + runs-on: windows-latest + name: "Build Linux" + env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + steps: + - uses: actions/checkout@v6 + with: + submodules: false + - uses: actions/setup-dotnet@v5 + with: + dotnet-version: "9.0.x" + cache: false + + - name: Cache NuGet packages + uses: actions/cache@v5.0.1 + with: + path: ${{ env.NUGET_PACKAGES }} + key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }} + restore-keys: | + nuget-${{ runner.os }}- + + - name: Remove extraneous platforms + run: | + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Mac.csproj' + + - name: Restore + run: dotnet restore /p:Configuration=Release + + - name: Build + run: dotnet build --configuration Release --no-restore + + - name: Publish + run: dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Linux.csproj' --configuration Release -o deploy/linux + + - name: Upload artifacts + uses: actions/upload-artifact@v6 + with: + name: "Smithbox.Linux-SHA${{ github.sha }}" + path: "${{ runner.workspace }}/Smithbox/deploy/linux" + build-mac: + runs-on: macos-latest + name: "Build macOS" + env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + steps: + - uses: actions/checkout@v6 + with: + submodules: false + - uses: actions/setup-dotnet@v5 + with: + dotnet-version: "9.0.x" + cache: false + + - name: Setup XCode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 26.2 + + - name: Install macos workload + run: dotnet workload install macos + + - name: Cache Rust artifacts + uses: actions/cache@v5.0.1 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Build native lib + run: cargo build --lib --release --manifest-path='${{ runner.workspace }}/Smithbox/src/Andre/Andre.Formats/native/bhd5-decrypt-rust/Cargo.toml' + + - name: Install Vulkan SDK + uses: humbletim/install-vulkan-sdk@0ef43dbc8af56d77bcb1e8b1ebbbaa8718ead524 + with: + version: 1.4.341.0 + cache: true + + - name: Create dummy lib + run: | + cat > dummy.s << 'EOF' + .section __TEXT,__marker,regular,no_dead_strip + .asciz "DUMMY_FILE" + EOF + clang -c dummy.s -arch arm64 -arch x86_64 -o dummy.o + clang -dynamiclib -o '${{ runner.workspace }}/liboo2coremac64.2.9.dylib' -arch arm64 -arch x86_64 dummy.o -install_name @executable_path/liboo2coremac64.2.9.dylib + + - name: Cache NuGet packages + uses: actions/cache@v5.0.1 + with: + path: ${{ env.NUGET_PACKAGES }} + key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }} + restore-keys: | + nuget-${{ runner.os }}- + + - name: Remove extraneous platforms + run: | + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.csproj' + dotnet sln remove '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Linux.csproj' + + - name: Restore + run: dotnet restore "/p:Configuration=Release;OodlePath=${{ runner.workspace }}/liboo2coremac64.2.9.dylib" + + - name: Build and Publish + run: | + chmod +x '${{ runner.workspace }}/Smithbox/src/Smithbox/Scripts/preinstall' + chmod +x '${{ runner.workspace }}/Smithbox/src/Smithbox/Scripts/postinstall' + dotnet publish '${{ runner.workspace }}/Smithbox/src/Smithbox/Smithbox.Mac.csproj' --configuration Release -o deploy/macos "/p:OodlePath=${{ runner.workspace }}/liboo2coremac64.2.9.dylib;MoltenVKPath=$VULKAN_SDK/lib/libMoltenVK.dylib;CreatePackage=true" + + - name: Upload artifacts + uses: actions/upload-artifact@v6 + with: + name: "Smithbox.Mac-SHA${{ github.sha }}" + path: "${{ runner.workspace }}/Smithbox/deploy/macos" diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index e783280c7..6495c1cf8 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -51,7 +51,7 @@ - + From e697d0dc0405af757585a6e3cfdd3e9181455071 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Tue, 24 Feb 2026 12:30:58 -0500 Subject: [PATCH 21/22] Support older OS versions --- src/Smithbox/ProductDefinition.plist | 19 +++++++++++++++++++ src/Smithbox/Smithbox.Mac.csproj | 5 +++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/Smithbox/ProductDefinition.plist diff --git a/src/Smithbox/ProductDefinition.plist b/src/Smithbox/ProductDefinition.plist new file mode 100644 index 000000000..ad975aa4c --- /dev/null +++ b/src/Smithbox/ProductDefinition.plist @@ -0,0 +1,19 @@ + + + + + home + + arch + + arm64 + x86_64 + + os + + 14.0 + 15.0 + 26.0 + + + diff --git a/src/Smithbox/Smithbox.Mac.csproj b/src/Smithbox/Smithbox.Mac.csproj index 6495c1cf8..5ad1a69ae 100644 --- a/src/Smithbox/Smithbox.Mac.csproj +++ b/src/Smithbox/Smithbox.Mac.csproj @@ -17,6 +17,7 @@ AnyCPU;x64 osx-arm64;osx-x64 osx-x64 + 14.0 $(DefineConstants);MACOS StudioCore @@ -40,6 +41,7 @@ false <_UseClassicLinker>true + ProductDefinition.plist @@ -81,8 +83,7 @@ -s/<%5C/title>/&%5C - <domains enable_anywhere="true" enable_currentUserHome="true" enable_localSystem="true"%5C/>/ +s/%5C(<os-version min="[0-9.][0-9.]*"%5C).*%5C/>/%5C1%5C/>/g s/ customLocation="%5C/Applications">/>/ From d561b21e3ee70461169a0c0baccac16622722cc2 Mon Sep 17 00:00:00 2001 From: EclipsedButter Date: Tue, 24 Feb 2026 12:31:02 -0500 Subject: [PATCH 22/22] Setup fix --- src/Smithbox.Program/Interface/UIHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Smithbox.Program/Interface/UIHelper.cs b/src/Smithbox.Program/Interface/UIHelper.cs index 6fc73da19..9fbadb5bc 100644 --- a/src/Smithbox.Program/Interface/UIHelper.cs +++ b/src/Smithbox.Program/Interface/UIHelper.cs @@ -77,6 +77,7 @@ public static void RestoreImguiIfMissing() if (!File.Exists(curImgui) && File.Exists(defaultImgui)) { + Directory.CreateDirectory(StudioCore.Common.FileLocations.CurImgui); var bytes = File.ReadAllBytes(defaultImgui); File.WriteAllBytes(curImgui, bytes); }